AzurePublishingContext Methods
Class Methods 1 member
Represents a context for publishing Azure bicep templates for a distributed application.
WriteModelAsync(DistributedApplicationModel, AzureEnvironmentResource, CancellationToken) Section titled WriteModelAsync(DistributedApplicationModel, AzureEnvironmentResource, CancellationToken) Task Writes the specified distributed application model to the output path using Bicep templates.
public sealed class AzurePublishingContext{ public Task WriteModelAsync( DistributedApplicationModel model, AzureEnvironmentResource environment, CancellationToken cancellationToken = default(CancellationToken)) { // ... }}Parameters
model DistributedApplicationModel The distributed application model to write to the output path. environment AzureEnvironmentResource The Azure environment resource. cancellationToken CancellationToken optional A token to monitor for cancellation requests. Returns
Task A task that represents the async operation.