Table of Contents

Class ProviderRegistrySqlModel

Namespace
OpenSettings.Domains.Sql.Entities
Assembly
OpenSettings.dll

Represents a registry entry for a provider instance, used to track metadata within the system.

[Table("ProviderRegistries")]
public class ProviderRegistrySqlModel : EntityBase<Guid>
Inheritance
ProviderRegistrySqlModel
Inherited Members

Properties

ClientId

The unique identifier of the app.

public Guid ClientId { get; set; }

Property Value

Guid

ClientIdLowercase

The lowercase version of the ClientId, typically used for case-insensitive comparisons.

public string ClientIdLowercase { get; set; }

Property Value

string

Host

The host address of the provider instance.

public string Host { get; set; }

Property Value

string

InstanceDynamicId

The dynamic identifier of the instance.

public string InstanceDynamicId { get; set; }

Property Value

string

Remarks

The referenced id in the dbo.Instances table may not exist if the instance has been deleted.

LastHeartbeatOn

The timestamp of the last successful heartbeat sent by the provider. Used for determining availability and liveness.

public DateTime LastHeartbeatOn { get; set; }

Property Value

DateTime

PackVersion

The version of the OpenSettings pack used by the provider. e.g. '1.0.0-preview.1.0.1'.

public string PackVersion { get; set; }

Property Value

string

Port

The network port on which the provider is running.

public int Port { get; set; }

Property Value

int

Region

The region where the provider is deployed or operating.

public string Region { get; set; }

Property Value

string

Scheme

The communication scheme used by the provider (e.g., HTTP, gRPC).

public ProviderRegistryScheme Scheme { get; set; }

Property Value

ProviderRegistryScheme

Type

The type of the provider registered in the system.

public ProviderRegistryType Type { get; set; }

Property Value

ProviderRegistryType

UpdatedOn

The date and time when the entity was last updated, or null if never updated.

[NotMapped]
public override DateTime? UpdatedOn { get; set; }

Property Value

DateTime?

Version

The version of the instance. e.g. '1.0.0'

public string Version { get; set; }

Property Value

string