Skip to main content

backups_latest_status

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

Overview

Namebackups_latest_status
TypeResource
Idazure_isv.netapp.backups_latest_status

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
errorMessagestringDisplays error message if the backup is in an error state
healthybooleanBackup health status
lastTransferSizeinteger (int64)Displays the last transfer size
lastTransferTypestringDisplays the last transfer type
mirrorStatestringThe status of the backup
relationshipStatusstringStatus of the backup mirror relationship
totalTransferBytesinteger (int64)Displays the total bytes transferred
transferProgressBytesinteger (int64)Displays the total number of bytes transferred for the ongoing operation
unhealthyReasonstringReason for the unhealthy backup relationship

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectsubscriptionId, resourceGroupName, accountName, poolName, volumeNameGet the latest status of the backup 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 backup for a volume

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