Skip to main content

backup_status

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

Overview

Namebackup_status
TypeResource
Idazure.recovery_services_backup.backup_status

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
acquireStorageAccountLockstringSpecifies whether the storage account lock has been acquired or not. Known values are: "Acquire" and "NotAcquire". (Acquire, NotAcquire)
containerNamestringSpecifies the product specific container name. E.g. iaasvmcontainer;iaasvmcontainer;csname;vmname.
errorCodestringErrorCode in case of intent failed.
errorMessagestringErrorMessage in case of intent failed.
fabricNamestringSpecifies the fabric name - Azure or AD. Known values are: "Invalid" and "Azure". (Invalid, Azure)
policyNamestringSpecifies the policy name which is used for protection.
protectedItemNamestringSpecifies the product specific ds name. E.g. vm;iaasvmcontainer;csname;vmname.
protectedItemsCountintegerNumber of protected items.
protectionStatusstringSpecifies whether the container is registered or not. Known values are: "Invalid", "NotProtected", "Protecting", "Protected", and "ProtectionFailed". (Invalid, NotProtected, Protecting, Protected, ProtectionFailed)
registrationStatusstringContainer registration status.
vaultIdstringSpecifies the arm resource id of the vault.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectazure_region, subscription_idGet the container backup status. Get the container backup status.

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
azure_regionstringAzure region to hit Api. Required.
subscription_idstring

SELECT examples

Get the container backup status. Get the container backup status.

SELECT
acquireStorageAccountLock,
containerName,
errorCode,
errorMessage,
fabricName,
policyName,
protectedItemName,
protectedItemsCount,
protectionStatus,
registrationStatus,
vaultId
FROM azure.recovery_services_backup.backup_status
WHERE azure_region = '{{ azure_region }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;