Language

ReplicationProperties Class

Definition

Replica properties of the mongo cluster.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DocumentDB.Models.ReplicationPropertiesTypeConverter))]
public class ReplicationProperties : Microsoft.Azure.PowerShell.Cmdlets.DocumentDB.Models.IReplicationProperties
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DocumentDB.Models.ReplicationPropertiesTypeConverter))>]
type ReplicationProperties = class
    interface IReplicationProperties
    interface IJsonSerializable
Public Class ReplicationProperties
Implements IReplicationProperties
Inheritance
ReplicationProperties
Attributes
Implements

Constructors

Name Description
ReplicationProperties()

Creates an new ReplicationProperties instance.

Properties

Name Description
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.

Methods

Name Description
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ReplicationProperties.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ReplicationProperties.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.DocumentDB.Models.IReplicationProperties.

FromJsonString(String)

Creates a new instance of ReplicationProperties, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of ReplicationProperties into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to