Microsoft.Compute hostGroups

Template format

To create a Microsoft.Compute/hostGroups resource, add the following JSON to the resources section of your template.

{
  "name": "string",
  "type": "Microsoft.Compute/hostGroups",
  "apiVersion": "2020-06-01",
  "location": "string",
  "tags": {},
  "properties": {
    "platformFaultDomainCount": "integer",
    "supportAutomaticPlacement": "boolean"
  },
  "zones": [
    "string"
  ],
  "resources": []
}

Property values

The following tables describe the values you need to set in the schema.

Microsoft.Compute/hostGroups object

Name Type Required Value
name string Yes The name of the dedicated host group.
type enum Yes Microsoft.Compute/hostGroups
apiVersion enum Yes 2020-06-01
location string Yes Resource location
tags object No Resource tags
properties object Yes DedicatedHostGroupProperties object
zones array No Availability Zone to use for this host group. Only single zone is supported. The zone can be assigned only during creation. If not provided, the group supports all zones in the region. If provided, enforces each host in the group to be in the same zone. - string
resources array No hosts

DedicatedHostGroupProperties object

Name Type Required Value
platformFaultDomainCount integer Yes Number of fault domains that the host group can span.
supportAutomaticPlacement boolean No 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 'true' when not provided.

Minimum api-version: 2020-06-01.

Quickstart templates

The following quickstart templates deploy this resource type.

Template Description
Azure Dedicated Hosts

Deploy to Azure
This will deploy an isolated environment using Azure Dedicated Hosts for you to provision VMs.