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
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
policyNamestringSpecifies the policy name which is used for protection
protectedItemNamestringSpecifies the product specific ds name. E.g. vm;iaasvmcontainer;csname;vmname.
protectedItemsCountinteger (int32)Number of protected items
protectionStatusstringSpecifies whether the container is registered or not
registrationStatusstringContainer registration status
vaultIdstringSpecifies the arm resource id of the vault

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectazureRegion, subscriptionIdapi-version

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
azureRegionstringAzure region to hit Api
subscriptionIdstringThe subscription Id.
api-versionstringClient Api Version.

SELECT examples

OK

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