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

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
totalTransferBytesintegerDisplays the total bytes transferred
unhealthyReasonstringReason for the unhealthy restore relationship

Methods

NameAccessible byRequired ParamsDescription
getSELECTaccountName, poolName, resourceGroupName, subscriptionId, volumeNameGet the latest status of the restore for a 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 accountName = '{{ accountName }}'
AND poolName = '{{ poolName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND volumeName = '{{ volumeName }}';