다음을 통해 공유


ReplicationPolicy Class

Definition

Replication policy.

public sealed class ReplicationPolicy : Microsoft.Azure.Documents.JsonSerializable
type ReplicationPolicy = class
    inherit JsonSerializable
Public NotInheritable Class ReplicationPolicy
Inherits JsonSerializable
Inheritance
ReplicationPolicy

Constructors

ReplicationPolicy()

Constructor.

Properties

AsyncReplication

Whether or not async replication is enabled.

MaxReplicaSetSize

Maximum number of replicas for the partition.

MinReplicaSetSize

Minimum number of replicas to ensure availability of the partition.

Methods

LoadFrom(JsonReader, JsonSerializerSettings)

Loads the object from the specified JSON reader in the Azure Cosmos DB service.

(Inherited from JsonSerializable)
LoadFrom(JsonReader)

Loads the object from the specified JSON reader in the Azure Cosmos DB service.

(Inherited from JsonSerializable)
SaveTo(Stream, SerializationFormattingPolicy, JsonSerializerSettings)

Saves the object to the specified stream in the Azure Cosmos DB service.

(Inherited from JsonSerializable)
SaveTo(Stream, SerializationFormattingPolicy)

Saves the object to the specified stream in the Azure Cosmos DB service.

(Inherited from JsonSerializable)
ToString()

Returns the string representation of the object in the Azure Cosmos DB service.

(Inherited from JsonSerializable)

Applies to