backups_volume_latest_restore_status
Creates, updates, deletes, gets or lists a backups_volume_latest_restore_status
resource.
Overview
Name | backups_volume_latest_restore_status |
Type | Resource |
Id | azure_isv.netapp.backups_volume_latest_restore_status |
Fields
Name | Datatype | Description |
---|---|---|
errorMessage | string | Displays error message if the restore is in an error state |
healthy | boolean | Restore health status |
mirrorState | string | The status of the restore |
relationshipStatus | string | Status of the restore SnapMirror relationship |
totalTransferBytes | integer | Displays the total bytes transferred |
unhealthyReason | string | Reason for the unhealthy restore relationship |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | accountName, poolName, resourceGroupName, subscriptionId, volumeName | Get 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 }}';