{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-virtual-machines/json-schema/microsoft-azure-virtual-machines-dedicated-host-group-list-result-schema.json",
  "title": "DedicatedHostGroupListResult",
  "description": "The List Dedicated Host Group with resource group response.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-virtual-machines-dedicatedhostgroups-api-openapi.yml#/components/schemas/DedicatedHostGroupListResult",
  "type": "object",
  "properties": {
    "value": {
      "type": "array",
      "description": "The list of dedicated host groups.",
      "items": {
        "$ref": "#/$defs/DedicatedHostGroup"
      }
    },
    "nextLink": {
      "type": "string",
      "format": "uri",
      "description": "The URI to fetch the next page of Dedicated Host Groups. Call ListNext() with this URI to fetch the next page of Dedicated Host Groups."
    }
  },
  "required": [
    "value"
  ],
  "$defs": {
    "DedicatedHostAllocatableVM": {
      "type": "object",
      "description": "Represents the dedicated host unutilized capacity in terms of a specific VM size.",
      "properties": {
        "vmSize": {
          "type": "string",
          "description": "VM size in terms of which the unutilized capacity is represented."
        },
        "count": {
          "type": "number",
          "format": "double",
          "description": "Maximum number of VMs of size vmSize that can fit in the dedicated host's remaining capacity."
        }
      }
    },
    "DedicatedHostAvailableCapacity": {
      "type": "object",
      "description": "Dedicated host unutilized capacity.",
      "properties": {
        "allocatableVMs": {
          "type": "array",
          "description": "The unutilized capacity of the dedicated host represented in terms of each VM size that is allowed to be deployed to the dedicated host.",
          "items": {
            "$ref": "#/$defs/DedicatedHostAllocatableVM"
          },
          "x-ms-identifiers": []
        }
      }
    },
    "DedicatedHostGroup": {
      "type": "object",
      "description": "Specifies information about the dedicated host group that the dedicated hosts should be assigned to. Currently, a dedicated host can only be added to a dedicated host group at creation time. An existing dedicated host cannot be added to another dedicated host group.",
      "properties": {
        "properties": {
          "$ref": "#/$defs/DedicatedHostGroupProperties",
          "description": "Dedicated Host Group Properties.",
          "x-ms-client-flatten": true
        },
        "zones": {
          "type": "array",
          "description": "The availability zones.",
          "items": {
            "type": "string"
          }
        }
      },
      "allOf": [
        {
          "$ref": "#/$defs/TrackedResource"
        }
      ]
    },
    "DedicatedHostGroupInstanceView": {
      "type": "object",
      "properties": {
        "hosts": {
          "type": "array",
          "description": "List of instance view of the dedicated hosts under the dedicated host group.",
          "items": {
            "$ref": "#/$defs/DedicatedHostInstanceViewWithName"
          },
          "x-ms-identifiers": [
            "name"
          ]
        }
      }
    },
    "DedicatedHostGroupProperties": {
      "type": "object",
      "description": "Dedicated Host Group Properties.",
      "properties": {
        "platformFaultDomainCount": {
          "type": "integer",
          "format": "int32",
          "description": "Number of fault domains that the host group can span.",
          "minimum": 1
        },
        "hosts": {
          "type": "array",
          "description": "A list of references to all dedicated hosts in the dedicated host group.",
          "items": {
            "$ref": "#/$defs/SubResourceReadOnly"
          },
          "readOnly": true
        },
        "instanceView": {
          "$ref": "#/$defs/DedicatedHostGroupInstanceView",
          "description": "The dedicated host group instance view, which has the list of instance view of the dedicated hosts under the dedicated host group.",
          "readOnly": true
        },
        "supportAutomaticPlacement": {
          "type": "boolean",
          "description": "Specifies whether virtual machines or virtual machine scale sets can be placed automatically on the dedicated host group. Automatic placement means resources are allocated on dedicated hosts, that are chosen by Azure, under the dedicated host group. The value is defaulted to 'false' when not provided. Minimum api-version: 2020-06-01."
        },
        "additionalCapabilities": {
          "$ref": "#/$defs/DedicatedHostGroupPropertiesAdditionalCapabilities",
          "description": "Enables or disables a capability on the dedicated host group. Minimum api-version: 2022-03-01."
        }
      },
      "required": [
        "platformFaultDomainCount"
      ]
    },
    "DedicatedHostGroupPropertiesAdditionalCapabilities": {
      "type": "object",
      "description": "Enables or disables a capability on the dedicated host group. Minimum api-version: 2022-03-01.",
      "properties": {
        "ultraSSDEnabled": {
          "type": "boolean",
          "description": "The flag that enables or disables a capability to have UltraSSD Enabled Virtual Machines on Dedicated Hosts of the Dedicated Host Group. For the Virtual Machines to be UltraSSD Enabled, UltraSSDEnabled flag for the resource needs to be set true as well. The value is defaulted to 'false' when not provided. Please refer to https://docs.microsoft.com/en-us/azure/virtual-machines/disks-enable-ultra-ssd for more details on Ultra SSD feature. **Note:** The ultraSSDEnabled setting can only be enabled for Host Groups that are created as zonal. Minimum api-version: 2022-03-01."
        }
      }
    },
    "DedicatedHostInstanceView": {
      "type": "object",
      "description": "The instance view of a dedicated host.",
      "properties": {
        "assetId": {
          "type": "string",
          "description": "Specifies the unique id of the dedicated physical machine on which the dedicated host resides.",
          "readOnly": true
        },
        "availableCapacity": {
          "$ref": "#/$defs/DedicatedHostAvailableCapacity",
          "description": "Unutilized capacity of the dedicated host."
        },
        "statuses": {
          "type": "array",
          "description": "The resource status information.",
          "items": {
            "$ref": "#/$defs/InstanceViewStatus"
          },
          "x-ms-identifiers": []
        }
      }
    },
    "DedicatedHostInstanceViewWithName": {
      "type": "object",
      "description": "The instance view of a dedicated host that includes the name of the dedicated host. It is used for the response to the instance view of a dedicated host group.",
      "properties": {
        "name": {
          "type": "string",
          "description": "The name of the dedicated host.",
          "readOnly": true
        }
      },
      "allOf": [
        {
          "$ref": "#/$defs/DedicatedHostInstanceView"
        }
      ]
    },
    "InstanceViewStatus": {
      "type": "object",
      "description": "Instance view status.",
      "properties": {
        "code": {
          "type": "string",
          "description": "The status code."
        },
        "level": {
          "$ref": "#/$defs/StatusLevelTypes",
          "description": "The level code."
        },
        "displayStatus": {
          "type": "string",
          "description": "The short localizable label for the status."
        },
        "message": {
          "type": "string",
          "description": "The detailed status message, including for alerts and error messages."
        },
        "time": {
          "type": "string",
          "format": "date-time",
          "description": "The time of the status."
        }
      }
    },
    "StatusLevelTypes": {
      "type": "string",
      "description": "The level code.",
      "enum": [
        "Info",
        "Warning",
        "Error"
      ],
      "x-ms-enum": {
        "name": "StatusLevelTypes",
        "modelAsString": false
      }
    },
    "SubResourceReadOnly": {
      "type": "object",
      "properties": {
        "id": {
          "readOnly": true,
          "type": "string",
          "description": "Resource Id"
        }
      }
    },
    "TrackedResource": {
      "type": "object",
      "title": "Tracked Resource",
      "description": "The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location'",
      "properties": {
        "tags": {
          "type": "object",
          "description": "Resource tags.",
          "additionalProperties": {
            "type": "string"
          },
          "x-ms-mutability": [
            "read",
            "create",
            "update"
          ]
        },
        "location": {
          "type": "string",
          "description": "The geo-location where the resource lives",
          "x-ms-mutability": [
            "read",
            "create"
          ]
        }
      },
      "required": [
        "location"
      ],
      "allOf": [
        {
          "$ref": "#/$defs/Resource"
        }
      ]
    }
  }
}