backups_latest_status
Creates, updates, deletes, gets or lists a backups_latest_status resource.
Overview
| Name | backups_latest_status |
| Type | Resource |
| Id | azure_isv.netapp.backups_latest_status |
Fields
The following fields are returned by SELECT queries:
- get
| Name | Datatype | Description |
|---|---|---|
errorMessage | string | Displays error message if the backup is in an error state |
healthy | boolean | Backup health status |
lastTransferSize | integer (int64) | Displays the last transfer size |
lastTransferType | string | Displays the last transfer type |
mirrorState | string | The status of the backup |
relationshipStatus | string | Status of the backup mirror relationship |
totalTransferBytes | integer (int64) | Displays the total bytes transferred |
transferProgressBytes | integer (int64) | Displays the total number of bytes transferred for the ongoing operation |
unhealthyReason | string | Reason for the unhealthy backup relationship |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | subscriptionId, resourceGroupName, accountName, poolName, volumeName | Get 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.
| Name | Datatype | Description |
|---|---|---|
accountName | string | The name of the NetApp account |
poolName | string | The name of the capacity pool |
resourceGroupName | string | The name of the resource group. The name is case insensitive. |
subscriptionId | string (uuid) | The ID of the target subscription. The value must be an UUID. |
volumeName | string | The name of the volume |
SELECT examples
- get
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
;