Skip to main content

virtual_networks

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

Overview

Namevirtual_networks
TypeResource
Idazure_isv.vmware_cloud_simple.virtual_networks

Fields

NameDatatypeDescription
idtextvirtual network id (privateCloudId:vsphereId)
nametext{VirtualNetworkName}
assignablebooleancan be used in vm creation/deletion
locationtextAzure region
pcNametextfield from the properties object
private_cloud_idtextfield from the properties object
regionIdtextfield from the properties object
resourcePoolNametextfield from the properties object
subscriptionIdtextfield from the properties object
typetext{resourceProviderNamespace}/{resourceType}
virtualNetworkNametextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTpcName, regionId, subscriptionId, virtualNetworkNameReturn virtual network by its name
listSELECTpcName, regionId, resourcePoolName, subscriptionIdReturn list of virtual networks in location for private cloud

SELECT examples

Return list of virtual networks in location for private cloud

SELECT
id,
name,
assignable,
location,
pcName,
private_cloud_id,
regionId,
resourcePoolName,
subscriptionId,
type,
virtualNetworkName
FROM azure_isv.vmware_cloud_simple.vw_virtual_networks
WHERE pcName = '{{ pcName }}'
AND regionId = '{{ regionId }}'
AND resourcePoolName = '{{ resourcePoolName }}'
AND subscriptionId = '{{ subscriptionId }}';