import type { StorageManagementContext } from "../../api/storageManagementContext.js"; import type { ContextCachesCheckNameAvailabilityOptionalParams, ContextCachesListBySubscriptionOptionalParams, ContextCachesListByResourceGroupOptionalParams, ContextCachesDeleteOptionalParams, ContextCachesUpdateOptionalParams, ContextCachesCreateOrUpdateOptionalParams, ContextCachesGetOptionalParams } from "../../api/contextCaches/options.js"; import type { ContextCache, ContextCacheUpdate, ContextCacheCheckNameAvailabilityParameters, ContextCacheCheckNameAvailabilityResult } from "../../models/models.js"; import type { PagedAsyncIterableIterator } from "../../static-helpers/pagingHelpers.js"; import type { SimplePollerLike } from "../../static-helpers/simplePollerHelpers.js"; import type { PollerLike, OperationState } from "@azure/core-lro"; /** Interface representing a ContextCaches operations. */ export interface ContextCachesOperations { /** Check the availability of a context cache resource name. */ checkNameAvailability: (body: ContextCacheCheckNameAvailabilityParameters, options?: ContextCachesCheckNameAvailabilityOptionalParams) => Promise; /** List Context Caches by subscription. */ listBySubscription: (options?: ContextCachesListBySubscriptionOptionalParams) => PagedAsyncIterableIterator; /** List Context Caches by resource group. */ listByResourceGroup: (resourceGroupName: string, options?: ContextCachesListByResourceGroupOptionalParams) => PagedAsyncIterableIterator; /** Delete a Context Cache. */ delete: (resourceGroupName: string, contextCacheName: string, options?: ContextCachesDeleteOptionalParams) => PollerLike, void>; /** @deprecated use delete instead */ beginDelete: (resourceGroupName: string, contextCacheName: string, options?: ContextCachesDeleteOptionalParams) => Promise, void>>; /** @deprecated use delete instead */ beginDeleteAndWait: (resourceGroupName: string, contextCacheName: string, options?: ContextCachesDeleteOptionalParams) => Promise; /** Update a Context Cache. */ update: (resourceGroupName: string, contextCacheName: string, properties: ContextCacheUpdate, options?: ContextCachesUpdateOptionalParams) => PollerLike, ContextCache>; /** @deprecated use update instead */ beginUpdate: (resourceGroupName: string, contextCacheName: string, properties: ContextCacheUpdate, options?: ContextCachesUpdateOptionalParams) => Promise, ContextCache>>; /** @deprecated use update instead */ beginUpdateAndWait: (resourceGroupName: string, contextCacheName: string, properties: ContextCacheUpdate, options?: ContextCachesUpdateOptionalParams) => Promise; /** Create or update a Context Cache. */ createOrUpdate: (resourceGroupName: string, contextCacheName: string, resource: ContextCache, options?: ContextCachesCreateOrUpdateOptionalParams) => PollerLike, ContextCache>; /** @deprecated use createOrUpdate instead */ beginCreateOrUpdate: (resourceGroupName: string, contextCacheName: string, resource: ContextCache, options?: ContextCachesCreateOrUpdateOptionalParams) => Promise, ContextCache>>; /** @deprecated use createOrUpdate instead */ beginCreateOrUpdateAndWait: (resourceGroupName: string, contextCacheName: string, resource: ContextCache, options?: ContextCachesCreateOrUpdateOptionalParams) => Promise; /** Get a Context Cache. */ get: (resourceGroupName: string, contextCacheName: string, options?: ContextCachesGetOptionalParams) => Promise; } export declare function _getContextCachesOperations(context: StorageManagementContext): ContextCachesOperations; //# sourceMappingURL=index.d.ts.map