Share via


AzureConstructResource(String, Action<ResourceModuleConstruct>) Constructor

Definition

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

public AzureConstructResource (string name, Action<Aspire.Hosting.ResourceModuleConstruct> configureConstruct);
new Aspire.Hosting.AzureConstructResource : string * Action<Aspire.Hosting.ResourceModuleConstruct> -> Aspire.Hosting.AzureConstructResource
Public Sub New (name As String, configureConstruct As Action(Of ResourceModuleConstruct))

Parameters

name
String

The name of the construct in the Aspire application model.

configureConstruct
Action<ResourceModuleConstruct>

Callback to populate the construct with Azure resources.

Applies to