SchemaRegistryOperations Class

SchemaRegistryOperations operations.

You should not instantiate this class directly. Instead, you should create a Client instance that instantiates it for you and attaches it as an attribute.

Inheritance
builtins.object
SchemaRegistryOperations

Constructor

SchemaRegistryOperations(client, config, serializer, deserializer)

Parameters

client
Required

Client for service requests.

config
Required

Configuration of service client.

serializer
Required

An object model serializer.

deserializer
Required

An object model deserializer.

Variables

models

Alias to model classes used in this operation group.

Methods

create_or_update

create_or_update.

delete

delete.

get

get.

list_by_namespace

Gets all the Schema Groups in a Namespace.

create_or_update

create_or_update.

create_or_update(resource_group_name: str, namespace_name: str, schema_group_name: str, parameters: azure.mgmt.eventhub.v2021_11_01.models._models_py3.SchemaGroup, **kwargs: Any) -> azure.mgmt.eventhub.v2021_11_01.models._models_py3.SchemaGroup

Parameters

resource_group_name
str
Required

Name of the resource group within the azure subscription.

namespace_name
str
Required

The Namespace name.

schema_group_name
str
Required

The Schema Group name.

parameters
SchemaGroup
Required

Parameters supplied to create an Event Hub resource.

cls
callable

A custom type or function that will be passed the direct response

Returns

SchemaGroup, or the result of cls(response)

Return type

Exceptions

delete

delete.

delete(resource_group_name: str, namespace_name: str, schema_group_name: str, **kwargs: Any) -> None

Parameters

resource_group_name
str
Required

Name of the resource group within the azure subscription.

namespace_name
str
Required

The Namespace name.

schema_group_name
str
Required

The Schema Group name.

cls
callable

A custom type or function that will be passed the direct response

Returns

None, or the result of cls(response)

Return type

Exceptions

get

get.

get(resource_group_name: str, namespace_name: str, schema_group_name: str, **kwargs: Any) -> azure.mgmt.eventhub.v2021_11_01.models._models_py3.SchemaGroup

Parameters

resource_group_name
str
Required

Name of the resource group within the azure subscription.

namespace_name
str
Required

The Namespace name.

schema_group_name
str
Required

The Schema Group name.

cls
callable

A custom type or function that will be passed the direct response

Returns

SchemaGroup, or the result of cls(response)

Return type

Exceptions

list_by_namespace

Gets all the Schema Groups in a Namespace.

list_by_namespace(resource_group_name: str, namespace_name: str, skip: Optional[int] = None, top: Optional[int] = None, **kwargs: Any) -> Iterable[azure.mgmt.eventhub.v2021_11_01.models._models_py3.SchemaGroupListResult]

Parameters

resource_group_name
str
Required

Name of the resource group within the azure subscription.

namespace_name
str
Required

The Namespace name.

skip
int
Required

Skip is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skip parameter that specifies a starting point to use for subsequent calls. Default value is None.

top
int
Required

May be used to limit the number of results to the most recent N usageDetails. Default value is None.

cls
callable

A custom type or function that will be passed the direct response

Returns

An iterator like instance of either SchemaGroupListResult or the result of cls(response)

Return type

Exceptions

Attributes

models

models = <module 'azure.mgmt.eventhub.v2021_11_01.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.9.13\\x64\\lib\\site-packages\\azure\\mgmt\\eventhub\\v2021_11_01\\models\\__init__.py'>