SqlPoolSecurityAlertPolicies interface
Interface representing a SqlPoolSecurityAlertPolicies.
Methods
create |
Create or update a Sql pool's security alert policy. |
get(string, string, string, string, Sql |
Get a Sql pool's security alert policy. |
list(string, string, string, Sql |
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.
The options parameters.
Returns
Promise<SqlPoolSecurityAlertPolicy>
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.
The options parameters.
Returns
Promise<SqlPoolSecurityAlertPolicy>
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
The options parameters.
Returns
Azure SDK for JavaScript