File: Provisioning\Provisioners\AzureProvisioner.cs
Web Access
Project: src\src\Aspire.Hosting.Azure\Aspire.Hosting.Azure.csproj (Aspire.Hosting.Azure)
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
 
#pragma warning disable ASPIREPIPELINES002 // Type is for evaluation purposes only and is subject to change or removal in future updates. Suppress this diagnostic to proceed.
 
using Aspire.Hosting.ApplicationModel;
 
namespace Aspire.Hosting.Azure;
 
// Provisions azure resources for development purposes
internal sealed class AzureProvisioner(
    AzureProvisioningController provisioningController)
{
    internal Task ProvisionResourcesAsync(DistributedApplicationModel model, CancellationToken cancellationToken = default)
    {
        return provisioningController.EnsureProvisionedAsync(model, cancellationToken);
    }
}