diff --git a/DO_OPENAPI_COMMIT_SHA.txt b/DO_OPENAPI_COMMIT_SHA.txt index 685a0de..2720b78 100644 --- a/DO_OPENAPI_COMMIT_SHA.txt +++ b/DO_OPENAPI_COMMIT_SHA.txt @@ -1 +1 @@ -211e816 +479ee7b diff --git a/src/pydo/aio/operations/_operations.py b/src/pydo/aio/operations/_operations.py index 3fb73e1..e2d9b25 100644 --- a/src/pydo/aio/operations/_operations.py +++ b/src/pydo/aio/operations/_operations.py @@ -2306,6 +2306,21 @@ async def list( }, "jobs": [ { + "autoscaling": { + "max_instance_count": + 0, # Optional. The maximum amount of instances for + this component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # Optional. Default value is + 80. The average target CPU utilization for + the component. + } + }, + "min_instance_count": + 0 # Optional. The minimum amount of instances for + this component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -2410,7 +2425,8 @@ async def list( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances - that this component should be scaled to. Default: 1. + that this component should be scaled to. Default: 1. Must + not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: @@ -2467,6 +2483,21 @@ async def list( "blr", "tor", "lon", and "syd". "services": [ { + "autoscaling": { + "max_instance_count": + 0, # Optional. The maximum amount of instances for + this component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # Optional. Default value is + 80. The average target CPU utilization for + the component. + } + }, + "min_instance_count": + 0 # Optional. The minimum amount of instances for + this component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -2647,7 +2678,8 @@ async def list( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances - that this component should be scaled to. Default: 1. + that this component should be scaled to. Default: 1. Must + not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: @@ -2932,6 +2964,21 @@ async def list( ], "workers": [ { + "autoscaling": { + "max_instance_count": + 0, # Optional. The maximum amount of instances for + this component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # Optional. Default value is + 80. The average target CPU utilization for + the component. + } + }, + "min_instance_count": + 0 # Optional. The minimum amount of instances for + this component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -3036,7 +3083,8 @@ async def list( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances - that this component should be scaled to. Default: 1. + that this component should be scaled to. Default: 1. Must + not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: @@ -3628,6 +3676,21 @@ async def list( }, "jobs": [ { + "autoscaling": { + "max_instance_count": + 0, # Optional. The maximum amount of instances for + this component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # Optional. Default value is + 80. The average target CPU utilization for + the component. + } + }, + "min_instance_count": + 0 # Optional. The minimum amount of instances for + this component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -3732,7 +3795,8 @@ async def list( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances - that this component should be scaled to. Default: 1. + that this component should be scaled to. Default: 1. Must + not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: @@ -3789,6 +3853,21 @@ async def list( "blr", "tor", "lon", and "syd". "services": [ { + "autoscaling": { + "max_instance_count": + 0, # Optional. The maximum amount of instances for + this component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # Optional. Default value is + 80. The average target CPU utilization for + the component. + } + }, + "min_instance_count": + 0 # Optional. The minimum amount of instances for + this component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -3969,7 +4048,8 @@ async def list( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances - that this component should be scaled to. Default: 1. + that this component should be scaled to. Default: 1. Must + not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: @@ -4254,6 +4334,21 @@ async def list( ], "workers": [ { + "autoscaling": { + "max_instance_count": + 0, # Optional. The maximum amount of instances for + this component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # Optional. Default value is + 80. The average target CPU utilization for + the component. + } + }, + "min_instance_count": + 0 # Optional. The minimum amount of instances for + this component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -4358,7 +4453,8 @@ async def list( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances - that this component should be scaled to. Default: 1. + that this component should be scaled to. Default: 1. Must + not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: @@ -4899,6 +4995,21 @@ async def list( }, "jobs": [ { + "autoscaling": { + "max_instance_count": + 0, # Optional. The maximum amount of instances for + this component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # Optional. Default value is + 80. The average target CPU utilization for + the component. + } + }, + "min_instance_count": + 0 # Optional. The minimum amount of instances for + this component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -5003,7 +5114,8 @@ async def list( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances - that this component should be scaled to. Default: 1. + that this component should be scaled to. Default: 1. Must + not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: @@ -5060,6 +5172,21 @@ async def list( "blr", "tor", "lon", and "syd". "services": [ { + "autoscaling": { + "max_instance_count": + 0, # Optional. The maximum amount of instances for + this component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # Optional. Default value is + 80. The average target CPU utilization for + the component. + } + }, + "min_instance_count": + 0 # Optional. The minimum amount of instances for + this component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -5240,7 +5367,8 @@ async def list( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances - that this component should be scaled to. Default: 1. + that this component should be scaled to. Default: 1. Must + not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: @@ -5525,6 +5653,21 @@ async def list( ], "workers": [ { + "autoscaling": { + "max_instance_count": + 0, # Optional. The maximum amount of instances for + this component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # Optional. Default value is + 80. The average target CPU utilization for + the component. + } + }, + "min_instance_count": + 0 # Optional. The minimum amount of instances for + this component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -5629,7 +5772,8 @@ async def list( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances - that this component should be scaled to. Default: 1. + that this component should be scaled to. Default: 1. Must + not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: @@ -6161,6 +6305,21 @@ async def list( }, "jobs": [ { + "autoscaling": { + "max_instance_count": + 0, # Optional. The maximum amount of instances for + this component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # Optional. Default value is + 80. The average target CPU utilization for + the component. + } + }, + "min_instance_count": + 0 # Optional. The minimum amount of instances for + this component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -6265,7 +6424,8 @@ async def list( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances - that this component should be scaled to. Default: 1. + that this component should be scaled to. Default: 1. Must + not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: @@ -6322,6 +6482,21 @@ async def list( "blr", "tor", "lon", and "syd". "services": [ { + "autoscaling": { + "max_instance_count": + 0, # Optional. The maximum amount of instances for + this component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # Optional. Default value is + 80. The average target CPU utilization for + the component. + } + }, + "min_instance_count": + 0 # Optional. The minimum amount of instances for + this component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -6502,7 +6677,8 @@ async def list( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances - that this component should be scaled to. Default: 1. + that this component should be scaled to. Default: 1. Must + not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: @@ -6787,6 +6963,21 @@ async def list( ], "workers": [ { + "autoscaling": { + "max_instance_count": + 0, # Optional. The maximum amount of instances for + this component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # Optional. Default value is + 80. The average target CPU utilization for + the component. + } + }, + "min_instance_count": + 0 # Optional. The minimum amount of instances for + this component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -6891,7 +7082,8 @@ async def list( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances - that this component should be scaled to. Default: 1. + that this component should be scaled to. Default: 1. Must + not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: @@ -7307,6 +7499,21 @@ async def list( }, "jobs": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -7405,7 +7612,8 @@ async def list( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -7455,6 +7663,21 @@ async def list( and "syd". "services": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -7629,7 +7852,8 @@ async def list( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -7891,6 +8115,21 @@ async def list( ], "workers": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -7989,7 +8228,8 @@ async def list( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -8422,6 +8662,21 @@ async def create( }, "jobs": [ { + "autoscaling": { + "max_instance_count": 0, # Optional. The + maximum amount of instances for this component. Must be more than + min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # Optional. + Default value is 80. The average target CPU utilization + for the component. + } + }, + "min_instance_count": 0 # Optional. The + minimum amount of instances for this component. Must be less than + max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. "dockerfile_path": "str", # Optional. The path to @@ -8509,7 +8764,7 @@ async def create( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this component should be scaled to. - Default: 1. + Default: 1. Must not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values are: "basic-xxs", @@ -8557,6 +8812,21 @@ async def create( "nyc", "fra", "sfo", "sgp", "blr", "tor", "lon", and "syd". "services": [ { + "autoscaling": { + "max_instance_count": 0, # Optional. The + maximum amount of instances for this component. Must be more than + min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # Optional. + Default value is 80. The average target CPU utilization + for the component. + } + }, + "min_instance_count": 0 # Optional. The + minimum amount of instances for this component. Must be less than + max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. "cors": { @@ -8708,7 +8978,7 @@ async def create( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this component should be scaled to. - Default: 1. + Default: 1. Must not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values are: "basic-xxs", @@ -8951,6 +9221,21 @@ async def create( ], "workers": [ { + "autoscaling": { + "max_instance_count": 0, # Optional. The + maximum amount of instances for this component. Must be more than + min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # Optional. + Default value is 80. The average target CPU utilization + for the component. + } + }, + "min_instance_count": 0 # Optional. The + minimum amount of instances for this component. Must be less than + max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. "dockerfile_path": "str", # Optional. The path to @@ -9038,7 +9323,7 @@ async def create( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this component should be scaled to. - Default: 1. + Default: 1. Must not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values are: "basic-xxs", @@ -9522,6 +9807,21 @@ async def create( }, "jobs": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -9620,7 +9920,8 @@ async def create( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -9670,6 +9971,21 @@ async def create( and "syd". "services": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -9844,7 +10160,8 @@ async def create( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -10106,6 +10423,21 @@ async def create( ], "workers": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -10204,7 +10536,8 @@ async def create( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -10763,6 +11096,21 @@ async def create( }, "jobs": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -10861,7 +11209,8 @@ async def create( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -10911,6 +11260,21 @@ async def create( and "syd". "services": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -11085,7 +11449,8 @@ async def create( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -11347,6 +11712,21 @@ async def create( ], "workers": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -11445,7 +11825,8 @@ async def create( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -11954,6 +12335,21 @@ async def create( }, "jobs": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -12052,7 +12448,8 @@ async def create( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -12102,6 +12499,21 @@ async def create( and "syd". "services": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -12276,7 +12688,8 @@ async def create( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -12538,6 +12951,21 @@ async def create( ], "workers": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -12636,7 +13064,8 @@ async def create( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -13137,6 +13566,21 @@ async def create( }, "jobs": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -13235,7 +13679,8 @@ async def create( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -13285,6 +13730,21 @@ async def create( and "syd". "services": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -13459,7 +13919,8 @@ async def create( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -13721,6 +14182,21 @@ async def create( ], "workers": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -13819,7 +14295,8 @@ async def create( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -14212,6 +14689,21 @@ async def create( }, "jobs": [ { + "autoscaling": { + "max_instance_count": 0, # Optional. + The maximum amount of instances for this component. Must be + more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # + Optional. Default value is 80. The average target CPU + utilization for the component. + } + }, + "min_instance_count": 0 # Optional. + The minimum amount of instances for this component. Must be + less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -14303,7 +14795,7 @@ async def create( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this component should be - scaled to. Default: 1. + scaled to. Default: 1. Must not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values are: @@ -14353,6 +14845,21 @@ async def create( "syd". "services": [ { + "autoscaling": { + "max_instance_count": 0, # Optional. + The maximum amount of instances for this component. Must be + more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # + Optional. Default value is 80. The average target CPU + utilization for the component. + } + }, + "min_instance_count": 0 # Optional. + The minimum amount of instances for this component. Must be + less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -14513,7 +15020,7 @@ async def create( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this component should be - scaled to. Default: 1. + scaled to. Default: 1. Must not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values are: @@ -14762,6 +15269,21 @@ async def create( ], "workers": [ { + "autoscaling": { + "max_instance_count": 0, # Optional. + The maximum amount of instances for this component. Must be + more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # + Optional. Default value is 80. The average target CPU + utilization for the component. + } + }, + "min_instance_count": 0 # Optional. + The minimum amount of instances for this component. Must be + less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -14853,7 +15375,7 @@ async def create( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this component should be - scaled to. Default: 1. + scaled to. Default: 1. Must not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values are: @@ -15365,6 +15887,21 @@ async def create( }, "jobs": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -15463,7 +16000,8 @@ async def create( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -15513,6 +16051,21 @@ async def create( and "syd". "services": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -15687,7 +16240,8 @@ async def create( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -15949,6 +16503,21 @@ async def create( ], "workers": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -16047,7 +16616,8 @@ async def create( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -16606,6 +17176,21 @@ async def create( }, "jobs": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -16704,7 +17289,8 @@ async def create( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -16754,6 +17340,21 @@ async def create( and "syd". "services": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -16928,7 +17529,8 @@ async def create( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -17190,6 +17792,21 @@ async def create( ], "workers": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -17288,7 +17905,8 @@ async def create( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -17797,6 +18415,21 @@ async def create( }, "jobs": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -17895,7 +18528,8 @@ async def create( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -17945,6 +18579,21 @@ async def create( and "syd". "services": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -18119,7 +18768,8 @@ async def create( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -18381,6 +19031,21 @@ async def create( ], "workers": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -18479,7 +19144,8 @@ async def create( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -18980,6 +19646,21 @@ async def create( }, "jobs": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -19078,7 +19759,8 @@ async def create( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -19128,6 +19810,21 @@ async def create( and "syd". "services": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -19302,7 +19999,8 @@ async def create( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -19564,6 +20262,21 @@ async def create( ], "workers": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -19662,7 +20375,8 @@ async def create( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -20055,6 +20769,21 @@ async def create( }, "jobs": [ { + "autoscaling": { + "max_instance_count": 0, # Optional. + The maximum amount of instances for this component. Must be + more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # + Optional. Default value is 80. The average target CPU + utilization for the component. + } + }, + "min_instance_count": 0 # Optional. + The minimum amount of instances for this component. Must be + less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -20146,7 +20875,7 @@ async def create( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this component should be - scaled to. Default: 1. + scaled to. Default: 1. Must not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values are: @@ -20196,6 +20925,21 @@ async def create( "syd". "services": [ { + "autoscaling": { + "max_instance_count": 0, # Optional. + The maximum amount of instances for this component. Must be + more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # + Optional. Default value is 80. The average target CPU + utilization for the component. + } + }, + "min_instance_count": 0 # Optional. + The minimum amount of instances for this component. Must be + less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -20356,7 +21100,7 @@ async def create( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this component should be - scaled to. Default: 1. + scaled to. Default: 1. Must not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values are: @@ -20605,6 +21349,21 @@ async def create( ], "workers": [ { + "autoscaling": { + "max_instance_count": 0, # Optional. + The maximum amount of instances for this component. Must be + more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # + Optional. Default value is 80. The average target CPU + utilization for the component. + } + }, + "min_instance_count": 0 # Optional. + The minimum amount of instances for this component. Must be + less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -20696,7 +21455,7 @@ async def create( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this component should be - scaled to. Default: 1. + scaled to. Default: 1. Must not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values are: @@ -21206,6 +21965,21 @@ async def create(self, body: Union[JSON, IO], **kwargs: Any) -> JSON: }, "jobs": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -21304,7 +22078,8 @@ async def create(self, body: Union[JSON, IO], **kwargs: Any) -> JSON: }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -21354,6 +22129,21 @@ async def create(self, body: Union[JSON, IO], **kwargs: Any) -> JSON: and "syd". "services": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -21528,7 +22318,8 @@ async def create(self, body: Union[JSON, IO], **kwargs: Any) -> JSON: }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -21790,6 +22581,21 @@ async def create(self, body: Union[JSON, IO], **kwargs: Any) -> JSON: ], "workers": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -21888,7 +22694,8 @@ async def create(self, body: Union[JSON, IO], **kwargs: Any) -> JSON: }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -22447,6 +23254,21 @@ async def create(self, body: Union[JSON, IO], **kwargs: Any) -> JSON: }, "jobs": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -22545,7 +23367,8 @@ async def create(self, body: Union[JSON, IO], **kwargs: Any) -> JSON: }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -22595,6 +23418,21 @@ async def create(self, body: Union[JSON, IO], **kwargs: Any) -> JSON: and "syd". "services": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -22769,7 +23607,8 @@ async def create(self, body: Union[JSON, IO], **kwargs: Any) -> JSON: }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -23031,6 +23870,21 @@ async def create(self, body: Union[JSON, IO], **kwargs: Any) -> JSON: ], "workers": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -23129,7 +23983,8 @@ async def create(self, body: Union[JSON, IO], **kwargs: Any) -> JSON: }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -23638,6 +24493,21 @@ async def create(self, body: Union[JSON, IO], **kwargs: Any) -> JSON: }, "jobs": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -23736,7 +24606,8 @@ async def create(self, body: Union[JSON, IO], **kwargs: Any) -> JSON: }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -23786,6 +24657,21 @@ async def create(self, body: Union[JSON, IO], **kwargs: Any) -> JSON: and "syd". "services": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -23960,7 +24846,8 @@ async def create(self, body: Union[JSON, IO], **kwargs: Any) -> JSON: }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -24222,6 +25109,21 @@ async def create(self, body: Union[JSON, IO], **kwargs: Any) -> JSON: ], "workers": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -24320,7 +25222,8 @@ async def create(self, body: Union[JSON, IO], **kwargs: Any) -> JSON: }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -24821,6 +25724,21 @@ async def create(self, body: Union[JSON, IO], **kwargs: Any) -> JSON: }, "jobs": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -24919,7 +25837,8 @@ async def create(self, body: Union[JSON, IO], **kwargs: Any) -> JSON: }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -24969,6 +25888,21 @@ async def create(self, body: Union[JSON, IO], **kwargs: Any) -> JSON: and "syd". "services": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -25143,7 +26077,8 @@ async def create(self, body: Union[JSON, IO], **kwargs: Any) -> JSON: }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -25405,6 +26340,21 @@ async def create(self, body: Union[JSON, IO], **kwargs: Any) -> JSON: ], "workers": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -25503,7 +26453,8 @@ async def create(self, body: Union[JSON, IO], **kwargs: Any) -> JSON: }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -25896,6 +26847,21 @@ async def create(self, body: Union[JSON, IO], **kwargs: Any) -> JSON: }, "jobs": [ { + "autoscaling": { + "max_instance_count": 0, # Optional. + The maximum amount of instances for this component. Must be + more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # + Optional. Default value is 80. The average target CPU + utilization for the component. + } + }, + "min_instance_count": 0 # Optional. + The minimum amount of instances for this component. Must be + less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -25987,7 +26953,7 @@ async def create(self, body: Union[JSON, IO], **kwargs: Any) -> JSON: }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this component should be - scaled to. Default: 1. + scaled to. Default: 1. Must not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values are: @@ -26037,6 +27003,21 @@ async def create(self, body: Union[JSON, IO], **kwargs: Any) -> JSON: "syd". "services": [ { + "autoscaling": { + "max_instance_count": 0, # Optional. + The maximum amount of instances for this component. Must be + more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # + Optional. Default value is 80. The average target CPU + utilization for the component. + } + }, + "min_instance_count": 0 # Optional. + The minimum amount of instances for this component. Must be + less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -26197,7 +27178,7 @@ async def create(self, body: Union[JSON, IO], **kwargs: Any) -> JSON: }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this component should be - scaled to. Default: 1. + scaled to. Default: 1. Must not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values are: @@ -26446,6 +27427,21 @@ async def create(self, body: Union[JSON, IO], **kwargs: Any) -> JSON: ], "workers": [ { + "autoscaling": { + "max_instance_count": 0, # Optional. + The maximum amount of instances for this component. Must be + more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # + Optional. Default value is 80. The average target CPU + utilization for the component. + } + }, + "min_instance_count": 0 # Optional. + The minimum amount of instances for this component. Must be + less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -26537,7 +27533,7 @@ async def create(self, body: Union[JSON, IO], **kwargs: Any) -> JSON: }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this component should be - scaled to. Default: 1. + scaled to. Default: 1. Must not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values are: @@ -27216,6 +28212,21 @@ async def get(self, id: str, *, name: Optional[str] = None, **kwargs: Any) -> JS }, "jobs": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -27314,7 +28325,8 @@ async def get(self, id: str, *, name: Optional[str] = None, **kwargs: Any) -> JS }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -27364,6 +28376,21 @@ async def get(self, id: str, *, name: Optional[str] = None, **kwargs: Any) -> JS and "syd". "services": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -27538,7 +28565,8 @@ async def get(self, id: str, *, name: Optional[str] = None, **kwargs: Any) -> JS }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -27800,6 +28828,21 @@ async def get(self, id: str, *, name: Optional[str] = None, **kwargs: Any) -> JS ], "workers": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -27898,7 +28941,8 @@ async def get(self, id: str, *, name: Optional[str] = None, **kwargs: Any) -> JS }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -28457,6 +29501,21 @@ async def get(self, id: str, *, name: Optional[str] = None, **kwargs: Any) -> JS }, "jobs": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -28555,7 +29614,8 @@ async def get(self, id: str, *, name: Optional[str] = None, **kwargs: Any) -> JS }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -28605,6 +29665,21 @@ async def get(self, id: str, *, name: Optional[str] = None, **kwargs: Any) -> JS and "syd". "services": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -28779,7 +29854,8 @@ async def get(self, id: str, *, name: Optional[str] = None, **kwargs: Any) -> JS }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -29041,6 +30117,21 @@ async def get(self, id: str, *, name: Optional[str] = None, **kwargs: Any) -> JS ], "workers": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -29139,7 +30230,8 @@ async def get(self, id: str, *, name: Optional[str] = None, **kwargs: Any) -> JS }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -29648,6 +30740,21 @@ async def get(self, id: str, *, name: Optional[str] = None, **kwargs: Any) -> JS }, "jobs": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -29746,7 +30853,8 @@ async def get(self, id: str, *, name: Optional[str] = None, **kwargs: Any) -> JS }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -29796,6 +30904,21 @@ async def get(self, id: str, *, name: Optional[str] = None, **kwargs: Any) -> JS and "syd". "services": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -29970,7 +31093,8 @@ async def get(self, id: str, *, name: Optional[str] = None, **kwargs: Any) -> JS }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -30232,6 +31356,21 @@ async def get(self, id: str, *, name: Optional[str] = None, **kwargs: Any) -> JS ], "workers": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -30330,7 +31469,8 @@ async def get(self, id: str, *, name: Optional[str] = None, **kwargs: Any) -> JS }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -30831,6 +31971,21 @@ async def get(self, id: str, *, name: Optional[str] = None, **kwargs: Any) -> JS }, "jobs": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -30929,7 +32084,8 @@ async def get(self, id: str, *, name: Optional[str] = None, **kwargs: Any) -> JS }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -30979,6 +32135,21 @@ async def get(self, id: str, *, name: Optional[str] = None, **kwargs: Any) -> JS and "syd". "services": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -31153,7 +32324,8 @@ async def get(self, id: str, *, name: Optional[str] = None, **kwargs: Any) -> JS }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -31415,6 +32587,21 @@ async def get(self, id: str, *, name: Optional[str] = None, **kwargs: Any) -> JS ], "workers": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -31513,7 +32700,8 @@ async def get(self, id: str, *, name: Optional[str] = None, **kwargs: Any) -> JS }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -31906,6 +33094,21 @@ async def get(self, id: str, *, name: Optional[str] = None, **kwargs: Any) -> JS }, "jobs": [ { + "autoscaling": { + "max_instance_count": 0, # Optional. + The maximum amount of instances for this component. Must be + more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # + Optional. Default value is 80. The average target CPU + utilization for the component. + } + }, + "min_instance_count": 0 # Optional. + The minimum amount of instances for this component. Must be + less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -31997,7 +33200,7 @@ async def get(self, id: str, *, name: Optional[str] = None, **kwargs: Any) -> JS }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this component should be - scaled to. Default: 1. + scaled to. Default: 1. Must not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values are: @@ -32047,6 +33250,21 @@ async def get(self, id: str, *, name: Optional[str] = None, **kwargs: Any) -> JS "syd". "services": [ { + "autoscaling": { + "max_instance_count": 0, # Optional. + The maximum amount of instances for this component. Must be + more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # + Optional. Default value is 80. The average target CPU + utilization for the component. + } + }, + "min_instance_count": 0 # Optional. + The minimum amount of instances for this component. Must be + less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -32207,7 +33425,7 @@ async def get(self, id: str, *, name: Optional[str] = None, **kwargs: Any) -> JS }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this component should be - scaled to. Default: 1. + scaled to. Default: 1. Must not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values are: @@ -32456,6 +33674,21 @@ async def get(self, id: str, *, name: Optional[str] = None, **kwargs: Any) -> JS ], "workers": [ { + "autoscaling": { + "max_instance_count": 0, # Optional. + The maximum amount of instances for this component. Must be + more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # + Optional. Default value is 80. The average target CPU + utilization for the component. + } + }, + "min_instance_count": 0 # Optional. + The minimum amount of instances for this component. Must be + less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -32547,7 +33780,7 @@ async def get(self, id: str, *, name: Optional[str] = None, **kwargs: Any) -> JS }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this component should be - scaled to. Default: 1. + scaled to. Default: 1. Must not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values are: @@ -33005,6 +34238,21 @@ async def update( }, "jobs": [ { + "autoscaling": { + "max_instance_count": 0, # Optional. The + maximum amount of instances for this component. Must be more than + min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # Optional. + Default value is 80. The average target CPU utilization + for the component. + } + }, + "min_instance_count": 0 # Optional. The + minimum amount of instances for this component. Must be less than + max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. "dockerfile_path": "str", # Optional. The path to @@ -33092,7 +34340,7 @@ async def update( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this component should be scaled to. - Default: 1. + Default: 1. Must not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values are: "basic-xxs", @@ -33140,6 +34388,21 @@ async def update( "nyc", "fra", "sfo", "sgp", "blr", "tor", "lon", and "syd". "services": [ { + "autoscaling": { + "max_instance_count": 0, # Optional. The + maximum amount of instances for this component. Must be more than + min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # Optional. + Default value is 80. The average target CPU utilization + for the component. + } + }, + "min_instance_count": 0 # Optional. The + minimum amount of instances for this component. Must be less than + max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. "cors": { @@ -33291,7 +34554,7 @@ async def update( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this component should be scaled to. - Default: 1. + Default: 1. Must not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values are: "basic-xxs", @@ -33534,6 +34797,21 @@ async def update( ], "workers": [ { + "autoscaling": { + "max_instance_count": 0, # Optional. The + maximum amount of instances for this component. Must be more than + min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # Optional. + Default value is 80. The average target CPU utilization + for the component. + } + }, + "min_instance_count": 0 # Optional. The + minimum amount of instances for this component. Must be less than + max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. "dockerfile_path": "str", # Optional. The path to @@ -33621,7 +34899,7 @@ async def update( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this component should be scaled to. - Default: 1. + Default: 1. Must not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values are: "basic-xxs", @@ -34105,6 +35383,21 @@ async def update( }, "jobs": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -34203,7 +35496,8 @@ async def update( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -34253,6 +35547,21 @@ async def update( and "syd". "services": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -34427,7 +35736,8 @@ async def update( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -34689,6 +35999,21 @@ async def update( ], "workers": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -34787,7 +36112,8 @@ async def update( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -35346,6 +36672,21 @@ async def update( }, "jobs": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -35444,7 +36785,8 @@ async def update( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -35494,6 +36836,21 @@ async def update( and "syd". "services": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -35668,7 +37025,8 @@ async def update( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -35930,6 +37288,21 @@ async def update( ], "workers": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -36028,7 +37401,8 @@ async def update( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -36537,6 +37911,21 @@ async def update( }, "jobs": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -36635,7 +38024,8 @@ async def update( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -36685,6 +38075,21 @@ async def update( and "syd". "services": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -36859,7 +38264,8 @@ async def update( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -37121,6 +38527,21 @@ async def update( ], "workers": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -37219,7 +38640,8 @@ async def update( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -37720,6 +39142,21 @@ async def update( }, "jobs": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -37818,7 +39255,8 @@ async def update( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -37868,6 +39306,21 @@ async def update( and "syd". "services": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -38042,7 +39495,8 @@ async def update( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -38304,6 +39758,21 @@ async def update( ], "workers": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -38402,7 +39871,8 @@ async def update( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -38795,6 +40265,21 @@ async def update( }, "jobs": [ { + "autoscaling": { + "max_instance_count": 0, # Optional. + The maximum amount of instances for this component. Must be + more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # + Optional. Default value is 80. The average target CPU + utilization for the component. + } + }, + "min_instance_count": 0 # Optional. + The minimum amount of instances for this component. Must be + less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -38886,7 +40371,7 @@ async def update( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this component should be - scaled to. Default: 1. + scaled to. Default: 1. Must not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values are: @@ -38936,6 +40421,21 @@ async def update( "syd". "services": [ { + "autoscaling": { + "max_instance_count": 0, # Optional. + The maximum amount of instances for this component. Must be + more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # + Optional. Default value is 80. The average target CPU + utilization for the component. + } + }, + "min_instance_count": 0 # Optional. + The minimum amount of instances for this component. Must be + less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -39096,7 +40596,7 @@ async def update( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this component should be - scaled to. Default: 1. + scaled to. Default: 1. Must not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values are: @@ -39345,6 +40845,21 @@ async def update( ], "workers": [ { + "autoscaling": { + "max_instance_count": 0, # Optional. + The maximum amount of instances for this component. Must be + more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # + Optional. Default value is 80. The average target CPU + utilization for the component. + } + }, + "min_instance_count": 0 # Optional. + The minimum amount of instances for this component. Must be + less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -39436,7 +40951,7 @@ async def update( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this component should be - scaled to. Default: 1. + scaled to. Default: 1. Must not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values are: @@ -39966,6 +41481,21 @@ async def update( }, "jobs": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -40064,7 +41594,8 @@ async def update( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -40114,6 +41645,21 @@ async def update( and "syd". "services": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -40288,7 +41834,8 @@ async def update( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -40550,6 +42097,21 @@ async def update( ], "workers": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -40648,7 +42210,8 @@ async def update( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -41207,6 +42770,21 @@ async def update( }, "jobs": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -41305,7 +42883,8 @@ async def update( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -41355,6 +42934,21 @@ async def update( and "syd". "services": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -41529,7 +43123,8 @@ async def update( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -41791,6 +43386,21 @@ async def update( ], "workers": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -41889,7 +43499,8 @@ async def update( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -42398,6 +44009,21 @@ async def update( }, "jobs": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -42496,7 +44122,8 @@ async def update( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -42546,6 +44173,21 @@ async def update( and "syd". "services": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -42720,7 +44362,8 @@ async def update( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -42982,6 +44625,21 @@ async def update( ], "workers": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -43080,7 +44738,8 @@ async def update( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -43581,6 +45240,21 @@ async def update( }, "jobs": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -43679,7 +45353,8 @@ async def update( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -43729,6 +45404,21 @@ async def update( and "syd". "services": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -43903,7 +45593,8 @@ async def update( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -44165,6 +45856,21 @@ async def update( ], "workers": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -44263,7 +45969,8 @@ async def update( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -44656,6 +46363,21 @@ async def update( }, "jobs": [ { + "autoscaling": { + "max_instance_count": 0, # Optional. + The maximum amount of instances for this component. Must be + more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # + Optional. Default value is 80. The average target CPU + utilization for the component. + } + }, + "min_instance_count": 0 # Optional. + The minimum amount of instances for this component. Must be + less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -44747,7 +46469,7 @@ async def update( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this component should be - scaled to. Default: 1. + scaled to. Default: 1. Must not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values are: @@ -44797,6 +46519,21 @@ async def update( "syd". "services": [ { + "autoscaling": { + "max_instance_count": 0, # Optional. + The maximum amount of instances for this component. Must be + more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # + Optional. Default value is 80. The average target CPU + utilization for the component. + } + }, + "min_instance_count": 0 # Optional. + The minimum amount of instances for this component. Must be + less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -44957,7 +46694,7 @@ async def update( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this component should be - scaled to. Default: 1. + scaled to. Default: 1. Must not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values are: @@ -45206,6 +46943,21 @@ async def update( ], "workers": [ { + "autoscaling": { + "max_instance_count": 0, # Optional. + The maximum amount of instances for this component. Must be + more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # + Optional. Default value is 80. The average target CPU + utilization for the component. + } + }, + "min_instance_count": 0 # Optional. + The minimum amount of instances for this component. Must be + less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -45297,7 +47049,7 @@ async def update( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this component should be - scaled to. Default: 1. + scaled to. Default: 1. Must not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values are: @@ -45820,6 +47572,21 @@ async def update(self, id: str, body: Union[JSON, IO], **kwargs: Any) -> JSON: }, "jobs": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -45918,7 +47685,8 @@ async def update(self, id: str, body: Union[JSON, IO], **kwargs: Any) -> JSON: }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -45968,6 +47736,21 @@ async def update(self, id: str, body: Union[JSON, IO], **kwargs: Any) -> JSON: and "syd". "services": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -46142,7 +47925,8 @@ async def update(self, id: str, body: Union[JSON, IO], **kwargs: Any) -> JSON: }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -46404,6 +48188,21 @@ async def update(self, id: str, body: Union[JSON, IO], **kwargs: Any) -> JSON: ], "workers": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -46502,7 +48301,8 @@ async def update(self, id: str, body: Union[JSON, IO], **kwargs: Any) -> JSON: }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -47061,6 +48861,21 @@ async def update(self, id: str, body: Union[JSON, IO], **kwargs: Any) -> JSON: }, "jobs": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -47159,7 +48974,8 @@ async def update(self, id: str, body: Union[JSON, IO], **kwargs: Any) -> JSON: }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -47209,6 +49025,21 @@ async def update(self, id: str, body: Union[JSON, IO], **kwargs: Any) -> JSON: and "syd". "services": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -47383,7 +49214,8 @@ async def update(self, id: str, body: Union[JSON, IO], **kwargs: Any) -> JSON: }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -47645,6 +49477,21 @@ async def update(self, id: str, body: Union[JSON, IO], **kwargs: Any) -> JSON: ], "workers": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -47743,7 +49590,8 @@ async def update(self, id: str, body: Union[JSON, IO], **kwargs: Any) -> JSON: }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -48252,6 +50100,21 @@ async def update(self, id: str, body: Union[JSON, IO], **kwargs: Any) -> JSON: }, "jobs": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -48350,7 +50213,8 @@ async def update(self, id: str, body: Union[JSON, IO], **kwargs: Any) -> JSON: }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -48400,6 +50264,21 @@ async def update(self, id: str, body: Union[JSON, IO], **kwargs: Any) -> JSON: and "syd". "services": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -48574,7 +50453,8 @@ async def update(self, id: str, body: Union[JSON, IO], **kwargs: Any) -> JSON: }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -48836,6 +50716,21 @@ async def update(self, id: str, body: Union[JSON, IO], **kwargs: Any) -> JSON: ], "workers": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -48934,7 +50829,8 @@ async def update(self, id: str, body: Union[JSON, IO], **kwargs: Any) -> JSON: }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -49435,6 +51331,21 @@ async def update(self, id: str, body: Union[JSON, IO], **kwargs: Any) -> JSON: }, "jobs": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -49533,7 +51444,8 @@ async def update(self, id: str, body: Union[JSON, IO], **kwargs: Any) -> JSON: }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -49583,6 +51495,21 @@ async def update(self, id: str, body: Union[JSON, IO], **kwargs: Any) -> JSON: and "syd". "services": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -49757,7 +51684,8 @@ async def update(self, id: str, body: Union[JSON, IO], **kwargs: Any) -> JSON: }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -50019,6 +51947,21 @@ async def update(self, id: str, body: Union[JSON, IO], **kwargs: Any) -> JSON: ], "workers": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -50117,7 +52060,8 @@ async def update(self, id: str, body: Union[JSON, IO], **kwargs: Any) -> JSON: }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -50510,6 +52454,21 @@ async def update(self, id: str, body: Union[JSON, IO], **kwargs: Any) -> JSON: }, "jobs": [ { + "autoscaling": { + "max_instance_count": 0, # Optional. + The maximum amount of instances for this component. Must be + more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # + Optional. Default value is 80. The average target CPU + utilization for the component. + } + }, + "min_instance_count": 0 # Optional. + The minimum amount of instances for this component. Must be + less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -50601,7 +52560,7 @@ async def update(self, id: str, body: Union[JSON, IO], **kwargs: Any) -> JSON: }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this component should be - scaled to. Default: 1. + scaled to. Default: 1. Must not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values are: @@ -50651,6 +52610,21 @@ async def update(self, id: str, body: Union[JSON, IO], **kwargs: Any) -> JSON: "syd". "services": [ { + "autoscaling": { + "max_instance_count": 0, # Optional. + The maximum amount of instances for this component. Must be + more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # + Optional. Default value is 80. The average target CPU + utilization for the component. + } + }, + "min_instance_count": 0 # Optional. + The minimum amount of instances for this component. Must be + less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -50811,7 +52785,7 @@ async def update(self, id: str, body: Union[JSON, IO], **kwargs: Any) -> JSON: }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this component should be - scaled to. Default: 1. + scaled to. Default: 1. Must not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values are: @@ -51060,6 +53034,21 @@ async def update(self, id: str, body: Union[JSON, IO], **kwargs: Any) -> JSON: ], "workers": [ { + "autoscaling": { + "max_instance_count": 0, # Optional. + The maximum amount of instances for this component. Must be + more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # + Optional. Default value is 80. The average target CPU + utilization for the component. + } + }, + "min_instance_count": 0 # Optional. + The minimum amount of instances for this component. Must be + less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -51151,7 +53140,7 @@ async def update(self, id: str, body: Union[JSON, IO], **kwargs: Any) -> JSON: }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this component should be - scaled to. Default: 1. + scaled to. Default: 1. Must not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values are: @@ -51898,6 +53887,21 @@ async def list_deployments( }, "jobs": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -51996,7 +54000,8 @@ async def list_deployments( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -52046,6 +54051,21 @@ async def list_deployments( and "syd". "services": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -52220,7 +54240,8 @@ async def list_deployments( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -52482,6 +54503,21 @@ async def list_deployments( ], "workers": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -52580,7 +54616,8 @@ async def list_deployments( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -53188,6 +55225,21 @@ async def create_deployment( }, "jobs": [ { + "autoscaling": { + "max_instance_count": 0, # Optional. + The maximum amount of instances for this component. Must be + more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # + Optional. Default value is 80. The average target CPU + utilization for the component. + } + }, + "min_instance_count": 0 # Optional. + The minimum amount of instances for this component. Must be + less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -53279,7 +55331,7 @@ async def create_deployment( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this component should be - scaled to. Default: 1. + scaled to. Default: 1. Must not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values are: @@ -53329,6 +55381,21 @@ async def create_deployment( "syd". "services": [ { + "autoscaling": { + "max_instance_count": 0, # Optional. + The maximum amount of instances for this component. Must be + more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # + Optional. Default value is 80. The average target CPU + utilization for the component. + } + }, + "min_instance_count": 0 # Optional. + The minimum amount of instances for this component. Must be + less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -53489,7 +55556,7 @@ async def create_deployment( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this component should be - scaled to. Default: 1. + scaled to. Default: 1. Must not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values are: @@ -53738,6 +55805,21 @@ async def create_deployment( ], "workers": [ { + "autoscaling": { + "max_instance_count": 0, # Optional. + The maximum amount of instances for this component. Must be + more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # + Optional. Default value is 80. The average target CPU + utilization for the component. + } + }, + "min_instance_count": 0 # Optional. + The minimum amount of instances for this component. Must be + less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -53829,7 +55911,7 @@ async def create_deployment( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this component should be - scaled to. Default: 1. + scaled to. Default: 1. Must not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values are: @@ -54350,6 +56432,21 @@ async def create_deployment( }, "jobs": [ { + "autoscaling": { + "max_instance_count": 0, # Optional. + The maximum amount of instances for this component. Must be + more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # + Optional. Default value is 80. The average target CPU + utilization for the component. + } + }, + "min_instance_count": 0 # Optional. + The minimum amount of instances for this component. Must be + less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -54441,7 +56538,7 @@ async def create_deployment( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this component should be - scaled to. Default: 1. + scaled to. Default: 1. Must not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values are: @@ -54491,6 +56588,21 @@ async def create_deployment( "syd". "services": [ { + "autoscaling": { + "max_instance_count": 0, # Optional. + The maximum amount of instances for this component. Must be + more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # + Optional. Default value is 80. The average target CPU + utilization for the component. + } + }, + "min_instance_count": 0 # Optional. + The minimum amount of instances for this component. Must be + less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -54651,7 +56763,7 @@ async def create_deployment( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this component should be - scaled to. Default: 1. + scaled to. Default: 1. Must not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values are: @@ -54900,6 +57012,21 @@ async def create_deployment( ], "workers": [ { + "autoscaling": { + "max_instance_count": 0, # Optional. + The maximum amount of instances for this component. Must be + more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # + Optional. Default value is 80. The average target CPU + utilization for the component. + } + }, + "min_instance_count": 0 # Optional. + The minimum amount of instances for this component. Must be + less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -54991,7 +57118,7 @@ async def create_deployment( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this component should be - scaled to. Default: 1. + scaled to. Default: 1. Must not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values are: @@ -55507,6 +57634,21 @@ async def create_deployment( }, "jobs": [ { + "autoscaling": { + "max_instance_count": 0, # Optional. + The maximum amount of instances for this component. Must be + more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # + Optional. Default value is 80. The average target CPU + utilization for the component. + } + }, + "min_instance_count": 0 # Optional. + The minimum amount of instances for this component. Must be + less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -55598,7 +57740,7 @@ async def create_deployment( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this component should be - scaled to. Default: 1. + scaled to. Default: 1. Must not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values are: @@ -55648,6 +57790,21 @@ async def create_deployment( "syd". "services": [ { + "autoscaling": { + "max_instance_count": 0, # Optional. + The maximum amount of instances for this component. Must be + more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # + Optional. Default value is 80. The average target CPU + utilization for the component. + } + }, + "min_instance_count": 0 # Optional. + The minimum amount of instances for this component. Must be + less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -55808,7 +57965,7 @@ async def create_deployment( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this component should be - scaled to. Default: 1. + scaled to. Default: 1. Must not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values are: @@ -56057,6 +58214,21 @@ async def create_deployment( ], "workers": [ { + "autoscaling": { + "max_instance_count": 0, # Optional. + The maximum amount of instances for this component. Must be + more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # + Optional. Default value is 80. The average target CPU + utilization for the component. + } + }, + "min_instance_count": 0 # Optional. + The minimum amount of instances for this component. Must be + less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -56148,7 +58320,7 @@ async def create_deployment( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this component should be - scaled to. Default: 1. + scaled to. Default: 1. Must not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values are: @@ -56744,6 +58916,21 @@ async def get_deployment( }, "jobs": [ { + "autoscaling": { + "max_instance_count": 0, # Optional. + The maximum amount of instances for this component. Must be + more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # + Optional. Default value is 80. The average target CPU + utilization for the component. + } + }, + "min_instance_count": 0 # Optional. + The minimum amount of instances for this component. Must be + less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -56835,7 +59022,7 @@ async def get_deployment( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this component should be - scaled to. Default: 1. + scaled to. Default: 1. Must not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values are: @@ -56885,6 +59072,21 @@ async def get_deployment( "syd". "services": [ { + "autoscaling": { + "max_instance_count": 0, # Optional. + The maximum amount of instances for this component. Must be + more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # + Optional. Default value is 80. The average target CPU + utilization for the component. + } + }, + "min_instance_count": 0 # Optional. + The minimum amount of instances for this component. Must be + less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -57045,7 +59247,7 @@ async def get_deployment( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this component should be - scaled to. Default: 1. + scaled to. Default: 1. Must not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values are: @@ -57294,6 +59496,21 @@ async def get_deployment( ], "workers": [ { + "autoscaling": { + "max_instance_count": 0, # Optional. + The maximum amount of instances for this component. Must be + more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # + Optional. Default value is 80. The average target CPU + utilization for the component. + } + }, + "min_instance_count": 0 # Optional. + The minimum amount of instances for this component. Must be + less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -57385,7 +59602,7 @@ async def get_deployment( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this component should be - scaled to. Default: 1. + scaled to. Default: 1. Must not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values are: @@ -57968,6 +60185,21 @@ async def cancel_deployment( }, "jobs": [ { + "autoscaling": { + "max_instance_count": 0, # Optional. + The maximum amount of instances for this component. Must be + more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # + Optional. Default value is 80. The average target CPU + utilization for the component. + } + }, + "min_instance_count": 0 # Optional. + The minimum amount of instances for this component. Must be + less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -58059,7 +60291,7 @@ async def cancel_deployment( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this component should be - scaled to. Default: 1. + scaled to. Default: 1. Must not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values are: @@ -58109,6 +60341,21 @@ async def cancel_deployment( "syd". "services": [ { + "autoscaling": { + "max_instance_count": 0, # Optional. + The maximum amount of instances for this component. Must be + more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # + Optional. Default value is 80. The average target CPU + utilization for the component. + } + }, + "min_instance_count": 0 # Optional. + The minimum amount of instances for this component. Must be + less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -58269,7 +60516,7 @@ async def cancel_deployment( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this component should be - scaled to. Default: 1. + scaled to. Default: 1. Must not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values are: @@ -58518,6 +60765,21 @@ async def cancel_deployment( ], "workers": [ { + "autoscaling": { + "max_instance_count": 0, # Optional. + The maximum amount of instances for this component. Must be + more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # + Optional. Default value is 80. The average target CPU + utilization for the component. + } + }, + "min_instance_count": 0 # Optional. + The minimum amount of instances for this component. Must be + less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -58609,7 +60871,7 @@ async def cancel_deployment( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this component should be - scaled to. Default: 1. + scaled to. Default: 1. Must not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values are: @@ -59997,6 +62259,21 @@ async def validate_app_spec( }, "jobs": [ { + "autoscaling": { + "max_instance_count": 0, # Optional. The + maximum amount of instances for this component. Must be more than + min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # Optional. + Default value is 80. The average target CPU utilization + for the component. + } + }, + "min_instance_count": 0 # Optional. The + minimum amount of instances for this component. Must be less than + max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. "dockerfile_path": "str", # Optional. The path to @@ -60084,7 +62361,7 @@ async def validate_app_spec( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this component should be scaled to. - Default: 1. + Default: 1. Must not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values are: "basic-xxs", @@ -60132,6 +62409,21 @@ async def validate_app_spec( "nyc", "fra", "sfo", "sgp", "blr", "tor", "lon", and "syd". "services": [ { + "autoscaling": { + "max_instance_count": 0, # Optional. The + maximum amount of instances for this component. Must be more than + min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # Optional. + Default value is 80. The average target CPU utilization + for the component. + } + }, + "min_instance_count": 0 # Optional. The + minimum amount of instances for this component. Must be less than + max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. "cors": { @@ -60283,7 +62575,7 @@ async def validate_app_spec( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this component should be scaled to. - Default: 1. + Default: 1. Must not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values are: "basic-xxs", @@ -60526,6 +62818,21 @@ async def validate_app_spec( ], "workers": [ { + "autoscaling": { + "max_instance_count": 0, # Optional. The + maximum amount of instances for this component. Must be more than + min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # Optional. + Default value is 80. The average target CPU utilization + for the component. + } + }, + "min_instance_count": 0 # Optional. The + minimum amount of instances for this component. Must be less than + max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. "dockerfile_path": "str", # Optional. The path to @@ -60613,7 +62920,7 @@ async def validate_app_spec( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this component should be scaled to. - Default: 1. + Default: 1. Must not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values are: "basic-xxs", @@ -60972,6 +63279,21 @@ async def validate_app_spec( }, "jobs": [ { + "autoscaling": { + "max_instance_count": 0, # Optional. The + maximum amount of instances for this component. Must be more than + min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # Optional. + Default value is 80. The average target CPU utilization + for the component. + } + }, + "min_instance_count": 0 # Optional. The + minimum amount of instances for this component. Must be less than + max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. "dockerfile_path": "str", # Optional. The path to @@ -61059,7 +63381,7 @@ async def validate_app_spec( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this component should be scaled to. - Default: 1. + Default: 1. Must not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values are: "basic-xxs", @@ -61107,6 +63429,21 @@ async def validate_app_spec( "nyc", "fra", "sfo", "sgp", "blr", "tor", "lon", and "syd". "services": [ { + "autoscaling": { + "max_instance_count": 0, # Optional. The + maximum amount of instances for this component. Must be more than + min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # Optional. + Default value is 80. The average target CPU utilization + for the component. + } + }, + "min_instance_count": 0 # Optional. The + minimum amount of instances for this component. Must be less than + max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. "cors": { @@ -61258,7 +63595,7 @@ async def validate_app_spec( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this component should be scaled to. - Default: 1. + Default: 1. Must not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values are: "basic-xxs", @@ -61501,6 +63838,21 @@ async def validate_app_spec( ], "workers": [ { + "autoscaling": { + "max_instance_count": 0, # Optional. The + maximum amount of instances for this component. Must be more than + min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # Optional. + Default value is 80. The average target CPU utilization + for the component. + } + }, + "min_instance_count": 0 # Optional. The + minimum amount of instances for this component. Must be less than + max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. "dockerfile_path": "str", # Optional. The path to @@ -61588,7 +63940,7 @@ async def validate_app_spec( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this component should be scaled to. - Default: 1. + Default: 1. Must not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values are: "basic-xxs", @@ -61971,6 +64323,21 @@ async def validate_app_spec( }, "jobs": [ { + "autoscaling": { + "max_instance_count": 0, # Optional. The + maximum amount of instances for this component. Must be more than + min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # Optional. + Default value is 80. The average target CPU utilization + for the component. + } + }, + "min_instance_count": 0 # Optional. The + minimum amount of instances for this component. Must be less than + max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. "dockerfile_path": "str", # Optional. The path to @@ -62058,7 +64425,7 @@ async def validate_app_spec( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this component should be scaled to. - Default: 1. + Default: 1. Must not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values are: "basic-xxs", @@ -62106,6 +64473,21 @@ async def validate_app_spec( "nyc", "fra", "sfo", "sgp", "blr", "tor", "lon", and "syd". "services": [ { + "autoscaling": { + "max_instance_count": 0, # Optional. The + maximum amount of instances for this component. Must be more than + min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # Optional. + Default value is 80. The average target CPU utilization + for the component. + } + }, + "min_instance_count": 0 # Optional. The + minimum amount of instances for this component. Must be less than + max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. "cors": { @@ -62257,7 +64639,7 @@ async def validate_app_spec( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this component should be scaled to. - Default: 1. + Default: 1. Must not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values are: "basic-xxs", @@ -62500,6 +64882,21 @@ async def validate_app_spec( ], "workers": [ { + "autoscaling": { + "max_instance_count": 0, # Optional. The + maximum amount of instances for this component. Must be more than + min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # Optional. + Default value is 80. The average target CPU utilization + for the component. + } + }, + "min_instance_count": 0 # Optional. The + minimum amount of instances for this component. Must be less than + max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. "dockerfile_path": "str", # Optional. The path to @@ -62587,7 +64984,7 @@ async def validate_app_spec( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this component should be scaled to. - Default: 1. + Default: 1. Must not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values are: "basic-xxs", @@ -62968,6 +65365,21 @@ async def validate_app_spec(self, body: Union[JSON, IO], **kwargs: Any) -> JSON: }, "jobs": [ { + "autoscaling": { + "max_instance_count": 0, # Optional. The + maximum amount of instances for this component. Must be more than + min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # Optional. + Default value is 80. The average target CPU utilization + for the component. + } + }, + "min_instance_count": 0 # Optional. The + minimum amount of instances for this component. Must be less than + max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. "dockerfile_path": "str", # Optional. The path to @@ -63055,7 +65467,7 @@ async def validate_app_spec(self, body: Union[JSON, IO], **kwargs: Any) -> JSON: }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this component should be scaled to. - Default: 1. + Default: 1. Must not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values are: "basic-xxs", @@ -63103,6 +65515,21 @@ async def validate_app_spec(self, body: Union[JSON, IO], **kwargs: Any) -> JSON: "nyc", "fra", "sfo", "sgp", "blr", "tor", "lon", and "syd". "services": [ { + "autoscaling": { + "max_instance_count": 0, # Optional. The + maximum amount of instances for this component. Must be more than + min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # Optional. + Default value is 80. The average target CPU utilization + for the component. + } + }, + "min_instance_count": 0 # Optional. The + minimum amount of instances for this component. Must be less than + max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. "cors": { @@ -63254,7 +65681,7 @@ async def validate_app_spec(self, body: Union[JSON, IO], **kwargs: Any) -> JSON: }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this component should be scaled to. - Default: 1. + Default: 1. Must not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values are: "basic-xxs", @@ -63497,6 +65924,21 @@ async def validate_app_spec(self, body: Union[JSON, IO], **kwargs: Any) -> JSON: ], "workers": [ { + "autoscaling": { + "max_instance_count": 0, # Optional. The + maximum amount of instances for this component. Must be more than + min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # Optional. + Default value is 80. The average target CPU utilization + for the component. + } + }, + "min_instance_count": 0 # Optional. The + minimum amount of instances for this component. Must be less than + max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. "dockerfile_path": "str", # Optional. The path to @@ -63584,7 +66026,7 @@ async def validate_app_spec(self, body: Union[JSON, IO], **kwargs: Any) -> JSON: }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this component should be scaled to. - Default: 1. + Default: 1. Must not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values are: "basic-xxs", @@ -64726,6 +67168,21 @@ async def create_rollback( }, "jobs": [ { + "autoscaling": { + "max_instance_count": 0, # Optional. + The maximum amount of instances for this component. Must be + more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # + Optional. Default value is 80. The average target CPU + utilization for the component. + } + }, + "min_instance_count": 0 # Optional. + The minimum amount of instances for this component. Must be + less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -64817,7 +67274,7 @@ async def create_rollback( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this component should be - scaled to. Default: 1. + scaled to. Default: 1. Must not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values are: @@ -64867,6 +67324,21 @@ async def create_rollback( "syd". "services": [ { + "autoscaling": { + "max_instance_count": 0, # Optional. + The maximum amount of instances for this component. Must be + more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # + Optional. Default value is 80. The average target CPU + utilization for the component. + } + }, + "min_instance_count": 0 # Optional. + The minimum amount of instances for this component. Must be + less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -65027,7 +67499,7 @@ async def create_rollback( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this component should be - scaled to. Default: 1. + scaled to. Default: 1. Must not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values are: @@ -65276,6 +67748,21 @@ async def create_rollback( ], "workers": [ { + "autoscaling": { + "max_instance_count": 0, # Optional. + The maximum amount of instances for this component. Must be + more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # + Optional. Default value is 80. The average target CPU + utilization for the component. + } + }, + "min_instance_count": 0 # Optional. + The minimum amount of instances for this component. Must be + less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -65367,7 +67854,7 @@ async def create_rollback( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this component should be - scaled to. Default: 1. + scaled to. Default: 1. Must not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values are: @@ -65896,6 +68383,21 @@ async def create_rollback( }, "jobs": [ { + "autoscaling": { + "max_instance_count": 0, # Optional. + The maximum amount of instances for this component. Must be + more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # + Optional. Default value is 80. The average target CPU + utilization for the component. + } + }, + "min_instance_count": 0 # Optional. + The minimum amount of instances for this component. Must be + less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -65987,7 +68489,7 @@ async def create_rollback( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this component should be - scaled to. Default: 1. + scaled to. Default: 1. Must not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values are: @@ -66037,6 +68539,21 @@ async def create_rollback( "syd". "services": [ { + "autoscaling": { + "max_instance_count": 0, # Optional. + The maximum amount of instances for this component. Must be + more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # + Optional. Default value is 80. The average target CPU + utilization for the component. + } + }, + "min_instance_count": 0 # Optional. + The minimum amount of instances for this component. Must be + less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -66197,7 +68714,7 @@ async def create_rollback( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this component should be - scaled to. Default: 1. + scaled to. Default: 1. Must not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values are: @@ -66446,6 +68963,21 @@ async def create_rollback( ], "workers": [ { + "autoscaling": { + "max_instance_count": 0, # Optional. + The maximum amount of instances for this component. Must be + more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # + Optional. Default value is 80. The average target CPU + utilization for the component. + } + }, + "min_instance_count": 0 # Optional. + The minimum amount of instances for this component. Must be + less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -66537,7 +69069,7 @@ async def create_rollback( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this component should be - scaled to. Default: 1. + scaled to. Default: 1. Must not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values are: @@ -67061,6 +69593,21 @@ async def create_rollback( }, "jobs": [ { + "autoscaling": { + "max_instance_count": 0, # Optional. + The maximum amount of instances for this component. Must be + more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # + Optional. Default value is 80. The average target CPU + utilization for the component. + } + }, + "min_instance_count": 0 # Optional. + The minimum amount of instances for this component. Must be + less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -67152,7 +69699,7 @@ async def create_rollback( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this component should be - scaled to. Default: 1. + scaled to. Default: 1. Must not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values are: @@ -67202,6 +69749,21 @@ async def create_rollback( "syd". "services": [ { + "autoscaling": { + "max_instance_count": 0, # Optional. + The maximum amount of instances for this component. Must be + more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # + Optional. Default value is 80. The average target CPU + utilization for the component. + } + }, + "min_instance_count": 0 # Optional. + The minimum amount of instances for this component. Must be + less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -67362,7 +69924,7 @@ async def create_rollback( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this component should be - scaled to. Default: 1. + scaled to. Default: 1. Must not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values are: @@ -67611,6 +70173,21 @@ async def create_rollback( ], "workers": [ { + "autoscaling": { + "max_instance_count": 0, # Optional. + The maximum amount of instances for this component. Must be + more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # + Optional. Default value is 80. The average target CPU + utilization for the component. + } + }, + "min_instance_count": 0 # Optional. + The minimum amount of instances for this component. Must be + less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -67702,7 +70279,7 @@ async def create_rollback( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this component should be - scaled to. Default: 1. + scaled to. Default: 1. Must not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values are: @@ -68796,6 +71373,21 @@ async def revert_rollback(self, app_id: str, **kwargs: Any) -> JSON: }, "jobs": [ { + "autoscaling": { + "max_instance_count": 0, # Optional. + The maximum amount of instances for this component. Must be + more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # + Optional. Default value is 80. The average target CPU + utilization for the component. + } + }, + "min_instance_count": 0 # Optional. + The minimum amount of instances for this component. Must be + less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -68887,7 +71479,7 @@ async def revert_rollback(self, app_id: str, **kwargs: Any) -> JSON: }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this component should be - scaled to. Default: 1. + scaled to. Default: 1. Must not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values are: @@ -68937,6 +71529,21 @@ async def revert_rollback(self, app_id: str, **kwargs: Any) -> JSON: "syd". "services": [ { + "autoscaling": { + "max_instance_count": 0, # Optional. + The maximum amount of instances for this component. Must be + more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # + Optional. Default value is 80. The average target CPU + utilization for the component. + } + }, + "min_instance_count": 0 # Optional. + The minimum amount of instances for this component. Must be + less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -69097,7 +71704,7 @@ async def revert_rollback(self, app_id: str, **kwargs: Any) -> JSON: }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this component should be - scaled to. Default: 1. + scaled to. Default: 1. Must not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values are: @@ -69346,6 +71953,21 @@ async def revert_rollback(self, app_id: str, **kwargs: Any) -> JSON: ], "workers": [ { + "autoscaling": { + "max_instance_count": 0, # Optional. + The maximum amount of instances for this component. Must be + more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # + Optional. Default value is 80. The average target CPU + utilization for the component. + } + }, + "min_instance_count": 0 # Optional. + The minimum amount of instances for this component. Must be + less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -69437,7 +72059,7 @@ async def revert_rollback(self, app_id: str, **kwargs: Any) -> JSON: }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this component should be - scaled to. Default: 1. + scaled to. Default: 1. Must not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values are: diff --git a/src/pydo/operations/_operations.py b/src/pydo/operations/_operations.py index aaebbd4..5de9fdb 100644 --- a/src/pydo/operations/_operations.py +++ b/src/pydo/operations/_operations.py @@ -9247,6 +9247,21 @@ def list( }, "jobs": [ { + "autoscaling": { + "max_instance_count": + 0, # Optional. The maximum amount of instances for + this component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # Optional. Default value is + 80. The average target CPU utilization for + the component. + } + }, + "min_instance_count": + 0 # Optional. The minimum amount of instances for + this component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -9351,7 +9366,8 @@ def list( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances - that this component should be scaled to. Default: 1. + that this component should be scaled to. Default: 1. Must + not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: @@ -9408,6 +9424,21 @@ def list( "blr", "tor", "lon", and "syd". "services": [ { + "autoscaling": { + "max_instance_count": + 0, # Optional. The maximum amount of instances for + this component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # Optional. Default value is + 80. The average target CPU utilization for + the component. + } + }, + "min_instance_count": + 0 # Optional. The minimum amount of instances for + this component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -9588,7 +9619,8 @@ def list( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances - that this component should be scaled to. Default: 1. + that this component should be scaled to. Default: 1. Must + not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: @@ -9873,6 +9905,21 @@ def list( ], "workers": [ { + "autoscaling": { + "max_instance_count": + 0, # Optional. The maximum amount of instances for + this component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # Optional. Default value is + 80. The average target CPU utilization for + the component. + } + }, + "min_instance_count": + 0 # Optional. The minimum amount of instances for + this component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -9977,7 +10024,8 @@ def list( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances - that this component should be scaled to. Default: 1. + that this component should be scaled to. Default: 1. Must + not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: @@ -10569,6 +10617,21 @@ def list( }, "jobs": [ { + "autoscaling": { + "max_instance_count": + 0, # Optional. The maximum amount of instances for + this component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # Optional. Default value is + 80. The average target CPU utilization for + the component. + } + }, + "min_instance_count": + 0 # Optional. The minimum amount of instances for + this component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -10673,7 +10736,8 @@ def list( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances - that this component should be scaled to. Default: 1. + that this component should be scaled to. Default: 1. Must + not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: @@ -10730,6 +10794,21 @@ def list( "blr", "tor", "lon", and "syd". "services": [ { + "autoscaling": { + "max_instance_count": + 0, # Optional. The maximum amount of instances for + this component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # Optional. Default value is + 80. The average target CPU utilization for + the component. + } + }, + "min_instance_count": + 0 # Optional. The minimum amount of instances for + this component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -10910,7 +10989,8 @@ def list( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances - that this component should be scaled to. Default: 1. + that this component should be scaled to. Default: 1. Must + not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: @@ -11195,6 +11275,21 @@ def list( ], "workers": [ { + "autoscaling": { + "max_instance_count": + 0, # Optional. The maximum amount of instances for + this component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # Optional. Default value is + 80. The average target CPU utilization for + the component. + } + }, + "min_instance_count": + 0 # Optional. The minimum amount of instances for + this component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -11299,7 +11394,8 @@ def list( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances - that this component should be scaled to. Default: 1. + that this component should be scaled to. Default: 1. Must + not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: @@ -11840,6 +11936,21 @@ def list( }, "jobs": [ { + "autoscaling": { + "max_instance_count": + 0, # Optional. The maximum amount of instances for + this component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # Optional. Default value is + 80. The average target CPU utilization for + the component. + } + }, + "min_instance_count": + 0 # Optional. The minimum amount of instances for + this component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -11944,7 +12055,8 @@ def list( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances - that this component should be scaled to. Default: 1. + that this component should be scaled to. Default: 1. Must + not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: @@ -12001,6 +12113,21 @@ def list( "blr", "tor", "lon", and "syd". "services": [ { + "autoscaling": { + "max_instance_count": + 0, # Optional. The maximum amount of instances for + this component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # Optional. Default value is + 80. The average target CPU utilization for + the component. + } + }, + "min_instance_count": + 0 # Optional. The minimum amount of instances for + this component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -12181,7 +12308,8 @@ def list( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances - that this component should be scaled to. Default: 1. + that this component should be scaled to. Default: 1. Must + not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: @@ -12466,6 +12594,21 @@ def list( ], "workers": [ { + "autoscaling": { + "max_instance_count": + 0, # Optional. The maximum amount of instances for + this component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # Optional. Default value is + 80. The average target CPU utilization for + the component. + } + }, + "min_instance_count": + 0 # Optional. The minimum amount of instances for + this component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -12570,7 +12713,8 @@ def list( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances - that this component should be scaled to. Default: 1. + that this component should be scaled to. Default: 1. Must + not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: @@ -13102,6 +13246,21 @@ def list( }, "jobs": [ { + "autoscaling": { + "max_instance_count": + 0, # Optional. The maximum amount of instances for + this component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # Optional. Default value is + 80. The average target CPU utilization for + the component. + } + }, + "min_instance_count": + 0 # Optional. The minimum amount of instances for + this component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -13206,7 +13365,8 @@ def list( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances - that this component should be scaled to. Default: 1. + that this component should be scaled to. Default: 1. Must + not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: @@ -13263,6 +13423,21 @@ def list( "blr", "tor", "lon", and "syd". "services": [ { + "autoscaling": { + "max_instance_count": + 0, # Optional. The maximum amount of instances for + this component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # Optional. Default value is + 80. The average target CPU utilization for + the component. + } + }, + "min_instance_count": + 0 # Optional. The minimum amount of instances for + this component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -13443,7 +13618,8 @@ def list( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances - that this component should be scaled to. Default: 1. + that this component should be scaled to. Default: 1. Must + not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: @@ -13728,6 +13904,21 @@ def list( ], "workers": [ { + "autoscaling": { + "max_instance_count": + 0, # Optional. The maximum amount of instances for + this component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # Optional. Default value is + 80. The average target CPU utilization for + the component. + } + }, + "min_instance_count": + 0 # Optional. The minimum amount of instances for + this component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -13832,7 +14023,8 @@ def list( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances - that this component should be scaled to. Default: 1. + that this component should be scaled to. Default: 1. Must + not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: @@ -14248,6 +14440,21 @@ def list( }, "jobs": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -14346,7 +14553,8 @@ def list( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -14396,6 +14604,21 @@ def list( and "syd". "services": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -14570,7 +14793,8 @@ def list( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -14832,6 +15056,21 @@ def list( ], "workers": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -14930,7 +15169,8 @@ def list( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -15363,6 +15603,21 @@ def create( }, "jobs": [ { + "autoscaling": { + "max_instance_count": 0, # Optional. The + maximum amount of instances for this component. Must be more than + min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # Optional. + Default value is 80. The average target CPU utilization + for the component. + } + }, + "min_instance_count": 0 # Optional. The + minimum amount of instances for this component. Must be less than + max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. "dockerfile_path": "str", # Optional. The path to @@ -15450,7 +15705,7 @@ def create( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this component should be scaled to. - Default: 1. + Default: 1. Must not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values are: "basic-xxs", @@ -15498,6 +15753,21 @@ def create( "nyc", "fra", "sfo", "sgp", "blr", "tor", "lon", and "syd". "services": [ { + "autoscaling": { + "max_instance_count": 0, # Optional. The + maximum amount of instances for this component. Must be more than + min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # Optional. + Default value is 80. The average target CPU utilization + for the component. + } + }, + "min_instance_count": 0 # Optional. The + minimum amount of instances for this component. Must be less than + max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. "cors": { @@ -15649,7 +15919,7 @@ def create( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this component should be scaled to. - Default: 1. + Default: 1. Must not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values are: "basic-xxs", @@ -15892,6 +16162,21 @@ def create( ], "workers": [ { + "autoscaling": { + "max_instance_count": 0, # Optional. The + maximum amount of instances for this component. Must be more than + min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # Optional. + Default value is 80. The average target CPU utilization + for the component. + } + }, + "min_instance_count": 0 # Optional. The + minimum amount of instances for this component. Must be less than + max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. "dockerfile_path": "str", # Optional. The path to @@ -15979,7 +16264,7 @@ def create( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this component should be scaled to. - Default: 1. + Default: 1. Must not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values are: "basic-xxs", @@ -16463,6 +16748,21 @@ def create( }, "jobs": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -16561,7 +16861,8 @@ def create( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -16611,6 +16912,21 @@ def create( and "syd". "services": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -16785,7 +17101,8 @@ def create( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -17047,6 +17364,21 @@ def create( ], "workers": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -17145,7 +17477,8 @@ def create( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -17704,6 +18037,21 @@ def create( }, "jobs": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -17802,7 +18150,8 @@ def create( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -17852,6 +18201,21 @@ def create( and "syd". "services": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -18026,7 +18390,8 @@ def create( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -18288,6 +18653,21 @@ def create( ], "workers": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -18386,7 +18766,8 @@ def create( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -18895,6 +19276,21 @@ def create( }, "jobs": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -18993,7 +19389,8 @@ def create( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -19043,6 +19440,21 @@ def create( and "syd". "services": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -19217,7 +19629,8 @@ def create( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -19479,6 +19892,21 @@ def create( ], "workers": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -19577,7 +20005,8 @@ def create( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -20078,6 +20507,21 @@ def create( }, "jobs": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -20176,7 +20620,8 @@ def create( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -20226,6 +20671,21 @@ def create( and "syd". "services": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -20400,7 +20860,8 @@ def create( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -20662,6 +21123,21 @@ def create( ], "workers": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -20760,7 +21236,8 @@ def create( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -21153,6 +21630,21 @@ def create( }, "jobs": [ { + "autoscaling": { + "max_instance_count": 0, # Optional. + The maximum amount of instances for this component. Must be + more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # + Optional. Default value is 80. The average target CPU + utilization for the component. + } + }, + "min_instance_count": 0 # Optional. + The minimum amount of instances for this component. Must be + less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -21244,7 +21736,7 @@ def create( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this component should be - scaled to. Default: 1. + scaled to. Default: 1. Must not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values are: @@ -21294,6 +21786,21 @@ def create( "syd". "services": [ { + "autoscaling": { + "max_instance_count": 0, # Optional. + The maximum amount of instances for this component. Must be + more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # + Optional. Default value is 80. The average target CPU + utilization for the component. + } + }, + "min_instance_count": 0 # Optional. + The minimum amount of instances for this component. Must be + less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -21454,7 +21961,7 @@ def create( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this component should be - scaled to. Default: 1. + scaled to. Default: 1. Must not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values are: @@ -21703,6 +22210,21 @@ def create( ], "workers": [ { + "autoscaling": { + "max_instance_count": 0, # Optional. + The maximum amount of instances for this component. Must be + more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # + Optional. Default value is 80. The average target CPU + utilization for the component. + } + }, + "min_instance_count": 0 # Optional. + The minimum amount of instances for this component. Must be + less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -21794,7 +22316,7 @@ def create( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this component should be - scaled to. Default: 1. + scaled to. Default: 1. Must not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values are: @@ -22306,6 +22828,21 @@ def create( }, "jobs": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -22404,7 +22941,8 @@ def create( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -22454,6 +22992,21 @@ def create( and "syd". "services": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -22628,7 +23181,8 @@ def create( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -22890,6 +23444,21 @@ def create( ], "workers": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -22988,7 +23557,8 @@ def create( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -23547,6 +24117,21 @@ def create( }, "jobs": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -23645,7 +24230,8 @@ def create( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -23695,6 +24281,21 @@ def create( and "syd". "services": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -23869,7 +24470,8 @@ def create( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -24131,6 +24733,21 @@ def create( ], "workers": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -24229,7 +24846,8 @@ def create( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -24738,6 +25356,21 @@ def create( }, "jobs": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -24836,7 +25469,8 @@ def create( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -24886,6 +25520,21 @@ def create( and "syd". "services": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -25060,7 +25709,8 @@ def create( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -25322,6 +25972,21 @@ def create( ], "workers": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -25420,7 +26085,8 @@ def create( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -25921,6 +26587,21 @@ def create( }, "jobs": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -26019,7 +26700,8 @@ def create( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -26069,6 +26751,21 @@ def create( and "syd". "services": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -26243,7 +26940,8 @@ def create( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -26505,6 +27203,21 @@ def create( ], "workers": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -26603,7 +27316,8 @@ def create( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -26996,6 +27710,21 @@ def create( }, "jobs": [ { + "autoscaling": { + "max_instance_count": 0, # Optional. + The maximum amount of instances for this component. Must be + more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # + Optional. Default value is 80. The average target CPU + utilization for the component. + } + }, + "min_instance_count": 0 # Optional. + The minimum amount of instances for this component. Must be + less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -27087,7 +27816,7 @@ def create( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this component should be - scaled to. Default: 1. + scaled to. Default: 1. Must not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values are: @@ -27137,6 +27866,21 @@ def create( "syd". "services": [ { + "autoscaling": { + "max_instance_count": 0, # Optional. + The maximum amount of instances for this component. Must be + more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # + Optional. Default value is 80. The average target CPU + utilization for the component. + } + }, + "min_instance_count": 0 # Optional. + The minimum amount of instances for this component. Must be + less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -27297,7 +28041,7 @@ def create( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this component should be - scaled to. Default: 1. + scaled to. Default: 1. Must not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values are: @@ -27546,6 +28290,21 @@ def create( ], "workers": [ { + "autoscaling": { + "max_instance_count": 0, # Optional. + The maximum amount of instances for this component. Must be + more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # + Optional. Default value is 80. The average target CPU + utilization for the component. + } + }, + "min_instance_count": 0 # Optional. + The minimum amount of instances for this component. Must be + less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -27637,7 +28396,7 @@ def create( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this component should be - scaled to. Default: 1. + scaled to. Default: 1. Must not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values are: @@ -28147,6 +28906,21 @@ def create(self, body: Union[JSON, IO], **kwargs: Any) -> JSON: }, "jobs": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -28245,7 +29019,8 @@ def create(self, body: Union[JSON, IO], **kwargs: Any) -> JSON: }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -28295,6 +29070,21 @@ def create(self, body: Union[JSON, IO], **kwargs: Any) -> JSON: and "syd". "services": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -28469,7 +29259,8 @@ def create(self, body: Union[JSON, IO], **kwargs: Any) -> JSON: }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -28731,6 +29522,21 @@ def create(self, body: Union[JSON, IO], **kwargs: Any) -> JSON: ], "workers": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -28829,7 +29635,8 @@ def create(self, body: Union[JSON, IO], **kwargs: Any) -> JSON: }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -29388,6 +30195,21 @@ def create(self, body: Union[JSON, IO], **kwargs: Any) -> JSON: }, "jobs": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -29486,7 +30308,8 @@ def create(self, body: Union[JSON, IO], **kwargs: Any) -> JSON: }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -29536,6 +30359,21 @@ def create(self, body: Union[JSON, IO], **kwargs: Any) -> JSON: and "syd". "services": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -29710,7 +30548,8 @@ def create(self, body: Union[JSON, IO], **kwargs: Any) -> JSON: }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -29972,6 +30811,21 @@ def create(self, body: Union[JSON, IO], **kwargs: Any) -> JSON: ], "workers": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -30070,7 +30924,8 @@ def create(self, body: Union[JSON, IO], **kwargs: Any) -> JSON: }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -30579,6 +31434,21 @@ def create(self, body: Union[JSON, IO], **kwargs: Any) -> JSON: }, "jobs": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -30677,7 +31547,8 @@ def create(self, body: Union[JSON, IO], **kwargs: Any) -> JSON: }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -30727,6 +31598,21 @@ def create(self, body: Union[JSON, IO], **kwargs: Any) -> JSON: and "syd". "services": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -30901,7 +31787,8 @@ def create(self, body: Union[JSON, IO], **kwargs: Any) -> JSON: }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -31163,6 +32050,21 @@ def create(self, body: Union[JSON, IO], **kwargs: Any) -> JSON: ], "workers": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -31261,7 +32163,8 @@ def create(self, body: Union[JSON, IO], **kwargs: Any) -> JSON: }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -31762,6 +32665,21 @@ def create(self, body: Union[JSON, IO], **kwargs: Any) -> JSON: }, "jobs": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -31860,7 +32778,8 @@ def create(self, body: Union[JSON, IO], **kwargs: Any) -> JSON: }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -31910,6 +32829,21 @@ def create(self, body: Union[JSON, IO], **kwargs: Any) -> JSON: and "syd". "services": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -32084,7 +33018,8 @@ def create(self, body: Union[JSON, IO], **kwargs: Any) -> JSON: }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -32346,6 +33281,21 @@ def create(self, body: Union[JSON, IO], **kwargs: Any) -> JSON: ], "workers": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -32444,7 +33394,8 @@ def create(self, body: Union[JSON, IO], **kwargs: Any) -> JSON: }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -32837,6 +33788,21 @@ def create(self, body: Union[JSON, IO], **kwargs: Any) -> JSON: }, "jobs": [ { + "autoscaling": { + "max_instance_count": 0, # Optional. + The maximum amount of instances for this component. Must be + more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # + Optional. Default value is 80. The average target CPU + utilization for the component. + } + }, + "min_instance_count": 0 # Optional. + The minimum amount of instances for this component. Must be + less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -32928,7 +33894,7 @@ def create(self, body: Union[JSON, IO], **kwargs: Any) -> JSON: }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this component should be - scaled to. Default: 1. + scaled to. Default: 1. Must not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values are: @@ -32978,6 +33944,21 @@ def create(self, body: Union[JSON, IO], **kwargs: Any) -> JSON: "syd". "services": [ { + "autoscaling": { + "max_instance_count": 0, # Optional. + The maximum amount of instances for this component. Must be + more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # + Optional. Default value is 80. The average target CPU + utilization for the component. + } + }, + "min_instance_count": 0 # Optional. + The minimum amount of instances for this component. Must be + less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -33138,7 +34119,7 @@ def create(self, body: Union[JSON, IO], **kwargs: Any) -> JSON: }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this component should be - scaled to. Default: 1. + scaled to. Default: 1. Must not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values are: @@ -33387,6 +34368,21 @@ def create(self, body: Union[JSON, IO], **kwargs: Any) -> JSON: ], "workers": [ { + "autoscaling": { + "max_instance_count": 0, # Optional. + The maximum amount of instances for this component. Must be + more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # + Optional. Default value is 80. The average target CPU + utilization for the component. + } + }, + "min_instance_count": 0 # Optional. + The minimum amount of instances for this component. Must be + less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -33478,7 +34474,7 @@ def create(self, body: Union[JSON, IO], **kwargs: Any) -> JSON: }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this component should be - scaled to. Default: 1. + scaled to. Default: 1. Must not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values are: @@ -34157,6 +35153,21 @@ def get(self, id: str, *, name: Optional[str] = None, **kwargs: Any) -> JSON: }, "jobs": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -34255,7 +35266,8 @@ def get(self, id: str, *, name: Optional[str] = None, **kwargs: Any) -> JSON: }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -34305,6 +35317,21 @@ def get(self, id: str, *, name: Optional[str] = None, **kwargs: Any) -> JSON: and "syd". "services": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -34479,7 +35506,8 @@ def get(self, id: str, *, name: Optional[str] = None, **kwargs: Any) -> JSON: }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -34741,6 +35769,21 @@ def get(self, id: str, *, name: Optional[str] = None, **kwargs: Any) -> JSON: ], "workers": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -34839,7 +35882,8 @@ def get(self, id: str, *, name: Optional[str] = None, **kwargs: Any) -> JSON: }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -35398,6 +36442,21 @@ def get(self, id: str, *, name: Optional[str] = None, **kwargs: Any) -> JSON: }, "jobs": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -35496,7 +36555,8 @@ def get(self, id: str, *, name: Optional[str] = None, **kwargs: Any) -> JSON: }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -35546,6 +36606,21 @@ def get(self, id: str, *, name: Optional[str] = None, **kwargs: Any) -> JSON: and "syd". "services": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -35720,7 +36795,8 @@ def get(self, id: str, *, name: Optional[str] = None, **kwargs: Any) -> JSON: }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -35982,6 +37058,21 @@ def get(self, id: str, *, name: Optional[str] = None, **kwargs: Any) -> JSON: ], "workers": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -36080,7 +37171,8 @@ def get(self, id: str, *, name: Optional[str] = None, **kwargs: Any) -> JSON: }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -36589,6 +37681,21 @@ def get(self, id: str, *, name: Optional[str] = None, **kwargs: Any) -> JSON: }, "jobs": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -36687,7 +37794,8 @@ def get(self, id: str, *, name: Optional[str] = None, **kwargs: Any) -> JSON: }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -36737,6 +37845,21 @@ def get(self, id: str, *, name: Optional[str] = None, **kwargs: Any) -> JSON: and "syd". "services": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -36911,7 +38034,8 @@ def get(self, id: str, *, name: Optional[str] = None, **kwargs: Any) -> JSON: }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -37173,6 +38297,21 @@ def get(self, id: str, *, name: Optional[str] = None, **kwargs: Any) -> JSON: ], "workers": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -37271,7 +38410,8 @@ def get(self, id: str, *, name: Optional[str] = None, **kwargs: Any) -> JSON: }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -37772,6 +38912,21 @@ def get(self, id: str, *, name: Optional[str] = None, **kwargs: Any) -> JSON: }, "jobs": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -37870,7 +39025,8 @@ def get(self, id: str, *, name: Optional[str] = None, **kwargs: Any) -> JSON: }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -37920,6 +39076,21 @@ def get(self, id: str, *, name: Optional[str] = None, **kwargs: Any) -> JSON: and "syd". "services": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -38094,7 +39265,8 @@ def get(self, id: str, *, name: Optional[str] = None, **kwargs: Any) -> JSON: }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -38356,6 +39528,21 @@ def get(self, id: str, *, name: Optional[str] = None, **kwargs: Any) -> JSON: ], "workers": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -38454,7 +39641,8 @@ def get(self, id: str, *, name: Optional[str] = None, **kwargs: Any) -> JSON: }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -38847,6 +40035,21 @@ def get(self, id: str, *, name: Optional[str] = None, **kwargs: Any) -> JSON: }, "jobs": [ { + "autoscaling": { + "max_instance_count": 0, # Optional. + The maximum amount of instances for this component. Must be + more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # + Optional. Default value is 80. The average target CPU + utilization for the component. + } + }, + "min_instance_count": 0 # Optional. + The minimum amount of instances for this component. Must be + less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -38938,7 +40141,7 @@ def get(self, id: str, *, name: Optional[str] = None, **kwargs: Any) -> JSON: }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this component should be - scaled to. Default: 1. + scaled to. Default: 1. Must not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values are: @@ -38988,6 +40191,21 @@ def get(self, id: str, *, name: Optional[str] = None, **kwargs: Any) -> JSON: "syd". "services": [ { + "autoscaling": { + "max_instance_count": 0, # Optional. + The maximum amount of instances for this component. Must be + more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # + Optional. Default value is 80. The average target CPU + utilization for the component. + } + }, + "min_instance_count": 0 # Optional. + The minimum amount of instances for this component. Must be + less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -39148,7 +40366,7 @@ def get(self, id: str, *, name: Optional[str] = None, **kwargs: Any) -> JSON: }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this component should be - scaled to. Default: 1. + scaled to. Default: 1. Must not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values are: @@ -39397,6 +40615,21 @@ def get(self, id: str, *, name: Optional[str] = None, **kwargs: Any) -> JSON: ], "workers": [ { + "autoscaling": { + "max_instance_count": 0, # Optional. + The maximum amount of instances for this component. Must be + more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # + Optional. Default value is 80. The average target CPU + utilization for the component. + } + }, + "min_instance_count": 0 # Optional. + The minimum amount of instances for this component. Must be + less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -39488,7 +40721,7 @@ def get(self, id: str, *, name: Optional[str] = None, **kwargs: Any) -> JSON: }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this component should be - scaled to. Default: 1. + scaled to. Default: 1. Must not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values are: @@ -39946,6 +41179,21 @@ def update( }, "jobs": [ { + "autoscaling": { + "max_instance_count": 0, # Optional. The + maximum amount of instances for this component. Must be more than + min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # Optional. + Default value is 80. The average target CPU utilization + for the component. + } + }, + "min_instance_count": 0 # Optional. The + minimum amount of instances for this component. Must be less than + max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. "dockerfile_path": "str", # Optional. The path to @@ -40033,7 +41281,7 @@ def update( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this component should be scaled to. - Default: 1. + Default: 1. Must not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values are: "basic-xxs", @@ -40081,6 +41329,21 @@ def update( "nyc", "fra", "sfo", "sgp", "blr", "tor", "lon", and "syd". "services": [ { + "autoscaling": { + "max_instance_count": 0, # Optional. The + maximum amount of instances for this component. Must be more than + min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # Optional. + Default value is 80. The average target CPU utilization + for the component. + } + }, + "min_instance_count": 0 # Optional. The + minimum amount of instances for this component. Must be less than + max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. "cors": { @@ -40232,7 +41495,7 @@ def update( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this component should be scaled to. - Default: 1. + Default: 1. Must not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values are: "basic-xxs", @@ -40475,6 +41738,21 @@ def update( ], "workers": [ { + "autoscaling": { + "max_instance_count": 0, # Optional. The + maximum amount of instances for this component. Must be more than + min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # Optional. + Default value is 80. The average target CPU utilization + for the component. + } + }, + "min_instance_count": 0 # Optional. The + minimum amount of instances for this component. Must be less than + max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. "dockerfile_path": "str", # Optional. The path to @@ -40562,7 +41840,7 @@ def update( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this component should be scaled to. - Default: 1. + Default: 1. Must not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values are: "basic-xxs", @@ -41046,6 +42324,21 @@ def update( }, "jobs": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -41144,7 +42437,8 @@ def update( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -41194,6 +42488,21 @@ def update( and "syd". "services": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -41368,7 +42677,8 @@ def update( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -41630,6 +42940,21 @@ def update( ], "workers": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -41728,7 +43053,8 @@ def update( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -42287,6 +43613,21 @@ def update( }, "jobs": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -42385,7 +43726,8 @@ def update( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -42435,6 +43777,21 @@ def update( and "syd". "services": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -42609,7 +43966,8 @@ def update( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -42871,6 +44229,21 @@ def update( ], "workers": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -42969,7 +44342,8 @@ def update( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -43478,6 +44852,21 @@ def update( }, "jobs": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -43576,7 +44965,8 @@ def update( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -43626,6 +45016,21 @@ def update( and "syd". "services": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -43800,7 +45205,8 @@ def update( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -44062,6 +45468,21 @@ def update( ], "workers": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -44160,7 +45581,8 @@ def update( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -44661,6 +46083,21 @@ def update( }, "jobs": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -44759,7 +46196,8 @@ def update( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -44809,6 +46247,21 @@ def update( and "syd". "services": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -44983,7 +46436,8 @@ def update( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -45245,6 +46699,21 @@ def update( ], "workers": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -45343,7 +46812,8 @@ def update( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -45736,6 +47206,21 @@ def update( }, "jobs": [ { + "autoscaling": { + "max_instance_count": 0, # Optional. + The maximum amount of instances for this component. Must be + more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # + Optional. Default value is 80. The average target CPU + utilization for the component. + } + }, + "min_instance_count": 0 # Optional. + The minimum amount of instances for this component. Must be + less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -45827,7 +47312,7 @@ def update( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this component should be - scaled to. Default: 1. + scaled to. Default: 1. Must not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values are: @@ -45877,6 +47362,21 @@ def update( "syd". "services": [ { + "autoscaling": { + "max_instance_count": 0, # Optional. + The maximum amount of instances for this component. Must be + more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # + Optional. Default value is 80. The average target CPU + utilization for the component. + } + }, + "min_instance_count": 0 # Optional. + The minimum amount of instances for this component. Must be + less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -46037,7 +47537,7 @@ def update( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this component should be - scaled to. Default: 1. + scaled to. Default: 1. Must not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values are: @@ -46286,6 +47786,21 @@ def update( ], "workers": [ { + "autoscaling": { + "max_instance_count": 0, # Optional. + The maximum amount of instances for this component. Must be + more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # + Optional. Default value is 80. The average target CPU + utilization for the component. + } + }, + "min_instance_count": 0 # Optional. + The minimum amount of instances for this component. Must be + less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -46377,7 +47892,7 @@ def update( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this component should be - scaled to. Default: 1. + scaled to. Default: 1. Must not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values are: @@ -46907,6 +48422,21 @@ def update( }, "jobs": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -47005,7 +48535,8 @@ def update( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -47055,6 +48586,21 @@ def update( and "syd". "services": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -47229,7 +48775,8 @@ def update( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -47491,6 +49038,21 @@ def update( ], "workers": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -47589,7 +49151,8 @@ def update( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -48148,6 +49711,21 @@ def update( }, "jobs": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -48246,7 +49824,8 @@ def update( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -48296,6 +49875,21 @@ def update( and "syd". "services": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -48470,7 +50064,8 @@ def update( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -48732,6 +50327,21 @@ def update( ], "workers": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -48830,7 +50440,8 @@ def update( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -49339,6 +50950,21 @@ def update( }, "jobs": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -49437,7 +51063,8 @@ def update( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -49487,6 +51114,21 @@ def update( and "syd". "services": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -49661,7 +51303,8 @@ def update( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -49923,6 +51566,21 @@ def update( ], "workers": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -50021,7 +51679,8 @@ def update( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -50522,6 +52181,21 @@ def update( }, "jobs": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -50620,7 +52294,8 @@ def update( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -50670,6 +52345,21 @@ def update( and "syd". "services": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -50844,7 +52534,8 @@ def update( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -51106,6 +52797,21 @@ def update( ], "workers": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -51204,7 +52910,8 @@ def update( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -51597,6 +53304,21 @@ def update( }, "jobs": [ { + "autoscaling": { + "max_instance_count": 0, # Optional. + The maximum amount of instances for this component. Must be + more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # + Optional. Default value is 80. The average target CPU + utilization for the component. + } + }, + "min_instance_count": 0 # Optional. + The minimum amount of instances for this component. Must be + less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -51688,7 +53410,7 @@ def update( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this component should be - scaled to. Default: 1. + scaled to. Default: 1. Must not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values are: @@ -51738,6 +53460,21 @@ def update( "syd". "services": [ { + "autoscaling": { + "max_instance_count": 0, # Optional. + The maximum amount of instances for this component. Must be + more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # + Optional. Default value is 80. The average target CPU + utilization for the component. + } + }, + "min_instance_count": 0 # Optional. + The minimum amount of instances for this component. Must be + less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -51898,7 +53635,7 @@ def update( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this component should be - scaled to. Default: 1. + scaled to. Default: 1. Must not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values are: @@ -52147,6 +53884,21 @@ def update( ], "workers": [ { + "autoscaling": { + "max_instance_count": 0, # Optional. + The maximum amount of instances for this component. Must be + more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # + Optional. Default value is 80. The average target CPU + utilization for the component. + } + }, + "min_instance_count": 0 # Optional. + The minimum amount of instances for this component. Must be + less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -52238,7 +53990,7 @@ def update( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this component should be - scaled to. Default: 1. + scaled to. Default: 1. Must not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values are: @@ -52761,6 +54513,21 @@ def update(self, id: str, body: Union[JSON, IO], **kwargs: Any) -> JSON: }, "jobs": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -52859,7 +54626,8 @@ def update(self, id: str, body: Union[JSON, IO], **kwargs: Any) -> JSON: }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -52909,6 +54677,21 @@ def update(self, id: str, body: Union[JSON, IO], **kwargs: Any) -> JSON: and "syd". "services": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -53083,7 +54866,8 @@ def update(self, id: str, body: Union[JSON, IO], **kwargs: Any) -> JSON: }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -53345,6 +55129,21 @@ def update(self, id: str, body: Union[JSON, IO], **kwargs: Any) -> JSON: ], "workers": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -53443,7 +55242,8 @@ def update(self, id: str, body: Union[JSON, IO], **kwargs: Any) -> JSON: }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -54002,6 +55802,21 @@ def update(self, id: str, body: Union[JSON, IO], **kwargs: Any) -> JSON: }, "jobs": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -54100,7 +55915,8 @@ def update(self, id: str, body: Union[JSON, IO], **kwargs: Any) -> JSON: }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -54150,6 +55966,21 @@ def update(self, id: str, body: Union[JSON, IO], **kwargs: Any) -> JSON: and "syd". "services": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -54324,7 +56155,8 @@ def update(self, id: str, body: Union[JSON, IO], **kwargs: Any) -> JSON: }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -54586,6 +56418,21 @@ def update(self, id: str, body: Union[JSON, IO], **kwargs: Any) -> JSON: ], "workers": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -54684,7 +56531,8 @@ def update(self, id: str, body: Union[JSON, IO], **kwargs: Any) -> JSON: }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -55193,6 +57041,21 @@ def update(self, id: str, body: Union[JSON, IO], **kwargs: Any) -> JSON: }, "jobs": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -55291,7 +57154,8 @@ def update(self, id: str, body: Union[JSON, IO], **kwargs: Any) -> JSON: }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -55341,6 +57205,21 @@ def update(self, id: str, body: Union[JSON, IO], **kwargs: Any) -> JSON: and "syd". "services": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -55515,7 +57394,8 @@ def update(self, id: str, body: Union[JSON, IO], **kwargs: Any) -> JSON: }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -55777,6 +57657,21 @@ def update(self, id: str, body: Union[JSON, IO], **kwargs: Any) -> JSON: ], "workers": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -55875,7 +57770,8 @@ def update(self, id: str, body: Union[JSON, IO], **kwargs: Any) -> JSON: }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -56376,6 +58272,21 @@ def update(self, id: str, body: Union[JSON, IO], **kwargs: Any) -> JSON: }, "jobs": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -56474,7 +58385,8 @@ def update(self, id: str, body: Union[JSON, IO], **kwargs: Any) -> JSON: }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -56524,6 +58436,21 @@ def update(self, id: str, body: Union[JSON, IO], **kwargs: Any) -> JSON: and "syd". "services": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -56698,7 +58625,8 @@ def update(self, id: str, body: Union[JSON, IO], **kwargs: Any) -> JSON: }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -56960,6 +58888,21 @@ def update(self, id: str, body: Union[JSON, IO], **kwargs: Any) -> JSON: ], "workers": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -57058,7 +59001,8 @@ def update(self, id: str, body: Union[JSON, IO], **kwargs: Any) -> JSON: }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -57451,6 +59395,21 @@ def update(self, id: str, body: Union[JSON, IO], **kwargs: Any) -> JSON: }, "jobs": [ { + "autoscaling": { + "max_instance_count": 0, # Optional. + The maximum amount of instances for this component. Must be + more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # + Optional. Default value is 80. The average target CPU + utilization for the component. + } + }, + "min_instance_count": 0 # Optional. + The minimum amount of instances for this component. Must be + less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -57542,7 +59501,7 @@ def update(self, id: str, body: Union[JSON, IO], **kwargs: Any) -> JSON: }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this component should be - scaled to. Default: 1. + scaled to. Default: 1. Must not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values are: @@ -57592,6 +59551,21 @@ def update(self, id: str, body: Union[JSON, IO], **kwargs: Any) -> JSON: "syd". "services": [ { + "autoscaling": { + "max_instance_count": 0, # Optional. + The maximum amount of instances for this component. Must be + more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # + Optional. Default value is 80. The average target CPU + utilization for the component. + } + }, + "min_instance_count": 0 # Optional. + The minimum amount of instances for this component. Must be + less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -57752,7 +59726,7 @@ def update(self, id: str, body: Union[JSON, IO], **kwargs: Any) -> JSON: }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this component should be - scaled to. Default: 1. + scaled to. Default: 1. Must not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values are: @@ -58001,6 +59975,21 @@ def update(self, id: str, body: Union[JSON, IO], **kwargs: Any) -> JSON: ], "workers": [ { + "autoscaling": { + "max_instance_count": 0, # Optional. + The maximum amount of instances for this component. Must be + more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # + Optional. Default value is 80. The average target CPU + utilization for the component. + } + }, + "min_instance_count": 0 # Optional. + The minimum amount of instances for this component. Must be + less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -58092,7 +60081,7 @@ def update(self, id: str, body: Union[JSON, IO], **kwargs: Any) -> JSON: }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this component should be - scaled to. Default: 1. + scaled to. Default: 1. Must not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values are: @@ -58839,6 +60828,21 @@ def list_deployments( }, "jobs": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -58937,7 +60941,8 @@ def list_deployments( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -58987,6 +60992,21 @@ def list_deployments( and "syd". "services": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -59161,7 +61181,8 @@ def list_deployments( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -59423,6 +61444,21 @@ def list_deployments( ], "workers": [ { + "autoscaling": { + "max_instance_count": 0, # + Optional. The maximum amount of instances for this + component. Must be more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 + # Optional. Default value is 80. The average + target CPU utilization for the component. + } + }, + "min_instance_count": 0 # + Optional. The minimum amount of instances for this + component. Must be less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -59521,7 +61557,8 @@ def list_deployments( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this - component should be scaled to. Default: 1. + component should be scaled to. Default: 1. Must not be set if + autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values @@ -60129,6 +62166,21 @@ def create_deployment( }, "jobs": [ { + "autoscaling": { + "max_instance_count": 0, # Optional. + The maximum amount of instances for this component. Must be + more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # + Optional. Default value is 80. The average target CPU + utilization for the component. + } + }, + "min_instance_count": 0 # Optional. + The minimum amount of instances for this component. Must be + less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -60220,7 +62272,7 @@ def create_deployment( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this component should be - scaled to. Default: 1. + scaled to. Default: 1. Must not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values are: @@ -60270,6 +62322,21 @@ def create_deployment( "syd". "services": [ { + "autoscaling": { + "max_instance_count": 0, # Optional. + The maximum amount of instances for this component. Must be + more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # + Optional. Default value is 80. The average target CPU + utilization for the component. + } + }, + "min_instance_count": 0 # Optional. + The minimum amount of instances for this component. Must be + less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -60430,7 +62497,7 @@ def create_deployment( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this component should be - scaled to. Default: 1. + scaled to. Default: 1. Must not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values are: @@ -60679,6 +62746,21 @@ def create_deployment( ], "workers": [ { + "autoscaling": { + "max_instance_count": 0, # Optional. + The maximum amount of instances for this component. Must be + more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # + Optional. Default value is 80. The average target CPU + utilization for the component. + } + }, + "min_instance_count": 0 # Optional. + The minimum amount of instances for this component. Must be + less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -60770,7 +62852,7 @@ def create_deployment( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this component should be - scaled to. Default: 1. + scaled to. Default: 1. Must not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values are: @@ -61291,6 +63373,21 @@ def create_deployment( }, "jobs": [ { + "autoscaling": { + "max_instance_count": 0, # Optional. + The maximum amount of instances for this component. Must be + more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # + Optional. Default value is 80. The average target CPU + utilization for the component. + } + }, + "min_instance_count": 0 # Optional. + The minimum amount of instances for this component. Must be + less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -61382,7 +63479,7 @@ def create_deployment( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this component should be - scaled to. Default: 1. + scaled to. Default: 1. Must not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values are: @@ -61432,6 +63529,21 @@ def create_deployment( "syd". "services": [ { + "autoscaling": { + "max_instance_count": 0, # Optional. + The maximum amount of instances for this component. Must be + more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # + Optional. Default value is 80. The average target CPU + utilization for the component. + } + }, + "min_instance_count": 0 # Optional. + The minimum amount of instances for this component. Must be + less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -61592,7 +63704,7 @@ def create_deployment( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this component should be - scaled to. Default: 1. + scaled to. Default: 1. Must not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values are: @@ -61841,6 +63953,21 @@ def create_deployment( ], "workers": [ { + "autoscaling": { + "max_instance_count": 0, # Optional. + The maximum amount of instances for this component. Must be + more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # + Optional. Default value is 80. The average target CPU + utilization for the component. + } + }, + "min_instance_count": 0 # Optional. + The minimum amount of instances for this component. Must be + less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -61932,7 +64059,7 @@ def create_deployment( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this component should be - scaled to. Default: 1. + scaled to. Default: 1. Must not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values are: @@ -62448,6 +64575,21 @@ def create_deployment( }, "jobs": [ { + "autoscaling": { + "max_instance_count": 0, # Optional. + The maximum amount of instances for this component. Must be + more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # + Optional. Default value is 80. The average target CPU + utilization for the component. + } + }, + "min_instance_count": 0 # Optional. + The minimum amount of instances for this component. Must be + less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -62539,7 +64681,7 @@ def create_deployment( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this component should be - scaled to. Default: 1. + scaled to. Default: 1. Must not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values are: @@ -62589,6 +64731,21 @@ def create_deployment( "syd". "services": [ { + "autoscaling": { + "max_instance_count": 0, # Optional. + The maximum amount of instances for this component. Must be + more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # + Optional. Default value is 80. The average target CPU + utilization for the component. + } + }, + "min_instance_count": 0 # Optional. + The minimum amount of instances for this component. Must be + less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -62749,7 +64906,7 @@ def create_deployment( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this component should be - scaled to. Default: 1. + scaled to. Default: 1. Must not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values are: @@ -62998,6 +65155,21 @@ def create_deployment( ], "workers": [ { + "autoscaling": { + "max_instance_count": 0, # Optional. + The maximum amount of instances for this component. Must be + more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # + Optional. Default value is 80. The average target CPU + utilization for the component. + } + }, + "min_instance_count": 0 # Optional. + The minimum amount of instances for this component. Must be + less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -63089,7 +65261,7 @@ def create_deployment( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this component should be - scaled to. Default: 1. + scaled to. Default: 1. Must not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values are: @@ -63683,6 +65855,21 @@ def get_deployment(self, app_id: str, deployment_id: str, **kwargs: Any) -> JSON }, "jobs": [ { + "autoscaling": { + "max_instance_count": 0, # Optional. + The maximum amount of instances for this component. Must be + more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # + Optional. Default value is 80. The average target CPU + utilization for the component. + } + }, + "min_instance_count": 0 # Optional. + The minimum amount of instances for this component. Must be + less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -63774,7 +65961,7 @@ def get_deployment(self, app_id: str, deployment_id: str, **kwargs: Any) -> JSON }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this component should be - scaled to. Default: 1. + scaled to. Default: 1. Must not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values are: @@ -63824,6 +66011,21 @@ def get_deployment(self, app_id: str, deployment_id: str, **kwargs: Any) -> JSON "syd". "services": [ { + "autoscaling": { + "max_instance_count": 0, # Optional. + The maximum amount of instances for this component. Must be + more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # + Optional. Default value is 80. The average target CPU + utilization for the component. + } + }, + "min_instance_count": 0 # Optional. + The minimum amount of instances for this component. Must be + less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -63984,7 +66186,7 @@ def get_deployment(self, app_id: str, deployment_id: str, **kwargs: Any) -> JSON }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this component should be - scaled to. Default: 1. + scaled to. Default: 1. Must not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values are: @@ -64233,6 +66435,21 @@ def get_deployment(self, app_id: str, deployment_id: str, **kwargs: Any) -> JSON ], "workers": [ { + "autoscaling": { + "max_instance_count": 0, # Optional. + The maximum amount of instances for this component. Must be + more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # + Optional. Default value is 80. The average target CPU + utilization for the component. + } + }, + "min_instance_count": 0 # Optional. + The minimum amount of instances for this component. Must be + less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -64324,7 +66541,7 @@ def get_deployment(self, app_id: str, deployment_id: str, **kwargs: Any) -> JSON }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this component should be - scaled to. Default: 1. + scaled to. Default: 1. Must not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values are: @@ -64905,6 +67122,21 @@ def cancel_deployment(self, app_id: str, deployment_id: str, **kwargs: Any) -> J }, "jobs": [ { + "autoscaling": { + "max_instance_count": 0, # Optional. + The maximum amount of instances for this component. Must be + more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # + Optional. Default value is 80. The average target CPU + utilization for the component. + } + }, + "min_instance_count": 0 # Optional. + The minimum amount of instances for this component. Must be + less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -64996,7 +67228,7 @@ def cancel_deployment(self, app_id: str, deployment_id: str, **kwargs: Any) -> J }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this component should be - scaled to. Default: 1. + scaled to. Default: 1. Must not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values are: @@ -65046,6 +67278,21 @@ def cancel_deployment(self, app_id: str, deployment_id: str, **kwargs: Any) -> J "syd". "services": [ { + "autoscaling": { + "max_instance_count": 0, # Optional. + The maximum amount of instances for this component. Must be + more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # + Optional. Default value is 80. The average target CPU + utilization for the component. + } + }, + "min_instance_count": 0 # Optional. + The minimum amount of instances for this component. Must be + less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -65206,7 +67453,7 @@ def cancel_deployment(self, app_id: str, deployment_id: str, **kwargs: Any) -> J }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this component should be - scaled to. Default: 1. + scaled to. Default: 1. Must not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values are: @@ -65455,6 +67702,21 @@ def cancel_deployment(self, app_id: str, deployment_id: str, **kwargs: Any) -> J ], "workers": [ { + "autoscaling": { + "max_instance_count": 0, # Optional. + The maximum amount of instances for this component. Must be + more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # + Optional. Default value is 80. The average target CPU + utilization for the component. + } + }, + "min_instance_count": 0 # Optional. + The minimum amount of instances for this component. Must be + less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -65546,7 +67808,7 @@ def cancel_deployment(self, app_id: str, deployment_id: str, **kwargs: Any) -> J }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this component should be - scaled to. Default: 1. + scaled to. Default: 1. Must not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values are: @@ -66934,6 +69196,21 @@ def validate_app_spec( }, "jobs": [ { + "autoscaling": { + "max_instance_count": 0, # Optional. The + maximum amount of instances for this component. Must be more than + min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # Optional. + Default value is 80. The average target CPU utilization + for the component. + } + }, + "min_instance_count": 0 # Optional. The + minimum amount of instances for this component. Must be less than + max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. "dockerfile_path": "str", # Optional. The path to @@ -67021,7 +69298,7 @@ def validate_app_spec( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this component should be scaled to. - Default: 1. + Default: 1. Must not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values are: "basic-xxs", @@ -67069,6 +69346,21 @@ def validate_app_spec( "nyc", "fra", "sfo", "sgp", "blr", "tor", "lon", and "syd". "services": [ { + "autoscaling": { + "max_instance_count": 0, # Optional. The + maximum amount of instances for this component. Must be more than + min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # Optional. + Default value is 80. The average target CPU utilization + for the component. + } + }, + "min_instance_count": 0 # Optional. The + minimum amount of instances for this component. Must be less than + max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. "cors": { @@ -67220,7 +69512,7 @@ def validate_app_spec( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this component should be scaled to. - Default: 1. + Default: 1. Must not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values are: "basic-xxs", @@ -67463,6 +69755,21 @@ def validate_app_spec( ], "workers": [ { + "autoscaling": { + "max_instance_count": 0, # Optional. The + maximum amount of instances for this component. Must be more than + min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # Optional. + Default value is 80. The average target CPU utilization + for the component. + } + }, + "min_instance_count": 0 # Optional. The + minimum amount of instances for this component. Must be less than + max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. "dockerfile_path": "str", # Optional. The path to @@ -67550,7 +69857,7 @@ def validate_app_spec( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this component should be scaled to. - Default: 1. + Default: 1. Must not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values are: "basic-xxs", @@ -67909,6 +70216,21 @@ def validate_app_spec( }, "jobs": [ { + "autoscaling": { + "max_instance_count": 0, # Optional. The + maximum amount of instances for this component. Must be more than + min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # Optional. + Default value is 80. The average target CPU utilization + for the component. + } + }, + "min_instance_count": 0 # Optional. The + minimum amount of instances for this component. Must be less than + max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. "dockerfile_path": "str", # Optional. The path to @@ -67996,7 +70318,7 @@ def validate_app_spec( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this component should be scaled to. - Default: 1. + Default: 1. Must not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values are: "basic-xxs", @@ -68044,6 +70366,21 @@ def validate_app_spec( "nyc", "fra", "sfo", "sgp", "blr", "tor", "lon", and "syd". "services": [ { + "autoscaling": { + "max_instance_count": 0, # Optional. The + maximum amount of instances for this component. Must be more than + min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # Optional. + Default value is 80. The average target CPU utilization + for the component. + } + }, + "min_instance_count": 0 # Optional. The + minimum amount of instances for this component. Must be less than + max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. "cors": { @@ -68195,7 +70532,7 @@ def validate_app_spec( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this component should be scaled to. - Default: 1. + Default: 1. Must not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values are: "basic-xxs", @@ -68438,6 +70775,21 @@ def validate_app_spec( ], "workers": [ { + "autoscaling": { + "max_instance_count": 0, # Optional. The + maximum amount of instances for this component. Must be more than + min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # Optional. + Default value is 80. The average target CPU utilization + for the component. + } + }, + "min_instance_count": 0 # Optional. The + minimum amount of instances for this component. Must be less than + max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. "dockerfile_path": "str", # Optional. The path to @@ -68525,7 +70877,7 @@ def validate_app_spec( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this component should be scaled to. - Default: 1. + Default: 1. Must not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values are: "basic-xxs", @@ -68908,6 +71260,21 @@ def validate_app_spec( }, "jobs": [ { + "autoscaling": { + "max_instance_count": 0, # Optional. The + maximum amount of instances for this component. Must be more than + min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # Optional. + Default value is 80. The average target CPU utilization + for the component. + } + }, + "min_instance_count": 0 # Optional. The + minimum amount of instances for this component. Must be less than + max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. "dockerfile_path": "str", # Optional. The path to @@ -68995,7 +71362,7 @@ def validate_app_spec( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this component should be scaled to. - Default: 1. + Default: 1. Must not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values are: "basic-xxs", @@ -69043,6 +71410,21 @@ def validate_app_spec( "nyc", "fra", "sfo", "sgp", "blr", "tor", "lon", and "syd". "services": [ { + "autoscaling": { + "max_instance_count": 0, # Optional. The + maximum amount of instances for this component. Must be more than + min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # Optional. + Default value is 80. The average target CPU utilization + for the component. + } + }, + "min_instance_count": 0 # Optional. The + minimum amount of instances for this component. Must be less than + max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. "cors": { @@ -69194,7 +71576,7 @@ def validate_app_spec( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this component should be scaled to. - Default: 1. + Default: 1. Must not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values are: "basic-xxs", @@ -69437,6 +71819,21 @@ def validate_app_spec( ], "workers": [ { + "autoscaling": { + "max_instance_count": 0, # Optional. The + maximum amount of instances for this component. Must be more than + min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # Optional. + Default value is 80. The average target CPU utilization + for the component. + } + }, + "min_instance_count": 0 # Optional. The + minimum amount of instances for this component. Must be less than + max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. "dockerfile_path": "str", # Optional. The path to @@ -69524,7 +71921,7 @@ def validate_app_spec( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this component should be scaled to. - Default: 1. + Default: 1. Must not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values are: "basic-xxs", @@ -69905,6 +72302,21 @@ def validate_app_spec(self, body: Union[JSON, IO], **kwargs: Any) -> JSON: }, "jobs": [ { + "autoscaling": { + "max_instance_count": 0, # Optional. The + maximum amount of instances for this component. Must be more than + min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # Optional. + Default value is 80. The average target CPU utilization + for the component. + } + }, + "min_instance_count": 0 # Optional. The + minimum amount of instances for this component. Must be less than + max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. "dockerfile_path": "str", # Optional. The path to @@ -69992,7 +72404,7 @@ def validate_app_spec(self, body: Union[JSON, IO], **kwargs: Any) -> JSON: }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this component should be scaled to. - Default: 1. + Default: 1. Must not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values are: "basic-xxs", @@ -70040,6 +72452,21 @@ def validate_app_spec(self, body: Union[JSON, IO], **kwargs: Any) -> JSON: "nyc", "fra", "sfo", "sgp", "blr", "tor", "lon", and "syd". "services": [ { + "autoscaling": { + "max_instance_count": 0, # Optional. The + maximum amount of instances for this component. Must be more than + min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # Optional. + Default value is 80. The average target CPU utilization + for the component. + } + }, + "min_instance_count": 0 # Optional. The + minimum amount of instances for this component. Must be less than + max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. "cors": { @@ -70191,7 +72618,7 @@ def validate_app_spec(self, body: Union[JSON, IO], **kwargs: Any) -> JSON: }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this component should be scaled to. - Default: 1. + Default: 1. Must not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values are: "basic-xxs", @@ -70434,6 +72861,21 @@ def validate_app_spec(self, body: Union[JSON, IO], **kwargs: Any) -> JSON: ], "workers": [ { + "autoscaling": { + "max_instance_count": 0, # Optional. The + maximum amount of instances for this component. Must be more than + min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # Optional. + Default value is 80. The average target CPU utilization + for the component. + } + }, + "min_instance_count": 0 # Optional. The + minimum amount of instances for this component. Must be less than + max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. "dockerfile_path": "str", # Optional. The path to @@ -70521,7 +72963,7 @@ def validate_app_spec(self, body: Union[JSON, IO], **kwargs: Any) -> JSON: }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this component should be scaled to. - Default: 1. + Default: 1. Must not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values are: "basic-xxs", @@ -71663,6 +74105,21 @@ def create_rollback( }, "jobs": [ { + "autoscaling": { + "max_instance_count": 0, # Optional. + The maximum amount of instances for this component. Must be + more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # + Optional. Default value is 80. The average target CPU + utilization for the component. + } + }, + "min_instance_count": 0 # Optional. + The minimum amount of instances for this component. Must be + less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -71754,7 +74211,7 @@ def create_rollback( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this component should be - scaled to. Default: 1. + scaled to. Default: 1. Must not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values are: @@ -71804,6 +74261,21 @@ def create_rollback( "syd". "services": [ { + "autoscaling": { + "max_instance_count": 0, # Optional. + The maximum amount of instances for this component. Must be + more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # + Optional. Default value is 80. The average target CPU + utilization for the component. + } + }, + "min_instance_count": 0 # Optional. + The minimum amount of instances for this component. Must be + less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -71964,7 +74436,7 @@ def create_rollback( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this component should be - scaled to. Default: 1. + scaled to. Default: 1. Must not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values are: @@ -72213,6 +74685,21 @@ def create_rollback( ], "workers": [ { + "autoscaling": { + "max_instance_count": 0, # Optional. + The maximum amount of instances for this component. Must be + more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # + Optional. Default value is 80. The average target CPU + utilization for the component. + } + }, + "min_instance_count": 0 # Optional. + The minimum amount of instances for this component. Must be + less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -72304,7 +74791,7 @@ def create_rollback( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this component should be - scaled to. Default: 1. + scaled to. Default: 1. Must not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values are: @@ -72833,6 +75320,21 @@ def create_rollback( }, "jobs": [ { + "autoscaling": { + "max_instance_count": 0, # Optional. + The maximum amount of instances for this component. Must be + more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # + Optional. Default value is 80. The average target CPU + utilization for the component. + } + }, + "min_instance_count": 0 # Optional. + The minimum amount of instances for this component. Must be + less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -72924,7 +75426,7 @@ def create_rollback( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this component should be - scaled to. Default: 1. + scaled to. Default: 1. Must not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values are: @@ -72974,6 +75476,21 @@ def create_rollback( "syd". "services": [ { + "autoscaling": { + "max_instance_count": 0, # Optional. + The maximum amount of instances for this component. Must be + more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # + Optional. Default value is 80. The average target CPU + utilization for the component. + } + }, + "min_instance_count": 0 # Optional. + The minimum amount of instances for this component. Must be + less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -73134,7 +75651,7 @@ def create_rollback( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this component should be - scaled to. Default: 1. + scaled to. Default: 1. Must not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values are: @@ -73383,6 +75900,21 @@ def create_rollback( ], "workers": [ { + "autoscaling": { + "max_instance_count": 0, # Optional. + The maximum amount of instances for this component. Must be + more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # + Optional. Default value is 80. The average target CPU + utilization for the component. + } + }, + "min_instance_count": 0 # Optional. + The minimum amount of instances for this component. Must be + less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -73474,7 +76006,7 @@ def create_rollback( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this component should be - scaled to. Default: 1. + scaled to. Default: 1. Must not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values are: @@ -73998,6 +76530,21 @@ def create_rollback( }, "jobs": [ { + "autoscaling": { + "max_instance_count": 0, # Optional. + The maximum amount of instances for this component. Must be + more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # + Optional. Default value is 80. The average target CPU + utilization for the component. + } + }, + "min_instance_count": 0 # Optional. + The minimum amount of instances for this component. Must be + less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -74089,7 +76636,7 @@ def create_rollback( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this component should be - scaled to. Default: 1. + scaled to. Default: 1. Must not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values are: @@ -74139,6 +76686,21 @@ def create_rollback( "syd". "services": [ { + "autoscaling": { + "max_instance_count": 0, # Optional. + The maximum amount of instances for this component. Must be + more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # + Optional. Default value is 80. The average target CPU + utilization for the component. + } + }, + "min_instance_count": 0 # Optional. + The minimum amount of instances for this component. Must be + less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -74299,7 +76861,7 @@ def create_rollback( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this component should be - scaled to. Default: 1. + scaled to. Default: 1. Must not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values are: @@ -74548,6 +77110,21 @@ def create_rollback( ], "workers": [ { + "autoscaling": { + "max_instance_count": 0, # Optional. + The maximum amount of instances for this component. Must be + more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # + Optional. Default value is 80. The average target CPU + utilization for the component. + } + }, + "min_instance_count": 0 # Optional. + The minimum amount of instances for this component. Must be + less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -74639,7 +77216,7 @@ def create_rollback( }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this component should be - scaled to. Default: 1. + scaled to. Default: 1. Must not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values are: @@ -75733,6 +78310,21 @@ def revert_rollback(self, app_id: str, **kwargs: Any) -> JSON: }, "jobs": [ { + "autoscaling": { + "max_instance_count": 0, # Optional. + The maximum amount of instances for this component. Must be + more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # + Optional. Default value is 80. The average target CPU + utilization for the component. + } + }, + "min_instance_count": 0 # Optional. + The minimum amount of instances for this component. Must be + less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -75824,7 +78416,7 @@ def revert_rollback(self, app_id: str, **kwargs: Any) -> JSON: }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this component should be - scaled to. Default: 1. + scaled to. Default: 1. Must not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values are: @@ -75874,6 +78466,21 @@ def revert_rollback(self, app_id: str, **kwargs: Any) -> JSON: "syd". "services": [ { + "autoscaling": { + "max_instance_count": 0, # Optional. + The maximum amount of instances for this component. Must be + more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # + Optional. Default value is 80. The average target CPU + utilization for the component. + } + }, + "min_instance_count": 0 # Optional. + The minimum amount of instances for this component. Must be + less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -76034,7 +78641,7 @@ def revert_rollback(self, app_id: str, **kwargs: Any) -> JSON: }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this component should be - scaled to. Default: 1. + scaled to. Default: 1. Must not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values are: @@ -76283,6 +78890,21 @@ def revert_rollback(self, app_id: str, **kwargs: Any) -> JSON: ], "workers": [ { + "autoscaling": { + "max_instance_count": 0, # Optional. + The maximum amount of instances for this component. Must be + more than min_instance_count. + "metrics": { + "cpu": { + "percent": 80 # + Optional. Default value is 80. The average target CPU + utilization for the component. + } + }, + "min_instance_count": 0 # Optional. + The minimum amount of instances for this component. Must be + less than max_instance_count. + }, "build_command": "str", # Optional. An optional build command to run while building this component from source. @@ -76374,7 +78996,7 @@ def revert_rollback(self, app_id: str, **kwargs: Any) -> JSON: }, "instance_count": 1, # Optional. Default value is 1. The amount of instances that this component should be - scaled to. Default: 1. + scaled to. Default: 1. Must not be set if autoscaling is used. "instance_size_slug": "basic-xxs", # Optional. Default value is "basic-xxs". The instance size to use for this component. Default: ``basic-xxs``. Known values are: