Skip to main content

volumes

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

Overview

Namevolumes
TypeResource
Idazure_isv.netapp.volumes

Fields

NameDatatypeDescription
accountNametextfield from the properties object
actual_throughput_mibpstextfield from the properties object
avs_data_storetextfield from the properties object
backup_idtextfield from the properties object
baremetal_tenant_idtextfield from the properties object
capacity_pool_resource_idtextfield from the properties object
clone_progresstextfield from the properties object
cool_accesstextfield from the properties object
cool_access_retrieval_policytextfield from the properties object
coolness_periodtextfield from the properties object
creation_tokentextfield from the properties object
data_protectiontextfield from the properties object
data_store_resource_idtextfield from the properties object
default_group_quota_in_ki_bstextfield from the properties object
default_user_quota_in_ki_bstextfield from the properties object
delete_base_snapshottextfield from the properties object
enable_subvolumestextfield from the properties object
encryptedtextfield from the properties object
encryption_key_sourcetextfield from the properties object
etagtextA unique read-only string that changes whenever the resource is updated.
export_policytextfield from the properties object
file_access_logstextfield from the properties object
file_system_idtextfield from the properties object
is_default_quota_enabledtextfield from the properties object
is_large_volumetextfield from the properties object
is_restoringtextfield from the properties object
kerberos_enabledtextfield from the properties object
key_vault_private_endpoint_resource_idtextfield from the properties object
ldap_enabledtextfield from the properties object
locationtextThe geo-location where the resource lives
maximum_number_of_filestextfield from the properties object
mount_targetstextfield from the properties object
network_featurestextfield from the properties object
network_sibling_set_idtextfield from the properties object
originating_resource_idtextfield from the properties object
placement_rulestextfield from the properties object
poolNametextfield from the properties object
protocol_typestextfield from the properties object
provisioned_availability_zonetextfield from the properties object
provisioning_statetextfield from the properties object
proximity_placement_grouptextfield from the properties object
resourceGroupNametextfield from the properties object
security_styletextfield from the properties object
service_leveltextfield from the properties object
smb_access_based_enumerationtextfield from the properties object
smb_continuously_availabletextfield from the properties object
smb_encryptiontextfield from the properties object
smb_non_browsabletextfield from the properties object
snapshot_directory_visibletextfield from the properties object
snapshot_idtextfield from the properties object
storage_to_network_proximitytextfield from the properties object
subnet_idtextfield from the properties object
subscriptionIdtextfield from the properties object
t2_networktextfield from the properties object
tagstextResource tags.
throughput_mibpstextfield from the properties object
unix_permissionstextfield from the properties object
usage_thresholdtextfield from the properties object
volumeNametextfield from the properties object
volume_group_nametextfield from the properties object
volume_spec_nametextfield from the properties object
volume_typetextfield from the properties object
zonestextAvailability Zone

Methods

NameAccessible byRequired ParamsDescription
getSELECTaccountName, poolName, resourceGroupName, subscriptionId, volumeNameGet the details of the specified volume
listSELECTaccountName, poolName, resourceGroupName, subscriptionIdList all volumes within the capacity pool
create_or_updateINSERTaccountName, poolName, resourceGroupName, subscriptionId, volumeName, data__location, data__propertiesCreate or update the specified volume within the capacity pool
deleteDELETEaccountName, poolName, resourceGroupName, subscriptionId, volumeNameDelete the specified volume
updateUPDATEaccountName, poolName, resourceGroupName, subscriptionId, volumeNamePatch the specified volume
authorize_replicationEXECaccountName, poolName, resourceGroupName, subscriptionId, volumeNameAuthorize the replication connection on the source volume
break_file_locksEXECaccountName, poolName, resourceGroupName, subscriptionId, volumeNameBreak all the file locks on a volume
break_replicationEXECaccountName, poolName, resourceGroupName, subscriptionId, volumeNameBreak the replication connection on the destination volume
finalize_relocationEXECaccountName, poolName, resourceGroupName, subscriptionId, volumeNameFinalizes the relocation of the volume and cleans up the old volume.
pool_changeEXECaccountName, poolName, resourceGroupName, subscriptionId, volumeName, data__newPoolResourceIdMoves volume to another pool
populate_availability_zoneEXECaccountName, poolName, resourceGroupName, subscriptionId, volumeNameThis operation will populate availability zone information for a volume
re_initialize_replicationEXECaccountName, poolName, resourceGroupName, subscriptionId, volumeNameRe-Initializes the replication connection on the destination volume
reestablish_replicationEXECaccountName, poolName, resourceGroupName, subscriptionId, volumeNameRe-establish a previously deleted replication between 2 volumes that have a common ad-hoc or policy-based snapshots
relocateEXECaccountName, poolName, resourceGroupName, subscriptionId, volumeNameRelocates volume to a new stamp
replication_statusEXECaccountName, poolName, resourceGroupName, subscriptionId, volumeNameGet the status of the replication
reset_cifs_passwordEXECaccountName, poolName, resourceGroupName, subscriptionId, volumeNameReset cifs password from volume
resync_replicationEXECaccountName, poolName, resourceGroupName, subscriptionId, volumeNameResync 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.
revertEXECaccountName, poolName, resourceGroupName, subscriptionId, volumeNameRevert a volume to the snapshot specified in the body
revert_relocationEXECaccountName, poolName, resourceGroupName, subscriptionId, volumeNameReverts the volume relocation process, cleans up the new volume and starts using the former-existing volume.

SELECT examples

List all volumes within the capacity pool

SELECT
accountName,
actual_throughput_mibps,
avs_data_store,
backup_id,
baremetal_tenant_id,
capacity_pool_resource_id,
clone_progress,
cool_access,
cool_access_retrieval_policy,
coolness_period,
creation_token,
data_protection,
data_store_resource_id,
default_group_quota_in_ki_bs,
default_user_quota_in_ki_bs,
delete_base_snapshot,
enable_subvolumes,
encrypted,
encryption_key_source,
etag,
export_policy,
file_access_logs,
file_system_id,
is_default_quota_enabled,
is_large_volume,
is_restoring,
kerberos_enabled,
key_vault_private_endpoint_resource_id,
ldap_enabled,
location,
maximum_number_of_files,
mount_targets,
network_features,
network_sibling_set_id,
originating_resource_id,
placement_rules,
poolName,
protocol_types,
provisioned_availability_zone,
provisioning_state,
proximity_placement_group,
resourceGroupName,
security_style,
service_level,
smb_access_based_enumeration,
smb_continuously_available,
smb_encryption,
smb_non_browsable,
snapshot_directory_visible,
snapshot_id,
storage_to_network_proximity,
subnet_id,
subscriptionId,
t2_network,
tags,
throughput_mibps,
unix_permissions,
usage_threshold,
volumeName,
volume_group_name,
volume_spec_name,
volume_type,
zones
FROM azure_isv.netapp.vw_volumes
WHERE accountName = '{{ accountName }}'
AND poolName = '{{ poolName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

INSERT example

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

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

UPDATE example

Updates a volumes resource.

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

DELETE example

Deletes the specified volumes resource.

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