Class CoreVersionEntity
- Namespace
- Azure.Iot.Operations.Services.EdgeRegistry.Models
- Assembly
- Azure.Iot.Operations.Services.dll
A specific Version of a Resource.
public class CoreVersionEntity
- Inheritance
-
CoreVersionEntity
- Inherited Members
Properties
Ancestor
The versionId of this Version's ancestor, or this Version's versionId if it has no ancestor.
public required string Ancestor { get; set; }
Property Value
CompatibilityValidated
When compatibility validation is enabled, indicates whether the server has validated that the Version conforms to the rules defined by its Resource's meta.compatibility attribute.
public ValidationStatus? CompatibilityValidated { get; set; }
Property Value
ContentType
The media type of the entity as defined by RFC9110.
public string? ContentType { get; set; }
Property Value
CreatedAt
The date/time of when the entity was created.
public required DateTime CreatedAt { get; set; }
Property Value
Description
A human-readable summary of the purpose of the entity.
public string? Description { get; set; }
Property Value
Document
The raw document content for this Version as base64-encoded bytes. The interpretation (schema, thing description, thing model, …) is determined by the parent Resource's type.
public byte[]? Document { get; set; }
Property Value
- byte[]
DocumentHash
The hash of the document content for this Version.
public string? DocumentHash { get; set; }
Property Value
Documentation
A URL to additional information about this entity.
public string? Documentation { get; set; }
Property Value
Epoch
A numeric value used to determine whether an entity has been modified.
public required ulong Epoch { get; set; }
Property Value
Extensions
Extension-specific attributes.
public required Dictionary<string, byte[]> Extensions { get; set; }
Property Value
- Dictionary<string, byte[]>
Format
Identifies what the Version represents (e.g. JsonSchema/draft-07, JSON-LD/1.1).
public string? Format { get; set; }
Property Value
FormatValidated
When format validation is enabled, indicates whether the server has validated that the Version conforms to the rules defined by its format attribute.
public ValidationStatus? FormatValidated { get; set; }
Property Value
Icon
A URL to a graphical icon for the owning entity.
public string? Icon { get; set; }
Property Value
IsDefault
Indicates whether this Version is the default Version of the owning Resource.
public required bool IsDefault { 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.
public required List<Label> Labels { get; set; }
Property Value
ModifiedAt
The date/time of when the entity was last updated.
public required DateTime ModifiedAt { get; set; }
Property Value
Name
Human-readable name.
public string? Name { get; set; }
Property Value
ResourceId
Resource identifier.
public required string ResourceId { get; set; }
Property Value
VersionId
Version identifier.
public required string VersionId { get; set; }
Property Value
XId
Full XID path.
public required string XId { get; set; }