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() |
Creates an instance of Arm |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
alternateName()
Get the alternate |
static
Arm |
fromJson(JsonReader jsonReader)
Reads an instance of Arm |
String |
id()
Get the id property: Fully qualified resource Id for the resource. |
String |
location()
Get the location property: The geo-location where the resource lives. |
String |
name()
Get the name property: The name of the resource. |
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 |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: The type of the resource. |
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()
Creates an instance of ArmDisasterRecoveryInner class.
Method Details
alternateName
public String alternateName()
Get the alternateName property: Primary/Secondary eventhub namespace name, which is part of GEO DR pairing.
Returns:
fromJson
public static ArmDisasterRecoveryInner fromJson(JsonReader jsonReader)
Reads an instance of ArmDisasterRecoveryInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
ArmDisasterRecoveryInner.id()Returns:
location
public String location()
Get the location property: The geo-location where the resource lives.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
ArmDisasterRecoveryInner.name()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:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
ArmDisasterRecoveryInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
ArmDisasterRecoveryInner.type()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
Azure SDK for Java