All Products
Search
Document Center

Function Compute:TargetTrackingPolicy

Last Updated:Jun 11, 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 for metric-based auto scaling.

0.6

metricType

string

The metric type for tracing. ProvisionedConcurrencyUtilization: the concurrency utilization of provisioned instances. CPUUtilization: the CPU utilization. GPUMemUtilization: the GPU utilization.

CPUUtilization

minCapacity

integer

The minimum number of provisioned instances for scale-in.

1

name

string

The policy name.

test_1

startTime

string

The time when the policy starts to take effect, in UTC.

2023-03-10T10:10:10Z

timeZone

string

The time zone. If the time zone parameter is empty, the time of startTime and endTime must be in UTC format.

Asia/Shanghai