import { PagedAsyncIterableIterator } from "@azure/core-paging"; import { AccessPolicy } from "../operationsInterfaces/index.js"; import { RedisManagementClient } from "../redisManagementClient.js"; import { SimplePollerLike, OperationState } from "@azure/core-lro"; import { RedisCacheAccessPolicy, AccessPolicyListOptionalParams, AccessPolicyCreateUpdateOptionalParams, AccessPolicyCreateUpdateResponse, AccessPolicyDeleteOptionalParams, AccessPolicyGetOptionalParams, AccessPolicyGetResponse } from "../models/index.js"; /** Class containing AccessPolicy operations. */ export declare class AccessPolicyImpl implements AccessPolicy { private readonly client; /** * Initialize a new instance of the class AccessPolicy class. * @param client Reference to the service client */ constructor(client: RedisManagementClient); /** * Gets the list of access policies associated with this redis cache * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param cacheName The name of the Redis cache. * @param options The options parameters. */ list(resourceGroupName: string, cacheName: string, options?: AccessPolicyListOptionalParams): PagedAsyncIterableIterator; private listPagingPage; private listPagingAll; /** * Adds an access policy to the redis cache * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param cacheName The name of the Redis cache. * @param accessPolicyName The name of the access policy that is being added to the Redis cache. * @param parameters Parameters supplied to the Create Update Access Policy operation. * @param options The options parameters. */ beginCreateUpdate(resourceGroupName: string, cacheName: string, accessPolicyName: string, parameters: RedisCacheAccessPolicy, options?: AccessPolicyCreateUpdateOptionalParams): Promise, AccessPolicyCreateUpdateResponse>>; /** * Adds an access policy to the redis cache * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param cacheName The name of the Redis cache. * @param accessPolicyName The name of the access policy that is being added to the Redis cache. * @param parameters Parameters supplied to the Create Update Access Policy operation. * @param options The options parameters. */ beginCreateUpdateAndWait(resourceGroupName: string, cacheName: string, accessPolicyName: string, parameters: RedisCacheAccessPolicy, options?: AccessPolicyCreateUpdateOptionalParams): Promise; /** * Deletes the access policy from a redis cache * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param cacheName The name of the Redis cache. * @param accessPolicyName The name of the access policy that is being added to the Redis cache. * @param options The options parameters. */ beginDelete(resourceGroupName: string, cacheName: string, accessPolicyName: string, options?: AccessPolicyDeleteOptionalParams): Promise, void>>; /** * Deletes the access policy from a redis cache * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param cacheName The name of the Redis cache. * @param accessPolicyName The name of the access policy that is being added to the Redis cache. * @param options The options parameters. */ beginDeleteAndWait(resourceGroupName: string, cacheName: string, accessPolicyName: string, options?: AccessPolicyDeleteOptionalParams): Promise; /** * Gets the detailed information about an access policy of a redis cache * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param cacheName The name of the Redis cache. * @param accessPolicyName The name of the access policy that is being added to the Redis cache. * @param options The options parameters. */ get(resourceGroupName: string, cacheName: string, accessPolicyName: string, options?: AccessPolicyGetOptionalParams): Promise; /** * Gets the list of access policies associated with this redis cache * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param cacheName The name of the Redis cache. * @param options The options parameters. */ private _list; /** * ListNext * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param cacheName The name of the Redis cache. * @param nextLink The nextLink from the previous successful call to the List method. * @param options The options parameters. */ private _listNext; } //# sourceMappingURL=accessPolicy.d.ts.map