import * as pulumi from "@pulumi/pulumi"; import { input as inputs, output as outputs } from "../types"; /** * Provides a VMware vRA vra.cloudaccount.Gcp data source. * * ## Example Usage * ### S * * **GCP cloud account data source by its id:** * * This is an example of how to create an GCP cloud account resource and read it as a data source using its id. * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as vra from "@pulumi/vra"; * * const this = vra.cloudaccount.getGcp({ * id: _var.vra_cloud_account_gcp_id, * }); * ``` * * **GCP cloud account data source by its name:** * * This is an example of how to read the cloud account data source using its name. * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as vra from "@pulumi/vra"; * * const this = vra.cloudaccount.getGcp({ * name: _var.vra_cloud_account_gcp_name, * }); * ``` */ export declare function getGcp(args?: GetGcpArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getGcp. */ export interface GetGcpArgs { /** * The id of this GCP cloud account. */ id?: string; /** * The name of this GCP cloud account. */ name?: string; /** * A set of tag keys and optional values that were set on this resource. * example:[ { "key" : "vmware", "value": "provider" } ] */ tags?: inputs.cloudaccount.GetGcpTag[]; } /** * A collection of values returned by getGcp. */ export interface GetGcpResult { /** * GCP Client email. */ readonly clientEmail: string; /** * Date when the entity was created. The date is in ISO 6801 and UTC. */ readonly createdAt: string; /** * A human-friendly description. */ readonly description: string; readonly id: string; /** * HATEOAS of the entity. */ readonly links: outputs.cloudaccount.GetGcpLink[]; readonly name: string; /** * The id of the organization this entity belongs to. */ readonly orgId: string; /** * Email of the user that owns the entity. */ readonly owner: string; /** * GCP Private key ID. */ readonly privateKeyId: string; /** * GCP Project ID. */ readonly projectId: string; /** * A set of region names that are enabled for this account. */ readonly regions: string[]; /** * A set of tag keys and optional values that were set on this resource. * example:[ { "key" : "vmware", "value": "provider" } ] */ readonly tags: outputs.cloudaccount.GetGcpTag[]; /** * Date when the entity was last updated. The date is ISO 8601 and UTC. */ readonly updatedAt: string; } export declare function getGcpOutput(args?: GetGcpOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output; /** * A collection of arguments for invoking getGcp. */ export interface GetGcpOutputArgs { /** * The id of this GCP cloud account. */ id?: pulumi.Input; /** * The name of this GCP cloud account. */ name?: pulumi.Input; /** * A set of tag keys and optional values that were set on this resource. * example:[ { "key" : "vmware", "value": "provider" } ] */ tags?: pulumi.Input[]>; }