/* * 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 { SimplePollerLike, OperationState } from "@azure/core-lro"; import { EncryptionProtectorName, DatabaseEncryptionProtectorsRevalidateOptionalParams, DatabaseEncryptionProtectorsRevertOptionalParams } from "../models"; /** Interface representing a DatabaseEncryptionProtectors. */ export interface DatabaseEncryptionProtectors { /** * Revalidates an existing encryption protector for a particular 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 encryptionProtectorName The name of the encryption protector to be updated. * @param options The options parameters. */ beginRevalidate( resourceGroupName: string, serverName: string, databaseName: string, encryptionProtectorName: EncryptionProtectorName, options?: DatabaseEncryptionProtectorsRevalidateOptionalParams ): Promise, void>>; /** * Revalidates an existing encryption protector for a particular 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 encryptionProtectorName The name of the encryption protector to be updated. * @param options The options parameters. */ beginRevalidateAndWait( resourceGroupName: string, serverName: string, databaseName: string, encryptionProtectorName: EncryptionProtectorName, options?: DatabaseEncryptionProtectorsRevalidateOptionalParams ): Promise; /** * Reverts an existing encryption protector for a particular 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 encryptionProtectorName The name of the encryption protector to be updated. * @param options The options parameters. */ beginRevert( resourceGroupName: string, serverName: string, databaseName: string, encryptionProtectorName: EncryptionProtectorName, options?: DatabaseEncryptionProtectorsRevertOptionalParams ): Promise, void>>; /** * Reverts an existing encryption protector for a particular 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 encryptionProtectorName The name of the encryption protector to be updated. * @param options The options parameters. */ beginRevertAndWait( resourceGroupName: string, serverName: string, databaseName: string, encryptionProtectorName: EncryptionProtectorName, options?: DatabaseEncryptionProtectorsRevertOptionalParams ): Promise; }