import type { ContainerRegistryManagementContext } from "../../api/containerRegistryManagementContext.js"; import type { CacheRulesListOptionalParams, CacheRulesDeleteOptionalParams, CacheRulesUpdateOptionalParams, CacheRulesCreateOptionalParams, CacheRulesGetOptionalParams } from "../../api/cacheRules/options.js"; import type { CacheRule, CacheRuleUpdateParameters } 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 CacheRules operations. */ export interface CacheRulesOperations { /** Lists all cache rule resources for the specified container registry. */ list: (resourceGroupName: string, registryName: string, options?: CacheRulesListOptionalParams) => PagedAsyncIterableIterator; /** Deletes a cache rule resource from a container registry. */ /** * @fixme delete is a reserved word that cannot be used as an operation name. * Please add @clientName("clientName") or @clientName("", "javascript") * to the operation to override the generated name. */ delete: (resourceGroupName: string, registryName: string, cacheRuleName: string, options?: CacheRulesDeleteOptionalParams) => PollerLike, void>; /** @deprecated use delete instead */ beginDelete: (resourceGroupName: string, registryName: string, cacheRuleName: string, options?: CacheRulesDeleteOptionalParams) => Promise, void>>; /** @deprecated use delete instead */ beginDeleteAndWait: (resourceGroupName: string, registryName: string, cacheRuleName: string, options?: CacheRulesDeleteOptionalParams) => Promise; /** Updates a cache rule for a container registry with the specified parameters. */ update: (resourceGroupName: string, registryName: string, cacheRuleName: string, cacheRuleUpdateParameters: CacheRuleUpdateParameters, options?: CacheRulesUpdateOptionalParams) => PollerLike, CacheRule>; /** @deprecated use update instead */ beginUpdate: (resourceGroupName: string, registryName: string, cacheRuleName: string, cacheRuleUpdateParameters: CacheRuleUpdateParameters, options?: CacheRulesUpdateOptionalParams) => Promise, CacheRule>>; /** @deprecated use update instead */ beginUpdateAndWait: (resourceGroupName: string, registryName: string, cacheRuleName: string, cacheRuleUpdateParameters: CacheRuleUpdateParameters, options?: CacheRulesUpdateOptionalParams) => Promise; /** Creates a cache rule for a container registry with the specified parameters. */ create: (resourceGroupName: string, registryName: string, cacheRuleName: string, cacheRuleCreateParameters: CacheRule, options?: CacheRulesCreateOptionalParams) => PollerLike, CacheRule>; /** @deprecated use create instead */ beginCreate: (resourceGroupName: string, registryName: string, cacheRuleName: string, cacheRuleCreateParameters: CacheRule, options?: CacheRulesCreateOptionalParams) => Promise, CacheRule>>; /** @deprecated use create instead */ beginCreateAndWait: (resourceGroupName: string, registryName: string, cacheRuleName: string, cacheRuleCreateParameters: CacheRule, options?: CacheRulesCreateOptionalParams) => Promise; /** Gets the properties of the specified cache rule resource. */ get: (resourceGroupName: string, registryName: string, cacheRuleName: string, options?: CacheRulesGetOptionalParams) => Promise; } export declare function _getCacheRulesOperations(context: ContainerRegistryManagementContext): CacheRulesOperations; //# sourceMappingURL=index.d.ts.map