WorkspaceManagedSqlServerSecurityAlertPolicy interface
Interface representing a WorkspaceManagedSqlServerSecurityAlertPolicy.
Methods
begin |
Create or Update a workspace managed sql server's threat detection policy. |
begin |
Create or Update a workspace managed sql server's threat detection policy. |
get(string, string, string, Workspace |
Get a workspace managed sql server's security alert policy. |
list(string, string, Workspace |
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.
The options parameters.
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.
The options parameters.
Returns
Promise<ServerSecurityAlertPolicy>
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.
The options parameters.
Returns
Promise<ServerSecurityAlertPolicy>
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.
The options parameters.
Returns
Azure SDK for JavaScript