Skip to content
Docs Try Aspire

AzurePublishingContext Constructors

Class Constructors 1 member
Represents a context for publishing Azure bicep templates for a distributed application.
Constructor(string, AzureProvisioningOptions, IServiceProvider, ILogger, IReportingStep) Section titled Constructor(string, AzureProvisioningOptions, IServiceProvider, ILogger, IReportingStep)
Represents a context for publishing Azure bicep templates for a distributed application.
public sealed class AzurePublishingContext
{
public AzurePublishingContext(
string outputPath,
AzureProvisioningOptions provisioningOptions,
IServiceProvider serviceProvider,
ILogger logger,
IReportingStep reportingStep)
{
// ...
}
}
outputPath string
provisioningOptions AzureProvisioningOptions
serviceProvider IServiceProvider
logger ILogger
reportingStep IReportingStep
This context facilitates the generation of bicep templates using the provided application model, publisher options, and execution context. It handles resource configuration and ensures that the bicep template is created in the specified output path.