Class ResourceMeta
- Namespace
- Azure.Iot.Operations.Services.EdgeRegistry.Generated
- Assembly
- Azure.Iot.Operations.Services.dll
public class ResourceMeta : IJsonOnDeserialized, IJsonOnSerializing
- Inheritance
-
ResourceMeta
- 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
CreatedAt
The date/time of when the entity was created.
[JsonPropertyName("createdAt")]
[JsonIgnore(Condition = JsonIgnoreCondition.Never)]
[JsonRequired]
public DateTime CreatedAt { get; set; }
Property Value
DefaultVersionId
The versionId of the default Version of the Resource.
[JsonPropertyName("defaultVersionId")]
[JsonIgnore(Condition = JsonIgnoreCondition.Never)]
[JsonRequired]
public string DefaultVersionId { get; set; }
Property Value
DefaultVersionSticky
A value of true means that defaultVersionId has been explicitly set and MUST NOT automatically change if other Versions are added or removed. A value of false means the default Version MUST be the newest Version, as defined by the Resource's versionmode algorithm.
[JsonPropertyName("defaultVersionSticky")]
[JsonIgnore(Condition = JsonIgnoreCondition.Never)]
[JsonRequired]
public bool DefaultVersionSticky { 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
Epoch
A numeric value used to determine whether an entity has been modified.
[JsonPropertyName("epoch")]
[JsonIgnore(Condition = JsonIgnoreCondition.Never)]
[JsonRequired]
public ulong Epoch { 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[]>
Id
Resource identifier.
[JsonPropertyName("id")]
[JsonIgnore(Condition = JsonIgnoreCondition.Never)]
[JsonRequired]
public string Id { get; set; }
Property Value
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
ModifiedAt
The date/time of when the entity was last updated.
[JsonPropertyName("modifiedAt")]
[JsonIgnore(Condition = JsonIgnoreCondition.Never)]
[JsonRequired]
public DateTime ModifiedAt { get; set; }
Property Value
ReadOnly
Indicates whether the Resource is updateable by clients.
[JsonPropertyName("readOnly")]
[JsonIgnore(Condition = JsonIgnoreCondition.Never)]
[JsonRequired]
public bool ReadOnly { get; set; }
Property Value
Xid
Full XID path.
[JsonPropertyName("xid")]
[JsonIgnore(Condition = JsonIgnoreCondition.Never)]
[JsonRequired]
public string Xid { 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; }