Microsoft Azure Session Host Configurations API

The SessionHostConfigurations API from Microsoft Azure, for sessionhostconfigurations.

GitHub OpenAPI

Operations 2

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.DesktopVirtualization/hostPools/{hostPoolName}/sessionHostConfigurations/default/operationStatuses/{operationId} Get a session host management operation status · Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“How do I track one session host configuration operation on a host pool?”
“Did a specific session host management operation finish successfully?”
Tell an agent
Get status of operation {operationId} on host pool {hostPoolName}'s session host configuration.
Check whether session host operation {operationId} in pool {hostPoolName} succeeded.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHostConfigurations/default/operationStatuses List session host configuration operations · Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“Which session host configuration operations have run on my host pool?”
“Can I list only the latest or still-running configuration operations?”
Tell an agent
List session host configuration operations for host pool {hostPoolName}.
Show only in-progress configuration operations for pool {hostPoolName}: isNonTerminal={isNonTerminal}.

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-sessionhostconfigurations-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-sessionhostconfigurations-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: 2023-11-01-preview
  title: Microsoft Azure Desktop Virtualization API Client Session…
servers:
- url: https://management.azure.com
tags:
- name: SessionHostConfigurations
paths:
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHostConfigurations/default/operationStatuses/{operationId}
  : get:
      tags:
      - SessionHostConfigurations
      operationId: microsoftAzureSessionhostconfigurationsoperationstatusGet
      description: Get Operation status for SessionHostManagement
      x-ms-examples:
        SessionHostConfigurationsOperationStatus_Get:
          $ref: ./examples/SessionHostConfigurationsOperationStatus_Get.json
      parameters:
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter
      - $ref: '#/components/parameters/HostPoolNameParameter'
      - $ref: '#/components/parameters/OperationIdParameter'
      responses:
        '200':
          description: Successfully retrieved operation status.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SessionHostConfigurationOperationStatus'
        default:
          description: Automation error response describing why the operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CloudError'
      summary: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups…
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHostConfigurations/default/operationStatuses
  : get:
      tags:
      - SessionHostConfigurations
      operationId: microsoftAzureSessionhostconfigurationsoperationstatusList
      description: Get Operation status for SessionHostConfiguration
      x-ms-examples:
        SessionHostConfigurationsOperationStatus_List:
          $ref: ./examples/SessionHostConfigurationsOperationStatus_List.json
      parameters:
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter
      - $ref: '#/components/parameters/HostPoolNameParameter'
      - name: isLatest
        in: query
        required: false
        description: Returns the most recent sessionHostConfiguration operation.
        schema:
          type: boolean
      - name: isNonTerminal
        in: query
        required: false
        description: Returns currently running operations. Ignored if 'isLatest' is true
        schema:
          type: boolean
      responses:
        '200':
          description: Successfully retrieved operation status.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SessionHostConfigurationOperationStatusList'
        default:
          description: Automation error response describing why the operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CloudError'
      x-ms-pageable:
        nextLinkName: nextLink
      summary: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups…
components:
  schemas:
    SessionHostConfigurationOperationStatusList:
      type: object
      title: OperationStatusList
      description: List of OperationStatus definitions.
      properties:
        value:
          type: array
          description: List of OperationStatus definitions.
          items:
            $ref: '#/components/schemas/SessionHostConfigurationOperationStatus'
        nextLink:
          type: string
          readOnly: true
          description: Link to the next page of results.
    CloudErrorProperties:
      description: Cloud error object properties.
      type: object
      properties:
        code:
          description: Error code
          type: string
        message:
          description: Error message indicating why the operation failed.
          type: string
    CloudError:
      description: Cloud error object.
      type: object
      x-ms-external: true
      properties:
        error:
          $ref: '#/components/schemas/CloudErrorProperties'
    SessionHostConfigurationOperationStatus:
      description: The current status of an async operation.
      type: object
      required:
      - status
      properties:
        id:
          description: Fully qualified ID for the async operation.
          type: string
        name:
          description: Name of the async operation.
          type: string
        status:
          description: Operation status. Current defined values are <UpdateFailed | Paused | Pausing | Cancelling | InProgress | Succeeded | Failed | Canceled>
          type: string
        percentComplete:
          description: Percent of the operation that is complete.
          type: number
          minimum: 0
          maximum: 100
        startTime:
          description: The start time of the operation.
          type: string
          format: date-time
        endTime:
          description: The end time of the operation.
          type: string
          format: date-time
        operations:
          description: The operations list.
          type: array
          items:
            $ref: '#/components/schemas/SessionHostConfigurationOperationStatus'
        error:
          description: If present, details of the operation error.
          $ref: ../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorDetail
  parameters:
    HostPoolNameParameter:
      name: hostPoolName
      in: path
      required: true
      description: The name of the host pool within the specified resource group
      x-ms-parameter-location: method
      schema:
        type: string
        maxLength: 64
        minLength: 3
    OperationIdParameter:
      name: operationId
      in: path
      required: true
      description: The Guid of the operation.
      x-ms-parameter-location: method
      schema:
        type: string
        maxLength: 36
        minLength: 36
  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