AzurePublishingContext Class
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.
Represents a context for publishing Azure bicep templates for a distributed application.
public sealed class AzurePublishingContext
type AzurePublishingContext = class
Public NotInheritable Class AzurePublishingContext
- Inheritance
-
AzurePublishingContext
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.
Constructors
AzurePublishingContext(String, AzureProvisioningOptions, ILogger) |
Represents a context for publishing Azure bicep templates for a distributed application. |
Properties
MainInfrastructure |
Gets the main.bicep infrastructure for the distributed application. |
OutputLookup |
Gets a dictionary that maps output references to provisioning outputs. |
ParameterLookup |
Gets a dictionary that maps parameter resources to provisioning parameters. |
Methods
WriteModelAsync(DistributedApplicationModel, AzureEnvironmentResource, CancellationToken) |
Writes the specified distributed application model to the output path using Bicep templates. |