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:

the next stage of the definition

withReadOnlyEndpointPolicyEnabled

public SqlFailoverGroupOperations.DefinitionStages.WithCreate withReadOnlyEndpointPolicyEnabled()

Sets the SQL Failover Group failover policy of the read-only endpoint to "Enabled".

Returns:

The next stage of the definition.

Applies to