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

Namespaces interface

表示命名空间的接口。

方法

beginCreateOrUpdate(string, string, Namespace, NamespacesCreateOrUpdateOptionalParams)

使用指定的参数异步创建或更新新命名空间。

beginCreateOrUpdateAndWait(string, string, Namespace, NamespacesCreateOrUpdateOptionalParams)

使用指定的参数异步创建或更新新命名空间。

beginDelete(string, string, NamespacesDeleteOptionalParams)

删除现有命名空间。

beginDeleteAndWait(string, string, NamespacesDeleteOptionalParams)

删除现有命名空间。

beginRegenerateKey(string, string, NamespaceRegenerateKeyRequest, NamespacesRegenerateKeyOptionalParams)

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

beginRegenerateKeyAndWait(string, string, NamespaceRegenerateKeyRequest, NamespacesRegenerateKeyOptionalParams)

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

beginUpdate(string, string, NamespaceUpdateParameters, NamespacesUpdateOptionalParams)

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

beginUpdateAndWait(string, string, NamespaceUpdateParameters, NamespacesUpdateOptionalParams)

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

beginValidateCustomDomainOwnership(string, string, NamespacesValidateCustomDomainOwnershipOptionalParams)

通过检查命名空间中所有自定义域的 TXT 记录来执行所有权验证。

beginValidateCustomDomainOwnershipAndWait(string, string, NamespacesValidateCustomDomainOwnershipOptionalParams)

通过检查命名空间中所有自定义域的 TXT 记录来执行所有权验证。

get(string, string, NamespacesGetOptionalParams)

获取命名空间的属性。

listByResourceGroup(string, NamespacesListByResourceGroupOptionalParams)

列出资源组下的所有命名空间。

listBySubscription(NamespacesListBySubscriptionOptionalParams)

列出 Azure 订阅下的所有命名空间。

listSharedAccessKeys(string, string, NamespacesListSharedAccessKeysOptionalParams)

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

方法详细信息

beginCreateOrUpdate(string, string, Namespace, NamespacesCreateOrUpdateOptionalParams)

使用指定的参数异步创建或更新新命名空间。

