AzureContainerAppResource Constructor

Definition

Initializes a new instance of the AzureContainerAppResource class.

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

Parameters

name
String

The name of the resource in the Aspire application model.

configureInfrastructure
Action<AzureResourceInfrastructure>

Callback to configure the Azure resources.

targetResource
IResource

The target compute resource that this Azure Container App is being created for.

Applies to