@@ -128,14 +128,19 @@ export interface ContainerHealthCheckSpec {
128128export interface ContainerScalingOption {
129129 /**
130130 * One-of ('scalingRule'): at most one of 'concurrentRequestsThreshold',
131- * 'cpuUsageThreshold' could be set.
131+ * 'cpuUsageThreshold', 'memoryUsageThreshold' could be set.
132132 */
133133 concurrentRequestsThreshold ?: number
134134 /**
135135 * One-of ('scalingRule'): at most one of 'concurrentRequestsThreshold',
136- * 'cpuUsageThreshold' could be set.
136+ * 'cpuUsageThreshold', 'memoryUsageThreshold' could be set.
137137 */
138138 cpuUsageThreshold ?: number
139+ /**
140+ * One-of ('scalingRule'): at most one of 'concurrentRequestsThreshold',
141+ * 'cpuUsageThreshold', 'memoryUsageThreshold' could be set.
142+ */
143+ memoryUsageThreshold ?: number
139144}
140145
141146export interface SecretHashedValue {
@@ -273,6 +278,8 @@ export interface Container {
273278 * requests being processed per container instance.
274279 * - Cpu_usage_threshold: Scale depending on the CPU usage of a container
275280 * instance.
281+ * - Memory_usage_threshold: Scale depending on the memory usage of a container
282+ * instance.
276283 */
277284 scalingOption ?: ContainerScalingOption
278285 /** Health check configuration of the container. */
@@ -474,6 +481,8 @@ export type CreateContainerRequest = {
474481 * requests being processed per container instance.
475482 * - Cpu_usage_threshold: Scale depending on the CPU usage of a container
476483 * instance.
484+ * - Memory_usage_threshold: Scale depending on the memory usage of a container
485+ * instance.
477486 */
478487 scalingOption ?: ContainerScalingOption
479488 /** Health check configuration of the container. */
@@ -939,6 +948,8 @@ export type UpdateContainerRequest = {
939948 * requests being processed per container instance.
940949 * - Cpu_usage_threshold: Scale depending on the CPU usage of a container
941950 * instance.
951+ * - Memory_usage_threshold: Scale depending on the memory usage of a container
952+ * instance.
942953 */
943954 scalingOption ?: ContainerScalingOption
944955 /** Health check configuration of the container. */
0 commit comments