Dela via


DedicatedHost Class

Definition

Specifies information about the Dedicated host.

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

Constructors

DedicatedHost()

Initializes a new instance of the DedicatedHost class.

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

Initializes a new instance of the DedicatedHost 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.

Id

Gets resource Id

(Inherited from Resource)
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'

Location

Gets or sets resource location

(Inherited from Resource)
Name

Gets resource name

(Inherited from Resource)
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 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.

Tags

Gets or sets resource tags

(Inherited from Resource)
TimeCreated

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

Type

Gets resource type

(Inherited from Resource)
VirtualMachines

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

Methods

Validate()

Validate the object.

Applies to