Skip to main content
PUT
Replace Container Instance Deletion Cost
Last Updated: May 10, 2025

Headers

Metadata
string
required

A custom request header required by all operations.

Allowed value: "true"

Body

application/json

The deletion cost of the current container instance.

deletion_cost
integer<int32>
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.

Required range: -2147483648 <= x <= 2147483647
Example:

100

Response

No Content