Condividi tramite


DedicatedHostInner Constructors

Definition

Overloads

DedicatedHostInner()

Initializes a new instance of the DedicatedHostInner class.

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

Initializes a new instance of the DedicatedHostInner class.

DedicatedHostInner()

Initializes a new instance of the DedicatedHostInner class.

public DedicatedHostInner ();
Public Sub New ()

Applies to

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

Initializes a new instance of the DedicatedHostInner class.

public DedicatedHostInner (string location, Microsoft.Azure.Management.Compute.Fluent.Models.Sku sku, string id = default, string name = default, string type = default, 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.Fluent.Models.SubResourceReadOnly> virtualMachines = default, Microsoft.Azure.Management.Compute.Fluent.Models.DedicatedHostLicenseTypes? licenseType = default, DateTime? provisioningTime = default, string provisioningState = default, Microsoft.Azure.Management.Compute.Fluent.Models.DedicatedHostInstanceView instanceView = default);
new Microsoft.Azure.Management.Compute.Fluent.Models.DedicatedHostInner : string * Microsoft.Azure.Management.Compute.Fluent.Models.Sku * string * string * string * System.Collections.Generic.IDictionary<string, string> * Nullable<int> * Nullable<bool> * string * System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Fluent.Models.SubResourceReadOnly> * Nullable<Microsoft.Azure.Management.Compute.Fluent.Models.DedicatedHostLicenseTypes> * Nullable<DateTime> * string * Microsoft.Azure.Management.Compute.Fluent.Models.DedicatedHostInstanceView -> Microsoft.Azure.Management.Compute.Fluent.Models.DedicatedHostInner
Public Sub New (location As String, sku As Sku, Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, 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)

Parameters

location
String
sku
Sku

SKU of the dedicated host for Hardware Generation and VM family. Only name is required to be set. List Microsoft.Compute SKUs for a list of possible values.

id
String
name
String
type
String
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. <br><br> 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. <br><br> Possible values are: <br><br> None <br><br> Windows_Server_Hybrid <br><br> Windows_Server_Perpetual <br><br> Default: 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.

Applies to