Skip to main content

pools

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

Overview

Namepools
TypeResource
Idazure_isv.netapp.pools

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
etagstringA unique read-only string that changes whenever the resource is updated.
locationstringThe geo-location where the resource lives
propertiesobjectCapacity pool properties
tagsobjectResource tags.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectsubscriptionId, resourceGroupName, accountName, poolNameGet details of the specified capacity pool
listselectsubscriptionId, resourceGroupName, accountNameList all capacity pools in the NetApp Account
create_or_updateinsertsubscriptionId, resourceGroupName, accountName, poolName, data__location, data__propertiesCreate or Update a capacity pool
updateupdatesubscriptionId, resourceGroupName, accountName, poolNamePatch the specified capacity pool
deletedeletesubscriptionId, resourceGroupName, accountName, poolNameDelete the specified capacity pool

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
accountNamestringThe name of the NetApp account
poolNamestringThe name of the capacity pool
resourceGroupNamestringThe name of the resource group. The name is case insensitive.
subscriptionIdstring (uuid)The ID of the target subscription. The value must be an UUID.

SELECT examples

Get details of the specified capacity pool

SELECT
etag,
location,
properties,
tags
FROM azure_isv.netapp.pools
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND accountName = '{{ accountName }}' -- required
AND poolName = '{{ poolName }}' -- required
;

INSERT examples

Create or Update a capacity pool

INSERT INTO azure_isv.netapp.pools (
data__tags,
data__location,
data__properties,
subscriptionId,
resourceGroupName,
accountName,
poolName
)
SELECT
'{{ tags }}',
'{{ location }}' /* required */,
'{{ properties }}' /* required */,
'{{ subscriptionId }}',
'{{ resourceGroupName }}',
'{{ accountName }}',
'{{ poolName }}'
RETURNING
etag,
location,
properties,
tags
;

UPDATE examples

Patch the specified capacity pool

UPDATE azure_isv.netapp.pools
SET
data__location = '{{ location }}',
data__tags = '{{ tags }}',
data__properties = '{{ properties }}'
WHERE
subscriptionId = '{{ subscriptionId }}' --required
AND resourceGroupName = '{{ resourceGroupName }}' --required
AND accountName = '{{ accountName }}' --required
AND poolName = '{{ poolName }}' --required
RETURNING
etag,
location,
properties,
tags;

DELETE examples

Delete the specified capacity pool

DELETE FROM azure_isv.netapp.pools
WHERE subscriptionId = '{{ subscriptionId }}' --required
AND resourceGroupName = '{{ resourceGroupName }}' --required
AND accountName = '{{ accountName }}' --required
AND poolName = '{{ poolName }}' --required
;