AzureProvisioningResource Constructor

Definition

An Aspire resource that supports use of Azure Provisioning APIs to create Azure resources.

C#
public AzureProvisioningResource(string name, Action<Aspire.Hosting.Azure.AzureResourceInfrastructure> configureInfrastructure);

Parameters

name
String

The name of the resource in the Aspire application model.

configureInfrastructure
Action<AzureResourceInfrastructure>

Callback to configure the Azure resources.

Applies to

Product Versions
.NET Aspire 9.0.0, 9.1.0