SchemaRegistryClient Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
SchemaRegistryClient is a client for registering and retrieving schemas from the Azure Schema Registry service.
public class SchemaRegistryClient
type SchemaRegistryClient = class
Public Class SchemaRegistryClient
- Inheritance
-
SchemaRegistryClient
Constructors
SchemaRegistryClient() |
Initializes a new instance of the SchemaRegistryClient class for mocking use in testing. |
SchemaRegistryClient(String, TokenCredential, SchemaRegistryClientOptions) |
Initializes a new instance of the SchemaRegistryClient. |
SchemaRegistryClient(String, TokenCredential) |
Initializes a new instance of the SchemaRegistryClient. |
Properties
FullyQualifiedNamespace |
Gets the fully qualified namespace that the client is connecting to. |
Pipeline |
The HTTP pipeline for sending and receiving REST requests and responses. |
Methods
GetSchema(String, CancellationToken) |
Gets the schema content associated with the schema ID from the SchemaRegistry service. |
GetSchema(String, String, Int32, CancellationToken) |
Gets the schema content associated with the group name, schema name, and version from the SchemaRegistry service. |
GetSchemaAsync(String, CancellationToken) |
Gets the schema content associated with the schema ID from the SchemaRegistry service. |
GetSchemaAsync(String, String, Int32, CancellationToken) |
Gets the schema content associated with the group name, schema name, and version from the SchemaRegistry service. |
GetSchemaProperties(String, String, String, SchemaFormat, CancellationToken) |
Gets the schema ID associated with the schema from the SchemaRegistry service. |
GetSchemaPropertiesAsync(String, String, String, SchemaFormat, CancellationToken) |
Gets the schema ID associated with the schema from the SchemaRegistry service. |
RegisterSchema(String, String, String, SchemaFormat, CancellationToken) |
Registers a schema with the SchemaRegistry service. If the schema did not previously exist in the Schema Registry instance, it is added to the instance and assigned a schema ID. If the schema did previous exist in the Schema Registry instance, a new version of the schema is added to the instance and assigned a new schema ID. |
RegisterSchemaAsync(String, String, String, SchemaFormat, CancellationToken) |
Registers a schema with the SchemaRegistry service. |