SqlPoolSecurityAlertPolicies interface

Interface representing a SqlPoolSecurityAlertPolicies.

Methods

createOrUpdate(string, string, string, string, SqlPoolSecurityAlertPolicy, SqlPoolSecurityAlertPoliciesCreateOrUpdateOptionalParams)

Create or update a Sql pool's security alert policy.

get(string, string, string, string, SqlPoolSecurityAlertPoliciesGetOptionalParams)

Get a Sql pool's security alert policy.

list(string, string, string, SqlPoolSecurityAlertPoliciesListOptionalParams)

Get a list of Sql pool's security alert policies.

Method Details

createOrUpdate(string, string, string, string, SqlPoolSecurityAlertPolicy, SqlPoolSecurityAlertPoliciesCreateOrUpdateOptionalParams)

Create or update a Sql pool's security alert policy.

function createOrUpdate(resourceGroupName: string, workspaceName: string, sqlPoolName: string, securityAlertPolicyName: string, parameters: SqlPoolSecurityAlertPolicy, options?: SqlPoolSecurityAlertPoliciesCreateOrUpdateOptionalParams): Promise<SqlPoolSecurityAlertPolicy>

Parameters

resourceGroupName

string

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

workspaceName

string

The name of the workspace.

sqlPoolName

string

SQL pool name

securityAlertPolicyName

string

The name of the security alert policy.

parameters
SqlPoolSecurityAlertPolicy

The Sql pool security alert policy.

Returns

get(string, string, string, string, SqlPoolSecurityAlertPoliciesGetOptionalParams)

Get a Sql pool's security alert policy.

function get(resourceGroupName: string, workspaceName: string, sqlPoolName: string, securityAlertPolicyName: string, options?: SqlPoolSecurityAlertPoliciesGetOptionalParams): Promise<SqlPoolSecurityAlertPolicy>

Parameters

resourceGroupName

string

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

workspaceName

string

The name of the workspace.

sqlPoolName

string

SQL pool name

securityAlertPolicyName

string

The name of the security alert policy.

options
SqlPoolSecurityAlertPoliciesGetOptionalParams

The options parameters.

Returns

list(string, string, string, SqlPoolSecurityAlertPoliciesListOptionalParams)

Get a list of Sql pool's security alert policies.

function list(resourceGroupName: string, workspaceName: string, sqlPoolName: string, options?: SqlPoolSecurityAlertPoliciesListOptionalParams): PagedAsyncIterableIterator<SqlPoolSecurityAlertPolicy, SqlPoolSecurityAlertPolicy[], PageSettings>

Parameters

resourceGroupName

string

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

workspaceName

string

The name of the workspace.

sqlPoolName

string

SQL pool name

options
SqlPoolSecurityAlertPoliciesListOptionalParams

The options parameters.

Returns