你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ScVmmCloudCapacity Class

Definition

Cloud Capacity model.

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

Properties

CpuCount

CPUCount specifies the maximum number of CPUs that can be allocated in the cloud.

MemoryMB

MemoryMB specifies a memory usage limit in megabytes.

VmCount

VMCount gives the max number of VMs that can be deployed in the cloud.

Explicit Interface Implementations

IJsonModel<ScVmmCloudCapacity>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ScVmmCloudCapacity>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ScVmmCloudCapacity>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ScVmmCloudCapacity>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ScVmmCloudCapacity>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to