1. Packages
  2. Packages
  3. Ibm Provider
  4. API Docs
  5. getIamServiceidGroup
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

    Provides a read-only data source to retrieve information about an iam_serviceid_group. You can then reference the fields of the data source in other resources within the same configuration by using interpolation syntax.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as ibm from "@pulumi/ibm";
    
    const iamServiceidGroup = ibm.getIamServiceidGroup({
        iamServiceidGroupId: "iam_serviceid_group_id",
    });
    
    import pulumi
    import pulumi_ibm as ibm
    
    iam_serviceid_group = ibm.get_iam_serviceid_group(iam_serviceid_group_id="iam_serviceid_group_id")
    
    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.LookupIamServiceidGroup(ctx, &ibm.LookupIamServiceidGroupArgs{
    			IamServiceidGroupId: "iam_serviceid_group_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 iamServiceidGroup = Ibm.GetIamServiceidGroup.Invoke(new()
        {
            IamServiceidGroupId = "iam_serviceid_group_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.GetIamServiceidGroupArgs;
    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 iamServiceidGroup = IbmFunctions.getIamServiceidGroup(GetIamServiceidGroupArgs.builder()
                .iamServiceidGroupId("iam_serviceid_group_id")
                .build());
    
        }
    }
    
    variables:
      iamServiceidGroup:
        fn::invoke:
          function: ibm:getIamServiceidGroup
          arguments:
            iamServiceidGroupId: iam_serviceid_group_id
    
    Example coming soon!
    

    Using getIamServiceidGroup

    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 getIamServiceidGroup(args: GetIamServiceidGroupArgs, opts?: InvokeOptions): Promise<GetIamServiceidGroupResult>
    function getIamServiceidGroupOutput(args: GetIamServiceidGroupOutputArgs, opts?: InvokeOptions): Output<GetIamServiceidGroupResult>
    def get_iam_serviceid_group(iam_serviceid_group_id: Optional[str] = None,
                                id: Optional[str] = None,
                                opts: Optional[InvokeOptions] = None) -> GetIamServiceidGroupResult
    def get_iam_serviceid_group_output(iam_serviceid_group_id: pulumi.Input[Optional[str]] = None,
                                id: pulumi.Input[Optional[str]] = None,
                                opts: Optional[InvokeOptions] = None) -> Output[GetIamServiceidGroupResult]
    func LookupIamServiceidGroup(ctx *Context, args *LookupIamServiceidGroupArgs, opts ...InvokeOption) (*LookupIamServiceidGroupResult, error)
    func LookupIamServiceidGroupOutput(ctx *Context, args *LookupIamServiceidGroupOutputArgs, opts ...InvokeOption) LookupIamServiceidGroupResultOutput

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

    public static class GetIamServiceidGroup 
    {
        public static Task<GetIamServiceidGroupResult> InvokeAsync(GetIamServiceidGroupArgs args, InvokeOptions? opts = null)
        public static Output<GetIamServiceidGroupResult> Invoke(GetIamServiceidGroupInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetIamServiceidGroupResult> getIamServiceidGroup(GetIamServiceidGroupArgs args, InvokeOptions options)
    public static Output<GetIamServiceidGroupResult> getIamServiceidGroup(GetIamServiceidGroupArgs args, InvokeOptions options)
    
    fn::invoke:
      function: ibm:index/getIamServiceidGroup:getIamServiceidGroup
      arguments:
        # arguments dictionary
    data "ibm_getiamserviceidgroup" "name" {
        # arguments
    }

    The following arguments are supported:

    IamServiceidGroupId string
    Unique ID of the service ID group.
    Id string
    The unique identifier of the iam_serviceid_group.
    IamServiceidGroupId string
    Unique ID of the service ID group.
    Id string
    The unique identifier of the iam_serviceid_group.
    iam_serviceid_group_id string
    Unique ID of the service ID group.
    id string
    The unique identifier of the iam_serviceid_group.
    iamServiceidGroupId String
    Unique ID of the service ID group.
    id String
    The unique identifier of the iam_serviceid_group.
    iamServiceidGroupId string
    Unique ID of the service ID group.
    id string
    The unique identifier of the iam_serviceid_group.
    iam_serviceid_group_id str
    Unique ID of the service ID group.
    id str
    The unique identifier of the iam_serviceid_group.
    iamServiceidGroupId String
    Unique ID of the service ID group.
    id String
    The unique identifier of the iam_serviceid_group.

    getIamServiceidGroup Result

    The following output properties are available:

    AccountId string
    (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
    (String) Description of the service ID group.
    EntityTag string
    (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
    Id string
    The unique identifier of the iam_serviceid_group.
    ModifiedAt string
    (String) Timestamp of when the service ID group was modified.
    Name string
    (String) Name of the service ID group. Unique in the account.
    AccountId string
    (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
    (String) Description of the service ID group.
    EntityTag string
    (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
    Id string
    The unique identifier of the iam_serviceid_group.
    ModifiedAt string
    (String) Timestamp of when the service ID group was modified.
    Name string
    (String) Name of the service ID group. Unique in the account.
    account_id string
    (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
    (String) Description of the service ID group.
    entity_tag string
    (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
    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
    (String) Name of the service ID group. Unique in the account.
    accountId String
    (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
    (String) Description of the service ID group.
    entityTag String
    (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
    id String
    The unique identifier of the iam_serviceid_group.
    modifiedAt String
    (String) Timestamp of when the service ID group was modified.
    name String
    (String) Name of the service ID group. Unique in the account.
    accountId string
    (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
    (String) Description of the service ID group.
    entityTag string
    (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
    id string
    The unique identifier of the iam_serviceid_group.
    modifiedAt string
    (String) Timestamp of when the service ID group was modified.
    name string
    (String) Name of the service ID group. Unique in the account.
    account_id str
    (String) 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
    (String) Description of the service ID group.
    entity_tag str
    (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 str
    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
    (String) Name of the service ID group. Unique in the account.
    accountId String
    (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
    (String) Description of the service ID group.
    entityTag String
    (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
    id String
    The unique identifier of the iam_serviceid_group.
    modifiedAt String
    (String) Timestamp of when the service ID group was modified.
    name String
    (String) Name of the service ID group. Unique in the account.

    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