Skip to content
DocsTry Aspire
DocsTry

KnownResourceStates Fields

ClassFields15 members
The set of well known resource states.
ActiveSection titled Activestaticreadonlystring
The not active state. Useful for resources without a lifetime.
public static readonly string Active
BuildableStatesSection titled BuildableStatesstaticreadonlyIReadOnlyList<string>
List of states in which a resource can be rebuilt.
public static readonly IReadOnlyList<string> BuildableStates
BuildingSection titled Buildingstaticreadonlystring
The building state. Useful for showing the resource is being rebuilt.
public static readonly string Building
ExitedSection titled Exitedstaticreadonlystring
The exited state. Useful for showing the resource has exited.
public static readonly string Exited
FailedToStartSection titled FailedToStartstaticreadonlystring
The failed to start state. Useful for showing the resource has failed to start successfully.
public static readonly string FailedToStart
FinishedSection titled Finishedstaticreadonlystring
The finished state. Useful for showing the resource has finished.
public static readonly string Finished
HiddenSection titled Hiddenstaticreadonlystring
The hidden state. Useful for hiding the resource.
public static readonly string Hidden
NotStartedSection titled NotStartedstaticreadonlystring
The not started state. Useful for showing the resource was created without being started.
public static readonly string NotStarted
RunningSection titled Runningstaticreadonlystring
The running state. Useful for showing the resource is running.
public static readonly string Running
RuntimeUnhealthySection titled RuntimeUnhealthystaticreadonlystring
The runtime unhealthy state. Indicates that a resource could not be started because the runtime is not in a healthy state.
public static readonly string RuntimeUnhealthy
StartingSection titled Startingstaticreadonlystring
The starting state. Useful for showing the resource is starting.
public static readonly string Starting
StoppingSection titled Stoppingstaticreadonlystring
The stopping state. Useful for showing the resource is stopping.
public static readonly string Stopping
TerminalStatesSection titled TerminalStatesstaticreadonlyIReadOnlyList<string>
List of terminal states.
public static readonly IReadOnlyList<string> TerminalStates
ValueMissingSection titled ValueMissingstaticreadonlystring
The value missing state. Useful for showing a parameter resource is waiting for a value.
public static readonly string ValueMissing
WaitingSection titled Waitingstaticreadonlystring
The waiting state. Useful for showing the resource is waiting for a dependency.
public static readonly string Waiting