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
The following fields are returned by SELECT
queries:
- get
- list
successful operation
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 | Resource pool properties |
type | string | {resourceProviderNamespace}/{resourceType} |
successful operation
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 | Resource pool properties |
type | string | {resourceProviderNamespace}/{resourceType} |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
get | select | subscriptionId , regionId , pcName , resourcePoolName | api-version | Returns resource pool templates by its name |
list | select | subscriptionId , regionId , pcName | api-version | Returns list of resource pools in region for private cloud |
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.
Name | Datatype | Description |
---|---|---|
pcName | string | The private cloud name |
regionId | string | The region Id (westus, eastus) |
resourcePoolName | string | resource pool id (vsphereId) |
subscriptionId | string | The subscription ID. |
api-version | string | Client API version. |
SELECT
examples
- get
- list
Returns resource pool templates by its name
SELECT
id,
name,
location,
privateCloudId,
properties,
type
FROM azure_isv.vmware_cloud_simple.resource_pools
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND regionId = '{{ regionId }}' -- required
AND pcName = '{{ pcName }}' -- required
AND resourcePoolName = '{{ resourcePoolName }}' -- required
AND api-version = '{{ api-version }}'
;
Returns list of resource pools in region for private cloud
SELECT
id,
name,
location,
privateCloudId,
properties,
type
FROM azure_isv.vmware_cloud_simple.resource_pools
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND regionId = '{{ regionId }}' -- required
AND pcName = '{{ pcName }}' -- required
AND api-version = '{{ api-version }}'
;