Skip to main content

backup_protection_containers

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

Overview

Namebackup_protection_containers
TypeResource
Idazure.recovery_services_backup.backup_protection_containers

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringFully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
namestringThe name of the resource.
backupManagementTypestringType of backup management for the container. Known values are: "Invalid", "AzureIaasVM", "MAB", "DPM", "AzureBackupServer", "AzureSql", "AzureStorage", "AzureWorkload", and "DefaultBackup". (Invalid, AzureIaasVM, MAB, DPM, AzureBackupServer, AzureSql, AzureStorage, AzureWorkload, DefaultBackup)
containerTypestringType of the container. The value of this property for: 1. Compute Azure VM is Microsoft.Compute/virtualMachines 2. Classic Compute Azure VM is Microsoft.ClassicCompute/virtualMachines 3. Windows machines (like MAB, DPM etc) is Windows 4. Azure SQL instance is AzureSqlContainer. 5. Storage containers is StorageContainer. 6. Azure workload Backup is VMAppContainer. Required. Known values are: "Invalid", "Unknown", "IaasVMContainer", "IaasVMServiceContainer", "DPMContainer", "AzureBackupServerContainer", "MABContainer", "Cluster", "AzureSqlContainer", "Windows", "VCenter", "VMAppContainer", "SQLAGWorkLoadContainer", "StorageContainer", "GenericContainer", "Microsoft.ClassicCompute/virtualMachines", "Microsoft.Compute/virtualMachines", and "AzureWorkloadContainer".
eTagstringOptional ETag.
friendlyNamestringFriendly name of the container.
healthStatusstringStatus of health of the container.
locationstringThe geo-location where the resource lives.
protectableObjectTypestringType of the protectable object associated with this container.
registrationStatusstringStatus of registration of the container with the Recovery Services Vault.
systemDataobjectAzure Resource Manager metadata containing createdBy and modifiedBy information.
tagsobjectResource tags.
typestringThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectvault_name, resource_group_name, subscription_id$filterLists the containers registered to Recovery Services Vault.

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
resource_group_namestringThe name of the resource group. The name is case insensitive. Required.
subscription_idstring
vault_namestringThe name of the recovery services vault. Required.
$filterstringOData filter options. Default value is None.

SELECT examples

Lists the containers registered to Recovery Services Vault.

SELECT
id,
name,
backupManagementType,
containerType,
eTag,
friendlyName,
healthStatus,
location,
protectableObjectType,
registrationStatus,
systemData,
tags,
type
FROM azure.recovery_services_backup.backup_protection_containers
WHERE vault_name = '{{ vault_name }}' -- required
AND resource_group_name = '{{ resource_group_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
AND $filter = '{{ $filter }}'
;