다음을 통해 공유


StampCapacity Class

Definition

Stamp capacity information.

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

Properties

AvailableCapacity

Available capacity (# of machines, bytes of storage etc...).

ComputeMode

Shared/dedicated workers.

ExcludeFromCapacityAllocation

If <code>true</code>, it includes basic apps. Basic apps are not used for capacity allocation.

IsApplicableForAllComputeModes

<code>true</code> if capacity is applicable for all apps; otherwise, <code>false</code>.

IsLinux

Is this a linux stamp capacity.

Name

Name of the stamp.

SiteMode

Shared or Dedicated.

TotalCapacity

Total capacity (# of machines, bytes of storage etc...).

Unit

Name of the unit.

WorkerSize

Size of the machines.

WorkerSizeId

Size ID of machines: 0 - Small 1 - Medium 2 - Large

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<StampCapacity>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<StampCapacity>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<StampCapacity>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<StampCapacity>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<StampCapacity>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to