Class VersionXId
- Namespace
- Azure.Iot.Operations.Services.EdgeRegistry.Models
- Assembly
- Azure.Iot.Operations.Services.dll
The XID components that identify a Version.
public class VersionXId
- Inheritance
-
VersionXId
- Inherited Members
Properties
GroupId
Group identifier.
public required string GroupId { get; set; }
Property Value
GroupType
Group type.
public required string GroupType { get; set; }
Property Value
ResourceId
Resource identifier.
public required string ResourceId { get; set; }
Property Value
ResourceType
Resource type.
public required string ResourceType { get; set; }
Property Value
VersionId
Version identifier.
public required string VersionId { get; set; }
Property Value
Methods
Parse(string)
Parses a full XID path of the form
/{groupType}/{groupId}/{resourceType}/{resourceId}/versions/{versionId} into its components.
public static VersionXId Parse(string xid)
Parameters
xidstringThe XID path to parse. A leading
/is optional.
Returns
- VersionXId
The parsed components.
Exceptions
- FormatException
xidisn't a Version XID path.