FailoverGroupReadOnlyEndpoint Class
- java.
lang. Object - com.
microsoft. azure. management. sql. FailoverGroupReadOnlyEndpoint
- com.
public class FailoverGroupReadOnlyEndpoint
Read-only endpoint of the failover group instance.
Constructor Summary
Constructor | Description | |
---|---|---|
FailoverGroupReadOnlyEndpoint() |
Method Summary
Modifier and Type | Method and Description |
---|---|
Read |
failoverPolicy()
Get failover policy of the read-only endpoint for the failover group. |
Failover |
withFailoverPolicy(ReadOnlyEndpointFailoverPolicy failoverPolicy)
Set failover policy of the read-only endpoint for the failover group. |
Methods inherited from java.lang.Object
Constructor Details
FailoverGroupReadOnlyEndpoint
public FailoverGroupReadOnlyEndpoint()
Method Details
failoverPolicy
public ReadOnlyEndpointFailoverPolicy failoverPolicy()
Get failover policy of the read-only endpoint for the failover group. Possible values include: 'Disabled', 'Enabled'.
Returns:
withFailoverPolicy
public FailoverGroupReadOnlyEndpoint withFailoverPolicy(ReadOnlyEndpointFailoverPolicy failoverPolicy)
Set failover policy of the read-only endpoint for the failover group. Possible values include: 'Disabled', 'Enabled'.
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