PartnerInfo Class

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

public class PartnerInfo

Partner server information for the failover group.

Constructor Summary

Constructor Description
PartnerInfo()

Method Summary

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

Get resource identifier of the partner server.

java.lang.String location()

Get geo location of the partner server.

FailoverGroupReplicationRole replicationRole()

Get replication role of the partner server.

PartnerInfo withId(String id)

Set resource identifier of the partner server.

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

PartnerInfo

public PartnerInfo()

Method Details

id

public String id()

Get resource identifier of the partner server.

Returns:

the id value

location

public String location()

Get geo location of the partner server.

Returns:

the location value

replicationRole

public FailoverGroupReplicationRole replicationRole()

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

Returns:

the replicationRole value

withId

public PartnerInfo withId(String id)

Set resource identifier of the partner server.

Parameters:

id - the id value to set

Returns:

the PartnerInfo object itself.

Applies to