1. Packages
  2. Ibm Provider
  3. API Docs
  4. getSchematicsPolicy
ibm 1.77.1 published on Monday, Apr 14, 2025 by ibm-cloud

ibm.getSchematicsPolicy

Explore with Pulumi AI

Provides a read-only data source for schematics_policy. You can then reference the fields of the data source in other resources within the same configuration using interpolation syntax.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as ibm from "@pulumi/ibm";

const schematicsPolicy = ibm.getSchematicsPolicy({
    policyId: "policy_id",
});
Copy
import pulumi
import pulumi_ibm as ibm

schematics_policy = ibm.get_schematics_policy(policy_id="policy_id")
Copy
package main

import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/ibm/ibm"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ibm.LookupSchematicsPolicy(ctx, &ibm.LookupSchematicsPolicyArgs{
			PolicyId: "policy_id",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Ibm = Pulumi.Ibm;

return await Deployment.RunAsync(() => 
{
    var schematicsPolicy = Ibm.GetSchematicsPolicy.Invoke(new()
    {
        PolicyId = "policy_id",
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ibm.IbmFunctions;
import com.pulumi.ibm.inputs.GetSchematicsPolicyArgs;
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) {
        final var schematicsPolicy = IbmFunctions.getSchematicsPolicy(GetSchematicsPolicyArgs.builder()
            .policyId("policy_id")
            .build());

    }
}
Copy
variables:
  schematicsPolicy:
    fn::invoke:
      function: ibm:getSchematicsPolicy
      arguments:
        policyId: policy_id
Copy

Using getSchematicsPolicy

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getSchematicsPolicy(args: GetSchematicsPolicyArgs, opts?: InvokeOptions): Promise<GetSchematicsPolicyResult>
function getSchematicsPolicyOutput(args: GetSchematicsPolicyOutputArgs, opts?: InvokeOptions): Output<GetSchematicsPolicyResult>
Copy
def get_schematics_policy(policy_id: Optional[str] = None,
                          opts: Optional[InvokeOptions] = None) -> GetSchematicsPolicyResult
def get_schematics_policy_output(policy_id: Optional[pulumi.Input[str]] = None,
                          opts: Optional[InvokeOptions] = None) -> Output[GetSchematicsPolicyResult]
Copy
func LookupSchematicsPolicy(ctx *Context, args *LookupSchematicsPolicyArgs, opts ...InvokeOption) (*LookupSchematicsPolicyResult, error)
func LookupSchematicsPolicyOutput(ctx *Context, args *LookupSchematicsPolicyOutputArgs, opts ...InvokeOption) LookupSchematicsPolicyResultOutput
Copy

> Note: This function is named LookupSchematicsPolicy in the Go SDK.

public static class GetSchematicsPolicy 
{
    public static Task<GetSchematicsPolicyResult> InvokeAsync(GetSchematicsPolicyArgs args, InvokeOptions? opts = null)
    public static Output<GetSchematicsPolicyResult> Invoke(GetSchematicsPolicyInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetSchematicsPolicyResult> getSchematicsPolicy(GetSchematicsPolicyArgs args, InvokeOptions options)
public static Output<GetSchematicsPolicyResult> getSchematicsPolicy(GetSchematicsPolicyArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: ibm:index/getSchematicsPolicy:getSchematicsPolicy
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

PolicyId This property is required. string
ID to get the details of policy.
PolicyId This property is required. string
ID to get the details of policy.
policyId This property is required. String
ID to get the details of policy.
policyId This property is required. string
ID to get the details of policy.
policy_id This property is required. str
ID to get the details of policy.
policyId This property is required. String
ID to get the details of policy.

getSchematicsPolicy Result

The following output properties are available:

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
(String) The description of Schematics customization policy.
Id string
(String) Schematics resource Id.
Kind string
(String) Name of the Schematics automation resource.

  • Constraints: Allowable values are: workspace, action, system, environment, blueprint.
Location string
(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
(String) Name of Schematics customization policy.
Parameters List<GetSchematicsPolicyParameter>
(List) The parameter to tune the Schematics policy. Nested scheme for parameter:
PolicyId string
ResourceGroup string
(String) The resource group name for the policy. By default, Policy will be created in default Resource Group.
ScopedResources List<GetSchematicsPolicyScopedResource>
(List) List of scoped Schematics resources targeted by the policy. Nested scheme for scoped_resources:
States List<GetSchematicsPolicyState>
(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.
Tags List<string>
(List) The tag based selector.
Targets List<GetSchematicsPolicyTarget>
(List) 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
(String) The description of Schematics customization policy.
Id string
(String) Schematics resource Id.
Kind string
(String) Name of the Schematics automation resource.

  • Constraints: Allowable values are: workspace, action, system, environment, blueprint.
Location string
(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
(String) Name of Schematics customization policy.
Parameters []GetSchematicsPolicyParameter
(List) The parameter to tune the Schematics policy. Nested scheme for parameter:
PolicyId string
ResourceGroup string
(String) The resource group name for the policy. By default, Policy will be created in default Resource Group.
ScopedResources []GetSchematicsPolicyScopedResource
(List) List of scoped Schematics resources targeted by the policy. Nested scheme for scoped_resources:
States []GetSchematicsPolicyState
(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.
Tags []string
(List) The tag based selector.
Targets []GetSchematicsPolicyTarget
(List) 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
(String) The description of Schematics customization policy.
id String
(String) Schematics resource Id.
kind String
(String) Name of the Schematics automation resource.

  • Constraints: Allowable values are: workspace, action, system, environment, blueprint.
location String
(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
(String) Name of Schematics customization policy.
parameters List<GetSchematicsPolicyParameter>
(List) The parameter to tune the Schematics policy. Nested scheme for parameter:
policyId String
resourceGroup String
(String) The resource group name for the policy. By default, Policy will be created in default Resource Group.
scopedResources List<GetSchematicsPolicyScopedResource>
(List) List of scoped Schematics resources targeted by the policy. Nested scheme for scoped_resources:
states List<GetSchematicsPolicyState>
(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.
tags List<String>
(List) The tag based selector.
targets List<GetSchematicsPolicyTarget>
(List) 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
(String) The description of Schematics customization policy.
id string
(String) Schematics resource Id.
kind string
(String) Name of the Schematics automation resource.

  • Constraints: Allowable values are: workspace, action, system, environment, blueprint.
location string
(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
(String) Name of Schematics customization policy.
parameters GetSchematicsPolicyParameter[]
(List) The parameter to tune the Schematics policy. Nested scheme for parameter:
policyId string
resourceGroup string
(String) The resource group name for the policy. By default, Policy will be created in default Resource Group.
scopedResources GetSchematicsPolicyScopedResource[]
(List) List of scoped Schematics resources targeted by the policy. Nested scheme for scoped_resources:
states GetSchematicsPolicyState[]
(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.
tags string[]
(List) The tag based selector.
targets GetSchematicsPolicyTarget[]
(List) 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
(String) The description of Schematics customization policy.
id str
(String) Schematics resource Id.
kind str
(String) Name of the Schematics automation resource.

  • Constraints: Allowable values are: workspace, action, system, environment, blueprint.
location str
(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 str
(String) Name of Schematics customization policy.
parameters Sequence[GetSchematicsPolicyParameter]
(List) The parameter to tune the Schematics policy. Nested scheme for parameter:
policy_id str
resource_group str
(String) The resource group name for the policy. By default, Policy will be created in default Resource Group.
scoped_resources Sequence[GetSchematicsPolicyScopedResource]
(List) List of scoped Schematics resources targeted by the policy. Nested scheme for scoped_resources:
states Sequence[GetSchematicsPolicyState]
(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.
tags Sequence[str]
(List) The tag based selector.
targets Sequence[GetSchematicsPolicyTarget]
(List) 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
(String) The description of Schematics customization policy.
id String
(String) Schematics resource Id.
kind String
(String) Name of the Schematics automation resource.

  • Constraints: Allowable values are: workspace, action, system, environment, blueprint.
location String
(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
(String) Name of Schematics customization policy.
parameters List<Property Map>
(List) The parameter to tune the Schematics policy. Nested scheme for parameter:
policyId String
resourceGroup String
(String) The resource group name for the policy. By default, Policy will be created in default Resource Group.
scopedResources List<Property Map>
(List) List of scoped Schematics resources targeted by the policy. Nested scheme for scoped_resources:
states List<Property Map>
(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.
tags List<String>
(List) The tag based selector.
targets List<Property Map>
(List) The objects for the Schematics policy. Nested scheme for target:
updatedAt String
(String) The policy updation time.

Supporting Types

GetSchematicsPolicyParameter

AgentAssignmentPolicyParameters This property is required. List<GetSchematicsPolicyParameterAgentAssignmentPolicyParameter>
(List) Parameters for the agent_assignment_policy. Nested scheme for agent_assignment_policy_parameter:
AgentAssignmentPolicyParameters This property is required. []GetSchematicsPolicyParameterAgentAssignmentPolicyParameter
(List) Parameters for the agent_assignment_policy. Nested scheme for agent_assignment_policy_parameter:
agentAssignmentPolicyParameters This property is required. List<GetSchematicsPolicyParameterAgentAssignmentPolicyParameter>
(List) Parameters for the agent_assignment_policy. Nested scheme for agent_assignment_policy_parameter:
agentAssignmentPolicyParameters This property is required. GetSchematicsPolicyParameterAgentAssignmentPolicyParameter[]
(List) Parameters for the agent_assignment_policy. Nested scheme for agent_assignment_policy_parameter:
agent_assignment_policy_parameters This property is required. Sequence[GetSchematicsPolicyParameterAgentAssignmentPolicyParameter]
(List) Parameters for the agent_assignment_policy. Nested scheme for agent_assignment_policy_parameter:
agentAssignmentPolicyParameters This property is required. List<Property Map>
(List) Parameters for the agent_assignment_policy. Nested scheme for agent_assignment_policy_parameter:

GetSchematicsPolicyParameterAgentAssignmentPolicyParameter

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

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

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

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

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

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

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

GetSchematicsPolicyParameterAgentAssignmentPolicyParameterSelectorScope

Kind This property is required. string
(String) Name of the Schematics automation resource.

  • Constraints: Allowable values are: workspace, action, system, environment, blueprint.
Locations This property is required. List<string>
(List) The location based selector.

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

  • Constraints: Allowable values are: workspace, action, system, environment, blueprint.
Locations This property is required. []string
(List) The location based selector.

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

  • Constraints: Allowable values are: workspace, action, system, environment, blueprint.
locations This property is required. List<String>
(List) The location based selector.

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

  • Constraints: Allowable values are: workspace, action, system, environment, blueprint.
locations This property is required. string[]
(List) The location based selector.

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

  • Constraints: Allowable values are: workspace, action, system, environment, blueprint.
locations This property is required. Sequence[str]
(List) The location based selector.

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

  • Constraints: Allowable values are: workspace, action, system, environment, blueprint.
locations This property is required. List<String>
(List) The location based selector.

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

GetSchematicsPolicyScopedResource

Id This property is required. string
(String) Schematics resource Id.
Kind This property is required. string
(String) Name of the Schematics automation resource.

  • Constraints: Allowable values are: workspace, action, system, environment, blueprint.
Id This property is required. string
(String) Schematics resource Id.
Kind This property is required. string
(String) Name of the Schematics automation resource.

  • Constraints: Allowable values are: workspace, action, system, environment, blueprint.
id This property is required. String
(String) Schematics resource Id.
kind This property is required. String
(String) Name of the Schematics automation resource.

  • Constraints: Allowable values are: workspace, action, system, environment, blueprint.
id This property is required. string
(String) Schematics resource Id.
kind This property is required. string
(String) Name of the Schematics automation resource.

  • Constraints: Allowable values are: workspace, action, system, environment, blueprint.
id This property is required. str
(String) Schematics resource Id.
kind This property is required. str
(String) Name of the Schematics automation resource.

  • Constraints: Allowable values are: workspace, action, system, environment, blueprint.
id This property is required. String
(String) Schematics resource Id.
kind This property is required. String
(String) Name of the Schematics automation resource.

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

GetSchematicsPolicyState

SetAt This property is required. string
(String) When the User who set the state of the Object.
SetBy This property is required. string
(String) Name of the User who set the state of the Object.
State This property is required. string
(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 This property is required. string
(String) When the User who set the state of the Object.
SetBy This property is required. string
(String) Name of the User who set the state of the Object.
State This property is required. string
(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 This property is required. String
(String) When the User who set the state of the Object.
setBy This property is required. String
(String) Name of the User who set the state of the Object.
state This property is required. String
(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 This property is required. string
(String) When the User who set the state of the Object.
setBy This property is required. string
(String) Name of the User who set the state of the Object.
state This property is required. string
(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 This property is required. str
(String) When the User who set the state of the Object.
set_by This property is required. str
(String) Name of the User who set the state of the Object.
state This property is required. str
(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 This property is required. String
(String) When the User who set the state of the Object.
setBy This property is required. String
(String) Name of the User who set the state of the Object.
state This property is required. String
(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.

GetSchematicsPolicyTarget

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

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

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

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

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

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

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

GetSchematicsPolicyTargetSelectorScope

Kind This property is required. string
(String) Name of the Schematics automation resource.

  • Constraints: Allowable values are: workspace, action, system, environment, blueprint.
Locations This property is required. List<string>
(List) The location based selector.

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

  • Constraints: Allowable values are: workspace, action, system, environment, blueprint.
Locations This property is required. []string
(List) The location based selector.

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

  • Constraints: Allowable values are: workspace, action, system, environment, blueprint.
locations This property is required. List<String>
(List) The location based selector.

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

  • Constraints: Allowable values are: workspace, action, system, environment, blueprint.
locations This property is required. string[]
(List) The location based selector.

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

  • Constraints: Allowable values are: workspace, action, system, environment, blueprint.
locations This property is required. Sequence[str]
(List) The location based selector.

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

  • Constraints: Allowable values are: workspace, action, system, environment, blueprint.
locations This property is required. List<String>
(List) The location based selector.

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

Package Details

Repository
ibm ibm-cloud/terraform-provider-ibm
License
Notes
This Pulumi package is based on the ibm Terraform Provider.