API Reference
Class
SourceRootRecord
Defines a root location or endpoint used to discover usage.
Inheritance
- Object
- SourceRootRecord
Constructors
public SourceRootRecord(String id, String providerId, UsageSourceKind sourceKind, String path) #Initializes a new source-root record.
Parameters
- id System.String
- providerId System.String
- sourceKind IntelligenceX.Telemetry.Usage.UsageSourceKind
- path System.String
Methods
public static String CreateStableId(String providerId, UsageSourceKind sourceKind, String path) #Returns:
StringCreates a deterministic source-root identifier from provider, source kind, and normalized path.
Parameters
- providerId System.String
- sourceKind IntelligenceX.Telemetry.Usage.UsageSourceKind
- path System.String
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object
Properties
public String Id { get; } #Gets the stable source-root identifier.
public String ProviderId { get; } #Gets the provider identifier.
public UsageSourceKind SourceKind { get; } #Gets the source kind.
public String Path { get; } #Gets the normalized path or logical locator.
public String PlatformHint { get; set; } #Gets or sets the optional platform hint.
public String MachineLabel { get; set; } #Gets or sets the optional machine label.
public String AccountHint { get; set; } #Gets or sets the optional account hint.
public Boolean Enabled { get; set; } #Gets or sets a value indicating whether this root is enabled for discovery.