NamespacesOperations interface

代表命名空間作業的介面。

屬性

beginCreateOrUpdate
beginCreateOrUpdateAndWait
beginDelete
beginDeleteAndWait
beginFailover
beginFailoverAndWait
checkNameAvailability

檢查提供命名空間名稱可用性。

createOrUpdate

建立或更新命名空間。 建立之後,此命名空間的資源指令清單是不可變的。 此作業是等冪的。

createOrUpdateAuthorizationRule

建立或更新命名空間的 AuthorizationRule。

createOrUpdateNetworkRuleSet

建立或更新命名空間的 NetworkRuleSet。

delete

刪除現有的命名空間。 此作業也會移除命名空間下的所有相關聯資源。

deleteAuthorizationRule

刪除命名空間的 AuthorizationRule。

failover

GeoDR 故障轉移

get

取得指定之命名空間的描述。

getAuthorizationRule

依規則名稱取得命名空間的 AuthorizationRule。

getNetworkRuleSet

取得命名空間的 NetworkRuleSet。

list

列出訂用帳戶內的所有可用命名空間,不論資源群組為何。

listAuthorizationRules

取得命名空間的授權規則清單。

listByResourceGroup

列出資源群組內的可用命名空間。

listKeys

取得命名空間的主要和次要連接字串。

listNetworkRuleSet

取得命名空間的 NetworkRuleSet。

regenerateKeys

重新產生指定命名空間的主要或次要連接字串。

update

建立或更新命名空間。 建立之後,此命名空間的資源指令清單是不可變的。 此作業是等冪的。

屬性詳細資料

beginCreateOrUpdate

警告

此 API 現已淘汰。

use createOrUpdate instead

beginCreateOrUpdate: (resourceGroupName: string, namespaceName: string, parameters: EHNamespace, options?: NamespacesCreateOrUpdateOptionalParams) => Promise<SimplePollerLike<OperationState<EHNamespace>, EHNamespace>>

屬性值

(resourceGroupName: string, namespaceName: string, parameters: EHNamespace, options?: NamespacesCreateOrUpdateOptionalParams) => Promise<SimplePollerLike<OperationState<EHNamespace>, EHNamespace>>

beginCreateOrUpdateAndWait

警告

此 API 現已淘汰。

use createOrUpdate instead

beginCreateOrUpdateAndWait: (resourceGroupName: string, namespaceName: string, parameters: EHNamespace, options?: NamespacesCreateOrUpdateOptionalParams) => Promise<EHNamespace>

屬性值

(resourceGroupName: string, namespaceName: string, parameters: EHNamespace, options?: NamespacesCreateOrUpdateOptionalParams) => Promise<EHNamespace>

beginDelete

警告

此 API 現已淘汰。

use delete instead

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

屬性值

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

beginDeleteAndWait

警告

此 API 現已淘汰。

use delete instead

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

屬性值

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

beginFailover

警告

此 API 現已淘汰。

use failover instead

beginFailover: (resourceGroupName: string, namespaceName: string, parameters: FailOver, options?: NamespacesFailoverOptionalParams) => Promise<SimplePollerLike<OperationState<FailOver>, FailOver>>

屬性值

(resourceGroupName: string, namespaceName: string, parameters: FailOver, options?: NamespacesFailoverOptionalParams) => Promise<SimplePollerLike<OperationState<FailOver>, FailOver>>

beginFailoverAndWait

警告

此 API 現已淘汰。

use failover instead

beginFailoverAndWait: (resourceGroupName: string, namespaceName: string, parameters: FailOver, options?: NamespacesFailoverOptionalParams) => Promise<FailOver>

屬性值

(resourceGroupName: string, namespaceName: string, parameters: FailOver, options?: NamespacesFailoverOptionalParams) => Promise<FailOver>

checkNameAvailability

檢查提供命名空間名稱可用性。

checkNameAvailability: (parameters: CheckNameAvailabilityParameter, options?: NamespacesCheckNameAvailabilityOptionalParams) => Promise<CheckNameAvailabilityResult>

屬性值

(parameters: CheckNameAvailabilityParameter, options?: NamespacesCheckNameAvailabilityOptionalParams) => Promise<CheckNameAvailabilityResult>

createOrUpdate

建立或更新命名空間。 建立之後,此命名空間的資源指令清單是不可變的。 此作業是等冪的。

createOrUpdate: (resourceGroupName: string, namespaceName: string, parameters: EHNamespace, options?: NamespacesCreateOrUpdateOptionalParams) => PollerLike<OperationState<EHNamespace>, EHNamespace>

屬性值

(resourceGroupName: string, namespaceName: string, parameters: EHNamespace, options?: NamespacesCreateOrUpdateOptionalParams) => PollerLike<OperationState<EHNamespace>, EHNamespace>

createOrUpdateAuthorizationRule

建立或更新命名空間的 AuthorizationRule。

createOrUpdateAuthorizationRule: (resourceGroupName: string, namespaceName: string, authorizationRuleName: string, parameters: AuthorizationRule, options?: NamespacesCreateOrUpdateAuthorizationRuleOptionalParams) => Promise<AuthorizationRule>

屬性值

(resourceGroupName: string, namespaceName: string, authorizationRuleName: string, parameters: AuthorizationRule, options?: NamespacesCreateOrUpdateAuthorizationRuleOptionalParams) => Promise<AuthorizationRule>

createOrUpdateNetworkRuleSet

建立或更新命名空間的 NetworkRuleSet。

createOrUpdateNetworkRuleSet: (resourceGroupName: string, namespaceName: string, parameters: NetworkRuleSet, options?: NamespacesCreateOrUpdateNetworkRuleSetOptionalParams) => Promise<NetworkRuleSet>

