TargetUtilizationScaleSettings interface
联机部署缩放配置。
- 扩展
属性
max |
部署可缩放到的最大实例数。 配额将保留给max_instances。 |
min |
要始终存在的最小实例数。 |
polling |
ISO 8691 格式的轮询间隔。 仅支持精度为秒的持续时间。 |
scale |
多态鉴别器,它指定此对象可以的不同类型的 |
target |
自动缩放程序的目标 CPU 使用率。 |
属性详细信息
maxInstances
部署可缩放到的最大实例数。 配额将保留给max_instances。
maxInstances?: number
属性值
number
minInstances
要始终存在的最小实例数。
minInstances?: number
属性值
number
pollingInterval
ISO 8691 格式的轮询间隔。 仅支持精度为秒的持续时间。
pollingInterval?: string
属性值
string
scaleType
多态鉴别器,它指定此对象可以的不同类型的
scaleType: "TargetUtilization"
属性值
"TargetUtilization"
targetUtilizationPercentage
自动缩放程序的目标 CPU 使用率。
targetUtilizationPercentage?: number
属性值
number