Azure Backup Resource Guard Resources API

The ResourceGuardResources API from Azure Backup — 3 operation(s) for resourceguardresources.

GitHub OpenAPI

Operations 6

GET /subscriptions/{subscriptionId}/providers/Microsoft.DataProtection/resourceGuards Resource guards get resources in subscription #
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/resourceGuards Resource guards get resources in resource group #
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/resourceGuards/{resourceGuardsName} Resource guards get #
PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/resourceGuards/{resourceGuardsName} Resource guards put #
PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/resourceGuards/{resourceGuardsName} Resource guards patch #
DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/resourceGuards/{resourceGuardsName} Resource guards delete #

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-resourceguardresources-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-resourceguardresources-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Data Protection Client Resource Guard Resources API
  version: '2026-07-01'
  description: Open API 2.0 Specs for Azure Data Protection service
  x-typespec-generated:
  - emitter: '@azure-tools/typespec-autorest'
servers:
- url: https://management.azure.com
security:
- azure_auth:
  - user_impersonation
tags:
- name: ResourceGuardResources
paths:
  /subscriptions/{subscriptionId}/providers/Microsoft.DataProtection/resourceGuards:
    get:
      operationId: ResourceGuards_GetResourcesInSubscription
      tags:
      - ResourceGuardResources
      description: Returns ResourceGuards collection belonging to a subscription.
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      responses:
        '200':
          description: Azure operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceGuardResourceList'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CloudError'
      x-ms-pageable:
        nextLinkName: nextLink
      summary: Resource guards get resources in subscription
      x-summary-source: derived
  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/resourceGuards:
    get:
      operationId: ResourceGuards_GetResourcesInResourceGroup
      tags:
      - ResourceGuardResources
      description: Returns ResourceGuards collection belonging to a ResourceGroup.
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      responses:
        '200':
          description: Azure operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceGuardResourceList'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CloudError'
      x-ms-pageable:
        nextLinkName: nextLink
      summary: Resource guards get resources in resource group
      x-summary-source: derived
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/resourceGuards/{resourceGuardsName}
  : get:
      operationId: ResourceGuards_Get
      tags:
      - ResourceGuardResources
      description: Returns a ResourceGuard belonging to a resource group.
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - name: resourceGuardsName
        in: path
        description: The name of ResourceGuard
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Azure operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceGuardResource'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CloudError'
      summary: Resource guards get
      x-summary-source: derived
    put:
      operationId: ResourceGuards_Put
      tags:
      - ResourceGuardResources
      description: Creates or updates a ResourceGuard resource belonging to a resource group.
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - name: resourceGuardsName
        in: path
        description: The name of ResourceGuard
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Resource 'ResourceGuardResource' update operation succeeded
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceGuardResource'
        '201':
          description: Resource 'ResourceGuardResource' create operation succeeded
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceGuardResource'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CloudError'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ResourceGuardResource'
        description: Request body for operation
        required: true
      summary: Resource guards put
      x-summary-source: derived
    patch:
      operationId: ResourceGuards_Patch
      tags:
      - ResourceGuardResources
      description: Updates a ResourceGuard resource belonging to a resource group. For example, updating tags for a resource.
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - name: resourceGuardsName
        in: path
        description: The name of ResourceGuard
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Azure operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceGuardResource'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CloudError'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PatchResourceGuardInput'
        description: Request body for operation
        required: true
      summary: Resource guards patch
      x-summary-source: derived
    delete:
      operationId: ResourceGuards_Delete
      tags:
      - ResourceGuardResources
      description: Deletes a ResourceGuard resource from the resource group.
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - name: resourceGuardsName
        in: path
        description: The name of ResourceGuard
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Resource deleted successfully.
        '204':
          description: Resource does not exist.
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CloudError'
      summary: Resource guards delete
      x-summary-source: derived
