SchemaRegistry interface
表示 SchemaRegistry 的介面。
方法
| create |
建立或更新 EventHub 架構群組。 |
| delete(string, string, string, Schema |
刪除 EventHub 架構群組。 |
| get(string, string, string, Schema |
取得 EventHub 架構群組的詳細數據。 |
| list |
取得命名空間中的所有架構群組。 |
方法詳細資料
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
架構組名
選項參數。
傳回
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
命名空間名稱
選項參數。