import * as pulumi from "@pulumi/pulumi"; /** * Data source for retrieving service account. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as harness from "@pulumi/harness"; * * const example = harness.platform.getServiceAccount({ * identifier: "identifier", * }); * ``` */ export declare function getServiceAccount(args?: GetServiceAccountArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getServiceAccount. */ export interface GetServiceAccountArgs { /** * Unique identifier of the resource. */ identifier?: string; /** * Name of the resource. */ name?: string; /** * Unique identifier of the organization. */ orgId?: string; /** * Unique identifier of the project. */ projectId?: string; } /** * A collection of values returned by getServiceAccount. */ export interface GetServiceAccountResult { /** * Account Identifier for the Entity. */ readonly accountId: string; /** * Description of the resource. */ readonly description: string; /** * Email of the Service Account. */ readonly email: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * Unique identifier of the resource. */ readonly identifier?: string; /** * Name of the resource. */ readonly name?: string; /** * Unique identifier of the organization. */ readonly orgId?: string; /** * Unique identifier of the project. */ readonly projectId?: string; /** * Tags to associate with the resource. */ readonly tags: string[]; } /** * Data source for retrieving service account. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as harness from "@pulumi/harness"; * * const example = harness.platform.getServiceAccount({ * identifier: "identifier", * }); * ``` */ export declare function getServiceAccountOutput(args?: GetServiceAccountOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getServiceAccount. */ export interface GetServiceAccountOutputArgs { /** * Unique identifier of the resource. */ identifier?: pulumi.Input; /** * Name of the resource. */ name?: pulumi.Input; /** * Unique identifier of the organization. */ orgId?: pulumi.Input; /** * Unique identifier of the project. */ projectId?: pulumi.Input; } //# sourceMappingURL=getServiceAccount.d.ts.map