DedicatedHostProperties Class

Properties of the dedicated host.

Constructor

DedicatedHostProperties()

Variables

Name Description
platformFaultDomain
int

Fault domain of the dedicated host within a dedicated host group.

autoReplaceOnFailure

Specifies whether the dedicated host should be replaced automatically in case of a failure. The value is defaulted to 'true' when not provided.

hostId
str

A unique id generated and assigned to the dedicated host by the platform. Does not change throughout the lifetime of the host.

virtualMachines
list[<xref:"SubResourceReadOnly">]

A list of references to all virtual machines in the Dedicated Host.

licenseType
Union[str, <xref:"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. The default value is: None.. Known values are: "None", "Windows_Server_Hybrid", and "Windows_Server_Perpetual".

provisioningTime
str

The date when the host was first provisioned.

provisioningState
str

The provisioning state, which only appears in the response.

instanceView
<xref:<xref:"DedicatedHostInstanceView">>

The dedicated host instance view.

timeCreated
str

Specifies the time at which the Dedicated Host resource was created. Minimum api-version: 2021-11-01.

Attributes

autoReplaceOnFailure

Specifies whether the dedicated host should be replaced automatically in case of a failure. The value is defaulted to 'true' when not provided.

autoReplaceOnFailure: bool

hostId

A unique id generated and assigned to the dedicated host by the platform. Does not change throughout the lifetime of the host.

hostId: str

instanceView

The dedicated host instance view.

instanceView: DedicatedHostInstanceView

licenseType

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. The default value is: None.. Known values are: "None", "Windows_Server_Hybrid", and "Windows_Server_Perpetual".

licenseType: str | DedicatedHostLicenseTypes

platformFaultDomain

Fault domain of the dedicated host within a dedicated host group.

platformFaultDomain: int

provisioningState

The provisioning state, which only appears in the response.

provisioningState: str

provisioningTime

The date when the host was first provisioned.

provisioningTime: str

timeCreated

Specifies the time at which the Dedicated Host resource was created. Minimum api-version: 2021-11-01.

timeCreated: str

virtualMachines

A list of references to all virtual machines in the Dedicated Host.

virtualMachines: list['SubResourceReadOnly']