import * as pulumi from "@pulumi/pulumi"; /** * Retrieve information about the user associated with the authentication context used by the Datadog provider. This data source is also useful for retrieving organization metadata. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as datadog from "@pulumi/datadog"; * * const me = datadog.getCurrentUser({}); * const greeting = me.then(me => `Hello ${me.name}, your org id is ${me.orgId}`); * ``` */ export declare function getCurrentUser(opts?: pulumi.InvokeOptions): Promise; /** * A collection of values returned by getCurrentUser. */ export interface GetCurrentUserResult { /** * Email of the user. */ readonly email: string; /** * The user's handle. */ readonly handle: string; /** * The ID of this resource. */ readonly id: string; /** * Name of the user. */ readonly name: string; /** * The UUID of the user's organization. */ readonly orgId: string; /** * Name of the user's organization. */ readonly orgName: string; /** * The publicId of the user's organization. */ readonly orgPublicId: string; /** * Indicates whether the user is a service account. */ readonly serviceAccount: boolean; } /** * Retrieve information about the user associated with the authentication context used by the Datadog provider. This data source is also useful for retrieving organization metadata. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as datadog from "@pulumi/datadog"; * * const me = datadog.getCurrentUser({}); * const greeting = me.then(me => `Hello ${me.name}, your org id is ${me.orgId}`); * ``` */ export declare function getCurrentUserOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output; //# sourceMappingURL=getCurrentUser.d.ts.map