resource_pools
Creates, updates, deletes, gets or lists a resource_pools
resource.
Overview
Name | resource_pools |
Type | Resource |
Id | azure_isv.vmware_cloud_simple.resource_pools |
Fields
- vw_resource_pools
- resource_pools
Name | Datatype | Description |
---|---|---|
id | text | resource pool id (privateCloudId:vsphereId) |
name | text | {ResourcePoolName} |
full_name | text | field from the properties object |
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} |
Name | Datatype | Description |
---|---|---|
id | string | resource pool id (privateCloudId:vsphereId) |
name | string | {ResourcePoolName} |
location | string | Azure region |
privateCloudId | string | The Private Cloud Id |
properties | object | Properties of resource pool |
type | string | {resourceProviderNamespace}/{resourceType} |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | pcName, regionId, resourcePoolName, subscriptionId | Returns resource pool templates by its name |
list | SELECT | pcName, regionId, subscriptionId | Returns list of resource pools in region for private cloud |
SELECT
examples
Returns list of resource pools in region for private cloud
- vw_resource_pools
- resource_pools
SELECT
id,
name,
full_name,
location,
pcName,
private_cloud_id,
regionId,
resourcePoolName,
subscriptionId,
type
FROM azure_isv.vmware_cloud_simple.vw_resource_pools
WHERE pcName = '{{ pcName }}'
AND regionId = '{{ regionId }}'
AND subscriptionId = '{{ subscriptionId }}';
SELECT
id,
name,
location,
privateCloudId,
properties,
type
FROM azure_isv.vmware_cloud_simple.resource_pools
WHERE pcName = '{{ pcName }}'
AND regionId = '{{ regionId }}'
AND subscriptionId = '{{ subscriptionId }}';