All Products
Search
Document Center

Function Compute:TargetTrackingPolicy

Last Updated:Aug 02, 2024
ParameterTypeDescriptionExample
object

The configurations of metric-based auto scaling.

endTimestring

The end time of the policy, in UTC.

2024-03-10T10:10:10Z
maxCapacitylong

The maximum number of provisioned instances for scale-out.

10
metricTargetfloat

The threshold value for metric-based auto scaling.

0.6
metricTypestring

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

CPUUtilization
minCapacitylong

The minimum number of provisioned instances for scale-in.

1
namestring

The policy name.

test_1
startTimestring

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

2023-03-10T10:10:10Z
timeZonestring

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

Asia/Shanghai