屬性值

(resourceGroupName: string, namespaceName: string, parameters: NetworkRuleSet, options?: NamespacesCreateOrUpdateNetworkRuleSetOptionalParams) => Promise<NetworkRuleSet>

delete

刪除現有的命名空間。 此作業也會移除命名空間下的所有相關聯資源。

delete: (resourceGroupName: string, namespaceName: string, options?: NamespacesDeleteOptionalParams) => PollerLike<OperationState<void>, void>

屬性值

(resourceGroupName: string, namespaceName: string, options?: NamespacesDeleteOptionalParams) => PollerLike<OperationState<void>, void>

deleteAuthorizationRule

刪除命名空間的 AuthorizationRule。

deleteAuthorizationRule: (resourceGroupName: string, namespaceName: string, authorizationRuleName: string, options?: NamespacesDeleteAuthorizationRuleOptionalParams) => Promise<void>

屬性值

(resourceGroupName: string, namespaceName: string, authorizationRuleName: string, options?: NamespacesDeleteAuthorizationRuleOptionalParams) => Promise<void>

failover

GeoDR 故障轉移

failover: (resourceGroupName: string, namespaceName: string, parameters: FailOver, options?: NamespacesFailoverOptionalParams) => PollerLike<OperationState<FailOver>, FailOver>

屬性值

(resourceGroupName: string, namespaceName: string, parameters: FailOver, options?: NamespacesFailoverOptionalParams) => PollerLike<OperationState<FailOver>, FailOver>

get

取得指定之命名空間的描述。

get: (resourceGroupName: string, namespaceName: string, options?: NamespacesGetOptionalParams) => Promise<EHNamespace>

屬性值

(resourceGroupName: string, namespaceName: string, options?: NamespacesGetOptionalParams) => Promise<EHNamespace>

getAuthorizationRule

依規則名稱取得命名空間的 AuthorizationRule。

getAuthorizationRule: (resourceGroupName: string, namespaceName: string, authorizationRuleName: string, options?: NamespacesGetAuthorizationRuleOptionalParams) => Promise<AuthorizationRule>

屬性值

(resourceGroupName: string, namespaceName: string, authorizationRuleName: string, options?: NamespacesGetAuthorizationRuleOptionalParams) => Promise<AuthorizationRule>

getNetworkRuleSet

取得命名空間的 NetworkRuleSet。

getNetworkRuleSet: (resourceGroupName: string, namespaceName: string, options?: NamespacesGetNetworkRuleSetOptionalParams) => Promise<NetworkRuleSet>

屬性值

(resourceGroupName: string, namespaceName: string, options?: NamespacesGetNetworkRuleSetOptionalParams) => Promise<NetworkRuleSet>

list

列出訂用帳戶內的所有可用命名空間,不論資源群組為何。

list: (options?: NamespacesListOptionalParams) => PagedAsyncIterableIterator<EHNamespace, EHNamespace[], PageSettings>

屬性值

(options?: NamespacesListOptionalParams) => PagedAsyncIterableIterator<EHNamespace, EHNamespace[], PageSettings>

listAuthorizationRules

取得命名空間的授權規則清單。

listAuthorizationRules: (resourceGroupName: string, namespaceName: string, options?: NamespacesListAuthorizationRulesOptionalParams) => PagedAsyncIterableIterator<AuthorizationRule, AuthorizationRule[], PageSettings>

屬性值

(resourceGroupName: string, namespaceName: string, options?: NamespacesListAuthorizationRulesOptionalParams) => PagedAsyncIterableIterator<AuthorizationRule, AuthorizationRule[], PageSettings>

listByResourceGroup

列出資源群組內的可用命名空間。

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

屬性值

(resourceGroupName: string, options?: NamespacesListByResourceGroupOptionalParams) => PagedAsyncIterableIterator<EHNamespace, EHNamespace[], PageSettings>

listKeys

取得命名空間的主要和次要連接字串。

listKeys: (resourceGroupName: string, namespaceName: string, authorizationRuleName: string, options?: NamespacesListKeysOptionalParams) => Promise<AccessKeys>

屬性值

(resourceGroupName: string, namespaceName: string, authorizationRuleName: string, options?: NamespacesListKeysOptionalParams) => Promise<AccessKeys>

listNetworkRuleSet

取得命名空間的 NetworkRuleSet。

listNetworkRuleSet: (resourceGroupName: string, namespaceName: string, options?: NamespacesListNetworkRuleSetOptionalParams) => Promise<NetworkRuleSetListResult>

屬性值

(resourceGroupName: string, namespaceName: string, options?: NamespacesListNetworkRuleSetOptionalParams) => Promise<NetworkRuleSetListResult>

regenerateKeys

重新產生指定命名空間的主要或次要連接字串。

regenerateKeys: (resourceGroupName: string, namespaceName: string, authorizationRuleName: string, parameters: RegenerateAccessKeyParameters, options?: NamespacesRegenerateKeysOptionalParams) => Promise<AccessKeys>

屬性值

(resourceGroupName: string, namespaceName: string, authorizationRuleName: string, parameters: RegenerateAccessKeyParameters, options?: NamespacesRegenerateKeysOptionalParams) => Promise<AccessKeys>

update

建立或更新命名空間。 建立之後,此命名空間的資源指令清單是不可變的。 此作業是等冪的。

update: (resourceGroupName: string, namespaceName: string, parameters: EHNamespace, options?: NamespacesUpdateOptionalParams) => Promise<EHNamespace | undefined>

屬性值

(resourceGroupName: string, namespaceName: string, parameters: EHNamespace, options?: NamespacesUpdateOptionalParams) => Promise<EHNamespace | undefined>