Skip to main content

snapshot_policies_volumes

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

Overview

Namesnapshot_policies_volumes
TypeResource
Idazure_isv.netapp.snapshot_policies_volumes

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
etagstringA unique read-only string that changes whenever the resource is updated.
locationstringThe geo-location where the resource lives
propertiesobjectVolume properties
tagsobjectResource tags.
zonesarrayAvailability Zone

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectsubscriptionId, resourceGroupName, accountName, snapshotPolicyNameGet volumes associated with snapshot policy

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.

NameDatatypeDescription
accountNamestringThe name of the NetApp account
resourceGroupNamestringThe name of the resource group. The name is case insensitive.
snapshotPolicyNamestringThe name of the snapshot policy
subscriptionIdstring (uuid)The ID of the target subscription. The value must be an UUID.

SELECT examples

Get volumes associated with snapshot policy

SELECT
etag,
location,
properties,
tags,
zones
FROM azure_isv.netapp.snapshot_policies_volumes
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND accountName = '{{ accountName }}' -- required
AND snapshotPolicyName = '{{ snapshotPolicyName }}' -- required
;