WorkspaceManagedSqlServerSecurityAlertPolicy interface

Interface representing a WorkspaceManagedSqlServerSecurityAlertPolicy.

Methods

beginCreateOrUpdate(string, string, string, ServerSecurityAlertPolicy, WorkspaceManagedSqlServerSecurityAlertPolicyCreateOrUpdateOptionalParams)

Create or Update a workspace managed sql server's threat detection policy.

beginCreateOrUpdateAndWait(string, string, string, ServerSecurityAlertPolicy, WorkspaceManagedSqlServerSecurityAlertPolicyCreateOrUpdateOptionalParams)

Create or Update a workspace managed sql server's threat detection policy.

get(string, string, string, WorkspaceManagedSqlServerSecurityAlertPolicyGetOptionalParams)

Get a workspace managed sql server's security alert policy.

list(string, string, WorkspaceManagedSqlServerSecurityAlertPolicyListOptionalParams)

Get workspace managed sql server's threat detection policies.

Method Details

beginCreateOrUpdate(string, string, string, ServerSecurityAlertPolicy, WorkspaceManagedSqlServerSecurityAlertPolicyCreateOrUpdateOptionalParams)

Create or Update a workspace managed sql server's threat detection policy.

function beginCreateOrUpdate(resourceGroupName: string, workspaceName: string, securityAlertPolicyName: string, parameters: ServerSecurityAlertPolicy, options?: WorkspaceManagedSqlServerSecurityAlertPolicyCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<ServerSecurityAlertPolicy>, ServerSecurityAlertPolicy>>

Parameters

resourceGroupName

string

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

workspaceName

string

The name of the workspace.

securityAlertPolicyName

string

The name of the security alert policy.

parameters
ServerSecurityAlertPolicy

The workspace managed sql server security alert policy.

Returns

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

beginCreateOrUpdateAndWait(string, string, string, ServerSecurityAlertPolicy, WorkspaceManagedSqlServerSecurityAlertPolicyCreateOrUpdateOptionalParams)

Create or Update a workspace managed sql server's threat detection policy.

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

Parameters

resourceGroupName

string

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

workspaceName

string

The name of the workspace.

securityAlertPolicyName

string

The name of the security alert policy.

parameters
ServerSecurityAlertPolicy

The workspace managed sql server security alert policy.

Returns

get(string, string, string, WorkspaceManagedSqlServerSecurityAlertPolicyGetOptionalParams)

Get a workspace managed sql server's security alert policy.

function get(resourceGroupName: string, workspaceName: string, securityAlertPolicyName: string, options?: WorkspaceManagedSqlServerSecurityAlertPolicyGetOptionalParams): Promise<ServerSecurityAlertPolicy>

Parameters

resourceGroupName

string

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

workspaceName

string

The name of the workspace.

securityAlertPolicyName

string

The name of the security alert policy.

Returns

list(string, string, WorkspaceManagedSqlServerSecurityAlertPolicyListOptionalParams)

Get workspace managed sql server's threat detection policies.

function list(resourceGroupName: string, workspaceName: string, options?: WorkspaceManagedSqlServerSecurityAlertPolicyListOptionalParams): PagedAsyncIterableIterator<ServerSecurityAlertPolicy, ServerSecurityAlertPolicy[], PageSettings>

Parameters

resourceGroupName

string

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

workspaceName

string

The name of the workspace.

Returns