function beginCreateOrUpdate(resourceGroupName: string, namespaceName: string, namespaceInfo: Namespace, options?: NamespacesCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<Namespace>, Namespace>>

参数

resourceGroupName

string

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

namespaceName

string

命名空间的名称。

namespaceInfo
Namespace

命名空间信息。

options
NamespacesCreateOrUpdateOptionalParams

选项参数。

返回

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

beginCreateOrUpdateAndWait(string, string, Namespace, NamespacesCreateOrUpdateOptionalParams)

使用指定的参数异步创建或更新新命名空间。

function beginCreateOrUpdateAndWait(resourceGroupName: string, namespaceName: string, namespaceInfo: Namespace, options?: NamespacesCreateOrUpdateOptionalParams): Promise<Namespace>

参数

resourceGroupName

string

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

namespaceName

string

命名空间的名称。

namespaceInfo
Namespace

命名空间信息。

options
NamespacesCreateOrUpdateOptionalParams

选项参数。

返回

Promise<Namespace>

beginDelete(string, string, NamespacesDeleteOptionalParams)

删除现有命名空间。

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

参数

resourceGroupName

string

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

namespaceName

string

命名空间的名称。

options
NamespacesDeleteOptionalParams

选项参数。

返回

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

beginDeleteAndWait(string, string, NamespacesDeleteOptionalParams)

删除现有命名空间。

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

参数

resourceGroupName

string

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

namespaceName

string

命名空间的名称。

options
NamespacesDeleteOptionalParams

选项参数。

返回

Promise<void>

beginRegenerateKey(string, string, NamespaceRegenerateKeyRequest, NamespacesRegenerateKeyOptionalParams)

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

function beginRegenerateKey(resourceGroupName: string, namespaceName: string, regenerateKeyRequest: NamespaceRegenerateKeyRequest, options?: NamespacesRegenerateKeyOptionalParams): Promise<SimplePollerLike<OperationState<NamespaceSharedAccessKeys>, NamespaceSharedAccessKeys>>

参数

resourceGroupName

string

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

namespaceName

string

命名空间的名称。

regenerateKeyRequest
NamespaceRegenerateKeyRequest

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

options
NamespacesRegenerateKeyOptionalParams

选项参数。

返回

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

beginRegenerateKeyAndWait(string, string, NamespaceRegenerateKeyRequest, NamespacesRegenerateKeyOptionalParams)

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

function beginRegenerateKeyAndWait(resourceGroupName: string, namespaceName: string, regenerateKeyRequest: NamespaceRegenerateKeyRequest, options?: NamespacesRegenerateKeyOptionalParams): Promise<NamespaceSharedAccessKeys>

参数

resourceGroupName

string

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

namespaceName

string

命名空间的名称。

regenerateKeyRequest
NamespaceRegenerateKeyRequest

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

options
NamespacesRegenerateKeyOptionalParams

选项参数。

返回

beginUpdate(string, string, NamespaceUpdateParameters, NamespacesUpdateOptionalParams)

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

function beginUpdate(resourceGroupName: string, namespaceName: string, namespaceUpdateParameters: NamespaceUpdateParameters, options?: NamespacesUpdateOptionalParams): Promise<SimplePollerLike<OperationState<Namespace>, Namespace>>

参数

resourceGroupName

string

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

namespaceName

string

命名空间的名称。

namespaceUpdateParameters
NamespaceUpdateParameters

命名空间更新信息。

options
NamespacesUpdateOptionalParams

选项参数。

返回

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

beginUpdateAndWait(string, string, NamespaceUpdateParameters, NamespacesUpdateOptionalParams)

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

function beginUpdateAndWait(resourceGroupName: string, namespaceName: string, namespaceUpdateParameters: NamespaceUpdateParameters, options?: NamespacesUpdateOptionalParams): Promise<Namespace>

参数

resourceGroupName

string

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

namespaceName

string

命名空间的名称。

namespaceUpdateParameters
NamespaceUpdateParameters

命名空间更新信息。

options
NamespacesUpdateOptionalParams

选项参数。

返回

Promise<Namespace>

beginValidateCustomDomainOwnership(string, string, NamespacesValidateCustomDomainOwnershipOptionalParams)

通过检查命名空间中所有自定义域的 TXT 记录来执行所有权验证。

function beginValidateCustomDomainOwnership(resourceGroupName: string, namespaceName: string, options?: NamespacesValidateCustomDomainOwnershipOptionalParams): Promise<SimplePollerLike<OperationState<CustomDomainOwnershipValidationResult>, CustomDomainOwnershipValidationResult>>

参数

resourceGroupName

string

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

namespaceName

string

命名空间的名称。

返回

beginValidateCustomDomainOwnershipAndWait(string, string, NamespacesValidateCustomDomainOwnershipOptionalParams)

通过检查命名空间中所有自定义域的 TXT 记录来执行所有权验证。

function beginValidateCustomDomainOwnershipAndWait(resourceGroupName: string, namespaceName: string, options?: NamespacesValidateCustomDomainOwnershipOptionalParams): Promise<CustomDomainOwnershipValidationResult>

参数

resourceGroupName

string

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

namespaceName

string

命名空间的名称。

返回

get(string, string, NamespacesGetOptionalParams)

获取命名空间的属性。

function get(resourceGroupName: string, namespaceName: string, options?: NamespacesGetOptionalParams): Promise<Namespace>

参数

resourceGroupName

string

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

namespaceName

string

命名空间的名称。

options
NamespacesGetOptionalParams

选项参数。

返回

Promise<Namespace>

listByResourceGroup(string, NamespacesListByResourceGroupOptionalParams)

列出资源组下的所有命名空间。

function listByResourceGroup(resourceGroupName: string, options?: NamespacesListByResourceGroupOptionalParams): PagedAsyncIterableIterator<Namespace, Namespace[], PageSettings>

参数

resourceGroupName

string

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

返回

listBySubscription(NamespacesListBySubscriptionOptionalParams)

列出 Azure 订阅下的所有命名空间。

function listBySubscription(options?: NamespacesListBySubscriptionOptionalParams): PagedAsyncIterableIterator<Namespace, Namespace[], PageSettings>

参数

返回

listSharedAccessKeys(string, string, NamespacesListSharedAccessKeysOptionalParams)

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

function listSharedAccessKeys(resourceGroupName: string, namespaceName: string, options?: NamespacesListSharedAccessKeysOptionalParams): Promise<NamespaceSharedAccessKeys>

参数

resourceGroupName

string

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

namespaceName

string

命名空间的名称。

返回