Skip to content
DocsTry Aspire
DocsTry

AzureContainerAppResource Constructors

ClassConstructors1 member
Represents an Azure Container App resource.
Constructor(string, Action<AzureResourceInfrastructure>, IResource)Section titled Constructor(string, Action<AzureResourceInfrastructure>, IResource)
Initializes a new instance of the AzureContainerAppResource class.
public class AzureContainerAppResource
{
public AzureContainerAppResource(
string name,
Action<AzureResourceInfrastructure> configureInfrastructure,
IResource targetResource)
{
// ...
}
}
namestringThe name of the resource in the Aspire application model.
configureInfrastructureAction<AzureResourceInfrastructure>Callback to configure the Azure resources.
targetResourceIResourceThe target compute resource that this Azure Container App is being created for.