import { PagedAsyncIterableIterator } from "@azure/core-paging"; import { TopicSpaces } from "../operationsInterfaces/index.js"; import { EventGridManagementClient } from "../eventGridManagementClient.js"; import { SimplePollerLike, OperationState } from "@azure/core-lro"; import { TopicSpace, TopicSpacesListByNamespaceOptionalParams, TopicSpacesGetOptionalParams, TopicSpacesGetResponse, TopicSpacesCreateOrUpdateOptionalParams, TopicSpacesCreateOrUpdateResponse, TopicSpacesDeleteOptionalParams } from "../models/index.js"; /** Class containing TopicSpaces operations. */ export declare class TopicSpacesImpl implements TopicSpaces { private readonly client; /** * Initialize a new instance of the class TopicSpaces class. * @param client Reference to the service client */ constructor(client: EventGridManagementClient); /** * Get all the topic spaces 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?: TopicSpacesListByNamespaceOptionalParams): PagedAsyncIterableIterator; private listByNamespacePagingPage; private listByNamespacePagingAll; /** * Get properties of a topic space. * @param resourceGroupName The name of the resource group within the user's subscription. * @param namespaceName Name of the namespace. * @param topicSpaceName Name of the Topic space. * @param options The options parameters. */ get(resourceGroupName: string, namespaceName: string, topicSpaceName: string, options?: TopicSpacesGetOptionalParams): Promise; /** * Create or update a topic space with the specified parameters. * @param resourceGroupName The name of the resource group within the user's subscription. * @param namespaceName Name of the namespace. * @param topicSpaceName The topic space name. * @param topicSpaceInfo Topic space information. * @param options The options parameters. */ beginCreateOrUpdate(resourceGroupName: string, namespaceName: string, topicSpaceName: string, topicSpaceInfo: TopicSpace, options?: TopicSpacesCreateOrUpdateOptionalParams): Promise, TopicSpacesCreateOrUpdateResponse>>; /** * Create or update a topic space with the specified parameters. * @param resourceGroupName The name of the resource group within the user's subscription. * @param namespaceName Name of the namespace. * @param topicSpaceName The topic space name. * @param topicSpaceInfo Topic space information. * @param options The options parameters. */ beginCreateOrUpdateAndWait(resourceGroupName: string, namespaceName: string, topicSpaceName: string, topicSpaceInfo: TopicSpace, options?: TopicSpacesCreateOrUpdateOptionalParams): Promise; /** * Delete an existing topic space. * @param resourceGroupName The name of the resource group within the user's subscription. * @param namespaceName Name of the namespace. * @param topicSpaceName Name of the Topic space. * @param options The options parameters. */ beginDelete(resourceGroupName: string, namespaceName: string, topicSpaceName: string, options?: TopicSpacesDeleteOptionalParams): Promise, void>>; /** * Delete an existing topic space. * @param resourceGroupName The name of the resource group within the user's subscription. * @param namespaceName Name of the namespace. * @param topicSpaceName Name of the Topic space. * @param options The options parameters. */ beginDeleteAndWait(resourceGroupName: string, namespaceName: string, topicSpaceName: string, options?: TopicSpacesDeleteOptionalParams): Promise; /** * Get all the topic spaces 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=topicSpaces.d.ts.map