Microsoft Azure Backup Policy API

The Backup Policy API from Microsoft Azure, for backup policy.

GitHub OpenAPI
Business capability
Disaster Recovery & Resilience BC-4220.60

Operations 5

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/backupPolicies List backup policies in a NetApp account · Microsoft Azure List Backup Policies #
Ask an LLM
“Which backup policies are defined in my Azure NetApp Files account?”
“Can I see every NetApp backup policy in one account at once?”
Tell an agent
List backup policies in NetApp account {accountName}, resource group {resourceGroupName}.
Show all the volume backup policies set up under NetApp account {accountName}.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/backupPolicies/{backupPolicyName} Get a NetApp backup policy · Microsoft Azure Get A Backup Policy #
Ask an LLM
“What retention does a particular NetApp backup policy keep?”
“Can I read one backup policy from my NetApp account by name?”
Tell an agent
Get backup policy {backupPolicyName} in NetApp account {accountName}.
Show the settings of NetApp policy {backupPolicyName} in group {resourceGroupName}.
PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/backupPolicies/{backupPolicyName} Create a NetApp backup policy · Microsoft Azure Create A Backup Policy #
Ask an LLM
“How do I set up a new backup policy for my Azure NetApp Files volumes?”
“Can I define daily, weekly and monthly backup retention in a new NetApp policy?”
Tell an agent
Create backup policy {policy} on NetApp account {account}.
Add a new backup policy named {policy} with properties {properties}.
PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/backupPolicies/{backupPolicyName} Update an existing NetApp backup policy · Microsoft Azure Patch A Backup Policy #
Ask an LLM
“Can I change the retention counts on a backup policy that already exists?”
“How do I disable an existing NetApp backup policy without deleting it?”
Tell an agent
Patch backup policy {policy} on account {account} with {properties}.
Update the tags on existing backup policy {policy} to {tags}.
DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/backupPolicies/{backupPolicyName} Delete a NetApp backup policy · Microsoft Azure Delete A Backup Policy #
Ask an LLM
“Can I remove a backup policy from my NetApp account?”
“Which call permanently deletes an Azure NetApp Files backup policy?”
Tell an agent destructive · confirm first
Delete backup policy {backupPolicyName} from NetApp account {accountName}.
Permanently remove NetApp policy {backupPolicyName} in group {resourceGroupName}.

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:microsoft-azure-backup-policy-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-policy-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Microsoft Azure Microsoft NetApp Backup Policy API
  description: Microsoft NetApp Azure Resource Provider specification
  version: 2023-07-01-preview
  x-ms-code-generation-settings:
    name: AzureNetAppFilesManagementClient
servers:
- url: https://management.azure.com
security:
- azure_auth:
  - user_impersonation
tags:
- name: Backup Policy
paths:
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/backupPolicies
  : get:
      tags:
      - Backup Policy
      summary: Microsoft Azure List Backup Policies
      description: List backup policies for Netapp Account
      operationId: microsoftAzureBackuppoliciesList
      parameters:
      - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter
      - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter
      - $ref: '#/components/parameters/AccountName'
      - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter
      x-ms-pageable:
        nextLinkName: null
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/backupPoliciesList'
        default:
          description: Error response describing why the operation failed.
          content:
            application/json:
              schema:
                $ref: ../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse
      x-ms-examples:
        Backups_List:
          $ref: examples/BackupPolicies_List.json
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/backupPolicies/{backupPolicyName}
  : get:
      tags:
      - Backup Policy
      summary: Microsoft Azure Get A Backup Policy
      description: Get a particular backup Policy
      operationId: microsoftAzureBackuppoliciesGet
      parameters:
      - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter
      - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter
      - $ref: '#/components/parameters/AccountName'
      - $ref: '#/components/parameters/BackupPolicyName'
      - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/backupPolicy'
        default:
          description: Error response describing why the operation failed.
          content:
            application/json:
              schema:
                $ref: ../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse
      x-ms-examples:
        Backups_Get:
          $ref: examples/BackupPolicies_Get.json
    put:
      tags:
      - Backup Policy
      summary: Microsoft Azure Create A Backup Policy
      description: Create a backup policy for Netapp Account
      operationId: microsoftAzureBackuppoliciesCreate
      parameters:
      - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter
      - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter
      - $ref: '#/components/parameters/AccountName'
      - $ref: '#/components/parameters/BackupPolicyName'
      - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter
      responses:
        '200':
          description: Backup Policy created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/backupPolicy'
        '201':
          description: Backup created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/backupPolicy'
        '202':
          description: Accepted -- Create request accepted; operation will complete asynchronously
        default:
          description: Error response describing why the operation failed.
          content:
            application/json:
              schema:
                $ref: ../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse
      x-ms-long-running-operation: true
      x-ms-long-running-operation-options:
        final-state-via: azure-async-operation
      x-ms-examples:
        BackupPolicies_Create:
          $ref: examples/BackupPolicies_Create.json
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/backupPolicy'
        description: Backup policy object supplied in the body of the operation.
        required: true
    patch:
      tags:
      - Backup Policy
      summary: Microsoft Azure Patch A Backup Policy
      description: Patch a backup policy for Netapp Account
      operationId: microsoftAzureBackuppoliciesUpdate
      parameters:
      - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter
      - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter
      - $ref: '#/components/parameters/AccountName'
      - $ref: '#/components/parameters/BackupPolicyName'
      - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/backupPolicy'
        '202':
          description: Accepted -- Create or update request accepted; operation will complete asynchronously
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/backupPolicy'
        default:
          description: Error response describing why the operation failed.
          content:
            application/json:
              schema:
                $ref: ../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse
      x-ms-long-running-operation: true
      x-ms-long-running-operation-options:
        final-state-via: azure-async-operation
      x-ms-examples:
        BackupPolicies_Update:
          $ref: examples/BackupPolicies_Update.json
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/backupPolicyPatch'
        description: Backup policy object supplied in the body of the operation.
        required: true
    delete:
      tags:
      - Backup Policy
      summary: Microsoft Azure Delete A Backup Policy
      description: Delete backup policy
      operationId: microsoftAzureBackuppoliciesDelete
      parameters:
      - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter
      - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter
      - $ref: '#/components/parameters/AccountName'
      - $ref: '#/components/parameters/BackupPolicyName'
      - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter
      responses:
        '200':
          description: OK
        '202':
          description: Accepted -- Create or update request accepted; operation will complete asynchronously
        '204':
          description: NoContent -- Resource does not exist.
        default:
          description: Error response describing why the operation failed.
          content:
            application/json:
              schema:
                $ref: ../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse
      x-ms-long-running-operation: true
      x-ms-long-running-operation-options:
        final-state-via: location
      x-ms-examples:
        Backups_Delete:
          $ref: examples/BackupPolicies_Delete.json
