你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ArmDisasterRecoveryInner Class

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 alternateName property: Primary/Secondary eventhub namespace name, which is part of GEO DR pairing.

String location()

Get the location property: The geo-location where the resource lives.

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'.

SystemData systemData()

Get the systemData property: The system meta data relating to this resource.

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.

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:

the alternateName value.

location

public String location()

Get the location property: The geo-location where the resource lives.

Returns:

the location value.

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:

the partnerNamespace value.

pendingReplicationOperationsCount

public Long pendingReplicationOperationsCount()

Get the pendingReplicationOperationsCount property: Number of entities pending to be replicated.

Returns:

the pendingReplicationOperationsCount value.

provisioningState

public ProvisioningStateDR provisioningState()

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

Returns:

the provisioningState value.

role

public RoleDisasterRecovery role()

Get the role property: role of namespace in GEO DR - possible values 'Primary' or 'PrimaryNotReplicating' or 'Secondary'.

Returns:

the role value.

systemData

public SystemData systemData()

Get the systemData property: The system meta data relating to this resource.

Returns:

the systemData value.

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:

alternateName - the alternateName value to set.

Returns:

the ArmDisasterRecoveryInner object itself.

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:

partnerNamespace - the partnerNamespace value to set.

Returns:

the ArmDisasterRecoveryInner object itself.

Applies to