Interface SqlServerSecurityAlertPolicyOperations.DefinitionStages.WithState
- All Known Subinterfaces:
SqlServerSecurityAlertPolicyOperations.SqlServerSecurityAlertPolicyOperationsDefinition
- Enclosing interface:
- SqlServerSecurityAlertPolicyOperations.DefinitionStages
@Beta(V1_15_0)
public static interface SqlServerSecurityAlertPolicyOperations.DefinitionStages.WithState
The SQL Server Security Alert Policy definition to set the state.
-
Method Summary
Modifier and TypeMethodDescriptionSpecifies the state of the policy, whether it is enabled or disabled.
-
Method Details
-
withState
SqlServerSecurityAlertPolicyOperations.DefinitionStages.WithEmailAccountAdmins withState(SecurityAlertPolicyState state) Specifies the state of the policy, whether it is enabled or disabled.- Parameters:
state
- the state of the policy, whether it is enabled or disabled- Returns:
- The next stage of the definition.
-