Table of Contents

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

string

GroupType

Group type.

public required string GroupType { get; set; }

Property Value

string

ResourceId

Resource identifier.

public required string ResourceId { get; set; }

Property Value

string

ResourceType

Resource type.

public required string ResourceType { get; set; }

Property Value

string

VersionId

Version identifier.

public required string VersionId { get; set; }

Property Value

string

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

xid string

The XID path to parse. A leading / is optional.

Returns

VersionXId

The parsed components.

Exceptions

FormatException

xid isn't a Version XID path.