@@ -177,6 +177,8 @@ type JobDefinition struct {
177177
178178 CronSchedule * CronSchedule `json:"cron_schedule"`
179179
180+ LocalStorageCapacity uint32 `json:"local_storage_capacity"`
181+
180182 // Region: region to target. If none is passed will use default region from the config.
181183 Region scw.Region `json:"region"`
182184}
@@ -210,6 +212,8 @@ type JobRun struct {
210212
211213 EnvironmentVariables map [string ]string `json:"environment_variables"`
212214
215+ LocalStorageCapacity uint32 `json:"local_storage_capacity"`
216+
213217 // Region: region to target. If none is passed will use default region from the config.
214218 Region scw.Region `json:"region"`
215219}
@@ -232,9 +236,12 @@ type CreateJobDefinitionRequest struct {
232236 // CPULimit: CPU limit of the job.
233237 CPULimit uint32 `json:"cpu_limit"`
234238
235- // MemoryLimit: memory limit of the job.
239+ // MemoryLimit: memory limit of the job (in MiB) .
236240 MemoryLimit uint32 `json:"memory_limit"`
237241
242+ // LocalStorageCapacity: local storage capacity of the job (in MiB).
243+ LocalStorageCapacity * uint32 `json:"local_storage_capacity,omitempty"`
244+
238245 // ImageURI: image to use for the job.
239246 ImageURI string `json:"image_uri"`
240247
@@ -413,9 +420,12 @@ type UpdateJobDefinitionRequest struct {
413420 // CPULimit: CPU limit of the job.
414421 CPULimit * uint32 `json:"cpu_limit,omitempty"`
415422
416- // MemoryLimit: memory limit of the job.
423+ // MemoryLimit: memory limit of the job (in MiB) .
417424 MemoryLimit * uint32 `json:"memory_limit,omitempty"`
418425
426+ // LocalStorageCapacity: local storage capacity of the job (in MiB).
427+ LocalStorageCapacity * uint32 `json:"local_storage_capacity,omitempty"`
428+
419429 // ImageURI: image to use for the job.
420430 ImageURI * string `json:"image_uri,omitempty"`
421431
0 commit comments