We recommend using Azure Native.
azure.avs.getPrivateCloud
Explore with Pulumi AI
Use this data source to access information about an existing Azure VMware Solution Private Cloud.
Example Usage
NOTE : Normal
pulumi upcould ignore this note. Please disable correlation request id for continuous operations in one build (like acctest). The continuous operations likeupdateordeletecould not be triggered when it shares the samecorrelation-idwith its previous operation.
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";
const example = azure.avs.getPrivateCloud({
    name: "existing-vmware-private-cloud",
    resourceGroupName: "existing-resgroup",
});
export const id = example.then(example => example.id);
import pulumi
import pulumi_azure as azure
example = azure.avs.get_private_cloud(name="existing-vmware-private-cloud",
    resource_group_name="existing-resgroup")
pulumi.export("id", example.id)
package main
import (
	"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/avs"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := avs.LookupPrivateCloud(ctx, &avs.LookupPrivateCloudArgs{
			Name:              "existing-vmware-private-cloud",
			ResourceGroupName: "existing-resgroup",
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("id", example.Id)
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Azure = Pulumi.Azure;
return await Deployment.RunAsync(() => 
{
    var example = Azure.Avs.GetPrivateCloud.Invoke(new()
    {
        Name = "existing-vmware-private-cloud",
        ResourceGroupName = "existing-resgroup",
    });
    return new Dictionary<string, object?>
    {
        ["id"] = example.Apply(getPrivateCloudResult => getPrivateCloudResult.Id),
    };
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azure.avs.AvsFunctions;
import com.pulumi.azure.avs.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 example = AvsFunctions.getPrivateCloud(GetPrivateCloudArgs.builder()
            .name("existing-vmware-private-cloud")
            .resourceGroupName("existing-resgroup")
            .build());
        ctx.export("id", example.applyValue(getPrivateCloudResult -> getPrivateCloudResult.id()));
    }
}
variables:
  example:
    fn::invoke:
      function: azure:avs:getPrivateCloud
      arguments:
        name: existing-vmware-private-cloud
        resourceGroupName: existing-resgroup
outputs:
  id: ${example.id}
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(name: Optional[str] = None,
                      resource_group_name: Optional[str] = None,
                      opts: Optional[InvokeOptions] = None) -> GetPrivateCloudResult
def get_private_cloud_output(name: Optional[pulumi.Input[str]] = None,
                      resource_group_name: 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)
public static Output<GetPrivateCloudResult> getPrivateCloud(GetPrivateCloudArgs args, InvokeOptions options)
fn::invoke:
  function: azure:avs/getPrivateCloud:getPrivateCloud
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Name string
- The name of this Azure VMware Solution Private Cloud.
- ResourceGroup stringName 
- The name of the Resource Group where the Azure VMware Solution Private Cloud exists.
- Name string
- The name of this Azure VMware Solution Private Cloud.
- ResourceGroup stringName 
- The name of the Resource Group where the Azure VMware Solution Private Cloud exists.
- name String
- The name of this Azure VMware Solution Private Cloud.
- resourceGroup StringName 
- The name of the Resource Group where the Azure VMware Solution Private Cloud exists.
- name string
- The name of this Azure VMware Solution Private Cloud.
- resourceGroup stringName 
- The name of the Resource Group where the Azure VMware Solution Private Cloud exists.
- name str
- The name of this Azure VMware Solution Private Cloud.
- resource_group_ strname 
- The name of the Resource Group where the Azure VMware Solution Private Cloud exists.
- name String
- The name of this Azure VMware Solution Private Cloud.
- resourceGroup StringName 
- The name of the Resource Group where the Azure VMware Solution Private Cloud exists.
getPrivateCloud Result
The following output properties are available:
- Circuits
List<GetPrivate Cloud Circuit> 
- A circuitblock as defined below.
- HcxCloud stringManager Endpoint 
- The endpoint for the VMware HCX Cloud Manager.
- Id string
- The provider-assigned unique ID for this managed resource.
- InternetConnection boolEnabled 
- Is the Azure VMware Solution Private Cloud connected to the internet?
- Location string
- The Azure Region where the Azure VMware Solution Private Cloud exists.
- ManagementClusters List<GetPrivate Cloud Management Cluster> 
- A management_clusterblock as defined below.
- ManagementSubnet stringCidr 
- The network used to access VMware vCenter Server and NSX Manager.
- Name string
- NetworkSubnet stringCidr 
- The subnet CIDR of the Azure VMware Solution Private Cloud.
- NsxtCertificate stringThumbprint 
- The thumbprint of the VMware NSX Manager SSL certificate.
- NsxtManager stringEndpoint 
- The endpoint for the VMware NSX Manager.
- ProvisioningSubnet stringCidr 
- The network which isused for virtual machine cold migration, cloning, and snapshot migration.
- ResourceGroup stringName 
- SkuName string
- The Name of the SKU used for this Azure VMware Solution Private Cloud.
- Dictionary<string, string>
- A mapping of tags assigned to the Azure VMware Solution Private Cloud.
- VcenterCertificate stringThumbprint 
- The thumbprint of the VMware vCenter Server SSL certificate.
- VcsaEndpoint string
- The endpoint for VMware vCenter Server Appliance.
- VmotionSubnet stringCidr 
- The network which is used for live migration of virtual machines.
- Circuits
[]GetPrivate Cloud Circuit 
- A circuitblock as defined below.
- HcxCloud stringManager Endpoint 
- The endpoint for the VMware HCX Cloud Manager.
- Id string
- The provider-assigned unique ID for this managed resource.
- InternetConnection boolEnabled 
- Is the Azure VMware Solution Private Cloud connected to the internet?
- Location string
- The Azure Region where the Azure VMware Solution Private Cloud exists.
- ManagementClusters []GetPrivate Cloud Management Cluster 
- A management_clusterblock as defined below.
- ManagementSubnet stringCidr 
- The network used to access VMware vCenter Server and NSX Manager.
- Name string
- NetworkSubnet stringCidr 
- The subnet CIDR of the Azure VMware Solution Private Cloud.
- NsxtCertificate stringThumbprint 
- The thumbprint of the VMware NSX Manager SSL certificate.
- NsxtManager stringEndpoint 
- The endpoint for the VMware NSX Manager.
- ProvisioningSubnet stringCidr 
- The network which isused for virtual machine cold migration, cloning, and snapshot migration.
- ResourceGroup stringName 
- SkuName string
- The Name of the SKU used for this Azure VMware Solution Private Cloud.
- map[string]string
- A mapping of tags assigned to the Azure VMware Solution Private Cloud.
- VcenterCertificate stringThumbprint 
- The thumbprint of the VMware vCenter Server SSL certificate.
- VcsaEndpoint string
- The endpoint for VMware vCenter Server Appliance.
- VmotionSubnet stringCidr 
- The network which is used for live migration of virtual machines.
- circuits
List<GetPrivate Cloud Circuit> 
- A circuitblock as defined below.
- hcxCloud StringManager Endpoint 
- The endpoint for the VMware HCX Cloud Manager.
- id String
- The provider-assigned unique ID for this managed resource.
- internetConnection BooleanEnabled 
- Is the Azure VMware Solution Private Cloud connected to the internet?
- location String
- The Azure Region where the Azure VMware Solution Private Cloud exists.
- managementClusters List<GetPrivate Cloud Management Cluster> 
- A management_clusterblock as defined below.
- managementSubnet StringCidr 
- The network used to access VMware vCenter Server and NSX Manager.
- name String
- networkSubnet StringCidr 
- The subnet CIDR of the Azure VMware Solution Private Cloud.
- nsxtCertificate StringThumbprint 
- The thumbprint of the VMware NSX Manager SSL certificate.
- nsxtManager StringEndpoint 
- The endpoint for the VMware NSX Manager.
- provisioningSubnet StringCidr 
- The network which isused for virtual machine cold migration, cloning, and snapshot migration.
- resourceGroup StringName 
- skuName String
- The Name of the SKU used for this Azure VMware Solution Private Cloud.
- Map<String,String>
- A mapping of tags assigned to the Azure VMware Solution Private Cloud.
- vcenterCertificate StringThumbprint 
- The thumbprint of the VMware vCenter Server SSL certificate.
- vcsaEndpoint String
- The endpoint for VMware vCenter Server Appliance.
- vmotionSubnet StringCidr 
- The network which is used for live migration of virtual machines.
- circuits
GetPrivate Cloud Circuit[] 
- A circuitblock as defined below.
- hcxCloud stringManager Endpoint 
- The endpoint for the VMware HCX Cloud Manager.
- id string
- The provider-assigned unique ID for this managed resource.
- internetConnection booleanEnabled 
- Is the Azure VMware Solution Private Cloud connected to the internet?
- location string
- The Azure Region where the Azure VMware Solution Private Cloud exists.
- managementClusters GetPrivate Cloud Management Cluster[] 
- A management_clusterblock as defined below.
- managementSubnet stringCidr 
- The network used to access VMware vCenter Server and NSX Manager.
- name string
- networkSubnet stringCidr 
- The subnet CIDR of the Azure VMware Solution Private Cloud.
- nsxtCertificate stringThumbprint 
- The thumbprint of the VMware NSX Manager SSL certificate.
- nsxtManager stringEndpoint 
- The endpoint for the VMware NSX Manager.
- provisioningSubnet stringCidr 
- The network which isused for virtual machine cold migration, cloning, and snapshot migration.
- resourceGroup stringName 
- skuName string
- The Name of the SKU used for this Azure VMware Solution Private Cloud.
- {[key: string]: string}
- A mapping of tags assigned to the Azure VMware Solution Private Cloud.
- vcenterCertificate stringThumbprint 
- The thumbprint of the VMware vCenter Server SSL certificate.
- vcsaEndpoint string
- The endpoint for VMware vCenter Server Appliance.
- vmotionSubnet stringCidr 
- The network which is used for live migration of virtual machines.
- circuits
Sequence[GetPrivate Cloud Circuit] 
- A circuitblock as defined below.
- hcx_cloud_ strmanager_ endpoint 
- The endpoint for the VMware HCX Cloud Manager.
- id str
- The provider-assigned unique ID for this managed resource.
- internet_connection_ boolenabled 
- Is the Azure VMware Solution Private Cloud connected to the internet?
- location str
- The Azure Region where the Azure VMware Solution Private Cloud exists.
- management_clusters Sequence[GetPrivate Cloud Management Cluster] 
- A management_clusterblock as defined below.
- management_subnet_ strcidr 
- The network used to access VMware vCenter Server and NSX Manager.
- name str
- network_subnet_ strcidr 
- The subnet CIDR of the Azure VMware Solution Private Cloud.
- nsxt_certificate_ strthumbprint 
- The thumbprint of the VMware NSX Manager SSL certificate.
- nsxt_manager_ strendpoint 
- The endpoint for the VMware NSX Manager.
- provisioning_subnet_ strcidr 
- The network which isused for virtual machine cold migration, cloning, and snapshot migration.
- resource_group_ strname 
- sku_name str
- The Name of the SKU used for this Azure VMware Solution Private Cloud.
- Mapping[str, str]
- A mapping of tags assigned to the Azure VMware Solution Private Cloud.
- vcenter_certificate_ strthumbprint 
- The thumbprint of the VMware vCenter Server SSL certificate.
- vcsa_endpoint str
- The endpoint for VMware vCenter Server Appliance.
- vmotion_subnet_ strcidr 
- The network which is used for live migration of virtual machines.
- circuits List<Property Map>
- A circuitblock as defined below.
- hcxCloud StringManager Endpoint 
- The endpoint for the VMware HCX Cloud Manager.
- id String
- The provider-assigned unique ID for this managed resource.
- internetConnection BooleanEnabled 
- Is the Azure VMware Solution Private Cloud connected to the internet?
- location String
- The Azure Region where the Azure VMware Solution Private Cloud exists.
- managementClusters List<Property Map>
- A management_clusterblock as defined below.
- managementSubnet StringCidr 
- The network used to access VMware vCenter Server and NSX Manager.
- name String
- networkSubnet StringCidr 
- The subnet CIDR of the Azure VMware Solution Private Cloud.
- nsxtCertificate StringThumbprint 
- The thumbprint of the VMware NSX Manager SSL certificate.
- nsxtManager StringEndpoint 
- The endpoint for the VMware NSX Manager.
- provisioningSubnet StringCidr 
- The network which isused for virtual machine cold migration, cloning, and snapshot migration.
- resourceGroup StringName 
- skuName String
- The Name of the SKU used for this Azure VMware Solution Private Cloud.
- Map<String>
- A mapping of tags assigned to the Azure VMware Solution Private Cloud.
- vcenterCertificate StringThumbprint 
- The thumbprint of the VMware vCenter Server SSL certificate.
- vcsaEndpoint String
- The endpoint for VMware vCenter Server Appliance.
- vmotionSubnet StringCidr 
- The network which is used for live migration of virtual machines.
Supporting Types
GetPrivateCloudCircuit   
- ExpressRoute stringId 
- The ID of the ExpressRoute Circuit.
- ExpressRoute stringPrivate Peering Id 
- The ID of the ExpressRoute Circuit private peering.
- PrimarySubnet stringCidr 
- The CIDR of the primary subnet.
- SecondarySubnet stringCidr 
- The CIDR of the secondary subnet.
- ExpressRoute stringId 
- The ID of the ExpressRoute Circuit.
- ExpressRoute stringPrivate Peering Id 
- The ID of the ExpressRoute Circuit private peering.
- PrimarySubnet stringCidr 
- The CIDR of the primary subnet.
- SecondarySubnet stringCidr 
- The CIDR of the secondary subnet.
- expressRoute StringId 
- The ID of the ExpressRoute Circuit.
- expressRoute StringPrivate Peering Id 
- The ID of the ExpressRoute Circuit private peering.
- primarySubnet StringCidr 
- The CIDR of the primary subnet.
- secondarySubnet StringCidr 
- The CIDR of the secondary subnet.
- expressRoute stringId 
- The ID of the ExpressRoute Circuit.
- expressRoute stringPrivate Peering Id 
- The ID of the ExpressRoute Circuit private peering.
- primarySubnet stringCidr 
- The CIDR of the primary subnet.
- secondarySubnet stringCidr 
- The CIDR of the secondary subnet.
- express_route_ strid 
- The ID of the ExpressRoute Circuit.
- express_route_ strprivate_ peering_ id 
- The ID of the ExpressRoute Circuit private peering.
- primary_subnet_ strcidr 
- The CIDR of the primary subnet.
- secondary_subnet_ strcidr 
- The CIDR of the secondary subnet.
- expressRoute StringId 
- The ID of the ExpressRoute Circuit.
- expressRoute StringPrivate Peering Id 
- The ID of the ExpressRoute Circuit private peering.
- primarySubnet StringCidr 
- The CIDR of the primary subnet.
- secondarySubnet StringCidr 
- The CIDR of the secondary subnet.
GetPrivateCloudManagementCluster    
Package Details
- Repository
- Azure Classic pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the azurermTerraform Provider.