Dela via


ArmDisasterRecoveryProperties Class

Definition

Properties required to the Create Or Update Alias(Disaster Recovery configurations)

[Microsoft.Azure.PowerShell.Cmdlets.EventHub.DoNotFormat]
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.ArmDisasterRecoveryPropertiesTypeConverter))]
public class ArmDisasterRecoveryProperties : Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.IArmDisasterRecoveryProperties
[<Microsoft.Azure.PowerShell.Cmdlets.EventHub.DoNotFormat>]
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.ArmDisasterRecoveryPropertiesTypeConverter))>]
type ArmDisasterRecoveryProperties = class
    interface IArmDisasterRecoveryProperties
    interface IJsonSerializable
Public Class ArmDisasterRecoveryProperties
Implements IArmDisasterRecoveryProperties
Inheritance
ArmDisasterRecoveryProperties
Attributes
Implements

Constructors

ArmDisasterRecoveryProperties()

Creates an new ArmDisasterRecoveryProperties instance.

Properties

AlternateName

Alternate name specified when alias and namespace names are same.

PartnerNamespace

ARM Id of the Primary/Secondary eventhub namespace name, which is part of GEO DR pairing

PendingReplicationOperationsCount

Number of entities pending to be replicated.

ProvisioningState

Provisioning state of the Alias(Disaster Recovery configuration) - possible values 'Accepted' or 'Succeeded' or 'Failed'

Role

role of namespace in GEO DR - possible values 'Primary' or 'PrimaryNotReplicating' or 'Secondary'

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ArmDisasterRecoveryProperties.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ArmDisasterRecoveryProperties.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.IArmDisasterRecoveryProperties.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of ArmDisasterRecoveryProperties into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to