PartnerRegionInfo Class

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

public class PartnerRegionInfo

Partner region information for the failover group.

Constructor Summary

Constructor Description
PartnerRegionInfo()

Method Summary

Modifier and Type Method and Description
java.lang.String location()

Get geo location of the partner managed instances.

InstanceFailoverGroupReplicationRole replicationRole()

Get replication role of the partner managed instances.

PartnerRegionInfo withLocation(String location)

Set geo location of the partner managed instances.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

PartnerRegionInfo

public PartnerRegionInfo()

Method Details

location

public String location()

Get geo location of the partner managed instances.

Returns:

the location value

replicationRole

public InstanceFailoverGroupReplicationRole replicationRole()

Get replication role of the partner managed instances. Possible values include: 'Primary', 'Secondary'.

Returns:

the replicationRole value

withLocation

public PartnerRegionInfo withLocation(String location)

Set geo location of the partner managed instances.

Parameters:

location - the location value to set

Returns:

the PartnerRegionInfo object itself.

Applies to