backup_protected_items_crr
Creates, updates, deletes, gets or lists a backup_protected_items_crr resource.
Overview
| Name | backup_protected_items_crr |
| Type | Resource |
| Id | azure.recovery_services_backup_passive_stamp.backup_protected_items_crr |
Fields
The following fields are returned by SELECT queries:
- list
| Name | Datatype | Description |
|---|---|---|
id | string | Resource Id represents the complete path to the resource. |
name | string | Resource name associated with the resource. |
backupManagementType | string | Type of backup management for the backed up item. Known values are: "Invalid", "AzureIaasVM", "MAB", "DPM", "AzureBackupServer", "AzureSql", "AzureStorage", "AzureWorkload", and "DefaultBackup". |
backupSetName | string | Name of the backup set the backup item belongs to. |
containerName | string | Unique name of container. |
createMode | string | Create mode to indicate recovery of existing soft deleted data source or creation of new data source. Known values are: "Invalid", "Default", and "Recover". |
deferredDeleteTimeInUTC | string (date-time) | Time for deferred deletion in UTC. |
deferredDeleteTimeRemaining | string | Time remaining before the DS marked for deferred delete is permanently deleted. |
eTag | string | Optional ETag. |
isDeferredDeleteScheduleUpcoming | boolean | Flag to identify whether the deferred deleted DS is to be purged soon. |
isRehydrate | boolean | Flag to identify that deferred deleted DS is to be moved into Pause state. |
isScheduledForDeferredDelete | boolean | Flag to identify whether the DS is scheduled for deferred delete. |
lastRecoveryPoint | string (date-time) | Timestamp when the last (latest) backup copy was created for this backup item. |
location | string | Resource location. |
policyId | string | ID of the backup policy with which this item is backed up. |
protectedItemType | string | backup item type. Required. |
resourceGuardOperationRequests | array | ResourceGuardOperationRequests on which LAC check will be performed. |
sourceResourceId | string | ARM ID of the resource to be backed up. |
tags | object | Resource tags. |
type | string | Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/... |
workloadType | string | Type of workload this item represents. Known values are: "Invalid", "VM", "FileFolder", "AzureSqlDb", "SQLDB", "Exchange", "Sharepoint", "VMwareVM", "SystemState", "Client", "GenericDataSource", "SQLDataBase", "AzureFileShare", "SAPHanaDatabase", and "SAPAseDatabase". |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | vault_name, resource_group_name, subscription_id | $filter, $skipToken | Provides a pageable list of all items that are backed up within a 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.
| Name | Datatype | Description |
|---|---|---|
resource_group_name | string | The name of the resource group where the recovery services vault is present. Required. |
subscription_id | string | |
vault_name | string | The name of the recovery services vault. Required. |
$filter | string | OData filter options. Default value is None. |
$skipToken | string | skipToken Filter. Default value is None. |
SELECT examples
- list
Provides a pageable list of all items that are backed up within a vault.
SELECT
id,
name,
backupManagementType,
backupSetName,
containerName,
createMode,
deferredDeleteTimeInUTC,
deferredDeleteTimeRemaining,
eTag,
isDeferredDeleteScheduleUpcoming,
isRehydrate,
isScheduledForDeferredDelete,
lastRecoveryPoint,
location,
policyId,
protectedItemType,
resourceGuardOperationRequests,
sourceResourceId,
tags,
type,
workloadType
FROM azure.recovery_services_backup_passive_stamp.backup_protected_items_crr
WHERE vault_name = '{{ vault_name }}' -- required
AND resource_group_name = '{{ resource_group_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
AND $filter = '{{ $filter }}'
AND $skipToken = '{{ $skipToken }}'
;