components:
  schemas:
    backupPolicyProperties:
      description: Backup policy properties
      type: object
      properties:
        backupPolicyId:
          type: string
          readOnly: true
          description: Backup Policy Resource ID
        provisioningState:
          type: string
          readOnly: true
          description: Azure lifecycle management
        dailyBackupsToKeep:
          type: integer
          description: Daily backups count to keep
          format: int32
        weeklyBackupsToKeep:
          type: integer
          description: Weekly backups count to keep
          format: int32
        monthlyBackupsToKeep:
          type: integer
          description: Monthly backups count to keep
          format: int32
        volumesAssigned:
          type: integer
          readOnly: true
          description: Volumes using current backup policy
          format: int32
        enabled:
          type: boolean
          description: The property to decide policy is enabled or not
        volumeBackups:
          description: A list of volumes assigned to this policy
          readOnly: true
          type: array
          items:
            $ref: '#/components/schemas/volumeBackups'
          x-ms-identifiers:
          - volumeName
    resourceTags:
      type: object
      additionalProperties:
        type: string
      description: Tags are a list of key-value pairs that describe the resource
    backupPolicy:
      description: Backup policy information
      type: object
      required:
      - location
      - properties
      allOf:
      - $ref: ../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource
      properties:
        etag:
          readOnly: true
          type: string
          description: A unique read-only string that changes whenever the resource is updated.
        properties:
          description: Backup policy Properties
          $ref: '#/components/schemas/backupPolicyProperties'
          x-ms-client-flatten: true
    backupPolicyPatch:
      description: Backup policy Details for create and update
      type: object
      x-ms-azure-resource: true
      properties:
        location:
          type: string
          description: Resource location
          x-ms-mutability:
          - read
          - create
        id:
          type: string
          readOnly: true
          description: Resource Id
        name:
          type: string
          readOnly: true
          description: Resource name
        type:
          type: string
          readOnly: true
          description: Resource type
        tags:
          description: Resource tags
          $ref: '#/components/schemas/resourceTags'
        properties:
          description: Backup policy Properties
          $ref: '#/components/schemas/backupPolicyProperties'
          x-ms-client-flatten: true
    volumeBackups:
      description: Volume details using the backup policy
      type: object
      readOnly: true
      properties:
        volumeName:
          type: string
          description: Volume name
        backupsCount:
          type: integer
          description: Total count of backups for volume
          format: int32
        policyEnabled:
          type: boolean
          description: Policy enabled
    backupPoliciesList:
      description: List of Backup Policies
      type: object
      properties:
        value:
          description: A list of backup policies
          type: array
          items:
            $ref: '#/components/schemas/backupPolicy'
  parameters:
    AccountName:
      name: accountName
      in: path
      required: true
      description: The name of the NetApp account
      x-ms-parameter-location: method
      schema:
        type: string
        pattern: ^[a-zA-Z0-9][a-zA-Z0-9\-_]{0,127}$
    BackupPolicyName:
      name: backupPolicyName
      in: path
      required: true
      description: Backup policy Name which uniquely identify backup policy.
      x-ms-parameter-location: method
      schema:
        type: string
  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