v1

latestOpenAPI 3.1.0MIT2026-07-2654137287.8 KB
metadata

Replace Container Instance Deletion Cost

Replaces the deletion cost of the current container instance

put/v1/deletion-cost

Headers

Metadata'true' required

A custom request header required by all operations.

Request body

deletion_costinteger required

An integer value that identifies the relative cost to the application running across the container group if the current container instance is deleted. A higher value indicates a higher cost, and a lower value indicates a lower cost. If the container group is scaled down, the scheduler will attempt to delete the container instances with the lowest deletion costs first.

Example request

{
  "deletion_cost": 100
}

Response

No Content