Condividi tramite


ThroughputPolicyResourceInfo Class

Definition

Cosmos DB resource throughput policy.

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

Constructors

ThroughputPolicyResourceInfo()

Initializes a new instance of ThroughputPolicyResourceInfo.

Properties

IncrementPercent

Represents the percentage by which throughput can increase every time throughput policy kicks in.

IsEnabled

Determines whether the ThroughputPolicy is active or not.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ThroughputPolicyResourceInfo>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ThroughputPolicyResourceInfo>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ThroughputPolicyResourceInfo>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ThroughputPolicyResourceInfo>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ThroughputPolicyResourceInfo>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to