Class ResourceMetaAttributes
- Namespace
- Azure.Iot.Operations.Services.EdgeRegistry.Generated
- Assembly
- Azure.Iot.Operations.Services.dll
Mutable attributes for creating or updating a Resource (its meta sub-entity).
public class ResourceMetaAttributes : IJsonOnDeserialized, IJsonOnSerializing
- Inheritance
-
ResourceMetaAttributes
- Implements
- Inherited Members
Properties
Compatibility
States that Versions of this Resource adhere to a certain compatibility rule.
[JsonPropertyName("compatibility")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? Compatibility { get; set; }
Property Value
Deprecated
Information about deprecation status of the entity, if applicable.
[JsonPropertyName("deprecated")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public DeprecatedInfo? Deprecated { get; set; }
Property Value
Extensions
Extension-specific attributes (e.g., format and content_type for schemas).
[JsonPropertyName("extensions")]
[JsonIgnore(Condition = JsonIgnoreCondition.Never)]
[JsonRequired]
public Dictionary<string, byte[]> Extensions { get; set; }
Property Value
- Dictionary<string, byte[]>
Labels
A mechanism in which additional metadata about the entity can be stored without changing the model definition of the entity. Labels can be used for querying.
[JsonPropertyName("labels")]
[JsonIgnore(Condition = JsonIgnoreCondition.Never)]
[JsonRequired]
public List<Label> Labels { get; set; }
Property Value
Xref
Indicates that this Resource is a reference to another Resource within the same Registry. The XID path of the referenced Resource.
[JsonPropertyName("xref")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? Xref { get; set; }