ServerSecurityAlertPolicies interface

Interface representing a ServerSecurityAlertPolicies.

Methods

beginCreateOrUpdate(string, string, string, ServerSecurityAlertPolicy, ServerSecurityAlertPoliciesCreateOrUpdateOptionalParams)

Creates or updates a threat detection policy.

beginCreateOrUpdateAndWait(string, string, string, ServerSecurityAlertPolicy, ServerSecurityAlertPoliciesCreateOrUpdateOptionalParams)

Creates or updates a threat detection policy.

get(string, string, string, ServerSecurityAlertPoliciesGetOptionalParams)

Get a server's security alert policy.

listByServer(string, string, ServerSecurityAlertPoliciesListByServerOptionalParams)

Get the server's threat detection policies.

Method Details

beginCreateOrUpdate(string, string, string, ServerSecurityAlertPolicy, ServerSecurityAlertPoliciesCreateOrUpdateOptionalParams)

Creates or updates a threat detection policy.

function beginCreateOrUpdate(resourceGroupName: string, serverName: string, securityAlertPolicyName: string, parameters: ServerSecurityAlertPolicy, options?: ServerSecurityAlertPoliciesCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<ServerSecurityAlertPolicy>, ServerSecurityAlertPolicy>>

Parameters

resourceGroupName

string

The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

serverName

string

The name of the server.

securityAlertPolicyName

string

The name of the threat detection policy.

parameters
ServerSecurityAlertPolicy

The server security alert policy.

Returns

beginCreateOrUpdateAndWait(string, string, string, ServerSecurityAlertPolicy, ServerSecurityAlertPoliciesCreateOrUpdateOptionalParams)

Creates or updates a threat detection policy.

function beginCreateOrUpdateAndWait(resourceGroupName: string, serverName: string, securityAlertPolicyName: string, parameters: ServerSecurityAlertPolicy, options?: ServerSecurityAlertPoliciesCreateOrUpdateOptionalParams): Promise<ServerSecurityAlertPolicy>

Parameters

resourceGroupName

string

The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

serverName

string

The name of the server.

securityAlertPolicyName

string

The name of the threat detection policy.

parameters
ServerSecurityAlertPolicy

The server security alert policy.

Returns

get(string, string, string, ServerSecurityAlertPoliciesGetOptionalParams)

Get a server's security alert policy.

function get(resourceGroupName: string, serverName: string, securityAlertPolicyName: string, options?: ServerSecurityAlertPoliciesGetOptionalParams): Promise<ServerSecurityAlertPolicy>

Parameters

resourceGroupName

string

The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

serverName

string

The name of the server.

securityAlertPolicyName

string

The name of the security alert policy.

options
ServerSecurityAlertPoliciesGetOptionalParams

The options parameters.

Returns

listByServer(string, string, ServerSecurityAlertPoliciesListByServerOptionalParams)

Get the server's threat detection policies.

function listByServer(resourceGroupName: string, serverName: string, options?: ServerSecurityAlertPoliciesListByServerOptionalParams): PagedAsyncIterableIterator<ServerSecurityAlertPolicy, ServerSecurityAlertPolicy[], PageSettings>

Parameters

resourceGroupName

string

The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

serverName

string

The name of the server.

Returns