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

SchemaRegistry interface

表示 SchemaRegistry 的接口。

方法

createOrUpdate(string, string, string, SchemaGroup, SchemaRegistryCreateOrUpdateOptionalParams)

创建或更新 EventHub 架构组。

delete(string, string, string, SchemaRegistryDeleteOptionalParams)

删除 EventHub 架构组。

get(string, string, string, SchemaRegistryGetOptionalParams)

获取 EventHub 架构组的详细信息。

listByNamespace(string, string, SchemaRegistryListByNamespaceOptionalParams)

获取命名空间中的所有架构组。

方法详细信息

createOrUpdate(string, string, string, SchemaGroup, SchemaRegistryCreateOrUpdateOptionalParams)

创建或更新 EventHub 架构组。

function createOrUpdate(resourceGroupName: string, namespaceName: string, schemaGroupName: string, parameters: SchemaGroup, options?: SchemaRegistryCreateOrUpdateOptionalParams): Promise<SchemaGroup>

参数

resourceGroupName

string

Azure 订阅中的资源组的名称。

namespaceName

string

命名空间名称

schemaGroupName

string

架构组名称

parameters
SchemaGroup

提供用于创建事件中心资源的参数。

返回

Promise<SchemaGroup>

delete(string, string, string, SchemaRegistryDeleteOptionalParams)

删除 EventHub 架构组。

function delete(resourceGroupName: string, namespaceName: string, schemaGroupName: string, options?: SchemaRegistryDeleteOptionalParams): Promise<void>

参数

resourceGroupName

string

Azure 订阅中的资源组的名称。

namespaceName

string

命名空间名称

schemaGroupName

string

架构组名称

options
SchemaRegistryDeleteOptionalParams

选项参数。

返回

Promise<void>

get(string, string, string, SchemaRegistryGetOptionalParams)

获取 EventHub 架构组的详细信息。

function get(resourceGroupName: string, namespaceName: string, schemaGroupName: string, options?: SchemaRegistryGetOptionalParams): Promise<SchemaGroup>

参数

resourceGroupName

string

Azure 订阅中的资源组的名称。

namespaceName

string

命名空间名称

schemaGroupName

string

架构组名称

options
SchemaRegistryGetOptionalParams

选项参数。

返回

Promise<SchemaGroup>

listByNamespace(string, string, SchemaRegistryListByNamespaceOptionalParams)

获取命名空间中的所有架构组。

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

参数

resourceGroupName

string

Azure 订阅中的资源组的名称。

namespaceName

string

命名空间名称

返回