All Products
Search
Document Center

Function Compute:PutProvisionConfigInput

Last Updated:Jul 30, 2026

Parameter

Type

Description

Example

object

Applies or updates the configuration of provisioned resources.

alwaysAllocateCPU

boolean

Specifies whether to always allocate CPU. Default value: true.

true

alwaysAllocateGPU

boolean

Specifies whether to always allocate GPU. Default value: true.

true

scheduledActions

array

The scheduled scaling configuration.

ScheduledAction

The scheduled scaling policy.

target

integer

Important This parameter is no longer recommended. Use the defaultTarget parameter instead.
The target number of provisioned resources. Valid values: 0 to 10000.

1

targetTrackingPolicies

array

The metric-based scaling policy configuration.

TargetTrackingPolicy

The metric-based scaling policy.

defaultTarget

integer

The default minimum number of provisioned instances. Valid values: 0 to 10000.

Note
  • If no metric-based auto elastic policy or scheduled elastic policy is configured, the current minimum number of instances equals the minimum number of instances you configured.

  • If you configured multiple elastic policies for the minimum number of instances, the system calculates the minimum number of instances triggered by each policy and uses the maximum value among the elastic policies that are effective at the current time as the current minimum number of instances.

5