Microsoft Azure App Service Environments API Client

The Microsoft Azure App Service Environments API Client is a powerful tool that allows developers to interact with Azure App Service Environments programmatically. This API client enables users to perform a wide range of actions, such as deploying, scaling, and monitoring their applications within the Azure environment.

OpenAPI Specification

appserviceenvironments-api-client-openapi-original.yml Raw ↑
swagger: '2.0'
info:
  version: '2023-01-01'
  title: Microsoft Azure AppServiceEnvironments API Client
host: management.azure.com
schemes:
  - https
consumes:
  - application/json
produces:
  - application/json
paths:
  /subscriptions/{subscriptionId}/providers/Microsoft.Web/hostingEnvironments:
    get:
      tags:
        - AppServiceEnvironments
      summary: 'Microsoft Azure Get All App Service Environments For A Subscription'
      description: Description for Get all App Service Environments for a subscription.
      operationId: microsoftAzureAppserviceenvironmentsList
      parameters:
        - $ref: '#/parameters/subscriptionIdParameter'
        - $ref: '#/parameters/apiVersionParameter'
      responses:
        '200':
          description: OK
          schema:
            $ref: '#/definitions/AppServiceEnvironmentCollection'
        default:
          description: App Service error response.
          schema:
            $ref: ./CommonDefinitions.json#/definitions/DefaultErrorResponse
      x-ms-examples:
        Get all App Service Environments for a subscription.:
          $ref: ./examples/AppServiceEnvironments_List.json
      x-ms-pageable:
        nextLinkName: nextLink
  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments:
    get:
      tags:
        - AppServiceEnvironments
      summary: 'Microsoft Azure Get All App Service Environments In A Resource Group'
      description: Description for Get all App Service Environments in a resource group.
      operationId: microsoftAzureAppserviceenvironmentsListbyresourcegroup
      parameters:
        - $ref: '#/parameters/resourceGroupNameParameter'
        - $ref: '#/parameters/subscriptionIdParameter'
        - $ref: '#/parameters/apiVersionParameter'
      responses:
        '200':
          description: OK
          schema:
            $ref: '#/definitions/AppServiceEnvironmentCollection'
        default:
          description: App Service error response.
          schema:
            $ref: ./CommonDefinitions.json#/definitions/DefaultErrorResponse
      x-ms-examples:
        Get all App Service Environments in a resource group.:
          $ref: ./examples/AppServiceEnvironments_ListByResourceGroup.json
      x-ms-pageable:
        nextLinkName: nextLink
  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}:
    get:
      tags:
        - AppServiceEnvironments
      summary: 'Microsoft Azure Get The Properties Of An App Service Environment'
      description: Description for Get the properties of an App Service Environment.
      operationId: microsoftAzureAppserviceenvironmentsGet
      parameters:
        - $ref: '#/parameters/resourceGroupNameParameter'
        - name: name
          in: path
          description: Name of the App Service Environment.
          required: true
          type: string
        - $ref: '#/parameters/subscriptionIdParameter'
        - $ref: '#/parameters/apiVersionParameter'
      responses:
        '200':
          description: OK
          schema:
            $ref: '#/definitions/AppServiceEnvironmentResource'
        default:
          description: App Service error response.
          schema:
            $ref: ./CommonDefinitions.json#/definitions/DefaultErrorResponse
      x-ms-examples:
        Get the properties of an App Service Environment.:
          $ref: ./examples/AppServiceEnvironments_Get.json
    put:
      tags:
        - AppServiceEnvironments
      summary: 'Microsoft Azure Create Or Update An App Service Environment'
      description: Description for Create or update an App Service Environment.
      operationId: microsoftAzureAppserviceenvironmentsCreateorupdate
      parameters:
        - $ref: '#/parameters/resourceGroupNameParameter'
        - name: name
          in: path
          description: Name of the App Service Environment.
          required: true
          type: string
        - name: hostingEnvironmentEnvelope
          in: body
          description: Configuration details of the App Service Environment.
          required: true
          schema:
            $ref: '#/definitions/AppServiceEnvironmentResource'
        - $ref: '#/parameters/subscriptionIdParameter'
        - $ref: '#/parameters/apiVersionParameter'
      responses:
        '200':
          description: OK
          schema:
            $ref: '#/definitions/AppServiceEnvironmentResource'
        '201':
          description: Created
          schema:
            $ref: '#/definitions/AppServiceEnvironmentResource'
        '202':
          description: Operation is in progress.
          schema:
            $ref: '#/definitions/AppServiceEnvironmentResource'
          headers:
            location:
              description: Location header for asynchronous response.
              type: string
        default:
          description: App Service error response.
          schema:
            $ref: ./CommonDefinitions.json#/definitions/DefaultErrorResponse
      x-ms-examples:
        Create or update an App Service Environment.:
          $ref: ./examples/AppServiceEnvironments_CreateOrUpdate.json
      x-ms-long-running-operation: true
    delete:
      tags:
        - AppServiceEnvironments
      summary: 'Microsoft Azure Delete An App Service Environment'
      description: Description for Delete an App Service Environment.
      operationId: microsoftAzureAppserviceenvironmentsDelete
      parameters:
        - $ref: '#/parameters/resourceGroupNameParameter'
        - name: name
          in: path
          description: Name of the App Service Environment.
          required: true
          type: string
        - name: forceDelete
          in: query
          description: >-
            Specify <code>true</code> to force the deletion even if the App
            Service Environment contains resources. The default is
            <code>false</code>.
          type: boolean
        - $ref: '#/parameters/subscriptionIdParameter'
        - $ref: '#/parameters/apiVersionParameter'
      responses:
        '202':
          description: Operation is in progress.
        '204':
          description: App Service Environment does not exist
        default:
          description: App Service error response.
          schema:
            $ref: ./CommonDefinitions.json#/definitions/DefaultErrorResponse
      x-ms-examples:
        Delete an App Service Environment.:
          $ref: ./examples/AppServiceEnvironments_Delete.json
      x-ms-long-running-operation: true
    patch:
      tags:
        - AppServiceEnvironments
      summary: 'Microsoft Azure Create Or Update An App Service Environment'
      description: Description for Create or update an App Service Environment.
      operationId: microsoftAzureAppserviceenvironmentsUpdate
      parameters:
        - $ref: '#/parameters/resourceGroupNameParameter'
        - name: name
          in: path
          description: Name of the App Service Environment.
          required: true
          type: string
        - name: hostingEnvironmentEnvelope
          in: body
          description: Configuration details of the App Service Environment.
          required: true
          schema:
            $ref: '#/definitions/AppServiceEnvironmentPatchResource'
        - $ref: '#/parameters/subscriptionIdParameter'
        - $ref: '#/parameters/apiVersionParameter'
      responses:
        '200':
          description: OK
          schema:
            $ref: '#/definitions/AppServiceEnvironmentResource'
        '201':
          description: Created
          schema:
            $ref: '#/definitions/AppServiceEnvironmentResource'
        '202':
          description: Operation is in progress.
          schema:
            $ref: '#/definitions/AppServiceEnvironmentResource'
        default:
          description: App Service error response.
          schema:
            $ref: ./CommonDefinitions.json#/definitions/DefaultErrorResponse
      x-ms-examples:
        Create or update an App Service Environment.:
          $ref: ./examples/AppServiceEnvironments_Update.json
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/capacities/compute
  : get:
      tags:
        - AppServiceEnvironments
      summary: >-
        Microsoft Azure Get The Used, Available, And Total Worker Capacity An App Service Environment
      description: >-
        Description for Get the used, available, and total worker capacity an
        App Service Environment.
      operationId: microsoftAzureAppserviceenvironmentsListcapacities
      parameters:
        - $ref: '#/parameters/resourceGroupNameParameter'
        - name: name
          in: path
          description: Name of the App Service Environment.
          required: true
          type: string
        - $ref: '#/parameters/subscriptionIdParameter'
        - $ref: '#/parameters/apiVersionParameter'
      responses:
        '200':
          description: OK
          schema:
            $ref: '#/definitions/StampCapacityCollection'
        default:
          description: App Service error response.
          schema:
            $ref: ./CommonDefinitions.json#/definitions/DefaultErrorResponse
      x-ms-examples:
        Get the used, available, and total worker capacity an App Service Environment.:
          $ref: ./examples/AppServiceEnvironments_ListCapacities.json
      x-ms-pageable:
        nextLinkName: nextLink
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/capacities/virtualip
  : get:
      tags:
        - AppServiceEnvironments
      summary: 'Microsoft Azure Get Ip Addresses Assigned To An App Service Environment'
      description: Description for Get IP addresses assigned to an App Service Environment.
      operationId: microsoftAzureAppserviceenvironmentsGetvipinfo
      parameters:
        - $ref: '#/parameters/resourceGroupNameParameter'
        - name: name
          in: path
          description: Name of the App Service Environment.
          required: true
          type: string
        - $ref: '#/parameters/subscriptionIdParameter'
        - $ref: '#/parameters/apiVersionParameter'
      responses:
        '200':
          description: OK
          schema:
            $ref: '#/definitions/AddressResponse'
        default:
          description: App Service error response.
          schema:
            $ref: ./CommonDefinitions.json#/definitions/DefaultErrorResponse
      x-ms-examples:
        Get IP addresses assigned to an App Service Environment.:
          $ref: ./examples/AppServiceEnvironments_GetVipInfo.json
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/changeVirtualNetwork
  : post:
      tags:
        - AppServiceEnvironments
      summary: 'Microsoft Azure Move An App Service Environment To A Different Vnet'
      description: Description for Move an App Service Environment to a different VNET.
      operationId: microsoftAzureAppserviceenvironmentsChangevnet
      parameters:
        - $ref: '#/parameters/resourceGroupNameParameter'
        - name: name
          in: path
          description: Name of the App Service Environment.
          required: true
          type: string
        - name: vnetInfo
          in: body
          description: Details for the new virtual network.
          required: true
          schema:
            $ref: ./CommonDefinitions.json#/definitions/VirtualNetworkProfile
        - $ref: '#/parameters/subscriptionIdParameter'
        - $ref: '#/parameters/apiVersionParameter'
      responses:
        '200':
          description: OK.
          schema:
            $ref: ./CommonDefinitions.json#/definitions/WebAppCollection
        '202':
          description: Operation is in progress.
          schema:
            $ref: ./CommonDefinitions.json#/definitions/WebAppCollection
        default:
          description: App Service error response.
          schema:
            $ref: ./CommonDefinitions.json#/definitions/DefaultErrorResponse
      x-ms-examples:
        Move an App Service Environment to a different VNET.:
          $ref: ./examples/AppServiceEnvironments_ChangeVnet.json
      x-ms-long-running-operation: true
      x-ms-pageable:
        nextLinkName: nextLink
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/configurations/customdnssuffix
  : get:
      tags:
        - AppServiceEnvironments
      summary: Microsoft Azure Get Custom Dns Suffix Configuration Of An App Service Environment
      operationId: microsoftAzureAppserviceenvironmentsGetasecustomdnssuffixconfiguration
      parameters:
        - $ref: '#/parameters/resourceGroupNameParameter'
        - name: name
          in: path
          description: Name of the App Service Environment.
          required: true
          type: string
        - $ref: '#/parameters/subscriptionIdParameter'
        - $ref: '#/parameters/apiVersionParameter'
      responses:
        '200':
          description: OK.
          schema:
            $ref: ./CommonDefinitions.json#/definitions/CustomDnsSuffixConfiguration
        default:
          description: App Service error response.
          schema:
            $ref: ./CommonDefinitions.json#/definitions/DefaultErrorResponse
      x-ms-examples:
        Get ASE custom DNS suffix configuration:
          $ref: ./examples/GetAseCustomDnsSuffixConfiguration.json
      description: Needs a more full description created.
    put:
      tags:
        - AppServiceEnvironments
      summary: Microsoft Azure Update Custom Dns Suffix Configuration Of An App Service Environment
      operationId: >-
        microsoftAzureAppserviceenvironmentsUpdateasecustomdnssuffixconfiguration
      parameters:
        - $ref: '#/parameters/resourceGroupNameParameter'
        - name: name
          in: path
          description: Name of the App Service Environment.
          required: true
          type: string
        - name: customDnsSuffixConfiguration
          in: body
          required: true
          schema:
            $ref: ./CommonDefinitions.json#/definitions/CustomDnsSuffixConfiguration
        - $ref: '#/parameters/subscriptionIdParameter'
        - $ref: '#/parameters/apiVersionParameter'
      responses:
        '200':
          description: OK.
          schema:
            $ref: ./CommonDefinitions.json#/definitions/CustomDnsSuffixConfiguration
        default:
          description: App Service error response.
          schema:
            $ref: ./CommonDefinitions.json#/definitions/DefaultErrorResponse
      x-ms-examples:
        Update ASE custom DNS suffix configuration:
          $ref: ./examples/UpdateAseCustomDnsSuffixConfiguration.json
      description: Needs a more full description created.
    delete:
      tags:
        - AppServiceEnvironments
      summary: Microsoft Azure Delete Custom Dns Suffix Configuration Of An App Service Environment
      operationId: >-
        microsoftAzureAppserviceenvironmentsDeleteasecustomdnssuffixconfiguration
      parameters:
        - $ref: '#/parameters/resourceGroupNameParameter'
        - name: name
          in: path
          description: Name of the App Service Environment.
          required: true
          type: string
        - $ref: '#/parameters/subscriptionIdParameter'
        - $ref: '#/parameters/apiVersionParameter'
      responses:
        '200':
          description: OK.
          schema:
            type: object
        '204':
          description: No content.
          schema:
            type: object
        default:
          description: App Service error response.
          schema:
            $ref: ./CommonDefinitions.json#/definitions/DefaultErrorResponse
      x-ms-examples:
        Delete ASE custom DNS suffix configuration:
          $ref: ./examples/DeleteAseCustomDnsSuffixConfiguration.json
      description: Needs a more full description created.
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/configurations/networking
  : get:
      tags:
        - AppServiceEnvironments
      summary: Microsoft Azure Get Networking Configuration Of An App Service Environment
      description: >-
        Description for Get networking configuration of an App Service
        Environment
      operationId: microsoftAzureAppserviceenvironmentsGetasev3networkingconfiguration
      parameters:
        - $ref: '#/parameters/resourceGroupNameParameter'
        - name: name
          in: path
          description: Name of the App Service Environment.
          required: true
          type: string
        - $ref: '#/parameters/subscriptionIdParameter'
        - $ref: '#/parameters/apiVersionParameter'
      responses:
        '200':
          description: OK.
          schema:
            $ref: ./CommonDefinitions.json#/definitions/AseV3NetworkingConfiguration
        default:
          description: App Service error response.
          schema:
            $ref: ./CommonDefinitions.json#/definitions/DefaultErrorResponse
      x-ms-examples:
        Get networking configuration of an App Service Environment.:
          $ref: >-
            ./examples/AppServiceEnvironments_GetAseV3NetworkingConfiguration.json
    put:
      tags:
        - AppServiceEnvironments
      summary: Microsoft Azure Update Networking Configuration Of An App Service Environment
      description: >-
        Description for Update networking configuration of an App Service
        Environment
      operationId: microsoftAzureAppserviceenvironmentsUpdateasenetworkingconfiguration
      parameters:
        - $ref: '#/parameters/resourceGroupNameParameter'
        - name: name
          in: path
          description: Name of the App Service Environment.
          required: true
          type: string
        - name: aseNetworkingConfiguration
          in: body
          required: true
          schema:
            $ref: ./CommonDefinitions.json#/definitions/AseV3NetworkingConfiguration
        - $ref: '#/parameters/subscriptionIdParameter'
        - $ref: '#/parameters/apiVersionParameter'
      responses:
        '200':
          description: OK.
          schema:
            $ref: ./CommonDefinitions.json#/definitions/AseV3NetworkingConfiguration
        default:
          description: App Service error response.
          schema:
            $ref: ./CommonDefinitions.json#/definitions/DefaultErrorResponse
      x-ms-examples:
        Update networking configuration of an App Service Environment.:
          $ref: >-
            ./examples/AppServiceEnvironments_UpdateAseNetworkingConfiguration.json
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/diagnostics
  : get:
      tags:
        - AppServiceEnvironments
      summary: 'Microsoft Azure Get Diagnostic Information For An App Service Environment'
      description: >-
        Description for Get diagnostic information for an App Service
        Environment.
      operationId: microsoftAzureAppserviceenvironmentsListdiagnostics
      parameters:
        - $ref: '#/parameters/resourceGroupNameParameter'
        - name: name
          in: path
          description: Name of the App Service Environment.
          required: true
          type: string
        - $ref: '#/parameters/subscriptionIdParameter'
        - $ref: '#/parameters/apiVersionParameter'
      responses:
        '200':
          description: OK
          schema:
            type: array
            items:
              $ref: '#/definitions/HostingEnvironmentDiagnostics'
        default:
          description: App Service error response.
          schema:
            $ref: ./CommonDefinitions.json#/definitions/DefaultErrorResponse
      x-ms-examples:
        Get diagnostic information for an App Service Environment.:
          $ref: ./examples/AppServiceEnvironments_ListDiagnostics.json
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/diagnostics/{diagnosticsName}
  : get:
      tags:
        - AppServiceEnvironments
      summary: 'Microsoft Azure Get A Diagnostics Item For An App Service Environment'
      description: Description for Get a diagnostics item for an App Service Environment.
      operationId: microsoftAzureAppserviceenvironmentsGetdiagnosticsitem
      parameters:
        - $ref: '#/parameters/resourceGroupNameParameter'
        - name: name
          in: path
          description: Name of the App Service Environment.
          required: true
          type: string
        - name: diagnosticsName
          in: path
          description: Name of the diagnostics item.
          required: true
          type: string
        - $ref: '#/parameters/subscriptionIdParameter'
        - $ref: '#/parameters/apiVersionParameter'
      responses:
        '200':
          description: OK
          schema:
            $ref: '#/definitions/HostingEnvironmentDiagnostics'
        default:
          description: App Service error response.
          schema:
            $ref: ./CommonDefinitions.json#/definitions/DefaultErrorResponse
      x-ms-examples:
        Get a diagnostics item for an App Service Environment.:
          $ref: ./examples/AppServiceEnvironments_GetDiagnosticsItem.json
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/inboundNetworkDependenciesEndpoints
  : get:
      tags:
        - AppServiceEnvironments
      summary: >-
        Microsoft Azure Get The Network Endpoints Of All Inbound Dependencies Of An App Service Environment
      description: >-
        Description for Get the network endpoints of all inbound dependencies of
        an App Service Environment.
      operationId: >-
        microsoftAzureAppserviceenvironmentsGetinboundnetworkdependenciesendpoints
      parameters:
        - $ref: '#/parameters/resourceGroupNameParameter'
        - name: name
          in: path
          description: Name of the App Service Environment.
          required: true
          type: string
        - $ref: '#/parameters/subscriptionIdParameter'
        - $ref: '#/parameters/apiVersionParameter'
      responses:
        '200':
          description: OK
          schema:
            $ref: '#/definitions/InboundEnvironmentEndpointCollection'
        default:
          description: App Service error response.
          schema:
            $ref: ./CommonDefinitions.json#/definitions/DefaultErrorResponse
      x-ms-examples:
        Get the network endpoints of all inbound dependencies of an App Service Environment.:
          $ref: ./examples/GetInboundNetworkDependenciesEndpoints.json
      x-ms-pageable:
        nextLinkName: nextLink
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools
  : get:
      tags:
        - AppServiceEnvironments
      summary: 'Microsoft Azure Get All Multi Role Pools'
      description: Description for Get all multi-role pools.
      operationId: microsoftAzureAppserviceenvironmentsListmultirolepools
      parameters:
        - $ref: '#/parameters/resourceGroupNameParameter'
        - name: name
          in: path
          description: Name of the App Service Environment.
          required: true
          type: string
        - $ref: '#/parameters/subscriptionIdParameter'
        - $ref: '#/parameters/apiVersionParameter'
      responses:
        '200':
          description: OK
          schema:
            $ref: '#/definitions/WorkerPoolCollection'
        default:
          description: App Service error response.
          schema:
            $ref: ./CommonDefinitions.json#/definitions/DefaultErrorResponse
      x-ms-examples:
        Get all multi-role pools.:
          $ref: ./examples/AppServiceEnvironments_ListMultiRolePools.json
      x-ms-pageable:
        nextLinkName: nextLink
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools/default
  : get:
      tags:
        - AppServiceEnvironments
      summary: 'Microsoft Azure Get Properties Of A Multi Role Pool'
      description: Description for Get properties of a multi-role pool.
      operationId: microsoftAzureAppserviceenvironmentsGetmultirolepool
      parameters:
        - $ref: '#/parameters/resourceGroupNameParameter'
        - name: name
          in: path
          description: Name of the App Service Environment.
          required: true
          type: string
        - $ref: '#/parameters/subscriptionIdParameter'
        - $ref: '#/parameters/apiVersionParameter'
      responses:
        '200':
          description: OK
          schema:
            $ref: '#/definitions/WorkerPoolResource'
        default:
          description: App Service error response.
          schema:
            $ref: ./CommonDefinitions.json#/definitions/DefaultErrorResponse
      x-ms-examples:
        Get properties of a multi-role pool.:
          $ref: ./examples/AppServiceEnvironments_GetMultiRolePool.json
    put:
      tags:
        - AppServiceEnvironments
      summary: 'Microsoft Azure Create Or Update A Multi Role Pool'
      description: Description for Create or update a multi-role pool.
      operationId: microsoftAzureAppserviceenvironmentsCreateorupdatemultirolepool
      parameters:
        - $ref: '#/parameters/resourceGroupNameParameter'
        - name: name
          in: path
          description: Name of the App Service Environment.
          required: true
          type: string
        - name: multiRolePoolEnvelope
          in: body
          description: Properties of the multi-role pool.
          required: true
          schema:
            $ref: '#/definitions/WorkerPoolResource'
        - $ref: '#/parameters/subscriptionIdParameter'
        - $ref: '#/parameters/apiVersionParameter'
      responses:
        '200':
          description: OK.
          schema:
            $ref: '#/definitions/WorkerPoolResource'
        '202':
          description: Operation is in progress.
          schema:
            $ref: '#/definitions/WorkerPoolResource'
        default:
          description: App Service error response.
          schema:
            $ref: ./CommonDefinitions.json#/definitions/DefaultErrorResponse
      x-ms-examples:
        Create or update a multi-role pool.:
          $ref: ./examples/AppServiceEnvironments_CreateOrUpdateMultiRolePool.json
      x-ms-long-running-operation: true
    patch:
      tags:
        - AppServiceEnvironments
      summary: 'Microsoft Azure Create Or Update A Multi Role Pool'
      description: Description for Create or update a multi-role pool.
      operationId: microsoftAzureAppserviceenvironmentsUpdatemultirolepool
      parameters:
        - $ref: '#/parameters/resourceGroupNameParameter'
        - name: name
          in: path
          description: Name of the App Service Environment.
          required: true
          type: string
        - name: multiRolePoolEnvelope
          in: body
          description: Properties of the multi-role pool.
          required: true
          schema:
            $ref: '#/definitions/WorkerPoolResource'
        - $ref: '#/parameters/subscriptionIdParameter'
        - $ref: '#/parameters/apiVersionParameter'
      responses:
        '200':
          description: OK.
          schema:
            $ref: '#/definitions/WorkerPoolResource'
        '202':
          description: Operation is in progress.
          schema:
            $ref: '#/definitions/WorkerPoolResource'
        default:
          description: App Service error response.
          schema:
            $ref: ./CommonDefinitions.json#/definitions/DefaultErrorResponse
      x-ms-examples:
        Create or update a multi-role pool.:
          $ref: ./examples/AppServiceEnvironments_CreateOrUpdateMultiRolePool.json
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools/default/instances/{instance}/metricdefinitions
  : get:
      tags:
        - AppServiceEnvironments
      summary: >-
        Microsoft Azure Get Metric Definitions For A Specific Instance Of A Multi Role Pool Of An App Service Environment
      description: >-
        Description for Get metric definitions for a specific instance of a
        multi-role pool of an App Service Environment.
      operationId: >-
        microsoftAzureAppserviceenvironmentsListmultirolepoolinstancemetricdefinitions
      parameters:
        - $ref: '#/parameters/resourceGroupNameParameter'
        - name: name
          in: path
          description: Name of the App Service Environment.
          required: true
          type: string
        - name: instance
          in: path
          description: Name of the instance in the multi-role pool.
          required: true
          type: string
        - $ref: '#/parameters/subscriptionIdParameter'
        - $ref: '#/parameters/apiVersionParameter'
      responses:
        '200':
          description: OK
          schema:
            $ref: '#/definitions/ResourceMetricDefinitionCollection'
        default:
          description: App Service error response.
          schema:
            $ref: ./CommonDefinitions.json#/definitions/DefaultErrorResponse
      x-ms-examples:
        Get metric definitions for a specific instance of a multi-role pool of an App Service Environment.:
          $ref: >-
            ./examples/AppServiceEnvironments_ListMultiRolePoolInstanceMetricDefinitions.json
      x-ms-pageable:
        nextLinkName: nextLink
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools/default/metricdefinitions
  : get:
      tags:
        - AppServiceEnvironments
      summary: >-
        Microsoft Azure Get Metric Definitions For A Multi Role Pool Of An App Service Environment
      description: >-
        Description for Get metric definitions for a multi-role pool of an App
        Service Environment.
      operationId: microsoftAzureAppserviceenvironmentsListmultirolemetricdefinitions
      parameters:
        - $ref: '#/parameters/resourceGroupNameParameter'
        - name: name
          in: path
          description: Name of the App Service Environment.
          required: true
          type: string
        - $ref: '#/parameters/subscriptionIdParameter'
        - $ref: '#/parameters/apiVersionParameter'
      responses:
        '200':
          description: OK
          schema:
            $ref: '#/definitions/ResourceMetricDefinitionCollection'
        default:
          description: App Service error response.
          schema:
            $ref: ./CommonDefinitions.json#/definitions/DefaultErrorResponse
      x-ms-examples:
        Get metric definitions for a multi-role pool of an App Service Environment.:
          $ref: >-
            ./examples/AppServiceEnvironments_ListMultiRoleMetricDefinitions.json
      x-ms-pageable:
        nextLinkName: nextLink
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools/default/skus
  : get:
      tags:
        - AppServiceEnvironments
      summary: 'Microsoft Azure Get Available Skus For Scaling A Multi Role Pool'
      description: Description for Get available SKUs for scaling a multi-role pool.
      operationId: microsoftAzureAppserviceenvironmentsListmultirolepoolskus
      parameters:
        - $ref: '#/parameters/resourceGroupNameParameter'
        - name: name
          in: path
          description: Name of the App Service Environment.
          required: true
          type: string
        - $ref: '#/parameters/subscriptionIdParameter'
        - $ref: '#/parameters/apiVersionParameter'
      responses:
        '200':
          description: OK
          schema:
            $ref: '#/definitions/SkuInfoCollection'
        default:
          description: App Service error response.
          schema:
            $ref: ./CommonDefinitions.json#/definitions/DefaultErrorResponse
      x-ms-examples:
        Get available SKUs for scaling a multi-role pool.:
          $ref: ./examples/AppServiceEnvironments_ListMultiRolePoolSkus.json
      x-ms-pageable:
        nextLinkName: nextLink
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupNam

# --- truncated at 32 KB (82 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/microsoft-azure/refs/heads/main/openapi/appserviceenvironments-api-client-openapi-original.yml