UNPKG

@pulumi/gcp

Version:

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

83 lines (82 loc) 2.54 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Use this data source to get details about a cluster resource. * * To get more information about private cloud cluster, see: * * [API documentation](https://cloud.google.com/vmware-engine/docs/reference/rest/v1/projects.locations.privateClouds.clusters) * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as gcp from "@pulumi/gcp"; * * const myCluster = gcp.vmwareengine.getCluster({ * name: "my-cluster", * parent: "project/locations/us-west1-a/privateClouds/my-cloud", * }); * ``` */ export declare function getCluster(args: GetClusterArgs, opts?: pulumi.InvokeOptions): Promise<GetClusterResult>; /** * A collection of arguments for invoking getCluster. */ export interface GetClusterArgs { /** * Name of the resource. */ name: string; /** * The resource name of the private cloud that this cluster belongs. */ parent: string; } /** * A collection of values returned by getCluster. */ export interface GetClusterResult { readonly autoscalingSettings: outputs.vmwareengine.GetClusterAutoscalingSetting[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly management: boolean; readonly name: string; readonly nodeTypeConfigs: outputs.vmwareengine.GetClusterNodeTypeConfig[]; readonly parent: string; readonly state: string; readonly uid: string; } /** * Use this data source to get details about a cluster resource. * * To get more information about private cloud cluster, see: * * [API documentation](https://cloud.google.com/vmware-engine/docs/reference/rest/v1/projects.locations.privateClouds.clusters) * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as gcp from "@pulumi/gcp"; * * const myCluster = gcp.vmwareengine.getCluster({ * name: "my-cluster", * parent: "project/locations/us-west1-a/privateClouds/my-cloud", * }); * ``` */ export declare function getClusterOutput(args: GetClusterOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetClusterResult>; /** * A collection of arguments for invoking getCluster. */ export interface GetClusterOutputArgs { /** * Name of the resource. */ name: pulumi.Input<string>; /** * The resource name of the private cloud that this cluster belongs. */ parent: pulumi.Input<string>; }