import * as pulumi from "@pulumi/pulumi"; /** * Use this data source to retrieve information about an existing user to use it in an other resources. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as datadog from "@pulumi/datadog"; * * const test = datadog.getUser({ * filter: "user.name@company.com", * }); * ``` */ export declare function getUser(args: GetUserArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getUser. */ export interface GetUserArgs { /** * When true, `filter` string is exact matched against the user's `email`, followed by `name` attribute. Defaults to `false`. */ exactMatch?: boolean; /** * When true, service accounts are excluded from the result. Defaults to `false`. */ excludeServiceAccounts?: boolean; /** * Filter all users by the given string. */ filter: string; } /** * A collection of values returned by getUser. */ export interface GetUserResult { /** * The time when the user was created (RFC3339 format). */ readonly createdAt: string; /** * Indicates whether the user is disabled. */ readonly disabled: boolean; /** * Email of the user. */ readonly email: string; /** * When true, `filter` string is exact matched against the user's `email`, followed by `name` attribute. Defaults to `false`. */ readonly exactMatch?: boolean; /** * When true, service accounts are excluded from the result. Defaults to `false`. */ readonly excludeServiceAccounts?: boolean; /** * Filter all users by the given string. */ readonly filter: string; /** * The user's handle. */ readonly handle: string; /** * The URL where the user's icon is located. */ readonly icon: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * Indicates whether the user has enabled MFA. */ readonly mfaEnabled: boolean; /** * The time at which the user was last updated (RFC3339 format). */ readonly modifiedAt: string; /** * Name of the user. */ readonly name: string; /** * Indicates whether the user is a service account. */ readonly serviceAccount: boolean; /** * The user's status. */ readonly status: string; /** * The user's title. */ readonly title: string; /** * Indicates whether the user is verified. */ readonly verified: boolean; } /** * Use this data source to retrieve information about an existing user to use it in an other resources. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as datadog from "@pulumi/datadog"; * * const test = datadog.getUser({ * filter: "user.name@company.com", * }); * ``` */ export declare function getUserOutput(args: GetUserOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getUser. */ export interface GetUserOutputArgs { /** * When true, `filter` string is exact matched against the user's `email`, followed by `name` attribute. Defaults to `false`. */ exactMatch?: pulumi.Input; /** * When true, service accounts are excluded from the result. Defaults to `false`. */ excludeServiceAccounts?: pulumi.Input; /** * Filter all users by the given string. */ filter: pulumi.Input; }