public static class UpdateServiceAutoScalerRequest.UpdateServiceAutoScalerRequestBehaviorOnZero
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
Integer |
scaleDownGracePeriodSeconds
The time window that is required before the number of instances is reduced to 0.
|
Integer |
scaleUpActivationReplicas
The number of instances that you want to create at a time if the number of instances is scaled out from 0.
|
| 构造器和说明 |
|---|
UpdateServiceAutoScalerRequestBehaviorOnZero() |
| 限定符和类型 | 方法和说明 |
|---|---|
static UpdateServiceAutoScalerRequest.UpdateServiceAutoScalerRequestBehaviorOnZero |
build(Map<String,?> map) |
Integer |
getScaleDownGracePeriodSeconds() |
Integer |
getScaleUpActivationReplicas() |
UpdateServiceAutoScalerRequest.UpdateServiceAutoScalerRequestBehaviorOnZero |
setScaleDownGracePeriodSeconds(Integer scaleDownGracePeriodSeconds) |
UpdateServiceAutoScalerRequest.UpdateServiceAutoScalerRequestBehaviorOnZero |
setScaleUpActivationReplicas(Integer scaleUpActivationReplicas) |
@NameInMap(value="scaleDownGracePeriodSeconds") public Integer scaleDownGracePeriodSeconds
The time window that is required before the number of instances is reduced to 0. Default value: 600. The number of instances can be reduced to 0 only if no request is available or no traffic exists in the specified time window.
example:600
@NameInMap(value="scaleUpActivationReplicas") public Integer scaleUpActivationReplicas
The number of instances that you want to create at a time if the number of instances is scaled out from 0. Default value: 1.
example:1
public UpdateServiceAutoScalerRequestBehaviorOnZero()
public static UpdateServiceAutoScalerRequest.UpdateServiceAutoScalerRequestBehaviorOnZero build(Map<String,?> map) throws Exception
Exceptionpublic UpdateServiceAutoScalerRequest.UpdateServiceAutoScalerRequestBehaviorOnZero setScaleDownGracePeriodSeconds(Integer scaleDownGracePeriodSeconds)
public Integer getScaleDownGracePeriodSeconds()
public UpdateServiceAutoScalerRequest.UpdateServiceAutoScalerRequestBehaviorOnZero setScaleUpActivationReplicas(Integer scaleUpActivationReplicas)
public Integer getScaleUpActivationReplicas()
Copyright © 2024. All rights reserved.