import { PagedAsyncIterableIterator } from "@azure/core-paging"; import { ManagedInstanceKeys } from "../operationsInterfaces"; import { SqlManagementClient } from "../sqlManagementClient"; import { SimplePollerLike, OperationState } from "@azure/core-lro"; import { ManagedInstanceKey, ManagedInstanceKeysListByInstanceOptionalParams, ManagedInstanceKeysGetOptionalParams, ManagedInstanceKeysGetResponse, ManagedInstanceKeysCreateOrUpdateOptionalParams, ManagedInstanceKeysCreateOrUpdateResponse, ManagedInstanceKeysDeleteOptionalParams } from "../models"; /** Class containing ManagedInstanceKeys operations. */ export declare class ManagedInstanceKeysImpl implements ManagedInstanceKeys { private readonly client; /** * Initialize a new instance of the class ManagedInstanceKeys class. * @param client Reference to the service client */ constructor(client: SqlManagementClient); /** * Gets a list of managed instance keys. * @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 options The options parameters. */ listByInstance(resourceGroupName: string, managedInstanceName: string, options?: ManagedInstanceKeysListByInstanceOptionalParams): PagedAsyncIterableIterator; private listByInstancePagingPage; private listByInstancePagingAll; /** * Gets a list of managed instance keys. * @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 options The options parameters. */ private _listByInstance; /** * Gets a managed instance key. * @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 keyName The name of the managed instance key to be retrieved. * @param options The options parameters. */ get(resourceGroupName: string, managedInstanceName: string, keyName: string, options?: ManagedInstanceKeysGetOptionalParams): Promise; /** * Creates or updates a managed instance key. * @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 keyName The name of the managed instance key to be operated on (updated or created). * @param parameters The requested managed instance key resource state. * @param options The options parameters. */ beginCreateOrUpdate(resourceGroupName: string, managedInstanceName: string, keyName: string, parameters: ManagedInstanceKey, options?: ManagedInstanceKeysCreateOrUpdateOptionalParams): Promise, ManagedInstanceKeysCreateOrUpdateResponse>>; /** * Creates or updates a managed instance key. * @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 keyName The name of the managed instance key to be operated on (updated or created). * @param parameters The requested managed instance key resource state. * @param options The options parameters. */ beginCreateOrUpdateAndWait(resourceGroupName: string, managedInstanceName: string, keyName: string, parameters: ManagedInstanceKey, options?: ManagedInstanceKeysCreateOrUpdateOptionalParams): Promise; /** * Deletes the managed instance key with the given name. * @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 keyName The name of the managed instance key to be deleted. * @param options The options parameters. */ beginDelete(resourceGroupName: string, managedInstanceName: string, keyName: string, options?: ManagedInstanceKeysDeleteOptionalParams): Promise, void>>; /** * Deletes the managed instance key with the given name. * @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 keyName The name of the managed instance key to be deleted. * @param options The options parameters. */ beginDeleteAndWait(resourceGroupName: string, managedInstanceName: string, keyName: string, options?: ManagedInstanceKeysDeleteOptionalParams): Promise; /** * ListByInstanceNext * @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 nextLink The nextLink from the previous successful call to the ListByInstance method. * @param options The options parameters. */ private _listByInstanceNext; } //# sourceMappingURL=managedInstanceKeys.d.ts.map