import { PagedAsyncIterableIterator } from "@azure/core-paging"; import { AccessPolicyAssignment } from "../operationsInterfaces/index.js"; import { RedisManagementClient } from "../redisManagementClient.js"; import { SimplePollerLike, OperationState } from "@azure/core-lro"; import { RedisCacheAccessPolicyAssignment, AccessPolicyAssignmentListOptionalParams, AccessPolicyAssignmentCreateUpdateOptionalParams, AccessPolicyAssignmentCreateUpdateResponse, AccessPolicyAssignmentDeleteOptionalParams, AccessPolicyAssignmentGetOptionalParams, AccessPolicyAssignmentGetResponse } from "../models/index.js"; /** Class containing AccessPolicyAssignment operations. */ export declare class AccessPolicyAssignmentImpl implements AccessPolicyAssignment { private readonly client; /** * Initialize a new instance of the class AccessPolicyAssignment class. * @param client Reference to the service client */ constructor(client: RedisManagementClient); /** * Gets the list of access policy assignments 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?: AccessPolicyAssignmentListOptionalParams): PagedAsyncIterableIterator; private listPagingPage; private listPagingAll; /** * Adds the access policy assignment to the specified users * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param cacheName The name of the Redis cache. * @param accessPolicyAssignmentName The name of the access policy assignment. * @param parameters Parameters supplied to the Create Update Access Policy Assignment operation. * @param options The options parameters. */ beginCreateUpdate(resourceGroupName: string, cacheName: string, accessPolicyAssignmentName: string, parameters: RedisCacheAccessPolicyAssignment, options?: AccessPolicyAssignmentCreateUpdateOptionalParams): Promise, AccessPolicyAssignmentCreateUpdateResponse>>; /** * Adds the access policy assignment to the specified users * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param cacheName The name of the Redis cache. * @param accessPolicyAssignmentName The name of the access policy assignment. * @param parameters Parameters supplied to the Create Update Access Policy Assignment operation. * @param options The options parameters. */ beginCreateUpdateAndWait(resourceGroupName: string, cacheName: string, accessPolicyAssignmentName: string, parameters: RedisCacheAccessPolicyAssignment, options?: AccessPolicyAssignmentCreateUpdateOptionalParams): Promise; /** * Deletes the access policy assignment 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 accessPolicyAssignmentName The name of the access policy assignment. * @param options The options parameters. */ beginDelete(resourceGroupName: string, cacheName: string, accessPolicyAssignmentName: string, options?: AccessPolicyAssignmentDeleteOptionalParams): Promise, void>>; /** * Deletes the access policy assignment 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 accessPolicyAssignmentName The name of the access policy assignment. * @param options The options parameters. */ beginDeleteAndWait(resourceGroupName: string, cacheName: string, accessPolicyAssignmentName: string, options?: AccessPolicyAssignmentDeleteOptionalParams): Promise; /** * Gets the list of assignments for 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 accessPolicyAssignmentName The name of the access policy assignment. * @param options The options parameters. */ get(resourceGroupName: string, cacheName: string, accessPolicyAssignmentName: string, options?: AccessPolicyAssignmentGetOptionalParams): Promise; /** * Gets the list of access policy assignments 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=accessPolicyAssignment.d.ts.map