schema_registries
Creates, updates, deletes, gets or lists a schema_registries
resource.
Overview
Name | schema_registries |
Type | Resource |
Id | azure.device_registry.schema_registries |
Fields
The following fields are returned by SELECT
queries:
- get
- list_by_resource_group
- list_by_subscription
Azure operation completed successfully.
Name | Datatype | Description |
---|---|---|
identity | object | The managed service identities assigned to this resource. |
location | string | The geo-location where the resource lives |
properties | object | The resource-specific properties for this resource. |
tags | object | Resource tags. |
Azure operation completed successfully.
Name | Datatype | Description |
---|---|---|
identity | object | The managed service identities assigned to this resource. |
location | string | The geo-location where the resource lives |
properties | object | The resource-specific properties for this resource. |
tags | object | Resource tags. |
Azure operation completed successfully.
Name | Datatype | Description |
---|---|---|
identity | object | The managed service identities assigned to this resource. |
location | string | The geo-location where the resource lives |
properties | object | The resource-specific properties for this resource. |
tags | object | Resource tags. |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
get | select | subscriptionId , resourceGroupName , schemaRegistryName | Get a SchemaRegistry | |
list_by_resource_group | select | subscriptionId , resourceGroupName | List SchemaRegistry resources by resource group | |
list_by_subscription | select | subscriptionId | List SchemaRegistry resources by subscription ID | |
create_or_replace | insert | subscriptionId , resourceGroupName , schemaRegistryName | Create a SchemaRegistry | |
update | update | subscriptionId , resourceGroupName , schemaRegistryName | Update a SchemaRegistry | |
delete | delete | subscriptionId , resourceGroupName , schemaRegistryName | Delete a SchemaRegistry |
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.
Name | Datatype | Description |
---|---|---|
resourceGroupName | string | The name of the resource group. The name is case insensitive. |
schemaRegistryName | string | Schema registry name parameter. |
subscriptionId | string (uuid) | The ID of the target subscription. The value must be an UUID. |
SELECT
examples
- get
- list_by_resource_group
- list_by_subscription
Get a SchemaRegistry
SELECT
identity,
location,
properties,
tags
FROM azure.device_registry.schema_registries
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND schemaRegistryName = '{{ schemaRegistryName }}' -- required
;
List SchemaRegistry resources by resource group
SELECT
identity,
location,
properties,
tags
FROM azure.device_registry.schema_registries
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
;
List SchemaRegistry resources by subscription ID
SELECT
identity,
location,
properties,
tags
FROM azure.device_registry.schema_registries
WHERE subscriptionId = '{{ subscriptionId }}' -- required
;
INSERT
examples
- create_or_replace
- Manifest
Create a SchemaRegistry
INSERT INTO azure.device_registry.schema_registries (
data__properties,
data__identity,
data__tags,
data__location,
subscriptionId,
resourceGroupName,
schemaRegistryName
)
SELECT
'{{ properties }}',
'{{ identity }}',
'{{ tags }}',
'{{ location }}',
'{{ subscriptionId }}',
'{{ resourceGroupName }}',
'{{ schemaRegistryName }}'
RETURNING
identity,
location,
properties,
tags
;
# Description fields are for documentation purposes
- name: schema_registries
props:
- name: subscriptionId
value: string (uuid)
description: Required parameter for the schema_registries resource.
- name: resourceGroupName
value: string
description: Required parameter for the schema_registries resource.
- name: schemaRegistryName
value: string
description: Required parameter for the schema_registries resource.
- name: properties
value: object
description: |
The resource-specific properties for this resource.
- name: identity
value: object
description: |
The managed service identities assigned to this resource.
- name: tags
value: object
description: |
Resource tags.
- name: location
value: string
description: |
The geo-location where the resource lives
UPDATE
examples
- update
Update a SchemaRegistry
UPDATE azure.device_registry.schema_registries
SET
data__identity = '{{ identity }}',
data__tags = '{{ tags }}',
data__properties = '{{ properties }}'
WHERE
subscriptionId = '{{ subscriptionId }}' --required
AND resourceGroupName = '{{ resourceGroupName }}' --required
AND schemaRegistryName = '{{ schemaRegistryName }}' --required
RETURNING
identity,
location,
properties,
tags;
DELETE
examples
- delete
Delete a SchemaRegistry
DELETE FROM azure.device_registry.schema_registries
WHERE subscriptionId = '{{ subscriptionId }}' --required
AND resourceGroupName = '{{ resourceGroupName }}' --required
AND schemaRegistryName = '{{ schemaRegistryName }}' --required
;