Azure Backup Protection Containers API
The ProtectionContainers API from Azure Backup — 3 operation(s) for protectioncontainers.
The ProtectionContainers API from Azure Backup — 3 operation(s) for protectioncontainers.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/microsoft-azure-backup:microsoft-azure-backup-protectioncontainers-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Recovery Services Backup Client Protection Containers API
version: '2026-11-01'
description: Open API 2.0 Specs for Azure RecoveryServices Backup service
x-typespec-generated:
- emitter: '@azure-tools/typespec-autorest'
servers:
- url: https://management.azure.com
security:
- azure_auth:
- user_impersonation
tags:
- name: ProtectionContainers
paths:
? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupFabrics/{fabricName}/protectionContainers/{containerName}
: get:
operationId: ProtectionContainers_Get
tags:
- ProtectionContainers
description: Gets details of the specific container registered to your Recovery Services Vault.
parameters:
- $ref: '#/components/parameters/ApiVersionParameter'
- $ref: '#/components/parameters/SubscriptionIdParameter'
- $ref: '#/components/parameters/ResourceGroupNameParameter'
- name: vaultName
in: path
description: The name of the VaultResource
required: true
schema:
type: string
- name: fabricName
in: path
description: The name of the BackupFabricResource
required: true
schema:
type: string
- name: containerName
in: path
description: Name of the container whose details need to be fetched.
required: true
schema:
type: string
responses:
'200':
description: Azure operation completed successfully.
content:
application/json:
schema:
$ref: '#/components/schemas/ProtectionContainerResource'
default:
description: An unexpected error response.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
summary: Protection containers get
x-summary-source: derived
put:
operationId: ProtectionContainers_Register
tags:
- ProtectionContainers
description: 'Registers the container with Recovery Services vault.
This is an asynchronous operation. To track the operation status, use location header to call get latest status of
the operation.'
parameters:
- $ref: '#/components/parameters/ApiVersionParameter'
- $ref: '#/components/parameters/SubscriptionIdParameter'
- $ref: '#/components/parameters/ResourceGroupNameParameter'
- name: vaultName
in: path
description: The name of the VaultResource
required: true
schema:
type: string
- name: fabricName
in: path
description: The name of the BackupFabricResource
required: true
schema:
type: string
- name: containerName
in: path
description: Name of the container whose details need to be fetched.
required: true
schema:
type: string
responses:
'200':
description: Resource 'ProtectionContainerResource' update operation succeeded
content:
application/json:
schema:
$ref: '#/components/schemas/ProtectionContainerResource'
'202':
description: Resource operation accepted.
headers:
Location:
description: The Location header contains the URL where the status of the long running operation can be checked.
schema:
type: string
Retry-After:
description: The Retry-After header can indicate how long the client should wait before polling the operation status.
schema:
type: integer
format: int32
default:
description: An unexpected error response.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
x-ms-long-running-operation-options:
final-state-via: location
final-state-schema: '#/definitions/ProtectionContainerResource'
x-ms-long-running-operation: true
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/ProtectionContainerResource'
description: Request body for operation
required: true
summary: Protection containers register
x-summary-source: derived
delete:
operationId: ProtectionContainers_Unregister
tags:
- ProtectionContainers
description: 'Unregisters the given container from your Recovery Services Vault. This is an asynchronous operation. To determine
whether the backend service has finished processing the request, call Get Container Operation Result API.'
parameters:
- $ref: '#/components/parameters/ApiVersionParameter'
- $ref: '#/components/parameters/SubscriptionIdParameter'
- $ref: '#/components/parameters/ResourceGroupNameParameter'
- name: vaultName
in: path
description: The name of the VaultResource
required: true
schema:
type: string
- name: fabricName
in: path
description: The name of the BackupFabricResource
required: true
schema:
type: string
- name: containerName
in: path
description: Name of the container whose details need to be fetched.
required: true
schema:
type: string
responses:
'200':
description: Resource deleted successfully.
'202':
description: The request has been accepted for processing, but processing has not yet completed.
'204':
description: Resource does not exist.
default:
description: An unexpected error response.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
summary: Protection containers unregister
x-summary-source: derived
? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupFabrics/{fabricName}/protectionContainers/{containerName}/inquire
: post:
operationId: ProtectionContainers_Inquire
tags:
- ProtectionContainers
description: This is an async operation and the results should be tracked using location header or Azure-async-url.
parameters:
- $ref: '#/components/parameters/ApiVersionParameter'
- $ref: '#/components/parameters/SubscriptionIdParameter'
- $ref: '#/components/parameters/ResourceGroupNameParameter'
- name: vaultName
in: path
description: The name of the VaultResource
required: true
schema:
type: string
- name: fabricName
in: path
description: The name of the BackupFabricResource
required: true
schema:
type: string
- name: containerName
in: path
description: Name of the container whose details need to be fetched.
required: true
schema:
type: string
- name: $filter
in: query
description: OData filter options.
required: false
schema:
type: string
responses:
'202':
description: The request has been accepted for processing, but processing has not yet completed.
default:
description: An unexpected error response.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
summary: Protection containers inquire
x-summary-source: derived
? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupFabrics/{fabricName}/refreshContainers
: post:
operationId: ProtectionContainers_Refresh
tags:
- ProtectionContainers
description: 'Discovers all the containers in the subscription that can be backed up to Recovery Services Vault. This is an
asynchronous operation. To know the status of the operation, call GetRefreshOperationResult API.'
parameters:
- $ref: '#/components/parameters/ApiVersionParameter'
- name: vaultName
in: path
description: The name of the recovery services vault.
required: true
schema:
type: string
- $ref: '#/components/parameters/ResourceGroupNameParameter'
- $ref: '#/components/parameters/SubscriptionIdParameter'
- name: fabricName
in: path
description: Fabric name associated the container.
required: true
schema:
type: string
- name: $filter
in: query
description: OData filter options.
required: false
schema:
type: string
responses:
'202':
description: Resource operation accepted.
default:
description: An unexpected error response.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
summary: Protection containers refresh
x-summary-source: derived
components:
schemas:
Resource:
type: object
title: Resource
description: Common fields that are returned in the response for all Azure Resource Manager resources
properties:
id:
type: string
description: Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
readOnly: true
name:
type: string
description: The name of the resource
readOnly: true
type:
type: string
description: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
readOnly: true
systemData:
$ref: '#/components/schemas/systemData'
type: object
description: Azure Resource Manager metadata containing createdBy and modifiedBy information.
readOnly: true
x-ms-azure-resource: true
ErrorResponse:
type: object
title: Error response
description: Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.).
properties:
error:
$ref: '#/components/schemas/ErrorDetail'
description: The error object.
Azure.Core.azureLocation:
type: string
description: Represents an Azure geography region where supported resource providers live.
ProtectableContainerType:
type: string
description: 'Type 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'
enum:
- Invalid
- Unknown
- IaasVMContainer
- IaasVMServiceContainer
- DPMContainer
- AzureBackupServerContainer
- MABContainer
- Cluster
- AzureSqlContainer
- Windows
- VCenter
- VMAppContainer
- SQLAGWorkLoadContainer
- StorageContainer
- GenericContainer
- Microsoft.ClassicCompute/virtualMachines
- Microsoft.Compute/virtualMachines
- AzureWorkloadContainer
x-ms-enum:
name: ProtectableContainerType
modelAsString: false
ProtectionContainerResource:
type: object
description: Base class for container with backup items. Containers with specific workloads are derived from this class.
properties:
properties:
$ref: '#/components/schemas/ProtectionContainer'
description: ProtectionContainerResource properties
tags:
type: object
description: Resource tags.
additionalProperties:
type: string
location:
$ref: '#/components/schemas/Azure.Core.azureLocation'
description: The geo-location where the resource lives
x-ms-mutability:
- read
- create
eTag:
type: string
description: Optional ETag.
allOf:
- $ref: '#/components/schemas/ProxyResource'
BackupManagementType:
type: string
description: Backup management type to execute the current job.
enum:
- Invalid
- AzureIaasVM
- MAB
- DPM
- AzureBackupServer
- AzureSql
- AzureStorage
- AzureWorkload
- DefaultBackup
x-ms-enum:
name: BackupManagementType
modelAsString: true
values:
- name: Invalid
value: Invalid
- name: AzureIaasVM
value: AzureIaasVM
- name: MAB
value: MAB
- name: DPM
value: DPM
- name: AzureBackupServer
value: AzureBackupServer
- name: AzureSql
value: AzureSql
- name: AzureStorage
value: AzureStorage
- name: AzureWorkload
value: AzureWorkload
- name: DefaultBackup
value: DefaultBackup
ErrorDetail:
type: object
description: Error Detail class which encapsulates Code, Message and Recommendations.
properties:
code:
type: string
description: Error code.
readOnly: true
message:
type: string
description: Error Message related to the Code.
readOnly: true
recommendations:
type: array
description: List of recommendation strings.
items:
type: string
readOnly: true
ProxyResource:
type: object
title: Proxy Resource
description: The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location
allOf:
- $ref: '#/components/schemas/Resource'
ProtectionContainer:
type: object
description: Base class for container with backup items. Containers with specific workloads are derived from this class.
properties:
friendlyName:
type: string
description: Friendly name of the container.
backupManagementType:
$ref: '#/components/schemas/BackupManagementType'
description: Type of backup management for the container.
registrationStatus:
type: string
description: Status of registration of the container with the Recovery Services Vault.
healthStatus:
type: string
description: Status of health of the container.
containerType:
$ref: '#/components/schemas/ProtectableContainerType'
description: 'Type 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'
protectableObjectType:
type: string
description: Type of the protectable object associated with this container
sourceLocation:
type: string
description: Source location of the container
readOnly: true
discriminator:
propertyName: containerType
required:
- containerType
parameters:
ResourceGroupNameParameter:
name: resourceGroupName
in: path
description: The name of the resource group. The name is case insensitive.
required: true
x-ms-parameter-location: method
schema:
type: string
maxLength: 90
minLength: 1
SubscriptionIdParameter:
name: subscriptionId
in: path
description: The ID of the target subscription.
required: true
schema:
type: string
minLength: 1
ApiVersionParameter:
name: api-version
in: query
description: The API version to use for this operation.
required: true
schema:
type: string
minLength: 1
securitySchemes:
azure_auth:
type: oauth2
flows:
implicit:
scopes:
user_impersonation: impersonate your user account
authorizationUrl: https://login.microsoftonline.com/common/oauth2/authorize
description: Azure Active Directory OAuth2 Flow.