/* * Copyright (c) Microsoft Corporation. * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ import { PagedAsyncIterableIterator } from "@azure/core-paging"; import { DatabaseBlobAuditingPolicy, DatabaseBlobAuditingPoliciesListByDatabaseOptionalParams, DatabaseBlobAuditingPoliciesGetOptionalParams, DatabaseBlobAuditingPoliciesGetResponse, DatabaseBlobAuditingPoliciesCreateOrUpdateOptionalParams, DatabaseBlobAuditingPoliciesCreateOrUpdateResponse } from "../models"; /// /** Interface representing a DatabaseBlobAuditingPolicies. */ export interface DatabaseBlobAuditingPolicies { /** * Lists auditing settings of a database. * @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 serverName The name of the server. * @param databaseName The name of the database. * @param options The options parameters. */ listByDatabase( resourceGroupName: string, serverName: string, databaseName: string, options?: DatabaseBlobAuditingPoliciesListByDatabaseOptionalParams ): PagedAsyncIterableIterator; /** * Gets a database's blob auditing 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 serverName The name of the server. * @param databaseName The name of the database. * @param options The options parameters. */ get( resourceGroupName: string, serverName: string, databaseName: string, options?: DatabaseBlobAuditingPoliciesGetOptionalParams ): Promise; /** * Creates or updates a database's blob auditing 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 serverName The name of the server. * @param databaseName The name of the database. * @param parameters The database blob auditing policy. * @param options The options parameters. */ createOrUpdate( resourceGroupName: string, serverName: string, databaseName: string, parameters: DatabaseBlobAuditingPolicy, options?: DatabaseBlobAuditingPoliciesCreateOrUpdateOptionalParams ): Promise; }