Microsoft Azure Disk Pools API

APIs for Disk pool operations.

GitHub OpenAPI
Business capability
IT Infrastructure Management BC-600.50

Operations 9

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}/providers/Microsoft.StoragePool/diskPools List Disk Pools in a subscription · Microsoft Azure Get Subscriptions Subscriptionid Providers Microsoft… #
Ask an LLM
“Which Disk Pools exist anywhere in my Azure subscription?”
“Can I get a subscription-wide inventory of my Disk Pools?”
Tell an agent
List Disk Pools in subscription {sub}.
Show every Disk Pool across subscription {sub}.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools List Disk Pools in a resource group · Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“What Disk Pools are deployed in one resource group?”
“Can I scope my Disk Pool listing to a single resource group?”
Tell an agent
List Disk Pools in resource group {rg}, subscription {sub}.
Show the Disk Pools inside resource group {rg}.
PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName} Create or update a Disk Pool · Microsoft Azure Put Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“Can I create a new Disk Pool in a resource group?”
“What payload do I send to create or replace a Disk Pool?”
Tell an agent
Create Disk Pool {pool} in resource group {rg}, subscription {sub} from {payload}.
Create or replace Disk Pool {pool} using {payload}.
PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName} Update an existing Disk Pool · Microsoft Azure Patch Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“Can I modify an existing Disk Pool without recreating it?”
“What does a Disk Pool patch payload let me change?”
Tell an agent
Update Disk Pool {pool} in resource group {rg}, subscription {sub} with {payload}.
Patch Disk Pool {pool} using {payload}.
DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName} Delete a Disk Pool · Microsoft Azure Delete Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“Can I delete a Disk Pool I no longer use?”
“How do I permanently remove a Disk Pool from a resource group?”
Tell an agent destructive · confirm first
Delete Disk Pool {pool} from resource group {rg}, subscription {sub}.
Remove the Disk Pool named {pool}.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName} Get a Disk Pool · Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“How do I check the configuration of a specific Disk Pool?”
“Can I read one Disk Pool's details by name?”
Tell an agent
Get Disk Pool {pool} in resource group {rg}, subscription {sub}.
Show details for Disk Pool {pool}.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/outboundNetworkDependenciesEndpoints List a Disk Pool's outbound network dependencies · Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“Which outbound endpoints does a Disk Pool need network access to?”
“What should my firewall allow so a Disk Pool can reach its dependencies?”
Tell an agent
List outbound network dependency endpoints for Disk Pool {pool} in resource group {rg}, subscription {sub}.
Show the outbound endpoints Disk Pool {pool} depends on.
POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/start Start a Disk Pool · Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“How do I start a Disk Pool that has been shut down?”
“Can I bring a deallocated Disk Pool back online?”
Tell an agent
Start Disk Pool {pool} in resource group {rg}, subscription {sub}.
Power on Disk Pool {pool}.
POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/deallocate Deallocate a Disk Pool to stop compute billing · Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“Can I shut down a Disk Pool so I stop paying for its compute?”
“What happens to billing when a Disk Pool is deallocated?”
Tell an agent
Deallocate Disk Pool {pool} in resource group {rg}, subscription {sub}.
Shut down Disk Pool {pool} and release its compute resources.

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-diskpools-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-diskpools-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: 2021-04-01-preview
  title: Microsoft Azure StoragePoolManagement Disk Pools API
  description: APIs for Disk pool operations.
servers:
- url: https://management.azure.com
security:
- azure_auth:
  - user_impersonation
tags:
- name: DiskPools
  description: APIs for Disk pool operations.
