@azure/arm-compute
Version:
A generated SDK for ComputeManagementClient.
61 lines • 4.57 kB
TypeScript
import type { PagedAsyncIterableIterator } from "@azure/core-paging";
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";
/** Interface representing a RestorePointCollections. */
export interface RestorePointCollections {
/**
* 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>;
/**
* 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>;
/**
* 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>;
}
//# sourceMappingURL=restorePointCollections.d.ts.map