AzureConstructResource(String, Action<ResourceModuleConstruct>) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.