ReplicationPolicy Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Replication policy.
public sealed class ReplicationPolicy : Microsoft.Azure.Documents.JsonSerializable
type ReplicationPolicy = class
inherit JsonSerializable
Public NotInheritable Class ReplicationPolicy
Inherits JsonSerializable
- Inheritance
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
Azure SDK for .NET