ControlUp Host pool VM settings API

The Host pool VM settings API from ControlUp — 2 operation(s) for host pool vm settings.

OpenAPI Specification

controlup-host-pool-vm-settings-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: DaaS IQ Host pool VM settings API
  description: 'Multi-cloud Virtual Desktop Infrastructure Management API (Default Version: v1.0)


    🔒 **Authentication**


    This API supports two authentication methods:


    **1. API Key (Bearer Token)** - Recommended for programmatic access

    - Create an API key at [API Key Management](https://support.controlup.com/docs/create-an-api-key)

    - Include in requests: `Authorization: Bearer YOUR_API_KEY`


    **2. Cookie Authentication** - For browser-based access

    - Login via DEX authentication service

    - The `user_dex_token` cookie will be automatically included'
  contact:
    name: ControlUp Support
    url: https://controlup.com/support
    email: support@controlup.com
  version: v1
  x-build-version: 1.0.107
servers:
- url: https://api.controlup.com/daas-iq/v1
tags:
- name: Host pool VM settings
paths:
  /cloud/host-pools/{hostPoolId}/vm-settings:
    get:
      tags:
      - Host pool VM settings
      summary: Get VM settings for a host pool
      description: 'Returns the template used when adding new session hosts to the pool: deployment region and resource group,

        primary and alternative VM size, source image and version, OS disk size, and virtual network.

        Password fields return placeholders, never plaintext.

        Describes hosts that would be created, not hosts that exist.'
      operationId: GetHostPoolVmSettings
      parameters:
      - name: hostPoolId
        in: path
        description: Host pool identifier
        required: true
        schema:
          type: string
          format: uuid
      responses:
        '200':
          description: Returns VM settings for the specified host pool
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HostPoolVmSettingsDto'
              example:
                hostPoolId: 201abf62-50ac-429b-bbf9-33bb07a5467b
                localAdminPassword: '***'
                details:
                  deploymentRegion:
                    name: eastus
                    displayName: East US
                    regionalDisplayName: (US) East US
                    geography: United States
                    regionCategory: Recommended
                    isPhysical: true
                    availableZones:
                    - '1'
                    - '2'
                    - '3'
                  deploymentResourceGroup:
                    id: /subscriptions/25ae2df7-d61d-4cb0-a746-4b67e1cf8535/resourceGroups/RG-AVD-Lab
                    subscriptionId: 25ae2df7-d61d-4cb0-a746-4b67e1cf8535
                    name: RG-AVD-Lab
                    type: resourceGroup
                    location: eastus
                    tags: {}
                  primaryVmSize:
                    name: Standard_D4s_v5
                    displayName: Standard D4s_v5
                    tier: Standard
                    size: D4s_v5
                    cores: 4
                    memoryBytes: 17179869184
                    maxDataDisks: 8
                    osDiskSizeBytes: 1098437885952
                    localStorageBytes: 0
                    family: standardDSv5Family
                    maxIops: 6400
                    maxNetworkInterfaces: 2
                    supportsPremiumStorage: true
                    supportsAcceleratedNetworking: true
                    supportsEphemeralOSDisk: true
                    supportsTrustedLaunch: false
                    availableZones:
                    - '1'
                    - '2'
                    - '3'
                    hyperVGenerations:
                    - V1
                    - V2
                    diskControllerTypes:
                    - SCSI
                    supportsHyperVGenerationV1: true
                    supportsHyperVGenerationV2: true
                    supportsDiskControllerSCSI: true
                    supportsDiskControllerNVMe: false
                    isRestricted: false
                  alternativeVmSize:
                    name: Standard_D4as_v5
                    displayName: Standard D4as_v5
                    tier: Standard
                    size: D4as_v5
                    cores: 4
                    memoryBytes: 17179869184
                    maxDataDisks: 8
                    osDiskSizeBytes: 1098437885952
                    localStorageBytes: 0
                    family: standardDASv5Family
                    maxIops: 6400
                    maxNetworkInterfaces: 2
                    supportsPremiumStorage: true
                    supportsAcceleratedNetworking: true
                    supportsEphemeralOSDisk: true
                    supportsTrustedLaunch: false
                    availableZones:
                    - '1'
                    - '2'
                    - '3'
                    hyperVGenerations:
                    - V1
                    - V2
                    diskControllerTypes:
                    - SCSI
                    supportsHyperVGenerationV1: true
                    supportsHyperVGenerationV2: true
                    supportsDiskControllerSCSI: true
                    supportsDiskControllerNVMe: false
                    isRestricted: false
                  image:
                    hasVersion: true
                    galleryId: /subscriptions/25ae2df7-d61d-4cb0-a746-4b67e1cf8535/resourceGroups/RG-AVD-Lab/providers/Microsoft.Compute/galleries/AVDGoldenImageGallery
                    galleryName: AVDGoldenImageGallery
                    imageSourceType: sharedImageGallery
                    hyperVGeneration: V2
                    diskControllerTypes:
                    - SCSI
                    osType: Windows
                    osState: Generalized
                    sku: de-gallery-03
                    offer: windows-11-multisession
                    publisher: ControlUp
                    securityType: trustedLaunch
                    isAlreadyManaged: false
                    resourceGroup: RG-AVD-Lab
                    id: /subscriptions/25ae2df7-d61d-4cb0-a746-4b67e1cf8535/resourceGroups/RG-AVD-Lab/providers/Microsoft.Compute/galleries/AVDGoldenImageGallery/images/de-gallery-03
                    subscriptionId: 25ae2df7-d61d-4cb0-a746-4b67e1cf8535
                    name: de-gallery-03
                    type: galleryImage
                    location: eastus
                    tags: {}
                  imageResourceGroup:
                    id: /subscriptions/25ae2df7-d61d-4cb0-a746-4b67e1cf8535/resourceGroups/RG-AVD-Lab
                    subscriptionId: 25ae2df7-d61d-4cb0-a746-4b67e1cf8535
                    name: RG-AVD-Lab
                    type: resourceGroup
                    location: eastus
                    tags: {}
                  imageVersion:
                    galleryId: /subscriptions/25ae2df7-d61d-4cb0-a746-4b67e1cf8535/resourceGroups/RG-AVD-Lab/providers/Microsoft.Compute/galleries/AVDGoldenImageGallery
                    galleryName: AVDGoldenImageGallery
                    imageDefinitionId: /subscriptions/25ae2df7-d61d-4cb0-a746-4b67e1cf8535/resourceGroups/RG-AVD-Lab/providers/Microsoft.Compute/galleries/AVDGoldenImageGallery/images/de-gallery-03
                    imageDefinitionName: de-gallery-03
                    osDiskSizeBytes: 137438953472
                    storageAccountType: Standard_LRS
                    diskControllerTypes:
                    - SCSI
                    targetRegions:
                    - eastus
                    - westus
                    resourceGroup: RG-AVD-Lab
                    id: /subscriptions/25ae2df7-d61d-4cb0-a746-4b67e1cf8535/resourceGroups/RG-AVD-Lab/providers/Microsoft.Compute/galleries/AVDGoldenImageGallery/images/de-gallery-03/versions/1.0.0
                    subscriptionId: 25ae2df7-d61d-4cb0-a746-4b67e1cf8535
                    name: 1.0.0
                    type: galleryImageVersion
                    location: eastus
                    tags: {}
                  osDiskSize:
                    type: Standard_LRS
                    typeDisplayName: Standard HDD
                    size: S30
                    tier: Standard
                    minSizeBytes: 34359738368
                    maxSizeBytes: 35184372088832
                    availableZones:
                    - '1'
                    - '2'
                    - '3'
                  virtualNetwork:
                    subnets:
                    - id: /subscriptions/25ae2df7-d61d-4cb0-a746-4b67e1cf8535/resourceGroups/rg-network/providers/Microsoft.Network/virtualNetworks/vnet-avd/subnets/default
                      name: default
                      addressPrefixes:
                      - 10.0.1.0/24
                    resourceGroup: rg-network
                    id: /subscriptions/25ae2df7-d61d-4cb0-a746-4b67e1cf8535/resourceGroups/rg-network/providers/Microsoft.Network/virtualNetworks/vnet-avd
                    subscriptionId: 25ae2df7-d61d-4cb0-a746-4b67e1cf8535
                    name: vnet-avd
                    type: virtualNetwork
                    location: eastus
                    tags: {}
                  virtualNetworkResourceGroup:
                    id: /subscriptions/25ae2df7-d61d-4cb0-a746-4b67e1cf8535/resourceGroups/rg-network
                    subscriptionId: 25ae2df7-d61d-4cb0-a746-4b67e1cf8535
                    name: rg-network
                    type: resourceGroup
                    location: eastus
                    tags: {}
                deploymentRegion: eastus
                deploymentResourceGroupName: RG-AVD-Lab
                vmNamingPrefix: e2ehost
                primaryVmSize: Standard_D4s_v5
                alternativeVmSize: Standard_D4as_v5
                availabilityZones: []
                imageSource: gallery
                imageResourceId: /subscriptions/25ae2df7-d61d-4cb0-a746-4b67e1cf8535/resourceGroups/RG-AVD-Lab/providers/Microsoft.Compute/galleries/AVDGoldenImageGallery/images/de-gallery-03
                imageVersionResourceId: /subscriptions/25ae2df7-d61d-4cb0-a746-4b67e1cf8535/resourceGroups/RG-AVD-Lab/providers/Microsoft.Compute/galleries/AVDGoldenImageGallery/images/de-gallery-03/versions/1.0.0
                osDiskStorageAccountType: Standard_LRS
                osDiskSizeBytes: 137438953472
                securityType: trustedLaunch
                secureBoot: true
                vTpm: true
                integrityMonitoring: false
                virtualNetworkResourceId: /subscriptions/25ae2df7-d61d-4cb0-a746-4b67e1cf8535/resourceGroups/rg-network/providers/Microsoft.Network/virtualNetworks/vnet-avd
                subnetResourceId: /subscriptions/25ae2df7-d61d-4cb0-a746-4b67e1cf8535/resourceGroups/rg-network/providers/Microsoft.Network/virtualNetworks/vnet-avd/subnets/default
                networkSecurityGroup: basic
                publicInboundPorts: false
                joinType: entraId
                localAdminUsername: localadmin
                intuneEnrollment: false
                tags:
                  environment: dev
                  owner: avd-team
        '204':
          description: No VM settings are configured for the specified host pool
        '401':
          description: Unauthorized. User is not authenticated.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '402':
          description: Payment required. No active license for the organization.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '403':
          description: Forbidden. User does not have view permissions.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not found. The specified host pool does not exist.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: Internal server error.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '503':
          description: Service unavailable. License status could not be verified. Try again later.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
      - BearerAuth: []
      - CookieAuth: []
    put:
      tags:
      - Host pool VM settings
      summary: Create or replace VM settings for a host pool
      description: 'Stores the template future session hosts are built from: naming, domain join, image, VM size, disk, and network.

        A full replacement, not a patch — omitted fields are cleared, so send the complete settings every time.

        Adding hosts later reads these saved settings rather than taking them in the request.'
      operationId: SaveHostPoolVmSettings
      parameters:
      - name: hostPoolId
        in: path
        description: Host pool identifier
        required: true
        schema:
          type: string
          format: uuid
      requestBody:
        description: VM settings payload
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SaveHostPoolVmSettingsRequest'
        required: true
      responses:
        '200':
          description: Returns the saved VM settings
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HostPoolVmSettingsDto'
              example:
                hostPoolId: 201abf62-50ac-429b-bbf9-33bb07a5467b
                localAdminPassword: '***'
                details:
                  deploymentRegion:
                    name: eastus
                    displayName: East US
                    regionalDisplayName: (US) East US
                    geography: United States
                    regionCategory: Recommended
                    isPhysical: true
                    availableZones:
                    - '1'
                    - '2'
                    - '3'
                  deploymentResourceGroup:
                    id: /subscriptions/25ae2df7-d61d-4cb0-a746-4b67e1cf8535/resourceGroups/RG-AVD-Lab
                    subscriptionId: 25ae2df7-d61d-4cb0-a746-4b67e1cf8535
                    name: RG-AVD-Lab
                    type: resourceGroup
                    location: eastus
                    tags: {}
                  primaryVmSize:
                    name: Standard_D4s_v5
                    displayName: Standard D4s_v5
                    tier: Standard
                    size: D4s_v5
                    cores: 4
                    memoryBytes: 17179869184
                    maxDataDisks: 8
                    osDiskSizeBytes: 1098437885952
                    localStorageBytes: 0
                    family: standardDSv5Family
                    maxIops: 6400
                    maxNetworkInterfaces: 2
                    supportsPremiumStorage: true
                    supportsAcceleratedNetworking: true
                    supportsEphemeralOSDisk: true
                    supportsTrustedLaunch: false
                    availableZones:
                    - '1'
                    - '2'
                    - '3'
                    hyperVGenerations:
                    - V1
                    - V2
                    diskControllerTypes:
                    - SCSI
                    supportsHyperVGenerationV1: true
                    supportsHyperVGenerationV2: true
                    supportsDiskControllerSCSI: true
                    supportsDiskControllerNVMe: false
                    isRestricted: false
                  alternativeVmSize:
                    name: Standard_D4as_v5
                    displayName: Standard D4as_v5
                    tier: Standard
                    size: D4as_v5
                    cores: 4
                    memoryBytes: 17179869184
                    maxDataDisks: 8
                    osDiskSizeBytes: 1098437885952
                    localStorageBytes: 0
                    family: standardDASv5Family
                    maxIops: 6400
                    maxNetworkInterfaces: 2
                    supportsPremiumStorage: true
                    supportsAcceleratedNetworking: true
                    supportsEphemeralOSDisk: true
                    supportsTrustedLaunch: false
                    availableZones:
                    - '1'
                    - '2'
                    - '3'
                    hyperVGenerations:
                    - V1
                    - V2
                    diskControllerTypes:
                    - SCSI
                    supportsHyperVGenerationV1: true
                    supportsHyperVGenerationV2: true
                    supportsDiskControllerSCSI: true
                    supportsDiskControllerNVMe: false
                    isRestricted: false
                  image:
                    hasVersion: true
                    galleryId: /subscriptions/25ae2df7-d61d-4cb0-a746-4b67e1cf8535/resourceGroups/RG-AVD-Lab/providers/Microsoft.Compute/galleries/AVDGoldenImageGallery
                    galleryName: AVDGoldenImageGallery
                    imageSourceType: sharedImageGallery
                    hyperVGeneration: V2
                    diskControllerTypes:
                    - SCSI
                    osType: Windows
                    osState: Generalized
                    sku: de-gallery-03
                    offer: windows-11-multisession
                    publisher: ControlUp
                    securityType: trustedLaunch
                    isAlreadyManaged: false
                    resourceGroup: RG-AVD-Lab
                    id: /subscriptions/25ae2df7-d61d-4cb0-a746-4b67e1cf8535/resourceGroups/RG-AVD-Lab/providers/Microsoft.Compute/galleries/AVDGoldenImageGallery/images/de-gallery-03
                    subscriptionId: 25ae2df7-d61d-4cb0-a746-4b67e1cf8535
                    name: de-gallery-03
                    type: galleryImage
                    location: eastus
                    tags: {}
                  imageResourceGroup:
                    id: /subscriptions/25ae2df7-d61d-4cb0-a746-4b67e1cf8535/resourceGroups/RG-AVD-Lab
                    subscriptionId: 25ae2df7-d61d-4cb0-a746-4b67e1cf8535
                    name: RG-AVD-Lab
                    type: resourceGroup
                    location: eastus
                    tags: {}
                  imageVersion:
                    galleryId: /subscriptions/25ae2df7-d61d-4cb0-a746-4b67e1cf8535/resourceGroups/RG-AVD-Lab/providers/Microsoft.Compute/galleries/AVDGoldenImageGallery
                    galleryName: AVDGoldenImageGallery
                    imageDefinitionId: /subscriptions/25ae2df7-d61d-4cb0-a746-4b67e1cf8535/resourceGroups/RG-AVD-Lab/providers/Microsoft.Compute/galleries/AVDGoldenImageGallery/images/de-gallery-03
                    imageDefinitionName: de-gallery-03
                    osDiskSizeBytes: 137438953472
                    storageAccountType: Standard_LRS
                    diskControllerTypes:
                    - SCSI
                    targetRegions:
                    - eastus
                    - westus
                    resourceGroup: RG-AVD-Lab
                    id: /subscriptions/25ae2df7-d61d-4cb0-a746-4b67e1cf8535/resourceGroups/RG-AVD-Lab/providers/Microsoft.Compute/galleries/AVDGoldenImageGallery/images/de-gallery-03/versions/1.0.0
                    subscriptionId: 25ae2df7-d61d-4cb0-a746-4b67e1cf8535
                    name: 1.0.0
                    type: galleryImageVersion
                    location: eastus
                    tags: {}
                  osDiskSize:
                    type: Standard_LRS
                    typeDisplayName: Standard HDD
                    size: S30
                    tier: Standard
                    minSizeBytes: 34359738368
                    maxSizeBytes: 35184372088832
                    availableZones:
                    - '1'
                    - '2'
                    - '3'
                  virtualNetwork:
                    subnets:
                    - id: /subscriptions/25ae2df7-d61d-4cb0-a746-4b67e1cf8535/resourceGroups/rg-network/providers/Microsoft.Network/virtualNetworks/vnet-avd/subnets/default
                      name: default
                      addressPrefixes:
                      - 10.0.1.0/24
                    resourceGroup: rg-network
                    id: /subscriptions/25ae2df7-d61d-4cb0-a746-4b67e1cf8535/resourceGroups/rg-network/providers/Microsoft.Network/virtualNetworks/vnet-avd
                    subscriptionId: 25ae2df7-d61d-4cb0-a746-4b67e1cf8535
                    name: vnet-avd
                    type: virtualNetwork
                    location: eastus
                    tags: {}
                  virtualNetworkResourceGroup:
                    id: /subscriptions/25ae2df7-d61d-4cb0-a746-4b67e1cf8535/resourceGroups/rg-network
                    subscriptionId: 25ae2df7-d61d-4cb0-a746-4b67e1cf8535
                    name: rg-network
                    type: resourceGroup
                    location: eastus
                    tags: {}
                deploymentRegion: eastus
                deploymentResourceGroupName: RG-AVD-Lab
                vmNamingPrefix: e2ehost
                primaryVmSize: Standard_D4s_v5
                alternativeVmSize: Standard_D4as_v5
                availabilityZones: []
                imageSource: gallery
                imageResourceId: /subscriptions/25ae2df7-d61d-4cb0-a746-4b67e1cf8535/resourceGroups/RG-AVD-Lab/providers/Microsoft.Compute/galleries/AVDGoldenImageGallery/images/de-gallery-03
                imageVersionResourceId: /subscriptions/25ae2df7-d61d-4cb0-a746-4b67e1cf8535/resourceGroups/RG-AVD-Lab/providers/Microsoft.Compute/galleries/AVDGoldenImageGallery/images/de-gallery-03/versions/1.0.0
                osDiskStorageAccountType: Standard_LRS
                osDiskSizeBytes: 137438953472
                securityType: trustedLaunch
                secureBoot: true
                vTpm: true
                integrityMonitoring: false
                virtualNetworkResourceId: /subscriptions/25ae2df7-d61d-4cb0-a746-4b67e1cf8535/resourceGroups/rg-network/providers/Microsoft.Network/virtualNetworks/vnet-avd
                subnetResourceId: /subscriptions/25ae2df7-d61d-4cb0-a746-4b67e1cf8535/resourceGroups/rg-network/providers/Microsoft.Network/virtualNetworks/vnet-avd/subnets/default
                networkSecurityGroup: basic
                publicInboundPorts: false
                joinType: entraId
                localAdminUsername: localadmin
                intuneEnrollment: false
                tags:
                  environment: dev
                  owner: avd-team
        '400':
          description: Bad request. Request payload failed validation.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Unauthorized. User is not authenticated.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '402':
          description: Payment required. No active license for the organization.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '403':
          description: Forbidden. User does not have manage host pool settings permissions.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not found. The specified host pool does not exist.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: Internal server error.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '503':
          description: Service unavailable. License status could not be verified. Try again later.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
      - BearerAuth: []
      - CookieAuth: []
    delete:
      tags:
      - Host pool VM settings
      summary: Delete VM settings for a host pool
      description: 'Discards the stored template, after which the pool has no settings to build new hosts from until they are saved again.

        Affects the template only: existing session hosts keep running and are not modified or deleted.

        Idempotent — deleting settings that were never configured still succeeds.'
      operationId: DeleteHostPoolVmSettings
      parameters:
      - name: hostPoolId
        in: path
        description: Host pool identifier
        required: true
        schema:
          type: string
          format: uuid
      responses:
        '204':
          description: VM settings were deleted or did not exist
        '401':
          description: Unauthorized. User is not authenticated.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '402':
          description: Payment required. No active license for the organization.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '403':
          description: Forbidden. User does not have manage host pool settings permissions.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not found. The specified host pool does not exist.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: Internal server error.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '503':
          description: Service unavailable. License status could not be verified. Try again later.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
      - BearerAuth: []
      - CookieAuth: []
  /cloud/host-pools/{hostPoolId}/vm-settings/validation:
    post:
      tags:
      - Host pool VM settings
      summary: Validate VM settings for a host pool
      description: 'Checks a VM settings payload and echoes it back enriched with resolved lookup details, without saving anything.

        Send a body to test settings before committing them; omit the body to re-validate what is already stored.

        A dry run only — use the save operation to persist.'
      operationId: ValidateHostPoolVmSettings
      parameters:
      - name: hostPoolId
        in: path
        description: Host pool identifier
        required: true
        schema:
          type: string
          format: uuid
      requestBody:
        description: Optional VM settings payload to validate; when omitted, validates persisted settings
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SaveHostPoolVmSettingsRequest'
      responses:
        '200':
          description: Validation succeeded and returns resolved details
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HostPoolVmSettingsDto'
              example:
                hostPoolId: 201abf62-50ac-429b-bbf9-33bb07a5467b
                localAdminPassword: '***'
                details:
                  deploymentRegion:
                    name: eastus
                    displayName: East US
                    regionalDisplayName: (US) East US
                    geography: United States
                    regionCategory: Recommended
                    isPhysical: true
                    availableZones:
                    - '1'
                    - '2'
                    - '3'
                  deploymentResourceGroup:
                    id: /subscriptions/25ae2df7-d61d-4cb0-a746-4b67e1cf8535/resourceGroups/RG-AVD-Lab
                    subscriptionId: 25ae2df7-d61d-4cb0-a746-4b67e1cf8535
                    name: RG-AVD-Lab
                    type: resourceGroup
                    location: eastus
                    tags: {}
                  primaryVmSize:
                    name: Standard_D4s_v5
                    displayName: Standard D4s_v5
                    tier: Standard
                    size: D4s_v5
                    cores: 4
                    memoryBytes: 17179869184
                    maxDataDisks: 8
                    osDiskSizeBytes: 1098437885952
                    localStorageBytes: 0
                    family: standardDSv5Family
                    maxIops: 6400
                    maxNetworkInterfaces: 2
                    supportsPremiumStorage: true
                    supportsAcceleratedNetworking: true
                    supportsEphemeralOSDisk: true
                    supportsTrustedLaunch: false
                    availableZones:
                    - '1'
                    - '2'
                    - '3'
                    hyperVGenerations:
                    - V1
                    - V2
                    diskControllerTypes:
                    - SCSI
                    supportsHyperVGenerationV1: true
                    supportsHyperVGenerationV2: true
                    supportsDiskControllerSCSI: true
                    supportsDiskControllerNVMe: false
                    isRestricted: false
                  alternativeVmSize:
                    name: Standard_D4as_v5
                    displayName: Standard D4as_v5
                    tier: Standard
                    size: D4as_v5
                    cores: 4
                    memoryBytes: 17179869184
                    maxDataDisks: 8
                    osDiskSizeBytes: 1098437885952
                    localStorageBytes: 0
                    family: standardDASv5Family
                    maxIops: 6400
                    maxNetworkInterfaces: 2
                    supportsPremiumStorage: true
                    supportsAcceleratedNetworking: true
                    supportsEphemeralOSDisk: true
                    supportsTrustedLaunch: false
                    availableZones:
                    - '1'
                    - '2'
                    - '3'
                    hyperVGenerations:
                    - V1
                    - V2
                    diskControllerTypes:
                    - SCSI
                    supportsHyperVGenerationV1: true
                    supportsHyperVGenerationV2: true
                    supportsDiskControllerSCSI: true
                    supportsDiskControllerNVMe: false
                    isRestricted: false
                  image:
                    hasVersion: true
                    galleryId: /subscriptions/25ae2df7-d61d-4cb0-a746-4b67e1cf8535/resourceGroups/RG-AVD-Lab/providers/Microsoft.Compute/galleries/AVDGoldenImageGallery
                    galleryName: AVDGoldenImageGallery
                    imageSourceType: sharedImageGallery
                    hyperVGeneration: V2
                    diskControllerTypes:
                    - SCSI
                    osType: Windows
                    osState: Generalized
                    sku: de-gallery-03
                    offer: windows-11-multisession
                    publisher: ControlUp
                    securityType: trustedLaunch
                    isAlreadyManaged: false
                    resourceGroup: RG-AVD-Lab
                    id: /subscriptions/25ae2df7-d61d-4cb0-a746-4b67e1cf8535/resourceGroups/RG-AVD-Lab/providers/Microsoft.Compute/galleries/AVDGoldenImageGallery/images/de-gallery-03
                    subscriptionId: 25ae2df7-d61d-4cb0-a746-4b67e1cf8535
                    name: de-gallery-03
                    type: galleryImage
                    location: eastus
                    tags: {}

# --- truncated at 32 KB (75 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/controlup/refs/heads/main/openapi/controlup-host-pool-vm-settings-api-openapi.yml