1. Packages
  2. StrongDM
  3. API Docs
  4. IdentitySet
StrongDM v1.18.0 published on Tuesday, Sep 24, 2024 by Piers Karsenbarg

sdm.IdentitySet

Explore with Pulumi AI

sdm logo
StrongDM v1.18.0 published on Tuesday, Sep 24, 2024 by Piers Karsenbarg

    A IdentitySet defines a group of identity aliases.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as sdm from "@pierskarsenbarg/sdm";
    
    const _default = new sdm.IdentitySet("default", {});
    
    import pulumi
    import pierskarsenbarg_pulumi_sdm as sdm
    
    default = sdm.IdentitySet("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.NewIdentitySet(ctx, "default", nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Sdm = PiersKarsenbarg.Sdm;
    
    return await Deployment.RunAsync(() => 
    {
        var @default = new Sdm.IdentitySet("default");
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.sdm.IdentitySet;
    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 default_ = new IdentitySet("default");
    
        }
    }
    
    resources:
      default:
        type: sdm:IdentitySet
    

    This resource can be imported using the import command.

    Create IdentitySet Resource

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

    Constructor syntax

    new IdentitySet(name: string, args?: IdentitySetArgs, opts?: CustomResourceOptions);
    @overload
    def IdentitySet(resource_name: str,
                    args: Optional[IdentitySetArgs] = None,
                    opts: Optional[ResourceOptions] = None)
    
    @overload
    def IdentitySet(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    name: Optional[str] = None)
    func NewIdentitySet(ctx *Context, name string, args *IdentitySetArgs, opts ...ResourceOption) (*IdentitySet, error)
    public IdentitySet(string name, IdentitySetArgs? args = null, CustomResourceOptions? opts = null)
    public IdentitySet(String name, IdentitySetArgs args)
    public IdentitySet(String name, IdentitySetArgs args, CustomResourceOptions options)
    
    type: sdm:IdentitySet
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args IdentitySetArgs
    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 IdentitySetArgs
    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 IdentitySetArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args IdentitySetArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args IdentitySetArgs
    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 identitySetResource = new Sdm.IdentitySet("identitySetResource", new()
    {
        Name = "string",
    });
    
    example, err := sdm.NewIdentitySet(ctx, "identitySetResource", &sdm.IdentitySetArgs{
    	Name: pulumi.String("string"),
    })
    
    var identitySetResource = new IdentitySet("identitySetResource", IdentitySetArgs.builder()
        .name("string")
        .build());
    
    identity_set_resource = sdm.IdentitySet("identitySetResource", name="string")
    
    const identitySetResource = new sdm.IdentitySet("identitySetResource", {name: "string"});
    
    type: sdm:IdentitySet
    properties:
        name: string
    

    IdentitySet Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The IdentitySet resource accepts the following input properties:

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

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing IdentitySet Resource

    Get an existing IdentitySet 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?: IdentitySetState, opts?: CustomResourceOptions): IdentitySet
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            name: Optional[str] = None) -> IdentitySet
    func GetIdentitySet(ctx *Context, name string, id IDInput, state *IdentitySetState, opts ...ResourceOption) (*IdentitySet, error)
    public static IdentitySet Get(string name, Input<string> id, IdentitySetState? state, CustomResourceOptions? opts = null)
    public static IdentitySet get(String name, Output<String> id, IdentitySetState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    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:
    Name string
    Unique human-readable name of the IdentitySet.
    Name string
    Unique human-readable name of the IdentitySet.
    name String
    Unique human-readable name of the IdentitySet.
    name string
    Unique human-readable name of the IdentitySet.
    name str
    Unique human-readable name of the IdentitySet.
    name String
    Unique human-readable name of the IdentitySet.

    Import

    A IdentitySet can be imported using the id, e.g.,

    $ pulumi import sdm:index/identitySet:IdentitySet example ig-12345678
    

    To learn more about importing existing cloud resources, see Importing resources.

    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.18.0 published on Tuesday, Sep 24, 2024 by Piers Karsenbarg