All Products
Search
Document Center

Function Compute:ProvisionConfig

Last Updated:Nov 22, 2024
ParameterTypeDescriptionExample
object

The provisioned instance configurations of the function.

alwaysAllocateCPUboolean

Specify whether to always allocate CPUs to function instances.

true
alwaysAllocateGPUboolean

Specify whether to always allocate GPUs to function instances.

true
currentlong

The actual number of provisioned instances.

1
currentErrorstring

The error message returned if a provisioned instance fails to be created.

image not found
functionArnstring

The Alibaba Cloud Resource Name (ARN) of the function.

acs:fc:cn-shanghai:124:functions/myFunction
scheduledActionsarray

The configurations of scheduled auto scaling.

ScheduledAction

The policy of scheduled auto scaling.

targetlong

The number of target provisioned instances.

5
targetTrackingPoliciesarray

The configurations of metric-based auto scaling.

TargetTrackingPolicy

The metric-based auto scaling policy.