DatabaseSecurityAlertPolicies interface
Interface representing a DatabaseSecurityAlertPolicies.
Methods
create |
Creates or updates a database's security alert policy. |
get(string, string, string, string, Database |
Gets a database's security alert policy. |
list |
Gets a list of database's security alert policies. |
Method Details
createOrUpdate(string, string, string, string, DatabaseSecurityAlertPolicy, DatabaseSecurityAlertPoliciesCreateOrUpdateOptionalParams)
Creates or updates a database's security alert policy.
function createOrUpdate(resourceGroupName: string, serverName: string, databaseName: string, securityAlertPolicyName: string, parameters: DatabaseSecurityAlertPolicy, options?: DatabaseSecurityAlertPoliciesCreateOrUpdateOptionalParams): Promise<DatabaseSecurityAlertPolicy>
Parameters
- resourceGroupName
-
string
The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- serverName
-
string
The name of the server.
- databaseName
-
string
The name of the database for which the security alert policy is defined.
- securityAlertPolicyName
-
string
The name of the security alert policy.
- parameters
- DatabaseSecurityAlertPolicy
The database security alert policy.
The options parameters.
Returns
Promise<DatabaseSecurityAlertPolicy>
get(string, string, string, string, DatabaseSecurityAlertPoliciesGetOptionalParams)
Gets a database's security alert policy.
function get(resourceGroupName: string, serverName: string, databaseName: string, securityAlertPolicyName: string, options?: DatabaseSecurityAlertPoliciesGetOptionalParams): Promise<DatabaseSecurityAlertPolicy>
Parameters
- resourceGroupName
-
string
The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- serverName
-
string
The name of the server.
- databaseName
-
string
The name of the database for which the security alert policy is defined.
- securityAlertPolicyName
-
string
The name of the security alert policy.
The options parameters.
Returns
Promise<DatabaseSecurityAlertPolicy>
listByDatabase(string, string, string, DatabaseSecurityAlertPoliciesListByDatabaseOptionalParams)
Gets a list of database's security alert policies.
function listByDatabase(resourceGroupName: string, serverName: string, databaseName: string, options?: DatabaseSecurityAlertPoliciesListByDatabaseOptionalParams): PagedAsyncIterableIterator<DatabaseSecurityAlertPolicy, DatabaseSecurityAlertPolicy[], PageSettings>
Parameters
- resourceGroupName
-
string
The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- serverName
-
string
The name of the server.
- databaseName
-
string
The name of the database for which the security alert policy is defined.
The options parameters.