Class FailoverGroupReadOnlyEndpoint
java.lang.Object
com.microsoft.azure.management.sql.FailoverGroupReadOnlyEndpoint
Read-only endpoint of the failover group instance.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet failover policy of the read-only endpoint for the failover group.withFailoverPolicy
(ReadOnlyEndpointFailoverPolicy failoverPolicy) Set failover policy of the read-only endpoint for the failover group.
-
Constructor Details
-
FailoverGroupReadOnlyEndpoint
public FailoverGroupReadOnlyEndpoint()
-
-
Method Details
-
failoverPolicy
Get failover policy of the read-only endpoint for the failover group. Possible values include: 'Disabled', 'Enabled'.- Returns:
- the failoverPolicy value
-
withFailoverPolicy
public FailoverGroupReadOnlyEndpoint withFailoverPolicy(ReadOnlyEndpointFailoverPolicy failoverPolicy) Set failover policy of the read-only endpoint for the failover group. Possible values include: 'Disabled', 'Enabled'.- Parameters:
failoverPolicy
- the failoverPolicy value to set- Returns:
- the FailoverGroupReadOnlyEndpoint object itself.
-