1. Packages
  2. Packages
  3. Ibm Provider
  4. API Docs
  5. IamServiceidGroup
Viewing docs for ibm 2.3.0-beta0
published on Monday, Jun 15, 2026 by ibm-cloud
Viewing docs for ibm 2.3.0-beta0
published on Monday, Jun 15, 2026 by ibm-cloud

    Create, update, and delete iam_serviceid_groups with this resource.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as ibm from "@pulumi/ibm";
    
    const iamServiceidGroupInstance = new ibm.IamServiceidGroup("iam_serviceid_group_instance", {
        accountId: "account_id",
        name: "name",
    });
    
    import pulumi
    import pulumi_ibm as ibm
    
    iam_serviceid_group_instance = ibm.IamServiceidGroup("iam_serviceid_group_instance",
        account_id="account_id",
        name="name")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/ibm/v2/ibm"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := ibm.NewIamServiceidGroup(ctx, "iam_serviceid_group_instance", &ibm.IamServiceidGroupArgs{
    			AccountId: pulumi.String("account_id"),
    			Name:      pulumi.String("name"),
    		})
    		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 iamServiceidGroupInstance = new Ibm.IamServiceidGroup("iam_serviceid_group_instance", new()
        {
            AccountId = "account_id",
            Name = "name",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.ibm.IamServiceidGroup;
    import com.pulumi.ibm.IamServiceidGroupArgs;
    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 iamServiceidGroupInstance = new IamServiceidGroup("iamServiceidGroupInstance", IamServiceidGroupArgs.builder()
                .accountId("account_id")
                .name("name")
                .build());
    
        }
    }
    
    resources:
      iamServiceidGroupInstance:
        type: ibm:IamServiceidGroup
        name: iam_serviceid_group_instance
        properties:
          accountId: account_id
          name: name
    
    Example coming soon!
    

    Create IamServiceidGroup Resource

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

    Constructor syntax

    new IamServiceidGroup(name: string, args: IamServiceidGroupArgs, opts?: CustomResourceOptions);
    @overload
    def IamServiceidGroup(resource_name: str,
                          args: IamServiceidGroupArgs,
                          opts: Optional[ResourceOptions] = None)
    
    @overload
    def IamServiceidGroup(resource_name: str,
                          opts: Optional[ResourceOptions] = None,
                          account_id: Optional[str] = None,
                          description: Optional[str] = None,
                          entity_tag: Optional[str] = None,
                          iam_serviceid_group_id: Optional[str] = None,
                          name: Optional[str] = None)
    func NewIamServiceidGroup(ctx *Context, name string, args IamServiceidGroupArgs, opts ...ResourceOption) (*IamServiceidGroup, error)
    public IamServiceidGroup(string name, IamServiceidGroupArgs args, CustomResourceOptions? opts = null)
    public IamServiceidGroup(String name, IamServiceidGroupArgs args)
    public IamServiceidGroup(String name, IamServiceidGroupArgs args, CustomResourceOptions options)
    
    type: ibm:IamServiceidGroup
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "ibm_iamserviceidgroup" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args IamServiceidGroupArgs
    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 IamServiceidGroupArgs
    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 IamServiceidGroupArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args IamServiceidGroupArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args IamServiceidGroupArgs
    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 iamServiceidGroupResource = new Ibm.IamServiceidGroup("iamServiceidGroupResource", new()
    {
        AccountId = "string",
        Description = "string",
        EntityTag = "string",
        IamServiceidGroupId = "string",
        Name = "string",
    });
    
    example, err := ibm.NewIamServiceidGroup(ctx, "iamServiceidGroupResource", &ibm.IamServiceidGroupArgs{
    	AccountId:           pulumi.String("string"),
    	Description:         pulumi.String("string"),
    	EntityTag:           pulumi.String("string"),
    	IamServiceidGroupId: pulumi.String("string"),
    	Name:                pulumi.String("string"),
    })
    
    resource "ibm_iamserviceidgroup" "iamServiceidGroupResource" {
      account_id             = "string"
      description            = "string"
      entity_tag             = "string"
      iam_serviceid_group_id = "string"
      name                   = "string"
    }
    
    var iamServiceidGroupResource = new IamServiceidGroup("iamServiceidGroupResource", IamServiceidGroupArgs.builder()
        .accountId("string")
        .description("string")
        .entityTag("string")
        .iamServiceidGroupId("string")
        .name("string")
        .build());
    
    iam_serviceid_group_resource = ibm.IamServiceidGroup("iamServiceidGroupResource",
        account_id="string",
        description="string",
        entity_tag="string",
        iam_serviceid_group_id="string",
        name="string")
    
    const iamServiceidGroupResource = new ibm.IamServiceidGroup("iamServiceidGroupResource", {
        accountId: "string",
        description: "string",
        entityTag: "string",
        iamServiceidGroupId: "string",
        name: "string",
    });
    
    type: ibm:IamServiceidGroup
    properties:
        accountId: string
        description: string
        entityTag: string
        iamServiceidGroupId: string
        name: string
    

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

    AccountId string
    ID of the account the service ID group belongs to.
    Description string
    Description of the service ID group.
    EntityTag string
    Version of the service ID group details object. You need to specify this value when updating the service ID group to avoid stale updates.
    IamServiceidGroupId string
    The unique identifier of the iam_serviceid_group.
    Name string
    Name of the service ID group. Unique in the account.
    AccountId string
    ID of the account the service ID group belongs to.
    Description string
    Description of the service ID group.
    EntityTag string
    Version of the service ID group details object. You need to specify this value when updating the service ID group to avoid stale updates.
    IamServiceidGroupId string
    The unique identifier of the iam_serviceid_group.
    Name string
    Name of the service ID group. Unique in the account.
    account_id string
    ID of the account the service ID group belongs to.
    description string
    Description of the service ID group.
    entity_tag string
    Version of the service ID group details object. You need to specify this value when updating the service ID group to avoid stale updates.
    iam_serviceid_group_id string
    The unique identifier of the iam_serviceid_group.
    name string
    Name of the service ID group. Unique in the account.
    accountId String
    ID of the account the service ID group belongs to.
    description String
    Description of the service ID group.
    entityTag String
    Version of the service ID group details object. You need to specify this value when updating the service ID group to avoid stale updates.
    iamServiceidGroupId String
    The unique identifier of the iam_serviceid_group.
    name String
    Name of the service ID group. Unique in the account.
    accountId string
    ID of the account the service ID group belongs to.
    description string
    Description of the service ID group.
    entityTag string
    Version of the service ID group details object. You need to specify this value when updating the service ID group to avoid stale updates.
    iamServiceidGroupId string
    The unique identifier of the iam_serviceid_group.
    name string
    Name of the service ID group. Unique in the account.
    account_id str
    ID of the account the service ID group belongs to.
    description str
    Description of the service ID group.
    entity_tag str
    Version of the service ID group details object. You need to specify this value when updating the service ID group to avoid stale updates.
    iam_serviceid_group_id str
    The unique identifier of the iam_serviceid_group.
    name str
    Name of the service ID group. Unique in the account.
    accountId String
    ID of the account the service ID group belongs to.
    description String
    Description of the service ID group.
    entityTag String
    Version of the service ID group details object. You need to specify this value when updating the service ID group to avoid stale updates.
    iamServiceidGroupId String
    The unique identifier of the iam_serviceid_group.
    name String
    Name of the service ID group. Unique in the account.

    Outputs

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

    CreatedAt string
    (String) Timestamp of when the service ID group was created.
    CreatedBy string
    (String) IAM ID of the user or service which created the Service Id group.
    Crn string
    (String) Cloud Resource Name of the item.
    Id string
    The provider-assigned unique ID for this managed resource.
    ModifiedAt string
    (String) Timestamp of when the service ID group was modified.
    CreatedAt string
    (String) Timestamp of when the service ID group was created.
    CreatedBy string
    (String) IAM ID of the user or service which created the Service Id group.
    Crn string
    (String) Cloud Resource Name of the item.
    Id string
    The provider-assigned unique ID for this managed resource.
    ModifiedAt string
    (String) Timestamp of when the service ID group was modified.
    created_at string
    (String) Timestamp of when the service ID group was created.
    created_by string
    (String) IAM ID of the user or service which created the Service Id group.
    crn string
    (String) Cloud Resource Name of the item.
    id string
    The provider-assigned unique ID for this managed resource.
    modified_at string
    (String) Timestamp of when the service ID group was modified.
    createdAt String
    (String) Timestamp of when the service ID group was created.
    createdBy String
    (String) IAM ID of the user or service which created the Service Id group.
    crn String
    (String) Cloud Resource Name of the item.
    id String
    The provider-assigned unique ID for this managed resource.
    modifiedAt String
    (String) Timestamp of when the service ID group was modified.
    createdAt string
    (String) Timestamp of when the service ID group was created.
    createdBy string
    (String) IAM ID of the user or service which created the Service Id group.
    crn string
    (String) Cloud Resource Name of the item.
    id string
    The provider-assigned unique ID for this managed resource.
    modifiedAt string
    (String) Timestamp of when the service ID group was modified.
    created_at str
    (String) Timestamp of when the service ID group was created.
    created_by str
    (String) IAM ID of the user or service which created the Service Id group.
    crn str
    (String) Cloud Resource Name of the item.
    id str
    The provider-assigned unique ID for this managed resource.
    modified_at str
    (String) Timestamp of when the service ID group was modified.
    createdAt String
    (String) Timestamp of when the service ID group was created.
    createdBy String
    (String) IAM ID of the user or service which created the Service Id group.
    crn String
    (String) Cloud Resource Name of the item.
    id String
    The provider-assigned unique ID for this managed resource.
    modifiedAt String
    (String) Timestamp of when the service ID group was modified.

    Look up Existing IamServiceidGroup Resource

    Get an existing IamServiceidGroup 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?: IamServiceidGroupState, opts?: CustomResourceOptions): IamServiceidGroup
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            account_id: Optional[str] = None,
            created_at: Optional[str] = None,
            created_by: Optional[str] = None,
            crn: Optional[str] = None,
            description: Optional[str] = None,
            entity_tag: Optional[str] = None,
            iam_serviceid_group_id: Optional[str] = None,
            modified_at: Optional[str] = None,
            name: Optional[str] = None) -> IamServiceidGroup
    func GetIamServiceidGroup(ctx *Context, name string, id IDInput, state *IamServiceidGroupState, opts ...ResourceOption) (*IamServiceidGroup, error)
    public static IamServiceidGroup Get(string name, Input<string> id, IamServiceidGroupState? state, CustomResourceOptions? opts = null)
    public static IamServiceidGroup get(String name, Output<String> id, IamServiceidGroupState state, CustomResourceOptions options)
    resources:  _:    type: ibm:IamServiceidGroup    get:      id: ${id}
    import {
      to = ibm_iamserviceidgroup.example
      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
    ID of the account the service ID group belongs to.
    CreatedAt string
    (String) Timestamp of when the service ID group was created.
    CreatedBy string
    (String) IAM ID of the user or service which created the Service Id group.
    Crn string
    (String) Cloud Resource Name of the item.
    Description string
    Description of the service ID group.
    EntityTag string
    Version of the service ID group details object. You need to specify this value when updating the service ID group to avoid stale updates.
    IamServiceidGroupId string
    The unique identifier of the iam_serviceid_group.
    ModifiedAt string
    (String) Timestamp of when the service ID group was modified.
    Name string
    Name of the service ID group. Unique in the account.
    AccountId string
    ID of the account the service ID group belongs to.
    CreatedAt string
    (String) Timestamp of when the service ID group was created.
    CreatedBy string
    (String) IAM ID of the user or service which created the Service Id group.
    Crn string
    (String) Cloud Resource Name of the item.
    Description string
    Description of the service ID group.
    EntityTag string
    Version of the service ID group details object. You need to specify this value when updating the service ID group to avoid stale updates.
    IamServiceidGroupId string
    The unique identifier of the iam_serviceid_group.
    ModifiedAt string
    (String) Timestamp of when the service ID group was modified.
    Name string
    Name of the service ID group. Unique in the account.
    account_id string
    ID of the account the service ID group belongs to.
    created_at string
    (String) Timestamp of when the service ID group was created.
    created_by string
    (String) IAM ID of the user or service which created the Service Id group.
    crn string
    (String) Cloud Resource Name of the item.
    description string
    Description of the service ID group.
    entity_tag string
    Version of the service ID group details object. You need to specify this value when updating the service ID group to avoid stale updates.
    iam_serviceid_group_id string
    The unique identifier of the iam_serviceid_group.
    modified_at string
    (String) Timestamp of when the service ID group was modified.
    name string
    Name of the service ID group. Unique in the account.
    accountId String
    ID of the account the service ID group belongs to.
    createdAt String
    (String) Timestamp of when the service ID group was created.
    createdBy String
    (String) IAM ID of the user or service which created the Service Id group.
    crn String
    (String) Cloud Resource Name of the item.
    description String
    Description of the service ID group.
    entityTag String
    Version of the service ID group details object. You need to specify this value when updating the service ID group to avoid stale updates.
    iamServiceidGroupId String
    The unique identifier of the iam_serviceid_group.
    modifiedAt String
    (String) Timestamp of when the service ID group was modified.
    name String
    Name of the service ID group. Unique in the account.
    accountId string
    ID of the account the service ID group belongs to.
    createdAt string
    (String) Timestamp of when the service ID group was created.
    createdBy string
    (String) IAM ID of the user or service which created the Service Id group.
    crn string
    (String) Cloud Resource Name of the item.
    description string
    Description of the service ID group.
    entityTag string
    Version of the service ID group details object. You need to specify this value when updating the service ID group to avoid stale updates.
    iamServiceidGroupId string
    The unique identifier of the iam_serviceid_group.
    modifiedAt string
    (String) Timestamp of when the service ID group was modified.
    name string
    Name of the service ID group. Unique in the account.
    account_id str
    ID of the account the service ID group belongs to.
    created_at str
    (String) Timestamp of when the service ID group was created.
    created_by str
    (String) IAM ID of the user or service which created the Service Id group.
    crn str
    (String) Cloud Resource Name of the item.
    description str
    Description of the service ID group.
    entity_tag str
    Version of the service ID group details object. You need to specify this value when updating the service ID group to avoid stale updates.
    iam_serviceid_group_id str
    The unique identifier of the iam_serviceid_group.
    modified_at str
    (String) Timestamp of when the service ID group was modified.
    name str
    Name of the service ID group. Unique in the account.
    accountId String
    ID of the account the service ID group belongs to.
    createdAt String
    (String) Timestamp of when the service ID group was created.
    createdBy String
    (String) IAM ID of the user or service which created the Service Id group.
    crn String
    (String) Cloud Resource Name of the item.
    description String
    Description of the service ID group.
    entityTag String
    Version of the service ID group details object. You need to specify this value when updating the service ID group to avoid stale updates.
    iamServiceidGroupId String
    The unique identifier of the iam_serviceid_group.
    modifiedAt String
    (String) Timestamp of when the service ID group was modified.
    name String
    Name of the service ID group. Unique in the account.

    Import

    You can import the ibm_iam_serviceid_group resource by using id. ID of the the service ID group.

    Syntax

    
    ```sh
    $ pulumi import ibm:index/iamServiceidGroup:IamServiceidGroup iam_serviceid_group <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.
    Viewing docs for ibm 2.3.0-beta0
    published on Monday, Jun 15, 2026 by ibm-cloud

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial