SqlServerSecurityAlertPolicyOperations.DefinitionStages.WithState Interface

public interface WithState

The SQL Server Security Alert Policy definition to set the state.

Method Summary

Modifier and Type Method and Description
SqlServerSecurityAlertPolicyOperations.DefinitionStages.WithEmailAccountAdmins withState(SecurityAlertPolicyState state)

Specifies the state of the policy, whether it is enabled or disabled.

Method Details

withState

public 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