Google Cloud Classic v7.29.0 published on Wednesday, Jun 26, 2024 by Pulumi
gcp.vmwareengine.getPrivateCloud
Explore with Pulumi AI
Use this data source to get details about a private cloud resource.
To get more information about private cloud, see:
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const myPc = gcp.vmwareengine.getPrivateCloud({
name: "my-pc",
location: "us-central1-a",
});
import pulumi
import pulumi_gcp as gcp
my_pc = gcp.vmwareengine.get_private_cloud(name="my-pc",
location="us-central1-a")
package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/vmwareengine"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := vmwareengine.LookupPrivateCloud(ctx, &vmwareengine.LookupPrivateCloudArgs{
Name: "my-pc",
Location: "us-central1-a",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;
return await Deployment.RunAsync(() =>
{
var myPc = Gcp.VMwareEngine.GetPrivateCloud.Invoke(new()
{
Name = "my-pc",
Location = "us-central1-a",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.vmwareengine.VmwareengineFunctions;
import com.pulumi.gcp.vmwareengine.inputs.GetPrivateCloudArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var myPc = VmwareengineFunctions.getPrivateCloud(GetPrivateCloudArgs.builder()
.name("my-pc")
.location("us-central1-a")
.build());
}
}
variables:
myPc:
fn::invoke:
Function: gcp:vmwareengine:getPrivateCloud
Arguments:
name: my-pc
location: us-central1-a
Using getPrivateCloud
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 getPrivateCloud(args: GetPrivateCloudArgs, opts?: InvokeOptions): Promise<GetPrivateCloudResult>
function getPrivateCloudOutput(args: GetPrivateCloudOutputArgs, opts?: InvokeOptions): Output<GetPrivateCloudResult>
def get_private_cloud(location: Optional[str] = None,
name: Optional[str] = None,
project: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetPrivateCloudResult
def get_private_cloud_output(location: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
project: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetPrivateCloudResult]
func LookupPrivateCloud(ctx *Context, args *LookupPrivateCloudArgs, opts ...InvokeOption) (*LookupPrivateCloudResult, error)
func LookupPrivateCloudOutput(ctx *Context, args *LookupPrivateCloudOutputArgs, opts ...InvokeOption) LookupPrivateCloudResultOutput
> Note: This function is named LookupPrivateCloud
in the Go SDK.
public static class GetPrivateCloud
{
public static Task<GetPrivateCloudResult> InvokeAsync(GetPrivateCloudArgs args, InvokeOptions? opts = null)
public static Output<GetPrivateCloudResult> Invoke(GetPrivateCloudInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetPrivateCloudResult> getPrivateCloud(GetPrivateCloudArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: gcp:vmwareengine/getPrivateCloud:getPrivateCloud
arguments:
# arguments dictionary
The following arguments are supported:
getPrivateCloud Result
The following output properties are available:
- Description string
- Hcxes
List<Get
Private Cloud Hcx> - Id string
- The provider-assigned unique ID for this managed resource.
- Location string
- Management
Clusters List<GetPrivate Cloud Management Cluster> - Name string
- Network
Configs List<GetPrivate Cloud Network Config> - Nsxes
List<Get
Private Cloud Nsx> - State string
- Type string
- Uid string
- Vcenters
List<Get
Private Cloud Vcenter> - Project string
- Description string
- Hcxes
[]Get
Private Cloud Hcx - Id string
- The provider-assigned unique ID for this managed resource.
- Location string
- Management
Clusters []GetPrivate Cloud Management Cluster - Name string
- Network
Configs []GetPrivate Cloud Network Config - Nsxes
[]Get
Private Cloud Nsx - State string
- Type string
- Uid string
- Vcenters
[]Get
Private Cloud Vcenter - Project string
- description String
- hcxes
List<Get
Private Cloud Hcx> - id String
- The provider-assigned unique ID for this managed resource.
- location String
- management
Clusters List<GetPrivate Cloud Management Cluster> - name String
- network
Configs List<GetPrivate Cloud Network Config> - nsxes
List<Get
Private Cloud Nsx> - state String
- type String
- uid String
- vcenters
List<Get
Private Cloud Vcenter> - project String
- description string
- hcxes
Get
Private Cloud Hcx[] - id string
- The provider-assigned unique ID for this managed resource.
- location string
- management
Clusters GetPrivate Cloud Management Cluster[] - name string
- network
Configs GetPrivate Cloud Network Config[] - nsxes
Get
Private Cloud Nsx[] - state string
- type string
- uid string
- vcenters
Get
Private Cloud Vcenter[] - project string
- description str
- hcxes
Sequence[Get
Private Cloud Hcx] - id str
- The provider-assigned unique ID for this managed resource.
- location str
- management_
clusters Sequence[GetPrivate Cloud Management Cluster] - name str
- network_
configs Sequence[GetPrivate Cloud Network Config] - nsxes
Sequence[Get
Private Cloud Nsx] - state str
- type str
- uid str
- vcenters
Sequence[Get
Private Cloud Vcenter] - project str
- description String
- hcxes List<Property Map>
- id String
- The provider-assigned unique ID for this managed resource.
- location String
- management
Clusters List<Property Map> - name String
- network
Configs List<Property Map> - nsxes List<Property Map>
- state String
- type String
- uid String
- vcenters List<Property Map>
- project String
Supporting Types
GetPrivateCloudHcx
- Fqdn string
- Fully qualified domain name of the appliance.
- Internal
Ip string - Internal IP address of the appliance.
- State string
- State of the appliance. Possible values: ["ACTIVE", "CREATING"]
- Version string
- Version of the appliance.
- Fqdn string
- Fully qualified domain name of the appliance.
- Internal
Ip string - Internal IP address of the appliance.
- State string
- State of the appliance. Possible values: ["ACTIVE", "CREATING"]
- Version string
- Version of the appliance.
- fqdn String
- Fully qualified domain name of the appliance.
- internal
Ip String - Internal IP address of the appliance.
- state String
- State of the appliance. Possible values: ["ACTIVE", "CREATING"]
- version String
- Version of the appliance.
- fqdn string
- Fully qualified domain name of the appliance.
- internal
Ip string - Internal IP address of the appliance.
- state string
- State of the appliance. Possible values: ["ACTIVE", "CREATING"]
- version string
- Version of the appliance.
- fqdn str
- Fully qualified domain name of the appliance.
- internal_
ip str - Internal IP address of the appliance.
- state str
- State of the appliance. Possible values: ["ACTIVE", "CREATING"]
- version str
- Version of the appliance.
- fqdn String
- Fully qualified domain name of the appliance.
- internal
Ip String - Internal IP address of the appliance.
- state String
- State of the appliance. Possible values: ["ACTIVE", "CREATING"]
- version String
- Version of the appliance.
GetPrivateCloudManagementCluster
- Cluster
Id string - The user-provided identifier of the new Cluster. The identifier must meet the following requirements:
- Only contains 1-63 alphanumeric characters and hyphens
- Begins with an alphabetical character
- Ends with a non-hyphen character
- Not formatted as a UUID
- Complies with RFC 1034 (https://datatracker.ietf.org/doc/html/rfc1034) (section 3.5)
- Node
Type List<GetConfigs Private Cloud Management Cluster Node Type Config> - The map of cluster node types in this cluster, where the key is canonical identifier of the node type (corresponds to the NodeType).
- Stretched
Cluster List<GetConfigs Private Cloud Management Cluster Stretched Cluster Config> - The stretched cluster configuration for the private cloud.
- Cluster
Id string - The user-provided identifier of the new Cluster. The identifier must meet the following requirements:
- Only contains 1-63 alphanumeric characters and hyphens
- Begins with an alphabetical character
- Ends with a non-hyphen character
- Not formatted as a UUID
- Complies with RFC 1034 (https://datatracker.ietf.org/doc/html/rfc1034) (section 3.5)
- Node
Type []GetConfigs Private Cloud Management Cluster Node Type Config - The map of cluster node types in this cluster, where the key is canonical identifier of the node type (corresponds to the NodeType).
- Stretched
Cluster []GetConfigs Private Cloud Management Cluster Stretched Cluster Config - The stretched cluster configuration for the private cloud.
- cluster
Id String - The user-provided identifier of the new Cluster. The identifier must meet the following requirements:
- Only contains 1-63 alphanumeric characters and hyphens
- Begins with an alphabetical character
- Ends with a non-hyphen character
- Not formatted as a UUID
- Complies with RFC 1034 (https://datatracker.ietf.org/doc/html/rfc1034) (section 3.5)
- node
Type List<GetConfigs Private Cloud Management Cluster Node Type Config> - The map of cluster node types in this cluster, where the key is canonical identifier of the node type (corresponds to the NodeType).
- stretched
Cluster List<GetConfigs Private Cloud Management Cluster Stretched Cluster Config> - The stretched cluster configuration for the private cloud.
- cluster
Id string - The user-provided identifier of the new Cluster. The identifier must meet the following requirements:
- Only contains 1-63 alphanumeric characters and hyphens
- Begins with an alphabetical character
- Ends with a non-hyphen character
- Not formatted as a UUID
- Complies with RFC 1034 (https://datatracker.ietf.org/doc/html/rfc1034) (section 3.5)
- node
Type GetConfigs Private Cloud Management Cluster Node Type Config[] - The map of cluster node types in this cluster, where the key is canonical identifier of the node type (corresponds to the NodeType).
- stretched
Cluster GetConfigs Private Cloud Management Cluster Stretched Cluster Config[] - The stretched cluster configuration for the private cloud.
- cluster_
id str - The user-provided identifier of the new Cluster. The identifier must meet the following requirements:
- Only contains 1-63 alphanumeric characters and hyphens
- Begins with an alphabetical character
- Ends with a non-hyphen character
- Not formatted as a UUID
- Complies with RFC 1034 (https://datatracker.ietf.org/doc/html/rfc1034) (section 3.5)
- node_
type_ Sequence[Getconfigs Private Cloud Management Cluster Node Type Config] - The map of cluster node types in this cluster, where the key is canonical identifier of the node type (corresponds to the NodeType).
- stretched_
cluster_ Sequence[Getconfigs Private Cloud Management Cluster Stretched Cluster Config] - The stretched cluster configuration for the private cloud.
- cluster
Id String - The user-provided identifier of the new Cluster. The identifier must meet the following requirements:
- Only contains 1-63 alphanumeric characters and hyphens
- Begins with an alphabetical character
- Ends with a non-hyphen character
- Not formatted as a UUID
- Complies with RFC 1034 (https://datatracker.ietf.org/doc/html/rfc1034) (section 3.5)
- node
Type List<Property Map>Configs - The map of cluster node types in this cluster, where the key is canonical identifier of the node type (corresponds to the NodeType).
- stretched
Cluster List<Property Map>Configs - The stretched cluster configuration for the private cloud.
GetPrivateCloudManagementClusterNodeTypeConfig
- Custom
Core intCount - Customized number of cores available to each node of the type. This number must always be one of 'nodeType.availableCustomCoreCounts'. If zero is provided max value from 'nodeType.availableCustomCoreCounts' will be used. This cannot be changed once the PrivateCloud is created.
- Node
Count int - The number of nodes of this type in the cluster.
- Node
Type stringId
- Custom
Core intCount - Customized number of cores available to each node of the type. This number must always be one of 'nodeType.availableCustomCoreCounts'. If zero is provided max value from 'nodeType.availableCustomCoreCounts' will be used. This cannot be changed once the PrivateCloud is created.
- Node
Count int - The number of nodes of this type in the cluster.
- Node
Type stringId
- custom
Core IntegerCount - Customized number of cores available to each node of the type. This number must always be one of 'nodeType.availableCustomCoreCounts'. If zero is provided max value from 'nodeType.availableCustomCoreCounts' will be used. This cannot be changed once the PrivateCloud is created.
- node
Count Integer - The number of nodes of this type in the cluster.
- node
Type StringId
- custom
Core numberCount - Customized number of cores available to each node of the type. This number must always be one of 'nodeType.availableCustomCoreCounts'. If zero is provided max value from 'nodeType.availableCustomCoreCounts' will be used. This cannot be changed once the PrivateCloud is created.
- node
Count number - The number of nodes of this type in the cluster.
- node
Type stringId
- custom_
core_ intcount - Customized number of cores available to each node of the type. This number must always be one of 'nodeType.availableCustomCoreCounts'. If zero is provided max value from 'nodeType.availableCustomCoreCounts' will be used. This cannot be changed once the PrivateCloud is created.
- node_
count int - The number of nodes of this type in the cluster.
- node_
type_ strid
- custom
Core NumberCount - Customized number of cores available to each node of the type. This number must always be one of 'nodeType.availableCustomCoreCounts'. If zero is provided max value from 'nodeType.availableCustomCoreCounts' will be used. This cannot be changed once the PrivateCloud is created.
- node
Count Number - The number of nodes of this type in the cluster.
- node
Type StringId
GetPrivateCloudManagementClusterStretchedClusterConfig
- Preferred
Location string - Zone that will remain operational when connection between the two zones is lost.
- Secondary
Location string - Additional zone for a higher level of availability and load balancing.
- Preferred
Location string - Zone that will remain operational when connection between the two zones is lost.
- Secondary
Location string - Additional zone for a higher level of availability and load balancing.
- preferred
Location String - Zone that will remain operational when connection between the two zones is lost.
- secondary
Location String - Additional zone for a higher level of availability and load balancing.
- preferred
Location string - Zone that will remain operational when connection between the two zones is lost.
- secondary
Location string - Additional zone for a higher level of availability and load balancing.
- preferred_
location str - Zone that will remain operational when connection between the two zones is lost.
- secondary_
location str - Additional zone for a higher level of availability and load balancing.
- preferred
Location String - Zone that will remain operational when connection between the two zones is lost.
- secondary
Location String - Additional zone for a higher level of availability and load balancing.
GetPrivateCloudNetworkConfig
- Dns
Server stringIp - DNS Server IP of the Private Cloud.
- Management
Cidr string - Management CIDR used by VMware management appliances.
- Management
Ip intAddress Layout Version - The IP address layout version of the management IP address range.
Possible versions include:
- managementIpAddressLayoutVersion=1: Indicates the legacy IP address layout used by some existing private clouds. This is no longer supported for new private clouds as it does not support all features.
- managementIpAddressLayoutVersion=2: Indicates the latest IP address layout used by all newly created private clouds. This version supports all current features.
- Vmware
Engine stringNetwork - The relative resource name of the VMware Engine network attached to the private cloud. Specify the name in the following form: projects/{project}/locations/{location}/vmwareEngineNetworks/{vmwareEngineNetworkId} where {project} can either be a project number or a project ID.
- Vmware
Engine stringNetwork Canonical - The canonical name of the VMware Engine network in the form: projects/{project_number}/locations/{location}/vmwareEngineNetworks/{vmwareEngineNetworkId}
- Dns
Server stringIp - DNS Server IP of the Private Cloud.
- Management
Cidr string - Management CIDR used by VMware management appliances.
- Management
Ip intAddress Layout Version - The IP address layout version of the management IP address range.
Possible versions include:
- managementIpAddressLayoutVersion=1: Indicates the legacy IP address layout used by some existing private clouds. This is no longer supported for new private clouds as it does not support all features.
- managementIpAddressLayoutVersion=2: Indicates the latest IP address layout used by all newly created private clouds. This version supports all current features.
- Vmware
Engine stringNetwork - The relative resource name of the VMware Engine network attached to the private cloud. Specify the name in the following form: projects/{project}/locations/{location}/vmwareEngineNetworks/{vmwareEngineNetworkId} where {project} can either be a project number or a project ID.
- Vmware
Engine stringNetwork Canonical - The canonical name of the VMware Engine network in the form: projects/{project_number}/locations/{location}/vmwareEngineNetworks/{vmwareEngineNetworkId}
- dns
Server StringIp - DNS Server IP of the Private Cloud.
- management
Cidr String - Management CIDR used by VMware management appliances.
- management
Ip IntegerAddress Layout Version - The IP address layout version of the management IP address range.
Possible versions include:
- managementIpAddressLayoutVersion=1: Indicates the legacy IP address layout used by some existing private clouds. This is no longer supported for new private clouds as it does not support all features.
- managementIpAddressLayoutVersion=2: Indicates the latest IP address layout used by all newly created private clouds. This version supports all current features.
- vmware
Engine StringNetwork - The relative resource name of the VMware Engine network attached to the private cloud. Specify the name in the following form: projects/{project}/locations/{location}/vmwareEngineNetworks/{vmwareEngineNetworkId} where {project} can either be a project number or a project ID.
- vmware
Engine StringNetwork Canonical - The canonical name of the VMware Engine network in the form: projects/{project_number}/locations/{location}/vmwareEngineNetworks/{vmwareEngineNetworkId}
- dns
Server stringIp - DNS Server IP of the Private Cloud.
- management
Cidr string - Management CIDR used by VMware management appliances.
- management
Ip numberAddress Layout Version - The IP address layout version of the management IP address range.
Possible versions include:
- managementIpAddressLayoutVersion=1: Indicates the legacy IP address layout used by some existing private clouds. This is no longer supported for new private clouds as it does not support all features.
- managementIpAddressLayoutVersion=2: Indicates the latest IP address layout used by all newly created private clouds. This version supports all current features.
- vmware
Engine stringNetwork - The relative resource name of the VMware Engine network attached to the private cloud. Specify the name in the following form: projects/{project}/locations/{location}/vmwareEngineNetworks/{vmwareEngineNetworkId} where {project} can either be a project number or a project ID.
- vmware
Engine stringNetwork Canonical - The canonical name of the VMware Engine network in the form: projects/{project_number}/locations/{location}/vmwareEngineNetworks/{vmwareEngineNetworkId}
- dns_
server_ strip - DNS Server IP of the Private Cloud.
- management_
cidr str - Management CIDR used by VMware management appliances.
- management_
ip_ intaddress_ layout_ version - The IP address layout version of the management IP address range.
Possible versions include:
- managementIpAddressLayoutVersion=1: Indicates the legacy IP address layout used by some existing private clouds. This is no longer supported for new private clouds as it does not support all features.
- managementIpAddressLayoutVersion=2: Indicates the latest IP address layout used by all newly created private clouds. This version supports all current features.
- vmware_
engine_ strnetwork - The relative resource name of the VMware Engine network attached to the private cloud. Specify the name in the following form: projects/{project}/locations/{location}/vmwareEngineNetworks/{vmwareEngineNetworkId} where {project} can either be a project number or a project ID.
- vmware_
engine_ strnetwork_ canonical - The canonical name of the VMware Engine network in the form: projects/{project_number}/locations/{location}/vmwareEngineNetworks/{vmwareEngineNetworkId}
- dns
Server StringIp - DNS Server IP of the Private Cloud.
- management
Cidr String - Management CIDR used by VMware management appliances.
- management
Ip NumberAddress Layout Version - The IP address layout version of the management IP address range.
Possible versions include:
- managementIpAddressLayoutVersion=1: Indicates the legacy IP address layout used by some existing private clouds. This is no longer supported for new private clouds as it does not support all features.
- managementIpAddressLayoutVersion=2: Indicates the latest IP address layout used by all newly created private clouds. This version supports all current features.
- vmware
Engine StringNetwork - The relative resource name of the VMware Engine network attached to the private cloud. Specify the name in the following form: projects/{project}/locations/{location}/vmwareEngineNetworks/{vmwareEngineNetworkId} where {project} can either be a project number or a project ID.
- vmware
Engine StringNetwork Canonical - The canonical name of the VMware Engine network in the form: projects/{project_number}/locations/{location}/vmwareEngineNetworks/{vmwareEngineNetworkId}
GetPrivateCloudNsx
- Fqdn string
- Fully qualified domain name of the appliance.
- Internal
Ip string - Internal IP address of the appliance.
- State string
- State of the appliance. Possible values: ["ACTIVE", "CREATING"]
- Version string
- Version of the appliance.
- Fqdn string
- Fully qualified domain name of the appliance.
- Internal
Ip string - Internal IP address of the appliance.
- State string
- State of the appliance. Possible values: ["ACTIVE", "CREATING"]
- Version string
- Version of the appliance.
- fqdn String
- Fully qualified domain name of the appliance.
- internal
Ip String - Internal IP address of the appliance.
- state String
- State of the appliance. Possible values: ["ACTIVE", "CREATING"]
- version String
- Version of the appliance.
- fqdn string
- Fully qualified domain name of the appliance.
- internal
Ip string - Internal IP address of the appliance.
- state string
- State of the appliance. Possible values: ["ACTIVE", "CREATING"]
- version string
- Version of the appliance.
- fqdn str
- Fully qualified domain name of the appliance.
- internal_
ip str - Internal IP address of the appliance.
- state str
- State of the appliance. Possible values: ["ACTIVE", "CREATING"]
- version str
- Version of the appliance.
- fqdn String
- Fully qualified domain name of the appliance.
- internal
Ip String - Internal IP address of the appliance.
- state String
- State of the appliance. Possible values: ["ACTIVE", "CREATING"]
- version String
- Version of the appliance.
GetPrivateCloudVcenter
- Fqdn string
- Fully qualified domain name of the appliance.
- Internal
Ip string - Internal IP address of the appliance.
- State string
- State of the appliance. Possible values: ["ACTIVE", "CREATING"]
- Version string
- Version of the appliance.
- Fqdn string
- Fully qualified domain name of the appliance.
- Internal
Ip string - Internal IP address of the appliance.
- State string
- State of the appliance. Possible values: ["ACTIVE", "CREATING"]
- Version string
- Version of the appliance.
- fqdn String
- Fully qualified domain name of the appliance.
- internal
Ip String - Internal IP address of the appliance.
- state String
- State of the appliance. Possible values: ["ACTIVE", "CREATING"]
- version String
- Version of the appliance.
- fqdn string
- Fully qualified domain name of the appliance.
- internal
Ip string - Internal IP address of the appliance.
- state string
- State of the appliance. Possible values: ["ACTIVE", "CREATING"]
- version string
- Version of the appliance.
- fqdn str
- Fully qualified domain name of the appliance.
- internal_
ip str - Internal IP address of the appliance.
- state str
- State of the appliance. Possible values: ["ACTIVE", "CREATING"]
- version str
- Version of the appliance.
- fqdn String
- Fully qualified domain name of the appliance.
- internal
Ip String - Internal IP address of the appliance.
- state String
- State of the appliance. Possible values: ["ACTIVE", "CREATING"]
- version String
- Version of the appliance.
Package Details
- Repository
- Google Cloud (GCP) Classic pulumi/pulumi-gcp
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
google-beta
Terraform Provider.