Delen via


ArmDisasterRecovery Constructors

Definition

Overloads

ArmDisasterRecovery()

Initializes a new instance of the ArmDisasterRecovery class.

ArmDisasterRecovery(String, String, String, String, Nullable<ProvisioningStateDR>, String, String, Nullable<RoleDisasterRecovery>, Nullable<Int64>, SystemData)

Initializes a new instance of the ArmDisasterRecovery class.

ArmDisasterRecovery()

Initializes a new instance of the ArmDisasterRecovery class.

public ArmDisasterRecovery ();
Public Sub New ()

Applies to

ArmDisasterRecovery(String, String, String, String, Nullable<ProvisioningStateDR>, String, String, Nullable<RoleDisasterRecovery>, Nullable<Int64>, SystemData)

Initializes a new instance of the ArmDisasterRecovery class.

public ArmDisasterRecovery (string id = default, string name = default, string type = default, string location = default, Microsoft.Azure.Management.EventHub.Models.ProvisioningStateDR? provisioningState = default, string partnerNamespace = default, string alternateName = default, Microsoft.Azure.Management.EventHub.Models.RoleDisasterRecovery? role = default, long? pendingReplicationOperationsCount = default, Microsoft.Azure.Management.EventHub.Models.SystemData systemData = default);
new Microsoft.Azure.Management.EventHub.Models.ArmDisasterRecovery : string * string * string * string * Nullable<Microsoft.Azure.Management.EventHub.Models.ProvisioningStateDR> * string * string * Nullable<Microsoft.Azure.Management.EventHub.Models.RoleDisasterRecovery> * Nullable<int64> * Microsoft.Azure.Management.EventHub.Models.SystemData -> Microsoft.Azure.Management.EventHub.Models.ArmDisasterRecovery
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional location As String = Nothing, Optional provisioningState As Nullable(Of ProvisioningStateDR) = Nothing, Optional partnerNamespace As String = Nothing, Optional alternateName As String = Nothing, Optional role As Nullable(Of RoleDisasterRecovery) = Nothing, Optional pendingReplicationOperationsCount As Nullable(Of Long) = Nothing, Optional systemData As SystemData = Nothing)

Parameters

id
String

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

name
String

The name of the resource

type
String

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

location
String

The geo-location where the resource lives

provisioningState
Nullable<ProvisioningStateDR>

Provisioning state of the Alias(Disaster Recovery configuration) - possible values 'Accepted' or 'Succeeded' or 'Failed'. Possible values include: 'Accepted', 'Succeeded', 'Failed'

partnerNamespace
String

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

alternateName
String

Alternate name specified when alias and namespace names are same.

role
Nullable<RoleDisasterRecovery>

role of namespace in GEO DR - possible values 'Primary' or 'PrimaryNotReplicating' or 'Secondary'. Possible values include: 'Primary', 'PrimaryNotReplicating', 'Secondary'

pendingReplicationOperationsCount
Nullable<Int64>

Number of entities pending to be replicated.

systemData
SystemData

The system meta data relating to this resource.

Applies to