import { PagedAsyncIterableIterator } from "@azure/core-paging"; import { PermissionBindings } from "../operationsInterfaces/index.js"; import { EventGridManagementClient } from "../eventGridManagementClient.js"; import { SimplePollerLike, OperationState } from "@azure/core-lro"; import { PermissionBinding, PermissionBindingsListByNamespaceOptionalParams, PermissionBindingsGetOptionalParams, PermissionBindingsGetResponse, PermissionBindingsCreateOrUpdateOptionalParams, PermissionBindingsCreateOrUpdateResponse, PermissionBindingsDeleteOptionalParams } from "../models/index.js"; /** Class containing PermissionBindings operations. */ export declare class PermissionBindingsImpl implements PermissionBindings { private readonly client; /** * Initialize a new instance of the class PermissionBindings class. * @param client Reference to the service client */ constructor(client: EventGridManagementClient); /** * Get all the permission bindings under a namespace. * @param resourceGroupName The name of the resource group within the user's subscription. * @param namespaceName Name of the namespace. * @param options The options parameters. */ listByNamespace(resourceGroupName: string, namespaceName: string, options?: PermissionBindingsListByNamespaceOptionalParams): PagedAsyncIterableIterator; private listByNamespacePagingPage; private listByNamespacePagingAll; /** * Get properties of a permission binding. * @param resourceGroupName The name of the resource group within the user's subscription. * @param namespaceName Name of the namespace. * @param permissionBindingName Name of the permission binding. * @param options The options parameters. */ get(resourceGroupName: string, namespaceName: string, permissionBindingName: string, options?: PermissionBindingsGetOptionalParams): Promise; /** * Create or update a permission binding with the specified parameters. * @param resourceGroupName The name of the resource group within the user's subscription. * @param namespaceName Name of the namespace. * @param permissionBindingName The permission binding name. * @param permissionBindingInfo Permission binding information. * @param options The options parameters. */ beginCreateOrUpdate(resourceGroupName: string, namespaceName: string, permissionBindingName: string, permissionBindingInfo: PermissionBinding, options?: PermissionBindingsCreateOrUpdateOptionalParams): Promise, PermissionBindingsCreateOrUpdateResponse>>; /** * Create or update a permission binding with the specified parameters. * @param resourceGroupName The name of the resource group within the user's subscription. * @param namespaceName Name of the namespace. * @param permissionBindingName The permission binding name. * @param permissionBindingInfo Permission binding information. * @param options The options parameters. */ beginCreateOrUpdateAndWait(resourceGroupName: string, namespaceName: string, permissionBindingName: string, permissionBindingInfo: PermissionBinding, options?: PermissionBindingsCreateOrUpdateOptionalParams): Promise; /** * Delete an existing permission binding. * @param resourceGroupName The name of the resource group within the user's subscription. * @param namespaceName Name of the namespace. * @param permissionBindingName Name of the permission binding. * @param options The options parameters. */ beginDelete(resourceGroupName: string, namespaceName: string, permissionBindingName: string, options?: PermissionBindingsDeleteOptionalParams): Promise, void>>; /** * Delete an existing permission binding. * @param resourceGroupName The name of the resource group within the user's subscription. * @param namespaceName Name of the namespace. * @param permissionBindingName Name of the permission binding. * @param options The options parameters. */ beginDeleteAndWait(resourceGroupName: string, namespaceName: string, permissionBindingName: string, options?: PermissionBindingsDeleteOptionalParams): Promise; /** * Get all the permission bindings under a namespace. * @param resourceGroupName The name of the resource group within the user's subscription. * @param namespaceName Name of the namespace. * @param options The options parameters. */ private _listByNamespace; /** * ListByNamespaceNext * @param resourceGroupName The name of the resource group within the user's subscription. * @param namespaceName Name of the namespace. * @param nextLink The nextLink from the previous successful call to the ListByNamespace method. * @param options The options parameters. */ private _listByNamespaceNext; } //# sourceMappingURL=permissionBindings.d.ts.map