你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ArmDisasterRecoveryInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. servicebus. fluent. models. ArmDisasterRecoveryInner
- com.
- com.
public final class ArmDisasterRecoveryInner
extends ProxyResource
Single item in List or Get Alias(Disaster Recovery configuration) operation.
Constructor Summary
Constructor | Description | |
---|---|---|
ArmDisasterRecoveryInner() |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
alternateName()
Get the alternate |
String |
location()
Get the location property: The geo-location where the resource lives. |
String |
partnerNamespace()
Get the partner |
Long |
pendingReplicationOperationsCount()
Get the pending |
Provisioning |
provisioningState()
Get the provisioning |
Role |
role()
Get the role property: role of namespace in GEO DR - possible values 'Primary' or 'Primary |
System |
systemData()
Get the system |
void |
validate()
Validates the instance. |
Arm |
withAlternateName(String alternateName)
Set the alternate |
Arm |
withPartnerNamespace(String partnerNamespace)
Set the partner |
Methods inherited from ProxyResource
Methods inherited from java.lang.Object
Constructor Details
ArmDisasterRecoveryInner
public ArmDisasterRecoveryInner()
Method Details
alternateName
public String alternateName()
Get the alternateName property: Primary/Secondary eventhub namespace name, which is part of GEO DR pairing.
Returns:
location
public String location()
Get the location property: The geo-location where the resource lives.
Returns:
partnerNamespace
public String partnerNamespace()
Get the partnerNamespace property: ARM Id of the Primary/Secondary eventhub namespace name, which is part of GEO DR pairing.
Returns:
pendingReplicationOperationsCount
public Long pendingReplicationOperationsCount()
Get the pendingReplicationOperationsCount property: Number of entities pending to be replicated.
Returns:
provisioningState
public ProvisioningStateDR provisioningState()
Get the provisioningState property: Provisioning state of the Alias(Disaster Recovery configuration) - possible values 'Accepted' or 'Succeeded' or 'Failed'.
Returns:
role
public RoleDisasterRecovery role()
Get the role property: role of namespace in GEO DR - possible values 'Primary' or 'PrimaryNotReplicating' or 'Secondary'.
Returns:
systemData
public SystemData systemData()
Get the systemData property: The system meta data relating to this resource.
Returns:
validate
public void validate()
Validates the instance.
withAlternateName
public ArmDisasterRecoveryInner withAlternateName(String alternateName)
Set the alternateName property: Primary/Secondary eventhub namespace name, which is part of GEO DR pairing.
Parameters:
Returns:
withPartnerNamespace
public ArmDisasterRecoveryInner withPartnerNamespace(String partnerNamespace)
Set the partnerNamespace property: ARM Id of the Primary/Secondary eventhub namespace name, which is part of GEO DR pairing.
Parameters:
Returns:
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