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

ibm.IamAccessGroupTemplateAssignment

Explore with Pulumi AI

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

    Create, update, and delete iam_access_group_template_assignments with this resource.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as ibm from "@pulumi/ibm";
    
    const iamAccessGroupTemplateAssignmentInstance = new ibm.IamAccessGroupTemplateAssignment("iamAccessGroupTemplateAssignmentInstance", {
        target: "0a45594d0f-123",
        targetType: "AccountGroup",
        templateId: "AccessGroupTemplateId-4be4",
        templateVersion: "1",
    });
    
    import pulumi
    import pulumi_ibm as ibm
    
    iam_access_group_template_assignment_instance = ibm.IamAccessGroupTemplateAssignment("iamAccessGroupTemplateAssignmentInstance",
        target="0a45594d0f-123",
        target_type="AccountGroup",
        template_id="AccessGroupTemplateId-4be4",
        template_version="1")
    
    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.NewIamAccessGroupTemplateAssignment(ctx, "iamAccessGroupTemplateAssignmentInstance", &ibm.IamAccessGroupTemplateAssignmentArgs{
    			Target:          pulumi.String("0a45594d0f-123"),
    			TargetType:      pulumi.String("AccountGroup"),
    			TemplateId:      pulumi.String("AccessGroupTemplateId-4be4"),
    			TemplateVersion: pulumi.String("1"),
    		})
    		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 iamAccessGroupTemplateAssignmentInstance = new Ibm.IamAccessGroupTemplateAssignment("iamAccessGroupTemplateAssignmentInstance", new()
        {
            Target = "0a45594d0f-123",
            TargetType = "AccountGroup",
            TemplateId = "AccessGroupTemplateId-4be4",
            TemplateVersion = "1",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.ibm.IamAccessGroupTemplateAssignment;
    import com.pulumi.ibm.IamAccessGroupTemplateAssignmentArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var iamAccessGroupTemplateAssignmentInstance = new IamAccessGroupTemplateAssignment("iamAccessGroupTemplateAssignmentInstance", IamAccessGroupTemplateAssignmentArgs.builder()
                .target("0a45594d0f-123")
                .targetType("AccountGroup")
                .templateId("AccessGroupTemplateId-4be4")
                .templateVersion("1")
                .build());
    
        }
    }
    
    resources:
      iamAccessGroupTemplateAssignmentInstance:
        type: ibm:IamAccessGroupTemplateAssignment
        properties:
          target: 0a45594d0f-123
          targetType: AccountGroup
          templateId: AccessGroupTemplateId-4be4
          templateVersion: '1'
    

    Create IamAccessGroupTemplateAssignment Resource

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

    Constructor syntax

    new IamAccessGroupTemplateAssignment(name: string, args: IamAccessGroupTemplateAssignmentArgs, opts?: CustomResourceOptions);
    @overload
    def IamAccessGroupTemplateAssignment(resource_name: str,
                                         args: IamAccessGroupTemplateAssignmentArgs,
                                         opts: Optional[ResourceOptions] = None)
    
    @overload
    def IamAccessGroupTemplateAssignment(resource_name: str,
                                         opts: Optional[ResourceOptions] = None,
                                         target: Optional[str] = None,
                                         target_type: Optional[str] = None,
                                         template_id: Optional[str] = None,
                                         template_version: Optional[str] = None,
                                         iam_access_group_template_assignment_id: Optional[str] = None,
                                         timeouts: Optional[IamAccessGroupTemplateAssignmentTimeoutsArgs] = None,
                                         transaction_id: Optional[str] = None)
    func NewIamAccessGroupTemplateAssignment(ctx *Context, name string, args IamAccessGroupTemplateAssignmentArgs, opts ...ResourceOption) (*IamAccessGroupTemplateAssignment, error)
    public IamAccessGroupTemplateAssignment(string name, IamAccessGroupTemplateAssignmentArgs args, CustomResourceOptions? opts = null)
    public IamAccessGroupTemplateAssignment(String name, IamAccessGroupTemplateAssignmentArgs args)
    public IamAccessGroupTemplateAssignment(String name, IamAccessGroupTemplateAssignmentArgs args, CustomResourceOptions options)
    
    type: ibm:IamAccessGroupTemplateAssignment
    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 IamAccessGroupTemplateAssignmentArgs
    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 IamAccessGroupTemplateAssignmentArgs
    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 IamAccessGroupTemplateAssignmentArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args IamAccessGroupTemplateAssignmentArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args IamAccessGroupTemplateAssignmentArgs
    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 iamAccessGroupTemplateAssignmentResource = new Ibm.IamAccessGroupTemplateAssignment("iamAccessGroupTemplateAssignmentResource", new()
    {
        Target = "string",
        TargetType = "string",
        TemplateId = "string",
        TemplateVersion = "string",
        IamAccessGroupTemplateAssignmentId = "string",
        Timeouts = new Ibm.Inputs.IamAccessGroupTemplateAssignmentTimeoutsArgs
        {
            Create = "string",
            Delete = "string",
            Update = "string",
        },
        TransactionId = "string",
    });
    
    example, err := ibm.NewIamAccessGroupTemplateAssignment(ctx, "iamAccessGroupTemplateAssignmentResource", &ibm.IamAccessGroupTemplateAssignmentArgs{
    	Target:                             pulumi.String("string"),
    	TargetType:                         pulumi.String("string"),
    	TemplateId:                         pulumi.String("string"),
    	TemplateVersion:                    pulumi.String("string"),
    	IamAccessGroupTemplateAssignmentId: pulumi.String("string"),
    	Timeouts: &ibm.IamAccessGroupTemplateAssignmentTimeoutsArgs{
    		Create: pulumi.String("string"),
    		Delete: pulumi.String("string"),
    		Update: pulumi.String("string"),
    	},
    	TransactionId: pulumi.String("string"),
    })
    
    var iamAccessGroupTemplateAssignmentResource = new IamAccessGroupTemplateAssignment("iamAccessGroupTemplateAssignmentResource", IamAccessGroupTemplateAssignmentArgs.builder()
        .target("string")
        .targetType("string")
        .templateId("string")
        .templateVersion("string")
        .iamAccessGroupTemplateAssignmentId("string")
        .timeouts(IamAccessGroupTemplateAssignmentTimeoutsArgs.builder()
            .create("string")
            .delete("string")
            .update("string")
            .build())
        .transactionId("string")
        .build());
    
    iam_access_group_template_assignment_resource = ibm.IamAccessGroupTemplateAssignment("iamAccessGroupTemplateAssignmentResource",
        target="string",
        target_type="string",
        template_id="string",
        template_version="string",
        iam_access_group_template_assignment_id="string",
        timeouts={
            "create": "string",
            "delete": "string",
            "update": "string",
        },
        transaction_id="string")
    
    const iamAccessGroupTemplateAssignmentResource = new ibm.IamAccessGroupTemplateAssignment("iamAccessGroupTemplateAssignmentResource", {
        target: "string",
        targetType: "string",
        templateId: "string",
        templateVersion: "string",
        iamAccessGroupTemplateAssignmentId: "string",
        timeouts: {
            create: "string",
            "delete": "string",
            update: "string",
        },
        transactionId: "string",
    });
    
    type: ibm:IamAccessGroupTemplateAssignment
    properties:
        iamAccessGroupTemplateAssignmentId: string
        target: string
        targetType: string
        templateId: string
        templateVersion: string
        timeouts:
            create: string
            delete: string
            update: string
        transactionId: string
    

    IamAccessGroupTemplateAssignment 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 IamAccessGroupTemplateAssignment resource accepts the following input properties:

    Target string
    The ID of the entity that the assignment applies to.
    TargetType string
    The type of the entity that the assignment applies to.

    • Constraints: Allowable values are: Account, AccountGroup.
    TemplateId string
    The ID of the template that the assignment is based on.
    TemplateVersion string
    The version of the template that the assignment is based on.
    IamAccessGroupTemplateAssignmentId string
    The unique identifier of the iam_access_group_template_assignment.
    Timeouts IamAccessGroupTemplateAssignmentTimeouts
    TransactionId string
    An optional transaction id for the request.

    • Constraints: The maximum length is 50 characters. The minimum length is 1 character. The value must match regular expression /^[a-zA-Z0-9_-]+$/.
    Target string
    The ID of the entity that the assignment applies to.
    TargetType string
    The type of the entity that the assignment applies to.

    • Constraints: Allowable values are: Account, AccountGroup.
    TemplateId string
    The ID of the template that the assignment is based on.
    TemplateVersion string
    The version of the template that the assignment is based on.
    IamAccessGroupTemplateAssignmentId string
    The unique identifier of the iam_access_group_template_assignment.
    Timeouts IamAccessGroupTemplateAssignmentTimeoutsArgs
    TransactionId string
    An optional transaction id for the request.

    • Constraints: The maximum length is 50 characters. The minimum length is 1 character. The value must match regular expression /^[a-zA-Z0-9_-]+$/.
    target String
    The ID of the entity that the assignment applies to.
    targetType String
    The type of the entity that the assignment applies to.

    • Constraints: Allowable values are: Account, AccountGroup.
    templateId String
    The ID of the template that the assignment is based on.
    templateVersion String
    The version of the template that the assignment is based on.
    iamAccessGroupTemplateAssignmentId String
    The unique identifier of the iam_access_group_template_assignment.
    timeouts IamAccessGroupTemplateAssignmentTimeouts
    transactionId String
    An optional transaction id for the request.

    • Constraints: The maximum length is 50 characters. The minimum length is 1 character. The value must match regular expression /^[a-zA-Z0-9_-]+$/.
    target string
    The ID of the entity that the assignment applies to.
    targetType string
    The type of the entity that the assignment applies to.

    • Constraints: Allowable values are: Account, AccountGroup.
    templateId string
    The ID of the template that the assignment is based on.
    templateVersion string
    The version of the template that the assignment is based on.
    iamAccessGroupTemplateAssignmentId string
    The unique identifier of the iam_access_group_template_assignment.
    timeouts IamAccessGroupTemplateAssignmentTimeouts
    transactionId string
    An optional transaction id for the request.

    • Constraints: The maximum length is 50 characters. The minimum length is 1 character. The value must match regular expression /^[a-zA-Z0-9_-]+$/.
    target str
    The ID of the entity that the assignment applies to.
    target_type str
    The type of the entity that the assignment applies to.

    • Constraints: Allowable values are: Account, AccountGroup.
    template_id str
    The ID of the template that the assignment is based on.
    template_version str
    The version of the template that the assignment is based on.
    iam_access_group_template_assignment_id str
    The unique identifier of the iam_access_group_template_assignment.
    timeouts IamAccessGroupTemplateAssignmentTimeoutsArgs
    transaction_id str
    An optional transaction id for the request.

    • Constraints: The maximum length is 50 characters. The minimum length is 1 character. The value must match regular expression /^[a-zA-Z0-9_-]+$/.
    target String
    The ID of the entity that the assignment applies to.
    targetType String
    The type of the entity that the assignment applies to.

    • Constraints: Allowable values are: Account, AccountGroup.
    templateId String
    The ID of the template that the assignment is based on.
    templateVersion String
    The version of the template that the assignment is based on.
    iamAccessGroupTemplateAssignmentId String
    The unique identifier of the iam_access_group_template_assignment.
    timeouts Property Map
    transactionId String
    An optional transaction id for the request.

    • Constraints: The maximum length is 50 characters. The minimum length is 1 character. The value must match regular expression /^[a-zA-Z0-9_-]+$/.

    Outputs

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

    AccountId string
    (String) Enterprise account id.
    CreatedAt string
    (String) The date and time when the assignment was created.
    CreatedById string
    (String) The user or system that created the assignment.
    Etag string
    ETag identifier for iam_access_group_template_assignment.
    Href string
    (String) The URL of the assignment resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    LastModifiedAt string
    (String) The date and time when the assignment was last updated.
    LastModifiedById string
    (String) The user or system that last updated the assignment.
    Operation string
    (String) The operation that the assignment applies to (e.g. 'assign', 'update', 'remove').
    Status string
    (String) The status of the assignment (e.g. 'accepted', 'in_progress', 'succeeded', 'failed', 'superseded').
    AccountId string
    (String) Enterprise account id.
    CreatedAt string
    (String) The date and time when the assignment was created.
    CreatedById string
    (String) The user or system that created the assignment.
    Etag string
    ETag identifier for iam_access_group_template_assignment.
    Href string
    (String) The URL of the assignment resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    LastModifiedAt string
    (String) The date and time when the assignment was last updated.
    LastModifiedById string
    (String) The user or system that last updated the assignment.
    Operation string
    (String) The operation that the assignment applies to (e.g. 'assign', 'update', 'remove').
    Status string
    (String) The status of the assignment (e.g. 'accepted', 'in_progress', 'succeeded', 'failed', 'superseded').
    accountId String
    (String) Enterprise account id.
    createdAt String
    (String) The date and time when the assignment was created.
    createdById String
    (String) The user or system that created the assignment.
    etag String
    ETag identifier for iam_access_group_template_assignment.
    href String
    (String) The URL of the assignment resource.
    id String
    The provider-assigned unique ID for this managed resource.
    lastModifiedAt String
    (String) The date and time when the assignment was last updated.
    lastModifiedById String
    (String) The user or system that last updated the assignment.
    operation String
    (String) The operation that the assignment applies to (e.g. 'assign', 'update', 'remove').
    status String
    (String) The status of the assignment (e.g. 'accepted', 'in_progress', 'succeeded', 'failed', 'superseded').
    accountId string
    (String) Enterprise account id.
    createdAt string
    (String) The date and time when the assignment was created.
    createdById string
    (String) The user or system that created the assignment.
    etag string
    ETag identifier for iam_access_group_template_assignment.
    href string
    (String) The URL of the assignment resource.
    id string
    The provider-assigned unique ID for this managed resource.
    lastModifiedAt string
    (String) The date and time when the assignment was last updated.
    lastModifiedById string
    (String) The user or system that last updated the assignment.
    operation string
    (String) The operation that the assignment applies to (e.g. 'assign', 'update', 'remove').
    status string
    (String) The status of the assignment (e.g. 'accepted', 'in_progress', 'succeeded', 'failed', 'superseded').
    account_id str
    (String) Enterprise account id.
    created_at str
    (String) The date and time when the assignment was created.
    created_by_id str
    (String) The user or system that created the assignment.
    etag str
    ETag identifier for iam_access_group_template_assignment.
    href str
    (String) The URL of the assignment resource.
    id str
    The provider-assigned unique ID for this managed resource.
    last_modified_at str
    (String) The date and time when the assignment was last updated.
    last_modified_by_id str
    (String) The user or system that last updated the assignment.
    operation str
    (String) The operation that the assignment applies to (e.g. 'assign', 'update', 'remove').
    status str
    (String) The status of the assignment (e.g. 'accepted', 'in_progress', 'succeeded', 'failed', 'superseded').
    accountId String
    (String) Enterprise account id.
    createdAt String
    (String) The date and time when the assignment was created.
    createdById String
    (String) The user or system that created the assignment.
    etag String
    ETag identifier for iam_access_group_template_assignment.
    href String
    (String) The URL of the assignment resource.
    id String
    The provider-assigned unique ID for this managed resource.
    lastModifiedAt String
    (String) The date and time when the assignment was last updated.
    lastModifiedById String
    (String) The user or system that last updated the assignment.
    operation String
    (String) The operation that the assignment applies to (e.g. 'assign', 'update', 'remove').
    status String
    (String) The status of the assignment (e.g. 'accepted', 'in_progress', 'succeeded', 'failed', 'superseded').

    Look up Existing IamAccessGroupTemplateAssignment Resource

    Get an existing IamAccessGroupTemplateAssignment 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?: IamAccessGroupTemplateAssignmentState, opts?: CustomResourceOptions): IamAccessGroupTemplateAssignment
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            account_id: Optional[str] = None,
            created_at: Optional[str] = None,
            created_by_id: Optional[str] = None,
            etag: Optional[str] = None,
            href: Optional[str] = None,
            iam_access_group_template_assignment_id: Optional[str] = None,
            last_modified_at: Optional[str] = None,
            last_modified_by_id: Optional[str] = None,
            operation: Optional[str] = None,
            status: Optional[str] = None,
            target: Optional[str] = None,
            target_type: Optional[str] = None,
            template_id: Optional[str] = None,
            template_version: Optional[str] = None,
            timeouts: Optional[IamAccessGroupTemplateAssignmentTimeoutsArgs] = None,
            transaction_id: Optional[str] = None) -> IamAccessGroupTemplateAssignment
    func GetIamAccessGroupTemplateAssignment(ctx *Context, name string, id IDInput, state *IamAccessGroupTemplateAssignmentState, opts ...ResourceOption) (*IamAccessGroupTemplateAssignment, error)
    public static IamAccessGroupTemplateAssignment Get(string name, Input<string> id, IamAccessGroupTemplateAssignmentState? state, CustomResourceOptions? opts = null)
    public static IamAccessGroupTemplateAssignment get(String name, Output<String> id, IamAccessGroupTemplateAssignmentState state, CustomResourceOptions options)
    resources:  _:    type: ibm:IamAccessGroupTemplateAssignment    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AccountId string
    (String) Enterprise account id.
    CreatedAt string
    (String) The date and time when the assignment was created.
    CreatedById string
    (String) The user or system that created the assignment.
    Etag string
    ETag identifier for iam_access_group_template_assignment.
    Href string
    (String) The URL of the assignment resource.
    IamAccessGroupTemplateAssignmentId string
    The unique identifier of the iam_access_group_template_assignment.
    LastModifiedAt string
    (String) The date and time when the assignment was last updated.
    LastModifiedById string
    (String) The user or system that last updated the assignment.
    Operation string
    (String) The operation that the assignment applies to (e.g. 'assign', 'update', 'remove').
    Status string
    (String) The status of the assignment (e.g. 'accepted', 'in_progress', 'succeeded', 'failed', 'superseded').
    Target string
    The ID of the entity that the assignment applies to.
    TargetType string
    The type of the entity that the assignment applies to.

    • Constraints: Allowable values are: Account, AccountGroup.
    TemplateId string
    The ID of the template that the assignment is based on.
    TemplateVersion string
    The version of the template that the assignment is based on.
    Timeouts IamAccessGroupTemplateAssignmentTimeouts
    TransactionId string
    An optional transaction id for the request.

    • Constraints: The maximum length is 50 characters. The minimum length is 1 character. The value must match regular expression /^[a-zA-Z0-9_-]+$/.
    AccountId string
    (String) Enterprise account id.
    CreatedAt string
    (String) The date and time when the assignment was created.
    CreatedById string
    (String) The user or system that created the assignment.
    Etag string
    ETag identifier for iam_access_group_template_assignment.
    Href string
    (String) The URL of the assignment resource.
    IamAccessGroupTemplateAssignmentId string
    The unique identifier of the iam_access_group_template_assignment.
    LastModifiedAt string
    (String) The date and time when the assignment was last updated.
    LastModifiedById string
    (String) The user or system that last updated the assignment.
    Operation string
    (String) The operation that the assignment applies to (e.g. 'assign', 'update', 'remove').
    Status string
    (String) The status of the assignment (e.g. 'accepted', 'in_progress', 'succeeded', 'failed', 'superseded').
    Target string
    The ID of the entity that the assignment applies to.
    TargetType string
    The type of the entity that the assignment applies to.

    • Constraints: Allowable values are: Account, AccountGroup.
    TemplateId string
    The ID of the template that the assignment is based on.
    TemplateVersion string
    The version of the template that the assignment is based on.
    Timeouts IamAccessGroupTemplateAssignmentTimeoutsArgs
    TransactionId string
    An optional transaction id for the request.

    • Constraints: The maximum length is 50 characters. The minimum length is 1 character. The value must match regular expression /^[a-zA-Z0-9_-]+$/.
    accountId String
    (String) Enterprise account id.
    createdAt String
    (String) The date and time when the assignment was created.
    createdById String
    (String) The user or system that created the assignment.
    etag String
    ETag identifier for iam_access_group_template_assignment.
    href String
    (String) The URL of the assignment resource.
    iamAccessGroupTemplateAssignmentId String
    The unique identifier of the iam_access_group_template_assignment.
    lastModifiedAt String
    (String) The date and time when the assignment was last updated.
    lastModifiedById String
    (String) The user or system that last updated the assignment.
    operation String
    (String) The operation that the assignment applies to (e.g. 'assign', 'update', 'remove').
    status String
    (String) The status of the assignment (e.g. 'accepted', 'in_progress', 'succeeded', 'failed', 'superseded').
    target String
    The ID of the entity that the assignment applies to.
    targetType String
    The type of the entity that the assignment applies to.

    • Constraints: Allowable values are: Account, AccountGroup.
    templateId String
    The ID of the template that the assignment is based on.
    templateVersion String
    The version of the template that the assignment is based on.
    timeouts IamAccessGroupTemplateAssignmentTimeouts
    transactionId String
    An optional transaction id for the request.

    • Constraints: The maximum length is 50 characters. The minimum length is 1 character. The value must match regular expression /^[a-zA-Z0-9_-]+$/.
    accountId string
    (String) Enterprise account id.
    createdAt string
    (String) The date and time when the assignment was created.
    createdById string
    (String) The user or system that created the assignment.
    etag string
    ETag identifier for iam_access_group_template_assignment.
    href string
    (String) The URL of the assignment resource.
    iamAccessGroupTemplateAssignmentId string
    The unique identifier of the iam_access_group_template_assignment.
    lastModifiedAt string
    (String) The date and time when the assignment was last updated.
    lastModifiedById string
    (String) The user or system that last updated the assignment.
    operation string
    (String) The operation that the assignment applies to (e.g. 'assign', 'update', 'remove').
    status string
    (String) The status of the assignment (e.g. 'accepted', 'in_progress', 'succeeded', 'failed', 'superseded').
    target string
    The ID of the entity that the assignment applies to.
    targetType string
    The type of the entity that the assignment applies to.

    • Constraints: Allowable values are: Account, AccountGroup.
    templateId string
    The ID of the template that the assignment is based on.
    templateVersion string
    The version of the template that the assignment is based on.
    timeouts IamAccessGroupTemplateAssignmentTimeouts
    transactionId string
    An optional transaction id for the request.

    • Constraints: The maximum length is 50 characters. The minimum length is 1 character. The value must match regular expression /^[a-zA-Z0-9_-]+$/.
    account_id str
    (String) Enterprise account id.
    created_at str
    (String) The date and time when the assignment was created.
    created_by_id str
    (String) The user or system that created the assignment.
    etag str
    ETag identifier for iam_access_group_template_assignment.
    href str
    (String) The URL of the assignment resource.
    iam_access_group_template_assignment_id str
    The unique identifier of the iam_access_group_template_assignment.
    last_modified_at str
    (String) The date and time when the assignment was last updated.
    last_modified_by_id str
    (String) The user or system that last updated the assignment.
    operation str
    (String) The operation that the assignment applies to (e.g. 'assign', 'update', 'remove').
    status str
    (String) The status of the assignment (e.g. 'accepted', 'in_progress', 'succeeded', 'failed', 'superseded').
    target str
    The ID of the entity that the assignment applies to.
    target_type str
    The type of the entity that the assignment applies to.

    • Constraints: Allowable values are: Account, AccountGroup.
    template_id str
    The ID of the template that the assignment is based on.
    template_version str
    The version of the template that the assignment is based on.
    timeouts IamAccessGroupTemplateAssignmentTimeoutsArgs
    transaction_id str
    An optional transaction id for the request.

    • Constraints: The maximum length is 50 characters. The minimum length is 1 character. The value must match regular expression /^[a-zA-Z0-9_-]+$/.
    accountId String
    (String) Enterprise account id.
    createdAt String
    (String) The date and time when the assignment was created.
    createdById String
    (String) The user or system that created the assignment.
    etag String
    ETag identifier for iam_access_group_template_assignment.
    href String
    (String) The URL of the assignment resource.
    iamAccessGroupTemplateAssignmentId String
    The unique identifier of the iam_access_group_template_assignment.
    lastModifiedAt String
    (String) The date and time when the assignment was last updated.
    lastModifiedById String
    (String) The user or system that last updated the assignment.
    operation String
    (String) The operation that the assignment applies to (e.g. 'assign', 'update', 'remove').
    status String
    (String) The status of the assignment (e.g. 'accepted', 'in_progress', 'succeeded', 'failed', 'superseded').
    target String
    The ID of the entity that the assignment applies to.
    targetType String
    The type of the entity that the assignment applies to.

    • Constraints: Allowable values are: Account, AccountGroup.
    templateId String
    The ID of the template that the assignment is based on.
    templateVersion String
    The version of the template that the assignment is based on.
    timeouts Property Map
    transactionId String
    An optional transaction id for the request.

    • Constraints: The maximum length is 50 characters. The minimum length is 1 character. The value must match regular expression /^[a-zA-Z0-9_-]+$/.

    Supporting Types

    IamAccessGroupTemplateAssignmentTimeouts, IamAccessGroupTemplateAssignmentTimeoutsArgs

    Create string
    Delete string
    Update string
    Create string
    Delete string
    Update string
    create String
    delete String
    update String
    create string
    delete string
    update string
    create str
    delete str
    update str
    create String
    delete String
    update String

    Import

    You can import the ibm_iam_access_group_template_assignment resource by using id. The ID of the assignment.

    Syntax

    $ pulumi import ibm:index/iamAccessGroupTemplateAssignment:IamAccessGroupTemplateAssignment iam_access_group_template_assignment <id>
    

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

    Package Details

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