IDeploymentStateManager
Interface net8.0
Provides deployment state management functionality.
namespace Aspire.Hosting.Pipelines;
public interface IDeploymentStateManager{ // ...} 5 members
Properties1
Section titled PropertiesMethods4
Section titled MethodsAcquireSectionAsync(string, CancellationToken)abstract Acquires a specific section of the deployment state with version tracking for concurrency control. The returned section is an immutable snapshot of the data at the time of acquisition.
ClearAllStateAsync(CancellationToken)abstractTask Clears all deployment state, removing all sections and the underlying storage.
DeleteSectionAsync(DeploymentStateSection, CancellationToken)abstractTask Delete a section of deployment state with optimistic concurrency control. The section must have a matching version number or a concurrency exception will be thrown.
SaveSectionAsync(DeploymentStateSection, CancellationToken)abstractTask Saves a section of deployment state with optimistic concurrency control. The section must have a matching version number or a concurrency exception will be thrown.