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 WithEmailAccountAdmins 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