Backup Workload Items - List
Provides a pageable list of workload item of a specific container according to the query filter and the pagination parameters.
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupFabrics/{fabricName}/protectionContainers/{containerName}/items?api-version=2025-02-01
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupFabrics/{fabricName}/protectionContainers/{containerName}/items?api-version=2025-02-01&$filter={$filter}&$skipToken={$skipToken}
URI Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
container
|
path | True |
string |
Name of the container. |
fabric
|
path | True |
string |
Fabric name associated with the container. |
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 |
|
Other Status Codes |
Error response describing why the operation failed. |
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 Workload Items in Container
Sample request
GET https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRg/providers/Microsoft.RecoveryServices/vaults/suchandr-seacan-rsv/backupFabrics/Azure/protectionContainers/VMAppContainer;Compute;bvtdtestag;sqlserver-1/items?api-version=2025-02-01&$filter=backupManagementType eq 'AzureWorkload'
Sample response
{
"value": [
{
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/testRg/providers/Microsoft.RecoveryServices/vaults/suchandr-seacan-rsv/backupFabrics/Azure/protectionContainers/VMAppContainer;Compute;bvtdtestag;sqlserver-1/protectableItems/SQLInstance;MSSQLSERVER",
"name": "SQLInstance;MSSQLSERVER",
"type": "Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/items",
"properties": {
"dataDirectoryPaths": [
{
"type": "Data",
"path": "F:\\DATA\\"
},
{
"type": "Log",
"path": "F:\\LOG\\"
}
],
"parentName": "MSSQLSERVER",
"serverName": "sqlserver-1.contoso.com",
"isAutoProtectable": true,
"subinquireditemcount": 0,
"subWorkloadItemCount": 3,
"backupManagementType": "AzureWorkload",
"workloadType": "SQL",
"workloadItemType": "SQLInstance",
"friendlyName": "MSSQLSERVER",
"protectionState": "NotProtected"
}
}
],
"nextLink": null
}
Definitions
Name | Description |
---|---|
Azure |
Azure VM workload-specific workload item. |
Azure |
Azure VM workload-specific workload item representing SAP ASE Database. |
Azure |
Azure VM workload-specific workload item representing SAP ASE System. |
Azure |
Azure VM workload-specific workload item representing SAP HANA Database. |
Azure |
Azure VM workload-specific workload item representing SAP HANA System. |
Azure |
Azure VM workload-specific workload item representing SQL Database. |
Azure |
Azure VM workload-specific workload item representing SQL Instance. |
Cloud |
An error response from the Container Instance service. |
Cloud |
An error response from the Container Instance service. |
Error |
The resource management error additional info. |
Protection |
State of the back up item. |
SQLData |
SQLDataDirectory info |
SQLData |
Type of data directory mapping |
Workload |
Base class for backup item. Workload-specific backup items are derived from this class. |
Workload |
List of WorkloadItem resources |
AzureVmWorkloadItem
Azure VM workload-specific workload item.
Name | Type | Description |
---|---|---|
backupManagementType |
string |
Type of backup management to backup an item. |
friendlyName |
string |
Friendly name of the backup item. |
isAutoProtectable |
boolean |
Indicates if workload item is auto-protectable |
parentName |
string |
Name for instance or AG |
protectionState |
State of the back up item. |
|
serverName |
string |
Host/Cluster Name for instance or AG |
subWorkloadItemCount |
integer (int32) |
For instance or AG, indicates number of DB's to be protected |
subinquireditemcount |
integer (int32) |
For instance or AG, indicates number of DB's present |
workloadItemType | string: |
Type of the backup item. |
workloadType |
string |
Type of workload for the backup management |
AzureVmWorkloadSAPAseDatabaseWorkloadItem
Azure VM workload-specific workload item representing SAP ASE Database.
Name | Type | Description |
---|---|---|
backupManagementType |
string |
Type of backup management to backup an item. |
friendlyName |
string |
Friendly name of the backup item. |
isAutoProtectable |
boolean |
Indicates if workload item is auto-protectable |
parentName |
string |
Name for instance or AG |
protectionState |
State of the back up item. |
|
serverName |
string |
Host/Cluster Name for instance or AG |
subWorkloadItemCount |
integer (int32) |
For instance or AG, indicates number of DB's to be protected |
subinquireditemcount |
integer (int32) |
For instance or AG, indicates number of DB's present |
workloadItemType |
string:
SAPAse |
Type of the backup item. |
workloadType |
string |
Type of workload for the backup management |
AzureVmWorkloadSAPAseSystemWorkloadItem
Azure VM workload-specific workload item representing SAP ASE System.
Name | Type | Description |
---|---|---|
backupManagementType |
string |
Type of backup management to backup an item. |
friendlyName |
string |
Friendly name of the backup item. |
isAutoProtectable |
boolean |
Indicates if workload item is auto-protectable |
parentName |
string |
Name for instance or AG |
protectionState |
State of the back up item. |
|
serverName |
string |
Host/Cluster Name for instance or AG |
subWorkloadItemCount |
integer (int32) |
For instance or AG, indicates number of DB's to be protected |
subinquireditemcount |
integer (int32) |
For instance or AG, indicates number of DB's present |
workloadItemType |
string:
SAPAse |
Type of the backup item. |
workloadType |
string |
Type of workload for the backup management |
AzureVmWorkloadSAPHanaDatabaseWorkloadItem
Azure VM workload-specific workload item representing SAP HANA Database.
Name | Type | Description |
---|---|---|
backupManagementType |
string |
Type of backup management to backup an item. |
friendlyName |
string |
Friendly name of the backup item. |
isAutoProtectable |
boolean |
Indicates if workload item is auto-protectable |
parentName |
string |
Name for instance or AG |
protectionState |
State of the back up item. |
|
serverName |
string |
Host/Cluster Name for instance or AG |
subWorkloadItemCount |
integer (int32) |
For instance or AG, indicates number of DB's to be protected |
subinquireditemcount |
integer (int32) |
For instance or AG, indicates number of DB's present |
workloadItemType |
string:
SAPHana |
Type of the backup item. |
workloadType |
string |
Type of workload for the backup management |
AzureVmWorkloadSAPHanaSystemWorkloadItem
Azure VM workload-specific workload item representing SAP HANA System.
Name | Type | Description |
---|---|---|
backupManagementType |
string |
Type of backup management to backup an item. |
friendlyName |
string |
Friendly name of the backup item. |
isAutoProtectable |
boolean |
Indicates if workload item is auto-protectable |
parentName |
string |
Name for instance or AG |
protectionState |
State of the back up item. |
|
serverName |
string |
Host/Cluster Name for instance or AG |
subWorkloadItemCount |
integer (int32) |
For instance or AG, indicates number of DB's to be protected |
subinquireditemcount |
integer (int32) |
For instance or AG, indicates number of DB's present |
workloadItemType |
string:
SAPHana |
Type of the backup item. |
workloadType |
string |
Type of workload for the backup management |
AzureVmWorkloadSQLDatabaseWorkloadItem
Azure VM workload-specific workload item representing SQL Database.
Name | Type | Description |
---|---|---|
backupManagementType |
string |
Type of backup management to backup an item. |
friendlyName |
string |
Friendly name of the backup item. |
isAutoProtectable |
boolean |
Indicates if workload item is auto-protectable |
parentName |
string |
Name for instance or AG |
protectionState |
State of the back up item. |
|
serverName |
string |
Host/Cluster Name for instance or AG |
subWorkloadItemCount |
integer (int32) |
For instance or AG, indicates number of DB's to be protected |
subinquireditemcount |
integer (int32) |
For instance or AG, indicates number of DB's present |
workloadItemType |
string:
SQLData |
Type of the backup item. |
workloadType |
string |
Type of workload for the backup management |
AzureVmWorkloadSQLInstanceWorkloadItem
Azure VM workload-specific workload item representing SQL Instance.
Name | Type | Description |
---|---|---|
backupManagementType |
string |
Type of backup management to backup an item. |
dataDirectoryPaths |
Data Directory Paths for default directories |
|
friendlyName |
string |
Friendly name of the backup item. |
isAutoProtectable |
boolean |
Indicates if workload item is auto-protectable |
parentName |
string |
Name for instance or AG |
protectionState |
State of the back up item. |
|
serverName |
string |
Host/Cluster Name for instance or AG |
subWorkloadItemCount |
integer (int32) |
For instance or AG, indicates number of DB's to be protected |
subinquireditemcount |
integer (int32) |
For instance or AG, indicates number of DB's present |
workloadItemType |
string:
SQLInstance |
Type of the backup item. |
workloadType |
string |
Type of workload for the backup management |
CloudError
An error response from the Container Instance service.
Name | Type | Description |
---|---|---|
error |
The error object. |
CloudErrorBody
An error response from the Container Instance service.
Name | Type | Description |
---|---|---|
additionalInfo |
The error additional info. |
|
code |
string |
An identifier for the error. Codes are invariant and are intended to be consumed programmatically. |
details |
A list of additional details about the error. |
|
message |
string |
A message describing the error, intended to be suitable for display in a user interface. |
target |
string |
The target of the particular error. For example, the name of the property in error. |
ErrorAdditionalInfo
The resource management error additional info.
Name | Type | Description |
---|---|---|
info |
object |
The additional info. |
type |
string |
The additional info type. |
ProtectionStatus
State of the back up item.
Value | Description |
---|---|
Invalid | |
NotProtected | |
Protecting | |
Protected | |
ProtectionFailed |
SQLDataDirectory
SQLDataDirectory info
Name | Type | Description |
---|---|---|
logicalName |
string |
Logical name of the file |
path |
string |
File path |
type |
Type of data directory mapping |
SQLDataDirectoryType
Type of data directory mapping
Value | Description |
---|---|
Invalid | |
Data | |
Log |
WorkloadItemResource
Base class for backup item. Workload-specific backup items are derived from this class.
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 | WorkloadItem: |
WorkloadItemResource properties |
tags |
object |
Resource tags. |
type |
string |
Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/... |
WorkloadItemResourceList
List of WorkloadItem 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. |