Microsoft Azure Subvolumes API

The Subvolumes API from Microsoft Azure, for subvolumes.

GitHub OpenAPI
Business capability
IT Infrastructure Management BC-600.50

Operations 6

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}/capacityPools/{poolName}/volumes/{volumeName}/subvolumes List subvolumes in a NetApp volume · Microsoft Azure List Of All The Subvolumes #
Ask an LLM
“Which subvolumes exist inside my Azure NetApp Files volume?”
“How do I see all subvolumes in a capacity pool's volume?”
Tell an agent
List subvolumes in volume {volumeName}, pool {poolName}, account {accountName}.
Show every subvolume of NetApp volume {volumeName} in {accountName}/{poolName}.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/subvolumes/{subvolumeName} Get a subvolume's path · Microsoft Azure Get The Path Associated With The Subvolumename #
Ask an LLM
“What path is a given NetApp subvolume mounted at?”
“How do I look up one subvolume by name?”
Tell an agent
Get the path of subvolume {subvolumeName} in {accountName}/{poolName}/{volumeName}.
Show subvolume {subvolumeName} of volume {volumeName}, pool {poolName}, account {accountName}.
PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/subvolumes/{subvolumeName} Create or clone a subvolume · Microsoft Azure Create Or Clone A New Subvolume #
Ask an LLM
“How do I create a new subvolume inside a NetApp volume?”
“Can I clone an existing subvolume from a parent path?”
Tell an agent
Create subvolume {subvolumeName} in {accountName}/{poolName}/{volumeName}.
Clone into subvolume {subvolumeName} on volume {volumeName}, pool {poolName}, account {accountName}, using parent path {properties}.
PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/subvolumes/{subvolumeName} Update a subvolume · Microsoft Azure Update A Subvolume #
Ask an LLM
“Can I resize or change an existing subvolume?”
“How do I patch the settings of a NetApp subvolume?”
Tell an agent
Update subvolume {subvolumeName} in {accountName}/{poolName}/{volumeName} with {properties}.
Patch existing subvolume {subvolumeName} on volume {volumeName}, pool {poolName}, account {accountName}.
DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/subvolumes/{subvolumeName} Delete a subvolume · Microsoft Azure Delete A Subvolume #
Ask an LLM
“How do I remove a subvolume from a NetApp volume?”
“Is deleting a NetApp subvolume reversible?”
Tell an agent destructive · confirm first
Delete subvolume {subvolumeName} from {accountName}/{poolName}/{volumeName}.
Remove subvolume {subvolumeName} on volume {volumeName}, pool {poolName}, account {accountName}.
POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/subvolumes/{subvolumeName}/getMetadata Describe a subvolume's metadata · Microsoft Azure Describe A Subvolume #
Ask an LLM
“How big is a subvolume and when was it created?”
“Can I get detailed metadata such as size and permissions for a subvolume?”
Tell an agent
Describe the metadata of subvolume {subvolumeName} in {accountName}/{poolName}/{volumeName}.
Get size and timestamps for subvolume {subvolumeName}, volume {volumeName}, pool {poolName}, account {accountName}.

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-subvolumes-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-subvolumes-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Microsoft Azure Microsoft NetApp Subvolumes 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: Subvolumes
paths:
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/subvolumes
  : get:
      tags:
      - Subvolumes
      operationId: microsoftAzureSubvolumesListbyvolume
      summary: Microsoft Azure List Of All The Subvolumes
      description: Returns a list of the subvolumes in the volume
      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/PoolName'
      - $ref: '#/components/parameters/VolumeName'
      - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter
      x-ms-pageable:
        nextLinkName: nextLink
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/subvolumesList'
        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:
        Subvolumes_List:
          $ref: examples/Subvolumes_List.json
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/subvolumes/{subvolumeName}
  : get:
      tags:
      - Subvolumes
      summary: Microsoft Azure Get The Path Associated With The Subvolumename
      description: Returns the path associated with the subvolumeName provided
      operationId: microsoftAzureSubvolumesGet
      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/PoolName'
      - $ref: '#/components/parameters/VolumeName'
      - $ref: '#/components/parameters/SubvolumeName'
      - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/subvolumeInfo'
        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:
        Subvolumes_Get:
          $ref: examples/Subvolumes_Get.json
    put:
      tags:
      - Subvolumes
      summary: Microsoft Azure Create Or Clone A New Subvolume
      description: Creates a subvolume in the path or clones the subvolume mentioned in the parentPath
      operationId: microsoftAzureSubvolumesCreate
      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/PoolName'
      - $ref: '#/components/parameters/VolumeName'
      - $ref: '#/components/parameters/SubvolumeName'
      - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter
      responses:
        '200':
          description: OK - updated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/subvolumeInfo'
        '201':
          description: Subvolume created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/subvolumeInfo'
        '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:
        Subvolumes_Create:
          $ref: examples/Subvolumes_Create.json
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/subvolumeInfo'
        description: Subvolume object supplied in the body of the operation.
        required: true
    patch:
      tags:
      - Subvolumes
      operationId: microsoftAzureSubvolumesUpdate
      summary: Microsoft Azure Update A Subvolume
      description: Patch a subvolume
      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/PoolName'
      - $ref: '#/components/parameters/VolumeName'
      - $ref: '#/components/parameters/SubvolumeName'
      - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/subvolumeInfo'
        '202':
          description: Accepted -- Update 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:
        Subvolumes_Update:
          $ref: examples/Subvolumes_Update.json
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/subvolumePatchRequest'
        description: Subvolume object supplied in the body of the operation.
        required: true
    delete:
      tags:
      - Subvolumes
      operationId: microsoftAzureSubvolumesDelete
      summary: Microsoft Azure Delete A Subvolume
      description: Delete subvolume
      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/PoolName'
      - $ref: '#/components/parameters/VolumeName'
      - $ref: '#/components/parameters/SubvolumeName'
      - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter
      responses:
        '200':
          description: OK
        '202':
          description: Accepted -- Delete 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: azure-async-operation
      x-ms-examples:
        Subvolumes_Delete:
          $ref: examples/Subvolumes_Delete.json
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/subvolumes/{subvolumeName}/getMetadata
  : post:
      tags:
      - Subvolumes
      operationId: microsoftAzureSubvolumesGetmetadata
      summary: Microsoft Azure Describe A Subvolume
      description: Get details of the specified subvolume
      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/PoolName'
      - $ref: '#/components/parameters/VolumeName'
      - $ref: '#/components/parameters/SubvolumeName'
      - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/subvolumeModel'
        '202':
          description: Accepted
        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:
        Subvolumes_Metadata:
          $ref: examples/Subvolumes_Metadata.json
