DedicatedHostPatch Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- 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. |
Methods
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) | |
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) | (Inherited from ComputeResourcePatch) |
Explicit Interface Implementations
Applies to
Azure SDK for .NET