@scaleway/sdk 2.72.0 → 2.73.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (146) hide show
  1. package/dist/api/account/v3/api.gen.cjs +13 -32
  2. package/dist/api/account/v3/api.gen.d.ts +17 -36
  3. package/dist/api/account/v3/api.gen.js +13 -32
  4. package/dist/api/account/v3/types.gen.d.ts +187 -85
  5. package/dist/api/applesilicon/v1alpha1/api.gen.cjs +19 -46
  6. package/dist/api/applesilicon/v1alpha1/api.gen.d.ts +24 -49
  7. package/dist/api/applesilicon/v1alpha1/api.gen.js +19 -46
  8. package/dist/api/applesilicon/v1alpha1/types.gen.d.ts +310 -135
  9. package/dist/api/audit_trail/v1alpha1/api.gen.cjs +2 -5
  10. package/dist/api/audit_trail/v1alpha1/api.gen.d.ts +4 -8
  11. package/dist/api/audit_trail/v1alpha1/api.gen.js +2 -5
  12. package/dist/api/audit_trail/v1alpha1/types.gen.d.ts +110 -82
  13. package/dist/api/baremetal/v1/api.gen.cjs +28 -61
  14. package/dist/api/baremetal/v1/api.gen.d.ts +29 -60
  15. package/dist/api/baremetal/v1/api.gen.js +28 -61
  16. package/dist/api/baremetal/v1/types.gen.d.ts +802 -315
  17. package/dist/api/baremetal/v3/api.gen.cjs +7 -14
  18. package/dist/api/baremetal/v3/api.gen.d.ts +10 -15
  19. package/dist/api/baremetal/v3/api.gen.js +7 -14
  20. package/dist/api/baremetal/v3/types.gen.d.ts +82 -32
  21. package/dist/api/billing/v2beta1/api.gen.cjs +11 -20
  22. package/dist/api/billing/v2beta1/api.gen.d.ts +9 -19
  23. package/dist/api/billing/v2beta1/api.gen.js +11 -20
  24. package/dist/api/billing/v2beta1/types.gen.d.ts +231 -102
  25. package/dist/api/block/v1/api.gen.cjs +37 -55
  26. package/dist/api/block/v1/api.gen.d.ts +19 -37
  27. package/dist/api/block/v1/api.gen.js +37 -55
  28. package/dist/api/block/v1/types.gen.d.ts +306 -125
  29. package/dist/api/block/v1alpha1/api.gen.cjs +45 -64
  30. package/dist/api/block/v1alpha1/api.gen.d.ts +22 -41
  31. package/dist/api/block/v1alpha1/api.gen.js +45 -64
  32. package/dist/api/block/v1alpha1/types.gen.d.ts +327 -132
  33. package/dist/api/cockpit/v1/api.gen.cjs +100 -156
  34. package/dist/api/cockpit/v1/api.gen.d.ts +53 -112
  35. package/dist/api/cockpit/v1/api.gen.js +100 -156
  36. package/dist/api/cockpit/v1/types.gen.d.ts +567 -246
  37. package/dist/api/container/v1beta1/api.gen.cjs +7 -14
  38. package/dist/api/container/v1beta1/api.gen.d.ts +9 -16
  39. package/dist/api/container/v1beta1/api.gen.js +7 -14
  40. package/dist/api/container/v1beta1/types.gen.d.ts +648 -322
  41. package/dist/api/dedibox/v1/api.gen.cjs +45 -69
  42. package/dist/api/dedibox/v1/api.gen.d.ts +52 -62
  43. package/dist/api/dedibox/v1/api.gen.js +45 -69
  44. package/dist/api/dedibox/v1/types.gen.d.ts +1765 -645
  45. package/dist/api/domain/v2beta1/api.gen.cjs +119 -178
  46. package/dist/api/domain/v2beta1/api.gen.d.ts +71 -130
  47. package/dist/api/domain/v2beta1/api.gen.js +119 -178
  48. package/dist/api/domain/v2beta1/content.gen.d.ts +1 -4
  49. package/dist/api/domain/v2beta1/types.gen.d.ts +411 -199
  50. package/dist/api/flexibleip/v1alpha1/api.gen.cjs +10 -25
  51. package/dist/api/flexibleip/v1alpha1/api.gen.d.ts +12 -28
  52. package/dist/api/flexibleip/v1alpha1/api.gen.js +10 -25
  53. package/dist/api/flexibleip/v1alpha1/types.gen.d.ts +186 -78
  54. package/dist/api/inference/v1/api.gen.cjs +8 -11
  55. package/dist/api/inference/v1/api.gen.d.ts +6 -9
  56. package/dist/api/inference/v1/api.gen.js +8 -11
  57. package/dist/api/inference/v1/types.gen.d.ts +330 -150
  58. package/dist/api/inference/v1beta1/api.gen.cjs +8 -11
  59. package/dist/api/inference/v1beta1/api.gen.d.ts +6 -9
  60. package/dist/api/inference/v1beta1/api.gen.js +8 -11
  61. package/dist/api/inference/v1beta1/types.gen.d.ts +341 -154
  62. package/dist/api/instance/v1/api.gen.cjs +64 -113
  63. package/dist/api/instance/v1/api.gen.d.ts +54 -103
  64. package/dist/api/instance/v1/api.gen.js +64 -113
  65. package/dist/api/instance/v1/types.gen.d.ts +1351 -598
  66. package/dist/api/instance/v1/types.private.gen.d.ts +131 -59
  67. package/dist/api/interlink/v1beta1/api.gen.cjs +21 -67
  68. package/dist/api/interlink/v1beta1/api.gen.d.ts +23 -70
  69. package/dist/api/interlink/v1beta1/api.gen.js +21 -67
  70. package/dist/api/interlink/v1beta1/marshalling.gen.cjs +2 -0
  71. package/dist/api/interlink/v1beta1/marshalling.gen.js +2 -0
  72. package/dist/api/interlink/v1beta1/types.gen.d.ts +464 -216
  73. package/dist/api/interlink/v1beta1/validation-rules.gen.cjs +8 -0
  74. package/dist/api/interlink/v1beta1/validation-rules.gen.d.ts +8 -0
  75. package/dist/api/interlink/v1beta1/validation-rules.gen.js +8 -0
  76. package/dist/api/iot/v1/api.gen.cjs +37 -70
  77. package/dist/api/iot/v1/api.gen.d.ts +34 -67
  78. package/dist/api/iot/v1/api.gen.js +37 -70
  79. package/dist/api/iot/v1/types.gen.d.ts +566 -321
  80. package/dist/api/ipam/v1/api.gen.cjs +6 -26
  81. package/dist/api/ipam/v1/api.gen.d.ts +8 -29
  82. package/dist/api/ipam/v1/api.gen.js +6 -26
  83. package/dist/api/ipam/v1/types.gen.d.ts +146 -105
  84. package/dist/api/jobs/v1alpha1/api.gen.cjs +2 -4
  85. package/dist/api/jobs/v1alpha1/api.gen.d.ts +4 -6
  86. package/dist/api/jobs/v1alpha1/api.gen.js +2 -4
  87. package/dist/api/jobs/v1alpha1/types.gen.d.ts +165 -91
  88. package/dist/api/k8s/v1/api.gen.cjs +33 -78
  89. package/dist/api/k8s/v1/api.gen.d.ts +27 -72
  90. package/dist/api/k8s/v1/api.gen.js +33 -78
  91. package/dist/api/k8s/v1/types.gen.d.ts +743 -506
  92. package/dist/api/key_manager/v1alpha1/api.gen.cjs +21 -57
  93. package/dist/api/key_manager/v1alpha1/api.gen.d.ts +19 -56
  94. package/dist/api/key_manager/v1alpha1/api.gen.js +21 -57
  95. package/dist/api/key_manager/v1alpha1/types.gen.d.ts +196 -114
  96. package/dist/api/marketplace/v2/api.gen.cjs +8 -21
  97. package/dist/api/marketplace/v2/api.gen.d.ts +10 -24
  98. package/dist/api/marketplace/v2/api.gen.js +8 -21
  99. package/dist/api/marketplace/v2/types.gen.d.ts +94 -41
  100. package/dist/api/mnq/v1beta1/api.gen.cjs +24 -76
  101. package/dist/api/mnq/v1beta1/api.gen.d.ts +30 -82
  102. package/dist/api/mnq/v1beta1/api.gen.js +24 -76
  103. package/dist/api/mnq/v1beta1/types.gen.d.ts +342 -169
  104. package/dist/api/mongodb/v1alpha1/api.gen.cjs +19 -62
  105. package/dist/api/mongodb/v1alpha1/api.gen.d.ts +21 -64
  106. package/dist/api/mongodb/v1alpha1/api.gen.js +19 -62
  107. package/dist/api/mongodb/v1alpha1/types.gen.d.ts +443 -189
  108. package/dist/api/qaas/v1alpha1/api.gen.cjs +17 -34
  109. package/dist/api/qaas/v1alpha1/api.gen.d.ts +19 -36
  110. package/dist/api/qaas/v1alpha1/api.gen.js +17 -34
  111. package/dist/api/qaas/v1alpha1/types.gen.d.ts +502 -174
  112. package/dist/api/rdb/v1/api.gen.cjs +62 -202
  113. package/dist/api/rdb/v1/api.gen.d.ts +60 -201
  114. package/dist/api/rdb/v1/api.gen.js +62 -202
  115. package/dist/api/rdb/v1/types.gen.d.ts +1005 -524
  116. package/dist/api/redis/v1/api.gen.cjs +23 -83
  117. package/dist/api/redis/v1/api.gen.d.ts +25 -85
  118. package/dist/api/redis/v1/api.gen.js +23 -83
  119. package/dist/api/redis/v1/types.gen.d.ts +447 -170
  120. package/dist/api/registry/v1/api.gen.cjs +12 -40
  121. package/dist/api/registry/v1/api.gen.d.ts +14 -42
  122. package/dist/api/registry/v1/api.gen.js +12 -40
  123. package/dist/api/registry/v1/types.gen.d.ts +200 -116
  124. package/dist/api/secret/v1beta1/api.gen.cjs +19 -47
  125. package/dist/api/secret/v1beta1/api.gen.d.ts +21 -51
  126. package/dist/api/secret/v1beta1/api.gen.js +19 -47
  127. package/dist/api/secret/v1beta1/types.gen.d.ts +359 -224
  128. package/dist/api/serverless_sqldb/v1alpha1/api.gen.cjs +9 -27
  129. package/dist/api/serverless_sqldb/v1alpha1/api.gen.d.ts +11 -29
  130. package/dist/api/serverless_sqldb/v1alpha1/api.gen.js +9 -27
  131. package/dist/api/serverless_sqldb/v1alpha1/types.gen.d.ts +168 -76
  132. package/dist/api/tem/v1alpha1/api.gen.cjs +22 -58
  133. package/dist/api/tem/v1alpha1/api.gen.d.ts +24 -60
  134. package/dist/api/tem/v1alpha1/api.gen.js +22 -58
  135. package/dist/api/tem/v1alpha1/types.gen.d.ts +761 -338
  136. package/dist/api/test/v1/api.gen.cjs +8 -11
  137. package/dist/api/test/v1/api.gen.d.ts +6 -9
  138. package/dist/api/test/v1/api.gen.js +8 -11
  139. package/dist/api/test/v1/types.gen.d.ts +21 -10
  140. package/dist/client/dist/package.json.cjs +1 -1
  141. package/dist/client/dist/package.json.js +1 -1
  142. package/node_modules/@scaleway/sdk-client/dist/package.json.cjs +1 -1
  143. package/node_modules/@scaleway/sdk-client/dist/package.json.js +1 -1
  144. package/node_modules/@scaleway/sdk-client/package.json +1 -2
  145. package/package.json +2 -2
  146. package/node_modules/@scaleway/sdk-client/LICENSE +0 -191
