public class ArmDisasterRecoveryInner
extends com.azure.core.management.ProxyResource
| Constructor and Description |
|---|
ArmDisasterRecoveryInner() |
| Modifier and Type | Method and Description |
|---|---|
String |
alternateName()
Get the alternateName property: Primary/Secondary eventhub namespace name, which is part of GEO DR pairing.
|
String |
partnerNamespace()
Get the partnerNamespace property: ARM Id of the Primary/Secondary eventhub namespace name, which is part of GEO
DR pairing.
|
Long |
pendingReplicationOperationsCount()
Get the pendingReplicationOperationsCount property: Number of entities pending to be replicated.
|
ProvisioningStateDR |
provisioningState()
Get the provisioningState property: Provisioning state of the Alias(Disaster Recovery configuration) - possible
values 'Accepted' or 'Succeeded' or 'Failed'.
|
RoleDisasterRecovery |
role()
Get the role property: role of namespace in GEO DR - possible values 'Primary' or 'PrimaryNotReplicating' or
'Secondary'.
|
void |
validate()
Validates the instance.
|
ArmDisasterRecoveryInner |
withAlternateName(String alternateName)
Set the alternateName property: Primary/Secondary eventhub namespace name, which is part of GEO DR pairing.
|
ArmDisasterRecoveryInner |
withPartnerNamespace(String partnerNamespace)
Set the partnerNamespace property: ARM Id of the Primary/Secondary eventhub namespace name, which is part of GEO
DR pairing.
|
public ProvisioningStateDR provisioningState()
public Long pendingReplicationOperationsCount()
public String partnerNamespace()
public ArmDisasterRecoveryInner withPartnerNamespace(String partnerNamespace)
partnerNamespace - the partnerNamespace value to set.public String alternateName()
public ArmDisasterRecoveryInner withAlternateName(String alternateName)
alternateName - the alternateName value to set.public RoleDisasterRecovery role()
public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.