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

TopicSpaces interface

表示 TopicSpaces 的接口。

方法详细信息

beginCreateOrUpdate(string, string, string, TopicSpace, TopicSpacesCreateOrUpdateOptionalParams)

使用指定的参数创建或更新主题空间。

function beginCreateOrUpdate(resourceGroupName: string, namespaceName: string, topicSpaceName: string, topicSpaceInfo: TopicSpace, options?: TopicSpacesCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<TopicSpace>, TopicSpace>>

参数

resourceGroupName

string

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

namespaceName

string

命名空间的名称。

topicSpaceName

string

主题空间名称。

topicSpaceInfo
TopicSpace

主题空间信息。

options
TopicSpacesCreateOrUpdateOptionalParams

选项参数。

返回

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

beginCreateOrUpdateAndWait(string, string, string, TopicSpace, TopicSpacesCreateOrUpdateOptionalParams)

使用指定的参数创建或更新主题空间。

function beginCreateOrUpdateAndWait(resourceGroupName: string, namespaceName: string, topicSpaceName: string, topicSpaceInfo: TopicSpace, options?: TopicSpacesCreateOrUpdateOptionalParams): Promise<TopicSpace>

参数

resourceGroupName

string

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

namespaceName

string

命名空间的名称。

topicSpaceName

string

主题空间名称。

topicSpaceInfo
TopicSpace

主题空间信息。

options
TopicSpacesCreateOrUpdateOptionalParams

选项参数。

返回

Promise<TopicSpace>

beginDelete(string, string, string, TopicSpacesDeleteOptionalParams)

删除现有主题空间。

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

参数

resourceGroupName

string

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

namespaceName

string

命名空间的名称。

topicSpaceName

string

主题空间的名称。

options
TopicSpacesDeleteOptionalParams

选项参数。

返回

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

beginDeleteAndWait(string, string, string, TopicSpacesDeleteOptionalParams)

删除现有主题空间。

function beginDeleteAndWait(resourceGroupName: string, namespaceName: string, topicSpaceName: string, options?: TopicSpacesDeleteOptionalParams): Promise<void>

参数

resourceGroupName

string

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

namespaceName

string

命名空间的名称。

topicSpaceName

string

主题空间的名称。

options
TopicSpacesDeleteOptionalParams

选项参数。

返回

Promise<void>

get(string, string, string, TopicSpacesGetOptionalParams)

获取主题空间的属性。

function get(resourceGroupName: string, namespaceName: string, topicSpaceName: string, options?: TopicSpacesGetOptionalParams): Promise<TopicSpace>

参数

resourceGroupName

string

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

namespaceName

string

命名空间的名称。

topicSpaceName

string

主题空间的名称。

options
TopicSpacesGetOptionalParams

选项参数。

返回

Promise<TopicSpace>

listByNamespace(string, string, TopicSpacesListByNamespaceOptionalParams)

获取命名空间下的所有主题空间。

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

参数

resourceGroupName

string

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

namespaceName

string

命名空间的名称。

返回