Azure Backup Protection Intent API

The ProtectionIntent API from Azure Backup — 1 operation(s) for protectionintent.

GitHub OpenAPI

Operations 1

POST /subscriptions/{subscriptionId}/providers/Microsoft.RecoveryServices/locations/{azureRegion}/backupPreValidateProtection It will validate followings 1. Vault capacity 2. VM is already protected 3. #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • 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.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/microsoft-azure-backup:microsoft-azure-backup-protectionintent-api"
All apis
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.

Get an API 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 Specification

microsoft-azure-backup-protectionintent-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Recovery Services Backup Client Protection Intent 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: ProtectionIntent
paths:
  /subscriptions/{subscriptionId}/providers/Microsoft.RecoveryServices/locations/{azureRegion}/backupPreValidateProtection:
    post:
      operationId: ProtectionIntent_Validate
      tags:
      - ProtectionIntent
      summary: It will validate followings 1. Vault capacity 2. VM is already protected 3.
      description: 'It will validate followings

        1. Vault capacity

        2. VM is already protected

        3. Any VM related configuration passed in properties.'
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - name: azureRegion
        in: path
        description: Azure region to hit Api
        required: true
        schema:
          type: string
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      responses:
        '200':
          description: Azure operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PreValidateEnableBackupResponse'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PreValidateEnableBackupRequest'
        description: Enable backup validation request on Virtual Machine
        required: true
components:
  schemas:
    ValidationStatus:
      type: string
      description: Validation Status
      enum:
      - Invalid
      - Succeeded
      - Failed
      x-ms-enum:
        name: ValidationStatus
        modelAsString: true
        values:
        - name: Invalid
          value: Invalid
        - name: Succeeded
          value: Succeeded
        - name: Failed
          value: Failed
    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.
    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
    PreValidateEnableBackupRequest:
      type: object
      description: 'Contract to validate if backup can be enabled on the given resource in a given vault and given configuration.

        It will validate followings

        1. Vault capacity

        2. VM is already protected

        3. Any VM related configuration passed in properties.'
      properties:
        resourceType:
          $ref: '#/components/schemas/DataSourceType'
          description: ProtectedItem Type- VM, SqlDataBase, AzureFileShare etc
        resourceId:
          type: string
          description: ARM Virtual Machine Id
        vaultId:
          type: string
          description: ARM id of the Recovery Services Vault
        properties:
          type: string
          description: Configuration of VM if any needs to be validated like OS type etc
    DataSourceType:
      type: string
      description: Type of workload this item represents.
      enum:
      - Invalid
      - VM
      - FileFolder
      - AzureSqlDb
      - SQLDB
      - Exchange
      - Sharepoint
      - VMwareVM
      - SystemState
      - Client
      - GenericDataSource
      - SQLDataBase
      - AzureFileShare
      - SAPHanaDatabase
      - SAPAseDatabase
      - SAPHanaDBInstance
      - SQLInstance
      x-ms-enum:
        name: DataSourceType
        modelAsString: true
        values:
        - name: Invalid
          value: Invalid
        - name: VM
          value: VM
        - name: FileFolder
          value: FileFolder
        - name: AzureSqlDb
          value: AzureSqlDb
        - name: SQLDB
          value: SQLDB
        - name: Exchange
          value: Exchange
        - name: Sharepoint
          value: Sharepoint
        - name: VMwareVM
          value: VMwareVM
        - name: SystemState
          value: SystemState
        - name: Client
          value: Client
        - name: GenericDataSource
          value: GenericDataSource
        - name: SQLDataBase
          value: SQLDataBase
        - name: AzureFileShare
          value: AzureFileShare
        - name: SAPHanaDatabase
          value: SAPHanaDatabase
        - name: SAPAseDatabase
          value: SAPAseDatabase
        - name: SAPHanaDBInstance
          value: SAPHanaDBInstance
        - name: SQLInstance
          value: SQLInstance
          description: A SQL Server instance.
    PreValidateEnableBackupResponse:
      type: object
      description: Response contract for enable backup validation request
      properties:
        status:
          $ref: '#/components/schemas/ValidationStatus'
          description: Validation Status
        errorCode:
          type: string
          description: Response error code
        errorMessage:
          type: string
          description: Response error message
        recommendation:
          type: string
          description: Recommended action for user
        containerName:
          type: string
          description: 'Specifies the product specific container name. E.g. iaasvmcontainer;iaasvmcontainer;rgname;vmname. This is required

            for portal'
        protectedItemName:
          type: string
          description: Specifies the product specific ds name. E.g. vm;iaasvmcontainer;rgname;vmname. This is required for portal
  parameters:
    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.