ManagedInstancePairInfo Class
- java.
lang. Object - com.
microsoft. azure. management. sql. ManagedInstancePairInfo
- com.
public class ManagedInstancePairInfo
Pairs of Managed Instances in the failover group.
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
partnerManagedInstanceId()
Get id of Partner Managed Instance in pair. |
String |
primaryManagedInstanceId()
Get id of Primary Managed Instance in pair. |
Managed |
withPartnerManagedInstanceId(String partnerManagedInstanceId)
Set id of Partner Managed Instance in pair. |
Managed |
withPrimaryManagedInstanceId(String primaryManagedInstanceId)
Set id of Primary Managed Instance in pair. |
Method Details
partnerManagedInstanceId
public String partnerManagedInstanceId()
Get id of Partner Managed Instance in pair.
Returns:
primaryManagedInstanceId
public String primaryManagedInstanceId()
Get id of Primary Managed Instance in pair.
Returns:
withPartnerManagedInstanceId
public ManagedInstancePairInfo withPartnerManagedInstanceId(String partnerManagedInstanceId)
Set id of Partner Managed Instance in pair.
Parameters:
Returns:
withPrimaryManagedInstanceId
public ManagedInstancePairInfo withPrimaryManagedInstanceId(String primaryManagedInstanceId)
Set id of Primary Managed Instance in pair.
Parameters:
Returns:
Applies to
Azure SDK for Java