InstanceFailoverGroupInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. sql. fluent. models. InstanceFailoverGroupInner
- com.
- com.
public final class InstanceFailoverGroupInner
extends ProxyResource
An instance failover group.
Constructor Summary
Constructor | Description |
---|---|
InstanceFailoverGroupInner() |
Creates an instance of Instance |
Method Summary
Modifier and Type | Method and Description |
---|---|
List<Managed |
managedInstancePairs()
Get the managed |
List<Partner |
partnerRegions()
Get the partner |
Instance |
readOnlyEndpoint()
Get the read |
Instance |
readWriteEndpoint()
Get the read |
Instance |
replicationRole()
Get the replication |
String |
replicationState()
Get the replication |
void |
validate()
Validates the instance. |
Instance |
withManagedInstancePairs(List<ManagedInstancePairInfo> managedInstancePairs)
Set the managed |
Instance |
withPartnerRegions(List<PartnerRegionInfo> partnerRegions)
Set the partner |
Instance |
withReadOnlyEndpoint(InstanceFailoverGroupReadOnlyEndpoint readOnlyEndpoint)
Set the read |
Instance |
withReadWriteEndpoint(InstanceFailoverGroupReadWriteEndpoint readWriteEndpoint)
Set the read |
Methods inherited from ProxyResource
Methods inherited from java.lang.Object
Constructor Details
InstanceFailoverGroupInner
public InstanceFailoverGroupInner()
Creates an instance of InstanceFailoverGroupInner class.
Method Details
managedInstancePairs
public List
Get the managedInstancePairs property: List of managed instance pairs in the failover group.
Returns:
partnerRegions
public List
Get the partnerRegions property: Partner region information for the failover group.
Returns:
readOnlyEndpoint
public InstanceFailoverGroupReadOnlyEndpoint readOnlyEndpoint()
Get the readOnlyEndpoint property: Read-only endpoint of the failover group instance.
Returns:
readWriteEndpoint
public InstanceFailoverGroupReadWriteEndpoint readWriteEndpoint()
Get the readWriteEndpoint property: Read-write endpoint of the failover group instance.
Returns:
replicationRole
public InstanceFailoverGroupReplicationRole replicationRole()
Get the replicationRole property: Local replication role of the failover group instance.
Returns:
replicationState
public String replicationState()
Get the replicationState property: Replication state of the failover group instance.
Returns:
validate
public void validate()
Validates the instance.
withManagedInstancePairs
public InstanceFailoverGroupInner withManagedInstancePairs(List
Set the managedInstancePairs property: List of managed instance pairs in the failover group.
Parameters:
Returns:
withPartnerRegions
public InstanceFailoverGroupInner withPartnerRegions(List
Set the partnerRegions property: Partner region information for the failover group.
Parameters:
Returns:
withReadOnlyEndpoint
public InstanceFailoverGroupInner withReadOnlyEndpoint(InstanceFailoverGroupReadOnlyEndpoint readOnlyEndpoint)
Set the readOnlyEndpoint property: Read-only endpoint of the failover group instance.
Parameters:
Returns:
withReadWriteEndpoint
public InstanceFailoverGroupInner withReadWriteEndpoint(InstanceFailoverGroupReadWriteEndpoint readWriteEndpoint)
Set the readWriteEndpoint property: Read-write endpoint of the failover group instance.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for