ServerSecurityAlertPolicy.DefinitionStages.WithState Interface

public static interface ServerSecurityAlertPolicy.DefinitionStages.WithState

The stage of the ServerSecurityAlertPolicy 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 server.

Method Details

withState

public abstract ServerSecurityAlertPolicy.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 server.

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 server.

Returns:

the next definition stage.

Applies to