1. Packages
  2. StrongDM
  3. API Docs
  4. getIdentitySet
StrongDM v1.26.0 published on Friday, Mar 21, 2025 by Piers Karsenbarg

sdm.getIdentitySet

Explore with Pulumi AI

StrongDM v1.26.0 published on Friday, Mar 21, 2025 by Piers Karsenbarg

A IdentitySet defines a group of identity aliases.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as sdm from "@pulumi/sdm";

const _default = sdm.getIdentitySet({
    name: "default",
});
Copy
import pulumi
import pulumi_sdm as sdm

default = sdm.get_identity_set(name="default")
Copy
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.LookupIdentitySet(ctx, &sdm.LookupIdentitySetArgs{
			Name: pulumi.StringRef("default"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Sdm = Pulumi.Sdm;

return await Deployment.RunAsync(() => 
{
    var @default = Sdm.GetIdentitySet.Invoke(new()
    {
        Name = "default",
    });

});
Copy
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.GetIdentitySetArgs;
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.getIdentitySet(GetIdentitySetArgs.builder()
            .name("default")
            .build());

    }
}
Copy
variables:
  default:
    fn::invoke:
      function: sdm:getIdentitySet
      arguments:
        name: default
Copy

Using getIdentitySet

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 getIdentitySet(args: GetIdentitySetArgs, opts?: InvokeOptions): Promise<GetIdentitySetResult>
function getIdentitySetOutput(args: GetIdentitySetOutputArgs, opts?: InvokeOptions): Output<GetIdentitySetResult>
Copy
def get_identity_set(id: Optional[str] = None,
                     name: Optional[str] = None,
                     opts: Optional[InvokeOptions] = None) -> GetIdentitySetResult
def get_identity_set_output(id: Optional[pulumi.Input[str]] = None,
                     name: Optional[pulumi.Input[str]] = None,
                     opts: Optional[InvokeOptions] = None) -> Output[GetIdentitySetResult]
Copy
func LookupIdentitySet(ctx *Context, args *LookupIdentitySetArgs, opts ...InvokeOption) (*LookupIdentitySetResult, error)
func LookupIdentitySetOutput(ctx *Context, args *LookupIdentitySetOutputArgs, opts ...InvokeOption) LookupIdentitySetResultOutput
Copy

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

public static class GetIdentitySet 
{
    public static Task<GetIdentitySetResult> InvokeAsync(GetIdentitySetArgs args, InvokeOptions? opts = null)
    public static Output<GetIdentitySetResult> Invoke(GetIdentitySetInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetIdentitySetResult> getIdentitySet(GetIdentitySetArgs args, InvokeOptions options)
public static Output<GetIdentitySetResult> getIdentitySet(GetIdentitySetArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: sdm:index/getIdentitySet:getIdentitySet
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

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

getIdentitySet Result

The following output properties are available:

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

Supporting Types

GetIdentitySetIdentitySet

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

Package Details

Repository
sdm pierskarsenbarg/pulumi-sdm
License
Apache-2.0
Notes
This Pulumi package is based on the sdm Terraform Provider.
StrongDM v1.26.0 published on Friday, Mar 21, 2025 by Piers Karsenbarg