components:
  schemas:
    subvolumePatchParams:
      description: Parameters with which a subvolume can be updated
      type: object
      properties:
        size:
          title: size
          type:
          - integer
          - 'null'
          format: int64
          description: Truncate subvolume to the provided size in bytes
          example: 5
        path:
          title: path
          type: string
          description: path to the subvolume
          example: /pathToSubvolume
    subvolumeProperties:
      description: This represents path associated with the subvolume
      type: object
      properties:
        path:
          title: path
          type: string
          description: Path to the subvolume
          example: /subvolume1
        size:
          title: size
          type:
          - integer
          - 'null'
          format: int64
          description: Truncate subvolume to the provided size in bytes
          example: 5
        parentPath:
          title: name
          type:
          - string
          - 'null'
          description: parent path to the subvolume
          example: /parentPath
        provisioningState:
          type: string
          description: Azure lifecycle management
          readOnly: true
          example: Available
    subvolumeInfo:
      description: Subvolume Information properties
      type: object
      allOf:
      - $ref: ../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource
      properties:
        properties:
          description: Subvolume Properties
          $ref: '#/components/schemas/subvolumeProperties'
          x-ms-client-flatten: true
    subvolumeModel:
      description: Result of the post subvolume and action is to get metadata of the subvolume.
      type: object
      properties:
        id:
          type: string
          readOnly: true
          description: Resource Id
        name:
          type: string
          readOnly: true
          description: Resource name
        type:
          type: string
          readOnly: true
          description: Resource type
        properties:
          description: It represents the minimal properties of the subvolume.
          $ref: '#/components/schemas/subvolumeModelProperties'
          x-ms-client-flatten: true
    subvolumePatchRequest:
      description: Subvolume Patch Request properties
      type: object
      x-ms-azure-resource: true
      properties:
        properties:
          description: Subvolume Properties
          $ref: '#/components/schemas/subvolumePatchParams'
          x-ms-client-flatten: true
    subvolumeModelProperties:
      description: Properties which represents actual subvolume model which is stored as a file in the system.
      type: object
      properties:
        path:
          title: path
          type: string
          description: Path to the subvolume
          example: /subvolume1
        parentPath:
          title: parentpath
          type: string
          description: Path to the parent subvolume
          example: /parentPath
        size:
          title: size
          type: integer
          format: int64
          description: Size of subvolume
          example: 5
        bytesUsed:
          title: bytesUsed
          type: integer
          format: int64
          description: Bytes used
          example: 5
        permissions:
          title: permissions
          type: string
          description: Permissions of the subvolume
          example: '777'
        creationTimeStamp:
          title: creationTimeStamp
          type: string
          format: date-time
          description: Creation time and date
          example: '2017-08-15T13:23:33Z'
        accessedTimeStamp:
          title: accessedTimeStamp
          type: string
          format: date-time
          description: Most recent access time and date
          example: '2017-08-15T13:23:33Z'
        modifiedTimeStamp:
          title: modifiedTimeStamp
          type: string
          format: date-time
          description: Most recent modification time and date
          example: '2017-08-15T13:23:33Z'
        changedTimeStamp:
          title: changedTimeStamp
          type: string
          format: date-time
          description: Most recent change time and date
          example: '2017-08-15T13:23:33Z'
        provisioningState:
          type: string
          description: Azure lifecycle management
          example: Available
    subvolumesList:
      description: List of Subvolumes
      type: object
      properties:
        value:
          description: A list of Subvolumes
          type: array
          items:
            $ref: '#/components/schemas/subvolumeInfo'
        nextLink:
          type: string
          description: URL to get the next set of results.
  parameters:
    SubvolumeName:
      name: subvolumeName
      in: path
      required: true
      description: The name of the subvolume.
      x-ms-parameter-location: method
      schema:
        type: string
        maxLength: 64
        minLength: 1
        pattern: ^[a-zA-Z][a-zA-Z0-9\-_]{0,63}$
    PoolName:
      name: poolName
      in: path
      required: true
      description: The name of the capacity pool
      x-ms-parameter-location: method
      schema:
        type: string
        maxLength: 64
        minLength: 1
        pattern: ^[a-zA-Z0-9][a-zA-Z0-9\-_]{0,63}$
    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}$
    VolumeName:
      name: volumeName
      in: path
      required: true
      description: The name of the volume
      x-ms-parameter-location: method
      schema:
        type: string
        maxLength: 64
        minLength: 1
        pattern: ^[a-zA-Z][a-zA-Z0-9\-_]{0,63}$
  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