你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

NamespaceTopics interface

表示 NamespaceTopics 的接口。

方法

beginCreateOrUpdate(string, string, string, NamespaceTopic, NamespaceTopicsCreateOrUpdateOptionalParams)

使用指定的参数异步创建一个新的命名空间主题。

beginCreateOrUpdateAndWait(string, string, string, NamespaceTopic, NamespaceTopicsCreateOrUpdateOptionalParams)

使用指定的参数异步创建一个新的命名空间主题。

beginDelete(string, string, string, NamespaceTopicsDeleteOptionalParams)

删除现有命名空间主题。

beginDeleteAndWait(string, string, string, NamespaceTopicsDeleteOptionalParams)

删除现有命名空间主题。

beginRegenerateKey(string, string, string, TopicRegenerateKeyRequest, NamespaceTopicsRegenerateKeyOptionalParams)

重新生成命名空间主题的共享访问密钥。

beginRegenerateKeyAndWait(string, string, string, TopicRegenerateKeyRequest, NamespaceTopicsRegenerateKeyOptionalParams)

重新生成命名空间主题的共享访问密钥。

beginUpdate(string, string, string, NamespaceTopicUpdateParameters, NamespaceTopicsUpdateOptionalParams)

使用指定的参数异步更新命名空间主题。

beginUpdateAndWait(string, string, string, NamespaceTopicUpdateParameters, NamespaceTopicsUpdateOptionalParams)

使用指定的参数异步更新命名空间主题。

get(string, string, string, NamespaceTopicsGetOptionalParams)

获取命名空间主题的属性。

listByNamespace(string, string, NamespaceTopicsListByNamespaceOptionalParams)

列出命名空间下的所有命名空间主题。

listSharedAccessKeys(string, string, string, NamespaceTopicsListSharedAccessKeysOptionalParams)

列出用于发布到命名空间主题的两个键。

方法详细信息

beginCreateOrUpdate(string, string, string, NamespaceTopic, NamespaceTopicsCreateOrUpdateOptionalParams)

使用指定的参数异步创建一个新的命名空间主题。

