import { PagedAsyncIterableIterator } from "@azure/core-paging"; import { ManagedDatabaseSecurityAlertPolicies } from "../operationsInterfaces"; import { SqlManagementClient } from "../sqlManagementClient"; import { ManagedDatabaseSecurityAlertPolicy, ManagedDatabaseSecurityAlertPoliciesListByDatabaseOptionalParams, SecurityAlertPolicyName, ManagedDatabaseSecurityAlertPoliciesGetOptionalParams, ManagedDatabaseSecurityAlertPoliciesGetResponse, ManagedDatabaseSecurityAlertPoliciesCreateOrUpdateOptionalParams, ManagedDatabaseSecurityAlertPoliciesCreateOrUpdateResponse } from "../models"; /** Class containing ManagedDatabaseSecurityAlertPolicies operations. */ export declare class ManagedDatabaseSecurityAlertPoliciesImpl implements ManagedDatabaseSecurityAlertPolicies { private readonly client; /** * Initialize a new instance of the class ManagedDatabaseSecurityAlertPolicies class. * @param client Reference to the service client */ constructor(client: SqlManagementClient); /** * Gets a list of managed database's security alert policies. * @param resourceGroupName The name of the resource group that contains the resource. You can obtain * this value from the Azure Resource Manager API or the portal. * @param managedInstanceName The name of the managed instance. * @param databaseName The name of the managed database for which the security alert policies are * defined. * @param options The options parameters. */ listByDatabase(resourceGroupName: string, managedInstanceName: string, databaseName: string, options?: ManagedDatabaseSecurityAlertPoliciesListByDatabaseOptionalParams): PagedAsyncIterableIterator; private listByDatabasePagingPage; private listByDatabasePagingAll; /** * Gets a managed database's security alert policy. * @param resourceGroupName The name of the resource group that contains the resource. You can obtain * this value from the Azure Resource Manager API or the portal. * @param managedInstanceName The name of the managed instance. * @param databaseName The name of the managed database for which the security alert policy is defined. * @param securityAlertPolicyName The name of the security alert policy. * @param options The options parameters. */ get(resourceGroupName: string, managedInstanceName: string, databaseName: string, securityAlertPolicyName: SecurityAlertPolicyName, options?: ManagedDatabaseSecurityAlertPoliciesGetOptionalParams): Promise; /** * Creates or updates a database's security alert policy. * @param resourceGroupName The name of the resource group that contains the resource. You can obtain * this value from the Azure Resource Manager API or the portal. * @param managedInstanceName The name of the managed instance. * @param databaseName The name of the managed database for which the security alert policy is defined. * @param securityAlertPolicyName The name of the security alert policy. * @param parameters The database security alert policy. * @param options The options parameters. */ createOrUpdate(resourceGroupName: string, managedInstanceName: string, databaseName: string, securityAlertPolicyName: SecurityAlertPolicyName, parameters: ManagedDatabaseSecurityAlertPolicy, options?: ManagedDatabaseSecurityAlertPoliciesCreateOrUpdateOptionalParams): Promise; /** * Gets a list of managed database's security alert policies. * @param resourceGroupName The name of the resource group that contains the resource. You can obtain * this value from the Azure Resource Manager API or the portal. * @param managedInstanceName The name of the managed instance. * @param databaseName The name of the managed database for which the security alert policies are * defined. * @param options The options parameters. */ private _listByDatabase; /** * ListByDatabaseNext * @param resourceGroupName The name of the resource group that contains the resource. You can obtain * this value from the Azure Resource Manager API or the portal. * @param managedInstanceName The name of the managed instance. * @param databaseName The name of the managed database for which the security alert policies are * defined. * @param nextLink The nextLink from the previous successful call to the ListByDatabase method. * @param options The options parameters. */ private _listByDatabaseNext; } //# sourceMappingURL=managedDatabaseSecurityAlertPolicies.d.ts.map