1. Packages
  2. Gitlab Provider
  3. API Docs
  4. getGroupServiceAccount
GitLab v8.5.0 published on Friday, Oct 18, 2024 by Pulumi

gitlab.getGroupServiceAccount

Explore with Pulumi AI

gitlab logo
GitLab v8.5.0 published on Friday, Oct 18, 2024 by Pulumi

    The gitlab.GroupServiceAccount data source retrieves information about a gitlab service account for a group.

    Upstream API: GitLab REST API docs

    Using getGroupServiceAccount

    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 getGroupServiceAccount(args: GetGroupServiceAccountArgs, opts?: InvokeOptions): Promise<GetGroupServiceAccountResult>
    function getGroupServiceAccountOutput(args: GetGroupServiceAccountOutputArgs, opts?: InvokeOptions): Output<GetGroupServiceAccountResult>
    def get_group_service_account(group: Optional[str] = None,
                                  name: Optional[str] = None,
                                  service_account_id: Optional[str] = None,
                                  username: Optional[str] = None,
                                  opts: Optional[InvokeOptions] = None) -> GetGroupServiceAccountResult
    def get_group_service_account_output(group: Optional[pulumi.Input[str]] = None,
                                  name: Optional[pulumi.Input[str]] = None,
                                  service_account_id: Optional[pulumi.Input[str]] = None,
                                  username: Optional[pulumi.Input[str]] = None,
                                  opts: Optional[InvokeOptions] = None) -> Output[GetGroupServiceAccountResult]
    func LookupGroupServiceAccount(ctx *Context, args *LookupGroupServiceAccountArgs, opts ...InvokeOption) (*LookupGroupServiceAccountResult, error)
    func LookupGroupServiceAccountOutput(ctx *Context, args *LookupGroupServiceAccountOutputArgs, opts ...InvokeOption) LookupGroupServiceAccountResultOutput

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

    public static class GetGroupServiceAccount 
    {
        public static Task<GetGroupServiceAccountResult> InvokeAsync(GetGroupServiceAccountArgs args, InvokeOptions? opts = null)
        public static Output<GetGroupServiceAccountResult> Invoke(GetGroupServiceAccountInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetGroupServiceAccountResult> getGroupServiceAccount(GetGroupServiceAccountArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: gitlab:index/getGroupServiceAccount:getGroupServiceAccount
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Group string
    The ID or URL-encoded path of the target group. Must be a top-level group.
    ServiceAccountId string
    The service account id.
    Name string
    The name of the user. If not specified, the default Service account user name is used.
    Username string
    The username of the user. If not specified, it's automatically generated.
    Group string
    The ID or URL-encoded path of the target group. Must be a top-level group.
    ServiceAccountId string
    The service account id.
    Name string
    The name of the user. If not specified, the default Service account user name is used.
    Username string
    The username of the user. If not specified, it's automatically generated.
    group String
    The ID or URL-encoded path of the target group. Must be a top-level group.
    serviceAccountId String
    The service account id.
    name String
    The name of the user. If not specified, the default Service account user name is used.
    username String
    The username of the user. If not specified, it's automatically generated.
    group string
    The ID or URL-encoded path of the target group. Must be a top-level group.
    serviceAccountId string
    The service account id.
    name string
    The name of the user. If not specified, the default Service account user name is used.
    username string
    The username of the user. If not specified, it's automatically generated.
    group str
    The ID or URL-encoded path of the target group. Must be a top-level group.
    service_account_id str
    The service account id.
    name str
    The name of the user. If not specified, the default Service account user name is used.
    username str
    The username of the user. If not specified, it's automatically generated.
    group String
    The ID or URL-encoded path of the target group. Must be a top-level group.
    serviceAccountId String
    The service account id.
    name String
    The name of the user. If not specified, the default Service account user name is used.
    username String
    The username of the user. If not specified, it's automatically generated.

    getGroupServiceAccount Result

    The following output properties are available:

    Group string
    The ID or URL-encoded path of the target group. Must be a top-level group.
    Id string
    ServiceAccountId string
    The service account id.
    Name string
    The name of the user. If not specified, the default Service account user name is used.
    Username string
    The username of the user. If not specified, it's automatically generated.
    Group string
    The ID or URL-encoded path of the target group. Must be a top-level group.
    Id string
    ServiceAccountId string
    The service account id.
    Name string
    The name of the user. If not specified, the default Service account user name is used.
    Username string
    The username of the user. If not specified, it's automatically generated.
    group String
    The ID or URL-encoded path of the target group. Must be a top-level group.
    id String
    serviceAccountId String
    The service account id.
    name String
    The name of the user. If not specified, the default Service account user name is used.
    username String
    The username of the user. If not specified, it's automatically generated.
    group string
    The ID or URL-encoded path of the target group. Must be a top-level group.
    id string
    serviceAccountId string
    The service account id.
    name string
    The name of the user. If not specified, the default Service account user name is used.
    username string
    The username of the user. If not specified, it's automatically generated.
    group str
    The ID or URL-encoded path of the target group. Must be a top-level group.
    id str
    service_account_id str
    The service account id.
    name str
    The name of the user. If not specified, the default Service account user name is used.
    username str
    The username of the user. If not specified, it's automatically generated.
    group String
    The ID or URL-encoded path of the target group. Must be a top-level group.
    id String
    serviceAccountId String
    The service account id.
    name String
    The name of the user. If not specified, the default Service account user name is used.
    username String
    The username of the user. If not specified, it's automatically generated.

    Package Details

    Repository
    GitLab pulumi/pulumi-gitlab
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the gitlab Terraform Provider.
    gitlab logo
    GitLab v8.5.0 published on Friday, Oct 18, 2024 by Pulumi