@@ -75,8 +75,7 @@ class API extends api.API {
75
75
  request
76
76
  );
77
77
  /**
78
- * Update an existing job definition associated with the specified unique
79
- * identifier.
78
+ * Update an existing job definition associated with the specified unique identifier.
80
79
  *
81
80
  * @param request - The request {@link UpdateJobDefinitionRequest}
82
81
  * @returns A Promise of JobDefinition
@@ -102,8 +101,7 @@ class API extends api.API {
102
101
  path: `/serverless-jobs/v1alpha1/regions/${marshalling.validatePathParam("region", request.region ?? this.client.settings.defaultRegion)}/job-definitions/${marshalling.validatePathParam("jobDefinitionId", request.jobDefinitionId)}`
103
102
  });
104
103
  /**
105
- * Run an existing job definition by its unique identifier. This will create a
106
- * new job run.
104
+ * Run an existing job definition by its unique identifier. This will create a new job run.
107
105
  *
108
106
  * @param request - The request {@link StartJobDefinitionRequest}
109
107
  * @returns A Promise of StartJobDefinitionResponse
@@ -3,8 +3,8 @@ import type { Region as ScwRegion } from '@scaleway/sdk-client';
3
3
  import type { CreateJobDefinitionRequest, CreateJobDefinitionSecretsRequest, CreateJobDefinitionSecretsResponse, DeleteJobDefinitionRequest, DeleteJobDefinitionSecretRequest, GetJobDefinitionRequest, GetJobDefinitionSecretRequest, GetJobRunRequest, GetJobsLimitsRequest, JobDefinition, JobRun, JobsLimits, ListJobDefinitionSecretsRequest, ListJobDefinitionSecretsResponse, ListJobDefinitionsRequest, ListJobDefinitionsResponse, ListJobRunsRequest, ListJobRunsResponse, ListJobsResourcesRequest, ListJobsResourcesResponse, Secret, StartJobDefinitionRequest, StartJobDefinitionResponse, StopJobRunRequest, UpdateJobDefinitionRequest, UpdateJobDefinitionSecretRequest } from './types.gen';
4
4
  /**
5
5
  * Serverless Jobs API.
6
- *
7
- * This API allows you to manage your Serverless Jobs.
6
+
7
+ This API allows you to manage your Serverless Jobs.
8
8
  */
