Share via


DedicatedHostUpdate Constructors

Definition

Overloads

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.

DedicatedHostUpdate()

Initializes a new instance of the DedicatedHostUpdate class.

public DedicatedHostUpdate ();
Public Sub New ()

Applies to

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.

public DedicatedHostUpdate (System.Collections.Generic.IDictionary<string,string> tags = default, int? platformFaultDomain = default, bool? autoReplaceOnFailure = default, string hostId = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.SubResourceReadOnly> virtualMachines = default, Microsoft.Azure.Management.Compute.Models.DedicatedHostLicenseTypes? licenseType = default, DateTime? provisioningTime = default, string provisioningState = default, Microsoft.Azure.Management.Compute.Models.DedicatedHostInstanceView instanceView = default, DateTime? timeCreated = default, Microsoft.Azure.Management.Compute.Models.Sku sku = default);
new Microsoft.Azure.Management.Compute.Models.DedicatedHostUpdate : System.Collections.Generic.IDictionary<string, string> * Nullable<int> * Nullable<bool> * string * System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.SubResourceReadOnly> * Nullable<Microsoft.Azure.Management.Compute.Models.DedicatedHostLicenseTypes> * Nullable<DateTime> * string * Microsoft.Azure.Management.Compute.Models.DedicatedHostInstanceView * Nullable<DateTime> * Microsoft.Azure.Management.Compute.Models.Sku -> Microsoft.Azure.Management.Compute.Models.DedicatedHostUpdate
Public Sub New (Optional tags As IDictionary(Of String, String) = Nothing, Optional platformFaultDomain As Nullable(Of Integer) = Nothing, Optional autoReplaceOnFailure As Nullable(Of Boolean) = Nothing, Optional hostId As String = Nothing, Optional virtualMachines As IList(Of SubResourceReadOnly) = Nothing, Optional licenseType As Nullable(Of DedicatedHostLicenseTypes) = Nothing, Optional provisioningTime As Nullable(Of DateTime) = Nothing, Optional provisioningState As String = Nothing, Optional instanceView As DedicatedHostInstanceView = Nothing, Optional timeCreated As Nullable(Of DateTime) = Nothing, Optional sku As Sku = Nothing)

Parameters

tags
IDictionary<String,String>

Resource tags

platformFaultDomain
Nullable<Int32>

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

autoReplaceOnFailure
Nullable<Boolean>

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

hostId
String

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

virtualMachines
IList<SubResourceReadOnly>

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

licenseType
Nullable<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.. Possible values include: 'None', 'Windows_Server_Hybrid', 'Windows_Server_Perpetual'

provisioningTime
Nullable<DateTime>

The date when the host was first provisioned.

provisioningState
String

The provisioning state, which only appears in the response.

instanceView
DedicatedHostInstanceView

The dedicated host instance view.

timeCreated
Nullable<DateTime>

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

sku
Sku

[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.

Applies to