다음을 통해 공유


DedicatedHostUpdate Class

Specifies information about the dedicated host. Only tags, autoReplaceOnFailure and licenseType may be updated.

Variables are only populated by the server, and will be ignored when sending a request.

Inheritance
azure.mgmt.compute.v2021_11_01.models._models_py3.UpdateResource
DedicatedHostUpdate

Constructor

DedicatedHostUpdate(*, tags: Dict[str, str] | None = None, platform_fault_domain: int | None = None, auto_replace_on_failure: bool | None = None, license_type: str | _models.DedicatedHostLicenseTypes | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
tags

Resource tags.

platform_fault_domain
int

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

auto_replace_on_failure

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

license_type

Specifies the software license type that will be applied to the VMs deployed on the dedicated host. <br>``<br> Possible values are: <br>``<br> None <br>``<br> Windows_Server_Hybrid <br>``<br> Windows_Server_Perpetual <br>``<br> Default: None. Known values are: "None", "Windows_Server_Hybrid", and "Windows_Server_Perpetual".

Variables

Name Description
tags

Resource tags.

platform_fault_domain
int

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

auto_replace_on_failure

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

host_id
str

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

virtual_machines

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

license_type

Specifies the software license type that will be applied to the VMs deployed on the dedicated host. <br>``<br> Possible values are: <br>``<br> None <br>``<br> Windows_Server_Hybrid <br>``<br> Windows_Server_Perpetual <br>``<br> Default: None. Known values are: "None", "Windows_Server_Hybrid", and "Windows_Server_Perpetual".

provisioning_time

The date when the host was first provisioned.

provisioning_state
str

The provisioning state, which only appears in the response.

instance_view

The dedicated host instance view.

time_created

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