IDistributedApplicationLifecycleHook Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Defines an interface for hooks that are executed during the lifecycle of a distributed application.
public interface IDistributedApplicationLifecycleHook
type IDistributedApplicationLifecycleHook = interface
Public Interface IDistributedApplicationLifecycleHook
Methods
AfterEndpointsAllocatedAsync(DistributedApplicationModel, CancellationToken) |
Executes after the orchestrator allocates endpoints for resources in the application model. |
AfterResourcesCreatedAsync(DistributedApplicationModel, CancellationToken) |
Executes after the orchestrator has created the resources in the application model. |
BeforeStartAsync(DistributedApplicationModel, CancellationToken) |
Executes before the distributed application starts. |