UNPKG

@pulumi/gcp

Version:

A Pulumi package for creating and managing Google Cloud Platform resources.

78 lines (77 loc) 2.56 kB
import * as pulumi from "@pulumi/pulumi"; /** * Use this data source to retrieve the default App Engine service account for the specified project. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as gcp from "@pulumi/gcp"; * * const _default = gcp.appengine.getDefaultServiceAccount({}); * export const defaultAccount = _default.then(_default => _default.email); * ``` */ export declare function getDefaultServiceAccount(args?: GetDefaultServiceAccountArgs, opts?: pulumi.InvokeOptions): Promise<GetDefaultServiceAccountResult>; /** * A collection of arguments for invoking getDefaultServiceAccount. */ export interface GetDefaultServiceAccountArgs { /** * The project ID. If it is not provided, the provider project is used. */ project?: string; } /** * A collection of values returned by getDefaultServiceAccount. */ export interface GetDefaultServiceAccountResult { /** * The display name for the service account. */ readonly displayName: string; /** * Email address of the default service account used by App Engine in this project. */ readonly email: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The Identity of the service account in the form `serviceAccount:{email}`. This value is often used to refer to the service account in order to grant IAM permissions. */ readonly member: string; /** * The fully-qualified name of the service account. */ readonly name: string; readonly project: string; /** * The unique id of the service account. */ readonly uniqueId: string; } /** * Use this data source to retrieve the default App Engine service account for the specified project. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as gcp from "@pulumi/gcp"; * * const _default = gcp.appengine.getDefaultServiceAccount({}); * export const defaultAccount = _default.then(_default => _default.email); * ``` */ export declare function getDefaultServiceAccountOutput(args?: GetDefaultServiceAccountOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetDefaultServiceAccountResult>; /** * A collection of arguments for invoking getDefaultServiceAccount. */ export interface GetDefaultServiceAccountOutputArgs { /** * The project ID. If it is not provided, the provider project is used. */ project?: pulumi.Input<string>; }