1. Packages
  2. Ibm Provider
  3. API Docs
  4. SchematicsPolicy
ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud

ibm.SchematicsPolicy

Explore with Pulumi AI

ibm logo
ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud

    Provides a resource for schematics_policy. This allows schematics_policy to be created, updated and deleted.

    Example Usage

    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.ibm.SchematicsPolicy;
    import com.pulumi.ibm.SchematicsPolicyArgs;
    import com.pulumi.ibm.inputs.SchematicsPolicyParameterArgs;
    import com.pulumi.ibm.inputs.SchematicsPolicyParameterAgentAssignmentPolicyParameterArgs;
    import com.pulumi.ibm.inputs.SchematicsPolicyScopedResourceArgs;
    import com.pulumi.ibm.inputs.SchematicsPolicyStateArgs;
    import com.pulumi.ibm.inputs.SchematicsPolicyTargetArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var schematicsPolicyInstance = new SchematicsPolicy("schematicsPolicyInstance", SchematicsPolicyArgs.builder()
                .description("Policy for job execution of secured workspaces on agent1")
                .parameter(SchematicsPolicyParameterArgs.builder()
                    .agentAssignmentPolicyParameter(SchematicsPolicyParameterAgentAssignmentPolicyParameterArgs.builder()
                        .selectorIds("selector_ids")
                        .selectorKind("ids")
                        .selectorScope(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
                        .build())
                    .build())
                .resourceGroup("Default")
                .scopedResources(SchematicsPolicyScopedResourceArgs.builder()
                    .id("id")
                    .kind("workspace")
                    .build())
                .state(SchematicsPolicyStateArgs.builder()
                    .setAt("2021-01-31T09:44:12Z")
                    .setBy("set_by")
                    .state("draft")
                    .build())
                .target(SchematicsPolicyTargetArgs.builder()
                    .selectorIds("selector_ids")
                    .selectorKind("ids")
                    .selectorScopes(SchematicsPolicyTargetSelectorScopeArgs.builder()
                        .kind("workspace")
                        .locations("us-south")
                        .resourceGroups("resource_groups")
                        .tags("tags")
                        .build())
                    .build())
                .build());
    
        }
    }
    
    resources:
      schematicsPolicyInstance:
        type: ibm:SchematicsPolicy
        properties:
          description: Policy for job execution of secured workspaces on agent1
          parameter:
            agentAssignmentPolicyParameter:
              selectorIds:
                - selector_ids
              selectorKind: ids
              selectorScope:
                - kind: workspace
                  locations:
                    - us-south
                  resourceGroups:
                    - resource_groups
                  tags:
                    - tags
          resourceGroup: Default
          scopedResources:
            - id: id
              kind: workspace
          state:
            setAt: 2021-01-31T09:44:12Z
            setBy: set_by
            state: draft
          target:
            selectorIds:
              - selector_ids
            selectorKind: ids
            selectorScopes:
              - kind: workspace
                locations:
                  - us-south
                resourceGroups:
                  - resource_groups
                tags:
                  - tags
    

    Create SchematicsPolicy Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new SchematicsPolicy(name: string, args?: SchematicsPolicyArgs, opts?: CustomResourceOptions);
    @overload
    def SchematicsPolicy(resource_name: str,
                         args: Optional[SchematicsPolicyArgs] = None,
                         opts: Optional[ResourceOptions] = None)
    
    @overload
    def SchematicsPolicy(resource_name: str,
                         opts: Optional[ResourceOptions] = None,
                         description: Optional[str] = None,
                         kind: Optional[str] = None,
                         location: Optional[str] = None,
                         name: Optional[str] = None,
                         parameter: Optional[SchematicsPolicyParameterArgs] = None,
                         resource_group: Optional[str] = None,
                         schematics_policy_id: Optional[str] = None,
                         scoped_resources: Optional[Sequence[SchematicsPolicyScopedResourceArgs]] = None,
                         state: Optional[SchematicsPolicyStateArgs] = None,
                         tags: Optional[Sequence[str]] = None,
                         target: Optional[SchematicsPolicyTargetArgs] = None)
    func NewSchematicsPolicy(ctx *Context, name string, args *SchematicsPolicyArgs, opts ...ResourceOption) (*SchematicsPolicy, error)
    public SchematicsPolicy(string name, SchematicsPolicyArgs? args = null, CustomResourceOptions? opts = null)
    public SchematicsPolicy(String name, SchematicsPolicyArgs args)
    public SchematicsPolicy(String name, SchematicsPolicyArgs args, CustomResourceOptions options)
    
    type: ibm:SchematicsPolicy
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args SchematicsPolicyArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args SchematicsPolicyArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args SchematicsPolicyArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args SchematicsPolicyArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args SchematicsPolicyArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var schematicsPolicyResource = new Ibm.SchematicsPolicy("schematicsPolicyResource", new()
    {
        Description = "string",
        Kind = "string",
        Location = "string",
        Name = "string",
        Parameter = new Ibm.Inputs.SchematicsPolicyParameterArgs
        {
            AgentAssignmentPolicyParameter = new Ibm.Inputs.SchematicsPolicyParameterAgentAssignmentPolicyParameterArgs
            {
                SelectorIds = new[]
                {
                    "string",
                },
                SelectorKind = "string",
                SelectorScopes = new[]
                {
                    new Ibm.Inputs.SchematicsPolicyParameterAgentAssignmentPolicyParameterSelectorScopeArgs
                    {
                        Kind = "string",
                        Locations = new[]
                        {
                            "string",
                        },
                        ResourceGroups = new[]
                        {
                            "string",
                        },
                        Tags = new[]
                        {
                            "string",
                        },
                    },
                },
            },
        },
        ResourceGroup = "string",
        SchematicsPolicyId = "string",
        ScopedResources = new[]
        {
            new Ibm.Inputs.SchematicsPolicyScopedResourceArgs
            {
                Id = "string",
                Kind = "string",
            },
        },
        State = new Ibm.Inputs.SchematicsPolicyStateArgs
        {
            SetAt = "string",
            SetBy = "string",
            State = "string",
        },
        Tags = new[]
        {
            "string",
        },
        Target = new Ibm.Inputs.SchematicsPolicyTargetArgs
        {
            SelectorIds = new[]
            {
                "string",
            },
            SelectorKind = "string",
            SelectorScopes = new[]
            {
                new Ibm.Inputs.SchematicsPolicyTargetSelectorScopeArgs
                {
                    Kind = "string",
                    Locations = new[]
                    {
                        "string",
                    },
                    ResourceGroups = new[]
                    {
                        "string",
                    },
                    Tags = new[]
                    {
                        "string",
                    },
                },
            },
        },
    });
    
    example, err := ibm.NewSchematicsPolicy(ctx, "schematicsPolicyResource", &ibm.SchematicsPolicyArgs{
    	Description: pulumi.String("string"),
    	Kind:        pulumi.String("string"),
    	Location:    pulumi.String("string"),
    	Name:        pulumi.String("string"),
    	Parameter: &ibm.SchematicsPolicyParameterArgs{
    		AgentAssignmentPolicyParameter: &ibm.SchematicsPolicyParameterAgentAssignmentPolicyParameterArgs{
    			SelectorIds: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			SelectorKind: pulumi.String("string"),
    			SelectorScopes: ibm.SchematicsPolicyParameterAgentAssignmentPolicyParameterSelectorScopeArray{
    				&ibm.SchematicsPolicyParameterAgentAssignmentPolicyParameterSelectorScopeArgs{
    					Kind: pulumi.String("string"),
    					Locations: pulumi.StringArray{
    						pulumi.String("string"),
    					},
    					ResourceGroups: pulumi.StringArray{
    						pulumi.String("string"),
    					},
    					Tags: pulumi.StringArray{
    						pulumi.String("string"),
    					},
    				},
    			},
    		},
    	},
    	ResourceGroup:      pulumi.String("string"),
    	SchematicsPolicyId: pulumi.String("string"),
    	ScopedResources: ibm.SchematicsPolicyScopedResourceArray{
    		&ibm.SchematicsPolicyScopedResourceArgs{
    			Id:   pulumi.String("string"),
    			Kind: pulumi.String("string"),
    		},
    	},
    	State: &ibm.SchematicsPolicyStateTypeArgs{
    		SetAt: pulumi.String("string"),
    		SetBy: pulumi.String("string"),
    		State: pulumi.String("string"),
    	},
    	Tags: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Target: &ibm.SchematicsPolicyTargetArgs{
    		SelectorIds: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		SelectorKind: pulumi.String("string"),
    		SelectorScopes: ibm.SchematicsPolicyTargetSelectorScopeArray{
    			&ibm.SchematicsPolicyTargetSelectorScopeArgs{
    				Kind: pulumi.String("string"),
    				Locations: pulumi.StringArray{
    					pulumi.String("string"),
    				},
    				ResourceGroups: pulumi.StringArray{
    					pulumi.String("string"),
    				},
    				Tags: pulumi.StringArray{
    					pulumi.String("string"),
    				},
    			},
    		},
    	},
    })
    
    var schematicsPolicyResource = new SchematicsPolicy("schematicsPolicyResource", SchematicsPolicyArgs.builder()
        .description("string")
        .kind("string")
        .location("string")
        .name("string")
        .parameter(SchematicsPolicyParameterArgs.builder()
            .agentAssignmentPolicyParameter(SchematicsPolicyParameterAgentAssignmentPolicyParameterArgs.builder()
                .selectorIds("string")
                .selectorKind("string")
                .selectorScopes(SchematicsPolicyParameterAgentAssignmentPolicyParameterSelectorScopeArgs.builder()
                    .kind("string")
                    .locations("string")
                    .resourceGroups("string")
                    .tags("string")
                    .build())
                .build())
            .build())
        .resourceGroup("string")
        .schematicsPolicyId("string")
        .scopedResources(SchematicsPolicyScopedResourceArgs.builder()
            .id("string")
            .kind("string")
            .build())
        .state(SchematicsPolicyStateArgs.builder()
            .setAt("string")
            .setBy("string")
            .state("string")
            .build())
        .tags("string")
        .target(SchematicsPolicyTargetArgs.builder()
            .selectorIds("string")
            .selectorKind("string")
            .selectorScopes(SchematicsPolicyTargetSelectorScopeArgs.builder()
                .kind("string")
                .locations("string")
                .resourceGroups("string")
                .tags("string")
                .build())
            .build())
        .build());
    
    schematics_policy_resource = ibm.SchematicsPolicy("schematicsPolicyResource",
        description="string",
        kind="string",
        location="string",
        name="string",
        parameter={
            "agent_assignment_policy_parameter": {
                "selector_ids": ["string"],
                "selector_kind": "string",
                "selector_scopes": [{
                    "kind": "string",
                    "locations": ["string"],
                    "resource_groups": ["string"],
                    "tags": ["string"],
                }],
            },
        },
        resource_group="string",
        schematics_policy_id="string",
        scoped_resources=[{
            "id": "string",
            "kind": "string",
        }],
        state={
            "set_at": "string",
            "set_by": "string",
            "state": "string",
        },
        tags=["string"],
        target={
            "selector_ids": ["string"],
            "selector_kind": "string",
            "selector_scopes": [{
                "kind": "string",
                "locations": ["string"],
                "resource_groups": ["string"],
                "tags": ["string"],
            }],
        })
    
    const schematicsPolicyResource = new ibm.SchematicsPolicy("schematicsPolicyResource", {
        description: "string",
        kind: "string",
        location: "string",
        name: "string",
        parameter: {
            agentAssignmentPolicyParameter: {
                selectorIds: ["string"],
                selectorKind: "string",
                selectorScopes: [{
                    kind: "string",
                    locations: ["string"],
                    resourceGroups: ["string"],
                    tags: ["string"],
                }],
            },
        },
        resourceGroup: "string",
        schematicsPolicyId: "string",
        scopedResources: [{
            id: "string",
            kind: "string",
        }],
        state: {
            setAt: "string",
            setBy: "string",
            state: "string",
        },
        tags: ["string"],
        target: {
            selectorIds: ["string"],
            selectorKind: "string",
            selectorScopes: [{
                kind: "string",
                locations: ["string"],
                resourceGroups: ["string"],
                tags: ["string"],
            }],
        },
    });
    
    type: ibm:SchematicsPolicy
    properties:
        description: string
        kind: string
        location: string
        name: string
        parameter:
            agentAssignmentPolicyParameter:
                selectorIds:
                    - string
                selectorKind: string
                selectorScopes:
                    - kind: string
                      locations:
                        - string
                      resourceGroups:
                        - string
                      tags:
                        - string
        resourceGroup: string
        schematicsPolicyId: string
        scopedResources:
            - id: string
              kind: string
        state:
            setAt: string
            setBy: string
            state: string
        tags:
            - string
        target:
            selectorIds:
                - string
            selectorKind: string
            selectorScopes:
                - kind: string
                  locations:
                    - string
                  resourceGroups:
                    - string
                  tags:
                    - string
    

    SchematicsPolicy Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The SchematicsPolicy resource accepts the following input properties:

    Description string
    The description of Schematics customization policy.
    Kind string
    Policy kind or categories for managing and deriving policy decision * agent_assignment_policy Agent assignment policy for job execution.

    • Constraints: Allowable values are: agent_assignment_policy.
    Location string
    List of locations supported by IBM Cloud Schematics service. While creating your workspace or action, choose the right region, since it cannot be changed. Note, this does not limit the location of the IBM Cloud resources, provisioned using Schematics.

    • Constraints: Allowable values are: us-south, us-east, eu-gb, eu-de.
    Name string
    Name of Schematics customization policy.
    Parameter SchematicsPolicyParameter
    The parameter to tune the Schematics policy. Nested scheme for parameter:
    ResourceGroup string
    The resource group name for the policy. By default, Policy will be created in default Resource Group.
    SchematicsPolicyId string
    The unique identifier of the schematics_policy.
    ScopedResources List<SchematicsPolicyScopedResource>
    List of scoped Schematics resources targeted by the policy. Nested scheme for scoped_resources:
    State SchematicsPolicyState
    User defined status of the Schematics object. Nested scheme for state:
    Tags List<string>
    Tags for the Schematics customization policy.
    Target SchematicsPolicyTarget
    The objects for the Schematics policy. Nested scheme for target:
    Description string
    The description of Schematics customization policy.
    Kind string
    Policy kind or categories for managing and deriving policy decision * agent_assignment_policy Agent assignment policy for job execution.

    • Constraints: Allowable values are: agent_assignment_policy.
    Location string
    List of locations supported by IBM Cloud Schematics service. While creating your workspace or action, choose the right region, since it cannot be changed. Note, this does not limit the location of the IBM Cloud resources, provisioned using Schematics.

    • Constraints: Allowable values are: us-south, us-east, eu-gb, eu-de.
    Name string
    Name of Schematics customization policy.
    Parameter SchematicsPolicyParameterArgs
    The parameter to tune the Schematics policy. Nested scheme for parameter:
    ResourceGroup string
    The resource group name for the policy. By default, Policy will be created in default Resource Group.
    SchematicsPolicyId string
    The unique identifier of the schematics_policy.
    ScopedResources []SchematicsPolicyScopedResourceArgs
    List of scoped Schematics resources targeted by the policy. Nested scheme for scoped_resources:
    State SchematicsPolicyStateTypeArgs
    User defined status of the Schematics object. Nested scheme for state:
    Tags []string
    Tags for the Schematics customization policy.
    Target SchematicsPolicyTargetArgs
    The objects for the Schematics policy. Nested scheme for target:
    description String
    The description of Schematics customization policy.
    kind String
    Policy kind or categories for managing and deriving policy decision * agent_assignment_policy Agent assignment policy for job execution.

    • Constraints: Allowable values are: agent_assignment_policy.
    location String
    List of locations supported by IBM Cloud Schematics service. While creating your workspace or action, choose the right region, since it cannot be changed. Note, this does not limit the location of the IBM Cloud resources, provisioned using Schematics.

    • Constraints: Allowable values are: us-south, us-east, eu-gb, eu-de.
    name String
    Name of Schematics customization policy.
    parameter SchematicsPolicyParameter
    The parameter to tune the Schematics policy. Nested scheme for parameter:
    resourceGroup String
    The resource group name for the policy. By default, Policy will be created in default Resource Group.
    schematicsPolicyId String
    The unique identifier of the schematics_policy.
    scopedResources List<SchematicsPolicyScopedResource>
    List of scoped Schematics resources targeted by the policy. Nested scheme for scoped_resources:
    state SchematicsPolicyState
    User defined status of the Schematics object. Nested scheme for state:
    tags List<String>
    Tags for the Schematics customization policy.
    target SchematicsPolicyTarget
    The objects for the Schematics policy. Nested scheme for target:
    description string
    The description of Schematics customization policy.
    kind string
    Policy kind or categories for managing and deriving policy decision * agent_assignment_policy Agent assignment policy for job execution.

    • Constraints: Allowable values are: agent_assignment_policy.
    location string
    List of locations supported by IBM Cloud Schematics service. While creating your workspace or action, choose the right region, since it cannot be changed. Note, this does not limit the location of the IBM Cloud resources, provisioned using Schematics.

    • Constraints: Allowable values are: us-south, us-east, eu-gb, eu-de.
    name string
    Name of Schematics customization policy.
    parameter SchematicsPolicyParameter
    The parameter to tune the Schematics policy. Nested scheme for parameter:
    resourceGroup string
    The resource group name for the policy. By default, Policy will be created in default Resource Group.
    schematicsPolicyId string
    The unique identifier of the schematics_policy.
    scopedResources SchematicsPolicyScopedResource[]
    List of scoped Schematics resources targeted by the policy. Nested scheme for scoped_resources:
    state SchematicsPolicyState
    User defined status of the Schematics object. Nested scheme for state:
    tags string[]
    Tags for the Schematics customization policy.
    target SchematicsPolicyTarget
    The objects for the Schematics policy. Nested scheme for target:
    description str
    The description of Schematics customization policy.
    kind str
    Policy kind or categories for managing and deriving policy decision * agent_assignment_policy Agent assignment policy for job execution.

    • Constraints: Allowable values are: agent_assignment_policy.
    location str
    List of locations supported by IBM Cloud Schematics service. While creating your workspace or action, choose the right region, since it cannot be changed. Note, this does not limit the location of the IBM Cloud resources, provisioned using Schematics.

    • Constraints: Allowable values are: us-south, us-east, eu-gb, eu-de.
    name str
    Name of Schematics customization policy.
    parameter SchematicsPolicyParameterArgs
    The parameter to tune the Schematics policy. Nested scheme for parameter:
    resource_group str
    The resource group name for the policy. By default, Policy will be created in default Resource Group.
    schematics_policy_id str
    The unique identifier of the schematics_policy.
    scoped_resources Sequence[SchematicsPolicyScopedResourceArgs]
    List of scoped Schematics resources targeted by the policy. Nested scheme for scoped_resources:
    state SchematicsPolicyStateArgs
    User defined status of the Schematics object. Nested scheme for state:
    tags Sequence[str]
    Tags for the Schematics customization policy.
    target SchematicsPolicyTargetArgs
    The objects for the Schematics policy. Nested scheme for target:
    description String
    The description of Schematics customization policy.
    kind String
    Policy kind or categories for managing and deriving policy decision * agent_assignment_policy Agent assignment policy for job execution.

    • Constraints: Allowable values are: agent_assignment_policy.
    location String
    List of locations supported by IBM Cloud Schematics service. While creating your workspace or action, choose the right region, since it cannot be changed. Note, this does not limit the location of the IBM Cloud resources, provisioned using Schematics.

    • Constraints: Allowable values are: us-south, us-east, eu-gb, eu-de.
    name String
    Name of Schematics customization policy.
    parameter Property Map
    The parameter to tune the Schematics policy. Nested scheme for parameter:
    resourceGroup String
    The resource group name for the policy. By default, Policy will be created in default Resource Group.
    schematicsPolicyId String
    The unique identifier of the schematics_policy.
    scopedResources List<Property Map>
    List of scoped Schematics resources targeted by the policy. Nested scheme for scoped_resources:
    state Property Map
    User defined status of the Schematics object. Nested scheme for state:
    tags List<String>
    Tags for the Schematics customization policy.
    target Property Map
    The objects for the Schematics policy. Nested scheme for target:

    Outputs

    All input properties are implicitly available as output properties. Additionally, the SchematicsPolicy resource produces the following output properties:

    Account string
    (String) The Account id.
    CreatedAt string
    (String) The policy creation time.
    CreatedBy string
    (String) The user who created the policy.
    Crn string
    (String) The policy CRN.
    Id string
    The provider-assigned unique ID for this managed resource.
    UpdatedAt string
    (String) The policy updation time.
    Account string
    (String) The Account id.
    CreatedAt string
    (String) The policy creation time.
    CreatedBy string
    (String) The user who created the policy.
    Crn string
    (String) The policy CRN.
    Id string
    The provider-assigned unique ID for this managed resource.
    UpdatedAt string
    (String) The policy updation time.
    account String
    (String) The Account id.
    createdAt String
    (String) The policy creation time.
    createdBy String
    (String) The user who created the policy.
    crn String
    (String) The policy CRN.
    id String
    The provider-assigned unique ID for this managed resource.
    updatedAt String
    (String) The policy updation time.
    account string
    (String) The Account id.
    createdAt string
    (String) The policy creation time.
    createdBy string
    (String) The user who created the policy.
    crn string
    (String) The policy CRN.
    id string
    The provider-assigned unique ID for this managed resource.
    updatedAt string
    (String) The policy updation time.
    account str
    (String) The Account id.
    created_at str
    (String) The policy creation time.
    created_by str
    (String) The user who created the policy.
    crn str
    (String) The policy CRN.
    id str
    The provider-assigned unique ID for this managed resource.
    updated_at str
    (String) The policy updation time.
    account String
    (String) The Account id.
    createdAt String
    (String) The policy creation time.
    createdBy String
    (String) The user who created the policy.
    crn String
    (String) The policy CRN.
    id String
    The provider-assigned unique ID for this managed resource.
    updatedAt String
    (String) The policy updation time.

    Look up Existing SchematicsPolicy Resource

    Get an existing SchematicsPolicy resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: SchematicsPolicyState, opts?: CustomResourceOptions): SchematicsPolicy
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            account: Optional[str] = None,
            created_at: Optional[str] = None,
            created_by: Optional[str] = None,
            crn: Optional[str] = None,
            description: Optional[str] = None,
            kind: Optional[str] = None,
            location: Optional[str] = None,
            name: Optional[str] = None,
            parameter: Optional[SchematicsPolicyParameterArgs] = None,
            resource_group: Optional[str] = None,
            schematics_policy_id: Optional[str] = None,
            scoped_resources: Optional[Sequence[SchematicsPolicyScopedResourceArgs]] = None,
            state: Optional[SchematicsPolicyStateArgs] = None,
            tags: Optional[Sequence[str]] = None,
            target: Optional[SchematicsPolicyTargetArgs] = None,
            updated_at: Optional[str] = None) -> SchematicsPolicy
    func GetSchematicsPolicy(ctx *Context, name string, id IDInput, state *SchematicsPolicyState, opts ...ResourceOption) (*SchematicsPolicy, error)
    public static SchematicsPolicy Get(string name, Input<string> id, SchematicsPolicyState? state, CustomResourceOptions? opts = null)
    public static SchematicsPolicy get(String name, Output<String> id, SchematicsPolicyState state, CustomResourceOptions options)
    resources:  _:    type: ibm:SchematicsPolicy    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Account string
    (String) The Account id.
    CreatedAt string
    (String) The policy creation time.
    CreatedBy string
    (String) The user who created the policy.
    Crn string
    (String) The policy CRN.
    Description string
    The description of Schematics customization policy.
    Kind string
    Policy kind or categories for managing and deriving policy decision * agent_assignment_policy Agent assignment policy for job execution.

    • Constraints: Allowable values are: agent_assignment_policy.
    Location string
    List of locations supported by IBM Cloud Schematics service. While creating your workspace or action, choose the right region, since it cannot be changed. Note, this does not limit the location of the IBM Cloud resources, provisioned using Schematics.

    • Constraints: Allowable values are: us-south, us-east, eu-gb, eu-de.
    Name string
    Name of Schematics customization policy.
    Parameter SchematicsPolicyParameter
    The parameter to tune the Schematics policy. Nested scheme for parameter:
    ResourceGroup string
    The resource group name for the policy. By default, Policy will be created in default Resource Group.
    SchematicsPolicyId string
    The unique identifier of the schematics_policy.
    ScopedResources List<SchematicsPolicyScopedResource>
    List of scoped Schematics resources targeted by the policy. Nested scheme for scoped_resources:
    State SchematicsPolicyState
    User defined status of the Schematics object. Nested scheme for state:
    Tags List<string>
    Tags for the Schematics customization policy.
    Target SchematicsPolicyTarget
    The objects for the Schematics policy. Nested scheme for target:
    UpdatedAt string
    (String) The policy updation time.
    Account string
    (String) The Account id.
    CreatedAt string
    (String) The policy creation time.
    CreatedBy string
    (String) The user who created the policy.
    Crn string
    (String) The policy CRN.
    Description string
    The description of Schematics customization policy.
    Kind string
    Policy kind or categories for managing and deriving policy decision * agent_assignment_policy Agent assignment policy for job execution.

    • Constraints: Allowable values are: agent_assignment_policy.
    Location string
    List of locations supported by IBM Cloud Schematics service. While creating your workspace or action, choose the right region, since it cannot be changed. Note, this does not limit the location of the IBM Cloud resources, provisioned using Schematics.

    • Constraints: Allowable values are: us-south, us-east, eu-gb, eu-de.
    Name string
    Name of Schematics customization policy.
    Parameter SchematicsPolicyParameterArgs
    The parameter to tune the Schematics policy. Nested scheme for parameter:
    ResourceGroup string
    The resource group name for the policy. By default, Policy will be created in default Resource Group.
    SchematicsPolicyId string
    The unique identifier of the schematics_policy.
    ScopedResources []SchematicsPolicyScopedResourceArgs
    List of scoped Schematics resources targeted by the policy. Nested scheme for scoped_resources:
    State SchematicsPolicyStateTypeArgs
    User defined status of the Schematics object. Nested scheme for state:
    Tags []string
    Tags for the Schematics customization policy.
    Target SchematicsPolicyTargetArgs
    The objects for the Schematics policy. Nested scheme for target:
    UpdatedAt string
    (String) The policy updation time.
    account String
    (String) The Account id.
    createdAt String
    (String) The policy creation time.
    createdBy String
    (String) The user who created the policy.
    crn String
    (String) The policy CRN.
    description String
    The description of Schematics customization policy.
    kind String
    Policy kind or categories for managing and deriving policy decision * agent_assignment_policy Agent assignment policy for job execution.

    • Constraints: Allowable values are: agent_assignment_policy.
    location String
    List of locations supported by IBM Cloud Schematics service. While creating your workspace or action, choose the right region, since it cannot be changed. Note, this does not limit the location of the IBM Cloud resources, provisioned using Schematics.

    • Constraints: Allowable values are: us-south, us-east, eu-gb, eu-de.
    name String
    Name of Schematics customization policy.
    parameter SchematicsPolicyParameter
    The parameter to tune the Schematics policy. Nested scheme for parameter:
    resourceGroup String
    The resource group name for the policy. By default, Policy will be created in default Resource Group.
    schematicsPolicyId String
    The unique identifier of the schematics_policy.
    scopedResources List<SchematicsPolicyScopedResource>
    List of scoped Schematics resources targeted by the policy. Nested scheme for scoped_resources:
    state SchematicsPolicyState
    User defined status of the Schematics object. Nested scheme for state:
    tags List<String>
    Tags for the Schematics customization policy.
    target SchematicsPolicyTarget
    The objects for the Schematics policy. Nested scheme for target:
    updatedAt String
    (String) The policy updation time.
    account string
    (String) The Account id.
    createdAt string
    (String) The policy creation time.
    createdBy string
    (String) The user who created the policy.
    crn string
    (String) The policy CRN.
    description string
    The description of Schematics customization policy.
    kind string
    Policy kind or categories for managing and deriving policy decision * agent_assignment_policy Agent assignment policy for job execution.

    • Constraints: Allowable values are: agent_assignment_policy.
    location string
    List of locations supported by IBM Cloud Schematics service. While creating your workspace or action, choose the right region, since it cannot be changed. Note, this does not limit the location of the IBM Cloud resources, provisioned using Schematics.

    • Constraints: Allowable values are: us-south, us-east, eu-gb, eu-de.
    name string
    Name of Schematics customization policy.
    parameter SchematicsPolicyParameter
    The parameter to tune the Schematics policy. Nested scheme for parameter:
    resourceGroup string
    The resource group name for the policy. By default, Policy will be created in default Resource Group.
    schematicsPolicyId string
    The unique identifier of the schematics_policy.
    scopedResources SchematicsPolicyScopedResource[]
    List of scoped Schematics resources targeted by the policy. Nested scheme for scoped_resources:
    state SchematicsPolicyState
    User defined status of the Schematics object. Nested scheme for state:
    tags string[]
    Tags for the Schematics customization policy.
    target SchematicsPolicyTarget
    The objects for the Schematics policy. Nested scheme for target:
    updatedAt string
    (String) The policy updation time.
    account str
    (String) The Account id.
    created_at str
    (String) The policy creation time.
    created_by str
    (String) The user who created the policy.
    crn str
    (String) The policy CRN.
    description str
    The description of Schematics customization policy.
    kind str
    Policy kind or categories for managing and deriving policy decision * agent_assignment_policy Agent assignment policy for job execution.

    • Constraints: Allowable values are: agent_assignment_policy.
    location str
    List of locations supported by IBM Cloud Schematics service. While creating your workspace or action, choose the right region, since it cannot be changed. Note, this does not limit the location of the IBM Cloud resources, provisioned using Schematics.

    • Constraints: Allowable values are: us-south, us-east, eu-gb, eu-de.
    name str
    Name of Schematics customization policy.
    parameter SchematicsPolicyParameterArgs
    The parameter to tune the Schematics policy. Nested scheme for parameter:
    resource_group str
    The resource group name for the policy. By default, Policy will be created in default Resource Group.
    schematics_policy_id str
    The unique identifier of the schematics_policy.
    scoped_resources Sequence[SchematicsPolicyScopedResourceArgs]
    List of scoped Schematics resources targeted by the policy. Nested scheme for scoped_resources:
    state SchematicsPolicyStateArgs
    User defined status of the Schematics object. Nested scheme for state:
    tags Sequence[str]
    Tags for the Schematics customization policy.
    target SchematicsPolicyTargetArgs
    The objects for the Schematics policy. Nested scheme for target:
    updated_at str
    (String) The policy updation time.
    account String
    (String) The Account id.
    createdAt String
    (String) The policy creation time.
    createdBy String
    (String) The user who created the policy.
    crn String
    (String) The policy CRN.
    description String
    The description of Schematics customization policy.
    kind String
    Policy kind or categories for managing and deriving policy decision * agent_assignment_policy Agent assignment policy for job execution.

    • Constraints: Allowable values are: agent_assignment_policy.
    location String
    List of locations supported by IBM Cloud Schematics service. While creating your workspace or action, choose the right region, since it cannot be changed. Note, this does not limit the location of the IBM Cloud resources, provisioned using Schematics.

    • Constraints: Allowable values are: us-south, us-east, eu-gb, eu-de.
    name String
    Name of Schematics customization policy.
    parameter Property Map
    The parameter to tune the Schematics policy. Nested scheme for parameter:
    resourceGroup String
    The resource group name for the policy. By default, Policy will be created in default Resource Group.
    schematicsPolicyId String
    The unique identifier of the schematics_policy.
    scopedResources List<Property Map>
    List of scoped Schematics resources targeted by the policy. Nested scheme for scoped_resources:
    state Property Map
    User defined status of the Schematics object. Nested scheme for state:
    tags List<String>
    Tags for the Schematics customization policy.
    target Property Map
    The objects for the Schematics policy. Nested scheme for target:
    updatedAt String
    (String) The policy updation time.

    Supporting Types

    SchematicsPolicyParameter, SchematicsPolicyParameterArgs

    AgentAssignmentPolicyParameter SchematicsPolicyParameterAgentAssignmentPolicyParameter
    Parameters for the agent_assignment_policy. Nested scheme for agent_assignment_policy_parameter:
    AgentAssignmentPolicyParameter SchematicsPolicyParameterAgentAssignmentPolicyParameter
    Parameters for the agent_assignment_policy. Nested scheme for agent_assignment_policy_parameter:
    agentAssignmentPolicyParameter SchematicsPolicyParameterAgentAssignmentPolicyParameter
    Parameters for the agent_assignment_policy. Nested scheme for agent_assignment_policy_parameter:
    agentAssignmentPolicyParameter SchematicsPolicyParameterAgentAssignmentPolicyParameter
    Parameters for the agent_assignment_policy. Nested scheme for agent_assignment_policy_parameter:
    agent_assignment_policy_parameter SchematicsPolicyParameterAgentAssignmentPolicyParameter
    Parameters for the agent_assignment_policy. Nested scheme for agent_assignment_policy_parameter:
    agentAssignmentPolicyParameter Property Map
    Parameters for the agent_assignment_policy. Nested scheme for agent_assignment_policy_parameter:

    SchematicsPolicyParameterAgentAssignmentPolicyParameter, SchematicsPolicyParameterAgentAssignmentPolicyParameterArgs

    SelectorIds List<string>
    The static selectors of schematics object ids (workspace, action or blueprint) for the Schematics policy.
    SelectorKind string
    Types of schematics object selector.

    • Constraints: Allowable values are: ids, scoped.
    SelectorScopes List<SchematicsPolicyParameterAgentAssignmentPolicyParameterSelectorScope>
    The selectors to dynamically list of schematics object ids (workspace, action or blueprint) for the Schematics policy. Nested scheme for selector_scope:
    SelectorIds []string
    The static selectors of schematics object ids (workspace, action or blueprint) for the Schematics policy.
    SelectorKind string
    Types of schematics object selector.

    • Constraints: Allowable values are: ids, scoped.
    SelectorScopes []SchematicsPolicyParameterAgentAssignmentPolicyParameterSelectorScope
    The selectors to dynamically list of schematics object ids (workspace, action or blueprint) for the Schematics policy. Nested scheme for selector_scope:
    selectorIds List<String>
    The static selectors of schematics object ids (workspace, action or blueprint) for the Schematics policy.
    selectorKind String
    Types of schematics object selector.

    • Constraints: Allowable values are: ids, scoped.
    selectorScopes List<SchematicsPolicyParameterAgentAssignmentPolicyParameterSelectorScope>
    The selectors to dynamically list of schematics object ids (workspace, action or blueprint) for the Schematics policy. Nested scheme for selector_scope:
    selectorIds string[]
    The static selectors of schematics object ids (workspace, action or blueprint) for the Schematics policy.
    selectorKind string
    Types of schematics object selector.

    • Constraints: Allowable values are: ids, scoped.
    selectorScopes SchematicsPolicyParameterAgentAssignmentPolicyParameterSelectorScope[]
    The selectors to dynamically list of schematics object ids (workspace, action or blueprint) for the Schematics policy. Nested scheme for selector_scope:
    selector_ids Sequence[str]
    The static selectors of schematics object ids (workspace, action or blueprint) for the Schematics policy.
    selector_kind str
    Types of schematics object selector.

    • Constraints: Allowable values are: ids, scoped.
    selector_scopes Sequence[SchematicsPolicyParameterAgentAssignmentPolicyParameterSelectorScope]
    The selectors to dynamically list of schematics object ids (workspace, action or blueprint) for the Schematics policy. Nested scheme for selector_scope:
    selectorIds List<String>
    The static selectors of schematics object ids (workspace, action or blueprint) for the Schematics policy.
    selectorKind String
    Types of schematics object selector.

    • Constraints: Allowable values are: ids, scoped.
    selectorScopes List<Property Map>
    The selectors to dynamically list of schematics object ids (workspace, action or blueprint) for the Schematics policy. Nested scheme for selector_scope:

    SchematicsPolicyParameterAgentAssignmentPolicyParameterSelectorScope, SchematicsPolicyParameterAgentAssignmentPolicyParameterSelectorScopeArgs

    Kind string
    Name of the Schematics automation resource.

    • Constraints: Allowable values are: workspace, action, system, environment, blueprint.
    Locations List<string>
    The location based selector.

    • Constraints: Allowable list items are: us-south, us-east, eu-gb, eu-de.
    ResourceGroups List<string>
    The resource group based selector.
    Tags List<string>
    The tag based selector.
    Kind string
    Name of the Schematics automation resource.

    • Constraints: Allowable values are: workspace, action, system, environment, blueprint.
    Locations []string
    The location based selector.

    • Constraints: Allowable list items are: us-south, us-east, eu-gb, eu-de.
    ResourceGroups []string
    The resource group based selector.
    Tags []string
    The tag based selector.
    kind String
    Name of the Schematics automation resource.

    • Constraints: Allowable values are: workspace, action, system, environment, blueprint.
    locations List<String>
    The location based selector.

    • Constraints: Allowable list items are: us-south, us-east, eu-gb, eu-de.
    resourceGroups List<String>
    The resource group based selector.
    tags List<String>
    The tag based selector.
    kind string
    Name of the Schematics automation resource.

    • Constraints: Allowable values are: workspace, action, system, environment, blueprint.
    locations string[]
    The location based selector.

    • Constraints: Allowable list items are: us-south, us-east, eu-gb, eu-de.
    resourceGroups string[]
    The resource group based selector.
    tags string[]
    The tag based selector.
    kind str
    Name of the Schematics automation resource.

    • Constraints: Allowable values are: workspace, action, system, environment, blueprint.
    locations Sequence[str]
    The location based selector.

    • Constraints: Allowable list items are: us-south, us-east, eu-gb, eu-de.
    resource_groups Sequence[str]
    The resource group based selector.
    tags Sequence[str]
    The tag based selector.
    kind String
    Name of the Schematics automation resource.

    • Constraints: Allowable values are: workspace, action, system, environment, blueprint.
    locations List<String>
    The location based selector.

    • Constraints: Allowable list items are: us-south, us-east, eu-gb, eu-de.
    resourceGroups List<String>
    The resource group based selector.
    tags List<String>
    The tag based selector.

    SchematicsPolicyScopedResource, SchematicsPolicyScopedResourceArgs

    Id string
    Schematics resource Id.
    Kind string
    Name of the Schematics automation resource.

    • Constraints: Allowable values are: workspace, action, system, environment, blueprint.
    Id string
    Schematics resource Id.
    Kind string
    Name of the Schematics automation resource.

    • Constraints: Allowable values are: workspace, action, system, environment, blueprint.
    id String
    Schematics resource Id.
    kind String
    Name of the Schematics automation resource.

    • Constraints: Allowable values are: workspace, action, system, environment, blueprint.
    id string
    Schematics resource Id.
    kind string
    Name of the Schematics automation resource.

    • Constraints: Allowable values are: workspace, action, system, environment, blueprint.
    id str
    Schematics resource Id.
    kind str
    Name of the Schematics automation resource.

    • Constraints: Allowable values are: workspace, action, system, environment, blueprint.
    id String
    Schematics resource Id.
    kind String
    Name of the Schematics automation resource.

    • Constraints: Allowable values are: workspace, action, system, environment, blueprint.

    SchematicsPolicyState, SchematicsPolicyStateArgs

    SetAt string
    When the User who set the state of the Object.
    SetBy string
    Name of the User who set the state of the Object.
    State string
    User-defined states * draft Object can be modified; can be used by Jobs run by the author, during execution * live Object can be modified; can be used by Jobs during execution * locked Object cannot be modified; can be used by Jobs during execution * disable Object can be modified. cannot be used by Jobs during execution.

    • Constraints: Allowable values are: draft, live, locked, disable.
    SetAt string
    When the User who set the state of the Object.
    SetBy string
    Name of the User who set the state of the Object.
    State string
    User-defined states * draft Object can be modified; can be used by Jobs run by the author, during execution * live Object can be modified; can be used by Jobs during execution * locked Object cannot be modified; can be used by Jobs during execution * disable Object can be modified. cannot be used by Jobs during execution.

    • Constraints: Allowable values are: draft, live, locked, disable.
    setAt String
    When the User who set the state of the Object.
    setBy String
    Name of the User who set the state of the Object.
    state String
    User-defined states * draft Object can be modified; can be used by Jobs run by the author, during execution * live Object can be modified; can be used by Jobs during execution * locked Object cannot be modified; can be used by Jobs during execution * disable Object can be modified. cannot be used by Jobs during execution.

    • Constraints: Allowable values are: draft, live, locked, disable.
    setAt string
    When the User who set the state of the Object.
    setBy string
    Name of the User who set the state of the Object.
    state string
    User-defined states * draft Object can be modified; can be used by Jobs run by the author, during execution * live Object can be modified; can be used by Jobs during execution * locked Object cannot be modified; can be used by Jobs during execution * disable Object can be modified. cannot be used by Jobs during execution.

    • Constraints: Allowable values are: draft, live, locked, disable.
    set_at str
    When the User who set the state of the Object.
    set_by str
    Name of the User who set the state of the Object.
    state str
    User-defined states * draft Object can be modified; can be used by Jobs run by the author, during execution * live Object can be modified; can be used by Jobs during execution * locked Object cannot be modified; can be used by Jobs during execution * disable Object can be modified. cannot be used by Jobs during execution.

    • Constraints: Allowable values are: draft, live, locked, disable.
    setAt String
    When the User who set the state of the Object.
    setBy String
    Name of the User who set the state of the Object.
    state String
    User-defined states * draft Object can be modified; can be used by Jobs run by the author, during execution * live Object can be modified; can be used by Jobs during execution * locked Object cannot be modified; can be used by Jobs during execution * disable Object can be modified. cannot be used by Jobs during execution.

    • Constraints: Allowable values are: draft, live, locked, disable.

    SchematicsPolicyTarget, SchematicsPolicyTargetArgs

    SelectorIds List<string>
    Static selectors of schematics object ids (agent, workspace, action or blueprint) for the Schematics policy.
    SelectorKind string
    Types of schematics object selector.

    • Constraints: Allowable values are: ids, scoped.
    SelectorScopes List<SchematicsPolicyTargetSelectorScope>
    Selectors to dynamically list of schematics object ids (agent, workspace, action or blueprint) for the Schematics policy. Nested scheme for selector_scope:
    SelectorIds []string
    Static selectors of schematics object ids (agent, workspace, action or blueprint) for the Schematics policy.
    SelectorKind string
    Types of schematics object selector.

    • Constraints: Allowable values are: ids, scoped.
    SelectorScopes []SchematicsPolicyTargetSelectorScope
    Selectors to dynamically list of schematics object ids (agent, workspace, action or blueprint) for the Schematics policy. Nested scheme for selector_scope:
    selectorIds List<String>
    Static selectors of schematics object ids (agent, workspace, action or blueprint) for the Schematics policy.
    selectorKind String
    Types of schematics object selector.

    • Constraints: Allowable values are: ids, scoped.
    selectorScopes List<SchematicsPolicyTargetSelectorScope>
    Selectors to dynamically list of schematics object ids (agent, workspace, action or blueprint) for the Schematics policy. Nested scheme for selector_scope:
    selectorIds string[]
    Static selectors of schematics object ids (agent, workspace, action or blueprint) for the Schematics policy.
    selectorKind string
    Types of schematics object selector.

    • Constraints: Allowable values are: ids, scoped.
    selectorScopes SchematicsPolicyTargetSelectorScope[]
    Selectors to dynamically list of schematics object ids (agent, workspace, action or blueprint) for the Schematics policy. Nested scheme for selector_scope:
    selector_ids Sequence[str]
    Static selectors of schematics object ids (agent, workspace, action or blueprint) for the Schematics policy.
    selector_kind str
    Types of schematics object selector.

    • Constraints: Allowable values are: ids, scoped.
    selector_scopes Sequence[SchematicsPolicyTargetSelectorScope]
    Selectors to dynamically list of schematics object ids (agent, workspace, action or blueprint) for the Schematics policy. Nested scheme for selector_scope:
    selectorIds List<String>
    Static selectors of schematics object ids (agent, workspace, action or blueprint) for the Schematics policy.
    selectorKind String
    Types of schematics object selector.

    • Constraints: Allowable values are: ids, scoped.
    selectorScopes List<Property Map>
    Selectors to dynamically list of schematics object ids (agent, workspace, action or blueprint) for the Schematics policy. Nested scheme for selector_scope:

    SchematicsPolicyTargetSelectorScope, SchematicsPolicyTargetSelectorScopeArgs

    Kind string
    Name of the Schematics automation resource.

    • Constraints: Allowable values are: workspace, action, system, environment, blueprint.
    Locations List<string>
    The location based selector.

    • Constraints: Allowable list items are: us-south, us-east, eu-gb, eu-de.
    ResourceGroups List<string>
    The resource group based selector.
    Tags List<string>
    The tag based selector.
    Kind string
    Name of the Schematics automation resource.

    • Constraints: Allowable values are: workspace, action, system, environment, blueprint.
    Locations []string
    The location based selector.

    • Constraints: Allowable list items are: us-south, us-east, eu-gb, eu-de.
    ResourceGroups []string
    The resource group based selector.
    Tags []string
    The tag based selector.
    kind String
    Name of the Schematics automation resource.

    • Constraints: Allowable values are: workspace, action, system, environment, blueprint.
    locations List<String>
    The location based selector.

    • Constraints: Allowable list items are: us-south, us-east, eu-gb, eu-de.
    resourceGroups List<String>
    The resource group based selector.
    tags List<String>
    The tag based selector.
    kind string
    Name of the Schematics automation resource.

    • Constraints: Allowable values are: workspace, action, system, environment, blueprint.
    locations string[]
    The location based selector.

    • Constraints: Allowable list items are: us-south, us-east, eu-gb, eu-de.
    resourceGroups string[]
    The resource group based selector.
    tags string[]
    The tag based selector.
    kind str
    Name of the Schematics automation resource.

    • Constraints: Allowable values are: workspace, action, system, environment, blueprint.
    locations Sequence[str]
    The location based selector.

    • Constraints: Allowable list items are: us-south, us-east, eu-gb, eu-de.
    resource_groups Sequence[str]
    The resource group based selector.
    tags Sequence[str]
    The tag based selector.
    kind String
    Name of the Schematics automation resource.

    • Constraints: Allowable values are: workspace, action, system, environment, blueprint.
    locations List<String>
    The location based selector.

    • Constraints: Allowable list items are: us-south, us-east, eu-gb, eu-de.
    resourceGroups List<String>
    The resource group based selector.
    tags List<String>
    The tag based selector.

    Import

    You can import the ibm_schematics_policy resource by using id. The system generated policy Id.

    Syntax

    $ pulumi import ibm:index/schematicsPolicy:SchematicsPolicy schematics_policy <id>
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    ibm ibm-cloud/terraform-provider-ibm
    License
    Notes
    This Pulumi package is based on the ibm Terraform Provider.
    ibm logo
    ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud