ManagedInstancePairInfo Class

  • java.lang.Object
    • com.microsoft.azure.management.sql.ManagedInstancePairInfo

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.

ManagedInstancePairInfo withPartnerManagedInstanceId(String partnerManagedInstanceId)

Set id of Partner Managed Instance in pair.

ManagedInstancePairInfo 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:

the partnerManagedInstanceId value

primaryManagedInstanceId

public String primaryManagedInstanceId()

Get id of Primary Managed Instance in pair.

Returns:

the primaryManagedInstanceId value

withPartnerManagedInstanceId

public ManagedInstancePairInfo withPartnerManagedInstanceId(String partnerManagedInstanceId)

Set id of Partner Managed Instance in pair.

Parameters:

partnerManagedInstanceId - the partnerManagedInstanceId value to set

Returns:

the ManagedInstancePairInfo object itself.

withPrimaryManagedInstanceId

public ManagedInstancePairInfo withPrimaryManagedInstanceId(String primaryManagedInstanceId)

Set id of Primary Managed Instance in pair.

Parameters:

primaryManagedInstanceId - the primaryManagedInstanceId value to set

Returns:

the ManagedInstancePairInfo object itself.

Applies to