UNPKG

@pulumi/gcp

Version:

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

104 lines (103 loc) 3.15 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Use this data source to get details about a private cloud resource. * * To get more information about private cloud, see: * * [API documentation](https://cloud.google.com/vmware-engine/docs/reference/rest/v1/projects.locations.privateClouds) * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as gcp from "@pulumi/gcp"; * * const myPc = gcp.vmwareengine.getPrivateCloud({ * name: "my-pc", * location: "us-central1-a", * }); * ``` */ export declare function getPrivateCloud(args: GetPrivateCloudArgs, opts?: pulumi.InvokeOptions): Promise<GetPrivateCloudResult>; /** * A collection of arguments for invoking getPrivateCloud. */ export interface GetPrivateCloudArgs { /** * Location of the resource. * * - - - */ location: string; /** * Name of the resource. */ name: string; /** * The ID of the project in which the resource belongs. If it * is not provided, the provider project is used. */ project?: string; } /** * A collection of values returned by getPrivateCloud. */ export interface GetPrivateCloudResult { readonly deletionDelayHours: number; readonly description: string; readonly hcxes: outputs.vmwareengine.GetPrivateCloudHcx[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly location: string; readonly managementClusters: outputs.vmwareengine.GetPrivateCloudManagementCluster[]; readonly name: string; readonly networkConfigs: outputs.vmwareengine.GetPrivateCloudNetworkConfig[]; readonly nsxes: outputs.vmwareengine.GetPrivateCloudNsx[]; readonly project?: string; readonly sendDeletionDelayHoursIfZero: boolean; readonly state: string; readonly type: string; readonly uid: string; readonly vcenters: outputs.vmwareengine.GetPrivateCloudVcenter[]; } /** * Use this data source to get details about a private cloud resource. * * To get more information about private cloud, see: * * [API documentation](https://cloud.google.com/vmware-engine/docs/reference/rest/v1/projects.locations.privateClouds) * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as gcp from "@pulumi/gcp"; * * const myPc = gcp.vmwareengine.getPrivateCloud({ * name: "my-pc", * location: "us-central1-a", * }); * ``` */ export declare function getPrivateCloudOutput(args: GetPrivateCloudOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetPrivateCloudResult>; /** * A collection of arguments for invoking getPrivateCloud. */ export interface GetPrivateCloudOutputArgs { /** * Location of the resource. * * - - - */ location: pulumi.Input<string>; /** * Name of the resource. */ name: pulumi.Input<string>; /** * The ID of the project in which the resource belongs. If it * is not provided, the provider project is used. */ project?: pulumi.Input<string>; }