Skip to main content

resource_pools

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

Overview

Nameresource_pools
TypeResource
Idazure_isv.vmware_cloud_simple.resource_pools

Fields

The following fields are returned by SELECT queries:

successful operation

NameDatatypeDescription
idstringresource pool id (privateCloudId:vsphereId)
namestring{ResourcePoolName}
locationstringAzure region
privateCloudIdstringThe Private Cloud Id
propertiesobjectResource pool properties
typestring{resourceProviderNamespace}/{resourceType}

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectsubscriptionId, regionId, pcName, resourcePoolNameapi-versionReturns resource pool templates by its name
listselectsubscriptionId, regionId, pcNameapi-versionReturns 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
pcNamestringThe private cloud name
regionIdstringThe region Id (westus, eastus)
resourcePoolNamestringresource pool id (vsphereId)
subscriptionIdstringThe subscription ID.
api-versionstringClient API version.

SELECT examples

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 }}'
;