class Azure::Compute::Mgmt::V2020_12_01::Models::DedicatedHostGroup
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.
Attributes
@return [Array<SubResourceReadOnly>] A list of references to all dedicated hosts in the dedicated host group.
@return [DedicatedHostGroupInstanceView] The dedicated host group instance view, which has the list of instance view of the dedicated hosts under the dedicated host group.
@return [Integer] Number of fault domains that the host group can span.
@return [Boolean] 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.
@return [Array<String>] 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.
Private Class Methods
Mapper for DedicatedHostGroup
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2020-12-01/generated/azure_mgmt_compute/models/dedicated_host_group.rb, line 49 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'DedicatedHostGroup', type: { name: 'Composite', class_name: 'DedicatedHostGroup', model_properties: { id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'id', type: { name: 'String' } }, name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'name', type: { name: 'String' } }, type: { client_side_validation: true, required: false, read_only: true, serialized_name: 'type', type: { name: 'String' } }, location: { client_side_validation: true, required: true, serialized_name: 'location', type: { name: 'String' } }, tags: { client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, platform_fault_domain_count: { client_side_validation: true, required: true, serialized_name: 'properties.platformFaultDomainCount', constraints: { InclusiveMinimum: 1 }, type: { name: 'Number' } }, hosts: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.hosts', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'SubResourceReadOnlyElementType', type: { name: 'Composite', class_name: 'SubResourceReadOnly' } } } }, instance_view: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.instanceView', type: { name: 'Composite', class_name: 'DedicatedHostGroupInstanceView' } }, support_automatic_placement: { client_side_validation: true, required: false, serialized_name: 'properties.supportAutomaticPlacement', type: { name: 'Boolean' } }, zones: { client_side_validation: true, required: false, serialized_name: 'zones', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } } } } } end