withClusterLifetime
Method
interface KindClusterResource { // ... omitted for brevity withClusterLifetime(lifetime: ClusterLifetime): IKindResource;}Signature
method
withClusterLifetimebuilderSets the cluster lifetime. When `Session` (the default), the cluster is deleted on graceful shutdown or other process-exit signals on a best-effort basis. When `Persistent`, the cluster survives AppHost restarts and is reused on next startup.
withClusterLifetime(lifetime: ClusterLifetime): IKindResourceParameters
lifetimeClusterLifetimeReturns
IKindResourceApplies to
This method applies to the following types: