Class ConnectorEdgeRegistryMessageSchema
- Namespace
- Azure.Iot.Operations.Connector
- Assembly
- Azure.Iot.Operations.Connector.dll
A message schema to register with the Edge Registry as a Schema Version.
public class ConnectorEdgeRegistryMessageSchema
- Inheritance
-
ConnectorEdgeRegistryMessageSchema
- Inherited Members
Constructors
ConnectorEdgeRegistryMessageSchema(string, SchemaVersionAttributes, IReadOnlyList<Label>?, GroupId)
public ConnectorEdgeRegistryMessageSchema(string schemaId, SchemaVersionAttributes version, IReadOnlyList<Label>? schemaLabels = null, GroupId groupId = default)
Parameters
schemaIdstringversionSchemaVersionAttributesschemaLabelsIReadOnlyList<Label>groupIdGroupId
Properties
GroupId
The Schema Group to store the schema under.
public GroupId GroupId { get; }
Property Value
SchemaId
The Schema to store the Version under. Use Derive(string, IReadOnlyList<Label>?) to turn an arbitrary identifier into a valid Resource identifier.
public string SchemaId { get; }
Property Value
SchemaLabels
Queryable key/value pairs to add to the parent Schema.
public IReadOnlyList<Label> SchemaLabels { get; }
Property Value
Version
The attributes of the Schema Version to create.
public SchemaVersionAttributes Version { get; }
Property Value
Methods
DefaultDatasetSchemaId(string, string, string, string)
Builds the identifier that uniquely describes the schema of a dataset. Pass it through Derive(string, IReadOnlyList<Label>?) to turn it into a valid Resource identifier.
public static string DefaultDatasetSchemaId(string deviceName, string inboundEndpointName, string assetName, string datasetName)
Parameters
Returns
DefaultEventSchemaId(string, string, string, string, string)
Builds the identifier that uniquely describes the schema of an event. Pass it through Derive(string, IReadOnlyList<Label>?) to turn it into a valid Resource identifier.
public static string DefaultEventSchemaId(string deviceName, string inboundEndpointName, string assetName, string eventGroupName, string eventName)
Parameters
deviceNamestringinboundEndpointNamestringassetNamestringeventGroupNamestringeventNamestring