PartnerInfo Class
- java.
lang. Object - com.
microsoft. azure. management. sql. PartnerInfo
- com.
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. |
Failover |
replicationRole()
Get replication role of the partner server. |
Partner |
withId(String id)
Set resource identifier of the partner server. |
Methods inherited from java.lang.Object
Constructor Details
PartnerInfo
public PartnerInfo()
Method Details
id
public String id()
Get resource identifier of the partner server.
Returns:
location
public String location()
Get geo location of the partner server.
Returns:
replicationRole
public FailoverGroupReplicationRole replicationRole()
Get replication role of the partner server. Possible values include: 'Primary', 'Secondary'.
Returns:
withId
public PartnerInfo withId(String id)
Set resource identifier of the partner server.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Binnenkort beschikbaar: In de loop van 2024 zullen we GitHub-problemen geleidelijk uitfaseren als het feedbackmechanisme voor inhoud en deze vervangen door een nieuw feedbacksysteem. Zie voor meer informatie:Feedback verzenden en weergeven voor