9
9
  export declare class API extends ParentAPI {
10
10
  /** Lists the available regions of the API. */
@@ -35,8 +35,7 @@ export declare class API extends ParentAPI {
35
35
  [Symbol.asyncIterator]: () => AsyncGenerator<JobDefinition[], void, void>;
36
36
  };
37
37
  /**
38
- * Update an existing job definition associated with the specified unique
39
- * identifier.
38
+ * Update an existing job definition associated with the specified unique identifier.
40
39
  *
41
40
  * @param request - The request {@link UpdateJobDefinitionRequest}
42
41
  * @returns A Promise of JobDefinition
@@ -49,8 +48,7 @@ export declare class API extends ParentAPI {
49
48
  */
50
49
  deleteJobDefinition: (request: Readonly<DeleteJobDefinitionRequest>) => Promise<void>;
51
50
  /**
52
- * Run an existing job definition by its unique identifier. This will create a
53
- * new job run.
51
+ * Run an existing job definition by its unique identifier. This will create a new job run.
54
52
  *
55
53
  * @param request - The request {@link StartJobDefinitionRequest}
56
54
  * @returns A Promise of StartJobDefinitionResponse
@@ -73,8 +73,7 @@ class API extends API$1 {
73
73
  request
74
74
  );
75
75
  /**
76
- * Update an existing job definition associated with the specified unique
77
- * identifier.
76
+ * Update an existing job definition associated with the specified unique identifier.
78
77
  *
79
78
  * @param request - The request {@link UpdateJobDefinitionRequest}
80
79
  * @returns A Promise of JobDefinition
@@ -100,8 +99,7 @@ class API extends API$1 {
100
99
  path: `/serverless-jobs/v1alpha1/regions/${validatePathParam("region", request.region ?? this.client.settings.defaultRegion)}/job-definitions/${validatePathParam("jobDefinitionId", request.jobDefinitionId)}`
101
100
  });
102
101
  /**
103
- * Run an existing job definition by its unique identifier. This will create a
104
- * new job run.
102
+ * Run an existing job definition by its unique identifier. This will create a new job run.
105
103
  *
106
104
  * @param request - The request {@link StartJobDefinitionRequest}
107
105
  * @returns A Promise of StartJobDefinitionResponse
@@ -9,11 +9,12 @@ export interface SecretFile {
9
9
  path: string;
10
10
  }
11
11
  export interface CronSchedule {
12
- /** UNIX cron schedule to run job (e.g., '* * * * *'). */
12
+ /**
13
+ * UNIX cron schedule to run job (e.g., '* * * * *').
14
+ */
13
15
  schedule: string;
14
16
  /**
15
- * Timezone for the cron schedule, in tz database format (e.g.,
16
- * 'Europe/Paris').
17
+ * Timezone for the cron schedule, in tz database format (e.g., 'Europe/Paris').
17
18
  */
18
19
  timezone: string;
19
20
  }
