SqlPoolSecurityAlertPolicy.DefinitionStages.WithState Interface

public static interface SqlPoolSecurityAlertPolicy.DefinitionStages.WithState

The stage of the SqlPoolSecurityAlertPolicy definition allowing to specify state.

Method Summary

Modifier and Type Method and Description
abstract WithCreate withState(SecurityAlertPolicyState state)

Specifies the state property: Specifies the state of the policy, whether it is enabled or disabled or a policy has not been applied yet on the specific Sql pool..

Method Details

withState

public abstract SqlPoolSecurityAlertPolicy.DefinitionStages.WithCreate withState(SecurityAlertPolicyState state)

Specifies the state property: Specifies the state of the policy, whether it is enabled or disabled or a policy has not been applied yet on the specific Sql pool..

Parameters:

state - Specifies the state of the policy, whether it is enabled or disabled or a policy has not been applied yet on the specific Sql pool.

Returns:

the next definition stage.

Applies to