Backup Protection Intent - List
Provides a pageable list of all intents that are present within a vault.
GET https://management.azure.com/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupProtectionIntents?api-version=2025-02-01
GET https://management.azure.com/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupProtectionIntents?api-version=2025-02-01&$filter={$filter}&$skipToken={$skipToken}
URI Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
resource
|
path | True |
string |
The name of the resource group where the recovery services vault is present. |
subscription
|
path | True |
string |
The subscription Id. |
vault
|
path | True |
string |
The name of the recovery services vault. |
api-version
|
query | True |
string |
Client Api Version. |
$filter
|
query |
string |
OData filter options. |
|
$skip
|
query |
string |
skipToken Filter. |
Responses
Name | Type | Description |
---|---|---|
200 OK |
OK |
Security
azure_auth
Azure Active Directory OAuth2 Flow
Type:
oauth2
Flow:
implicit
Authorization URL:
https://login.microsoftonline.com/common/oauth2/authorize
Scopes
Name | Description |
---|---|
user_impersonation | impersonate your user account. |
Examples
List protection intent with backupManagementType filter
Sample request
Sample response
{
"value": [
{
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.RecoveryServices/vaults/myVault/backupFabrics/Azure/backupProtectionIntent/249D9B07-D2EF-4202-AA64-65F35418564E",
"name": "249D9B07-D2EF-4202-AA64-65F35418564E",
"type": "Microsoft.RecoveryServices/vaults/backupProtectionIntent",
"properties": {
"protectionIntentItemType": "AzureWorkloadContainerAutoProtectionIntent",
"backupManagementType": "AzureWorkload",
"policyId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRG/providers/Microsoft.RecoveryServices/vaults/myVault/backupPolicies/myPolicy",
"itemId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRG/providers/Microsoft.RecoveryServices/vaults/myVault/backupProtectionContainer/VMAppContainer;Compute;testVmName/backupProtectableItems/SQLInstance;MSSQLSERVER"
}
}
]
}
Definitions
Name | Description |
---|---|
Azure |
Azure Recovery Services Vault specific protection intent item. |
Azure |
IaaS VM specific backup protection intent item. |
Azure |
Azure Recovery Services Vault specific protection intent item. |
Azure |
Azure workload specific protection intent item. |
Azure |
Azure Workload SQL Auto Protection intent item. |
Backup |
Type of backup management for the backed up item. |
Protection |
Base class for backup ProtectionIntent. |
Protection |
List of ProtectionIntent resources |
Protection |
State of the back up item. |
Workload |
Workload item type of the item for which intent is to be set |
AzureRecoveryServiceVaultProtectionIntent
Azure Recovery Services Vault specific protection intent item.
Name | Type | Description |
---|---|---|
backupManagementType |
Type of backup management for the backed up item. |
|
itemId |
string |
ID of the item which is getting protected, In case of Azure Vm , it is ProtectedItemId |
policyId |
string |
ID of the backup policy with which this item is backed up. |
protectionIntentItemType |
string:
Recovery |
backup protectionIntent type. |
protectionState |
Backup state of this backup item. |
|
sourceResourceId |
string |
ARM ID of the resource to be backed up. |
AzureResourceProtectionIntent
IaaS VM specific backup protection intent item.
Name | Type | Description |
---|---|---|
backupManagementType |
Type of backup management for the backed up item. |
|
friendlyName |
string |
Friendly name of the VM represented by this backup item. |
itemId |
string |
ID of the item which is getting protected, In case of Azure Vm , it is ProtectedItemId |
policyId |
string |
ID of the backup policy with which this item is backed up. |
protectionIntentItemType |
string:
Azure |
backup protectionIntent type. |
protectionState |
Backup state of this backup item. |
|
sourceResourceId |
string |
ARM ID of the resource to be backed up. |
AzureWorkloadAutoProtectionIntent
Azure Recovery Services Vault specific protection intent item.
Name | Type | Description |
---|---|---|
backupManagementType |
Type of backup management for the backed up item. |
|
itemId |
string |
ID of the item which is getting protected, In case of Azure Vm , it is ProtectedItemId |
policyId |
string |
ID of the backup policy with which this item is backed up. |
protectionIntentItemType | string: |
backup protectionIntent type. |
protectionState |
Backup state of this backup item. |
|
sourceResourceId |
string |
ARM ID of the resource to be backed up. |
AzureWorkloadContainerAutoProtectionIntent
Azure workload specific protection intent item.
Name | Type | Description |
---|---|---|
backupManagementType |
Type of backup management for the backed up item. |
|
itemId |
string |
ID of the item which is getting protected, In case of Azure Vm , it is ProtectedItemId |
policyId |
string |
ID of the backup policy with which this item is backed up. |
protectionIntentItemType | string: |
backup protectionIntent type. |
protectionState |
Backup state of this backup item. |
|
sourceResourceId |
string |
ARM ID of the resource to be backed up. |
AzureWorkloadSQLAutoProtectionIntent
Azure Workload SQL Auto Protection intent item.
Name | Type | Description |
---|---|---|
backupManagementType |
Type of backup management for the backed up item. |
|
itemId |
string |
ID of the item which is getting protected, In case of Azure Vm , it is ProtectedItemId |
policyId |
string |
ID of the backup policy with which this item is backed up. |
protectionIntentItemType | string: |
backup protectionIntent type. |
protectionState |
Backup state of this backup item. |
|
sourceResourceId |
string |
ARM ID of the resource to be backed up. |
workloadItemType |
Workload item type of the item for which intent is to be set |
BackupManagementType
Type of backup management for the backed up item.
Value | Description |
---|---|
Invalid | |
AzureIaasVM | |
MAB | |
DPM | |
AzureBackupServer | |
AzureSql | |
AzureStorage | |
AzureWorkload | |
DefaultBackup |
ProtectionIntentResource
Base class for backup ProtectionIntent.
Name | Type | Description |
---|---|---|
eTag |
string |
Optional ETag. |
id |
string |
Resource Id represents the complete path to the resource. |
location |
string |
Resource location. |
name |
string |
Resource name associated with the resource. |
properties | ProtectionIntent: |
ProtectionIntentResource properties |
tags |
object |
Resource tags. |
type |
string |
Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/... |
ProtectionIntentResourceList
List of ProtectionIntent resources
Name | Type | Description |
---|---|---|
nextLink |
string |
The URI to fetch the next page of resources, with each API call returning up to 200 resources per page. Use ListNext() to fetch the next page if the total number of resources exceeds 200. |
value |
List of resources. |
ProtectionStatus
State of the back up item.
Value | Description |
---|---|
Invalid | |
NotProtected | |
Protecting | |
Protected | |
ProtectionFailed |
WorkloadItemType
Workload item type of the item for which intent is to be set
Value | Description |
---|---|
Invalid | |
SQLInstance | |
SQLDataBase | |
SAPHanaSystem | |
SAPHanaDatabase | |
SAPAseSystem | |
SAPAseDatabase | |
SAPHanaDBInstance |