Microsoft Azure · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Microsoft Azure Desktop Virtualization API Client User…

7 actions 7 updates phrasing extends openapi/_superseded/microsoft-azure-user-session-api-openapi.yml
Generated by API Evangelist Written by API Evangelist tooling for Microsoft Azure's API. It is a proposal applied on top of the contract, not a document Microsoft Azure publishes.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 7

$.info
$.paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/userSessions'].get
$.paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}/userSessions/{userSessionId}'].get
$.paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}/userSessions/{userSessionId}'].delete
$.paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}/userSessions'].get
$.paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}/userSessions/{userSessionId}/disconnect'].post
$.paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}/userSessions/{userSessionId}/sendMessage'].post

OpenAPI Overlay

Raw ↑
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
  title: API Evangelist conversational phrasing for Microsoft Azure Desktop Virtualization API Client User…
  version: 1.0.0
extends: openapi/_superseded/microsoft-azure-user-session-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-10-01'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 6
- target: $.paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/userSessions'].get
  update:
    x-apievangelist-phrasing:
      intent: List user sessions across a host pool
      effect: read
      questions:
      - Who is currently signed in anywhere in my Azure Virtual Desktop host pool?
      - Can I filter the host pool's user sessions, for example by user principal name?
      instructions:
      - text: List user sessions in host pool {hostPoolName}.
        slots:
          hostPoolName: path.hostPoolName
      - text: List host pool {hostPoolName} user sessions matching filter {filter}.
        slots:
          hostPoolName: path.hostPoolName
          filter: query.$filter
      method: generated
      generated: '2026-10-01'
- target: $.paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}/userSessions/{userSessionId}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a virtual desktop user session
      effect: read
      questions:
      - What is the state of a specific user's session on a session host?
      - Can I look up one Azure Virtual Desktop session by its id?
      instructions:
      - text: Get user session {userSessionId} on session host {sessionHostName} in host pool {hostPoolName}.
        slots:
          userSessionId: path.userSessionId
          sessionHostName: path.sessionHostName
          hostPoolName: path.hostPoolName
      - text: Show the details of session {userSessionId} on host {sessionHostName}, pool {hostPoolName}.
        slots:
          userSessionId: path.userSessionId
          sessionHostName: path.sessionHostName
          hostPoolName: path.hostPoolName
      method: generated
      generated: '2026-10-01'
- target: $.paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}/userSessions/{userSessionId}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Log off and remove a virtual desktop user session
      effect: destructive
      questions:
      - How do I sign a user out and remove their session from a session host?
      - Can I force-remove a stuck Azure Virtual Desktop session?
      instructions:
      - text: Remove user session {userSessionId} from session host {sessionHostName} in host pool {hostPoolName}.
        slots:
          userSessionId: path.userSessionId
          sessionHostName: path.sessionHostName
          hostPoolName: path.hostPoolName
      - text: Force-remove session {userSessionId} on host {sessionHostName}, pool {hostPoolName}, with force set to {force}.
        slots:
          userSessionId: path.userSessionId
          sessionHostName: path.sessionHostName
          hostPoolName: path.hostPoolName
          force: query.force
      method: generated
      generated: '2026-10-01'
- target: $.paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}/userSessions'].get
  update:
    x-apievangelist-phrasing:
      intent: List user sessions on one session host
      effect: read
      questions:
      - Which users are connected to a particular session host right now?
      - Can I page through the sessions on a single virtual desktop host?
      instructions:
      - text: List user sessions on session host {sessionHostName} in host pool {hostPoolName}.
        slots:
          sessionHostName: path.sessionHostName
          hostPoolName: path.hostPoolName
      - text: Show {pageSize} sessions per page on host {sessionHostName} of pool {hostPoolName}.
        slots:
          pageSize: query.pageSize
          sessionHostName: path.sessionHostName
          hostPoolName: path.hostPoolName
      method: generated
      generated: '2026-10-01'
- target: $.paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}/userSessions/{userSessionId}/disconnect'].post
  update:
    x-apievangelist-phrasing:
      intent: Disconnect a virtual desktop user session
      effect: write
      questions:
      - How do I disconnect a user from their virtual desktop without logging them off?
      - Can I drop a user's remote connection but keep their session running?
      instructions:
      - text: Disconnect user session {userSessionId} on session host {sessionHostName} in host pool {hostPoolName}.
        slots:
          userSessionId: path.userSessionId
          sessionHostName: path.sessionHostName
          hostPoolName: path.hostPoolName
      - text: Drop the connection for session {userSessionId} on host {sessionHostName}, pool {hostPoolName}.
        slots:
          userSessionId: path.userSessionId
          sessionHostName: path.sessionHostName
          hostPoolName: path.hostPoolName
      method: generated
      generated: '2026-10-01'
- target: $.paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}/userSessions/{userSessionId}/sendMessage'].post
  update:
    x-apievangelist-phrasing:
      intent: Send a message to a virtual desktop user
      effect: write
      questions:
      - How do I warn a signed-in user that their session host is going down for maintenance?
      - Can I pop up a message with a title in someone's virtual desktop session?
      instructions:
      - text: Send message {messageBody} to user session {userSessionId} on host {sessionHostName} in pool {hostPoolName}.
        slots:
          messageBody: requestBody.messageBody
          userSessionId: path.userSessionId
          sessionHostName: path.sessionHostName
          hostPoolName: path.hostPoolName
      - text: Notify session {userSessionId} on {sessionHostName}, pool {hostPoolName}, with title {messageTitle} and text {messageBody}.
        slots:
          userSessionId: path.userSessionId
          sessionHostName: path.sessionHostName
          hostPoolName: path.hostPoolName
          messageTitle: requestBody.messageTitle
          messageBody: requestBody.messageBody
      method: generated
      generated: '2026-10-01'

Work with this as data

Every overlay 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 openapi overlays

4 MCP tools reach this
  • find_overlaysBrowse and filter every overlay in the catalog.
  • 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 overlay
curl "https://apis.io/api/v1/overlays/microsoft-azure-user-session-api-phrasing-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?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.