volumes
Creates, updates, deletes, gets or lists a volumes resource.
Overview
| Name | volumes |
| Type | Resource |
| Id | azure.netapp.volumes |
Fields
The following fields are returned by SELECT queries:
- list_get_group_id_list_for_ldap_user
- get
- list
| Name | Datatype | Description |
|---|---|---|
groupIdsForLdapUser | array | Group Id 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. |
acceptGrowCapacityPoolForShortTermCloneSplit | string | While auto splitting the short term clone volume, if the parent pool does not have enough space to accommodate the volume after split, it will be automatically resized, which will lead to increased billing. To accept capacity pool size auto grow and create a short term clone volume, set the property as accepted. Known values are: "Accepted" and "Declined". (Accepted, Declined) |
actualThroughputMibps | number | Actual throughput in MiB/s for auto qosType volumes calculated based on size and serviceLevel. |
avsDataStore | string | Specifies whether the volume is enabled for Azure VMware Solution (AVS) datastore purpose. Known values are: "Enabled" and "Disabled". (Enabled, Disabled) |
backupId | string | Resource identifier used to identify the Backup. |
baremetalTenantId | string | Unique Baremetal Tenant Identifier. |
breakthroughMode | string | Specifies whether the volume operates in Breakthrough Mode. Known values are: "Enabled" and "Disabled". (Enabled, Disabled) |
capacityPoolResourceId | string | Pool Resource Id used in case of creating a volume through volume group. |
cloneProgress | integer | When a volume is being restored from another volume's snapshot, will show the percentage completion of this cloning process. When this value is empty/null there is no cloning process currently happening on this volume. This value will update every 5 minutes during cloning. |
coolAccess | boolean | Specifies whether Cool Access(tiering) is enabled for the volume. |
coolAccessRetrievalPolicy | string | coolAccessRetrievalPolicy determines the data retrieval behavior from the cool tier to standard storage based on the read pattern for cool access enabled volumes. The possible values for this field are: Default - Data will be pulled from cool tier to standard storage on random reads. This policy is the default. OnRead - All client-driven data read is pulled from cool tier to standard storage on both sequential and random reads. Never - No client-driven data is pulled from cool tier to standard storage. Known values are: "Default", "OnRead", and "Never". (Default, OnRead, Never) |
coolAccessTieringPolicy | string | coolAccessTieringPolicy determines which cold data blocks are moved to cool tier. The possible values for this field are: Auto - Moves cold user data blocks in both the Snapshot copies and the active file system to the cool tier tier. This policy is the default. SnapshotOnly - Moves user data blocks of the Volume Snapshot copies that are not associated with the active file system to the cool tier. Known values are: "Auto" and "SnapshotOnly". (Auto, SnapshotOnly) |
coolnessPeriod | integer | Specifies the number of days after which data that is not accessed by clients will be tiered. |
creationToken | string | A unique file path for the volume. Used when creating mount targets. Required. |
dataProtection | object | DataProtection type volumes include an object containing details of the replication. |
dataStoreResourceId | array | Data store resource unique identifier. |
defaultGroupQuotaInKiBs | integer | Default group quota for volume in KiBs. If isDefaultQuotaEnabled is set, the minimum value of 4 KiBs applies. |
defaultUserQuotaInKiBs | integer | Default user quota for volume in KiBs. If isDefaultQuotaEnabled is set, the minimum value of 4 KiBs applies . |
deleteBaseSnapshot | boolean | If enabled (true) the snapshot the volume was created from will be automatically deleted after the volume create operation has finished. Defaults to false. |
effectiveNetworkFeatures | string | The effective value of the network features type available to the volume, or current effective state of update. Known values are: "Basic", "Standard", "Basic_Standard", and "Standard_Basic". (Basic, Standard, Basic_Standard, Standard_Basic) |
enableSubvolumes | string | Flag indicating whether subvolume operations are enabled on the volume. Known values are: "Enabled" and "Disabled". (Enabled, Disabled) |
encrypted | boolean | Specifies if the volume is encrypted or not. Only available on volumes created or updated after 2022-01-01. |
encryptionKeySource | string | Source of key used to encrypt data in volume. Applicable if NetApp account has encryption.keySource = 'Microsoft.KeyVault'. Possible values (case-insensitive) are: 'Microsoft.NetApp, Microsoft.KeyVault'. Known values are: "Microsoft.NetApp" and "Microsoft.KeyVault". (Microsoft.NetApp, Microsoft.KeyVault) |
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."). |
exportPolicy | object | Set of export policy rules. |
fileAccessLogs | string | Flag indicating whether file access logs are enabled for the volume, based on active diagnostic settings present on the volume. Known values are: "Enabled" and "Disabled". (Enabled, Disabled) |
fileSystemId | string | Unique FileSystem Identifier. |
inheritedSizeInBytes | integer | Space shared by short term clone volume with parent volume in bytes. |
isDefaultQuotaEnabled | boolean | Specifies if default quota is enabled for the volume. |
isLargeVolume | boolean | Specifies whether volume is a Large Volume or Regular Volume. |
isRestoring | boolean | Restoring. |
kerberosEnabled | boolean | Describe if a volume is KerberosEnabled. To be use with swagger version 2020-05-01 or later. |
keyVaultPrivateEndpointResourceId | string | The resource ID of private endpoint for KeyVault. It must reside in the same VNET as the volume. Only applicable if encryptionKeySource = 'Microsoft.KeyVault'. |
language | string | Language supported for volume. Known values are: "c.utf-8", "utf8mb4", "ar", "ar.utf-8", "hr", "hr.utf-8", "cs", "cs.utf-8", "da", "da.utf-8", "nl", "nl.utf-8", "en", "en.utf-8", "fi", "fi.utf-8", "fr", "fr.utf-8", "de", "de.utf-8", "he", "he.utf-8", "hu", "hu.utf-8", "it", "it.utf-8", "ja", "ja.utf-8", "ja-v1", "ja-v1.utf-8", "ja-jp.pck", "ja-jp.pck.utf-8", "ja-jp.932", "ja-jp.932.utf-8", "ja-jp.pck-v2", "ja-jp.pck-v2.utf-8", "ko", "ko.utf-8", "no", "no.utf-8", "pl", "pl.utf-8", "pt", "pt.utf-8", "c", "ro", "ro.utf-8", "ru", "ru.utf-8", "zh", "zh.utf-8", "zh.gbk", "zh.gbk.utf-8", "zh-tw.big5", "zh-tw.big5.utf-8", "zh-tw", "zh-tw.utf-8", "sk", "sk.utf-8", "sl", "sl.utf-8", "es", "es.utf-8", "sv", "sv.utf-8", "tr", "tr.utf-8", "en-us", and "en-us.utf-8". (c.utf-8, utf8mb4, ar, ar.utf-8, hr, hr.utf-8, cs, cs.utf-8, da, da.utf-8, nl, nl.utf-8, en, en.utf-8, fi, fi.utf-8, fr, fr.utf-8, de, de.utf-8, he, he.utf-8, hu, hu.utf-8, it, it.utf-8, ja, ja.utf-8, ja-v1, ja-v1.utf-8, ja-jp.pck, ja-jp.pck.utf-8, ja-jp.932, ja-jp.932.utf-8, ja-jp.pck-v2, ja-jp.pck-v2.utf-8, ko, ko.utf-8, no, no.utf-8, pl, pl.utf-8, pt, pt.utf-8, c, ro, ro.utf-8, ru, ru.utf-8, zh, zh.utf-8, zh.gbk, zh.gbk.utf-8, zh-tw.big5, zh-tw.big5.utf-8, zh-tw, zh-tw.utf-8, sk, sk.utf-8, sl, sl.utf-8, es, es.utf-8, sv, sv.utf-8, tr, tr.utf-8, en-us, en-us.utf-8) |
largeVolumeType | string | Specifies the type of the Large Volume. When set to 'LargeVolume', the large volume is created with standard configuration. If it is set to 'ExtraLargeVolume7Dot2PiB', the extra large volume is created with higher capacity limit 7.2PiB with cool access enabled, delivering higher capacity limit with lower costs. Known values are: "LargeVolume" and "PremExtraLargeVolume7Dot2PiB". (LargeVolume, PremExtraLargeVolume7Dot2PiB) |
ldapEnabled | boolean | Specifies whether LDAP is enabled or not for a given NFS volume. |
ldapServerType | string | Specifies the type of LDAP server for a given NFS volume. Known values are: "ActiveDirectory" and "OpenLDAP". (ActiveDirectory, OpenLDAP) |
location | string | The geo-location where the resource lives. Required. |
maximumNumberOfFiles | integer | Maximum number of files allowed. Needs a service request in order to be changed. Only allowed to be changed if volume quota is more than 4TiB. |
mountTargets | array | List of mount targets. |
networkFeatures | string | The original value of the network features type available to the volume at the time it was created. Known values are: "Basic", "Standard", "Basic_Standard", and "Standard_Basic". (Basic, Standard, Basic_Standard, Standard_Basic) |
networkSiblingSetId | string | Network Sibling Set ID for the the group of volumes sharing networking resources. |
originatingResourceId | string | Id of the snapshot or backup that the volume is restored from. |
placementRules | array | Application specific placement rules for the particular volume. |
protocolTypes | array | Set of protocol types, default NFSv3, CIFS for SMB protocol. |
provisionedAvailabilityZone | string | The availability zone where the volume is provisioned. This refers to the logical availability zone where the volume resides. |
provisioningState | string | Azure lifecycle management. |
proximityPlacementGroup | string | Proximity placement group associated with the volume. |
securityStyle | string | The security style of volume, default unix, defaults to ntfs for dual protocol or CIFS protocol. Known values are: "ntfs" and "unix". (ntfs, unix) |
serviceLevel | string | The service level of the file system. Known values are: "Standard", "Premium", "Ultra", "StandardZRS", and "Flexible". (Standard, Premium, Ultra, StandardZRS, Flexible) |
smbAccessBasedEnumeration | string | Enables access-based enumeration share property for SMB Shares. Only applicable for SMB/DualProtocol volume. Known values are: "Disabled" and "Enabled". (Disabled, Enabled) |
smbContinuouslyAvailable | boolean | Enables continuously available share property for smb volume. Only applicable for SMB volume. |
smbEncryption | boolean | Enables encryption for in-flight smb3 data. Only applicable for SMB/DualProtocol volume. To be used with swagger version 2020-08-01 or later. |
smbNonBrowsable | string | Enables non-browsable property for SMB Shares. Only applicable for SMB/DualProtocol volume. Known values are: "Disabled" and "Enabled". (Disabled, Enabled) |
snapshotDirectoryVisible | boolean | If enabled (true) the volume will contain a read-only snapshot directory which provides access to each of the volume's snapshots (defaults to true). |
snapshotId | string | Resource identifier used to identify the Snapshot. |
storageToNetworkProximity | string | Provides storage to network proximity information for the volume. Known values are: "Default", "T1", "T2", and "AcrossT2". (Default, T1, T2, AcrossT2) |
subnetId | string | The Azure Resource URI for a delegated subnet. Must have the delegation Microsoft.NetApp/volumes. Required. |
systemData | object | Azure Resource Manager metadata containing createdBy and modifiedBy information. |
t2Network | string | T2 network information. |
tags | object | Resource tags. |
throughputMibps | number | Maximum throughput in MiB/s that can be achieved by this volume and this will be accepted as input only for manual qosType volume. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". |
unixPermissions | string | UNIX permissions for NFS volume accepted in octal 4 digit format. First digit selects the set user ID(4), set group ID (2) and sticky (1) attributes. Second digit selects permission for the owner of the file: read (4), write (2) and execute (1). Third selects permissions for other users in the same group. the fourth for other users not in the group. 0755 - gives read/write/execute permissions to owner and read/execute to group and other users. |
usageThreshold | integer | Maximum storage quota allowed for a file system in bytes. This is a soft quota used for alerting only. For regular volumes, valid values are in the range 50GiB to 100TiB. For large volumes, valid values are in the range 100TiB to 500TiB, and on an exceptional basis, from to 2400GiB to 2400TiB. For extra large volumes, valid values are in the range 2400GiB to 7200TiB. Values expressed in bytes as multiples of 1 GiB. Required. |
volumeGroupName | string | Volume Group Name. |
volumeSpecName | string | Volume spec name is the application specific designation or identifier for the particular volume in a volume group for e.g. data, log. |
volumeType | string | What type of volume is this. For destination volumes in Cross Region Replication, set type to DataProtection. For creating clone volume, set type to ShortTermClone. |
zones | array | The availability zones. |
| 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. |
acceptGrowCapacityPoolForShortTermCloneSplit | string | While auto splitting the short term clone volume, if the parent pool does not have enough space to accommodate the volume after split, it will be automatically resized, which will lead to increased billing. To accept capacity pool size auto grow and create a short term clone volume, set the property as accepted. Known values are: "Accepted" and "Declined". (Accepted, Declined) |
actualThroughputMibps | number | Actual throughput in MiB/s for auto qosType volumes calculated based on size and serviceLevel. |
avsDataStore | string | Specifies whether the volume is enabled for Azure VMware Solution (AVS) datastore purpose. Known values are: "Enabled" and "Disabled". (Enabled, Disabled) |
backupId | string | Resource identifier used to identify the Backup. |
baremetalTenantId | string | Unique Baremetal Tenant Identifier. |
breakthroughMode | string | Specifies whether the volume operates in Breakthrough Mode. Known values are: "Enabled" and "Disabled". (Enabled, Disabled) |
capacityPoolResourceId | string | Pool Resource Id used in case of creating a volume through volume group. |
cloneProgress | integer | When a volume is being restored from another volume's snapshot, will show the percentage completion of this cloning process. When this value is empty/null there is no cloning process currently happening on this volume. This value will update every 5 minutes during cloning. |
coolAccess | boolean | Specifies whether Cool Access(tiering) is enabled for the volume. |
coolAccessRetrievalPolicy | string | coolAccessRetrievalPolicy determines the data retrieval behavior from the cool tier to standard storage based on the read pattern for cool access enabled volumes. The possible values for this field are: Default - Data will be pulled from cool tier to standard storage on random reads. This policy is the default. OnRead - All client-driven data read is pulled from cool tier to standard storage on both sequential and random reads. Never - No client-driven data is pulled from cool tier to standard storage. Known values are: "Default", "OnRead", and "Never". (Default, OnRead, Never) |
coolAccessTieringPolicy | string | coolAccessTieringPolicy determines which cold data blocks are moved to cool tier. The possible values for this field are: Auto - Moves cold user data blocks in both the Snapshot copies and the active file system to the cool tier tier. This policy is the default. SnapshotOnly - Moves user data blocks of the Volume Snapshot copies that are not associated with the active file system to the cool tier. Known values are: "Auto" and "SnapshotOnly". (Auto, SnapshotOnly) |
coolnessPeriod | integer | Specifies the number of days after which data that is not accessed by clients will be tiered. |
creationToken | string | A unique file path for the volume. Used when creating mount targets. Required. |
dataProtection | object | DataProtection type volumes include an object containing details of the replication. |
dataStoreResourceId | array | Data store resource unique identifier. |
defaultGroupQuotaInKiBs | integer | Default group quota for volume in KiBs. If isDefaultQuotaEnabled is set, the minimum value of 4 KiBs applies. |
defaultUserQuotaInKiBs | integer | Default user quota for volume in KiBs. If isDefaultQuotaEnabled is set, the minimum value of 4 KiBs applies . |
deleteBaseSnapshot | boolean | If enabled (true) the snapshot the volume was created from will be automatically deleted after the volume create operation has finished. Defaults to false. |
effectiveNetworkFeatures | string | The effective value of the network features type available to the volume, or current effective state of update. Known values are: "Basic", "Standard", "Basic_Standard", and "Standard_Basic". (Basic, Standard, Basic_Standard, Standard_Basic) |
enableSubvolumes | string | Flag indicating whether subvolume operations are enabled on the volume. Known values are: "Enabled" and "Disabled". (Enabled, Disabled) |
encrypted | boolean | Specifies if the volume is encrypted or not. Only available on volumes created or updated after 2022-01-01. |
encryptionKeySource | string | Source of key used to encrypt data in volume. Applicable if NetApp account has encryption.keySource = 'Microsoft.KeyVault'. Possible values (case-insensitive) are: 'Microsoft.NetApp, Microsoft.KeyVault'. Known values are: "Microsoft.NetApp" and "Microsoft.KeyVault". (Microsoft.NetApp, Microsoft.KeyVault) |
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."). |
exportPolicy | object | Set of export policy rules. |
fileAccessLogs | string | Flag indicating whether file access logs are enabled for the volume, based on active diagnostic settings present on the volume. Known values are: "Enabled" and "Disabled". (Enabled, Disabled) |
fileSystemId | string | Unique FileSystem Identifier. |
inheritedSizeInBytes | integer | Space shared by short term clone volume with parent volume in bytes. |
isDefaultQuotaEnabled | boolean | Specifies if default quota is enabled for the volume. |
isLargeVolume | boolean | Specifies whether volume is a Large Volume or Regular Volume. |
isRestoring | boolean | Restoring. |
kerberosEnabled | boolean | Describe if a volume is KerberosEnabled. To be use with swagger version 2020-05-01 or later. |
keyVaultPrivateEndpointResourceId | string | The resource ID of private endpoint for KeyVault. It must reside in the same VNET as the volume. Only applicable if encryptionKeySource = 'Microsoft.KeyVault'. |
language | string | Language supported for volume. Known values are: "c.utf-8", "utf8mb4", "ar", "ar.utf-8", "hr", "hr.utf-8", "cs", "cs.utf-8", "da", "da.utf-8", "nl", "nl.utf-8", "en", "en.utf-8", "fi", "fi.utf-8", "fr", "fr.utf-8", "de", "de.utf-8", "he", "he.utf-8", "hu", "hu.utf-8", "it", "it.utf-8", "ja", "ja.utf-8", "ja-v1", "ja-v1.utf-8", "ja-jp.pck", "ja-jp.pck.utf-8", "ja-jp.932", "ja-jp.932.utf-8", "ja-jp.pck-v2", "ja-jp.pck-v2.utf-8", "ko", "ko.utf-8", "no", "no.utf-8", "pl", "pl.utf-8", "pt", "pt.utf-8", "c", "ro", "ro.utf-8", "ru", "ru.utf-8", "zh", "zh.utf-8", "zh.gbk", "zh.gbk.utf-8", "zh-tw.big5", "zh-tw.big5.utf-8", "zh-tw", "zh-tw.utf-8", "sk", "sk.utf-8", "sl", "sl.utf-8", "es", "es.utf-8", "sv", "sv.utf-8", "tr", "tr.utf-8", "en-us", and "en-us.utf-8". (c.utf-8, utf8mb4, ar, ar.utf-8, hr, hr.utf-8, cs, cs.utf-8, da, da.utf-8, nl, nl.utf-8, en, en.utf-8, fi, fi.utf-8, fr, fr.utf-8, de, de.utf-8, he, he.utf-8, hu, hu.utf-8, it, it.utf-8, ja, ja.utf-8, ja-v1, ja-v1.utf-8, ja-jp.pck, ja-jp.pck.utf-8, ja-jp.932, ja-jp.932.utf-8, ja-jp.pck-v2, ja-jp.pck-v2.utf-8, ko, ko.utf-8, no, no.utf-8, pl, pl.utf-8, pt, pt.utf-8, c, ro, ro.utf-8, ru, ru.utf-8, zh, zh.utf-8, zh.gbk, zh.gbk.utf-8, zh-tw.big5, zh-tw.big5.utf-8, zh-tw, zh-tw.utf-8, sk, sk.utf-8, sl, sl.utf-8, es, es.utf-8, sv, sv.utf-8, tr, tr.utf-8, en-us, en-us.utf-8) |
largeVolumeType | string | Specifies the type of the Large Volume. When set to 'LargeVolume', the large volume is created with standard configuration. If it is set to 'ExtraLargeVolume7Dot2PiB', the extra large volume is created with higher capacity limit 7.2PiB with cool access enabled, delivering higher capacity limit with lower costs. Known values are: "LargeVolume" and "PremExtraLargeVolume7Dot2PiB". (LargeVolume, PremExtraLargeVolume7Dot2PiB) |
ldapEnabled | boolean | Specifies whether LDAP is enabled or not for a given NFS volume. |
ldapServerType | string | Specifies the type of LDAP server for a given NFS volume. Known values are: "ActiveDirectory" and "OpenLDAP". (ActiveDirectory, OpenLDAP) |
location | string | The geo-location where the resource lives. Required. |
maximumNumberOfFiles | integer | Maximum number of files allowed. Needs a service request in order to be changed. Only allowed to be changed if volume quota is more than 4TiB. |
mountTargets | array | List of mount targets. |
networkFeatures | string | The original value of the network features type available to the volume at the time it was created. Known values are: "Basic", "Standard", "Basic_Standard", and "Standard_Basic". (Basic, Standard, Basic_Standard, Standard_Basic) |
networkSiblingSetId | string | Network Sibling Set ID for the the group of volumes sharing networking resources. |
originatingResourceId | string | Id of the snapshot or backup that the volume is restored from. |
placementRules | array | Application specific placement rules for the particular volume. |
protocolTypes | array | Set of protocol types, default NFSv3, CIFS for SMB protocol. |
provisionedAvailabilityZone | string | The availability zone where the volume is provisioned. This refers to the logical availability zone where the volume resides. |
provisioningState | string | Azure lifecycle management. |
proximityPlacementGroup | string | Proximity placement group associated with the volume. |
securityStyle | string | The security style of volume, default unix, defaults to ntfs for dual protocol or CIFS protocol. Known values are: "ntfs" and "unix". (ntfs, unix) |
serviceLevel | string | The service level of the file system. Known values are: "Standard", "Premium", "Ultra", "StandardZRS", and "Flexible". (Standard, Premium, Ultra, StandardZRS, Flexible) |
smbAccessBasedEnumeration | string | Enables access-based enumeration share property for SMB Shares. Only applicable for SMB/DualProtocol volume. Known values are: "Disabled" and "Enabled". (Disabled, Enabled) |
smbContinuouslyAvailable | boolean | Enables continuously available share property for smb volume. Only applicable for SMB volume. |
smbEncryption | boolean | Enables encryption for in-flight smb3 data. Only applicable for SMB/DualProtocol volume. To be used with swagger version 2020-08-01 or later. |
smbNonBrowsable | string | Enables non-browsable property for SMB Shares. Only applicable for SMB/DualProtocol volume. Known values are: "Disabled" and "Enabled". (Disabled, Enabled) |
snapshotDirectoryVisible | boolean | If enabled (true) the volume will contain a read-only snapshot directory which provides access to each of the volume's snapshots (defaults to true). |
snapshotId | string | Resource identifier used to identify the Snapshot. |
storageToNetworkProximity | string | Provides storage to network proximity information for the volume. Known values are: "Default", "T1", "T2", and "AcrossT2". (Default, T1, T2, AcrossT2) |
subnetId | string | The Azure Resource URI for a delegated subnet. Must have the delegation Microsoft.NetApp/volumes. Required. |
systemData | object | Azure Resource Manager metadata containing createdBy and modifiedBy information. |
t2Network | string | T2 network information. |
tags | object | Resource tags. |
throughputMibps | number | Maximum throughput in MiB/s that can be achieved by this volume and this will be accepted as input only for manual qosType volume. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". |
unixPermissions | string | UNIX permissions for NFS volume accepted in octal 4 digit format. First digit selects the set user ID(4), set group ID (2) and sticky (1) attributes. Second digit selects permission for the owner of the file: read (4), write (2) and execute (1). Third selects permissions for other users in the same group. the fourth for other users not in the group. 0755 - gives read/write/execute permissions to owner and read/execute to group and other users. |
usageThreshold | integer | Maximum storage quota allowed for a file system in bytes. This is a soft quota used for alerting only. For regular volumes, valid values are in the range 50GiB to 100TiB. For large volumes, valid values are in the range 100TiB to 500TiB, and on an exceptional basis, from to 2400GiB to 2400TiB. For extra large volumes, valid values are in the range 2400GiB to 7200TiB. Values expressed in bytes as multiples of 1 GiB. Required. |
volumeGroupName | string | Volume Group Name. |
volumeSpecName | string | Volume spec name is the application specific designation or identifier for the particular volume in a volume group for e.g. data, log. |
volumeType | string | What type of volume is this. For destination volumes in Cross Region Replication, set type to DataProtection. For creating clone volume, set type to ShortTermClone. |
zones | array | The availability zones. |
Methods
The following methods are available for this resource:
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 | |
volume_name | string | The name of the volume. Required. |
forceDelete | boolean | An option to force delete the volume. Will cleanup resources connected to the particular volume. Default value is None. |
SELECT examples
- list_get_group_id_list_for_ldap_user
- get
- list
Returns the list of group Ids for a specific LDAP User.
SELECT
groupIdsForLdapUser
FROM azure.netapp.volumes
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND account_name = '{{ account_name }}' -- required
AND pool_name = '{{ pool_name }}' -- required
AND volume_name = '{{ volume_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;
Get the details of the specified volume.
SELECT
id,
name,
acceptGrowCapacityPoolForShortTermCloneSplit,
actualThroughputMibps,
avsDataStore,
backupId,
baremetalTenantId,
breakthroughMode,
capacityPoolResourceId,
cloneProgress,
coolAccess,
coolAccessRetrievalPolicy,
coolAccessTieringPolicy,
coolnessPeriod,
creationToken,
dataProtection,
dataStoreResourceId,
defaultGroupQuotaInKiBs,
defaultUserQuotaInKiBs,
deleteBaseSnapshot,
effectiveNetworkFeatures,
enableSubvolumes,
encrypted,
encryptionKeySource,
etag,
exportPolicy,
fileAccessLogs,
fileSystemId,
inheritedSizeInBytes,
isDefaultQuotaEnabled,
isLargeVolume,
isRestoring,
kerberosEnabled,
keyVaultPrivateEndpointResourceId,
language,
largeVolumeType,
ldapEnabled,
ldapServerType,
location,
maximumNumberOfFiles,
mountTargets,
networkFeatures,
networkSiblingSetId,
originatingResourceId,
placementRules,
protocolTypes,
provisionedAvailabilityZone,
provisioningState,
proximityPlacementGroup,
securityStyle,
serviceLevel,
smbAccessBasedEnumeration,
smbContinuouslyAvailable,
smbEncryption,
smbNonBrowsable,
snapshotDirectoryVisible,
snapshotId,
storageToNetworkProximity,
subnetId,
systemData,
t2Network,
tags,
throughputMibps,
type,
unixPermissions,
usageThreshold,
volumeGroupName,
volumeSpecName,
volumeType,
zones
FROM azure.netapp.volumes
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND account_name = '{{ account_name }}' -- required
AND pool_name = '{{ pool_name }}' -- required
AND volume_name = '{{ volume_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;
List all volumes within the capacity pool.
SELECT
id,
name,
acceptGrowCapacityPoolForShortTermCloneSplit,
actualThroughputMibps,
avsDataStore,
backupId,
baremetalTenantId,
breakthroughMode,
capacityPoolResourceId,
cloneProgress,
coolAccess,
coolAccessRetrievalPolicy,
coolAccessTieringPolicy,
coolnessPeriod,
creationToken,
dataProtection,
dataStoreResourceId,
defaultGroupQuotaInKiBs,
defaultUserQuotaInKiBs,
deleteBaseSnapshot,
effectiveNetworkFeatures,
enableSubvolumes,
encrypted,
encryptionKeySource,
etag,
exportPolicy,
fileAccessLogs,
fileSystemId,
inheritedSizeInBytes,
isDefaultQuotaEnabled,
isLargeVolume,
isRestoring,
kerberosEnabled,
keyVaultPrivateEndpointResourceId,
language,
largeVolumeType,
ldapEnabled,
ldapServerType,
location,
maximumNumberOfFiles,
mountTargets,
networkFeatures,
networkSiblingSetId,
originatingResourceId,
placementRules,
protocolTypes,
provisionedAvailabilityZone,
provisioningState,
proximityPlacementGroup,
securityStyle,
serviceLevel,
smbAccessBasedEnumeration,
smbContinuouslyAvailable,
smbEncryption,
smbNonBrowsable,
snapshotDirectoryVisible,
snapshotId,
storageToNetworkProximity,
subnetId,
systemData,
t2Network,
tags,
throughputMibps,
type,
unixPermissions,
usageThreshold,
volumeGroupName,
volumeSpecName,
volumeType,
zones
FROM azure.netapp.volumes
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
;
INSERT examples
- create_or_update
- Manifest
Create or update the specified volume within the capacity pool.
INSERT INTO azure.netapp.volumes (
tags,
location,
properties,
zones,
resource_group_name,
account_name,
pool_name,
volume_name,
subscription_id
)
SELECT
'{{ tags }}',
'{{ location }}' /* required */,
'{{ properties }}' /* required */,
'{{ zones }}',
'{{ resource_group_name }}',
'{{ account_name }}',
'{{ pool_name }}',
'{{ volume_name }}',
'{{ subscription_id }}'
RETURNING
id,
name,
etag,
location,
properties,
systemData,
tags,
type,
zones
;
# Description fields are for documentation purposes
- name: volumes
props:
- name: resource_group_name
value: "{{ resource_group_name }}"
description: Required parameter for the volumes resource.
- name: account_name
value: "{{ account_name }}"
description: Required parameter for the volumes resource.
- name: pool_name
value: "{{ pool_name }}"
description: Required parameter for the volumes resource.
- name: volume_name
value: "{{ volume_name }}"
description: Required parameter for the volumes resource.
- name: subscription_id
value: "{{ subscription_id }}"
description: Required parameter for the volumes resource.
- name: tags
value: "{{ tags }}"
description: |
Resource tags.
- name: location
value: "{{ location }}"
description: |
The geo-location where the resource lives. Required.
- name: properties
description: |
Volume properties. Required.
value:
fileSystemId: "{{ fileSystemId }}"
creationToken: "{{ creationToken }}"
serviceLevel: "{{ serviceLevel }}"
usageThreshold: {{ usageThreshold }}
exportPolicy:
rules:
- ruleIndex: {{ ruleIndex }}
unixReadOnly: {{ unixReadOnly }}
unixReadWrite: {{ unixReadWrite }}
kerberos5ReadOnly: {{ kerberos5ReadOnly }}
kerberos5ReadWrite: {{ kerberos5ReadWrite }}
kerberos5iReadOnly: {{ kerberos5iReadOnly }}
kerberos5iReadWrite: {{ kerberos5iReadWrite }}
kerberos5pReadOnly: {{ kerberos5pReadOnly }}
kerberos5pReadWrite: {{ kerberos5pReadWrite }}
cifs: {{ cifs }}
nfsv3: {{ nfsv3 }}
nfsv41: {{ nfsv41 }}
allowedClients: "{{ allowedClients }}"
hasRootAccess: {{ hasRootAccess }}
chownMode: "{{ chownMode }}"
protocolTypes:
- "{{ protocolTypes }}"
provisioningState: "{{ provisioningState }}"
snapshotId: "{{ snapshotId }}"
deleteBaseSnapshot: {{ deleteBaseSnapshot }}
backupId: "{{ backupId }}"
baremetalTenantId: "{{ baremetalTenantId }}"
subnetId: "{{ subnetId }}"
networkFeatures: "{{ networkFeatures }}"
effectiveNetworkFeatures: "{{ effectiveNetworkFeatures }}"
networkSiblingSetId: "{{ networkSiblingSetId }}"
storageToNetworkProximity: "{{ storageToNetworkProximity }}"
mountTargets:
- mountTargetId: "{{ mountTargetId }}"
fileSystemId: "{{ fileSystemId }}"
ipAddress: "{{ ipAddress }}"
smbServerFqdn: "{{ smbServerFqdn }}"
volumeType: "{{ volumeType }}"
dataProtection:
backup:
backupPolicyId: "{{ backupPolicyId }}"
policyEnforced: {{ policyEnforced }}
backupVaultId: "{{ backupVaultId }}"
replication:
replicationId: "{{ replicationId }}"
endpointType: "{{ endpointType }}"
replicationSchedule: "{{ replicationSchedule }}"
remoteVolumeResourceId: "{{ remoteVolumeResourceId }}"
remotePath:
externalHostName: "{{ externalHostName }}"
serverName: "{{ serverName }}"
volumeName: "{{ volumeName }}"
remoteVolumeRegion: "{{ remoteVolumeRegion }}"
destinationReplications:
- resourceId: "{{ resourceId }}"
replicationType: "{{ replicationType }}"
region: "{{ region }}"
zone: "{{ zone }}"
externalReplicationSetupStatus: "{{ externalReplicationSetupStatus }}"
externalReplicationSetupInfo: "{{ externalReplicationSetupInfo }}"
mirrorState: "{{ mirrorState }}"
relationshipStatus: "{{ relationshipStatus }}"
snapshot:
snapshotPolicyId: "{{ snapshotPolicyId }}"
volumeRelocation:
relocationRequested: {{ relocationRequested }}
readyToBeFinalized: {{ readyToBeFinalized }}
ransomwareProtection:
desiredRansomwareProtectionState: "{{ desiredRansomwareProtectionState }}"
actualRansomwareProtectionState: "{{ actualRansomwareProtectionState }}"
acceptGrowCapacityPoolForShortTermCloneSplit: "{{ acceptGrowCapacityPoolForShortTermCloneSplit }}"
isRestoring: {{ isRestoring }}
snapshotDirectoryVisible: {{ snapshotDirectoryVisible }}
kerberosEnabled: {{ kerberosEnabled }}
securityStyle: "{{ securityStyle }}"
smbEncryption: {{ smbEncryption }}
smbAccessBasedEnumeration: "{{ smbAccessBasedEnumeration }}"
smbNonBrowsable: "{{ smbNonBrowsable }}"
smbContinuouslyAvailable: {{ smbContinuouslyAvailable }}
throughputMibps: {{ throughputMibps }}
actualThroughputMibps: {{ actualThroughputMibps }}
encryptionKeySource: "{{ encryptionKeySource }}"
keyVaultPrivateEndpointResourceId: "{{ keyVaultPrivateEndpointResourceId }}"
ldapEnabled: {{ ldapEnabled }}
ldapServerType: "{{ ldapServerType }}"
coolAccess: {{ coolAccess }}
coolnessPeriod: {{ coolnessPeriod }}
coolAccessRetrievalPolicy: "{{ coolAccessRetrievalPolicy }}"
coolAccessTieringPolicy: "{{ coolAccessTieringPolicy }}"
unixPermissions: "{{ unixPermissions }}"
cloneProgress: {{ cloneProgress }}
fileAccessLogs: "{{ fileAccessLogs }}"
avsDataStore: "{{ avsDataStore }}"
dataStoreResourceId:
- "{{ dataStoreResourceId }}"
isDefaultQuotaEnabled: {{ isDefaultQuotaEnabled }}
defaultUserQuotaInKiBs: {{ defaultUserQuotaInKiBs }}
defaultGroupQuotaInKiBs: {{ defaultGroupQuotaInKiBs }}
maximumNumberOfFiles: {{ maximumNumberOfFiles }}
volumeGroupName: "{{ volumeGroupName }}"
capacityPoolResourceId: "{{ capacityPoolResourceId }}"
proximityPlacementGroup: "{{ proximityPlacementGroup }}"
t2Network: "{{ t2Network }}"
volumeSpecName: "{{ volumeSpecName }}"
encrypted: {{ encrypted }}
placementRules:
- key: "{{ key }}"
value: "{{ value }}"
enableSubvolumes: "{{ enableSubvolumes }}"
provisionedAvailabilityZone: "{{ provisionedAvailabilityZone }}"
isLargeVolume: {{ isLargeVolume }}
largeVolumeType: "{{ largeVolumeType }}"
originatingResourceId: "{{ originatingResourceId }}"
inheritedSizeInBytes: {{ inheritedSizeInBytes }}
language: "{{ language }}"
breakthroughMode: "{{ breakthroughMode }}"
- name: zones
value:
- "{{ zones }}"
description: |
The availability zones.
UPDATE examples
- update
Patch the specified volume.
UPDATE azure.netapp.volumes
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 volume_name = '{{ volume_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
RETURNING
id,
name,
etag,
location,
properties,
systemData,
tags,
type,
zones;
REPLACE examples
- create_or_update
Create or update the specified volume within the capacity pool.
REPLACE azure.netapp.volumes
SET
tags = '{{ tags }}',
location = '{{ location }}',
properties = '{{ properties }}',
zones = '{{ zones }}'
WHERE
resource_group_name = '{{ resource_group_name }}' --required
AND account_name = '{{ account_name }}' --required
AND pool_name = '{{ pool_name }}' --required
AND volume_name = '{{ volume_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,
zones;
DELETE examples
- delete
Delete the specified volume.
DELETE FROM azure.netapp.volumes
WHERE resource_group_name = '{{ resource_group_name }}' --required
AND account_name = '{{ account_name }}' --required
AND pool_name = '{{ pool_name }}' --required
AND volume_name = '{{ volume_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
AND forceDelete = '{{ forceDelete }}'
;
Lifecycle Methods
- list_replications
- list_quota_report
- populate_availability_zone
- revert
- reset_cifs_password
- split_clone_from_parent
- break_file_locks
- break_replication
- reestablish_replication
- replication_status
- resync_replication
- delete_replication
- authorize_replication
- re_initialize_replication
- peer_external_cluster
- authorize_external_replication
- finalize_external_replication
- perform_replication_transfer
- pool_change
- relocate
- finalize_relocation
- revert_relocation
List all replications for a specified volume.
EXEC azure.netapp.volumes.list_replications
@resource_group_name='{{ resource_group_name }}' --required,
@account_name='{{ account_name }}' --required,
@pool_name='{{ pool_name }}' --required,
@volume_name='{{ volume_name }}' --required,
@subscription_id='{{ subscription_id }}' --required
@@json=
'{
"exclude": "{{ exclude }}"
}'
;
Get quota report for volume (with filter support).
EXEC azure.netapp.volumes.list_quota_report
@resource_group_name='{{ resource_group_name }}' --required,
@account_name='{{ account_name }}' --required,
@pool_name='{{ pool_name }}' --required,
@volume_name='{{ volume_name }}' --required,
@subscription_id='{{ subscription_id }}' --required
@@json=
'{
"quotaType": "{{ quotaType }}",
"quotaTarget": "{{ quotaTarget }}",
"usageThresholdPercentage": {{ usageThresholdPercentage }}
}'
;
This operation will populate availability zone information for a volume.
EXEC azure.netapp.volumes.populate_availability_zone
@resource_group_name='{{ resource_group_name }}' --required,
@account_name='{{ account_name }}' --required,
@pool_name='{{ pool_name }}' --required,
@volume_name='{{ volume_name }}' --required,
@subscription_id='{{ subscription_id }}' --required
;
Revert a volume to the snapshot specified in the body.
EXEC azure.netapp.volumes.revert
@resource_group_name='{{ resource_group_name }}' --required,
@account_name='{{ account_name }}' --required,
@pool_name='{{ pool_name }}' --required,
@volume_name='{{ volume_name }}' --required,
@subscription_id='{{ subscription_id }}' --required
@@json=
'{
"snapshotId": "{{ snapshotId }}"
}'
;
Reset cifs password from volume.
EXEC azure.netapp.volumes.reset_cifs_password
@resource_group_name='{{ resource_group_name }}' --required,
@account_name='{{ account_name }}' --required,
@pool_name='{{ pool_name }}' --required,
@volume_name='{{ volume_name }}' --required,
@subscription_id='{{ subscription_id }}' --required
;
Split operation to convert clone volume to an independent volume.
EXEC azure.netapp.volumes.split_clone_from_parent
@resource_group_name='{{ resource_group_name }}' --required,
@account_name='{{ account_name }}' --required,
@pool_name='{{ pool_name }}' --required,
@volume_name='{{ volume_name }}' --required,
@subscription_id='{{ subscription_id }}' --required
;
Break all the file locks on a volume.
EXEC azure.netapp.volumes.break_file_locks
@resource_group_name='{{ resource_group_name }}' --required,
@account_name='{{ account_name }}' --required,
@pool_name='{{ pool_name }}' --required,
@volume_name='{{ volume_name }}' --required,
@subscription_id='{{ subscription_id }}' --required
@@json=
'{
"clientIp": "{{ clientIp }}",
"confirmRunningDisruptiveOperation": {{ confirmRunningDisruptiveOperation }}
}'
;
Break the replication connection on the destination volume.
EXEC azure.netapp.volumes.break_replication
@resource_group_name='{{ resource_group_name }}' --required,
@account_name='{{ account_name }}' --required,
@pool_name='{{ pool_name }}' --required,
@volume_name='{{ volume_name }}' --required,
@subscription_id='{{ subscription_id }}' --required
@@json=
'{
"forceBreakReplication": {{ forceBreakReplication }}
}'
;
Re-establish a previously deleted replication between 2 volumes that have a common ad-hoc or policy-based snapshots.
EXEC azure.netapp.volumes.reestablish_replication
@resource_group_name='{{ resource_group_name }}' --required,
@account_name='{{ account_name }}' --required,
@pool_name='{{ pool_name }}' --required,
@volume_name='{{ volume_name }}' --required,
@subscription_id='{{ subscription_id }}' --required
@@json=
'{
"sourceVolumeId": "{{ sourceVolumeId }}"
}'
;
Get the status of the replication.
EXEC azure.netapp.volumes.replication_status
@resource_group_name='{{ resource_group_name }}' --required,
@account_name='{{ account_name }}' --required,
@pool_name='{{ pool_name }}' --required,
@volume_name='{{ volume_name }}' --required,
@subscription_id='{{ subscription_id }}' --required
;
Resync the connection on the destination volume. If the operation is ran on the source volume it will reverse-resync the connection and sync from destination to source.
EXEC azure.netapp.volumes.resync_replication
@resource_group_name='{{ resource_group_name }}' --required,
@account_name='{{ account_name }}' --required,
@pool_name='{{ pool_name }}' --required,
@volume_name='{{ volume_name }}' --required,
@subscription_id='{{ subscription_id }}' --required
;
Delete the replication connection on the destination volume, and send release to the source replication.
EXEC azure.netapp.volumes.delete_replication
@resource_group_name='{{ resource_group_name }}' --required,
@account_name='{{ account_name }}' --required,
@pool_name='{{ pool_name }}' --required,
@volume_name='{{ volume_name }}' --required,
@subscription_id='{{ subscription_id }}' --required
;
Authorize the replication connection on the source volume.
EXEC azure.netapp.volumes.authorize_replication
@resource_group_name='{{ resource_group_name }}' --required,
@account_name='{{ account_name }}' --required,
@pool_name='{{ pool_name }}' --required,
@volume_name='{{ volume_name }}' --required,
@subscription_id='{{ subscription_id }}' --required
@@json=
'{
"remoteVolumeResourceId": "{{ remoteVolumeResourceId }}"
}'
;
Re-Initializes the replication connection on the destination volume.
EXEC azure.netapp.volumes.re_initialize_replication
@resource_group_name='{{ resource_group_name }}' --required,
@account_name='{{ account_name }}' --required,
@pool_name='{{ pool_name }}' --required,
@volume_name='{{ volume_name }}' --required,
@subscription_id='{{ subscription_id }}' --required
;
Starts peering the external cluster for this migration volume.
EXEC azure.netapp.volumes.peer_external_cluster
@resource_group_name='{{ resource_group_name }}' --required,
@account_name='{{ account_name }}' --required,
@pool_name='{{ pool_name }}' --required,
@volume_name='{{ volume_name }}' --required,
@subscription_id='{{ subscription_id }}' --required
@@json=
'{
"peerIpAddresses": "{{ peerIpAddresses }}"
}'
;
Starts SVM peering and returns a command to be run on the external ONTAP to accept it. Once the SVM have been peered a SnapMirror will be created.
EXEC azure.netapp.volumes.authorize_external_replication
@resource_group_name='{{ resource_group_name }}' --required,
@account_name='{{ account_name }}' --required,
@pool_name='{{ pool_name }}' --required,
@volume_name='{{ volume_name }}' --required,
@subscription_id='{{ subscription_id }}' --required
;
Finalizes the migration of an external volume by releasing the replication and breaking the external cluster peering if no other migration is active.
EXEC azure.netapp.volumes.finalize_external_replication
@resource_group_name='{{ resource_group_name }}' --required,
@account_name='{{ account_name }}' --required,
@pool_name='{{ pool_name }}' --required,
@volume_name='{{ volume_name }}' --required,
@subscription_id='{{ subscription_id }}' --required
;
Performs an adhoc replication transfer on a volume with volumeType Migration.
EXEC azure.netapp.volumes.perform_replication_transfer
@resource_group_name='{{ resource_group_name }}' --required,
@account_name='{{ account_name }}' --required,
@pool_name='{{ pool_name }}' --required,
@volume_name='{{ volume_name }}' --required,
@subscription_id='{{ subscription_id }}' --required
;
Moves volume to another pool.
EXEC azure.netapp.volumes.pool_change
@resource_group_name='{{ resource_group_name }}' --required,
@account_name='{{ account_name }}' --required,
@pool_name='{{ pool_name }}' --required,
@volume_name='{{ volume_name }}' --required,
@subscription_id='{{ subscription_id }}' --required
@@json=
'{
"newPoolResourceId": "{{ newPoolResourceId }}"
}'
;
Relocates volume to a new stamp.
EXEC azure.netapp.volumes.relocate
@resource_group_name='{{ resource_group_name }}' --required,
@account_name='{{ account_name }}' --required,
@pool_name='{{ pool_name }}' --required,
@volume_name='{{ volume_name }}' --required,
@subscription_id='{{ subscription_id }}' --required
@@json=
'{
"creationToken": "{{ creationToken }}"
}'
;
Finalizes the relocation of the volume and cleans up the old volume.
EXEC azure.netapp.volumes.finalize_relocation
@resource_group_name='{{ resource_group_name }}' --required,
@account_name='{{ account_name }}' --required,
@pool_name='{{ pool_name }}' --required,
@volume_name='{{ volume_name }}' --required,
@subscription_id='{{ subscription_id }}' --required
;
Reverts the volume relocation process, cleans up the new volume and starts using the former-existing volume.
EXEC azure.netapp.volumes.revert_relocation
@resource_group_name='{{ resource_group_name }}' --required,
@account_name='{{ account_name }}' --required,
@pool_name='{{ pool_name }}' --required,
@volume_name='{{ volume_name }}' --required,
@subscription_id='{{ subscription_id }}' --required
;