pools
Creates, updates, deletes, gets or lists a pools resource.
Overview
| Name | pools |
| Type | Resource |
| Id | azure.netapp.pools |
Fields
The following fields are returned by SELECT queries:
- get
- list
| Name | Datatype | Description |
|---|---|---|
id | string | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. |
name | string | The name of the resource. |
coolAccess | boolean | If enabled (true) the pool can contain cool Access enabled volumes. |
customThroughputMibps | integer | Maximum throughput in MiB/s that can be achieved by this pool and this will be accepted as input only for manual qosType pool with Flexible service level. |
encryptionType | string | Encryption type of the capacity pool, set encryption type for data at rest for this pool and all volumes in it. This value can only be set when creating new pool. Known values are: "Single" and "Double". (Single, Double) |
etag | string | "If etag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields."). |
location | string | The geo-location where the resource lives. Required. |
poolId | string | UUID v4 used to identify the Pool. |
provisioningState | string | Azure lifecycle management. |
qosType | string | The qos type of the pool. Known values are: "Auto" and "Manual". (Auto, Manual) |
serviceLevel | string | The service level of the file system. Required. Known values are: "Standard", "Premium", "Ultra", "StandardZRS", and "Flexible". (Standard, Premium, Ultra, StandardZRS, Flexible) |
size | integer | Provisioned size of the pool (in bytes). Allowed values are 512GiB (549755813888 bytes) or in 1TiB chunks (value must be multiple of 1099511627776). Required. |
systemData | object | Azure Resource Manager metadata containing createdBy and modifiedBy information. |
tags | object | Resource tags. |
totalThroughputMibps | number | Total throughput of pool in MiB/s. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". |
utilizedThroughputMibps | number | Utilized throughput of pool in MiB/s. |
| Name | Datatype | Description |
|---|---|---|
id | string | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. |
name | string | The name of the resource. |
coolAccess | boolean | If enabled (true) the pool can contain cool Access enabled volumes. |
customThroughputMibps | integer | Maximum throughput in MiB/s that can be achieved by this pool and this will be accepted as input only for manual qosType pool with Flexible service level. |
encryptionType | string | Encryption type of the capacity pool, set encryption type for data at rest for this pool and all volumes in it. This value can only be set when creating new pool. Known values are: "Single" and "Double". (Single, Double) |
etag | string | "If etag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields."). |
location | string | The geo-location where the resource lives. Required. |
poolId | string | UUID v4 used to identify the Pool. |
provisioningState | string | Azure lifecycle management. |
qosType | string | The qos type of the pool. Known values are: "Auto" and "Manual". (Auto, Manual) |
serviceLevel | string | The service level of the file system. Required. Known values are: "Standard", "Premium", "Ultra", "StandardZRS", and "Flexible". (Standard, Premium, Ultra, StandardZRS, Flexible) |
size | integer | Provisioned size of the pool (in bytes). Allowed values are 512GiB (549755813888 bytes) or in 1TiB chunks (value must be multiple of 1099511627776). Required. |
systemData | object | Azure Resource Manager metadata containing createdBy and modifiedBy information. |
tags | object | Resource tags. |
totalThroughputMibps | number | Total throughput of pool in MiB/s. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". |
utilizedThroughputMibps | number | Utilized throughput of pool in MiB/s. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | resource_group_name, account_name, pool_name, subscription_id | Get details of the specified capacity pool. | |
list | select | resource_group_name, account_name, subscription_id | List all capacity pools in the NetApp Account. | |
create_or_update | insert | resource_group_name, account_name, pool_name, subscription_id, location, properties | Create or Update a capacity pool. | |
update | update | resource_group_name, account_name, pool_name, subscription_id | Patch the specified capacity pool. | |
create_or_update | replace | resource_group_name, account_name, pool_name, subscription_id, location, properties | Create or Update a capacity pool. | |
delete | delete | resource_group_name, account_name, pool_name, subscription_id | 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 |
|---|---|---|
account_name | string | The name of the NetApp account. Required. |
pool_name | string | The name of the capacity pool. Required. |
resource_group_name | string | The name of the resource group. The name is case insensitive. Required. |
subscription_id | string |
SELECT examples
- get
- list
Get details of the specified capacity pool.
SELECT
id,
name,
coolAccess,
customThroughputMibps,
encryptionType,
etag,
location,
poolId,
provisioningState,
qosType,
serviceLevel,
size,
systemData,
tags,
totalThroughputMibps,
type,
utilizedThroughputMibps
FROM azure.netapp.pools
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND account_name = '{{ account_name }}' -- required
AND pool_name = '{{ pool_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;
List all capacity pools in the NetApp Account.
SELECT
id,
name,
coolAccess,
customThroughputMibps,
encryptionType,
etag,
location,
poolId,
provisioningState,
qosType,
serviceLevel,
size,
systemData,
tags,
totalThroughputMibps,
type,
utilizedThroughputMibps
FROM azure.netapp.pools
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND account_name = '{{ account_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;
INSERT examples
- create_or_update
- Manifest
Create or Update a capacity pool.
INSERT INTO azure.netapp.pools (
tags,
location,
properties,
resource_group_name,
account_name,
pool_name,
subscription_id
)
SELECT
'{{ tags }}',
'{{ location }}' /* required */,
'{{ properties }}' /* required */,
'{{ resource_group_name }}',
'{{ account_name }}',
'{{ pool_name }}',
'{{ subscription_id }}'
RETURNING
id,
name,
etag,
location,
properties,
systemData,
tags,
type
;
# Description fields are for documentation purposes
- name: pools
props:
- name: resource_group_name
value: "{{ resource_group_name }}"
description: Required parameter for the pools resource.
- name: account_name
value: "{{ account_name }}"
description: Required parameter for the pools resource.
- name: pool_name
value: "{{ pool_name }}"
description: Required parameter for the pools resource.
- name: subscription_id
value: "{{ subscription_id }}"
description: Required parameter for the pools resource.
- name: tags
value: "{{ tags }}"
description: |
Resource tags.
- name: location
value: "{{ location }}"
description: |
The geo-location where the resource lives. Required.
- name: properties
description: |
Capacity pool properties. Required.
value:
poolId: "{{ poolId }}"
size: {{ size }}
serviceLevel: "{{ serviceLevel }}"
provisioningState: "{{ provisioningState }}"
totalThroughputMibps: {{ totalThroughputMibps }}
utilizedThroughputMibps: {{ utilizedThroughputMibps }}
customThroughputMibps: {{ customThroughputMibps }}
qosType: "{{ qosType }}"
coolAccess: {{ coolAccess }}
encryptionType: "{{ encryptionType }}"
UPDATE examples
- update
Patch the specified capacity pool.
UPDATE azure.netapp.pools
SET
location = '{{ location }}',
tags = '{{ tags }}',
properties = '{{ properties }}'
WHERE
resource_group_name = '{{ resource_group_name }}' --required
AND account_name = '{{ account_name }}' --required
AND pool_name = '{{ pool_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
RETURNING
id,
name,
etag,
location,
properties,
systemData,
tags,
type;
REPLACE examples
- create_or_update
Create or Update a capacity pool.
REPLACE azure.netapp.pools
SET
tags = '{{ tags }}',
location = '{{ location }}',
properties = '{{ properties }}'
WHERE
resource_group_name = '{{ resource_group_name }}' --required
AND account_name = '{{ account_name }}' --required
AND pool_name = '{{ pool_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
AND location = '{{ location }}' --required
AND properties = '{{ properties }}' --required
RETURNING
id,
name,
etag,
location,
properties,
systemData,
tags,
type;
DELETE examples
- delete
Delete the specified capacity pool.
DELETE FROM azure.netapp.pools
WHERE resource_group_name = '{{ resource_group_name }}' --required
AND account_name = '{{ account_name }}' --required
AND pool_name = '{{ pool_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
;