Skip to content
Docs Try Aspire

AzureContainerAppResource Constructors

Class Constructors 1 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)
{
// ...
}
}
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.