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.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, Nullable<DateTime>, Sku)

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

Sku

Gets or sets [List all available dedicated host sizes for resizing] (https://docs.microsoft.com/rest/api/compute/dedicated-hosts/listavailablesizes). Resizing can be only used to scale up DedicatedHost. Only name is required to be set.

Tags

Gets or sets resource tags

(Inherited from UpdateResource)
TimeCreated

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

VirtualMachines

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

Methods

Validate()

Validate the object.

Applies to