SchemaRegistry interface
Interface representing a SchemaRegistry.
Methods
create |
Creates or Updates an EventHub schema group. |
delete(string, string, string, Schema |
Deletes an EventHub schema group. |
get(string, string, string, Schema |
Gets the details of an EventHub schema group. |
list |
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.
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
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
The options parameters.