ManagedDatabaseSecurityAlertPolicies interface

Interface representing a ManagedDatabaseSecurityAlertPolicies.

Methods

createOrUpdate(string, string, string, string, ManagedDatabaseSecurityAlertPolicy, ManagedDatabaseSecurityAlertPoliciesCreateOrUpdateOptionalParams)

Creates or updates a database's security alert policy.

get(string, string, string, string, ManagedDatabaseSecurityAlertPoliciesGetOptionalParams)

Gets a managed database's security alert policy.

listByDatabase(string, string, string, ManagedDatabaseSecurityAlertPoliciesListByDatabaseOptionalParams)

Gets a list of managed database's security alert policies.

Method Details

createOrUpdate(string, string, string, string, ManagedDatabaseSecurityAlertPolicy, ManagedDatabaseSecurityAlertPoliciesCreateOrUpdateOptionalParams)

Creates or updates a database's security alert policy.

function createOrUpdate(resourceGroupName: string, managedInstanceName: string, databaseName: string, securityAlertPolicyName: string, parameters: ManagedDatabaseSecurityAlertPolicy, options?: ManagedDatabaseSecurityAlertPoliciesCreateOrUpdateOptionalParams): Promise<ManagedDatabaseSecurityAlertPolicy>

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.

managedInstanceName

string

The name of the managed instance.

databaseName

string

The name of the managed database for which the security alert policy is defined.

securityAlertPolicyName

string

The name of the security alert policy.

parameters
ManagedDatabaseSecurityAlertPolicy

The database security alert policy.

Returns

get(string, string, string, string, ManagedDatabaseSecurityAlertPoliciesGetOptionalParams)

Gets a managed database's security alert policy.

function get(resourceGroupName: string, managedInstanceName: string, databaseName: string, securityAlertPolicyName: string, options?: ManagedDatabaseSecurityAlertPoliciesGetOptionalParams): Promise<ManagedDatabaseSecurityAlertPolicy>

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.

managedInstanceName

string

The name of the managed instance.

databaseName

string

The name of the managed database for which the security alert policy is defined.

securityAlertPolicyName

string

The name of the security alert policy.

Returns

listByDatabase(string, string, string, ManagedDatabaseSecurityAlertPoliciesListByDatabaseOptionalParams)

Gets a list of managed database's security alert policies.

function listByDatabase(resourceGroupName: string, managedInstanceName: string, databaseName: string, options?: ManagedDatabaseSecurityAlertPoliciesListByDatabaseOptionalParams): PagedAsyncIterableIterator<ManagedDatabaseSecurityAlertPolicy, ManagedDatabaseSecurityAlertPolicy[], 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.

managedInstanceName

string

The name of the managed instance.

databaseName

string

The name of the managed database for which the security alert policies are defined.

Returns