components:
  schemas:
    Error:
      type: object
      description: The resource management error response.
      properties:
        additionalInfo:
          type: array
          description: The error additional info.
          items:
            $ref: '#/components/schemas/ErrorAdditionalInfo'
          readOnly: true
          x-ms-identifiers: []
        code:
          type: string
          description: The error code.
          readOnly: true
        details:
          type: array
          description: The error details.
          items:
            $ref: '#/components/schemas/Error'
          readOnly: true
          x-ms-identifiers: []
        message:
          type: string
          description: The error message.
          readOnly: true
        target:
          type: string
          description: The error target.
          readOnly: true
    ProvisioningState:
      type: string
      description: Provisioning state of the BackupVault resource
      enum:
      - Failed
      - Provisioning
      - Succeeded
      - Unknown
      - Updating
      x-ms-enum:
        name: ProvisioningState
        modelAsString: true
        values:
        - name: Failed
          value: Failed
        - name: Provisioning
          value: Provisioning
        - name: Succeeded
          value: Succeeded
        - name: Unknown
          value: Unknown
        - name: Updating
          value: Updating
      readOnly: true
    ResourceGuard:
      type: object
      properties:
        provisioningState:
          $ref: '#/components/schemas/ProvisioningState'
          description: Provisioning state of the BackupVault resource
          readOnly: true
        allowAutoApprovals:
          type: boolean
          description: This flag indicates whether auto approval is allowed or not.
          readOnly: true
        resourceGuardOperations:
          type: array
          description: '{readonly} List of operation details those are protected by the ResourceGuard resource'
          items:
            $ref: '#/components/schemas/ResourceGuardOperation'
          readOnly: true
          x-ms-identifiers: []
        vaultCriticalOperationExclusionList:
          type: array
          description: List of critical operations which are not protected by this resourceGuard
          items:
            type: string
        description:
          type: string
          description: Description about the pre-req steps to perform all the critical operations.
          readOnly: true
    DppTrackedResourceList:
      type: object
      properties:
        nextLink:
          type: string
          description: The uri to fetch the next page of resources. Call ListNext() fetches next page of resources.
    ErrorAdditionalInfo:
      type: object
      description: The resource management error additional info.
      properties:
        type:
          type: string
          description: The additional info type.
          readOnly: true
        info:
          type: object
          description: The additional info.
          readOnly: true
    ResourceGuardResource:
      type: object
      description: Concrete tracked resource types can be created by aliasing this type using a specific property type.
      properties:
        properties:
          $ref: '#/components/schemas/ResourceGuard'
          description: ResourceGuardResource properties
        eTag:
          type: string
          description: Optional ETag.
      allOf:
      - $ref: '#/components/schemas/TrackedResource'
    ResourceGuardResourceList:
      type: object
      description: List of ResourceGuard resources
      properties:
        value:
          type: array
          description: List of resources.
          items:
            $ref: '#/components/schemas/ResourceGuardResource'
      allOf:
      - $ref: '#/components/schemas/DppTrackedResourceList'
    PatchResourceGuardInput:
      type: object
      description: Patch Request content for Microsoft.DataProtection Resource Guard resources
      properties:
        tags:
          type: object
          description: Resource Guard tags.
          additionalProperties:
            type: string
    TrackedResource:
      type: object
      title: Tracked Resource
      description: The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location'
      properties:
        tags:
          type: object
          description: Resource tags.
          additionalProperties:
            type: string
          x-ms-mutability:
          - read
          - create
          - update
        location:
          type: string
          description: The geo-location where the resource lives
          x-ms-mutability:
          - read
          - create
      required:
      - location
      allOf:
      - $ref: '#/components/schemas/Resource'
    CloudError:
      type: object
      description: An error response from Azure Backup.
      properties:
        error:
          $ref: '#/components/schemas/Error'
          description: The resource management error response.
    ResourceGuardOperation:
      type: object
      description: This class contains all the details about a critical operation.
      properties:
        vaultCriticalOperation:
          type: string
          description: Name of the critical operation.
          readOnly: true
        requestResourceType:
          type: string
          description: Type of resource request.
          readOnly: true
  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. The value must be an UUID.
      required: true
      schema:
        type: string
        format: uuid
    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.