Table of Contents

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

IList<string>

CreatedAt

When this instance record was first created.

public DateTimeOffset CreatedAt { get; set; }

Property Value

DateTimeOffset

DesiredReplicas

Target replica count for this instance group.

public int DesiredReplicas { get; set; }

Property Value

int

DesiredState

What the user wants: Running, Stopped, or Removed.

public DesiredState DesiredState { get; set; }

Property Value

DesiredState

Id

Unique instance or group identifier.

public string Id { get; set; }

Property Value

string

Metadata

Extensible key-value metadata for the instance.

public IDictionary<string, string> Metadata { get; set; }

Property Value

IDictionary<string, string>

OrchestratorId

public Guid OrchestratorId { get; set; }

Property Value

Guid

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

CreateContainerRequest

ProviderName

The name of the provider that manages this instance (e.g. "Docker", "Containerd", "Kubernetes").

public string ProviderName { get; set; }

Property Value

string

UpdatedAt

When this instance record was last updated.

public DateTimeOffset UpdatedAt { get; set; }

Property Value

DateTimeOffset