function beginCreateOrUpdate(resourceGroupName: string, namespaceName: string, topicName: string, namespaceTopicInfo: NamespaceTopic, options?: NamespaceTopicsCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<NamespaceTopic>, NamespaceTopic>>

参数

resourceGroupName

string

用户订阅中的资源组的名称。

namespaceName

string

命名空间的名称。

topicName

string

命名空间主题的名称。

namespaceTopicInfo
NamespaceTopic

命名空间主题信息。

返回

Promise<@azure/core-lro.SimplePollerLike<OperationState<NamespaceTopic>, NamespaceTopic>>

beginCreateOrUpdateAndWait(string, string, string, NamespaceTopic, NamespaceTopicsCreateOrUpdateOptionalParams)

使用指定的参数异步创建一个新的命名空间主题。

function beginCreateOrUpdateAndWait(resourceGroupName: string, namespaceName: string, topicName: string, namespaceTopicInfo: NamespaceTopic, options?: NamespaceTopicsCreateOrUpdateOptionalParams): Promise<NamespaceTopic>

参数

resourceGroupName

string

用户订阅中的资源组的名称。

namespaceName

string

命名空间的名称。

topicName

string

命名空间主题的名称。

namespaceTopicInfo
NamespaceTopic

命名空间主题信息。

返回

Promise<NamespaceTopic>

beginDelete(string, string, string, NamespaceTopicsDeleteOptionalParams)

删除现有命名空间主题。

function beginDelete(resourceGroupName: string, namespaceName: string, topicName: string, options?: NamespaceTopicsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>

参数

resourceGroupName

string

用户订阅中的资源组的名称。

namespaceName

string

命名空间的名称。

topicName

string

主题的名称。

options
NamespaceTopicsDeleteOptionalParams

选项参数。

返回

Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>

beginDeleteAndWait(string, string, string, NamespaceTopicsDeleteOptionalParams)

删除现有命名空间主题。

function beginDeleteAndWait(resourceGroupName: string, namespaceName: string, topicName: string, options?: NamespaceTopicsDeleteOptionalParams): Promise<void>

参数

resourceGroupName

string

用户订阅中的资源组的名称。

namespaceName

string

命名空间的名称。

topicName

string

主题的名称。

options
NamespaceTopicsDeleteOptionalParams

选项参数。

返回

Promise<void>

beginRegenerateKey(string, string, string, TopicRegenerateKeyRequest, NamespaceTopicsRegenerateKeyOptionalParams)

重新生成命名空间主题的共享访问密钥。

function beginRegenerateKey(resourceGroupName: string, namespaceName: string, topicName: string, regenerateKeyRequest: TopicRegenerateKeyRequest, options?: NamespaceTopicsRegenerateKeyOptionalParams): Promise<SimplePollerLike<OperationState<TopicSharedAccessKeys>, TopicSharedAccessKeys>>

参数

resourceGroupName

string

用户订阅中的资源组的名称。

namespaceName

string

命名空间的名称。

topicName

string

主题的名称。

regenerateKeyRequest
TopicRegenerateKeyRequest

请求正文以重新生成密钥。

返回

Promise<@azure/core-lro.SimplePollerLike<OperationState<TopicSharedAccessKeys>, TopicSharedAccessKeys>>

beginRegenerateKeyAndWait(string, string, string, TopicRegenerateKeyRequest, NamespaceTopicsRegenerateKeyOptionalParams)

重新生成命名空间主题的共享访问密钥。

function beginRegenerateKeyAndWait(resourceGroupName: string, namespaceName: string, topicName: string, regenerateKeyRequest: TopicRegenerateKeyRequest, options?: NamespaceTopicsRegenerateKeyOptionalParams): Promise<TopicSharedAccessKeys>

参数

resourceGroupName

string

用户订阅中的资源组的名称。

namespaceName

string

命名空间的名称。

topicName

string

主题的名称。

regenerateKeyRequest
TopicRegenerateKeyRequest

请求正文以重新生成密钥。

返回

beginUpdate(string, string, string, NamespaceTopicUpdateParameters, NamespaceTopicsUpdateOptionalParams)

使用指定的参数异步更新命名空间主题。

function beginUpdate(resourceGroupName: string, namespaceName: string, topicName: string, namespaceTopicUpdateParameters: NamespaceTopicUpdateParameters, options?: NamespaceTopicsUpdateOptionalParams): Promise<SimplePollerLike<OperationState<NamespaceTopic>, NamespaceTopic>>

参数

resourceGroupName

string

用户订阅中的资源组的名称。

namespaceName

string

命名空间的名称。

topicName

string

命名空间主题的名称。

namespaceTopicUpdateParameters
NamespaceTopicUpdateParameters

命名空间主题更新信息。

options
NamespaceTopicsUpdateOptionalParams

选项参数。

返回

Promise<@azure/core-lro.SimplePollerLike<OperationState<NamespaceTopic>, NamespaceTopic>>

beginUpdateAndWait(string, string, string, NamespaceTopicUpdateParameters, NamespaceTopicsUpdateOptionalParams)

使用指定的参数异步更新命名空间主题。

function beginUpdateAndWait(resourceGroupName: string, namespaceName: string, topicName: string, namespaceTopicUpdateParameters: NamespaceTopicUpdateParameters, options?: NamespaceTopicsUpdateOptionalParams): Promise<NamespaceTopic>

参数

resourceGroupName

string

用户订阅中的资源组的名称。

namespaceName

string

命名空间的名称。

topicName

string

命名空间主题的名称。

namespaceTopicUpdateParameters
NamespaceTopicUpdateParameters

命名空间主题更新信息。

options
NamespaceTopicsUpdateOptionalParams

选项参数。

返回

Promise<NamespaceTopic>

get(string, string, string, NamespaceTopicsGetOptionalParams)

获取命名空间主题的属性。

function get(resourceGroupName: string, namespaceName: string, topicName: string, options?: NamespaceTopicsGetOptionalParams): Promise<NamespaceTopic>

参数

resourceGroupName

string

用户订阅中的资源组的名称。

namespaceName

string

命名空间的名称。

topicName

string

命名空间主题的名称。

options
NamespaceTopicsGetOptionalParams

选项参数。

返回

Promise<NamespaceTopic>

listByNamespace(string, string, NamespaceTopicsListByNamespaceOptionalParams)

列出命名空间下的所有命名空间主题。

function listByNamespace(resourceGroupName: string, namespaceName: string, options?: NamespaceTopicsListByNamespaceOptionalParams): PagedAsyncIterableIterator<NamespaceTopic, NamespaceTopic[], PageSettings>

参数

resourceGroupName

string

用户订阅中的资源组的名称。

namespaceName

string

命名空间的名称。

返回

listSharedAccessKeys(string, string, string, NamespaceTopicsListSharedAccessKeysOptionalParams)

列出用于发布到命名空间主题的两个键。

function listSharedAccessKeys(resourceGroupName: string, namespaceName: string, topicName: string, options?: NamespaceTopicsListSharedAccessKeysOptionalParams): Promise<TopicSharedAccessKeys>

参数

resourceGroupName

string

用户订阅中的资源组的名称。

namespaceName

string

命名空间的名称。

topicName

string

主题的名称。

返回