Partager via


FunctionApp.DefinitionStages.WithManagedEnvironment Interface

public static interface FunctionApp.DefinitionStages.WithManagedEnvironment

A function app definition allowing Azure Container App environment to be specified.

Method Summary

Modifier and Type Method and Description
abstract WithScaleRulesOrDockerContainerImage withManagedEnvironmentId(String managedEnvironmentId)

Specifies the ID of the Azure Container Apps environment to deploy the Function App on.

Method Details

withManagedEnvironmentId

public abstract FunctionApp.DefinitionStages.WithScaleRulesOrDockerContainerImage withManagedEnvironmentId(String managedEnvironmentId)

Specifies the ID of the Azure Container Apps environment to deploy the Function App on.

When your container is hosted in a Consumption + Dedicated plan structure, only the default Consumption plan is currently supported. Dedicated plans in this structure aren't yet supported for Functions. When running functions on Container Apps, you're charged only for the Container Apps usage.

Parameters:

managedEnvironmentId - ID of the Azure Container Apps environment

Returns:

the next stage of the definition

Applies to