SqlFailoverGroupOperations.DefinitionStages.WithReadOnlyEndpointPolicy Interface
public interface WithReadOnlyEndpointPolicy
The SQL Failover Group definition to set the failover policy of the read-only endpoint.
Method Summary
Modifier and Type | Method and Description |
---|---|
SqlFailoverGroupOperations.DefinitionStages.WithCreate |
withReadOnlyEndpointPolicyDisabled()
Sets the SQL Failover Group failover policy of the read-only endpoint to "Disabled". |
SqlFailoverGroupOperations.DefinitionStages.WithCreate |
withReadOnlyEndpointPolicyEnabled()
Sets the SQL Failover Group failover policy of the read-only endpoint to "Enabled". |
Method Details
withReadOnlyEndpointPolicyDisabled
public SqlFailoverGroupOperations.DefinitionStages.WithCreate withReadOnlyEndpointPolicyDisabled()
Sets the SQL Failover Group failover policy of the read-only endpoint to "Disabled".
Returns:
withReadOnlyEndpointPolicyEnabled
public SqlFailoverGroupOperations.DefinitionStages.WithCreate withReadOnlyEndpointPolicyEnabled()
Sets the SQL Failover Group failover policy of the read-only endpoint to "Enabled".
Returns:
Applies to
Azure SDK for Java