paths:
  /subscriptions/{subscriptionId}/providers/Microsoft.StoragePool/diskPools:
    get:
      tags:
      - DiskPools
      operationId: microsoftAzureDiskpoolsListbysubscription
      description: Gets a list of Disk Pools in a subscription
      parameters:
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ApiVersionParameter'
      responses:
        '200':
          description: Operation completed successfully; retrieved diskPools by subscription
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DiskPoolListResult'
        default:
          description: Error from the RP
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      x-ms-pageable:
        nextLinkName: nextLink
      x-ms-examples:
        List Disk Pools by subscription:
          $ref: ./examples/DiskPools_ListBySubscription.json
      summary: Microsoft Azure Get Subscriptions Subscriptionid Providers Microsoft…
  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools:
    get:
      tags:
      - DiskPools
      operationId: microsoftAzureDiskpoolsListbyresourcegroup
      description: Gets a list of DiskPools in a resource group.
      parameters:
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - $ref: '#/components/parameters/ApiVersionParameter'
      responses:
        '200':
          description: Operation completed successfully; retrieved diskPools by resource group
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DiskPoolListResult'
        default:
          description: Error from the RP
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      x-ms-pageable:
        nextLinkName: nextLink
      x-ms-examples:
        List Disk Pools:
          $ref: ./examples/DiskPools_ListByResourceGroup.json
      summary: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups…
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}
  : put:
      tags:
      - DiskPools
      operationId: microsoftAzureDiskpoolsCreateorupdate
      description: Create or Update Disk pool.
      parameters:
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - $ref: '#/components/parameters/DiskPoolName'
      - $ref: '#/components/parameters/DiskPoolCreate'
      - $ref: '#/components/parameters/ApiVersionParameter'
      responses:
        '200':
          description: OK -- Returned when the create or update operation is successfully completed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DiskPool'
        '201':
          description: Accepted -- Create or update request accepted; operation will complete asynchronously.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DiskPool'
        default:
          description: Error from the RP
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      x-ms-long-running-operation: true
      x-ms-long-running-operation-options:
        final-state-via: azure-async-operation
      x-ms-examples:
        Create or Update Disk pool:
          $ref: ./examples/DiskPools_Put.json
      summary: Microsoft Azure Put Subscriptions Subscriptionid Resourcegroups…
    patch:
      tags:
      - DiskPools
      operationId: microsoftAzureDiskpoolsUpdate
      description: Update a Disk pool.
      parameters:
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - $ref: '#/components/parameters/DiskPoolName'
      - $ref: '#/components/parameters/DiskPoolUpdate'
      - $ref: '#/components/parameters/ApiVersionParameter'
      responses:
        '200':
          description: OK -- Returned when the update operation is successfully completed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DiskPool'
        '202':
          description: Accepted -- Update request accepted; operation will complete asynchronously.
        default:
          description: Error from the RP.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      x-ms-examples:
        Update Disk pool:
          $ref: ./examples/DiskPools_Patch.json
      x-ms-long-running-operation: true
      x-ms-long-running-operation-options:
        final-state-via: azure-async-operation
      summary: Microsoft Azure Patch Subscriptions Subscriptionid Resourcegroups…
    delete:
      tags:
      - DiskPools
      operationId: microsoftAzureDiskpoolsDelete
      description: Delete a Disk pool.
      parameters:
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - $ref: '#/components/parameters/DiskPoolName'
      - $ref: '#/components/parameters/ApiVersionParameter'
      responses:
        '200':
          description: Delete operation completed successfully.
        '202':
          description: Delete request accepted; operation will complete asynchronously.
        '204':
          description: Resource does not exist in the subscription.
        default:
          description: Error from the RP
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      x-ms-long-running-operation: true
      x-ms-long-running-operation-options:
        final-state-via: azure-async-operation
      x-ms-examples:
        Delete Disk pool:
          $ref: ./examples/DiskPools_Delete.json
      summary: Microsoft Azure Delete Subscriptions Subscriptionid Resourcegroups…
    get:
      tags:
      - DiskPools
      operationId: microsoftAzureDiskpoolsGet
      description: Get a Disk pool.
      parameters:
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - $ref: '#/components/parameters/DiskPoolName'
      - $ref: '#/components/parameters/ApiVersionParameter'
      responses:
        '200':
          description: Operation completed successfully; retrieved Disk pool.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DiskPool'
        default:
          description: Error from the RP.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      x-ms-examples:
        Get Disk pool:
          $ref: ./examples/DiskPools_Get.json
      summary: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups…
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/outboundNetworkDependenciesEndpoints
  : get:
      tags:
      - DiskPools
      operationId: microsoftAzureDiskpoolsListoutboundnetworkdependenciesendpoints
      description: Gets the network endpoints of all outbound dependencies of a Disk Pool
      parameters:
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - $ref: '#/components/parameters/DiskPoolName'
      - $ref: '#/components/parameters/ApiVersionParameter'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OutboundEnvironmentEndpointList'
        default:
          description: Error from the RP
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      x-ms-pageable:
        nextLinkName: nextLink
      x-ms-examples:
        Get Disk Pool outbound network dependencies:
          $ref: ./examples/DiskPools_GetOutboundNetworkDependencies.json
      summary: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups…
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/start
  : post:
      tags:
      - DiskPools
      operationId: microsoftAzureDiskpoolsStart
      description: The operation to start a Disk Pool.
      parameters:
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - $ref: '#/components/parameters/DiskPoolName'
      - $ref: '#/components/parameters/ApiVersionParameter'
      responses:
        '200':
          description: OK
        '202':
          description: Accepted
        default:
          description: Error from the RP
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      x-ms-long-running-operation: true
      x-ms-long-running-operation-options:
        final-state-via: azure-async-operation
      x-ms-examples:
        Start Disk Pool:
          $ref: ./examples/DiskPools_Start.json
      summary: Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups…
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/deallocate
  : post:
      tags:
      - DiskPools
      operationId: microsoftAzureDiskpoolsDeallocate
      description: Shuts down the Disk Pool and releases the compute resources. You are not billed for the compute resources that this Disk Pool uses.
      parameters:
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - $ref: '#/components/parameters/DiskPoolName'
      - $ref: '#/components/parameters/ApiVersionParameter'
      responses:
        '200':
          description: OK
        '202':
          description: Accepted
        default:
          description: Error from the RP
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      x-ms-long-running-operation: true
      x-ms-long-running-operation-options:
        final-state-via: azure-async-operation
      x-ms-examples:
        Deallocate Disk Pool:
          $ref: ./examples/DiskPools_Deallocate.json
      summary: Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups…
