SqlServerSecurityAlertPolicyOperations.DefinitionStages.WithState Interface
public static interface SqlServerSecurityAlertPolicyOperations.DefinitionStages.WithState
The SQL Server Security Alert Policy definition to set the state.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract
With |
withState(SecurityAlertPolicyState state)
Specifies the state of the policy, whether it is enabled or disabled. |
Method Details
withState
public abstract 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.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java