ibm.IamAccountSettingsTemplateAssignment
Explore with Pulumi AI
Create IamAccountSettingsTemplateAssignment Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new IamAccountSettingsTemplateAssignment(name: string, args: IamAccountSettingsTemplateAssignmentArgs, opts?: CustomResourceOptions);
@overload
def IamAccountSettingsTemplateAssignment(resource_name: str,
args: IamAccountSettingsTemplateAssignmentArgs,
opts: Optional[ResourceOptions] = None)
@overload
def IamAccountSettingsTemplateAssignment(resource_name: str,
opts: Optional[ResourceOptions] = None,
target: Optional[str] = None,
target_type: Optional[str] = None,
template_id: Optional[str] = None,
template_version: Optional[float] = None,
iam_account_settings_template_assignment_id: Optional[str] = None,
timeouts: Optional[IamAccountSettingsTemplateAssignmentTimeoutsArgs] = None)
func NewIamAccountSettingsTemplateAssignment(ctx *Context, name string, args IamAccountSettingsTemplateAssignmentArgs, opts ...ResourceOption) (*IamAccountSettingsTemplateAssignment, error)
public IamAccountSettingsTemplateAssignment(string name, IamAccountSettingsTemplateAssignmentArgs args, CustomResourceOptions? opts = null)
public IamAccountSettingsTemplateAssignment(String name, IamAccountSettingsTemplateAssignmentArgs args)
public IamAccountSettingsTemplateAssignment(String name, IamAccountSettingsTemplateAssignmentArgs args, CustomResourceOptions options)
type: ibm:IamAccountSettingsTemplateAssignment
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 IamAccountSettingsTemplateAssignmentArgs
- 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 IamAccountSettingsTemplateAssignmentArgs
- 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 IamAccountSettingsTemplateAssignmentArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args IamAccountSettingsTemplateAssignmentArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args IamAccountSettingsTemplateAssignmentArgs
- 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 iamAccountSettingsTemplateAssignmentResource = new Ibm.IamAccountSettingsTemplateAssignment("iamAccountSettingsTemplateAssignmentResource", new()
{
Target = "string",
TargetType = "string",
TemplateId = "string",
TemplateVersion = 0,
IamAccountSettingsTemplateAssignmentId = "string",
Timeouts = new Ibm.Inputs.IamAccountSettingsTemplateAssignmentTimeoutsArgs
{
Create = "string",
Delete = "string",
Update = "string",
},
});
example, err := ibm.NewIamAccountSettingsTemplateAssignment(ctx, "iamAccountSettingsTemplateAssignmentResource", &ibm.IamAccountSettingsTemplateAssignmentArgs{
Target: pulumi.String("string"),
TargetType: pulumi.String("string"),
TemplateId: pulumi.String("string"),
TemplateVersion: pulumi.Float64(0),
IamAccountSettingsTemplateAssignmentId: pulumi.String("string"),
Timeouts: &ibm.IamAccountSettingsTemplateAssignmentTimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
Update: pulumi.String("string"),
},
})
var iamAccountSettingsTemplateAssignmentResource = new IamAccountSettingsTemplateAssignment("iamAccountSettingsTemplateAssignmentResource", IamAccountSettingsTemplateAssignmentArgs.builder()
.target("string")
.targetType("string")
.templateId("string")
.templateVersion(0)
.iamAccountSettingsTemplateAssignmentId("string")
.timeouts(IamAccountSettingsTemplateAssignmentTimeoutsArgs.builder()
.create("string")
.delete("string")
.update("string")
.build())
.build());
iam_account_settings_template_assignment_resource = ibm.IamAccountSettingsTemplateAssignment("iamAccountSettingsTemplateAssignmentResource",
target="string",
target_type="string",
template_id="string",
template_version=0,
iam_account_settings_template_assignment_id="string",
timeouts={
"create": "string",
"delete": "string",
"update": "string",
})
const iamAccountSettingsTemplateAssignmentResource = new ibm.IamAccountSettingsTemplateAssignment("iamAccountSettingsTemplateAssignmentResource", {
target: "string",
targetType: "string",
templateId: "string",
templateVersion: 0,
iamAccountSettingsTemplateAssignmentId: "string",
timeouts: {
create: "string",
"delete": "string",
update: "string",
},
});
type: ibm:IamAccountSettingsTemplateAssignment
properties:
iamAccountSettingsTemplateAssignmentId: string
target: string
targetType: string
templateId: string
templateVersion: 0
timeouts:
create: string
delete: string
update: string
IamAccountSettingsTemplateAssignment 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 IamAccountSettingsTemplateAssignment resource accepts the following input properties:
- Target string
- Assignment target.
- Target
Type string - Assignment target type.
- Template
Id string - Template Id.
- Template
Version double - Template version.
- Iam
Account stringSettings Template Assignment Id - Timeouts
Iam
Account Settings Template Assignment Timeouts
- Target string
- Assignment target.
- Target
Type string - Assignment target type.
- Template
Id string - Template Id.
- Template
Version float64 - Template version.
- Iam
Account stringSettings Template Assignment Id - Timeouts
Iam
Account Settings Template Assignment Timeouts Args
- target String
- Assignment target.
- target
Type String - Assignment target type.
- template
Id String - Template Id.
- template
Version Double - Template version.
- iam
Account StringSettings Template Assignment Id - timeouts
Iam
Account Settings Template Assignment Timeouts
- target string
- Assignment target.
- target
Type string - Assignment target type.
- template
Id string - Template Id.
- template
Version number - Template version.
- iam
Account stringSettings Template Assignment Id - timeouts
Iam
Account Settings Template Assignment Timeouts
- target str
- Assignment target.
- target_
type str - Assignment target type.
- template_
id str - Template Id.
- template_
version float - Template version.
- iam_
account_ strsettings_ template_ assignment_ id - timeouts
Iam
Account Settings Template Assignment Timeouts Args
- target String
- Assignment target.
- target
Type String - Assignment target type.
- template
Id String - Template Id.
- template
Version Number - Template version.
- iam
Account StringSettings Template Assignment Id - timeouts Property Map
Outputs
All input properties are implicitly available as output properties. Additionally, the IamAccountSettingsTemplateAssignment resource produces the following output properties:
- Account
Id string - Enterprise account Id.
- Contexts
List<Iam
Account Settings Template Assignment Context> - Context with key properties for problem determination.
- Created
At string - Assignment created at.
- Created
By stringId - IAMid of the identity that created the assignment.
- Entity
Tag string - Entity tag for this assignment record.
- Histories
List<Iam
Account Settings Template Assignment History> - Assignment history.
- Href string
- Href.
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Modified stringAt - Assignment modified at.
- Last
Modified stringBy Id - IAMid of the identity that last modified the assignment.
- Resources
List<Iam
Account Settings Template Assignment Resource> - Status breakdown per target account of IAM resources created or errors encountered in attempting to create those IAM resources. IAM resources are only included in the response providing the assignment is not in progress. IAM resources are also only included when getting a single assignment, and excluded by list APIs.
- Status string
- Assignment status.
- Account
Id string - Enterprise account Id.
- Contexts
[]Iam
Account Settings Template Assignment Context - Context with key properties for problem determination.
- Created
At string - Assignment created at.
- Created
By stringId - IAMid of the identity that created the assignment.
- Entity
Tag string - Entity tag for this assignment record.
- Histories
[]Iam
Account Settings Template Assignment History - Assignment history.
- Href string
- Href.
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Modified stringAt - Assignment modified at.
- Last
Modified stringBy Id - IAMid of the identity that last modified the assignment.
- Resources
[]Iam
Account Settings Template Assignment Resource - Status breakdown per target account of IAM resources created or errors encountered in attempting to create those IAM resources. IAM resources are only included in the response providing the assignment is not in progress. IAM resources are also only included when getting a single assignment, and excluded by list APIs.
- Status string
- Assignment status.
- account
Id String - Enterprise account Id.
- contexts
List<Iam
Account Settings Template Assignment Context> - Context with key properties for problem determination.
- created
At String - Assignment created at.
- created
By StringId - IAMid of the identity that created the assignment.
- entity
Tag String - Entity tag for this assignment record.
- histories
List<Iam
Account Settings Template Assignment History> - Assignment history.
- href String
- Href.
- id String
- The provider-assigned unique ID for this managed resource.
- last
Modified StringAt - Assignment modified at.
- last
Modified StringBy Id - IAMid of the identity that last modified the assignment.
- resources
List<Iam
Account Settings Template Assignment Resource> - Status breakdown per target account of IAM resources created or errors encountered in attempting to create those IAM resources. IAM resources are only included in the response providing the assignment is not in progress. IAM resources are also only included when getting a single assignment, and excluded by list APIs.
- status String
- Assignment status.
- account
Id string - Enterprise account Id.
- contexts
Iam
Account Settings Template Assignment Context[] - Context with key properties for problem determination.
- created
At string - Assignment created at.
- created
By stringId - IAMid of the identity that created the assignment.
- entity
Tag string - Entity tag for this assignment record.
- histories
Iam
Account Settings Template Assignment History[] - Assignment history.
- href string
- Href.
- id string
- The provider-assigned unique ID for this managed resource.
- last
Modified stringAt - Assignment modified at.
- last
Modified stringBy Id - IAMid of the identity that last modified the assignment.
- resources
Iam
Account Settings Template Assignment Resource[] - Status breakdown per target account of IAM resources created or errors encountered in attempting to create those IAM resources. IAM resources are only included in the response providing the assignment is not in progress. IAM resources are also only included when getting a single assignment, and excluded by list APIs.
- status string
- Assignment status.
- account_
id str - Enterprise account Id.
- contexts
Sequence[Iam
Account Settings Template Assignment Context] - Context with key properties for problem determination.
- created_
at str - Assignment created at.
- created_
by_ strid - IAMid of the identity that created the assignment.
- entity_
tag str - Entity tag for this assignment record.
- histories
Sequence[Iam
Account Settings Template Assignment History] - Assignment history.
- href str
- Href.
- id str
- The provider-assigned unique ID for this managed resource.
- last_
modified_ strat - Assignment modified at.
- last_
modified_ strby_ id - IAMid of the identity that last modified the assignment.
- resources
Sequence[Iam
Account Settings Template Assignment Resource] - Status breakdown per target account of IAM resources created or errors encountered in attempting to create those IAM resources. IAM resources are only included in the response providing the assignment is not in progress. IAM resources are also only included when getting a single assignment, and excluded by list APIs.
- status str
- Assignment status.
- account
Id String - Enterprise account Id.
- contexts List<Property Map>
- Context with key properties for problem determination.
- created
At String - Assignment created at.
- created
By StringId - IAMid of the identity that created the assignment.
- entity
Tag String - Entity tag for this assignment record.
- histories List<Property Map>
- Assignment history.
- href String
- Href.
- id String
- The provider-assigned unique ID for this managed resource.
- last
Modified StringAt - Assignment modified at.
- last
Modified StringBy Id - IAMid of the identity that last modified the assignment.
- resources List<Property Map>
- Status breakdown per target account of IAM resources created or errors encountered in attempting to create those IAM resources. IAM resources are only included in the response providing the assignment is not in progress. IAM resources are also only included when getting a single assignment, and excluded by list APIs.
- status String
- Assignment status.
Look up Existing IamAccountSettingsTemplateAssignment Resource
Get an existing IamAccountSettingsTemplateAssignment 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?: IamAccountSettingsTemplateAssignmentState, opts?: CustomResourceOptions): IamAccountSettingsTemplateAssignment
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
account_id: Optional[str] = None,
contexts: Optional[Sequence[IamAccountSettingsTemplateAssignmentContextArgs]] = None,
created_at: Optional[str] = None,
created_by_id: Optional[str] = None,
entity_tag: Optional[str] = None,
histories: Optional[Sequence[IamAccountSettingsTemplateAssignmentHistoryArgs]] = None,
href: Optional[str] = None,
iam_account_settings_template_assignment_id: Optional[str] = None,
last_modified_at: Optional[str] = None,
last_modified_by_id: Optional[str] = None,
resources: Optional[Sequence[IamAccountSettingsTemplateAssignmentResourceArgs]] = None,
status: Optional[str] = None,
target: Optional[str] = None,
target_type: Optional[str] = None,
template_id: Optional[str] = None,
template_version: Optional[float] = None,
timeouts: Optional[IamAccountSettingsTemplateAssignmentTimeoutsArgs] = None) -> IamAccountSettingsTemplateAssignment
func GetIamAccountSettingsTemplateAssignment(ctx *Context, name string, id IDInput, state *IamAccountSettingsTemplateAssignmentState, opts ...ResourceOption) (*IamAccountSettingsTemplateAssignment, error)
public static IamAccountSettingsTemplateAssignment Get(string name, Input<string> id, IamAccountSettingsTemplateAssignmentState? state, CustomResourceOptions? opts = null)
public static IamAccountSettingsTemplateAssignment get(String name, Output<String> id, IamAccountSettingsTemplateAssignmentState state, CustomResourceOptions options)
resources: _: type: ibm:IamAccountSettingsTemplateAssignment 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.
- Account
Id string - Enterprise account Id.
- Contexts
List<Iam
Account Settings Template Assignment Context> - Context with key properties for problem determination.
- Created
At string - Assignment created at.
- Created
By stringId - IAMid of the identity that created the assignment.
- Entity
Tag string - Entity tag for this assignment record.
- Histories
List<Iam
Account Settings Template Assignment History> - Assignment history.
- Href string
- Href.
- Iam
Account stringSettings Template Assignment Id - Last
Modified stringAt - Assignment modified at.
- Last
Modified stringBy Id - IAMid of the identity that last modified the assignment.
- Resources
List<Iam
Account Settings Template Assignment Resource> - Status breakdown per target account of IAM resources created or errors encountered in attempting to create those IAM resources. IAM resources are only included in the response providing the assignment is not in progress. IAM resources are also only included when getting a single assignment, and excluded by list APIs.
- Status string
- Assignment status.
- Target string
- Assignment target.
- Target
Type string - Assignment target type.
- Template
Id string - Template Id.
- Template
Version double - Template version.
- Timeouts
Iam
Account Settings Template Assignment Timeouts
- Account
Id string - Enterprise account Id.
- Contexts
[]Iam
Account Settings Template Assignment Context Args - Context with key properties for problem determination.
- Created
At string - Assignment created at.
- Created
By stringId - IAMid of the identity that created the assignment.
- Entity
Tag string - Entity tag for this assignment record.
- Histories
[]Iam
Account Settings Template Assignment History Args - Assignment history.
- Href string
- Href.
- Iam
Account stringSettings Template Assignment Id - Last
Modified stringAt - Assignment modified at.
- Last
Modified stringBy Id - IAMid of the identity that last modified the assignment.
- Resources
[]Iam
Account Settings Template Assignment Resource Args - Status breakdown per target account of IAM resources created or errors encountered in attempting to create those IAM resources. IAM resources are only included in the response providing the assignment is not in progress. IAM resources are also only included when getting a single assignment, and excluded by list APIs.
- Status string
- Assignment status.
- Target string
- Assignment target.
- Target
Type string - Assignment target type.
- Template
Id string - Template Id.
- Template
Version float64 - Template version.
- Timeouts
Iam
Account Settings Template Assignment Timeouts Args
- account
Id String - Enterprise account Id.
- contexts
List<Iam
Account Settings Template Assignment Context> - Context with key properties for problem determination.
- created
At String - Assignment created at.
- created
By StringId - IAMid of the identity that created the assignment.
- entity
Tag String - Entity tag for this assignment record.
- histories
List<Iam
Account Settings Template Assignment History> - Assignment history.
- href String
- Href.
- iam
Account StringSettings Template Assignment Id - last
Modified StringAt - Assignment modified at.
- last
Modified StringBy Id - IAMid of the identity that last modified the assignment.
- resources
List<Iam
Account Settings Template Assignment Resource> - Status breakdown per target account of IAM resources created or errors encountered in attempting to create those IAM resources. IAM resources are only included in the response providing the assignment is not in progress. IAM resources are also only included when getting a single assignment, and excluded by list APIs.
- status String
- Assignment status.
- target String
- Assignment target.
- target
Type String - Assignment target type.
- template
Id String - Template Id.
- template
Version Double - Template version.
- timeouts
Iam
Account Settings Template Assignment Timeouts
- account
Id string - Enterprise account Id.
- contexts
Iam
Account Settings Template Assignment Context[] - Context with key properties for problem determination.
- created
At string - Assignment created at.
- created
By stringId - IAMid of the identity that created the assignment.
- entity
Tag string - Entity tag for this assignment record.
- histories
Iam
Account Settings Template Assignment History[] - Assignment history.
- href string
- Href.
- iam
Account stringSettings Template Assignment Id - last
Modified stringAt - Assignment modified at.
- last
Modified stringBy Id - IAMid of the identity that last modified the assignment.
- resources
Iam
Account Settings Template Assignment Resource[] - Status breakdown per target account of IAM resources created or errors encountered in attempting to create those IAM resources. IAM resources are only included in the response providing the assignment is not in progress. IAM resources are also only included when getting a single assignment, and excluded by list APIs.
- status string
- Assignment status.
- target string
- Assignment target.
- target
Type string - Assignment target type.
- template
Id string - Template Id.
- template
Version number - Template version.
- timeouts
Iam
Account Settings Template Assignment Timeouts
- account_
id str - Enterprise account Id.
- contexts
Sequence[Iam
Account Settings Template Assignment Context Args] - Context with key properties for problem determination.
- created_
at str - Assignment created at.
- created_
by_ strid - IAMid of the identity that created the assignment.
- entity_
tag str - Entity tag for this assignment record.
- histories
Sequence[Iam
Account Settings Template Assignment History Args] - Assignment history.
- href str
- Href.
- iam_
account_ strsettings_ template_ assignment_ id - last_
modified_ strat - Assignment modified at.
- last_
modified_ strby_ id - IAMid of the identity that last modified the assignment.
- resources
Sequence[Iam
Account Settings Template Assignment Resource Args] - Status breakdown per target account of IAM resources created or errors encountered in attempting to create those IAM resources. IAM resources are only included in the response providing the assignment is not in progress. IAM resources are also only included when getting a single assignment, and excluded by list APIs.
- status str
- Assignment status.
- target str
- Assignment target.
- target_
type str - Assignment target type.
- template_
id str - Template Id.
- template_
version float - Template version.
- timeouts
Iam
Account Settings Template Assignment Timeouts Args
- account
Id String - Enterprise account Id.
- contexts List<Property Map>
- Context with key properties for problem determination.
- created
At String - Assignment created at.
- created
By StringId - IAMid of the identity that created the assignment.
- entity
Tag String - Entity tag for this assignment record.
- histories List<Property Map>
- Assignment history.
- href String
- Href.
- iam
Account StringSettings Template Assignment Id - last
Modified StringAt - Assignment modified at.
- last
Modified StringBy Id - IAMid of the identity that last modified the assignment.
- resources List<Property Map>
- Status breakdown per target account of IAM resources created or errors encountered in attempting to create those IAM resources. IAM resources are only included in the response providing the assignment is not in progress. IAM resources are also only included when getting a single assignment, and excluded by list APIs.
- status String
- Assignment status.
- target String
- Assignment target.
- target
Type String - Assignment target type.
- template
Id String - Template Id.
- template
Version Number - Template version.
- timeouts Property Map
Supporting Types
IamAccountSettingsTemplateAssignmentContext, IamAccountSettingsTemplateAssignmentContextArgs
- Cluster
Name string - Elapsed
Time string - End
Time string - Host string
- Instance
Id string - Operation string
- Start
Time string - Thread
Id string - Transaction
Id string - Url string
- User
Agent string
- Cluster
Name string - Elapsed
Time string - End
Time string - Host string
- Instance
Id string - Operation string
- Start
Time string - Thread
Id string - Transaction
Id string - Url string
- User
Agent string
- cluster
Name String - elapsed
Time String - end
Time String - host String
- instance
Id String - operation String
- start
Time String - thread
Id String - transaction
Id String - url String
- user
Agent String
- cluster
Name string - elapsed
Time string - end
Time string - host string
- instance
Id string - operation string
- start
Time string - thread
Id string - transaction
Id string - url string
- user
Agent string
- cluster_
name str - elapsed_
time str - end_
time str - host str
- instance_
id str - operation str
- start_
time str - thread_
id str - transaction_
id str - url str
- user_
agent str
- cluster
Name String - elapsed
Time String - end
Time String - host String
- instance
Id String - operation String
- start
Time String - thread
Id String - transaction
Id String - url String
- user
Agent String
IamAccountSettingsTemplateAssignmentHistory, IamAccountSettingsTemplateAssignmentHistoryArgs
IamAccountSettingsTemplateAssignmentResource, IamAccountSettingsTemplateAssignmentResourceArgs
IamAccountSettingsTemplateAssignmentResourceAccountSetting, IamAccountSettingsTemplateAssignmentResourceAccountSettingArgs
IamAccountSettingsTemplateAssignmentResourceAccountSettingErrorMessage, IamAccountSettingsTemplateAssignmentResourceAccountSettingErrorMessageArgs
- Error
Code string - Message string
- Name string
- Status
Code string
- Error
Code string - Message string
- Name string
- Status
Code string
- error
Code String - message String
- name String
- status
Code String
- error
Code string - message string
- name string
- status
Code string
- error_
code str - message str
- name str
- status_
code str
- error
Code String - message String
- name String
- status
Code String
IamAccountSettingsTemplateAssignmentResourceAccountSettingResourceCreated, IamAccountSettingsTemplateAssignmentResourceAccountSettingResourceCreatedArgs
- Id string
- Id string
- id String
- id string
- id str
- id String
IamAccountSettingsTemplateAssignmentTimeouts, IamAccountSettingsTemplateAssignmentTimeoutsArgs
Package Details
- Repository
- ibm ibm-cloud/terraform-provider-ibm
- License
- Notes
- This Pulumi package is based on the
ibm
Terraform Provider.