共用方式為


DedicatedHostUpdate Class

Definition

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

[Microsoft.Rest.Serialization.JsonTransformation]
public class DedicatedHostUpdate : Microsoft.Azure.Management.Compute.Fluent.Models.UpdateResource
[<Microsoft.Rest.Serialization.JsonTransformation>]
type DedicatedHostUpdate = class
    inherit UpdateResource
Public Class DedicatedHostUpdate
Inherits UpdateResource
Inheritance
DedicatedHostUpdate
Attributes

Constructors

DedicatedHostUpdate()

Initializes a new instance of the DedicatedHostUpdate class.

DedicatedHostUpdate(IDictionary<String,String>, Nullable<Int32>, Nullable<Boolean>, String, IList<SubResourceReadOnly>, Nullable<DedicatedHostLicenseTypes>, Nullable<DateTime>, String, DedicatedHostInstanceView)

Initializes a new instance of the DedicatedHostUpdate class.

Properties

AutoReplaceOnFailure

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

HostId

Gets a unique id generated and assigned to the dedicated host by the platform. &lt;br&gt;&lt;br&gt; Does not change throughout the lifetime of the host.

InstanceView

Gets the dedicated host instance view.

LicenseType

Gets or sets specifies the software license type that will be applied to the VMs deployed on the dedicated host. &lt;br&gt;&lt;br&gt; Possible values are: &lt;br&gt;&lt;br&gt; None &lt;br&gt;&lt;br&gt; Windows_Server_Hybrid &lt;br&gt;&lt;br&gt; Windows_Server_Perpetual &lt;br&gt;&lt;br&gt; Default: None. Possible values include: 'None', 'Windows_Server_Hybrid', 'Windows_Server_Perpetual'

PlatformFaultDomain

Gets or sets fault domain of the dedicated host within a dedicated host group.

ProvisioningState

Gets the provisioning state, which only appears in the response.

ProvisioningTime

Gets the date when the host was first provisioned.

Tags

Gets or sets resource tags

(Inherited from UpdateResource)
VirtualMachines

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

Methods

Validate()

Validate the object.

Applies to