virtual_networks
Creates, updates, deletes, gets or lists a virtual_networks
resource.
Overview
Name | virtual_networks |
Type | Resource |
Id | azure_isv.vmware_cloud_simple.virtual_networks |
Fields
- vw_virtual_networks
- virtual_networks
Name | Datatype | Description |
---|---|---|
id | text | virtual network id (privateCloudId:vsphereId) |
name | text | {VirtualNetworkName} |
assignable | boolean | can be used in vm creation/deletion |
location | text | Azure region |
pcName | text | field from the properties object |
private_cloud_id | text | field from the properties object |
regionId | text | field from the properties object |
resourcePoolName | text | field from the properties object |
subscriptionId | text | field from the properties object |
type | text | {resourceProviderNamespace}/{resourceType} |
virtualNetworkName | text | field from the properties object |
Name | Datatype | Description |
---|---|---|
id | string | virtual network id (privateCloudId:vsphereId) |
name | string | {VirtualNetworkName} |
assignable | boolean | can be used in vm creation/deletion |
location | string | Azure region |
properties | object | Properties of virtual network |
type | string | {resourceProviderNamespace}/{resourceType} |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | pcName, regionId, subscriptionId, virtualNetworkName | Return virtual network by its name |
list | SELECT | pcName, regionId, resourcePoolName, subscriptionId | Return list of virtual networks in location for private cloud |
SELECT
examples
Return list of virtual networks in location for private cloud
- vw_virtual_networks
- virtual_networks
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 }}';
SELECT
id,
name,
assignable,
location,
properties,
type
FROM azure_isv.vmware_cloud_simple.virtual_networks
WHERE pcName = '{{ pcName }}'
AND regionId = '{{ regionId }}'
AND resourcePoolName = '{{ resourcePoolName }}'
AND subscriptionId = '{{ subscriptionId }}';