All Products
Search
Document Center

Function Compute:TargetTrackingPolicy

Last Updated:Aug 28, 2026

Parameter

Type

Description

Example

object

The configurations of metric-based auto scaling.

endTime

string

The end time of the policy, in UTC.

2024-03-10T10:10:10Z

maxCapacity

integer

The maximum number of provisioned instances for scale-out.

10

metricTarget

number

The threshold value of the tracked metric.

0.6

metricType

string

The type of metric to track. Valid values: ProvisionedConcurrencyUtilization (concurrency utilization of provisioned instances), CPUUtilization (CPU utilization), and GPUMemUtilization (GPU utilization).

CPUUtilization

minCapacity

integer

The minimum number of provisioned instances for scale-in.

1

name

string

The name of the policy.

test_1

startTime

string

The start time of the policy, in UTC.

2023-03-10T10:10:10Z

timeZone

string

The time zone. If this parameter is not specified, the startTime and endTime values must be in UTC.

Asia/Shanghai