你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

FunctionApp.UpdateStages.WithManagedEnvironmentScaleRules Interface

public static interface FunctionApp.UpdateStages.WithManagedEnvironmentScaleRules

A function app update allowing scale rules to be set if hosted on Azure Container Apps environment.

Method Summary

Modifier and Type Method and Description
abstract Update withMaxReplicas(int maxReplicas)

Specifies the maximum replica count.

abstract Update withMinReplicas(int minReplicas)

Specifies the minimum replica count.

Method Details

withMaxReplicas

public abstract FunctionApp.Update withMaxReplicas(int maxReplicas)

Specifies the maximum replica count.

Parameters:

maxReplicas - maximum replica count

Returns:

the next stage of the function app update

withMinReplicas

public abstract FunctionApp.Update withMinReplicas(int minReplicas)

Specifies the minimum replica count.

Parameters:

minReplicas - minimum replica count

Returns:

the next stage of the definition

Applies to