InstanceFailoverGroupReadOnlyEndpoint Class
- java.
lang. Object - com.
microsoft. azure. management. sql. InstanceFailoverGroupReadOnlyEndpoint
- com.
public class InstanceFailoverGroupReadOnlyEndpoint
Read-only endpoint of the failover group instance.
Constructor Summary
Constructor | Description | |
---|---|---|
InstanceFailoverGroupReadOnlyEndpoint() |
Method Summary
Modifier and Type | Method and Description |
---|---|
Read |
failoverPolicy()
Get failover policy of the read-only endpoint for the failover group. |
Instance |
withFailoverPolicy(ReadOnlyEndpointFailoverPolicy failoverPolicy)
Set failover policy of the read-only endpoint for the failover group. |
Methods inherited from java.lang.Object
Constructor Details
InstanceFailoverGroupReadOnlyEndpoint
public InstanceFailoverGroupReadOnlyEndpoint()
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 InstanceFailoverGroupReadOnlyEndpoint 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.
Kommer snart: Under hela 2024 kommer vi att fasa ut GitHub-problem som feedbackmekanism för innehåll och ersätta det med ett nytt feedbacksystem. Mer information finns i:Skicka och visa feedback för