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",
});
import pulumi
import pulumi_ibm as ibm
schematics_policy = ibm.get_schematics_policy(policy_id="policy_id")
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
})
}
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",
});
});
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());
}
}
variables:
schematicsPolicy:
fn::invoke:
function: ibm:getSchematicsPolicy
arguments:
policyId: policy_id
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>
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]
func LookupSchematicsPolicy(ctx *Context, args *LookupSchematicsPolicyArgs, opts ...InvokeOption) (*LookupSchematicsPolicyResult, error)
func LookupSchematicsPolicyOutput(ctx *Context, args *LookupSchematicsPolicyOutputArgs, opts ...InvokeOption) LookupSchematicsPolicyResultOutput
> 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)
}
public static CompletableFuture<GetSchematicsPolicyResult> getSchematicsPolicy(GetSchematicsPolicyArgs args, InvokeOptions options)
public static Output<GetSchematicsPolicyResult> getSchematicsPolicy(GetSchematicsPolicyArgs args, InvokeOptions options)
fn::invoke:
function: ibm:index/getSchematicsPolicy:getSchematicsPolicy
arguments:
# arguments dictionary
The following arguments are supported:
- Policy
Id string - ID to get the details of policy.
- Policy
Id string - ID to get the details of policy.
- policy
Id String - ID to get the details of policy.
- policy
Id string - ID to get the details of policy.
- policy_
id str - ID to get the details of policy.
- policy
Id String - ID to get the details of policy.
getSchematicsPolicy Result
The following output properties are available:
- Account string
- (String) The Account id.
- Created
At string - (String) The policy creation time.
- Created
By 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
.
- Constraints: Allowable values are:
- 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
.
- Constraints: Allowable values are:
- Name string
- (String) Name of Schematics customization policy.
- Parameters
List<Get
Schematics Policy Parameter> - (List) The parameter to tune the Schematics policy. Nested scheme for parameter:
- Policy
Id string - Resource
Group string - (String) The resource group name for the policy. By default, Policy will be created in
default
Resource Group. - Scoped
Resources List<GetSchematics Policy Scoped Resource> - (List) List of scoped Schematics resources targeted by the policy. Nested scheme for scoped_resources:
- States
List<Get
Schematics Policy 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
.
- Constraints: Allowable values are:
- List<string>
- (List) The tag based selector.
- Targets
List<Get
Schematics Policy Target> - (List) The objects for the Schematics policy. Nested scheme for target:
- Updated
At string - (String) The policy updation time.
- Account string
- (String) The Account id.
- Created
At string - (String) The policy creation time.
- Created
By 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
.
- Constraints: Allowable values are:
- 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
.
- Constraints: Allowable values are:
- Name string
- (String) Name of Schematics customization policy.
- Parameters
[]Get
Schematics Policy Parameter - (List) The parameter to tune the Schematics policy. Nested scheme for parameter:
- Policy
Id string - Resource
Group string - (String) The resource group name for the policy. By default, Policy will be created in
default
Resource Group. - Scoped
Resources []GetSchematics Policy Scoped Resource - (List) List of scoped Schematics resources targeted by the policy. Nested scheme for scoped_resources:
- States
[]Get
Schematics Policy 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
.
- Constraints: Allowable values are:
- []string
- (List) The tag based selector.
- Targets
[]Get
Schematics Policy Target - (List) The objects for the Schematics policy. Nested scheme for target:
- Updated
At string - (String) The policy updation time.
- account String
- (String) The Account id.
- created
At String - (String) The policy creation time.
- created
By 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
.
- Constraints: Allowable values are:
- 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
.
- Constraints: Allowable values are:
- name String
- (String) Name of Schematics customization policy.
- parameters
List<Get
Schematics Policy Parameter> - (List) The parameter to tune the Schematics policy. Nested scheme for parameter:
- policy
Id String - resource
Group String - (String) The resource group name for the policy. By default, Policy will be created in
default
Resource Group. - scoped
Resources List<GetSchematics Policy Scoped Resource> - (List) List of scoped Schematics resources targeted by the policy. Nested scheme for scoped_resources:
- states
List<Get
Schematics Policy 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
.
- Constraints: Allowable values are:
- List<String>
- (List) The tag based selector.
- targets
List<Get
Schematics Policy Target> - (List) The objects for the Schematics policy. Nested scheme for target:
- updated
At String - (String) The policy updation time.
- account string
- (String) The Account id.
- created
At string - (String) The policy creation time.
- created
By 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
.
- Constraints: Allowable values are:
- 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
.
- Constraints: Allowable values are:
- name string
- (String) Name of Schematics customization policy.
- parameters
Get
Schematics Policy Parameter[] - (List) The parameter to tune the Schematics policy. Nested scheme for parameter:
- policy
Id string - resource
Group string - (String) The resource group name for the policy. By default, Policy will be created in
default
Resource Group. - scoped
Resources GetSchematics Policy Scoped Resource[] - (List) List of scoped Schematics resources targeted by the policy. Nested scheme for scoped_resources:
- states
Get
Schematics Policy 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
.
- Constraints: Allowable values are:
- string[]
- (List) The tag based selector.
- targets
Get
Schematics Policy Target[] - (List) The objects for the Schematics policy. Nested scheme for target:
- updated
At 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
.
- Constraints: Allowable values are:
- 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
.
- Constraints: Allowable values are:
- name str
- (String) Name of Schematics customization policy.
- parameters
Sequence[Get
Schematics Policy Parameter] - (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[GetSchematics Policy Scoped Resource] - (List) List of scoped Schematics resources targeted by the policy. Nested scheme for scoped_resources:
- states
Sequence[Get
Schematics Policy 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
.
- Constraints: Allowable values are:
- Sequence[str]
- (List) The tag based selector.
- targets
Sequence[Get
Schematics Policy Target] - (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.
- created
At String - (String) The policy creation time.
- created
By 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
.
- Constraints: Allowable values are:
- 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
.
- Constraints: Allowable values are:
- name String
- (String) Name of Schematics customization policy.
- parameters List<Property Map>
- (List) The parameter to tune the Schematics policy. Nested scheme for parameter:
- policy
Id String - resource
Group String - (String) The resource group name for the policy. By default, Policy will be created in
default
Resource Group. - scoped
Resources 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
.
- Constraints: Allowable values are:
- List<String>
- (List) The tag based selector.
- targets List<Property Map>
- (List) The objects for the Schematics policy. Nested scheme for target:
- updated
At String - (String) The policy updation time.
Supporting Types
GetSchematicsPolicyParameter
- Agent
Assignment List<GetPolicy Parameters Schematics Policy Parameter Agent Assignment Policy Parameter> - (List) Parameters for the
agent_assignment_policy
. Nested scheme for agent_assignment_policy_parameter:
- Agent
Assignment []GetPolicy Parameters Schematics Policy Parameter Agent Assignment Policy Parameter - (List) Parameters for the
agent_assignment_policy
. Nested scheme for agent_assignment_policy_parameter:
- agent
Assignment List<GetPolicy Parameters Schematics Policy Parameter Agent Assignment Policy Parameter> - (List) Parameters for the
agent_assignment_policy
. Nested scheme for agent_assignment_policy_parameter:
- agent
Assignment GetPolicy Parameters Schematics Policy Parameter Agent Assignment Policy Parameter[] - (List) Parameters for the
agent_assignment_policy
. Nested scheme for agent_assignment_policy_parameter:
- agent_
assignment_ Sequence[Getpolicy_ parameters Schematics Policy Parameter Agent Assignment Policy Parameter] - (List) Parameters for the
agent_assignment_policy
. Nested scheme for agent_assignment_policy_parameter:
- agent
Assignment List<Property Map>Policy Parameters - (List) Parameters for the
agent_assignment_policy
. Nested scheme for agent_assignment_policy_parameter:
GetSchematicsPolicyParameterAgentAssignmentPolicyParameter
- Selector
Ids List<string> - (List) Static selectors of schematics object ids (agent, workspace, action or blueprint) for the Schematics policy.
- Selector
Kind string - (String) Types of schematics object selector.
- Constraints: Allowable values are:
ids
,scoped
.
- Constraints: Allowable values are:
- Selector
Scopes List<GetSchematics Policy Parameter Agent Assignment Policy Parameter Selector Scope> - (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 []string - (List) Static selectors of schematics object ids (agent, workspace, action or blueprint) for the Schematics policy.
- Selector
Kind string - (String) Types of schematics object selector.
- Constraints: Allowable values are:
ids
,scoped
.
- Constraints: Allowable values are:
- Selector
Scopes []GetSchematics Policy Parameter Agent Assignment Policy Parameter Selector Scope - (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 List<String> - (List) Static selectors of schematics object ids (agent, workspace, action or blueprint) for the Schematics policy.
- selector
Kind String - (String) Types of schematics object selector.
- Constraints: Allowable values are:
ids
,scoped
.
- Constraints: Allowable values are:
- selector
Scopes List<GetSchematics Policy Parameter Agent Assignment Policy Parameter Selector Scope> - (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 string[] - (List) Static selectors of schematics object ids (agent, workspace, action or blueprint) for the Schematics policy.
- selector
Kind string - (String) Types of schematics object selector.
- Constraints: Allowable values are:
ids
,scoped
.
- Constraints: Allowable values are:
- selector
Scopes GetSchematics Policy Parameter Agent Assignment Policy Parameter Selector Scope[] - (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 Sequence[str] - (List) Static selectors of schematics object ids (agent, workspace, action or blueprint) for the Schematics policy.
- selector_
kind str - (String) Types of schematics object selector.
- Constraints: Allowable values are:
ids
,scoped
.
- Constraints: Allowable values are:
- selector_
scopes Sequence[GetSchematics Policy Parameter Agent Assignment Policy Parameter Selector Scope] - (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 List<String> - (List) Static selectors of schematics object ids (agent, workspace, action or blueprint) for the Schematics policy.
- selector
Kind String - (String) Types of schematics object selector.
- Constraints: Allowable values are:
ids
,scoped
.
- Constraints: Allowable values are:
- selector
Scopes 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 string
- (String) Name of the Schematics automation resource.
- Constraints: Allowable values are:
workspace
,action
,system
,environment
,blueprint
.
- Constraints: Allowable values are:
- Locations List<string>
- (List) The location based selector.
- Constraints: Allowable list items are:
us-south
,us-east
,eu-gb
,eu-de
.
- Constraints: Allowable list items are:
- Resource
Groups List<string> - (List) The resource group based selector.
- List<string>
- (List) The tag based selector.
- Kind string
- (String) Name of the Schematics automation resource.
- Constraints: Allowable values are:
workspace
,action
,system
,environment
,blueprint
.
- Constraints: Allowable values are:
- Locations []string
- (List) The location based selector.
- Constraints: Allowable list items are:
us-south
,us-east
,eu-gb
,eu-de
.
- Constraints: Allowable list items are:
- Resource
Groups []string - (List) The resource group based selector.
- []string
- (List) The tag based selector.
- kind String
- (String) Name of the Schematics automation resource.
- Constraints: Allowable values are:
workspace
,action
,system
,environment
,blueprint
.
- Constraints: Allowable values are:
- locations List<String>
- (List) The location based selector.
- Constraints: Allowable list items are:
us-south
,us-east
,eu-gb
,eu-de
.
- Constraints: Allowable list items are:
- resource
Groups List<String> - (List) The resource group based selector.
- List<String>
- (List) The tag based selector.
- kind string
- (String) Name of the Schematics automation resource.
- Constraints: Allowable values are:
workspace
,action
,system
,environment
,blueprint
.
- Constraints: Allowable values are:
- locations string[]
- (List) The location based selector.
- Constraints: Allowable list items are:
us-south
,us-east
,eu-gb
,eu-de
.
- Constraints: Allowable list items are:
- resource
Groups string[] - (List) The resource group based selector.
- string[]
- (List) The tag based selector.
- kind str
- (String) Name of the Schematics automation resource.
- Constraints: Allowable values are:
workspace
,action
,system
,environment
,blueprint
.
- Constraints: Allowable values are:
- locations Sequence[str]
- (List) The location based selector.
- Constraints: Allowable list items are:
us-south
,us-east
,eu-gb
,eu-de
.
- Constraints: Allowable list items are:
- resource_
groups Sequence[str] - (List) The resource group based selector.
- Sequence[str]
- (List) The tag based selector.
- kind String
- (String) Name of the Schematics automation resource.
- Constraints: Allowable values are:
workspace
,action
,system
,environment
,blueprint
.
- Constraints: Allowable values are:
- locations List<String>
- (List) The location based selector.
- Constraints: Allowable list items are:
us-south
,us-east
,eu-gb
,eu-de
.
- Constraints: Allowable list items are:
- resource
Groups List<String> - (List) The resource group based selector.
- List<String>
- (List) The tag based selector.
GetSchematicsPolicyScopedResource
GetSchematicsPolicyState
- Set
At string - (String) When the User who set the state of the Object.
- Set
By string - (String) Name of the User who set the state of the Object.
- State 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
.
- Constraints: Allowable values are:
- Set
At string - (String) When the User who set the state of the Object.
- Set
By string - (String) Name of the User who set the state of the Object.
- State 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
.
- Constraints: Allowable values are:
- set
At String - (String) When the User who set the state of the Object.
- set
By String - (String) Name of the User who set the state of the Object.
- state 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
.
- Constraints: Allowable values are:
- set
At string - (String) When the User who set the state of the Object.
- set
By string - (String) Name of the User who set the state of the Object.
- state 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
.
- Constraints: Allowable values are:
- set_
at str - (String) When the User who set the state of the Object.
- set_
by str - (String) Name of the User who set the state of the Object.
- state 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
.
- Constraints: Allowable values are:
- set
At String - (String) When the User who set the state of the Object.
- set
By String - (String) Name of the User who set the state of the Object.
- state 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
.
- Constraints: Allowable values are:
GetSchematicsPolicyTarget
- Selector
Ids List<string> - (List) Static selectors of schematics object ids (agent, workspace, action or blueprint) for the Schematics policy.
- Selector
Kind string - (String) Types of schematics object selector.
- Constraints: Allowable values are:
ids
,scoped
.
- Constraints: Allowable values are:
- Selector
Scopes List<GetSchematics Policy Target Selector Scope> - (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 []string - (List) Static selectors of schematics object ids (agent, workspace, action or blueprint) for the Schematics policy.
- Selector
Kind string - (String) Types of schematics object selector.
- Constraints: Allowable values are:
ids
,scoped
.
- Constraints: Allowable values are:
- Selector
Scopes []GetSchematics Policy Target Selector Scope - (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 List<String> - (List) Static selectors of schematics object ids (agent, workspace, action or blueprint) for the Schematics policy.
- selector
Kind String - (String) Types of schematics object selector.
- Constraints: Allowable values are:
ids
,scoped
.
- Constraints: Allowable values are:
- selector
Scopes List<GetSchematics Policy Target Selector Scope> - (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 string[] - (List) Static selectors of schematics object ids (agent, workspace, action or blueprint) for the Schematics policy.
- selector
Kind string - (String) Types of schematics object selector.
- Constraints: Allowable values are:
ids
,scoped
.
- Constraints: Allowable values are:
- selector
Scopes GetSchematics Policy Target Selector Scope[] - (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 Sequence[str] - (List) Static selectors of schematics object ids (agent, workspace, action or blueprint) for the Schematics policy.
- selector_
kind str - (String) Types of schematics object selector.
- Constraints: Allowable values are:
ids
,scoped
.
- Constraints: Allowable values are:
- selector_
scopes Sequence[GetSchematics Policy Target Selector Scope] - (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 List<String> - (List) Static selectors of schematics object ids (agent, workspace, action or blueprint) for the Schematics policy.
- selector
Kind String - (String) Types of schematics object selector.
- Constraints: Allowable values are:
ids
,scoped
.
- Constraints: Allowable values are:
- selector
Scopes 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 string
- (String) Name of the Schematics automation resource.
- Constraints: Allowable values are:
workspace
,action
,system
,environment
,blueprint
.
- Constraints: Allowable values are:
- Locations List<string>
- (List) The location based selector.
- Constraints: Allowable list items are:
us-south
,us-east
,eu-gb
,eu-de
.
- Constraints: Allowable list items are:
- Resource
Groups List<string> - (List) The resource group based selector.
- List<string>
- (List) The tag based selector.
- Kind string
- (String) Name of the Schematics automation resource.
- Constraints: Allowable values are:
workspace
,action
,system
,environment
,blueprint
.
- Constraints: Allowable values are:
- Locations []string
- (List) The location based selector.
- Constraints: Allowable list items are:
us-south
,us-east
,eu-gb
,eu-de
.
- Constraints: Allowable list items are:
- Resource
Groups []string - (List) The resource group based selector.
- []string
- (List) The tag based selector.
- kind String
- (String) Name of the Schematics automation resource.
- Constraints: Allowable values are:
workspace
,action
,system
,environment
,blueprint
.
- Constraints: Allowable values are:
- locations List<String>
- (List) The location based selector.
- Constraints: Allowable list items are:
us-south
,us-east
,eu-gb
,eu-de
.
- Constraints: Allowable list items are:
- resource
Groups List<String> - (List) The resource group based selector.
- List<String>
- (List) The tag based selector.
- kind string
- (String) Name of the Schematics automation resource.
- Constraints: Allowable values are:
workspace
,action
,system
,environment
,blueprint
.
- Constraints: Allowable values are:
- locations string[]
- (List) The location based selector.
- Constraints: Allowable list items are:
us-south
,us-east
,eu-gb
,eu-de
.
- Constraints: Allowable list items are:
- resource
Groups string[] - (List) The resource group based selector.
- string[]
- (List) The tag based selector.
- kind str
- (String) Name of the Schematics automation resource.
- Constraints: Allowable values are:
workspace
,action
,system
,environment
,blueprint
.
- Constraints: Allowable values are:
- locations Sequence[str]
- (List) The location based selector.
- Constraints: Allowable list items are:
us-south
,us-east
,eu-gb
,eu-de
.
- Constraints: Allowable list items are:
- resource_
groups Sequence[str] - (List) The resource group based selector.
- Sequence[str]
- (List) The tag based selector.
- kind String
- (String) Name of the Schematics automation resource.
- Constraints: Allowable values are:
workspace
,action
,system
,environment
,blueprint
.
- Constraints: Allowable values are:
- locations List<String>
- (List) The location based selector.
- Constraints: Allowable list items are:
us-south
,us-east
,eu-gb
,eu-de
.
- Constraints: Allowable list items are:
- resource
Groups List<String> - (List) The resource group based selector.
- 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.