AzureProvisioningResource Constructor

Definition

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

public AzureProvisioningResource (string name, Action<Aspire.Hosting.Azure.AzureResourceInfrastructure> configureInfrastructure);
new Aspire.Hosting.Azure.AzureProvisioningResource : string * Action<Aspire.Hosting.Azure.AzureResourceInfrastructure> -> Aspire.Hosting.Azure.AzureProvisioningResource
Public Sub New (name As String, configureInfrastructure As Action(Of AzureResourceInfrastructure))

Parameters

name
String

The name of the resource in the Aspire application model.

configureInfrastructure
Action<AzureResourceInfrastructure>

Callback to configure the Azure resources.

Applies to