components:
  schemas:
    TrackedResource:
      description: The resource model definition for a ARM tracked top level resource.
      properties:
        tags:
          type: object
          additionalProperties:
            type: string
          x-ms-mutability:
          - read
          - create
          - update
          description: Resource tags.
        location:
          type: string
          x-ms-mutability:
          - read
          - create
          description: The geo-location where the resource lives.
      required:
      - location
      allOf:
      - $ref: '#/components/schemas/Resource'
    DiskPoolCreate:
      type: object
      description: Request payload for create or update Disk Pool request.
      required:
      - properties
      - location
      - sku
      properties:
        sku:
          description: Determines the SKU of the Disk Pool
          type: object
          $ref: '#/components/schemas/Sku'
        properties:
          x-ms-client-flatten: true
          description: Properties for Disk Pool create request.
          $ref: '#/components/schemas/DiskPoolCreateProperties'
        tags:
          type: object
          additionalProperties:
            type: string
          x-ms-mutability:
          - read
          - create
          - update
          description: Resource tags.
        location:
          type: string
          x-ms-mutability:
          - read
          - create
          description: The geo-location where the resource lives.
        id:
          readOnly: true
          type: string
          description: Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
        name:
          readOnly: true
          type: string
          description: The name of the resource
        type:
          readOnly: true
          type: string
          description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
      x-ms-azure-resource: true
    DiskPoolProperties:
      type: object
      description: Disk Pool response properties.
      required:
      - availabilityZones
      - subnetId
      - provisioningState
      - status
      properties:
        provisioningState:
          description: State of the operation on the resource.
          type: string
          $ref: '#/components/schemas/ProvisioningState'
        availabilityZones:
          type: array
          description: 'Logical zone for Disk Pool resource; example: ["1"].'
          items:
            $ref: '#/components/schemas/AvailabilityZone'
        status:
          type: string
          $ref: '#/components/schemas/OperationalStatus'
          description: Operational status of the Disk Pool.
        disks:
          type: array
          description: List of Azure Managed Disks to attach to a Disk Pool.
          items:
            $ref: '#/components/schemas/Disk'
        subnetId:
          type: string
          description: Azure Resource ID of a Subnet for the Disk Pool.
          x-ms-mutability:
          - create
          - read
        additionalCapabilities:
          type: array
          description: List of additional capabilities for Disk Pool.
          items:
            $ref: '#/components/schemas/AdditionalCapability'
    Sku:
      type: object
      description: Sku for ARM resource
      required:
      - name
      properties:
        name:
          type: string
          description: Sku name
        tier:
          type: string
          description: Sku tier
    EndpointDetail:
      description: Current TCP connectivity information from the App Service Environment to a single endpoint.
      type: object
      properties:
        ipAddress:
          description: An IP Address that Domain Name currently resolves to.
          type: string
        port:
          format: int32
          description: The port an endpoint is connected to.
          type: integer
        latency:
          format: double
          description: The time in milliseconds it takes for a TCP connection to be created from the App Service Environment to this IpAddress at this Port.
          type: number
        isAccessible:
          description: Whether it is possible to create a TCP connection from the App Service Environment to this IpAddress at this Port.
          type: boolean
    OperationalStatus:
      type: string
      enum:
      - Invalid
      - Unknown
      - Healthy
      - Unhealthy
      - Updating
      - Running
      - Stopped
      - Stopped (deallocated)
      x-ms-enum:
        name: OperationalStatus
        modelAsString: true
      description: Operational status of the resource.
    Resource:
      description: ARM resource model definition.
      properties:
        id:
          readOnly: true
          type: string
          description: Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
        name:
          readOnly: true
          type: string
          description: The name of the resource
        type:
          readOnly: true
          type: string
          description: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
      x-ms-azure-resource: true
    DiskPoolUpdateProperties:
      type: object
      description: Properties for Disk Pool update request.
      properties:
        disks:
          type: array
          description: List of Azure Managed Disks to attach to a Disk Pool.
          items:
            $ref: '#/components/schemas/Disk'
    Error:
      type: object
      description: The resource management error response.
      properties:
        error:
          type: object
          description: RP error response.
          $ref: '#/components/schemas/ErrorResponse'
    SystemMetadata:
      description: Metadata pertaining to creation and last modification of the resource.
      type: object
      readOnly: true
      properties:
        createdBy:
          type: string
          description: The identity that created the resource.
        createdByType:
          type: string
          description: The type of identity that created the resource.
          enum:
          - User
          - Application
          - ManagedIdentity
          - Key
          x-ms-enum:
            name: createdByType
            modelAsString: true
        createdAt:
          type: string
          format: date-time
          description: The timestamp of resource creation (UTC).
        lastModifiedBy:
          type: string
          description: The identity that last modified the resource.
        lastModifiedByType:
          type: string
          description: The type of identity that last modified the resource.
          enum:
          - User
          - Application
          - ManagedIdentity
          - Key
          x-ms-enum:
            name: createdByType
            modelAsString: true
        lastModifiedAt:
          type: string
          format: date-time
          description: The type of identity that last modified the resource.
    AdditionalCapability:
      type: string
      description: Special capability that can be set on the Disk Pool.
    Disk:
      type: object
      description: Azure Managed Disk to attach to the Disk Pool.
      required:
      - id
      additionalProperties: false
      properties:
        id:
          type: string
          description: Unique Azure Resource ID of the Managed Disk.
    DiskPoolUpdate:
      type: object
      description: Request payload for Update Disk Pool request.
      required:
      - properties
      properties:
        properties:
          x-ms-client-flatten: true
          description: Properties for Disk Pool update request.
          $ref: '#/components/schemas/DiskPoolUpdateProperties'
        tags:
          type: object
          additionalProperties:
            type: string
          x-ms-mutability:
          - read
          - create
          - update
          description: Resource tags.
    ErrorAdditionalInfo:
      properties:
        type:
          readOnly: true
          type: string
          description: The additional info type.
        info:
          readOnly: true
          type: object
          description: The additional info.
      description: The resource management error additional info.
    ErrorResponse:
      properties:
        code:
          readOnly: true
          type: string
          description: The error code.
        message:
          readOnly: true
          type: string
          description: The error message.
        target:
          readOnly: true
          type: string
          description: The error target.
        details:
          readOnly: true
          type: array
          items:
            $ref: '#/components/schemas/ErrorResponse'
          description: The error details.
        additionalInfo:
          readOnly: true
          type: array
          items:
            $ref: '#/components/schemas/ErrorAdditionalInfo'
          description: The error additional info.
      description: The resource management error response.
    EndpointDependency:
      description: A domain name that a service is reached at, including details of the current connection status.
      type: object
      properties:
        domainName:
          description: The domain name of the dependency.
          type: string
        endpointDetails:
          description: The IP Addresses and Ports used when connecting to DomainName.
          type: array
          items:
            $ref: '#/components/schemas/EndpointDetail'
    OutboundEnvironmentEndpoint:
      description: Endpoints accessed for a common purpose that the App Service Environment requires outbound network access to.
      type: object
      properties:
        category:
          description: The type of service accessed by the App Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory.
          type: string
        endpoints:
          description: The endpoints that the App Service Environment reaches the service at.
          type: array
          items:
            $ref: '#/components/schemas/EndpointDependency'
    DiskPool:
      type: object
      description: Response for Disk Pool request.
      required:
      - properties
      properties:
        sku:
          description: Determines the SKU of the Disk pool
          $ref: '#/components/schemas/Sku'
          x-ms-client-flatten: true
        properties:
          x-ms-client-flatten: true
          description: Properties of Disk Pool.
          $ref: '#/components/schemas/DiskPoolProperties'
        systemData:
          description: Resource metadata required by ARM RPC
          readOnly: true
          $ref: '#/components/schemas/SystemMetadata'
      allOf:
      - $ref: '#/components/schemas/TrackedResource'
    DiskPoolCreateProperties:
      type: object
      description: Properties for Disk Pool create or update request.
      required:
      - subnetId
      properties:
        availabilityZones:
          type: array
          description: 'Logical zone for Disk Pool resource; example: ["1"].'
          items:
            $ref: '#/components/schemas/AvailabilityZone'
        disks:
          type: array
          description: List of Azure Managed Disks to attach to a Disk Pool.
          items:
            $ref: '#/components/schemas/Disk'
        subnetId:
          type: string
          description: Azure Resource ID of a Subnet for the Disk Pool.
          x-ms-mutability:
          - create
          - read
        additionalCapabilities:
          type: array
          description: List of additional capabilities for a Disk Pool.
          items:
            $ref: '#/components/schemas/AdditionalCapability'
    DiskPoolListResult:
      type: object
      required:
      - value
      description: List of Disk Pools
      additionalProperties: false
      properties:
        value:
          description: An array of Disk pool objects.
          type: array
          items:
            $ref: '#/components/schemas/DiskPool'
        nextLink:
          description: URI to fetch the next section of the paginated response.
          type: string
          readOnly: true
    AvailabilityZone:
      type: string
      description: Availability zone.
    ProvisioningState:
      type: string
      enum:
      - Invalid
      - Succeeded
      - Failed
      - Canceled
      - Pending
      - Creating
      - Updating
      - Deleting
      x-ms-enum:
        name: ProvisioningStates
        modelAsString: true
      description: Provisioning state of the iSCSI Target.
      readOnly: true
    OutboundEnvironmentEndpointList:
      description: Collection of Outbound Environment Endpoints
      required:
      - value
      type: object
      properties:
        value:
          description: Collection of resources.
          type: array
          items:
            $ref: '#/components/schemas/OutboundEnvironmentEndpoint'
        nextLink:
          description: Link to next page of resources.
          type: string
          readOnly: true
  parameters:
    DiskPoolUpdate:
      name: diskPoolUpdatePayload
      required: true
      in: body
      description: Request payload for Disk Pool update operation.
      schema:
        $ref: '#/components/schemas/DiskPoolUpdate'
      x-ms-parameter-location: method
    DiskPoolName:
      name: diskPoolName
      in: path
      required: true
      description: The name of the Disk Pool.
      x-ms-parameter-location: method
      schema:
        type: string
    ResourceGroupNameParameter:
      name: resourceGroupName
      in: path
      required: true
      description: The name of the resource group. The name is case insensitive.
      x-ms-parameter-location: method
      schema:
        type: string
        maxLength: 90
        minLength: 1
        pattern: ^[-\w\._]*[0-9A-Za-z]$
    DiskPoolCreate:
      name: diskPoolCreatePayload
      required: true
      in: body
      description: Request payload for Disk Pool create operation
      schema:
        $ref: '#/components/schemas/DiskPoolCreate'
      x-ms-parameter-location: method
    SubscriptionIdParameter:
      name: subscriptionId
      in: path
      required: true
      description: The ID of the target subscription.
      schema:
        type: string
        minLength: 1
    ApiVersionParameter:
      name: api-version
      in: query
      required: true
      description: The API version to use for this operation.
      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