Skip to main content

schema_versions

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

Overview

Nameschema_versions
TypeResource
Idazure.schema_registry.schema_versions

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
valueinteger

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_schema_versionsselectgroup_name, schema_name, fully_qualified_namespaceList schema versions. Gets the list of all versions 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.
schema_namestringName of schema. Required.

SELECT examples

List schema versions. Gets the list of all versions of one schema.

SELECT
value
FROM azure.schema_registry.schema_versions
WHERE group_name = '{{ group_name }}' -- required
AND schema_name = '{{ schema_name }}' -- required
AND fully_qualified_namespace = '{{ fully_qualified_namespace }}' -- required
;