import { PagedAsyncIterableIterator } from "@azure/core-paging"; import { LongTermRetentionManagedInstanceBackups } from "../operationsInterfaces"; import { SqlManagementClient } from "../sqlManagementClient"; import { SimplePollerLike, OperationState } from "@azure/core-lro"; import { ManagedInstanceLongTermRetentionBackup, LongTermRetentionManagedInstanceBackupsListByDatabaseOptionalParams, LongTermRetentionManagedInstanceBackupsListByInstanceOptionalParams, LongTermRetentionManagedInstanceBackupsListByLocationOptionalParams, LongTermRetentionManagedInstanceBackupsListByResourceGroupDatabaseOptionalParams, LongTermRetentionManagedInstanceBackupsListByResourceGroupInstanceOptionalParams, LongTermRetentionManagedInstanceBackupsListByResourceGroupLocationOptionalParams, LongTermRetentionManagedInstanceBackupsGetOptionalParams, LongTermRetentionManagedInstanceBackupsGetResponse, LongTermRetentionManagedInstanceBackupsDeleteOptionalParams, LongTermRetentionManagedInstanceBackupsGetByResourceGroupOptionalParams, LongTermRetentionManagedInstanceBackupsGetByResourceGroupResponse, LongTermRetentionManagedInstanceBackupsDeleteByResourceGroupOptionalParams } from "../models"; /** Class containing LongTermRetentionManagedInstanceBackups operations. */ export declare class LongTermRetentionManagedInstanceBackupsImpl implements LongTermRetentionManagedInstanceBackups { private readonly client; /** * Initialize a new instance of the class LongTermRetentionManagedInstanceBackups class. * @param client Reference to the service client */ constructor(client: SqlManagementClient); /** * Lists all long term retention backups for a managed database. * @param locationName The location of the database. * @param managedInstanceName The name of the managed instance. * @param databaseName The name of the managed database. * @param options The options parameters. */ listByDatabase(locationName: string, managedInstanceName: string, databaseName: string, options?: LongTermRetentionManagedInstanceBackupsListByDatabaseOptionalParams): PagedAsyncIterableIterator; private listByDatabasePagingPage; private listByDatabasePagingAll; /** * Lists the long term retention backups for a given managed instance. * @param locationName The location of the database * @param managedInstanceName The name of the managed instance. * @param options The options parameters. */ listByInstance(locationName: string, managedInstanceName: string, options?: LongTermRetentionManagedInstanceBackupsListByInstanceOptionalParams): PagedAsyncIterableIterator; private listByInstancePagingPage; private listByInstancePagingAll; /** * Lists the long term retention backups for managed databases in a given location. * @param locationName The location of the database. * @param options The options parameters. */ listByLocation(locationName: string, options?: LongTermRetentionManagedInstanceBackupsListByLocationOptionalParams): PagedAsyncIterableIterator; private listByLocationPagingPage; private listByLocationPagingAll; /** * Lists all long term retention backups for a managed 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 locationName The location of the database * @param managedInstanceName The name of the managed instance. * @param databaseName The name of the managed database. * @param options The options parameters. */ listByResourceGroupDatabase(resourceGroupName: string, locationName: string, managedInstanceName: string, databaseName: string, options?: LongTermRetentionManagedInstanceBackupsListByResourceGroupDatabaseOptionalParams): PagedAsyncIterableIterator; private listByResourceGroupDatabasePagingPage; private listByResourceGroupDatabasePagingAll; /** * Lists the long term retention backups for a given managed instance. * @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 locationName The location of the database. * @param managedInstanceName The name of the managed instance. * @param options The options parameters. */ listByResourceGroupInstance(resourceGroupName: string, locationName: string, managedInstanceName: string, options?: LongTermRetentionManagedInstanceBackupsListByResourceGroupInstanceOptionalParams): PagedAsyncIterableIterator; private listByResourceGroupInstancePagingPage; private listByResourceGroupInstancePagingAll; /** * Lists the long term retention backups for managed databases in a given location. * @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 locationName The location of the database. * @param options The options parameters. */ listByResourceGroupLocation(resourceGroupName: string, locationName: string, options?: LongTermRetentionManagedInstanceBackupsListByResourceGroupLocationOptionalParams): PagedAsyncIterableIterator; private listByResourceGroupLocationPagingPage; private listByResourceGroupLocationPagingAll; /** * Gets a long term retention backup for a managed database. * @param locationName The location of the database. * @param managedInstanceName The name of the managed instance. * @param databaseName The name of the managed database. * @param backupName The backup name. * @param options The options parameters. */ get(locationName: string, managedInstanceName: string, databaseName: string, backupName: string, options?: LongTermRetentionManagedInstanceBackupsGetOptionalParams): Promise; /** * Deletes a long term retention backup. * @param locationName The location of the database. * @param managedInstanceName The name of the managed instance. * @param databaseName The name of the managed database. * @param backupName The backup name. * @param options The options parameters. */ beginDelete(locationName: string, managedInstanceName: string, databaseName: string, backupName: string, options?: LongTermRetentionManagedInstanceBackupsDeleteOptionalParams): Promise, void>>; /** * Deletes a long term retention backup. * @param locationName The location of the database. * @param managedInstanceName The name of the managed instance. * @param databaseName The name of the managed database. * @param backupName The backup name. * @param options The options parameters. */ beginDeleteAndWait(locationName: string, managedInstanceName: string, databaseName: string, backupName: string, options?: LongTermRetentionManagedInstanceBackupsDeleteOptionalParams): Promise; /** * Lists all long term retention backups for a managed database. * @param locationName The location of the database. * @param managedInstanceName The name of the managed instance. * @param databaseName The name of the managed database. * @param options The options parameters. */ private _listByDatabase; /** * Lists the long term retention backups for a given managed instance. * @param locationName The location of the database * @param managedInstanceName The name of the managed instance. * @param options The options parameters. */ private _listByInstance; /** * Lists the long term retention backups for managed databases in a given location. * @param locationName The location of the database. * @param options The options parameters. */ private _listByLocation; /** * Gets a long term retention backup for a managed 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 locationName The location of the database. * @param managedInstanceName The name of the managed instance. * @param databaseName The name of the managed database. * @param backupName The backup name. * @param options The options parameters. */ getByResourceGroup(resourceGroupName: string, locationName: string, managedInstanceName: string, databaseName: string, backupName: string, options?: LongTermRetentionManagedInstanceBackupsGetByResourceGroupOptionalParams): Promise; /** * Deletes a long term retention backup. * @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 locationName The location of the database * @param managedInstanceName The name of the managed instance. * @param databaseName The name of the managed database. * @param backupName The backup name. * @param options The options parameters. */ beginDeleteByResourceGroup(resourceGroupName: string, locationName: string, managedInstanceName: string, databaseName: string, backupName: string, options?: LongTermRetentionManagedInstanceBackupsDeleteByResourceGroupOptionalParams): Promise, void>>; /** * Deletes a long term retention backup. * @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 locationName The location of the database * @param managedInstanceName The name of the managed instance. * @param databaseName The name of the managed database. * @param backupName The backup name. * @param options The options parameters. */ beginDeleteByResourceGroupAndWait(resourceGroupName: string, locationName: string, managedInstanceName: string, databaseName: string, backupName: string, options?: LongTermRetentionManagedInstanceBackupsDeleteByResourceGroupOptionalParams): Promise; /** * Lists all long term retention backups for a managed 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 locationName The location of the database * @param managedInstanceName The name of the managed instance. * @param databaseName The name of the managed database. * @param options The options parameters. */ private _listByResourceGroupDatabase; /** * Lists the long term retention backups for a given managed instance. * @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 locationName The location of the database. * @param managedInstanceName The name of the managed instance. * @param options The options parameters. */ private _listByResourceGroupInstance; /** * Lists the long term retention backups for managed databases in a given location. * @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 locationName The location of the database. * @param options The options parameters. */ private _listByResourceGroupLocation; /** * ListByDatabaseNext * @param locationName The location of the database. * @param managedInstanceName The name of the managed instance. * @param databaseName The name of the managed database. * @param nextLink The nextLink from the previous successful call to the ListByDatabase method. * @param options The options parameters. */ private _listByDatabaseNext; /** * ListByInstanceNext * @param locationName The location of the database * @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; /** * ListByLocationNext * @param locationName The location of the database. * @param nextLink The nextLink from the previous successful call to the ListByLocation method. * @param options The options parameters. */ private _listByLocationNext; /** * ListByResourceGroupDatabaseNext * @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 locationName The location of the database * @param managedInstanceName The name of the managed instance. * @param databaseName The name of the managed database. * @param nextLink The nextLink from the previous successful call to the ListByResourceGroupDatabase * method. * @param options The options parameters. */ private _listByResourceGroupDatabaseNext; /** * ListByResourceGroupInstanceNext * @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 locationName The location of the database. * @param managedInstanceName The name of the managed instance. * @param nextLink The nextLink from the previous successful call to the ListByResourceGroupInstance * method. * @param options The options parameters. */ private _listByResourceGroupInstanceNext; /** * ListByResourceGroupLocationNext * @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 locationName The location of the database. * @param nextLink The nextLink from the previous successful call to the ListByResourceGroupLocation * method. * @param options The options parameters. */ private _listByResourceGroupLocationNext; } //# sourceMappingURL=longTermRetentionManagedInstanceBackups.d.ts.map