Skip to main content

private_clouds

Creates, updates, deletes, gets or lists a private_clouds resource.

Overview

Nameprivate_clouds
TypeResource
Idazure_isv.vmwarecloudsimple.private_clouds

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringAzure Id, e.g. "/subscriptions/4da99247-a172-4ed6-8ae9-ebed2d12f839/providers/Microsoft.VMwareCloudSimple/privateClouds/cloud123".
namestringPrivate cloud name.
availabilityZoneIdstringAvailability Zone id, e.g. "az1".
availabilityZoneNamestringAvailability Zone name, e.g. "Availability Zone 1".
clustersNumberintegerNumber of clusters.
createdBystringUser's emails who created cloud.
createdOnstring (date-time)When private cloud was created.
dnsServersarrayArray of DNS servers.
expiresstringExpiration date of PC.
locationstringLocation where private cloud created, e.g "westus".
nsxTypestringNsx Type, e.g. "Advanced".
placementGroupIdstringPlacement Group id, e.g. "n1".
placementGroupNamestringPlacement Group name.
privateCloudIdstringId of a private cloud.
resourcePoolsarrayThe list of Resource Pools.
statestringPrivate Cloud state, e.g. "operational".
totalCpuCoresintegerNumber of cores.
totalNodesintegerNumber of nodes.
totalRamintegerMemory size.
totalStoragenumberDisk space in TB.
typestringAzure Resource type. Default value is "Microsoft.VMwareCloudSimple/privateClouds".
vSphereVersionstringe.g. "6.5u2".
vcenterFqdnstringFQDN for vcenter access.
vcenterRefidstringVcenter ip address.
virtualMachineTemplatesarrayThe list of Virtual Machine Templates.
virtualNetworksarrayThe list of Virtual Networks.
vrOpsEnabledbooleanIs Vrops enabled/disabled.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectpc_name, region_id, subscription_idImplements private cloud GET method. Returns private cloud by its name.
listselectregion_id, subscription_idImplements private cloud list GET method. Returns list of private clouds in particular region.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
pc_namestringThe private cloud name. Required.
region_idstringThe region Id (westus, eastus). Required.
subscription_idstring

SELECT examples

Implements private cloud GET method. Returns private cloud by its name.

SELECT
id,
name,
availabilityZoneId,
availabilityZoneName,
clustersNumber,
createdBy,
createdOn,
dnsServers,
expires,
location,
nsxType,
placementGroupId,
placementGroupName,
privateCloudId,
resourcePools,
state,
totalCpuCores,
totalNodes,
totalRam,
totalStorage,
type,
vSphereVersion,
vcenterFqdn,
vcenterRefid,
virtualMachineTemplates,
virtualNetworks,
vrOpsEnabled
FROM azure_isv.vmwarecloudsimple.private_clouds
WHERE pc_name = '{{ pc_name }}' -- required
AND region_id = '{{ region_id }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;