NamespacesOperations interface
表示命名空间作的接口。
属性
| create |
创建命名空间 |
| delete | |
| get | 获取命名空间 |
| list |
按资源组列出命名空间资源 |
| list |
按订阅 ID 列出命名空间资源 |
| migrate | 将资源迁移到命名空间 |
| update | 更新命名空间 |
属性详细信息
createOrReplace
创建命名空间
createOrReplace: (resourceGroupName: string, namespaceName: string, resource: Namespace, options?: NamespacesCreateOrReplaceOptionalParams) => PollerLike<OperationState<Namespace>, Namespace>
属性值
(resourceGroupName: string, namespaceName: string, resource: Namespace, options?: NamespacesCreateOrReplaceOptionalParams) => PollerLike<OperationState<Namespace>, Namespace>
delete
delete: (resourceGroupName: string, namespaceName: string, options?: NamespacesDeleteOptionalParams) => PollerLike<OperationState<void>, void>
属性值
(resourceGroupName: string, namespaceName: string, options?: NamespacesDeleteOptionalParams) => PollerLike<OperationState<void>, void>
get
获取命名空间
get: (resourceGroupName: string, namespaceName: string, options?: NamespacesGetOptionalParams) => Promise<Namespace>
属性值
(resourceGroupName: string, namespaceName: string, options?: NamespacesGetOptionalParams) => Promise<Namespace>
listByResourceGroup
按资源组列出命名空间资源
listByResourceGroup: (resourceGroupName: string, options?: NamespacesListByResourceGroupOptionalParams) => PagedAsyncIterableIterator<Namespace, Namespace[], PageSettings>
属性值
(resourceGroupName: string, options?: NamespacesListByResourceGroupOptionalParams) => PagedAsyncIterableIterator<Namespace, Namespace[], PageSettings>
listBySubscription
按订阅 ID 列出命名空间资源
listBySubscription: (options?: NamespacesListBySubscriptionOptionalParams) => PagedAsyncIterableIterator<Namespace, Namespace[], PageSettings>
属性值
(options?: NamespacesListBySubscriptionOptionalParams) => PagedAsyncIterableIterator<Namespace, Namespace[], PageSettings>
migrate
将资源迁移到命名空间
migrate: (resourceGroupName: string, namespaceName: string, body: NamespaceMigrateRequest, options?: NamespacesMigrateOptionalParams) => PollerLike<OperationState<void>, void>
属性值
(resourceGroupName: string, namespaceName: string, body: NamespaceMigrateRequest, options?: NamespacesMigrateOptionalParams) => PollerLike<OperationState<void>, void>
update
更新命名空间
update: (resourceGroupName: string, namespaceName: string, properties: NamespaceUpdate, options?: NamespacesUpdateOptionalParams) => PollerLike<OperationState<Namespace>, Namespace>
属性值
(resourceGroupName: string, namespaceName: string, properties: NamespaceUpdate, options?: NamespacesUpdateOptionalParams) => PollerLike<OperationState<Namespace>, Namespace>