Partilhar via


MongoClusterReplicationProperties Class

Definition

Replica properties of the mongo cluster.

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

Properties

ReplicationState

The replication link state of the replica cluster.

Role

The replication role of the cluster.

SourceResourceId

The resource id the source cluster for the replica cluster.

Explicit Interface Implementations

IJsonModel<MongoClusterReplicationProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<MongoClusterReplicationProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<MongoClusterReplicationProperties>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<MongoClusterReplicationProperties>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<MongoClusterReplicationProperties>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to