Skip to content
Docs Try Aspire

ProjectResource

Handle TypeScript
📦 Aspire.Hosting.Azure.AppContainers v13.2.0-preview.1.26159.1
interface ProjectResource
extends IComputeResource,
IContainerFilesDestinationResource,
IResource,
IResourceWithArgs,
IResourceWithEndpoints,
IResourceWithEnvironment,
IResourceWithProbes,
IResourceWithWaitSupport,
IResourceWithServiceDiscovery {
disableForwardedHeaders(): ProjectResource;
publishAsAzureContainerApp(configure: (arg1: AzureResourceInfrastructure, arg2: ContainerApp) => void): ProjectResource;
withReplicas(replicas: number): ProjectResource;
}

Methods

method disableForwardedHeaders builder
Disables forwarded headers for the project
disableForwardedHeaders(): ProjectResource
ProjectResource
method publishAsAzureContainerApp builder
Configures the project resource to be published as an Azure Container App
publishAsAzureContainerApp(configure: (arg1: AzureResourceInfrastructure, arg2: ContainerApp) => void): ProjectResource
configure (arg1: AzureResourceInfrastructure, arg2: ContainerApp) => void
ProjectResource
method withReplicas builder
Sets the number of replicas
withReplicas(replicas: number): ProjectResource
replicas number
ProjectResource