Class ManagedInstance
- Namespace
- Bielu.Microservices.Orchestrator.Models
- Assembly
- Bielu.Microservices.Orchestrator.dll
Represents a tracked orchestration unit whose desired state is persisted so the orchestrator can recover and reconcile after a restart.
public class ManagedInstance
- Inheritance
-
ManagedInstance
- Inherited Members
Properties
ContainerIds
Runtime container IDs associated with this instance (for reconnection).
public IList<string> ContainerIds { get; set; }
Property Value
CreatedAt
When this instance record was first created.
public DateTimeOffset CreatedAt { get; set; }
Property Value
DesiredReplicas
Target replica count for this instance group.
public int DesiredReplicas { get; set; }
Property Value
DesiredState
What the user wants: Running, Stopped, or Removed.
public DesiredState DesiredState { get; set; }
Property Value
Id
Unique instance or group identifier.
public string Id { get; set; }
Property Value
Metadata
Extensible key-value metadata for the instance.
public IDictionary<string, string> Metadata { get; set; }
Property Value
OrchestratorId
public Guid OrchestratorId { get; set; }
Property Value
OriginalRequest
The original creation request, retained so the orchestrator can re-create containers after a crash or runtime restart.
public CreateContainerRequest OriginalRequest { get; set; }
Property Value
ProviderName
The name of the provider that manages this instance (e.g. "Docker", "Containerd", "Kubernetes").
public string ProviderName { get; set; }
Property Value
UpdatedAt
When this instance record was last updated.
public DateTimeOffset UpdatedAt { get; set; }