Skip to main content

backups_volume_latest_restore_status

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

Overview

Namebackups_volume_latest_restore_status
TypeResource
Idazure_isv.netapp.backups_volume_latest_restore_status

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
errorMessagestringDisplays error message if the restore is in an error state
healthybooleanRestore health status
mirrorStatestringThe status of the restore
relationshipStatusstringStatus of the restore SnapMirror relationship
totalTransferBytesinteger (int64)Displays the total bytes transferred
unhealthyReasonstringReason for the unhealthy restore relationship

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectsubscriptionId, resourceGroupName, accountName, poolName, volumeNameGet the latest status of the restore for a volume

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
poolNamestringThe name of the capacity pool
resourceGroupNamestringThe name of the resource group. The name is case insensitive.
subscriptionIdstring (uuid)The ID of the target subscription. The value must be an UUID.
volumeNamestringThe name of the volume

SELECT examples

Get the latest status of the restore for a volume

SELECT
errorMessage,
healthy,
mirrorState,
relationshipStatus,
totalTransferBytes,
unhealthyReason
FROM azure_isv.netapp.backups_volume_latest_restore_status
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND accountName = '{{ accountName }}' -- required
AND poolName = '{{ poolName }}' -- required
AND volumeName = '{{ volumeName }}' -- required
;