DedicatedHostPatch Class

Definition

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

public class DedicatedHostPatch : Azure.ResourceManager.Compute.Models.ComputeResourcePatch, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Compute.Models.DedicatedHostPatch>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Compute.Models.DedicatedHostPatch>
type DedicatedHostPatch = class
    inherit ComputeResourcePatch
    interface IJsonModel<DedicatedHostPatch>
    interface IPersistableModel<DedicatedHostPatch>
Public Class DedicatedHostPatch
Inherits ComputeResourcePatch
Implements IJsonModel(Of DedicatedHostPatch), IPersistableModel(Of DedicatedHostPatch)
Inheritance
DedicatedHostPatch
Implements

Constructors

DedicatedHostPatch()

Initializes a new instance of DedicatedHostPatch.

Properties

AutoReplaceOnFailure

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

HostId

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

InstanceView

The dedicated host instance view.

LicenseType

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

PlatformFaultDomain

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

ProvisioningOn

The date when the host was first provisioned.

ProvisioningState

The provisioning state, which only appears in the response.

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.

Tags

Resource tags.

(Inherited from ComputeResourcePatch)
TimeCreated

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

VirtualMachines

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

Explicit Interface Implementations

IJsonModel<ComputeResourcePatch>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

(Inherited from ComputeResourcePatch)
IJsonModel<ComputeResourcePatch>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from ComputeResourcePatch)
IJsonModel<DedicatedHostPatch>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<DedicatedHostPatch>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ComputeResourcePatch>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from ComputeResourcePatch)
IPersistableModel<ComputeResourcePatch>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

(Inherited from ComputeResourcePatch)
IPersistableModel<ComputeResourcePatch>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from ComputeResourcePatch)
IPersistableModel<DedicatedHostPatch>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DedicatedHostPatch>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<DedicatedHostPatch>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to