ServiceSizingPolicies

update service_sizing_policy

Changed on

Updates a service sizing policy's attributes.

put/services/{service_id}/service_sizing_policies

Request

  • Base URL
    https://api.aptible.com
  • Auth
    API key in header Authorization

Path parameters

service_idinteger required

service_id

Query parameters

no_embedboolean

When true, omits embedded resources from the response. Also triggered when the Prefer: no_sensitive_extras=true header is present.

Headers

Prefer'no_sensitive_extras=true'

When set to no_sensitive_extras=true, omits sensitive fields and embedded resources from the response.

Request body

scaling_enabledboolean
metric_lookback_secondsinteger
percentilenumber
post_scale_up_cooldown_secondsinteger
post_scale_down_cooldown_secondsinteger
post_release_cooldown_secondsinteger
mem_cpu_ratio_r_thresholdnumber
mem_cpu_ratio_c_thresholdnumber
mem_scale_up_thresholdnumber
mem_scale_down_thresholdnumber
minimum_memoryinteger
maximum_memoryinteger
autoscalingstring
min_cpu_thresholdnumber
max_cpu_thresholdnumber
min_containersinteger
max_containersinteger
scale_up_stepinteger
scale_down_stepinteger
use_horizontal_scaleboolean

Response

successful

Changes

    • breaking

      the request property type changed from float to number

    • breaking

      the request property type changed from float to number

    • breaking

      the request property type changed from float to number

    • breaking

      the request property type changed from float to number

    • breaking

      the request property type changed from float to number

    • breaking

      the request property type changed from float to number

    • breaking

      the request property type changed from float to number

    • info

      added the new optional header request parameter Prefer

    • info

      added the new optional query request parameter no_embed

    • info

      added the new optional request property