Microsoft.Compute hostGroups
Bicep resource definition
The hostGroups resource type can be deployed with operations that target:
- Resource groups - See resource group deployment commands
 
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
| Name | Description | Value | 
|---|---|---|
| name | The resource name | string (required) | 
| location | Resource location | string (required) | 
| tags | Resource tags | Dictionary of tag names and values. See Tags in templates | 
| properties | Dedicated Host Group Properties. | DedicatedHostGroupProperties | 
| zones | 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[] | 
No comments:
Post a Comment