Microsoft Azure Session Host Configuration API

The SessionHostConfiguration API from Microsoft Azure, for sessionhostconfiguration.

GitHub OpenAPI
Business capability
IT Infrastructure Management BC-600.50

Operations 4

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

PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHostConfigurations/default Create or replace a session host configuration · Microsoft Azure Put Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“How do I define the session host configuration for a new host pool?”
“Can I replace a host pool's whole session host configuration at once?”
Tell an agent
Create the session host configuration for host pool {hostPoolName} with {properties}.
Replace the full session host config of {hostPoolName}.
PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHostConfigurations/default Update a session host configuration · Microsoft Azure Patch Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“Can I change just a few settings of a host pool's session host configuration?”
“How do I patch the VM size or image used for session hosts?”
Tell an agent
Update the session host configuration of host pool {hostPoolName} with {properties}.
Patch selected session host settings in {hostPoolName}.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHostConfigurations/default Get a host pool's session host configuration · Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“What VM settings does my Azure Virtual Desktop host pool use for new session hosts?”
“What's in the current session host configuration of a host pool?”
Tell an agent
Get the session host configuration of host pool {hostPoolName}.
Show the current VM template settings for session hosts in {hostPoolName}.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHostConfigurations List session host configurations for a pool · Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“Which session host configurations are attached to my host pool?”
“Can I list all session host configurations in a host pool?”
Tell an agent
List session host configurations for host pool {hostPoolName}.
Show every session host config record in {hostPoolName}.

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-sessionhostconfiguration-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-sessionhostconfiguration-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: SessionHostConfiguration
paths:
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHostConfigurations/default
  : put:
      tags:
      - SessionHostConfiguration
      operationId: microsoftAzureSessionhostconfigurationsCreateorupdate
      description: Create or update a SessionHostConfiguration.
      x-ms-examples:
        SessionHostConfigurations_Create:
          $ref: ./examples/SessionHostConfigurations_Create.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'
      responses:
        '200':
          description: Successfully initiated SessionHostConfiguration Update validation.
          headers:
            Azure-AsyncOperation:
              description: The URL of the resource used to check the status of the asynchronous operation.
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SessionHostConfiguration'
        '201':
          description: Successfully created Session Host Configuration.
          headers:
            Azure-AsyncOperation:
              description: The URL of the resource used to check the status of the asynchronous operation.
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SessionHostConfiguration'
        default:
          description: Automation 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
      summary: Microsoft Azure Put Subscriptions Subscriptionid Resourcegroups…
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SessionHostConfiguration'
        description: Object containing SessionHostConfiguration definitions.
        required: true
    patch:
      tags:
      - SessionHostConfiguration
      operationId: microsoftAzureSessionhostconfigurationsUpdate
      description: Update a SessionHostConfiguration.
      x-ms-examples:
        SessionHostConfigurations_Update:
          $ref: ./examples/SessionHostConfigurations_Update.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'
      responses:
        '200':
          description: Successfully created SessionHostConfiguration.
          headers:
            Azure-AsyncOperation:
              description: The URL of the resource used to check the status of the asynchronous operation.
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SessionHostConfiguration'
        '202':
          description: Successfully created SessionHostConfiguration.
          headers:
            Location:
              description: The URL of the resource used to check the status of the asynchronous operation.
              schema:
                type: string
            Azure-AsyncOperation:
              description: The URL of the resource used to check the status of the asynchronous operation.
              schema:
                type: string
            Retry-After:
              description: Suggested delay to check the status of the asynchronous operation. The value is an integer that represents the seconds.
              schema:
                type: integer
                format: int32
        default:
          description: Automation 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: location
      summary: Microsoft Azure Patch Subscriptions Subscriptionid Resourcegroups…
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SessionHostConfigurationPatch'
        description: Object containing SessionHostConfiguration definitions.
    get:
      tags:
      - SessionHostConfiguration
      operationId: microsoftAzureSessionhostconfigurationsGet
      description: Get a SessionHostConfiguration.
      x-ms-examples:
        SessionHostConfigurations_Get:
          $ref: ./examples/SessionHostConfigurations_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'
      responses:
        '200':
          description: Successfully retrieved sessionHostConfiguration.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SessionHostConfiguration'
        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
  : get:
      tags:
      - SessionHostConfiguration
      operationId: microsoftAzureSessionhostconfigurationsListbyhostpool
      description: List sessionHostConfigurations.
      x-ms-examples:
        SessionHostConfigurations_ListByHostPool:
          $ref: ./examples/SessionHostConfigurations_ListByHostPool.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'
      responses:
        '200':
          description: Successfully retrieved sessionHostConfigurations in HostPool.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SessionHostConfigurationList'
        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:
    SessionHostConfiguration:
      type: object
      description: Represents a SessionHostConfiguration definition.
      allOf:
      - $ref: ../../../../../common-types/resource-management/v1/types.json#/definitions/Resource
      required:
      - properties
      properties:
        systemData:
          $ref: ../../../../../common-types/resource-management/v2/types.json#/definitions/systemData
          description: Metadata pertaining to creation and last modification of the resource.
        properties:
          description: Detailed properties for SessionHostConfiguration
          x-ms-client-flatten: true
          $ref: '#/components/schemas/SessionHostConfigurationProperties'
    CloudError:
      description: Cloud error object.
      type: object
      x-ms-external: true
      properties:
        error:
          $ref: '#/components/schemas/CloudErrorProperties'
    ImageInfoPatchProperties:
      description: Image configurations of session host in a HostPool.
      type: object
      properties:
        type:
          enum:
          - Marketplace
          - Custom
          x-ms-enum:
            name: type
            modelAsString: true
            values:
            - value: Marketplace
              description: Using default marketplace images offered by Azure Marketplace.
            - value: Custom
              description: Using a custom image.
          type: string
          description: The type of image session hosts use in the hostpool.
        marketplaceInfo:
          $ref: '#/components/schemas/MarketplaceInfoPatchProperties'
          description: The values to uniquely identify a marketplace image. Only one should be populated based on the image type.
        customInfo:
          $ref: '#/components/schemas/CustomInfoPatchProperties'
          description: The values to uniquely identify a custom image. Only one should be populated based on the image type.
    BootDiagnosticsInfoProperties:
      type: object
      properties:
        enabled:
          type: boolean
          description: Whether boot diagnostics should be enabled on the Virtual Machine.
        storageUri:
          type: string
          description: Uri of the storage account to use for placing the console output and screenshot. <br><br>If storageUri is not specified while enabling boot diagnostics, managed storage will be used.
      description: Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status. <br><br> You can easily view the output of your console log. <br><br> Azure also enables you to see a screenshot of the VM from the hypervisor.
    DomainInfoProperties:
      description: Domain configurations of session hosts.
      type: object
      required:
      - joinType
      properties:
        joinType:
          enum:
          - ActiveDirectory
          - AzureActiveDirectory
          x-ms-enum:
            name: DomainJoinType
            modelAsString: true
            values:
            - value: ActiveDirectory
              description: Using microsoft active directory.
            - value: AzureActiveDirectory
              description: Using microsoft azure active directory.
          type: string
          description: The type of domain join done by the virtual machine.
        activeDirectoryInfo:
          $ref: '#/components/schemas/ActiveDirectoryInfoProperties'
          description: Active directory info. Only one should be populated based on the join type.
        azureActiveDirectoryInfo:
          $ref: '#/components/schemas/AzureActiveDirectoryInfoProperties'
          description: Azure active directory info. Only one should be populated based on the join type.
    ActiveDirectoryInfoPatchProperties:
      description: Active directory info. Only one should be populated based on the join type.
      type: object
      properties:
        domainCredentials:
          $ref: '#/components/schemas/KeyVaultCredentialsPatchProperties'
          description: Credentials needed to create the virtual machine.
    MarketplaceInfoPatchProperties:
      description: Marketplace image information.
      type: object
      properties:
        offer:
          type: string
          description: The offer of the image.
        publisher:
          type: string
          description: The publisher of the image.
        sku:
          type: string
          description: The sku of the image.
        exactVersion:
          type: string
          description: The exact version of the image.
    CustomInfoPatchProperties:
      description: Custom image information.
      type: object
      properties:
        resourceId:
          type: string
          format: arm-id
          description: The resource id of the custom image.
    AzureActiveDirectoryInfoProperties:
      description: Azure Active directory info. Only one should be populated based on the join type.
      type: object
      required:
      - mdmProviderGuid
      properties:
        mdmProviderGuid:
          type: string
          description: The mdm guid.
    ImageInfoProperties:
      description: Image configurations of session host in a HostPool.
      type: object
      required:
      - type
      properties:
        type:
          enum:
          - Marketplace
          - Custom
          x-ms-enum:
            name: type
            modelAsString: true
            values:
            - value: Marketplace
              description: Using default marketplace images offered by Azure Marketplace.
            - value: Custom
              description: Using a custom image.
          type: string
          description: The type of image session hosts use in the hostpool.
        marketplaceInfo:
          $ref: '#/components/schemas/MarketplaceInfoProperties'
          description: The values to uniquely identify a marketplace image. Only one should be populated based on the image type.
        customInfo:
          $ref: '#/components/schemas/CustomInfoProperties'
          description: The values to uniquely identify a custom image. Only one should be populated based on the image type.
    NetworkInfoProperties:
      description: Network information.
      type: object
      required:
      - subnetId
      properties:
        subnetId:
          type: string
          description: The resource ID of the subnet.
        securityGroupId:
          type: string
          description: The resource ID of the security group. Any allowable/open ports should be specified in the NSG.
    DiskInfoProperties:
      description: Disk information.
      type: object
      required:
      - type
      properties:
        type:
          type: string
          enum:
          - Standard_LRS
          - Premium_LRS
          - StandardSSD_LRS
          x-ms-enum:
            name: VirtualMachineDiskType
            modelAsString: true
            values:
            - value: Standard_LRS
              description: Standard HDD locally redundant storage. Best for backup, non-critical, and infrequent access.
            - value: Premium_LRS
              description: Premium SSD locally redundant storage. Best for production and performance sensitive workloads.
            - value: StandardSSD_LRS
              description: Standard SSD locally redundant storage. Best for web servers, lightly used enterprise applications and dev/test.
          description: The disk type used by virtual machine in hostpool session host.
    SessionHostConfigurationProperties:
      description: Session host configurations of HostPool.
      type: object
      required:
      - vmNamePrefix
      - networkInfo
      - vmSizeId
      - diskInfo
      - imageInfo
      - domainInfo
      - vmAdminCredentials
      properties:
        version:
          format: date-time
          type: string
          description: The timestamp of the last update.
          readOnly: true
        friendlyName:
          type: string
          description: Friendly name to describe this version of the SessionHostConfiguration.
          maxLength: 260
        provisioningState:
          description: Provisioning state of the Session Host Configuration.
          enum:
          - Succeeded
          - Failed
          - Canceled
          - Provisioning
          type: string
          readOnly: true
          x-ms-enum:
            name: ProvisioningStateSHC
            modelAsString: true
        vmTags:
          type: object
          additionalProperties:
            type: string
          description: Hashtable that lists key/value pair tags to apply to the VMs
        vmLocation:
          type: string
          description: The Location for the session host to be created in. It will default to the location of the hostpool if not provided.
        vmResourceGroup:
          type: string
          description: The ResourceGroup for the session hosts to be created in. It will default to the ResourceGroup of the hostpool if not provided.
        vmNamePrefix:
          type: string
          description: The prefix that should be associated with session host names
          maxLength: 11
        availabilityZones:
          type: array
          items:
            type: integer
            format: int32
          description: Value for availability zones to be used by the session host. Should be from [1,2,3].
        networkInfo:
          $ref: '#/components/schemas/NetworkInfoProperties'
          description: Network information.
        vmSizeId:
          type: string
          description: The id of the size of a virtual machine connected to a hostpool.
        diskInfo:
          $ref: '#/components/schemas/DiskInfoProperties'
          description: Disk information.
        customConfigurationScriptUrl:
          type: string
          description: The uri to the storage blob containing the arm template to be run on the virtual machine after provisioning.
        imageInfo:
          $ref: '#/components/schemas/ImageInfoProperties'
          description: Image configurations of HostPool.
        domainInfo:
          $ref: '#/components/schemas/DomainInfoProperties'
          description: Domain configurations of session hosts.
        securityInfo:
          $ref: '#/components/schemas/SecurityInfoProperties'
          description: Security information.
        vmAdminCredentials:
          $ref: '#/components/schemas/KeyVaultCredentialsProperties'
          description: Local Admin credentials for session hosts.
        bootDiagnosticsInfo:
          $ref: '#/components/schemas/BootDiagnosticsInfoProperties'
          description: Boot Diagnostics information.
    KeyVaultCredentialsPatchProperties:
      description: Credentials kept in the keyvault.
      type: object
      properties:
        usernameKeyVaultSecretUri:
          type: string
          description: The uri to access the secret that the username is stored in.
        passwordKeyVaultSecretUri:
          type: string
          description: The uri to access the secret that the password is stored in.
    SessionHostConfigurationPatch:
      type: object
      description: Represents a SessionHostConfigurationPatch definition.
      properties:
        properties:
          description: Detailed properties for SessionHostConfigurationPatch
          x-ms-client-flatten: true
          $ref: '#/components/schemas/SessionHostConfigurationPatchProperties'
    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
    SecurityInfoPatchProperties:
      description: Security information.
      type: object
      properties:
        type:
          type: string
          enum:
          - Standard
          - TrustedLaunch
          - ConfidentialVM
          x-ms-enum:
            name: VirtualMachineSecurityType
            modelAsString: true
            values:
            - value: Standard
              description: Standard security protocol. No additional parameters
            - value: TrustedLaunch
              description: TrustedLaunch allows for secure boot adn vTPM
            - value: ConfidentialVM
              description: Confidential Virtual Machine security protocol
          description: The security type used by virtual machine in hostpool session host.
        secureBootEnabled:
          type: boolean
          description: Whether to use secureBoot on the virtual machine.
        vTpmEnabled:
          type: boolean
          description: Whether to use vTPM on the virtual machine.
    BootDiagnosticsInfoPatchProperties:
      type: object
      properties:
        enabled:
          type: boolean
          description: Whether boot diagnostics should be enabled on the Virtual Machine.
        storageUri:
          type: string
          description: Uri of the storage account to use for placing the console output and screenshot. <br><br>If storageUri is not specified while enabling boot diagnostics, managed storage will be used.
      description: Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status. <br><br> You can easily view the output of your console log. <br><br> Azure also enables you to see a screenshot of the VM from the hypervisor.
    ActiveDirectoryInfoProperties:
      description: Active directory info. Only one should be populated based on the join type.
      type: object
      required:
      - domainCredentials
      - ouPath
      properties:
        domainCredentials:
          $ref: '#/components/schemas/KeyVaultCredentialsProperties'
          description: Credentials needed to create the virtual machine.
        ouPath:
          type: string
          description: The ou path.
        domainName:
          type: string
          description: The domain a virtual machine connected to a hostpool will join.
    KeyVaultCredentialsProperties:
      description: Credentials kept in the keyvault.
      type: object
      required:
      - usernameKeyVaultSecretUri
      - passwordKeyVaultSecretUri
      properties:
        usernameKeyVaultSecretUri:
          type: string
          description: The uri to access the secret that the username is stored in.
        passwordKeyVaultSecretUri:
          type: string
          description: The uri to access the secret that the password is stored in.
    SessionHostConfigurationPatchProperties:
      description: Session host configurations of HostPool.
      type: object
      properties:
        friendlyName:
          type: string
          description: Friendly name to describe this version of the SessionHostConfiguration.
          maxLength: 260
        vmTags:
          type: object
          additionalProperties:
            type: string
          description: Hashtable that lists key/value pair tags to apply to the VMs
        vmLocation:
          type: string
          description: The Location for the session host to be created in
        vmResourceGroup:
          type: string
          description: The ResourceGroup for the session hosts to be created in. It will default to the ResourceGroup of the hostpool if not provided.
        vmNamePrefix:
          type: string
          description: The prefix that should be associated with session host names
          maxLength: 11
        availabilityZones:
          type: array
          items:
            type: integer
            format: int32
          description: Value for availability zones to be used by the session host. Should be from [1,2,3].
        networkInfo:
          $ref: '#/components/schemas/NetworkInfoProperties'
          description: Network information.
        vmSizeId:
          type: string
          description: The id of the size of a virtual machine connected to a hostpool.
        diskInfo:
          $ref: '#/components/schemas/DiskInfoPatchProperties'
          description: Disk information.
        customConfigurationScriptUrl:
          type: string
          description: The uri to the storage blob containing the arm template to be run on the virtual machine after provisioning.
          maxLength: 260
        imageInfo:
          $ref: '#/components/schemas/ImageInfoPatchProperties'
          description: Image configurations of HostPool.
        domainInfo:
          $ref: '#/components/schemas/DomainInfoPatchProperties'
          description: Domain configurations of session hosts.
        securityInfo:
          $ref: '#/components/schemas/SecurityInfoPatchProperties'
          description: Security information.
        vmAdminCredentials:
          $ref: '#/components/schemas/KeyVaultCredentialsPatchProperties'
          description: Local Admin credentials for session hosts.
        bootDiagnosticsInfo:
          $ref: '#/components/schemas/BootDiagnosticsInfoPatchProperties'
          description: Boot Diagnostics information.
    CustomInfoProperties:
      description: Custom image information.
      type: object
      required:
      - resourceId
      properties:
        resourceId:
          type: string
          format: arm-id
          description: The resource id of the custom image.
    MarketplaceInfoProperties:
      description: Marketplace image information.
      type: object
      required:
      - offer
      - publisher
      - sku
      - exactVersion
      properties:
        offer:
          type: string
          description: The offer of the image.
        publisher:
          type: string
          description: The publisher of the image.
        sku:
          type: string
          description: The sku of the image.
        exactVersion:
          type: string
          description: The exact version of the image.
    SecurityInfoProperties:
      description: Security information.
      type: object
      properties:
        type:
          type: string
          enum:
          - Standard
          - TrustedLaunch
          - ConfidentialVM
          x-ms-enum:
            name: VirtualMachineSecurityType
            modelAsString: true
            values:
            - value: Standard
              description: Standard security protocol. No additional parameters
            - value: TrustedLaunch
              description: TrustedLaunch allows for secure boot adn vTPM
            - value: ConfidentialVM
              description: Confidential Virtual Machine security protocol
          default: Standard
          description: The security type used by virtual machine in hostpool session host. Default is Standard.
        secureBootEnabled:
          type: boolean
          description: Whether to use secureBoot on the virtual machine.
        vTpmEnabled:
          type: boolean
          description: Whether to use vTPM on the virtual machine.
    SessionHostConfigurationList:
      type: object
      title: SessionHostConfigurationList
      description: List of SessionHostConfiguration definitions.
      properties:
        value:
          type: array
          description: List of SessionHostConfiguration definitions.
          items:
            $ref: '#/components/schemas/SessionHostConfiguration'
        nextLink:
          type: string
          readOnly: true
          description: Link to the next page of results.
    DomainInfoPatchProperties:
      description: Domain configurations of session hosts.
      type: object
      properties:
        activeDirectoryInfo:
          $ref: '#/components/schemas/ActiveDirectoryInfoPatchProperties'
          description: Active directory info. Only one should be populated based on the join type.
    DiskInfoPatchProperties:
      description: Disk information.
      type: object
      properties:
        type:
          type: string
          enum:
          - Standard_LRS
          - Premium_LRS
          - StandardSSD_LRS
          x-ms-enum:
            name: VirtualMachineDiskType
            modelAsString: true
            values:
            - value: Standard_LRS
              description: Standard HDD locally redundant storage. Best for backup, non-critical, and infrequent access.
            - value: Premium_LRS
              description: Premium SSD locally redundant storage. Best for production and performance sensitive workloads.
            - value: StandardSSD_LRS
              description: Standard SSD locally redundant storage. Best for web servers, lightly used enterprise applications and dev/test.
          description: The disk type used by virtual machine in hostpool session host.
  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
  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