PipelineContext Properties
Class Properties 6 members
Provides contextual information and services for the pipeline execution process of a distributed application.
Gets the cancellation token for the pipeline operation.
public CancellationToken CancellationToken { get; set; } Gets the execution context for the distributed application.
public DistributedApplicationExecutionContext ExecutionContext { get; } Gets the logger for pipeline operations.
public ILogger Logger { get; } Gets the distributed application model to be deployed.
public DistributedApplicationModel Model { get; } Gets the service provider for dependency resolution.
public IServiceProvider Services { get; } Gets the pipeline summary that steps can add information to. The summary will be displayed to users after pipeline execution completes.
public PipelineSummary Summary { get; }Remarks
Pipeline steps can add key-value pairs to the summary to provide useful information about the pipeline execution, such as deployment targets, resource names, URLs, etc.
Examples
// In a pipeline stepcontext.PipelineContext.Summary.Add("☁️ Target", "Azure");context.PipelineContext.Summary.Add("📦 Resource Group", "rg-myapp");