@@ -418,8 +418,6 @@ def create_warm_pool(
418418 environment_class_id : str ,
419419 project_id : str ,
420420 desired_size : int | Omit = omit ,
421- max_size : Optional [int ] | Omit = omit ,
422- min_size : Optional [int ] | Omit = omit ,
423421 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
424422 # The extra values given here take precedence over values defined on the client or passed to this method.
425423 extra_headers : Headers | None = None ,
@@ -459,14 +457,7 @@ def create_warm_pool(
459457 project_id: project_id specifies the project this warm pool belongs to. The project must
460458 have prebuilds enabled.
461459
462- desired_size: desired_size is the number of warm instances to maintain. Deprecated: Use
463- min_size and max_size instead for dynamic scaling.
464-
465- max_size: max_size is the maximum number of warm instances to maintain. The pool will
466- never scale above this value. Must be >= min_size and <= 20.
467-
468- min_size: min_size is the minimum number of warm instances to maintain. The pool will
469- never scale below this value. Must be >= 1 and <= max_size.
460+ desired_size: desired_size is the number of warm instances to maintain.
470461
471462 extra_headers: Send extra headers
472463
@@ -483,8 +474,6 @@ def create_warm_pool(
483474 "environment_class_id" : environment_class_id ,
484475 "project_id" : project_id ,
485476 "desired_size" : desired_size ,
486- "max_size" : max_size ,
487- "min_size" : min_size ,
488477 },
489478 prebuild_create_warm_pool_params .PrebuildCreateWarmPoolParams ,
490479 ),
@@ -671,8 +660,6 @@ def update_warm_pool(
671660 * ,
672661 warm_pool_id : str ,
673662 desired_size : Optional [int ] | Omit = omit ,
674- max_size : Optional [int ] | Omit = omit ,
675- min_size : Optional [int ] | Omit = omit ,
676663 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
677664 # The extra values given here take precedence over values defined on the client or passed to this method.
678665 extra_headers : Headers | None = None ,
@@ -697,14 +684,7 @@ def update_warm_pool(
697684 Args:
698685 warm_pool_id: warm_pool_id specifies the warm pool to update
699686
700- desired_size: desired_size updates the number of warm instances to maintain. Deprecated: Use
701- min_size and max_size instead for dynamic scaling.
702-
703- max_size: max_size updates the maximum number of warm instances to maintain. The pool will
704- never scale above this value. Must be >= min_size and <= 20.
705-
706- min_size: min_size updates the minimum number of warm instances to maintain. The pool will
707- never scale below this value. Must be >= 1 and <= max_size.
687+ desired_size: desired_size updates the number of warm instances to maintain.
708688
709689 extra_headers: Send extra headers
710690
@@ -720,8 +700,6 @@ def update_warm_pool(
720700 {
721701 "warm_pool_id" : warm_pool_id ,
722702 "desired_size" : desired_size ,
723- "max_size" : max_size ,
724- "min_size" : min_size ,
725703 },
726704 prebuild_update_warm_pool_params .PrebuildUpdateWarmPoolParams ,
727705 ),
@@ -1107,8 +1085,6 @@ async def create_warm_pool(
11071085 environment_class_id : str ,
11081086 project_id : str ,
11091087 desired_size : int | Omit = omit ,
1110- max_size : Optional [int ] | Omit = omit ,
1111- min_size : Optional [int ] | Omit = omit ,
11121088 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
11131089 # The extra values given here take precedence over values defined on the client or passed to this method.
11141090 extra_headers : Headers | None = None ,
@@ -1148,14 +1124,7 @@ async def create_warm_pool(
11481124 project_id: project_id specifies the project this warm pool belongs to. The project must
11491125 have prebuilds enabled.
11501126
1151- desired_size: desired_size is the number of warm instances to maintain. Deprecated: Use
1152- min_size and max_size instead for dynamic scaling.
1153-
1154- max_size: max_size is the maximum number of warm instances to maintain. The pool will
1155- never scale above this value. Must be >= min_size and <= 20.
1156-
1157- min_size: min_size is the minimum number of warm instances to maintain. The pool will
1158- never scale below this value. Must be >= 1 and <= max_size.
1127+ desired_size: desired_size is the number of warm instances to maintain.
11591128
11601129 extra_headers: Send extra headers
11611130
@@ -1172,8 +1141,6 @@ async def create_warm_pool(
11721141 "environment_class_id" : environment_class_id ,
11731142 "project_id" : project_id ,
11741143 "desired_size" : desired_size ,
1175- "max_size" : max_size ,
1176- "min_size" : min_size ,
11771144 },
11781145 prebuild_create_warm_pool_params .PrebuildCreateWarmPoolParams ,
11791146 ),
@@ -1360,8 +1327,6 @@ async def update_warm_pool(
13601327 * ,
13611328 warm_pool_id : str ,
13621329 desired_size : Optional [int ] | Omit = omit ,
1363- max_size : Optional [int ] | Omit = omit ,
1364- min_size : Optional [int ] | Omit = omit ,
13651330 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
13661331 # The extra values given here take precedence over values defined on the client or passed to this method.
13671332 extra_headers : Headers | None = None ,
@@ -1386,14 +1351,7 @@ async def update_warm_pool(
13861351 Args:
13871352 warm_pool_id: warm_pool_id specifies the warm pool to update
13881353
1389- desired_size: desired_size updates the number of warm instances to maintain. Deprecated: Use
1390- min_size and max_size instead for dynamic scaling.
1391-
1392- max_size: max_size updates the maximum number of warm instances to maintain. The pool will
1393- never scale above this value. Must be >= min_size and <= 20.
1394-
1395- min_size: min_size updates the minimum number of warm instances to maintain. The pool will
1396- never scale below this value. Must be >= 1 and <= max_size.
1354+ desired_size: desired_size updates the number of warm instances to maintain.
13971355
13981356 extra_headers: Send extra headers
13991357
@@ -1409,8 +1367,6 @@ async def update_warm_pool(
14091367 {
14101368 "warm_pool_id" : warm_pool_id ,
14111369 "desired_size" : desired_size ,
1412- "max_size" : max_size ,
1413- "min_size" : min_size ,
14141370 },
14151371 prebuild_update_warm_pool_params .PrebuildUpdateWarmPoolParams ,
14161372 ),
0 commit comments