import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../../types/output"; /** * Retrieves a `Cluster` resource by its resource name. */ export declare function getCluster(args: GetClusterArgs, opts?: pulumi.InvokeOptions): Promise; export interface GetClusterArgs { clusterId: string; location: string; privateCloudId: string; project?: string; } export interface GetClusterResult { /** * Creation time of this resource. */ readonly createTime: string; /** * True if the cluster is a management cluster; false otherwise. There can only be one management cluster in a private cloud and it has to be the first one. */ readonly management: boolean; /** * The resource name of this cluster. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/clusters/my-cluster` */ readonly name: string; /** * The map of cluster node types in this cluster, where the key is canonical identifier of the node type (corresponds to the `NodeType`). */ readonly nodeTypeConfigs: { [key: string]: string; }; /** * State of the resource. */ readonly state: string; /** * Optional. Configuration of a stretched cluster. Required for clusters that belong to a STRETCHED private cloud. */ readonly stretchedClusterConfig: outputs.vmwareengine.v1.StretchedClusterConfigResponse; /** * System-generated unique identifier for the resource. */ readonly uid: string; /** * Last update time of this resource. */ readonly updateTime: string; } /** * Retrieves a `Cluster` resource by its resource name. */ export declare function getClusterOutput(args: GetClusterOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output; export interface GetClusterOutputArgs { clusterId: pulumi.Input; location: pulumi.Input; privateCloudId: pulumi.Input; project?: pulumi.Input; }