Skip to main content

schemas

Creates, updates, deletes, gets or lists a schemas resource.

Overview

Nameschemas
TypeResource
Idazure.schema_registry.schemas

Fields

The following fields are returned by SELECT queries:

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_schema_by_idexecid, fully_qualified_namespaceGet a registered schema by its unique ID reference. Gets a registered schema by its unique ID. Azure Schema Registry guarantees that ID is unique within a namespace. Operation response type is based on serialization of schema requested.
get_schema_by_versionexecgroup_name, schema_name, schema_version, fully_qualified_namespaceGet specific schema versions. Gets one specific version of one schema.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
fully_qualified_namespacestringThe service endpoint host (no scheme), e.g. myaccount.table.cosmos.azure.com:443 - value of the client fullyQualifiedNamespace parameter. (default: )
group_namestringName of schema group. Required.
idstringSchema ID that uniquely identifies a schema in the registry namespace. Required.
schema_namestringName of schema. Required.
schema_versionintegerVersion number of specific schema. Required.

Lifecycle Methods

Get a registered schema by its unique ID reference. Gets a registered schema by its unique ID. Azure Schema Registry guarantees that ID is unique within a namespace. Operation response type is based on serialization of schema requested.

EXEC azure.schema_registry.schemas.get_schema_by_id 
@id='{{ id }}' --required,
@fully_qualified_namespace='{{ fully_qualified_namespace }}' --required
;