次の方法で共有


DedicatedHostAllocatableVm Class

Definition

Represents the dedicated host unutilized capacity in terms of a specific VM size.

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

Properties

Count

Maximum number of VMs of size vmSize that can fit in the dedicated host's remaining capacity.

VmSize

VM size in terms of which the unutilized capacity is represented.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<DedicatedHostAllocatableVm>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<DedicatedHostAllocatableVm>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DedicatedHostAllocatableVm>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DedicatedHostAllocatableVm>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<DedicatedHostAllocatableVm>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to