/* * 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 { ManagedTransparentDataEncryption, ManagedDatabaseTransparentDataEncryptionListByDatabaseOptionalParams, TransparentDataEncryptionName, ManagedDatabaseTransparentDataEncryptionGetOptionalParams, ManagedDatabaseTransparentDataEncryptionGetResponse, ManagedDatabaseTransparentDataEncryptionCreateOrUpdateOptionalParams, ManagedDatabaseTransparentDataEncryptionCreateOrUpdateResponse } from "../models"; /// /** Interface representing a ManagedDatabaseTransparentDataEncryption. */ export interface ManagedDatabaseTransparentDataEncryption { /** * Gets a list of managed database's transparent data encryptions. * @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 transparent data encryption is * defined. * @param options The options parameters. */ listByDatabase( resourceGroupName: string, managedInstanceName: string, databaseName: string, options?: ManagedDatabaseTransparentDataEncryptionListByDatabaseOptionalParams ): PagedAsyncIterableIterator; /** * Gets a managed database's transparent data encryption. * @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 transparent data encryption is * defined. * @param tdeName The name of the transparent data encryption configuration. * @param options The options parameters. */ get( resourceGroupName: string, managedInstanceName: string, databaseName: string, tdeName: TransparentDataEncryptionName, options?: ManagedDatabaseTransparentDataEncryptionGetOptionalParams ): Promise; /** * Updates a database's transparent data encryption configuration. * @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 tdeName The name of the transparent data encryption configuration. * @param parameters The database transparent data encryption. * @param options The options parameters. */ createOrUpdate( resourceGroupName: string, managedInstanceName: string, databaseName: string, tdeName: TransparentDataEncryptionName, parameters: ManagedTransparentDataEncryption, options?: ManagedDatabaseTransparentDataEncryptionCreateOrUpdateOptionalParams ): Promise; }