Condividi tramite


RedistributeThroughputPropertiesResource Class

Definition

Resource to redistribute throughput for Azure Cosmos DB resource.

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

Constructors

RedistributeThroughputPropertiesResource(ThroughputPolicyType, IEnumerable<PhysicalPartitionThroughputInfoResource>, IEnumerable<PhysicalPartitionThroughputInfoResource>)

Initializes a new instance of RedistributeThroughputPropertiesResource.

Properties

SourcePhysicalPartitionThroughputInfo

Array of PhysicalPartitionThroughputInfoResource objects.

TargetPhysicalPartitionThroughputInfo

Array of PhysicalPartitionThroughputInfoResource objects.

ThroughputPolicy

ThroughputPolicy to apply for throughput redistribution.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<RedistributeThroughputPropertiesResource>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<RedistributeThroughputPropertiesResource>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<RedistributeThroughputPropertiesResource>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<RedistributeThroughputPropertiesResource>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<RedistributeThroughputPropertiesResource>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to