Sdílet prostřednictvím


SchemaRegistryClient.GetSchemaProperties Method

Definition

Gets the schema ID associated with the schema from the SchemaRegistry service.

public virtual Azure.Response<Azure.Data.SchemaRegistry.SchemaProperties> GetSchemaProperties (string groupName, string schemaName, string schemaDefinition, Azure.Data.SchemaRegistry.SchemaFormat format, System.Threading.CancellationToken cancellationToken = default);
abstract member GetSchemaProperties : string * string * string * Azure.Data.SchemaRegistry.SchemaFormat * System.Threading.CancellationToken -> Azure.Response<Azure.Data.SchemaRegistry.SchemaProperties>
override this.GetSchemaProperties : string * string * string * Azure.Data.SchemaRegistry.SchemaFormat * System.Threading.CancellationToken -> Azure.Response<Azure.Data.SchemaRegistry.SchemaProperties>
Public Overridable Function GetSchemaProperties (groupName As String, schemaName As String, schemaDefinition As String, format As SchemaFormat, Optional cancellationToken As CancellationToken = Nothing) As 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, including the schema ID provided by the service.

Applies to