Partager via


SchemaRegistry interface

Interface representing a SchemaRegistry.

Methods

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

Creates or Updates an EventHub schema group.

delete(string, string, string, SchemaRegistryDeleteOptionalParams)

Deletes an EventHub schema group.

get(string, string, string, SchemaRegistryGetOptionalParams)

Gets the details of an EventHub schema group.

listByNamespace(string, string, SchemaRegistryListByNamespaceOptionalParams)

Gets all the Schema Groups in a Namespace.

Method Details

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

Creates or Updates an EventHub schema group.

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

Parameters

resourceGroupName

string

Name of the resource group within the azure subscription.

namespaceName

string

The Namespace name

schemaGroupName

string

The Schema Group name

parameters
SchemaGroup

Parameters supplied to create an Event Hub resource.

options
SchemaRegistryCreateOrUpdateOptionalParams

The options parameters.

Returns

Promise<SchemaGroup>

delete(string, string, string, SchemaRegistryDeleteOptionalParams)

Deletes an EventHub schema group.

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

Parameters

resourceGroupName

string

Name of the resource group within the azure subscription.

namespaceName

string

The Namespace name

schemaGroupName

string

The Schema Group name

options
SchemaRegistryDeleteOptionalParams

The options parameters.

Returns

Promise<void>

get(string, string, string, SchemaRegistryGetOptionalParams)

Gets the details of an EventHub schema group.

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

Parameters

resourceGroupName

string

Name of the resource group within the azure subscription.

namespaceName

string

The Namespace name

schemaGroupName

string

The Schema Group name

options
SchemaRegistryGetOptionalParams

The options parameters.

Returns

Promise<SchemaGroup>

listByNamespace(string, string, SchemaRegistryListByNamespaceOptionalParams)

Gets all the Schema Groups in a Namespace.

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

Parameters

resourceGroupName

string

Name of the resource group within the azure subscription.

namespaceName

string

The Namespace name

options
SchemaRegistryListByNamespaceOptionalParams

The options parameters.

Returns