Share via


IDeploymentStateManager Interface

Definition

Provides deployment state management functionality.

public interface IDeploymentStateManager
type IDeploymentStateManager = interface
Public Interface IDeploymentStateManager

Properties

StateFilePath

Gets the file path where deployment state is stored, if applicable.

Methods

AcquireSectionAsync(String, CancellationToken)

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.

SaveSectionAsync(DeploymentStateSection, CancellationToken)

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.

Applies to