AzurePublishingContext
Classsealednet10.0
Represents a context for publishing Azure bicep templates for a distributed application.
namespace Aspire.Hosting.Azure;
public sealed class AzurePublishingContext{ // ...}6 members
Remarks
Section titled Remarks 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.
Constructors1
Section titled Constructors Represents a context for publishing Azure bicep templates for a distributed application.
Properties4
Section titled PropertiesExcludeMainBicepFile get; setbool Gets or sets a value indicating whether the root main.bicep file is excluded from the published output.
Infrastructure Gets the main.bicep infrastructure for the distributed application.
OutputLookup getDictionary<BicepOutputReference, ProvisioningOutput> Gets a dictionary that maps output references to provisioning outputs.
Dictionary<ParameterResource, ProvisioningParameter> Gets a dictionary that maps parameter resources to provisioning parameters.
Methods1
Section titled MethodsTask Writes the specified distributed application model to the output path using Bicep templates.