SqlFailoverGroupOperations.DefinitionStages.WithReadOnlyEndpointPolicy Interface

public static interface SqlFailoverGroupOperations.DefinitionStages.WithReadOnlyEndpointPolicy

The SQL Failover Group definition to set the failover policy of the read-only endpoint.

Method Summary

Modifier and Type Method and Description
abstract WithCreate withReadOnlyEndpointPolicyDisabled()

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

abstract WithCreate withReadOnlyEndpointPolicyEnabled()

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

Method Details

withReadOnlyEndpointPolicyDisabled

public abstract 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 abstract 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