pools
Creates, updates, deletes, gets or lists a pools
resource.
Overview
Name | pools |
Type | Resource |
Id | azure_isv.netapp.pools |
Fields
The following fields are returned by SELECT
queries:
- get
- list
Name | Datatype | Description |
---|---|---|
etag | string | A unique read-only string that changes whenever the resource is updated. |
location | string | The geo-location where the resource lives |
properties | object | Capacity pool properties |
tags | object | Resource tags. |
Name | Datatype | Description |
---|---|---|
etag | string | A unique read-only string that changes whenever the resource is updated. |
location | string | The geo-location where the resource lives |
properties | object | Capacity pool properties |
tags | object | Resource tags. |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
get | select | subscriptionId , resourceGroupName , accountName , poolName | Get details of the specified capacity pool | |
list | select | subscriptionId , resourceGroupName , accountName | List all capacity pools in the NetApp Account | |
create_or_update | insert | subscriptionId , resourceGroupName , accountName , poolName , data__location , data__properties | Create or Update a capacity pool | |
update | update | subscriptionId , resourceGroupName , accountName , poolName | Patch the specified capacity pool | |
delete | delete | subscriptionId , resourceGroupName , accountName , poolName | Delete 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.
Name | Datatype | Description |
---|---|---|
accountName | string | The name of the NetApp account |
poolName | string | The name of the capacity pool |
resourceGroupName | string | The name of the resource group. The name is case insensitive. |
subscriptionId | string (uuid) | The ID of the target subscription. The value must be an UUID. |
SELECT
examples
- get
- list
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
;
List all capacity pools in the NetApp Account
SELECT
etag,
location,
properties,
tags
FROM azure_isv.netapp.pools
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND accountName = '{{ accountName }}' -- required
;
INSERT
examples
- create_or_update
- Manifest
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
;
# Description fields are for documentation purposes
- name: pools
props:
- name: subscriptionId
value: string (uuid)
description: Required parameter for the pools resource.
- name: resourceGroupName
value: string
description: Required parameter for the pools resource.
- name: accountName
value: string
description: Required parameter for the pools resource.
- name: poolName
value: string
description: Required parameter for the pools resource.
- name: tags
value: object
description: |
Resource tags.
- name: location
value: string
description: |
The geo-location where the resource lives
- name: properties
value: object
description: |
Capacity pool properties
UPDATE
examples
- update
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
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
;