Tuesday, 21 May 2024

Microsoft.Compute hostGroups

 

Microsoft.Compute hostGroups


Bicep resource definition

The hostGroups resource type can be deployed with operations that target:

For a list of changed properties in each API version, see change log.

Resource format

To create a Microsoft.Compute/hostGroups resource, add the following Bicep to your template.

Bicepresource symbolicname 'Microsoft.Compute/hostGroups@2023-09-01' = {
  name: 'string'
  location: 'string'
  tags: {
    tagName1: 'tagValue1'
    tagName2: 'tagValue2'
  }
  properties: {
    additionalCapabilities: {
      ultraSSDEnabled: bool
    }
    platformFaultDomainCount: int
    supportAutomaticPlacement: bool
  }
  zones: [
    'string'
  ]
}

Property values

hostGroups

NameDescriptionValue
nameThe resource namestring (required)
locationResource locationstring (required)
tagsResource tagsDictionary of tag names and values. See Tags in templates
propertiesDedicated Host Group Properties.DedicatedHostGroupProperties
zonesAvailability 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[]

DedicatedHostGroupProperties

NameDescriptionValue
additionalCapabilitiesEnables or disables a capability on the dedicated host group. Minimum api-version: 2022-03-01.DedicatedHostGroupPropertiesAdditionalCapabilities
platformFaultDomainCountNumber of fault domains that the host group can span.int (required)

Constraints:
Min value = 1
supportAutomaticPlacementSpecifies 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.bool

No comments:

Post a Comment