@@ -583,7 +583,7 @@ type Container struct {
583583 MaxScale uint32 `json:"max_scale"`
584584 // MemoryLimit: memory limit of the container in MB.
585585 MemoryLimit uint32 `json:"memory_limit"`
586- // CPULimit: CPU limit of the container.
586+ // CPULimit: CPU limit of the container in mvCPU .
587587 CPULimit uint32 `json:"cpu_limit"`
588588 // Timeout: processing time limit for the container.
589589 Timeout * scw.Duration `json:"timeout"`
@@ -1152,6 +1152,8 @@ type CreateContainerRequest struct {
11521152 MaxScale * uint32 `json:"max_scale"`
11531153 // MemoryLimit: memory limit of the container in MB.
11541154 MemoryLimit * uint32 `json:"memory_limit"`
1155+ // CPULimit: CPU limit of the container in mvCPU.
1156+ CPULimit * uint32 `json:"cpu_limit"`
11551157 // Timeout: processing time limit for the container.
11561158 Timeout * scw.Duration `json:"timeout"`
11571159 // Privacy: privacy setting of the container.
@@ -1225,6 +1227,8 @@ type UpdateContainerRequest struct {
12251227 MaxScale * uint32 `json:"max_scale"`
12261228 // MemoryLimit: memory limit of the container in MB.
12271229 MemoryLimit * uint32 `json:"memory_limit"`
1230+ // CPULimit: CPU limit of the container in mvCPU.
1231+ CPULimit * uint32 `json:"cpu_limit"`
12281232 // Timeout: processing time limit for the container.
12291233 Timeout * scw.Duration `json:"timeout"`
12301234 // Redeploy: defines whether to redeploy failed containers.
0 commit comments