class Azure::Compute::Mgmt::V2019_03_01::Models::DedicatedHost
Specifies information about the Dedicated host.
Attributes
@return [Boolean] Specifies whether the dedicated host should be replaced automatically in case of a failure. The value is defaulted to 'true' when not provided.
@return [String] A unique id generated and assigned to the dedicated host by the platform.
Does not change throughout the lifetime of the host.
@return [DedicatedHostInstanceView] The dedicated host instance view.
@return [DedicatedHostLicenseTypes] Specifies the software license type that will be applied to the VMs deployed on the dedicated host.
Possible values are:
None
Windows_Server_Hybrid
Windows_Server_Perpetual
Default: None. Possible values include: 'None', 'Windows_Server_Hybrid', 'Windows_Server_Perpetual'
@return [Integer] Fault domain of the dedicated host within a dedicated host group.
@return [String] The provisioning state, which only appears in the response.
@return [DateTime] The date when the host was first provisioned.
@return [Sku] SKU of the dedicated host for Hardware Generation and VM family. Only name is required to be set. List Microsoft.Compute SKUs for a list of possible values.
@return [Array<SubResourceReadOnly>] A list of references to all virtual machines in the Dedicated Host.
Public Class Methods
Mapper for DedicatedHost
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2019-03-01/generated/azure_mgmt_compute/models/dedicated_host.rb, line 61 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'DedicatedHost', type: { name: 'Composite', class_name: 'DedicatedHost', 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: { client_side_validation: true, required: false, serialized_name: 'properties.platformFaultDomain', constraints: { InclusiveMaximum: 2, InclusiveMinimum: 0 }, type: { name: 'Number' } }, auto_replace_on_failure: { client_side_validation: true, required: false, serialized_name: 'properties.autoReplaceOnFailure', type: { name: 'Boolean' } }, host_id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.hostId', type: { name: 'String' } }, virtual_machines: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.virtualMachines', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'SubResourceReadOnlyElementType', type: { name: 'Composite', class_name: 'SubResourceReadOnly' } } } }, license_type: { client_side_validation: true, required: false, serialized_name: 'properties.licenseType', type: { name: 'Enum', module: 'DedicatedHostLicenseTypes' } }, provisioning_time: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningTime', type: { name: 'DateTime' } }, provisioning_state: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', type: { name: 'String' } }, instance_view: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.instanceView', type: { name: 'Composite', class_name: 'DedicatedHostInstanceView' } }, sku: { client_side_validation: true, required: true, serialized_name: 'sku', type: { name: 'Composite', class_name: 'Sku' } } } } } end