1. Packages
  2. Datadog
  3. API Docs
  4. getServiceAccount
Datadog v4.29.0 published on Friday, Jul 12, 2024 by Pulumi

datadog.getServiceAccount

Explore with Pulumi AI

datadog logo
Datadog v4.29.0 published on Friday, Jul 12, 2024 by Pulumi

    Use this data source to retrieve information about an existing Datadog service account.

    Using getServiceAccount

    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 getServiceAccount(args: GetServiceAccountArgs, opts?: InvokeOptions): Promise<GetServiceAccountResult>
    function getServiceAccountOutput(args: GetServiceAccountOutputArgs, opts?: InvokeOptions): Output<GetServiceAccountResult>
    def get_service_account(filter: Optional[str] = None,
                            filter_status: Optional[str] = None,
                            id: Optional[str] = None,
                            opts: Optional[InvokeOptions] = None) -> GetServiceAccountResult
    def get_service_account_output(filter: Optional[pulumi.Input[str]] = None,
                            filter_status: Optional[pulumi.Input[str]] = None,
                            id: Optional[pulumi.Input[str]] = None,
                            opts: Optional[InvokeOptions] = None) -> Output[GetServiceAccountResult]
    func LookupServiceAccount(ctx *Context, args *LookupServiceAccountArgs, opts ...InvokeOption) (*LookupServiceAccountResult, error)
    func LookupServiceAccountOutput(ctx *Context, args *LookupServiceAccountOutputArgs, opts ...InvokeOption) LookupServiceAccountResultOutput

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

    public static class GetServiceAccount 
    {
        public static Task<GetServiceAccountResult> InvokeAsync(GetServiceAccountArgs args, InvokeOptions? opts = null)
        public static Output<GetServiceAccountResult> Invoke(GetServiceAccountInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetServiceAccountResult> getServiceAccount(GetServiceAccountArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: datadog:index/getServiceAccount:getServiceAccount
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Filter string
    Filter all users and service accounts by name, email, or role.
    FilterStatus string
    Filter on status attribute. Comma separated list, with possible values Active, Pending, and Disabled.
    Id string
    The service account's ID.
    Filter string
    Filter all users and service accounts by name, email, or role.
    FilterStatus string
    Filter on status attribute. Comma separated list, with possible values Active, Pending, and Disabled.
    Id string
    The service account's ID.
    filter String
    Filter all users and service accounts by name, email, or role.
    filterStatus String
    Filter on status attribute. Comma separated list, with possible values Active, Pending, and Disabled.
    id String
    The service account's ID.
    filter string
    Filter all users and service accounts by name, email, or role.
    filterStatus string
    Filter on status attribute. Comma separated list, with possible values Active, Pending, and Disabled.
    id string
    The service account's ID.
    filter str
    Filter all users and service accounts by name, email, or role.
    filter_status str
    Filter on status attribute. Comma separated list, with possible values Active, Pending, and Disabled.
    id str
    The service account's ID.
    filter String
    Filter all users and service accounts by name, email, or role.
    filterStatus String
    Filter on status attribute. Comma separated list, with possible values Active, Pending, and Disabled.
    id String
    The service account's ID.

    getServiceAccount Result

    The following output properties are available:

    Disabled bool
    Whether the user is disabled.
    Email string
    Email of the user.
    Handle string
    Handle of the user.
    Icon string
    URL of the user's icon.
    Id string
    The service account's ID.
    Name string
    Name of the user.
    Roles List<string>
    Roles assigned to this service account.
    Status string
    Status of the user.
    Title string
    Title of the user.
    Verified bool
    Whether the user is verified.
    Filter string
    Filter all users and service accounts by name, email, or role.
    FilterStatus string
    Filter on status attribute. Comma separated list, with possible values Active, Pending, and Disabled.
    Disabled bool
    Whether the user is disabled.
    Email string
    Email of the user.
    Handle string
    Handle of the user.
    Icon string
    URL of the user's icon.
    Id string
    The service account's ID.
    Name string
    Name of the user.
    Roles []string
    Roles assigned to this service account.
    Status string
    Status of the user.
    Title string
    Title of the user.
    Verified bool
    Whether the user is verified.
    Filter string
    Filter all users and service accounts by name, email, or role.
    FilterStatus string
    Filter on status attribute. Comma separated list, with possible values Active, Pending, and Disabled.
    disabled Boolean
    Whether the user is disabled.
    email String
    Email of the user.
    handle String
    Handle of the user.
    icon String
    URL of the user's icon.
    id String
    The service account's ID.
    name String
    Name of the user.
    roles List<String>
    Roles assigned to this service account.
    status String
    Status of the user.
    title String
    Title of the user.
    verified Boolean
    Whether the user is verified.
    filter String
    Filter all users and service accounts by name, email, or role.
    filterStatus String
    Filter on status attribute. Comma separated list, with possible values Active, Pending, and Disabled.
    disabled boolean
    Whether the user is disabled.
    email string
    Email of the user.
    handle string
    Handle of the user.
    icon string
    URL of the user's icon.
    id string
    The service account's ID.
    name string
    Name of the user.
    roles string[]
    Roles assigned to this service account.
    status string
    Status of the user.
    title string
    Title of the user.
    verified boolean
    Whether the user is verified.
    filter string
    Filter all users and service accounts by name, email, or role.
    filterStatus string
    Filter on status attribute. Comma separated list, with possible values Active, Pending, and Disabled.
    disabled bool
    Whether the user is disabled.
    email str
    Email of the user.
    handle str
    Handle of the user.
    icon str
    URL of the user's icon.
    id str
    The service account's ID.
    name str
    Name of the user.
    roles Sequence[str]
    Roles assigned to this service account.
    status str
    Status of the user.
    title str
    Title of the user.
    verified bool
    Whether the user is verified.
    filter str
    Filter all users and service accounts by name, email, or role.
    filter_status str
    Filter on status attribute. Comma separated list, with possible values Active, Pending, and Disabled.
    disabled Boolean
    Whether the user is disabled.
    email String
    Email of the user.
    handle String
    Handle of the user.
    icon String
    URL of the user's icon.
    id String
    The service account's ID.
    name String
    Name of the user.
    roles List<String>
    Roles assigned to this service account.
    status String
    Status of the user.
    title String
    Title of the user.
    verified Boolean
    Whether the user is verified.
    filter String
    Filter all users and service accounts by name, email, or role.
    filterStatus String
    Filter on status attribute. Comma separated list, with possible values Active, Pending, and Disabled.

    Package Details

    Repository
    Datadog pulumi/pulumi-datadog
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the datadog Terraform Provider.
    datadog logo
    Datadog v4.29.0 published on Friday, Jul 12, 2024 by Pulumi