Skip to main content

pools

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

Overview

Namepools
TypeResource
Idazure_isv.netapp.pools

Fields

NameDatatypeDescription
accountNametextfield from the properties object
cool_accesstextfield from the properties object
encryption_typetextfield from the properties object
etagtextA unique read-only string that changes whenever the resource is updated.
locationtextThe geo-location where the resource lives
poolNametextfield from the properties object
pool_idtextfield from the properties object
provisioning_statetextfield from the properties object
qos_typetextfield from the properties object
resourceGroupNametextfield from the properties object
service_leveltextfield from the properties object
sizetextfield from the properties object
subscriptionIdtextfield from the properties object
tagstextResource tags.
total_throughput_mibpstextfield from the properties object
utilized_throughput_mibpstextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTaccountName, poolName, resourceGroupName, subscriptionIdGet details of the specified capacity pool
listSELECTaccountName, resourceGroupName, subscriptionIdList all capacity pools in the NetApp Account
create_or_updateINSERTaccountName, poolName, resourceGroupName, subscriptionId, data__location, data__propertiesCreate or Update a capacity pool
deleteDELETEaccountName, poolName, resourceGroupName, subscriptionIdDelete the specified capacity pool
updateUPDATEaccountName, poolName, resourceGroupName, subscriptionIdPatch the specified capacity pool

SELECT examples

List all capacity pools in the NetApp Account

SELECT
accountName,
cool_access,
encryption_type,
etag,
location,
poolName,
pool_id,
provisioning_state,
qos_type,
resourceGroupName,
service_level,
size,
subscriptionId,
tags,
total_throughput_mibps,
utilized_throughput_mibps
FROM azure_isv.netapp.vw_pools
WHERE accountName = '{{ accountName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

INSERT example

Use the following StackQL query and manifest file to create a new pools resource.

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

UPDATE example

Updates a pools resource.

/*+ update */
UPDATE azure_isv.netapp.pools
SET
location = '{{ location }}',
tags = '{{ tags }}',
properties = '{{ properties }}'
WHERE
accountName = '{{ accountName }}'
AND poolName = '{{ poolName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

DELETE example

Deletes the specified pools resource.

/*+ delete */
DELETE FROM azure_isv.netapp.pools
WHERE accountName = '{{ accountName }}'
AND poolName = '{{ poolName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';