UNPKG

@azure/arm-compute

Version:
99 lines 6.18 kB
import type { PagedAsyncIterableIterator } from "@azure/core-paging"; import type { RestorePointCollections } from "../operationsInterfaces/index.js"; import type { ComputeManagementClient } from "../computeManagementClient.js"; import type { SimplePollerLike, OperationState } from "@azure/core-lro"; import type { RestorePointCollection, RestorePointCollectionsListAllOptionalParams, RestorePointCollectionsListOptionalParams, RestorePointCollectionsGetOptionalParams, RestorePointCollectionsGetResponse, RestorePointCollectionsCreateOrUpdateOptionalParams, RestorePointCollectionsCreateOrUpdateResponse, RestorePointCollectionUpdate, RestorePointCollectionsUpdateOptionalParams, RestorePointCollectionsUpdateResponse, RestorePointCollectionsDeleteOptionalParams } from "../models/index.js"; /** Class containing RestorePointCollections operations. */ export declare class RestorePointCollectionsImpl implements RestorePointCollections { private readonly client; /** * Initialize a new instance of the class RestorePointCollections class. * @param client Reference to the service client */ constructor(client: ComputeManagementClient); /** * Gets the list of restore point collections in the subscription. Use nextLink property in the * response to get the next page of restore point collections. Do this till nextLink is not null to * fetch all the restore point collections. * @param options The options parameters. */ listAll(options?: RestorePointCollectionsListAllOptionalParams): PagedAsyncIterableIterator<RestorePointCollection>; private listAllPagingPage; private listAllPagingAll; /** * Gets the list of restore point collections in a resource group. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param options The options parameters. */ list(resourceGroupName: string, options?: RestorePointCollectionsListOptionalParams): PagedAsyncIterableIterator<RestorePointCollection>; private listPagingPage; private listPagingAll; /** * Gets the list of restore point collections in the subscription. Use nextLink property in the * response to get the next page of restore point collections. Do this till nextLink is not null to * fetch all the restore point collections. * @param options The options parameters. */ private _listAll; /** * Gets the list of restore point collections in a resource group. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param options The options parameters. */ private _list; /** * The operation to get the restore point collection. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param restorePointCollectionName The name of the restore point collection. * @param options The options parameters. */ get(resourceGroupName: string, restorePointCollectionName: string, options?: RestorePointCollectionsGetOptionalParams): Promise<RestorePointCollectionsGetResponse>; /** * The operation to create or update the restore point collection. Please refer to * https://aka.ms/RestorePoints for more details. When updating a restore point collection, only tags * may be modified. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param restorePointCollectionName The name of the restore point collection. * @param parameters Parameters supplied to the Create or Update restore point collection operation. * @param options The options parameters. */ createOrUpdate(resourceGroupName: string, restorePointCollectionName: string, parameters: RestorePointCollection, options?: RestorePointCollectionsCreateOrUpdateOptionalParams): Promise<RestorePointCollectionsCreateOrUpdateResponse>; /** * The operation to update the restore point collection. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param restorePointCollectionName The name of the restore point collection. * @param parameters Parameters supplied to the Update restore point collection operation. * @param options The options parameters. */ update(resourceGroupName: string, restorePointCollectionName: string, parameters: RestorePointCollectionUpdate, options?: RestorePointCollectionsUpdateOptionalParams): Promise<RestorePointCollectionsUpdateResponse>; /** * The operation to delete the restore point collection. This operation will also delete all the * contained restore points. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param restorePointCollectionName The name of the restore point collection. * @param options The options parameters. */ beginDelete(resourceGroupName: string, restorePointCollectionName: string, options?: RestorePointCollectionsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>; /** * The operation to delete the restore point collection. This operation will also delete all the * contained restore points. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param restorePointCollectionName The name of the restore point collection. * @param options The options parameters. */ beginDeleteAndWait(resourceGroupName: string, restorePointCollectionName: string, options?: RestorePointCollectionsDeleteOptionalParams): Promise<void>; /** * ListAllNext * @param nextLink The nextLink from the previous successful call to the ListAll method. * @param options The options parameters. */ private _listAllNext; /** * ListNext * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param nextLink The nextLink from the previous successful call to the List method. * @param options The options parameters. */ private _listNext; } //# sourceMappingURL=restorePointCollections.d.ts.map