1. Packages
  2. StrongDM
  3. API Docs
  4. getRemoteIdentityGroup
StrongDM v1.21.0 published on Monday, Nov 4, 2024 by Piers Karsenbarg

sdm.getRemoteIdentityGroup

Explore with Pulumi AI

sdm logo
StrongDM v1.21.0 published on Monday, Nov 4, 2024 by Piers Karsenbarg

    A RemoteIdentityGroup defines a group of remote identities.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as sdm from "@pulumi/sdm";
    
    const default = sdm.getRemoteIdentityGroup({
        name: "default",
    });
    
    import pulumi
    import pulumi_sdm as sdm
    
    default = sdm.get_remote_identity_group(name="default")
    
    package main
    
    import (
    	"github.com/pierskarsenbarg/pulumi-sdm/sdk/go/sdm"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := sdm.GetRemoteIdentityGroup(ctx, &sdm.GetRemoteIdentityGroupArgs{
    			Name: pulumi.StringRef("default"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Sdm = Pulumi.Sdm;
    
    return await Deployment.RunAsync(() => 
    {
        var @default = Sdm.GetRemoteIdentityGroup.Invoke(new()
        {
            Name = "default",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.sdm.SdmFunctions;
    import com.pulumi.sdm.inputs.GetRemoteIdentityGroupArgs;
    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 default = SdmFunctions.getRemoteIdentityGroup(GetRemoteIdentityGroupArgs.builder()
                .name("default")
                .build());
    
        }
    }
    
    variables:
      default:
        fn::invoke:
          Function: sdm:getRemoteIdentityGroup
          Arguments:
            name: default
    

    Using getRemoteIdentityGroup

    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 getRemoteIdentityGroup(args: GetRemoteIdentityGroupArgs, opts?: InvokeOptions): Promise<GetRemoteIdentityGroupResult>
    function getRemoteIdentityGroupOutput(args: GetRemoteIdentityGroupOutputArgs, opts?: InvokeOptions): Output<GetRemoteIdentityGroupResult>
    def get_remote_identity_group(id: Optional[str] = None,
                                  name: Optional[str] = None,
                                  opts: Optional[InvokeOptions] = None) -> GetRemoteIdentityGroupResult
    def get_remote_identity_group_output(id: Optional[pulumi.Input[str]] = None,
                                  name: Optional[pulumi.Input[str]] = None,
                                  opts: Optional[InvokeOptions] = None) -> Output[GetRemoteIdentityGroupResult]
    func GetRemoteIdentityGroup(ctx *Context, args *GetRemoteIdentityGroupArgs, opts ...InvokeOption) (*GetRemoteIdentityGroupResult, error)
    func GetRemoteIdentityGroupOutput(ctx *Context, args *GetRemoteIdentityGroupOutputArgs, opts ...InvokeOption) GetRemoteIdentityGroupResultOutput

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

    public static class GetRemoteIdentityGroup 
    {
        public static Task<GetRemoteIdentityGroupResult> InvokeAsync(GetRemoteIdentityGroupArgs args, InvokeOptions? opts = null)
        public static Output<GetRemoteIdentityGroupResult> Invoke(GetRemoteIdentityGroupInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetRemoteIdentityGroupResult> getRemoteIdentityGroup(GetRemoteIdentityGroupArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: sdm:index/getRemoteIdentityGroup:getRemoteIdentityGroup
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    Unique identifier of the RemoteIdentityGroup.
    Name string
    Unique human-readable name of the RemoteIdentityGroup.
    Id string
    Unique identifier of the RemoteIdentityGroup.
    Name string
    Unique human-readable name of the RemoteIdentityGroup.
    id String
    Unique identifier of the RemoteIdentityGroup.
    name String
    Unique human-readable name of the RemoteIdentityGroup.
    id string
    Unique identifier of the RemoteIdentityGroup.
    name string
    Unique human-readable name of the RemoteIdentityGroup.
    id str
    Unique identifier of the RemoteIdentityGroup.
    name str
    Unique human-readable name of the RemoteIdentityGroup.
    id String
    Unique identifier of the RemoteIdentityGroup.
    name String
    Unique human-readable name of the RemoteIdentityGroup.

    getRemoteIdentityGroup Result

    The following output properties are available:

    Ids List<string>
    a list of strings of ids of data sources that match the given arguments.
    RemoteIdentityGroups List<PiersKarsenbarg.Sdm.Outputs.GetRemoteIdentityGroupRemoteIdentityGroup>
    A list where each element has the following attributes:
    Id string
    Unique identifier of the RemoteIdentityGroup.
    Name string
    Unique human-readable name of the RemoteIdentityGroup.
    Ids []string
    a list of strings of ids of data sources that match the given arguments.
    RemoteIdentityGroups []GetRemoteIdentityGroupRemoteIdentityGroup
    A list where each element has the following attributes:
    Id string
    Unique identifier of the RemoteIdentityGroup.
    Name string
    Unique human-readable name of the RemoteIdentityGroup.
    ids List<String>
    a list of strings of ids of data sources that match the given arguments.
    remoteIdentityGroups List<GetRemoteIdentityGroupRemoteIdentityGroup>
    A list where each element has the following attributes:
    id String
    Unique identifier of the RemoteIdentityGroup.
    name String
    Unique human-readable name of the RemoteIdentityGroup.
    ids string[]
    a list of strings of ids of data sources that match the given arguments.
    remoteIdentityGroups GetRemoteIdentityGroupRemoteIdentityGroup[]
    A list where each element has the following attributes:
    id string
    Unique identifier of the RemoteIdentityGroup.
    name string
    Unique human-readable name of the RemoteIdentityGroup.
    ids Sequence[str]
    a list of strings of ids of data sources that match the given arguments.
    remote_identity_groups Sequence[GetRemoteIdentityGroupRemoteIdentityGroup]
    A list where each element has the following attributes:
    id str
    Unique identifier of the RemoteIdentityGroup.
    name str
    Unique human-readable name of the RemoteIdentityGroup.
    ids List<String>
    a list of strings of ids of data sources that match the given arguments.
    remoteIdentityGroups List<Property Map>
    A list where each element has the following attributes:
    id String
    Unique identifier of the RemoteIdentityGroup.
    name String
    Unique human-readable name of the RemoteIdentityGroup.

    Supporting Types

    GetRemoteIdentityGroupRemoteIdentityGroup

    Id string
    Unique identifier of the RemoteIdentityGroup.
    Name string
    Unique human-readable name of the RemoteIdentityGroup.
    Id string
    Unique identifier of the RemoteIdentityGroup.
    Name string
    Unique human-readable name of the RemoteIdentityGroup.
    id String
    Unique identifier of the RemoteIdentityGroup.
    name String
    Unique human-readable name of the RemoteIdentityGroup.
    id string
    Unique identifier of the RemoteIdentityGroup.
    name string
    Unique human-readable name of the RemoteIdentityGroup.
    id str
    Unique identifier of the RemoteIdentityGroup.
    name str
    Unique human-readable name of the RemoteIdentityGroup.
    id String
    Unique identifier of the RemoteIdentityGroup.
    name String
    Unique human-readable name of the RemoteIdentityGroup.

    Package Details

    Repository
    sdm pierskarsenbarg/pulumi-sdm
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the sdm Terraform Provider.
    sdm logo
    StrongDM v1.21.0 published on Monday, Nov 4, 2024 by Piers Karsenbarg