Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi
google-native.vmwareengine/v1.getCluster
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi
Retrieves a Cluster resource by its resource name.
Using getCluster
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getCluster(args: GetClusterArgs, opts?: InvokeOptions): Promise<GetClusterResult>
function getClusterOutput(args: GetClusterOutputArgs, opts?: InvokeOptions): Output<GetClusterResult>def get_cluster(cluster_id: Optional[str] = None,
                location: Optional[str] = None,
                private_cloud_id: Optional[str] = None,
                project: Optional[str] = None,
                opts: Optional[InvokeOptions] = None) -> GetClusterResult
def get_cluster_output(cluster_id: Optional[pulumi.Input[str]] = None,
                location: Optional[pulumi.Input[str]] = None,
                private_cloud_id: Optional[pulumi.Input[str]] = None,
                project: Optional[pulumi.Input[str]] = None,
                opts: Optional[InvokeOptions] = None) -> Output[GetClusterResult]func LookupCluster(ctx *Context, args *LookupClusterArgs, opts ...InvokeOption) (*LookupClusterResult, error)
func LookupClusterOutput(ctx *Context, args *LookupClusterOutputArgs, opts ...InvokeOption) LookupClusterResultOutput> Note: This function is named LookupCluster in the Go SDK.
public static class GetCluster 
{
    public static Task<GetClusterResult> InvokeAsync(GetClusterArgs args, InvokeOptions? opts = null)
    public static Output<GetClusterResult> Invoke(GetClusterInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetClusterResult> getCluster(GetClusterArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: google-native:vmwareengine/v1:getCluster
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Cluster
Id string - Location string
 - Private
Cloud stringId  - Project string
 
- Cluster
Id string - Location string
 - Private
Cloud stringId  - Project string
 
- cluster
Id String - location String
 - private
Cloud StringId  - project String
 
- cluster
Id string - location string
 - private
Cloud stringId  - project string
 
- cluster_
id str - location str
 - private_
cloud_ strid  - project str
 
- cluster
Id String - location String
 - private
Cloud StringId  - project String
 
getCluster Result
The following output properties are available:
- Create
Time string - Creation time of this resource.
 - Management bool
 - 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.
 - Name string
 - 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 - Node
Type Dictionary<string, string>Configs  - The map of cluster node types in this cluster, where the key is canonical identifier of the node type (corresponds to the 
NodeType). - State string
 - State of the resource.
 - Stretched
Cluster Pulumi.Config Google Native. VMware Engine. V1. Outputs. Stretched Cluster Config Response  - Optional. Configuration of a stretched cluster. Required for clusters that belong to a STRETCHED private cloud.
 - Uid string
 - System-generated unique identifier for the resource.
 - Update
Time string - Last update time of this resource.
 
- Create
Time string - Creation time of this resource.
 - Management bool
 - 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.
 - Name string
 - 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 - Node
Type map[string]stringConfigs  - The map of cluster node types in this cluster, where the key is canonical identifier of the node type (corresponds to the 
NodeType). - State string
 - State of the resource.
 - Stretched
Cluster StretchedConfig Cluster Config Response  - Optional. Configuration of a stretched cluster. Required for clusters that belong to a STRETCHED private cloud.
 - Uid string
 - System-generated unique identifier for the resource.
 - Update
Time string - Last update time of this resource.
 
- create
Time String - Creation time of this resource.
 - management Boolean
 - 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.
 - name String
 - 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 - node
Type Map<String,String>Configs  - The map of cluster node types in this cluster, where the key is canonical identifier of the node type (corresponds to the 
NodeType). - state String
 - State of the resource.
 - stretched
Cluster StretchedConfig Cluster Config Response  - Optional. Configuration of a stretched cluster. Required for clusters that belong to a STRETCHED private cloud.
 - uid String
 - System-generated unique identifier for the resource.
 - update
Time String - Last update time of this resource.
 
- create
Time string - Creation time of this resource.
 - management boolean
 - 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.
 - name string
 - 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 - node
Type {[key: string]: string}Configs  - The map of cluster node types in this cluster, where the key is canonical identifier of the node type (corresponds to the 
NodeType). - state string
 - State of the resource.
 - stretched
Cluster StretchedConfig Cluster Config Response  - Optional. Configuration of a stretched cluster. Required for clusters that belong to a STRETCHED private cloud.
 - uid string
 - System-generated unique identifier for the resource.
 - update
Time string - Last update time of this resource.
 
- create_
time str - Creation time of this resource.
 - management bool
 - 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.
 - name str
 - 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 - node_
type_ Mapping[str, str]configs  - The map of cluster node types in this cluster, where the key is canonical identifier of the node type (corresponds to the 
NodeType). - state str
 - State of the resource.
 - stretched_
cluster_ Stretchedconfig Cluster Config Response  - Optional. Configuration of a stretched cluster. Required for clusters that belong to a STRETCHED private cloud.
 - uid str
 - System-generated unique identifier for the resource.
 - update_
time str - Last update time of this resource.
 
- create
Time String - Creation time of this resource.
 - management Boolean
 - 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.
 - name String
 - 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 - node
Type Map<String>Configs  - The map of cluster node types in this cluster, where the key is canonical identifier of the node type (corresponds to the 
NodeType). - state String
 - State of the resource.
 - stretched
Cluster Property MapConfig  - Optional. Configuration of a stretched cluster. Required for clusters that belong to a STRETCHED private cloud.
 - uid String
 - System-generated unique identifier for the resource.
 - update
Time String - Last update time of this resource.
 
Supporting Types
StretchedClusterConfigResponse   
- Preferred
Location string - Zone that will remain operational when connection between the two zones is lost. Specify the resource name of a zone that belongs to the region of the private cloud. For example: 
projects/{project}/locations/europe-west3-awhere{project}can either be a project number or a project ID. - Secondary
Location string - Additional zone for a higher level of availability and load balancing. Specify the resource name of a zone that belongs to the region of the private cloud. For example: 
projects/{project}/locations/europe-west3-bwhere{project}can either be a project number or a project ID. 
- Preferred
Location string - Zone that will remain operational when connection between the two zones is lost. Specify the resource name of a zone that belongs to the region of the private cloud. For example: 
projects/{project}/locations/europe-west3-awhere{project}can either be a project number or a project ID. - Secondary
Location string - Additional zone for a higher level of availability and load balancing. Specify the resource name of a zone that belongs to the region of the private cloud. For example: 
projects/{project}/locations/europe-west3-bwhere{project}can either be a project number or a project ID. 
- preferred
Location String - Zone that will remain operational when connection between the two zones is lost. Specify the resource name of a zone that belongs to the region of the private cloud. For example: 
projects/{project}/locations/europe-west3-awhere{project}can either be a project number or a project ID. - secondary
Location String - Additional zone for a higher level of availability and load balancing. Specify the resource name of a zone that belongs to the region of the private cloud. For example: 
projects/{project}/locations/europe-west3-bwhere{project}can either be a project number or a project ID. 
- preferred
Location string - Zone that will remain operational when connection between the two zones is lost. Specify the resource name of a zone that belongs to the region of the private cloud. For example: 
projects/{project}/locations/europe-west3-awhere{project}can either be a project number or a project ID. - secondary
Location string - Additional zone for a higher level of availability and load balancing. Specify the resource name of a zone that belongs to the region of the private cloud. For example: 
projects/{project}/locations/europe-west3-bwhere{project}can either be a project number or a project ID. 
- preferred_
location str - Zone that will remain operational when connection between the two zones is lost. Specify the resource name of a zone that belongs to the region of the private cloud. For example: 
projects/{project}/locations/europe-west3-awhere{project}can either be a project number or a project ID. - secondary_
location str - Additional zone for a higher level of availability and load balancing. Specify the resource name of a zone that belongs to the region of the private cloud. For example: 
projects/{project}/locations/europe-west3-bwhere{project}can either be a project number or a project ID. 
- preferred
Location String - Zone that will remain operational when connection between the two zones is lost. Specify the resource name of a zone that belongs to the region of the private cloud. For example: 
projects/{project}/locations/europe-west3-awhere{project}can either be a project number or a project ID. - secondary
Location String - Additional zone for a higher level of availability and load balancing. Specify the resource name of a zone that belongs to the region of the private cloud. For example: 
projects/{project}/locations/europe-west3-bwhere{project}can either be a project number or a project ID. 
Package Details
- Repository
 - Google Cloud Native pulumi/pulumi-google-native
 - License
 - Apache-2.0
 
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi