Compartilhar via


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<PollerLike<PollOperationState<ServerSecurityAlertPolicy>, ServerSecurityAlertPolicy>>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

serverName

string

The name of the server.

securityAlertPolicyName

string

The name of the threat detection policy.

parameters
ServerSecurityAlertPolicy

The server security alert policy.

Returns

Promise<PollerLike<@azure/core-lro.PollOperationState<ServerSecurityAlertPolicy>, ServerSecurityAlertPolicy>>

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. The name is case insensitive.

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. The name is case insensitive.

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. The name is case insensitive.

serverName

string

The name of the server.

Returns