SchemaRegistryClient.RegisterSchemaAsync Method
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.
Registers a schema with the SchemaRegistry service.
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.Data.SchemaRegistry.SchemaProperties>> RegisterSchemaAsync (string groupName, string schemaName, string schemaDefinition, Azure.Data.SchemaRegistry.SchemaFormat format, System.Threading.CancellationToken cancellationToken = default);
abstract member RegisterSchemaAsync : string * string * string * Azure.Data.SchemaRegistry.SchemaFormat * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.Data.SchemaRegistry.SchemaProperties>>
override this.RegisterSchemaAsync : string * string * string * Azure.Data.SchemaRegistry.SchemaFormat * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.Data.SchemaRegistry.SchemaProperties>>
Public Overridable Function RegisterSchemaAsync (groupName As String, schemaName As String, schemaDefinition As String, format As SchemaFormat, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of SchemaProperties))
Parameters
- groupName
- String
The name of the SchemaRegistry group.
- schemaName
- String
The name of the schema.
- schemaDefinition
- String
The string representation of the schema's content.
- format
- SchemaFormat
The serialization format of the schema.
- cancellationToken
- CancellationToken
The cancellation token for the operation.
Returns
The properties of the schema.
Applies to
Dolgozzon együtt velünk a GitHubon
A tartalom forrása a GitHubon található, ahol létrehozhat és áttekinthet problémákat és lekéréses kérelmeket is. További információért tekintse meg a közreműködői útmutatónkat.
Azure SDK for .NET