Compartilhar via


ArmDisasterRecovery Class

Definition

Single item in List or Get Alias(Disaster Recovery configuration) operation

[Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.DoNotFormat]
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ArmDisasterRecoveryTypeConverter))]
public class ArmDisasterRecovery : Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IArmDisasterRecovery, Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Runtime.IValidates
[<Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.DoNotFormat>]
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ArmDisasterRecoveryTypeConverter))>]
type ArmDisasterRecovery = class
    interface IArmDisasterRecovery
    interface IJsonSerializable
    interface IProxyResource
    interface IValidates
Public Class ArmDisasterRecovery
Implements IArmDisasterRecovery, IValidates
Inheritance
ArmDisasterRecovery
Attributes
Implements

Constructors

ArmDisasterRecovery()

Creates an new ArmDisasterRecovery instance.

Properties

AlternateName

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

Id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

Location

The geo-location where the resource lives

Name

The name of the resource

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'

ResourceGroupName

Gets the resource group name

Role

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

SystemDataCreatedAt

The timestamp of resource creation (UTC).

SystemDataCreatedBy

The identity that created the resource.

SystemDataCreatedByType

The type of identity that created the resource.

SystemDataLastModifiedAt

The type of identity that last modified the resource.

SystemDataLastModifiedBy

The identity that last modified the resource.

SystemDataLastModifiedByType

The type of identity that last modified the resource.

Type

The type of the resource. E.g. "Microsoft.EventHub/Namespaces" or "Microsoft.EventHub/Namespaces/EventHubs"

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ArmDisasterRecovery.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ArmDisasterRecovery.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IArmDisasterRecovery.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of ArmDisasterRecovery into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to