import { PagedAsyncIterableIterator } from "@azure/core-paging"; import { RestorePoints } from "../operationsInterfaces"; import { SqlManagementClient } from "../sqlManagementClient"; import { SimplePollerLike, OperationState } from "@azure/core-lro"; import { RestorePoint, RestorePointsListByDatabaseOptionalParams, CreateDatabaseRestorePointDefinition, RestorePointsCreateOptionalParams, RestorePointsCreateResponse, RestorePointsGetOptionalParams, RestorePointsGetResponse, RestorePointsDeleteOptionalParams } from "../models"; /** Class containing RestorePoints operations. */ export declare class RestorePointsImpl implements RestorePoints { private readonly client; /** * Initialize a new instance of the class RestorePoints class. * @param client Reference to the service client */ constructor(client: SqlManagementClient); /** * Gets a list of database restore points. * @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?: RestorePointsListByDatabaseOptionalParams): PagedAsyncIterableIterator; private listByDatabasePagingPage; private listByDatabasePagingAll; /** * Gets a list of database restore points. * @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. */ private _listByDatabase; /** * Creates a restore point for a data warehouse. * @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 definition for creating the restore point of this database. * @param options The options parameters. */ beginCreate(resourceGroupName: string, serverName: string, databaseName: string, parameters: CreateDatabaseRestorePointDefinition, options?: RestorePointsCreateOptionalParams): Promise, RestorePointsCreateResponse>>; /** * Creates a restore point for a data warehouse. * @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 definition for creating the restore point of this database. * @param options The options parameters. */ beginCreateAndWait(resourceGroupName: string, serverName: string, databaseName: string, parameters: CreateDatabaseRestorePointDefinition, options?: RestorePointsCreateOptionalParams): Promise; /** * Gets a restore point. * @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 restorePointName The name of the restore point. * @param options The options parameters. */ get(resourceGroupName: string, serverName: string, databaseName: string, restorePointName: string, options?: RestorePointsGetOptionalParams): Promise; /** * Deletes a restore point. * @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 restorePointName The name of the restore point. * @param options The options parameters. */ delete(resourceGroupName: string, serverName: string, databaseName: string, restorePointName: string, options?: RestorePointsDeleteOptionalParams): Promise; /** * 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 serverName The name of the server. * @param databaseName The name of the database. * @param nextLink The nextLink from the previous successful call to the ListByDatabase method. * @param options The options parameters. */ private _listByDatabaseNext; } //# sourceMappingURL=restorePoints.d.ts.map