import { PagedAsyncIterableIterator } from "@azure/core-paging"; import { NamespaceTopics } from "../operationsInterfaces/index.js"; import { EventGridManagementClient } from "../eventGridManagementClient.js"; import { SimplePollerLike, OperationState } from "@azure/core-lro"; import { NamespaceTopic, NamespaceTopicsListByNamespaceOptionalParams, NamespaceTopicsGetOptionalParams, NamespaceTopicsGetResponse, NamespaceTopicsCreateOrUpdateOptionalParams, NamespaceTopicsCreateOrUpdateResponse, NamespaceTopicsDeleteOptionalParams, NamespaceTopicUpdateParameters, NamespaceTopicsUpdateOptionalParams, NamespaceTopicsUpdateResponse, NamespaceTopicsListSharedAccessKeysOptionalParams, NamespaceTopicsListSharedAccessKeysResponse, TopicRegenerateKeyRequest, NamespaceTopicsRegenerateKeyOptionalParams, NamespaceTopicsRegenerateKeyResponse } from "../models/index.js"; /** Class containing NamespaceTopics operations. */ export declare class NamespaceTopicsImpl implements NamespaceTopics { private readonly client; /** * Initialize a new instance of the class NamespaceTopics class. * @param client Reference to the service client */ constructor(client: EventGridManagementClient); /** * List all the namespace topics 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?: NamespaceTopicsListByNamespaceOptionalParams): PagedAsyncIterableIterator; private listByNamespacePagingPage; private listByNamespacePagingAll; /** * Get properties of a namespace topic. * @param resourceGroupName The name of the resource group within the user's subscription. * @param namespaceName Name of the namespace. * @param topicName Name of the namespace topic. * @param options The options parameters. */ get(resourceGroupName: string, namespaceName: string, topicName: string, options?: NamespaceTopicsGetOptionalParams): Promise; /** * Asynchronously creates a new namespace topic with the specified parameters. * @param resourceGroupName The name of the resource group within the user's subscription. * @param namespaceName Name of the namespace. * @param topicName Name of the namespace topic. * @param namespaceTopicInfo Namespace topic information. * @param options The options parameters. */ beginCreateOrUpdate(resourceGroupName: string, namespaceName: string, topicName: string, namespaceTopicInfo: NamespaceTopic, options?: NamespaceTopicsCreateOrUpdateOptionalParams): Promise, NamespaceTopicsCreateOrUpdateResponse>>; /** * Asynchronously creates a new namespace topic with the specified parameters. * @param resourceGroupName The name of the resource group within the user's subscription. * @param namespaceName Name of the namespace. * @param topicName Name of the namespace topic. * @param namespaceTopicInfo Namespace topic information. * @param options The options parameters. */ beginCreateOrUpdateAndWait(resourceGroupName: string, namespaceName: string, topicName: string, namespaceTopicInfo: NamespaceTopic, options?: NamespaceTopicsCreateOrUpdateOptionalParams): Promise; /** * Delete existing namespace topic. * @param resourceGroupName The name of the resource group within the user's subscription. * @param namespaceName Name of the namespace. * @param topicName Name of the topic. * @param options The options parameters. */ beginDelete(resourceGroupName: string, namespaceName: string, topicName: string, options?: NamespaceTopicsDeleteOptionalParams): Promise, void>>; /** * Delete existing namespace topic. * @param resourceGroupName The name of the resource group within the user's subscription. * @param namespaceName Name of the namespace. * @param topicName Name of the topic. * @param options The options parameters. */ beginDeleteAndWait(resourceGroupName: string, namespaceName: string, topicName: string, options?: NamespaceTopicsDeleteOptionalParams): Promise; /** * Asynchronously updates a namespace topic with the specified parameters. * @param resourceGroupName The name of the resource group within the user's subscription. * @param namespaceName Name of the namespace. * @param topicName Name of the namespace topic. * @param namespaceTopicUpdateParameters Namespace topic update information. * @param options The options parameters. */ beginUpdate(resourceGroupName: string, namespaceName: string, topicName: string, namespaceTopicUpdateParameters: NamespaceTopicUpdateParameters, options?: NamespaceTopicsUpdateOptionalParams): Promise, NamespaceTopicsUpdateResponse>>; /** * Asynchronously updates a namespace topic with the specified parameters. * @param resourceGroupName The name of the resource group within the user's subscription. * @param namespaceName Name of the namespace. * @param topicName Name of the namespace topic. * @param namespaceTopicUpdateParameters Namespace topic update information. * @param options The options parameters. */ beginUpdateAndWait(resourceGroupName: string, namespaceName: string, topicName: string, namespaceTopicUpdateParameters: NamespaceTopicUpdateParameters, options?: NamespaceTopicsUpdateOptionalParams): Promise; /** * List all the namespace topics 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; /** * List the two keys used to publish to a namespace topic. * @param resourceGroupName The name of the resource group within the user's subscription. * @param namespaceName Name of the namespace. * @param topicName Name of the topic. * @param options The options parameters. */ listSharedAccessKeys(resourceGroupName: string, namespaceName: string, topicName: string, options?: NamespaceTopicsListSharedAccessKeysOptionalParams): Promise; /** * Regenerate a shared access key for a namespace topic. * @param resourceGroupName The name of the resource group within the user's subscription. * @param namespaceName Name of the namespace. * @param topicName Name of the topic. * @param regenerateKeyRequest Request body to regenerate key. * @param options The options parameters. */ beginRegenerateKey(resourceGroupName: string, namespaceName: string, topicName: string, regenerateKeyRequest: TopicRegenerateKeyRequest, options?: NamespaceTopicsRegenerateKeyOptionalParams): Promise, NamespaceTopicsRegenerateKeyResponse>>; /** * Regenerate a shared access key for a namespace topic. * @param resourceGroupName The name of the resource group within the user's subscription. * @param namespaceName Name of the namespace. * @param topicName Name of the topic. * @param regenerateKeyRequest Request body to regenerate key. * @param options The options parameters. */ beginRegenerateKeyAndWait(resourceGroupName: string, namespaceName: string, topicName: string, regenerateKeyRequest: TopicRegenerateKeyRequest, options?: NamespaceTopicsRegenerateKeyOptionalParams): Promise; /** * 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=namespaceTopics.d.ts.map