StrongDM v1.21.0 published on Monday, Nov 4, 2024 by Piers Karsenbarg
sdm.getIdentitySet
Explore with Pulumi AI
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",
});
import pulumi
import pulumi_sdm as sdm
default = sdm.get_identity_set(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.LookupIdentitySet(ctx, &sdm.LookupIdentitySetArgs{
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.GetIdentitySet.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.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());
}
}
variables:
default:
fn::invoke:
Function: sdm:getIdentitySet
Arguments:
name: default
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>
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]
func LookupIdentitySet(ctx *Context, args *LookupIdentitySetArgs, opts ...InvokeOption) (*LookupIdentitySetResult, error)
func LookupIdentitySetOutput(ctx *Context, args *LookupIdentitySetOutputArgs, opts ...InvokeOption) LookupIdentitySetResultOutput
> 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)
}
public static CompletableFuture<GetIdentitySetResult> getIdentitySet(GetIdentitySetArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: sdm:index/getIdentitySet:getIdentitySet
arguments:
# arguments dictionary
The following arguments are supported:
getIdentitySet Result
The following output properties are available:
- Identity
Sets List<PiersKarsenbarg. Sdm. Outputs. Get Identity Set Identity Set> - 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.
- Identity
Sets []GetIdentity Set Identity Set - 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 List<GetIdentity Set Identity Set> - 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.
- identity
Sets GetIdentity Set Identity Set[] - 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[GetIdentity Set Identity Set] - 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.
- identity
Sets 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
Package Details
- Repository
- sdm pierskarsenbarg/pulumi-sdm
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
sdm
Terraform Provider.