1. Packages
  2. Harness
  3. API Docs
  4. getUserGroup
Harness v0.3.2 published on Monday, Sep 16, 2024 by Pulumi

harness.getUserGroup

Explore with Pulumi AI

harness logo
Harness v0.3.2 published on Monday, Sep 16, 2024 by Pulumi

    Data source for retrieving a Harness user group

    Using getUserGroup

    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 getUserGroup(args: GetUserGroupArgs, opts?: InvokeOptions): Promise<GetUserGroupResult>
    function getUserGroupOutput(args: GetUserGroupOutputArgs, opts?: InvokeOptions): Output<GetUserGroupResult>
    def get_user_group(id: Optional[str] = None,
                       name: Optional[str] = None,
                       opts: Optional[InvokeOptions] = None) -> GetUserGroupResult
    def get_user_group_output(id: Optional[pulumi.Input[str]] = None,
                       name: Optional[pulumi.Input[str]] = None,
                       opts: Optional[InvokeOptions] = None) -> Output[GetUserGroupResult]
    func LookupUserGroup(ctx *Context, args *LookupUserGroupArgs, opts ...InvokeOption) (*LookupUserGroupResult, error)
    func LookupUserGroupOutput(ctx *Context, args *LookupUserGroupOutputArgs, opts ...InvokeOption) LookupUserGroupResultOutput

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

    public static class GetUserGroup 
    {
        public static Task<GetUserGroupResult> InvokeAsync(GetUserGroupArgs args, InvokeOptions? opts = null)
        public static Output<GetUserGroupResult> Invoke(GetUserGroupInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetUserGroupResult> getUserGroup(GetUserGroupArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: harness:index/getUserGroup:getUserGroup
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    Unique identifier of the user group
    Name string
    The name of the user group.
    Id string
    Unique identifier of the user group
    Name string
    The name of the user group.
    id String
    Unique identifier of the user group
    name String
    The name of the user group.
    id string
    Unique identifier of the user group
    name string
    The name of the user group.
    id str
    Unique identifier of the user group
    name str
    The name of the user group.
    id String
    Unique identifier of the user group
    name String
    The name of the user group.

    getUserGroup Result

    The following output properties are available:

    Id string
    Unique identifier of the user group
    Name string
    The name of the user group.
    Id string
    Unique identifier of the user group
    Name string
    The name of the user group.
    id String
    Unique identifier of the user group
    name String
    The name of the user group.
    id string
    Unique identifier of the user group
    name string
    The name of the user group.
    id str
    Unique identifier of the user group
    name str
    The name of the user group.
    id String
    Unique identifier of the user group
    name String
    The name of the user group.

    Package Details

    Repository
    harness pulumi/pulumi-harness
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the harness Terraform Provider.
    harness logo
    Harness v0.3.2 published on Monday, Sep 16, 2024 by Pulumi