CosmosDBFailoverPolicies 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.
The list of new failover policies for the failover priority change.
public class CosmosDBFailoverPolicies : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.CosmosDB.Models.CosmosDBFailoverPolicies>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.CosmosDB.Models.CosmosDBFailoverPolicies>
type CosmosDBFailoverPolicies = class
interface IJsonModel<CosmosDBFailoverPolicies>
interface IPersistableModel<CosmosDBFailoverPolicies>
Public Class CosmosDBFailoverPolicies
Implements IJsonModel(Of CosmosDBFailoverPolicies), IPersistableModel(Of CosmosDBFailoverPolicies)
- Inheritance
-
CosmosDBFailoverPolicies
- Implements
Constructors
CosmosDBFailoverPolicies(IEnumerable<CosmosDBFailoverPolicy>) |
Initializes a new instance of CosmosDBFailoverPolicies. |
Properties
FailoverPolicies |
List of failover policies. |
Methods
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) |
Explicit Interface Implementations
IJsonModel<CosmosDBFailoverPolicies>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<CosmosDBFailoverPolicies>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<CosmosDBFailoverPolicies>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<CosmosDBFailoverPolicies>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<CosmosDBFailoverPolicies>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |