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 up
could ignore this note. Please disable correlation request id for continuous operations in one build (like acctest). The continuous operations likeupdate
ordelete
could not be triggered when it shares the samecorrelation-id
with 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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure:avs/getPrivateCloud:getPrivateCloud
arguments:
# arguments dictionary
The following arguments are supported:
- Name string
- The name of this Azure VMware Solution Private Cloud.
- Resource
Group 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.
- Resource
Group 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.
- resource
Group 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.
- resource
Group 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.
- resource
Group 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<Get
Private Cloud Circuit> - A
circuit
block as defined below. - Hcx
Cloud stringManager Endpoint - The endpoint for the VMware HCX Cloud Manager.
- Id string
- The provider-assigned unique ID for this managed resource.
- Internet
Connection 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.
- Management
Clusters List<GetPrivate Cloud Management Cluster> - A
management_cluster
block as defined below. - Management
Subnet stringCidr - The network used to access VMware vCenter Server and NSX Manager.
- Name string
- Network
Subnet stringCidr - The subnet CIDR of the Azure VMware Solution Private Cloud.
- Nsxt
Certificate stringThumbprint - The thumbprint of the VMware NSX Manager SSL certificate.
- Nsxt
Manager stringEndpoint - The endpoint for the VMware NSX Manager.
- Provisioning
Subnet stringCidr - The network which isused for virtual machine cold migration, cloning, and snapshot migration.
- Resource
Group stringName - Sku
Name 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.
- Vcenter
Certificate stringThumbprint - The thumbprint of the VMware vCenter Server SSL certificate.
- Vcsa
Endpoint string - The endpoint for VMware vCenter Server Appliance.
- Vmotion
Subnet stringCidr - The network which is used for live migration of virtual machines.
- Circuits
[]Get
Private Cloud Circuit - A
circuit
block as defined below. - Hcx
Cloud stringManager Endpoint - The endpoint for the VMware HCX Cloud Manager.
- Id string
- The provider-assigned unique ID for this managed resource.
- Internet
Connection 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.
- Management
Clusters []GetPrivate Cloud Management Cluster - A
management_cluster
block as defined below. - Management
Subnet stringCidr - The network used to access VMware vCenter Server and NSX Manager.
- Name string
- Network
Subnet stringCidr - The subnet CIDR of the Azure VMware Solution Private Cloud.
- Nsxt
Certificate stringThumbprint - The thumbprint of the VMware NSX Manager SSL certificate.
- Nsxt
Manager stringEndpoint - The endpoint for the VMware NSX Manager.
- Provisioning
Subnet stringCidr - The network which isused for virtual machine cold migration, cloning, and snapshot migration.
- Resource
Group stringName - Sku
Name 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.
- Vcenter
Certificate stringThumbprint - The thumbprint of the VMware vCenter Server SSL certificate.
- Vcsa
Endpoint string - The endpoint for VMware vCenter Server Appliance.
- Vmotion
Subnet stringCidr - The network which is used for live migration of virtual machines.
- circuits
List<Get
Private Cloud Circuit> - A
circuit
block as defined below. - hcx
Cloud StringManager Endpoint - The endpoint for the VMware HCX Cloud Manager.
- id String
- The provider-assigned unique ID for this managed resource.
- internet
Connection 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.
- management
Clusters List<GetPrivate Cloud Management Cluster> - A
management_cluster
block as defined below. - management
Subnet StringCidr - The network used to access VMware vCenter Server and NSX Manager.
- name String
- network
Subnet StringCidr - The subnet CIDR of the Azure VMware Solution Private Cloud.
- nsxt
Certificate StringThumbprint - The thumbprint of the VMware NSX Manager SSL certificate.
- nsxt
Manager StringEndpoint - The endpoint for the VMware NSX Manager.
- provisioning
Subnet StringCidr - The network which isused for virtual machine cold migration, cloning, and snapshot migration.
- resource
Group StringName - sku
Name 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.
- vcenter
Certificate StringThumbprint - The thumbprint of the VMware vCenter Server SSL certificate.
- vcsa
Endpoint String - The endpoint for VMware vCenter Server Appliance.
- vmotion
Subnet StringCidr - The network which is used for live migration of virtual machines.
- circuits
Get
Private Cloud Circuit[] - A
circuit
block as defined below. - hcx
Cloud stringManager Endpoint - The endpoint for the VMware HCX Cloud Manager.
- id string
- The provider-assigned unique ID for this managed resource.
- internet
Connection 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.
- management
Clusters GetPrivate Cloud Management Cluster[] - A
management_cluster
block as defined below. - management
Subnet stringCidr - The network used to access VMware vCenter Server and NSX Manager.
- name string
- network
Subnet stringCidr - The subnet CIDR of the Azure VMware Solution Private Cloud.
- nsxt
Certificate stringThumbprint - The thumbprint of the VMware NSX Manager SSL certificate.
- nsxt
Manager stringEndpoint - The endpoint for the VMware NSX Manager.
- provisioning
Subnet stringCidr - The network which isused for virtual machine cold migration, cloning, and snapshot migration.
- resource
Group stringName - sku
Name 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.
- vcenter
Certificate stringThumbprint - The thumbprint of the VMware vCenter Server SSL certificate.
- vcsa
Endpoint string - The endpoint for VMware vCenter Server Appliance.
- vmotion
Subnet stringCidr - The network which is used for live migration of virtual machines.
- circuits
Sequence[Get
Private Cloud Circuit] - A
circuit
block 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_cluster
block 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
circuit
block as defined below. - hcx
Cloud StringManager Endpoint - The endpoint for the VMware HCX Cloud Manager.
- id String
- The provider-assigned unique ID for this managed resource.
- internet
Connection 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.
- management
Clusters List<Property Map> - A
management_cluster
block as defined below. - management
Subnet StringCidr - The network used to access VMware vCenter Server and NSX Manager.
- name String
- network
Subnet StringCidr - The subnet CIDR of the Azure VMware Solution Private Cloud.
- nsxt
Certificate StringThumbprint - The thumbprint of the VMware NSX Manager SSL certificate.
- nsxt
Manager StringEndpoint - The endpoint for the VMware NSX Manager.
- provisioning
Subnet StringCidr - The network which isused for virtual machine cold migration, cloning, and snapshot migration.
- resource
Group StringName - sku
Name 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.
- vcenter
Certificate StringThumbprint - The thumbprint of the VMware vCenter Server SSL certificate.
- vcsa
Endpoint String - The endpoint for VMware vCenter Server Appliance.
- vmotion
Subnet StringCidr - The network which is used for live migration of virtual machines.
Supporting Types
GetPrivateCloudCircuit
- Express
Route stringId - The ID of the ExpressRoute Circuit.
- Express
Route stringPrivate Peering Id - The ID of the ExpressRoute Circuit private peering.
- Primary
Subnet stringCidr - The CIDR of the primary subnet.
- Secondary
Subnet stringCidr - The CIDR of the secondary subnet.
- Express
Route stringId - The ID of the ExpressRoute Circuit.
- Express
Route stringPrivate Peering Id - The ID of the ExpressRoute Circuit private peering.
- Primary
Subnet stringCidr - The CIDR of the primary subnet.
- Secondary
Subnet stringCidr - The CIDR of the secondary subnet.
- express
Route StringId - The ID of the ExpressRoute Circuit.
- express
Route StringPrivate Peering Id - The ID of the ExpressRoute Circuit private peering.
- primary
Subnet StringCidr - The CIDR of the primary subnet.
- secondary
Subnet StringCidr - The CIDR of the secondary subnet.
- express
Route stringId - The ID of the ExpressRoute Circuit.
- express
Route stringPrivate Peering Id - The ID of the ExpressRoute Circuit private peering.
- primary
Subnet stringCidr - The CIDR of the primary subnet.
- secondary
Subnet 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.
- express
Route StringId - The ID of the ExpressRoute Circuit.
- express
Route StringPrivate Peering Id - The ID of the ExpressRoute Circuit private peering.
- primary
Subnet StringCidr - The CIDR of the primary subnet.
- secondary
Subnet 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
azurerm
Terraform Provider.