Interface SqlFailoverGroupOperations.DefinitionStages.WithReadOnlyEndpointPolicy
- All Known Subinterfaces:
SqlFailoverGroupOperations.DefinitionStages.WithCreate
,SqlFailoverGroupOperations.DefinitionStages.WithPartnerServer
,SqlFailoverGroupOperations.SqlFailoverGroupOperationsDefinition
- Enclosing interface:
- SqlFailoverGroupOperations.DefinitionStages
@Beta(V1_8_0)
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 TypeMethodDescriptionSets the SQL Failover Group failover policy of the read-only endpoint to "Disabled".Sets the SQL Failover Group failover policy of the read-only endpoint to "Enabled".
-
Method Details
-
withReadOnlyEndpointPolicyEnabled
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.
-
withReadOnlyEndpointPolicyDisabled
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
-