@@ -24,17 +25,29 @@ export interface CreateJobDefinitionRequestCronScheduleConfig {
24
25
  export interface CreateJobDefinitionSecretsRequestSecretConfig {
25
26
  secretManagerId: string;
26
27
  secretManagerVersion: string;
27
- /** One-of ('pathOrEnvVar'): at most one of 'path', 'envVarName' could be set. */
28
+ /**
29
+ *
30
+ * One-of ('pathOrEnvVar'): at most one of 'path', 'envVarName' could be set.
31
+ */
28
32
  path?: string;
29
- /** One-of ('pathOrEnvVar'): at most one of 'path', 'envVarName' could be set. */
33
+ /**
34
+ *
35
+ * One-of ('pathOrEnvVar'): at most one of 'path', 'envVarName' could be set.
36
+ */
30
37
  envVarName?: string;
31
38
  }
32
39
  export interface Secret {
33
- /** UUID of the secret reference within the job. */
40
+ /**
41
+ * UUID of the secret reference within the job.
42
+ */
34
43
  secretId: string;
35
- /** UUID of the secret in Secret Manager. */
44
+ /**
45
+ * UUID of the secret in Secret Manager.
46
+ */
36
47
  secretManagerId: string;
37
- /** Version of the secret in Secret Manager. */
48
+ /**
49
+ * Version of the secret in Secret Manager.
50
+ */
38
51
  secretManagerVersion: string;
39
52
  /**
40
53
  * File secret mounted inside the job.
@@ -65,8 +78,7 @@ export interface JobDefinition {
65
78
  cronSchedule?: CronSchedule;
66
79
  localStorageCapacity: number;
67
80
  /**
68
- * Region to target. If none is passed will use default region from the
69
- * config.
81
+ * Region to target. If none is passed will use default region from the config.
70
82
  */
71
83
  region: ScwRegion;
72
84
  }
@@ -87,8 +99,7 @@ export interface JobRun {
87
99
  localStorageCapacity: number;
88
100
  startedAt?: Date;
89
101
  /**
90
- * Region to target. If none is passed will use default region from the
91
- * config.
102
+ * Region to target. If none is passed will use default region from the config.
92
103
  */
93
104
  region: ScwRegion;
94
105
  }
@@ -102,104 +113,135 @@ export interface UpdateJobDefinitionRequestCronScheduleConfig {
102
113
  }
103
114
  export type CreateJobDefinitionRequest = {
104
115
  /**
105
- * Region to target. If none is passed will use default region from the
106
- * config.
116
+ * Region to target. If none is passed will use default region from the config.
107
117
  */
108
118
  region?: ScwRegion;
109
- /** Name of the job definition. */
119
+ /**
120
+ * Name of the job definition.
121
+ */
110
122
  name?: string;
111
- /** CPU limit of the job. */
123
+ /**
124
+ * CPU limit of the job.
125
+ */
112
126
  cpuLimit: number;
113
- /** Memory limit of the job (in MiB). */
127
+ /**
128
+ * Memory limit of the job (in MiB).
129
+ */
114
130
  memoryLimit: number;
115
- /** Local storage capacity of the job (in MiB). */
131
+ /**
132
+ * Local storage capacity of the job (in MiB).
133
+ */
116
134
  localStorageCapacity?: number;
117
- /** Image to use for the job. */
135
+ /**
136
+ * Image to use for the job.
137
+ */
118
138
  imageUri: string;
119
139
  /**
120
- * Startup command. If empty or not defined, the image's default command is
121
- * used.
140
+ * Startup command. If empty or not defined, the image's default command is used.
122
141
  */
123
142
  command: string;
124
- /** UUID of the Scaleway Project containing the job. */
143
+ /**
144
+ * UUID of the Scaleway Project containing the job.
145
+ */
125
146
  projectId?: string;
126
- /** Environment variables of the job. */
147
+ /**
148
+ * Environment variables of the job.
149
+ */
127
150
  environmentVariables?: Record<string, string>;
128
- /** Description of the job. */
151
+ /**
152
+ * Description of the job.
153
+ */
129
154
  description: string;
130
- /** Timeout of the job in seconds. */
155
+ /**
156
+ * Timeout of the job in seconds.
157
+ */
131
158
  jobTimeout?: string;
132
- /** Configure a cron for the job. */
159
+ /**
160
+ * Configure a cron for the job.
161
+ */
133
162
  cronSchedule?: CreateJobDefinitionRequestCronScheduleConfig;
134
163
  };
135
164
  export type CreateJobDefinitionSecretsRequest = {
136
165
  /**
137
- * Region to target. If none is passed will use default region from the
138
- * config.
166
+ * Region to target. If none is passed will use default region from the config.
139
167
  */
140
168
  region?: ScwRegion;
141
- /** UUID of the job definition. */
169
+ /**
170
+ * UUID of the job definition.
171
+ */
142
172
  jobDefinitionId: string;
143
- /** List of secrets to inject into the job. */
173
+ /**
174
+ * List of secrets to inject into the job.
175
+ */
144
176
  secrets: CreateJobDefinitionSecretsRequestSecretConfig[];
145
177
  };
146
178
  export interface CreateJobDefinitionSecretsResponse {
147
- /** List of secrets created. */
179
+ /**
180
+ * List of secrets created.
181
+ */
148
182
  secrets: Secret[];
149
183
  }
150
184
  export type DeleteJobDefinitionRequest = {
151
185
  /**
152
- * Region to target. If none is passed will use default region from the
153
- * config.
186
+ * Region to target. If none is passed will use default region from the config.
154
187
  */
155
188
  region?: ScwRegion;
156
- /** UUID of the job definition to delete. */
189
+ /**
190
+ * UUID of the job definition to delete.
191
+ */
157
192
  jobDefinitionId: string;
158
193
  };
159
194
  export type DeleteJobDefinitionSecretRequest = {
160
195
  /**
161
- * Region to target. If none is passed will use default region from the
162
- * config.
196
+ * Region to target. If none is passed will use default region from the config.
163
197
  */
164
198
  region?: ScwRegion;
165
- /** UUID of the job definition. */
199
+ /**
200
+ * UUID of the job definition.
201
+ */
166
202
  jobDefinitionId: string;
167
- /** UUID of the secret reference within the job. */
203
+ /**
204
+ * UUID of the secret reference within the job.
205
+ */
168
206
  secretId: string;
169
207
  };
170
208
  export type GetJobDefinitionRequest = {
171
209
  /**
172
- * Region to target. If none is passed will use default region from the
173
- * config.
210
+ * Region to target. If none is passed will use default region from the config.
174
211
  */
175
212
  region?: ScwRegion;
176
- /** UUID of the job definition to get. */
213
+ /**
214
+ * UUID of the job definition to get.
215
+ */
177
216
  jobDefinitionId: string;
178
217
  };
179
218
  export type GetJobDefinitionSecretRequest = {
180
219
  /**
181
- * Region to target. If none is passed will use default region from the
182
- * config.
220
+ * Region to target. If none is passed will use default region from the config.
183
221
  */
184
222
  region?: ScwRegion;
185
- /** UUID of the job definition. */
223
+ /**
224
+ * UUID of the job definition.
225
+ */
186
226
  jobDefinitionId: string;
187
- /** UUID of the secret reference within the job. */
227
+ /**
228
+ * UUID of the secret reference within the job.
229
+ */
188
230
  secretId: string;
189
231
  };
190
232
  export type GetJobRunRequest = {
191
233
  /**
192
- * Region to target. If none is passed will use default region from the
193
- * config.
234
+ * Region to target. If none is passed will use default region from the config.
194
235
  */
195
236
  region?: ScwRegion;
196
- /** UUID of the job run to get. */
237
+ /**
238
+ * UUID of the job run to get.
239
+ */
197
240
  jobRunId: string;
198
241
  };
199
242
  export type GetJobsLimitsRequest = {
200
243
  /**
201
- * Region to target. If none is passed will use default region from the
202
- * config.
244
+ * Region to target. If none is passed will use default region from the config.
203
245
  */
204
246
  region?: ScwRegion;
205
247
  };
@@ -208,23 +250,27 @@ export interface JobsLimits {
208
250
  }
209
251
  export type ListJobDefinitionSecretsRequest = {
210
252
  /**
211
- * Region to target. If none is passed will use default region from the
212
- * config.
253
+ * Region to target. If none is passed will use default region from the config.
213
254
  */
214
255
  region?: ScwRegion;
215
- /** UUID of the job definition. */
256
+ /**
257
+ * UUID of the job definition.
258
+ */
216
259
  jobDefinitionId: string;
217
260
  };
218
261
  export interface ListJobDefinitionSecretsResponse {
219
- /** List of secret references within a job definition. */
262
+ /**
263
+ * List of secret references within a job definition.
264
+ */
220
265
  secrets: Secret[];
221
- /** Total count of secret references within a job definition. */
266
+ /**
267
+ * Total count of secret references within a job definition.
268
+ */
222
269
  totalCount: number;
223
270
  }
224
271
  export type ListJobDefinitionsRequest = {
225
272
  /**
226
- * Region to target. If none is passed will use default region from the
227
- * config.
273
+ * Region to target. If none is passed will use default region from the config.
228
274
  */
229
275
  region?: ScwRegion;
230
276
  page?: number;
@@ -239,8 +285,7 @@ export interface ListJobDefinitionsResponse {
239
285
  }
240
286
  export type ListJobRunsRequest = {
241
287
  /**
242
- * Region to target. If none is passed will use default region from the
243
- * config.
288
+ * Region to target. If none is passed will use default region from the config.
244
289
  */
245
290
  region?: ScwRegion;
246
291
  page?: number;
@@ -257,8 +302,7 @@ export interface ListJobRunsResponse {
257
302
  }
258
303
  export type ListJobsResourcesRequest = {
259
304
  /**
260
- * Region to target. If none is passed will use default region from the
261
- * config.
305
+ * Region to target. If none is passed will use default region from the config.
262
306
  */
263
307
  region?: ScwRegion;
264
308
  };
@@ -267,17 +311,24 @@ export interface ListJobsResourcesResponse {
267
311
  }
268
312
  export type StartJobDefinitionRequest = {
269
313
  /**
270
- * Region to target. If none is passed will use default region from the
271
- * config.
314
+ * Region to target. If none is passed will use default region from the config.
272
315
  */
273
316
  region?: ScwRegion;
274
- /** UUID of the job definition to start. */
317
+ /**
318
+ * UUID of the job definition to start.
319
+ */
275
320
  jobDefinitionId: string;
276
- /** Contextual startup command for this specific job run. */
321
+ /**
322
+ * Contextual startup command for this specific job run.
323
+ */
277
324
  command?: string;
278
- /** Contextual environment variables for this specific job run. */
325
+ /**
326
+ * Contextual environment variables for this specific job run.
327
+ */
279
328
  environmentVariables?: Record<string, string>;
280
- /** Number of jobs to run. */
329
+ /**
330
+ * Number of jobs to run.
331
+ */
281
332
  replicas?: number;
282
333
  };
283
334
  export interface StartJobDefinitionResponse {
@@ -285,63 +336,86 @@ export interface StartJobDefinitionResponse {
285
336
  }
286
337
  export type StopJobRunRequest = {
287
338
  /**
288
- * Region to target. If none is passed will use default region from the
289
- * config.
339
+ * Region to target. If none is passed will use default region from the config.
290
340
  */
291
341
  region?: ScwRegion;
292
- /** UUID of the job run to stop. */
342
+ /**
343
+ * UUID of the job run to stop.
344
+ */
293
345
  jobRunId: string;
294
346
  };
295
347
  export type UpdateJobDefinitionRequest = {
296
348
  /**
297
- * Region to target. If none is passed will use default region from the
298
- * config.
349
+ * Region to target. If none is passed will use default region from the config.
299
350
  */
300
351
  region?: ScwRegion;
301
- /** UUID of the job definition to update. */
352
+ /**
353
+ * UUID of the job definition to update.
354
+ */
302
355
  jobDefinitionId: string;
303
- /** Name of the job definition. */
356
+ /**
357
+ * Name of the job definition.
358
+ */
304
359
  name?: string;
305
- /** CPU limit of the job. */
360
+ /**
361
+ * CPU limit of the job.
362
+ */
306
363
  cpuLimit?: number;
307
- /** Memory limit of the job (in MiB). */
364
+ /**
365
+ * Memory limit of the job (in MiB).
366
+ */
308
367
  memoryLimit?: number;
309
- /** Local storage capacity of the job (in MiB). */
368
+ /**
369
+ * Local storage capacity of the job (in MiB).
370
+ */
310
371
  localStorageCapacity?: number;
311
- /** Image to use for the job. */
372
+ /**
373
+ * Image to use for the job.
374
+ */
312
375
  imageUri?: string;
313
- /** Startup command. */
376
+ /**
377
+ * Startup command.
378
+ */
314
379
  command?: string;
315
- /** Environment variables of the job. */
380
+ /**
381
+ * Environment variables of the job.
382
+ */
316
383
  environmentVariables?: Record<string, string>;
317
- /** Description of the job. */
384
+ /**
385
+ * Description of the job.
386
+ */
318
387
  description?: string;
319
- /** Timeout of the job in seconds. */
388
+ /**
389
+ * Timeout of the job in seconds.
390
+ */
320
391
  jobTimeout?: string;
321
392
  cronSchedule?: UpdateJobDefinitionRequestCronScheduleConfig;
322
393
  };
323
394
  export type UpdateJobDefinitionSecretRequest = {
324
395
  /**
325
- * Region to target. If none is passed will use default region from the
326
- * config.
396
+ * Region to target. If none is passed will use default region from the config.
327
397
  */
328
398
  region?: ScwRegion;
329
- /** UUID of the job definition. */
399
+ /**
400
+ * UUID of the job definition.
401
+ */
330
402
  jobDefinitionId: string;
331
- /** UUID of the secret reference within the job. */
403
+ /**
404
+ * UUID of the secret reference within the job.
405
+ */
332
406
  secretId: string;
333
- /** Version of the secret in Secret Manager. */
407
+ /**
408
+ * Version of the secret in Secret Manager.
409
+ */
334
410
  secretManagerVersion?: string;
335
411
  /**
336
- * Path of the secret to mount inside the job (either `path` or `env_var_name`
337
- * must be set).
412
+ * Path of the secret to mount inside the job (either `path` or `env_var_name` must be set).
338
413
  *
339
414
  * One-of ('secretConfig'): at most one of 'path', 'envVarName' could be set.
340
415
  */
341
416
  path?: string;
342
417
  /**
343
- * Environment variable name used to expose the secret inside the job (either
344
- * `path` or `env_var_name` must be set).
418
+ * Environment variable name used to expose the secret inside the job (either `path` or `env_var_name` must be set).
345
419
  *
346
420
  * One-of ('secretConfig'): at most one of 'path', 'envVarName' could be set.
347
421
  */