Dela via


ArmServiceBusModelFactory.ServiceBusDisasterRecoveryData Method

Definition

Initializes a new instance of ServiceBusDisasterRecoveryData.

public static Azure.ResourceManager.ServiceBus.ServiceBusDisasterRecoveryData ServiceBusDisasterRecoveryData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.ResourceManager.ServiceBus.Models.ServiceBusDisasterRecoveryProvisioningState? provisioningState = default, long? pendingReplicationOperationsCount = default, string partnerNamespace = default, string alternateName = default, Azure.ResourceManager.ServiceBus.Models.ServiceBusDisasterRecoveryRole? role = default, Azure.Core.AzureLocation? location = default);
static member ServiceBusDisasterRecoveryData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<Azure.ResourceManager.ServiceBus.Models.ServiceBusDisasterRecoveryProvisioningState> * Nullable<int64> * string * string * Nullable<Azure.ResourceManager.ServiceBus.Models.ServiceBusDisasterRecoveryRole> * Nullable<Azure.Core.AzureLocation> -> Azure.ResourceManager.ServiceBus.ServiceBusDisasterRecoveryData
Public Shared Function ServiceBusDisasterRecoveryData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional provisioningState As Nullable(Of ServiceBusDisasterRecoveryProvisioningState) = Nothing, Optional pendingReplicationOperationsCount As Nullable(Of Long) = Nothing, Optional partnerNamespace As String = Nothing, Optional alternateName As String = Nothing, Optional role As Nullable(Of ServiceBusDisasterRecoveryRole) = Nothing, Optional location As Nullable(Of AzureLocation) = Nothing) As ServiceBusDisasterRecoveryData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

provisioningState
Nullable<ServiceBusDisasterRecoveryProvisioningState>

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

pendingReplicationOperationsCount
Nullable<Int64>

Number of entities pending to be replicated.

partnerNamespace
String

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

alternateName
String

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

role
Nullable<ServiceBusDisasterRecoveryRole>

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

location
Nullable<AzureLocation>

The geo-location where the resource lives.

Returns

A new ServiceBusDisasterRecoveryData instance for mocking.

Applies to