ResourceRequests Class

This type describes the requested resources for a given container. It describes the least amount of resources required for the container. A container can consume more than requested resources up to the specified limits before being restarted. Currently, the requested resources are treated as limits.

All required parameters must be populated in order to send to Azure.

Inheritance
ResourceRequests

Constructor

ResourceRequests(*, memory_in_gb: float, cpu: float, **kwargs)

Parameters

memory_in_gb
float
Required

Required. The memory request in GB for this container.

cpu
float
Required

Required. Requested number of CPU cores. At present, only full cores are supported.