DedicatedHostData 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.
A class representing the DedicatedHost data model. Specifies information about the Dedicated host.
public class DedicatedHostData : Azure.ResourceManager.Models.TrackedResourceData, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Compute.DedicatedHostData>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Compute.DedicatedHostData>
type DedicatedHostData = class
inherit TrackedResourceData
interface IJsonModel<DedicatedHostData>
interface IPersistableModel<DedicatedHostData>
Public Class DedicatedHostData
Inherits TrackedResourceData
Implements IJsonModel(Of DedicatedHostData), IPersistableModel(Of DedicatedHostData)
- Inheritance
- Implements
Constructors
DedicatedHostData(AzureLocation, ComputeSku) |
Initializes a new instance of DedicatedHostData. |
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. |
Id |
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. (Inherited from ResourceData) |
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.. |
Location |
The geo-location where the resource lives. (Inherited from TrackedResourceData) |
Name |
The name of the resource. (Inherited from ResourceData) |
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. |
ResourceType |
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". (Inherited from ResourceData) |
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. |
SystemData |
Azure Resource Manager metadata containing createdBy and modifiedBy information. (Inherited from ResourceData) |
Tags |
Resource tags. (Inherited from TrackedResourceData) |
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 TrackedResourceData) |
Explicit Interface Implementations
IJsonModel<DedicatedHostData>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<DedicatedHostData>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<DedicatedHostData>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<DedicatedHostData>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<DedicatedHostData>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |