Skip to main content

resource_pools

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

Overview

Nameresource_pools
TypeResource
Idazure_isv.vmwarecloudsimple.resource_pools

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringresource pool id (privateCloudId:vsphereId). Required.
namestring{ResourcePoolName}.
fullNamestringHierarchical resource pool name.
locationstringAzure region.
privateCloudIdstringThe Private Cloud Id.
typestring{resourceProviderNamespace}/{resourceType}.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectregion_id, pc_name, resource_pool_name, subscription_idImplements get of resource pool. Returns resource pool templates by its name.
listselectregion_id, pc_name, subscription_idImplements get of resource pools list. 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.

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

SELECT examples

Implements get of resource pool. Returns resource pool templates by its name.

SELECT
id,
name,
fullName,
location,
privateCloudId,
type
FROM azure_isv.vmwarecloudsimple.resource_pools
WHERE region_id = '{{ region_id }}' -- required
AND pc_name = '{{ pc_name }}' -- required
AND resource_pool_name = '{{ resource_pool_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;