1. Packages
  2. Doppler
  3. API Docs
  4. GroupMember
Doppler v0.7.1 published on Monday, May 27, 2024 by Pulumiverse

doppler.GroupMember

Explore with Pulumi AI

doppler logo
Doppler v0.7.1 published on Monday, May 27, 2024 by Pulumiverse

    Manage a Doppler user/group membership.

    Create GroupMember Resource

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

    Constructor syntax

    new GroupMember(name: string, args: GroupMemberArgs, opts?: CustomResourceOptions);
    @overload
    def GroupMember(resource_name: str,
                    args: GroupMemberArgs,
                    opts: Optional[ResourceOptions] = None)
    
    @overload
    def GroupMember(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    group_slug: Optional[str] = None,
                    user_slug: Optional[str] = None)
    func NewGroupMember(ctx *Context, name string, args GroupMemberArgs, opts ...ResourceOption) (*GroupMember, error)
    public GroupMember(string name, GroupMemberArgs args, CustomResourceOptions? opts = null)
    public GroupMember(String name, GroupMemberArgs args)
    public GroupMember(String name, GroupMemberArgs args, CustomResourceOptions options)
    
    type: doppler:GroupMember
    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 GroupMemberArgs
    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 GroupMemberArgs
    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 GroupMemberArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args GroupMemberArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args GroupMemberArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Example

    The following reference example uses placeholder values for all input properties.

    var groupMemberResource = new Doppler.GroupMember("groupMemberResource", new()
    {
        GroupSlug = "string",
        UserSlug = "string",
    });
    
    example, err := doppler.NewGroupMember(ctx, "groupMemberResource", &doppler.GroupMemberArgs{
    	GroupSlug: pulumi.String("string"),
    	UserSlug:  pulumi.String("string"),
    })
    
    var groupMemberResource = new GroupMember("groupMemberResource", GroupMemberArgs.builder()
        .groupSlug("string")
        .userSlug("string")
        .build());
    
    group_member_resource = doppler.GroupMember("groupMemberResource",
        group_slug="string",
        user_slug="string")
    
    const groupMemberResource = new doppler.GroupMember("groupMemberResource", {
        groupSlug: "string",
        userSlug: "string",
    });
    
    type: doppler:GroupMember
    properties:
        groupSlug: string
        userSlug: string
    

    GroupMember 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 GroupMember resource accepts the following input properties:

    GroupSlug string
    The slug of the Doppler group
    UserSlug string
    The slug of the Doppler workplace user
    GroupSlug string
    The slug of the Doppler group
    UserSlug string
    The slug of the Doppler workplace user
    groupSlug String
    The slug of the Doppler group
    userSlug String
    The slug of the Doppler workplace user
    groupSlug string
    The slug of the Doppler group
    userSlug string
    The slug of the Doppler workplace user
    group_slug str
    The slug of the Doppler group
    user_slug str
    The slug of the Doppler workplace user
    groupSlug String
    The slug of the Doppler group
    userSlug String
    The slug of the Doppler workplace user

    Outputs

    All input properties are implicitly available as output properties. Additionally, the GroupMember 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 GroupMember Resource

    Get an existing GroupMember 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?: GroupMemberState, opts?: CustomResourceOptions): GroupMember
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            group_slug: Optional[str] = None,
            user_slug: Optional[str] = None) -> GroupMember
    func GetGroupMember(ctx *Context, name string, id IDInput, state *GroupMemberState, opts ...ResourceOption) (*GroupMember, error)
    public static GroupMember Get(string name, Input<string> id, GroupMemberState? state, CustomResourceOptions? opts = null)
    public static GroupMember get(String name, Output<String> id, GroupMemberState 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:
    GroupSlug string
    The slug of the Doppler group
    UserSlug string
    The slug of the Doppler workplace user
    GroupSlug string
    The slug of the Doppler group
    UserSlug string
    The slug of the Doppler workplace user
    groupSlug String
    The slug of the Doppler group
    userSlug String
    The slug of the Doppler workplace user
    groupSlug string
    The slug of the Doppler group
    userSlug string
    The slug of the Doppler workplace user
    group_slug str
    The slug of the Doppler group
    user_slug str
    The slug of the Doppler workplace user
    groupSlug String
    The slug of the Doppler group
    userSlug String
    The slug of the Doppler workplace user

    Import

    import using the group slug from the URL:

    https://dashboard.doppler.com/workplace/[workplace-slug]/team/groups/[group-slug]

    and the user slug from the URL:

    https://dashboard.doppler.com/workplace/[workplace-slug]/team/users/[user-slug]

    $ pulumi import doppler:index/groupMember:GroupMember default <group-slug>.workplace_user.<user-slug>
    

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

    Package Details

    Repository
    doppler pulumiverse/pulumi-doppler
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the doppler Terraform Provider.
    doppler logo
    Doppler v0.7.1 published on Monday, May 27, 2024 by Pulumiverse