Share via


AutoscaleSettingsResourceInfo Class

Definition

Cosmos DB provisioned throughput settings object.

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

Constructors

AutoscaleSettingsResourceInfo(Int32)

Initializes a new instance of AutoscaleSettingsResourceInfo.

Properties

AutoUpgradeThroughputPolicy

Represents throughput policy which service must adhere to for auto-upgrade.

MaxThroughput

Represents maximum throughput container can scale up to.

TargetMaxThroughput

Represents target maximum throughput container can scale up to once offer is no longer in pending state.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<AutoscaleSettingsResourceInfo>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<AutoscaleSettingsResourceInfo>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<AutoscaleSettingsResourceInfo>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<AutoscaleSettingsResourceInfo>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<AutoscaleSettingsResourceInfo>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to