@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
@@ -17,7 +17,9 @@ export type TokenStatus = 'unknown' | 'ready' | 'deleting' | 'error' | 'creating
17
17
  export type TriggerInputType = 'unknown_input_type' | 'sqs' | 'scw_sqs' | 'nats' | 'scw_nats';
18
18
  export type TriggerStatus = 'unknown_status' | 'ready' | 'deleting' | 'error' | 'creating' | 'pending';
19
19
  export interface ContainerHealthCheckSpecHTTPProbe {
20
- /** Path to use for the HTTP health check. */
20
+ /**
21
+ * Path to use for the HTTP health check.
22
+ */
21
23
  path: string;
22
24
  }
23
25
  export interface ContainerHealthCheckSpecTCPProbe {
@@ -36,28 +38,29 @@ export interface ContainerHealthCheckSpec {
36
38
  */
37
39
  tcp?: ContainerHealthCheckSpecTCPProbe;
38
40
  /**
39
- * During a deployment, if a newly created container fails to pass the health
40
- * check, the deployment is aborted. As a result, lowering this value can help
41
- * to reduce the time it takes to detect a failed deployment.
41
+ * During a deployment, if a newly created container fails to pass the health check, the deployment is aborted.
42
+ As a result, lowering this value can help to reduce the time it takes to detect a failed deployment.
42
43
  */
43
44
  failureThreshold: number;
44
- /** Period between health checks. */
45
+ /**
46
+ * Period between health checks.
47
+ */
45
48
  interval?: string;
46
49
  }
47
50
  export interface ContainerScalingOption {
48
51
  /**
49
- * One-of ('scalingRule'): at most one of 'concurrentRequestsThreshold',
50
- * 'cpuUsageThreshold', 'memoryUsageThreshold' could be set.
52
+ *
53
+ * One-of ('scalingRule'): at most one of 'concurrentRequestsThreshold', 'cpuUsageThreshold', 'memoryUsageThreshold' could be set.
51
54
  */
52
55
  concurrentRequestsThreshold?: number;
53
56
  /**
54
- * One-of ('scalingRule'): at most one of 'concurrentRequestsThreshold',
55
- * 'cpuUsageThreshold', 'memoryUsageThreshold' could be set.
57
+ *
58
+ * One-of ('scalingRule'): at most one of 'concurrentRequestsThreshold', 'cpuUsageThreshold', 'memoryUsageThreshold' could be set.
56
59
  */
57
60
  cpuUsageThreshold?: number;
58
61
  /**
59
- * One-of ('scalingRule'): at most one of 'concurrentRequestsThreshold',
60
- * 'cpuUsageThreshold', 'memoryUsageThreshold' could be set.
62
+ *
63
+ * One-of ('scalingRule'): at most one of 'concurrentRequestsThreshold', 'cpuUsageThreshold', 'memoryUsageThreshold' could be set.
61
64
  */
62
65
  memoryUsageThreshold?: number;
63
66
  }
@@ -66,30 +69,42 @@ export interface SecretHashedValue {
66
69
  hashedValue: string;
67
70
  }
68
71
  export interface TriggerMnqNatsClientConfig {
69
- /** Name of the NATS subject the trigger listens to. */
72
+ /**
73
+ * Name of the NATS subject the trigger listens to.
74
+ */
70
75
  subject: string;
71
- /** ID of the Messaging and Queuing NATS account. */
76
+ /**
77
+ * ID of the Messaging and Queuing NATS account.
78
+ */
72
79
  mnqNatsAccountId: string;
73
- /** ID of the Messaging and Queuing project. */
80
+ /**
81
+ * ID of the Messaging and Queuing project.
82
+ */
74
83
  mnqProjectId: string;
75
- /** Currently, only the `fr-par` and `nl-ams` regions are available. */
84
+ /**
85
+ * Currently, only the `fr-par` and `nl-ams` regions are available.
86
+ */
76
87
  mnqRegion: string;
77
88
  /**
78
- * ID of the Messaging and Queuing credentials used to subscribe to the NATS
79
- * subject.
89
+ * ID of the Messaging and Queuing credentials used to subscribe to the NATS subject.
80
90
  */
81
91
  mnqCredentialId?: string;
82
92
  }
83
93
  export interface TriggerMnqSqsClientConfig {
84
- /** Name of the SQS queue the trigger listens to. */
94
+ /**
95
+ * Name of the SQS queue the trigger listens to.
96
+ */
85
97
  queue: string;
86
- /** ID of the Messaging and Queuing project. */
98
+ /**
99
+ * ID of the Messaging and Queuing project.
100
+ */
87
101
  mnqProjectId: string;
88
- /** Currently, only the `fr-par` and `nl-ams` regions are available. */
102
+ /**
103
+ * Currently, only the `fr-par` and `nl-ams` regions are available.
104
+ */
89
105
  mnqRegion: string;
90
106
  /**
91
- * ID of the Messaging and Queuing credentials used to read from the SQS
92
- * queue.
107
+ * ID of the Messaging and Queuing credentials used to read from the SQS queue.
93
108
  */
94
109
  mnqCredentialId?: string;
95
110
  }
@@ -104,21 +119,35 @@ export interface Secret {
104
119
  value?: string;
105
120
  }
106
121
  export interface CreateTriggerRequestMnqNatsClientConfig {
107
- /** Name of the NATS subject the trigger should listen to. */
122
+ /**
123
+ * Name of the NATS subject the trigger should listen to.
124
+ */
108
125
  subject: string;
109
- /** ID of the Messaging and Queuing NATS account. */
126
+ /**
127
+ * ID of the Messaging and Queuing NATS account.
128
+ */
110
129
  mnqNatsAccountId: string;
111
- /** ID of the Messaging and Queuing project. */
130
+ /**
131
+ * ID of the Messaging and Queuing project.
132
+ */
112
133
  mnqProjectId: string;
113
- /** Currently, only the `fr-par` and `nl-ams` regions are available. */
134
+ /**
135
+ * Currently, only the `fr-par` and `nl-ams` regions are available.
136
+ */
114
137
  mnqRegion: string;
115
138
  }
116
139
  export interface CreateTriggerRequestMnqSqsClientConfig {
117
- /** Name of the SQS queue the trigger should listen to. */
140
+ /**
141
+ * Name of the SQS queue the trigger should listen to.
142
+ */
118
143
  queue: string;
119
- /** You must have activated SQS on this project. */
144
+ /**
145
+ * You must have activated SQS on this project.
146
+ */
120
147
  mnqProjectId: string;
121
- /** Currently, only the `fr-par` and `nl-ams` regions are available. */
148
+ /**
149
+ * Currently, only the `fr-par` and `nl-ams` regions are available.
150
+ */
122
151
  mnqRegion: string;
123
152
  }
124
153
  export interface CreateTriggerRequestSqsClientConfig {
@@ -128,145 +157,246 @@ export interface CreateTriggerRequestSqsClientConfig {
128
157
  secretKey: string;
129
158
  }
130
159
  export interface Container {
131
- /** UUID of the container. */
160
+ /**
161
+ * UUID of the container.
162
+ */
132
163
  id: string;
133
- /** Name of the container. */
164
+ /**
165
+ * Name of the container.
166
+ */
134
167
  name: string;
135
- /** UUID of the namespace the container belongs to. */
168
+ /**
169
+ * UUID of the namespace the container belongs to.
170
+ */
136
171
  namespaceId: string;
137
- /** Status of the container. */
172
+ /**
173
+ * Status of the container.
174
+ */
138
175
  status: ContainerStatus;
139
- /** Environment variables of the container. */
176
+ /**
177
+ * Environment variables of the container.
178
+ */
140
179
  environmentVariables: Record<string, string>;
141
- /** Minimum number of instances to scale the container to. */
180
+ /**
181
+ * Minimum number of instances to scale the container to.
182
+ */
142
183
  minScale: number;
143
- /** Maximum number of instances to scale the container to. */
184
+ /**
185
+ * Maximum number of instances to scale the container to.
186
+ */
144
187
  maxScale: number;
145
- /** Memory limit of the container in MB. */
188
+ /**
189
+ * Memory limit of the container in MB.
190
+ */
146
191
  memoryLimit: number;
147
- /** CPU limit of the container in mvCPU. */
192
+ /**
193
+ * CPU limit of the container in mvCPU.
194
+ */
148
195
  cpuLimit: number;
149
- /** Processing time limit for the container. */
196
+ /**
197
+ * Processing time limit for the container.
198
+ */
150
199
  timeout?: string;
151
- /** Last error message of the container. */
200
+ /**
201
+ * Last error message of the container.
202
+ */
152
203
  errorMessage?: string;
153
- /** Privacy setting of the container. */
204
+ /**
205
+ * Privacy setting of the container.
206
+ */
154
207
  privacy: ContainerPrivacy;
155
- /** Description of the container. */
208
+ /**
209
+ * Description of the container.
210
+ */
156
211
  description?: string;
157
212
  /**
158
- * Name of the registry image (e.g.
159
- * "rg.fr-par.scw.cloud/something/image:tag").
213
+ * Name of the registry image (e.g. "rg.fr-par.scw.cloud/something/image:tag").
160
214
  */
161
215
  registryImage: string;
162
- /** Number of maximum concurrent executions of the container. */
216
+ /**
217
+ * Number of maximum concurrent executions of the container.
218
+ */
163
219
  maxConcurrency: number;
164
- /** Domain name attributed to the contaioner. */
220
+ /**
221
+ * Domain name attributed to the contaioner.
222
+ */
165
223
  domainName: string;
166
- /** Protocol the container uses. */
224
+ /**
225
+ * Protocol the container uses.
226
+ */
167
227
  protocol: ContainerProtocol;
168
- /** Port the container listens on. */
228
+ /**
229
+ * Port the container listens on.
230
+ */
169
231
  port: number;
170
- /** Secret environment variables of the container. */
232
+ /**
233
+ * Secret environment variables of the container.
234
+ */
171
235
  secretEnvironmentVariables: SecretHashedValue[];
172
236
  /**
173
237
  * Possible values:
174
- *
175
- * - Redirected: Responds to HTTP request with a 301 redirect to ask the clients
176
- * to use HTTPS.
177
- * - Enabled: Serve both HTTP and HTTPS traffic.
238
+ - redirected: Responds to HTTP request with a 301 redirect to ask the clients to use HTTPS.
239
+ - enabled: Serve both HTTP and HTTPS traffic.
178
240
  */
179
241
  httpOption: ContainerHttpOption;
180
- /** Execution environment of the container. */
242
+ /**
243
+ * Execution environment of the container.
244
+ */
181
245
  sandbox: ContainerSandbox;
182
- /** Local storage limit of the container (in MB). */
246
+ /**
247
+ * Local storage limit of the container (in MB).
248
+ */
183
249
  localStorageLimit: number;
184
250
  /**
185
251
  * Possible values:
186
- *
187
- * - Concurrent_requests_threshold: Scale depending on the number of concurrent
188
- * requests being processed per container instance.
189
- * - Cpu_usage_threshold: Scale depending on the CPU usage of a container
190
- * instance.
191
- * - Memory_usage_threshold: Scale depending on the memory usage of a container
192
- * instance.
252
+ - concurrent_requests_threshold: Scale depending on the number of concurrent requests being processed per container instance.
253
+ - cpu_usage_threshold: Scale depending on the CPU usage of a container instance.
254
+ - memory_usage_threshold: Scale depending on the memory usage of a container instance.
193
255
  */
194
256
  scalingOption?: ContainerScalingOption;
195
- /** Health check configuration of the container. */
257
+ /**
258
+ * Health check configuration of the container.
259
+ */
196
260
  healthCheck?: ContainerHealthCheckSpec;
197
- /** Creation date of the container. */
261
+ /**
262
+ * Creation date of the container.
263
+ */
198
264
  createdAt?: Date;
199
- /** Last update date of the container. */
265
+ /**
266
+ * Last update date of the container.
267
+ */
200
268
  updatedAt?: Date;
201
- /** Last date when the container was successfully deployed and set to ready. */
269
+ /**
270
+ * Last date when the container was successfully deployed and set to ready.
271
+ */
202
272
  readyAt?: Date;
203
- /** Region in which the container will be deployed. */
273
+ /**
274
+ * Region in which the container will be deployed.
275
+ */
204
276
  region: ScwRegion;
205
277
  }
206
278
  export interface Cron {
207
- /** UUID of the cron. */
279
+ /**
280
+ * UUID of the cron.
281
+ */
208
282
  id: string;
209
- /** UUID of the container invoked by this cron. */
283
+ /**
284
+ * UUID of the container invoked by this cron.
285
+ */
210
286
  containerId: string;
211
- /** UNIX cron shedule. */
287
+ /**
288
+ * UNIX cron shedule.
289
+ */
212
290
  schedule: string;
213
- /** Arguments to pass with the cron. */
291
+ /**
292
+ * Arguments to pass with the cron.
293
+ */
214
294
  args?: Record<string, unknown>;
215
- /** Status of the cron. */
295
+ /**
296
+ * Status of the cron.
297
+ */
216
298
  status: CronStatus;
217
- /** Name of the cron. */
299
+ /**
300
+ * Name of the cron.
301
+ */
218
302
  name: string;
219
303
  }
220
304
  export interface Domain {
221
- /** UUID of the domain. */
305
+ /**
306
+ * UUID of the domain.
307
+ */
222
308
  id: string;
223
- /** Domain assigned to the container. */
309
+ /**
310
+ * Domain assigned to the container.
311
+ */
224
312
  hostname: string;
225
- /** UUID of the container. */
313
+ /**
314
+ * UUID of the container.
315
+ */
226
316
  containerId: string;
227
- /** URL (TBD). */
317
+ /**
318
+ * URL (TBD).
319
+ */
228
320
  url: string;
229
- /** Status of the domain. */
321
+ /**
322
+ * Status of the domain.
323
+ */
230
324
  status: DomainStatus;
231
- /** Last error message of the domain. */
325
+ /**
326
+ * Last error message of the domain.
327
+ */
232
328
  errorMessage?: string;
233
329
  }
234
330
  export interface Namespace {
235
- /** UUID of the namespace. */
331
+ /**
332
+ * UUID of the namespace.
333
+ */
236
334
  id: string;
237
- /** Name of the namespace. */
335
+ /**
336
+ * Name of the namespace.
337
+ */
238
338
  name: string;
239
- /** Environment variables of the namespace. */
339
+ /**
340
+ * Environment variables of the namespace.
341
+ */
240
342
  environmentVariables: Record<string, string>;
241
- /** UUID of the Organization the namespace belongs to. */
343
+ /**
344
+ * UUID of the Organization the namespace belongs to.
345
+ */
242
346
  organizationId: string;
243
- /** UUID of the Project the namespace belongs to. */
347
+ /**
348
+ * UUID of the Project the namespace belongs to.
349
+ */
244
350
  projectId: string;
245
- /** Status of the namespace. */
351
+ /**
352
+ * Status of the namespace.
353
+ */
246
354
  status: NamespaceStatus;
247
- /** UUID of the registry namespace. */
355
+ /**
356
+ * UUID of the registry namespace.
357
+ */
248
358
  registryNamespaceId: string;
249
- /** Last error message of the namesace. */
359
+ /**
360
+ * Last error message of the namesace.
361
+ */
250
362
  errorMessage?: string;
251
- /** Registry endpoint of the namespace. */
363
+ /**
364
+ * Registry endpoint of the namespace.
365
+ */
252
366
  registryEndpoint: string;
253
- /** Description of the endpoint. */
367
+ /**
368
+ * Description of the endpoint.
369
+ */
254
370
  description?: string;
255
- /** Secret environment variables of the namespace. */
371
+ /**
372
+ * Secret environment variables of the namespace.
373
+ */
256
374
  secretEnvironmentVariables: SecretHashedValue[];
257
- /** Region in which the namespace will be created. */
375
+ /**
376
+ * Region in which the namespace will be created.
377
+ */
258
378
  region: ScwRegion;
259
- /** [ALPHA] List of tags applied to the Serverless Container Namespace. */
379
+ /**
380
+ * [ALPHA] List of tags applied to the Serverless Container Namespace.
381
+ */
260
382
  tags: string[];
261
- /** Creation date of the namespace. */
383
+ /**
384
+ * Creation date of the namespace.
385
+ */
262
386
  createdAt?: Date;
263
- /** Last update date of the namespace. */
387
+ /**
388
+ * Last update date of the namespace.
389
+ */
264
390
  updatedAt?: Date;
265
391
  }
266
392
  export interface Token {
267
- /** UUID of the token. */
393
+ /**
394
+ * UUID of the token.
395
+ */
268
396
  id: string;
269
- /** Identifier of the token. */
397
+ /**
398
+ * Identifier of the token.
399
+ */
270
400
  token: string;
271
401
  /**
272
402
  * UUID of the container the token belongs to.
@@ -280,49 +410,68 @@ export interface Token {
280
410
  * One-of ('scope'): at most one of 'containerId', 'namespaceId' could be set.
281
411
  */
282
412
  namespaceId?: string;
283
- /** @deprecated Public key of the token. */
413
+ /**
414
+ * @deprecated Public key of the token.
415
+ */
284
416
  publicKey?: string;
285
- /** Status of the token. */
417
+ /**
418
+ * Status of the token.
419
+ */
286
420
  status: TokenStatus;
287
- /** Description of the token. */
421
+ /**
422
+ * Description of the token.
423
+ */
288
424
  description?: string;
289
- /** Expiry date of the token. */
425
+ /**
426
+ * Expiry date of the token.
427
+ */
290
428
  expiresAt?: Date;
291
429
  }
292
430
  export interface Trigger {
293
- /** ID of the trigger. */
431
+ /**
432
+ * ID of the trigger.
433
+ */
294
434
  id: string;
295
- /** Name of the trigger. */
435
+ /**
436
+ * Name of the trigger.
437
+ */
296
438
  name: string;
297
- /** Description of the trigger. */
439
+ /**
440
+ * Description of the trigger.
441
+ */
298
442
  description: string;
299
- /** ID of the container to trigger. */
443
+ /**
444
+ * ID of the container to trigger.
445
+ */
300
446
  containerId: string;
301
- /** Type of the input. */
447
+ /**
448
+ * Type of the input.
449
+ */
302
450
  inputType: TriggerInputType;
303
- /** Status of the trigger. */
451
+ /**
452
+ * Status of the trigger.
453
+ */
304
454
  status: TriggerStatus;
305
- /** Error message of the trigger. */
455
+ /**
456
+ * Error message of the trigger.
457
+ */
306
458
  errorMessage?: string;
307
459
  /**
308
460
  * Configuration for a Scaleway Messaging and Queuing SQS queue.
309
461
  *
310
- * One-of ('config'): at most one of 'scwSqsConfig', 'scwNatsConfig',
311
- * 'sqsConfig' could be set.
462
+ * One-of ('config'): at most one of 'scwSqsConfig', 'scwNatsConfig', 'sqsConfig' could be set.
312
463
  */
313
464
  scwSqsConfig?: TriggerMnqSqsClientConfig;
314
465
  /**
315
466
  * Configuration for a Scaleway Messaging and Queuing NATS subject.
316
467
  *
317
- * One-of ('config'): at most one of 'scwSqsConfig', 'scwNatsConfig',
318
- * 'sqsConfig' could be set.
468
+ * One-of ('config'): at most one of 'scwSqsConfig', 'scwNatsConfig', 'sqsConfig' could be set.
319
469
  */
320
470
  scwNatsConfig?: TriggerMnqNatsClientConfig;
321
471
  /**
322
472
  * Configuration for an AWS SQS queue.
323
473
  *
324
- * One-of ('config'): at most one of 'scwSqsConfig', 'scwNatsConfig',
325
- * 'sqsConfig' could be set.
474
+ * One-of ('config'): at most one of 'scwSqsConfig', 'scwNatsConfig', 'sqsConfig' could be set.
326
475
  */
327
476
  sqsConfig?: TriggerSqsClientConfig;
328
477
  }
@@ -332,118 +481,164 @@ export interface UpdateTriggerRequestSqsClientConfig {
332
481
  }
333
482
  export type CreateContainerRequest = {
334
483
  /**
335
- * Region to target. If none is passed will use default region from the
336
- * config.
484
+ * Region to target. If none is passed will use default region from the config.
337
485
  */
338
486
  region?: ScwRegion;
339
- /** UUID of the namespace the container belongs to. */
487
+ /**
488
+ * UUID of the namespace the container belongs to.
489
+ */
340
490
  namespaceId: string;
341
- /** Name of the container. */
491
+ /**
492
+ * Name of the container.
493
+ */
342
494
  name: string;
343
- /** Environment variables of the container. */
495
+ /**
496
+ * Environment variables of the container.
497
+ */
344
498
  environmentVariables?: Record<string, string>;
345
- /** Minimum number of instances to scale the container to. */
499
+ /**
500
+ * Minimum number of instances to scale the container to.
501
+ */
346
502
  minScale?: number;
347
- /** Maximum number of instances to scale the container to. */
503
+ /**
504
+ * Maximum number of instances to scale the container to.
505
+ */
348
506
  maxScale?: number;
349
- /** Memory limit of the container in MB. */
507
+ /**
508
+ * Memory limit of the container in MB.
509
+ */
350
510
  memoryLimit?: number;
351
- /** CPU limit of the container in mvCPU. */
511
+ /**
512
+ * CPU limit of the container in mvCPU.
513
+ */
352
514
  cpuLimit?: number;
353
- /** Processing time limit for the container. */
515
+ /**
516
+ * Processing time limit for the container.
517
+ */
354
518
  timeout?: string;
355
- /** Privacy setting of the container. */
519
+ /**
520
+ * Privacy setting of the container.
521
+ */
356
522
  privacy?: ContainerPrivacy;
357
- /** Description of the container. */
523
+ /**
524
+ * Description of the container.
525
+ */
358
526
  description?: string;
359
527
  /**
360
- * Name of the registry image (e.g.
361
- * "rg.fr-par.scw.cloud/something/image:tag").
528
+ * Name of the registry image (e.g. "rg.fr-par.scw.cloud/something/image:tag").
362
529
  */
363
530
  registryImage?: string;
364
- /** @deprecated Number of maximum concurrent executions of the container. */
531
+ /**
532
+ * @deprecated Number of maximum concurrent executions of the container.
533
+ */
365
534
  maxConcurrency?: number;
366
- /** Protocol the container uses. */
535
+ /**
536
+ * Protocol the container uses.
537
+ */
367
538
  protocol?: ContainerProtocol;
368
- /** Port the container listens on. */
539
+ /**
540
+ * Port the container listens on.
541
+ */
369
542
  port?: number;
370
- /** Secret environment variables of the container. */
543
+ /**
544
+ * Secret environment variables of the container.
545
+ */
371
546
  secretEnvironmentVariables?: Secret[];
372
547
  /**
373
548
  * Possible values:
374
- *
375
- * - Redirected: Responds to HTTP request with a 301 redirect to ask the clients
376
- * to use HTTPS.
377
- * - Enabled: Serve both HTTP and HTTPS traffic.
549
+ - redirected: Responds to HTTP request with a 301 redirect to ask the clients to use HTTPS.
550
+ - enabled: Serve both HTTP and HTTPS traffic.
378
551
  */
379
552
  httpOption?: ContainerHttpOption;
380
- /** Execution environment of the container. */
553
+ /**
554
+ * Execution environment of the container.
555
+ */
381
556
  sandbox?: ContainerSandbox;
382
- /** Local storage limit of the container (in MB). */
557
+ /**
558
+ * Local storage limit of the container (in MB).
559
+ */
383
560
  localStorageLimit?: number;
384
561
  /**
385
562
  * Possible values:
386
- *
387
- * - Concurrent_requests_threshold: Scale depending on the number of concurrent
388
- * requests being processed per container instance.
389
- * - Cpu_usage_threshold: Scale depending on the CPU usage of a container
390
- * instance.
391
- * - Memory_usage_threshold: Scale depending on the memory usage of a container
392
- * instance.
563
+ - concurrent_requests_threshold: Scale depending on the number of concurrent requests being processed per container instance.
564
+ - cpu_usage_threshold: Scale depending on the CPU usage of a container instance.
565
+ - memory_usage_threshold: Scale depending on the memory usage of a container instance.
393
566
  */
394
567
  scalingOption?: ContainerScalingOption;
395
- /** Health check configuration of the container. */
568
+ /**
569
+ * Health check configuration of the container.
570
+ */
396
571
  healthCheck?: ContainerHealthCheckSpec;
397
572
  };
398
573
  export type CreateCronRequest = {
399
574
  /**
400
- * Region to target. If none is passed will use default region from the
401
- * config.
575
+ * Region to target. If none is passed will use default region from the config.
402
576
  */
403
577
  region?: ScwRegion;
404
- /** UUID of the container to invoke by the cron. */
578
+ /**
579
+ * UUID of the container to invoke by the cron.
580
+ */
405
581
  containerId: string;
406
- /** UNIX cron shedule. */
582
+ /**
583
+ * UNIX cron shedule.
584
+ */
407
585
  schedule: string;
408
- /** Arguments to pass with the cron. */
586
+ /**
587
+ * Arguments to pass with the cron.
588
+ */
409
589
  args?: Record<string, unknown>;
410
- /** Name of the cron to create. */
590
+ /**
591
+ * Name of the cron to create.
592
+ */
411
593
  name?: string;
412
594
  };
413
595
  export type CreateDomainRequest = {
414
596
  /**
415
- * Region to target. If none is passed will use default region from the
416
- * config.
597
+ * Region to target. If none is passed will use default region from the config.
417
598
  */
418
599
  region?: ScwRegion;
419
- /** Domain to assign. */
600
+ /**
601
+ * Domain to assign.
602
+ */
420
603
  hostname: string;
421
- /** UUID of the container to assign the domain to. */
604
+ /**
605
+ * UUID of the container to assign the domain to.
606
+ */
422
607
  containerId: string;
423
608
  };
424
609
  export type CreateNamespaceRequest = {
425
610
  /**
426
- * Region to target. If none is passed will use default region from the
427
- * config.
611
+ * Region to target. If none is passed will use default region from the config.
428
612
  */
429
613
  region?: ScwRegion;
430
- /** Name of the namespace to create. */
614
+ /**
615
+ * Name of the namespace to create.
616
+ */
431
617
  name?: string;
432
- /** Environment variables of the namespace to create. */
618
+ /**
619
+ * Environment variables of the namespace to create.
620
+ */
433
621
  environmentVariables?: Record<string, string>;
434
- /** UUID of the Project in which the namespace will be created. */
622
+ /**
623
+ * UUID of the Project in which the namespace will be created.
624
+ */
435
625
  projectId?: string;
436
- /** Description of the namespace to create. */
626
+ /**
627
+ * Description of the namespace to create.
628
+ */
437
629
  description?: string;
438
- /** Secret environment variables of the namespace to create. */
630
+ /**
631
+ * Secret environment variables of the namespace to create.
632
+ */
439
633
  secretEnvironmentVariables?: Secret[];
440
- /** [ALPHA] Tags of the Serverless Container Namespace. */
634
+ /**
635
+ * [ALPHA] Tags of the Serverless Container Namespace.
636
+ */
441
637
  tags?: string[];
442
638
  };
443
639
  export type CreateTokenRequest = {
444
640
  /**
445
- * Region to target. If none is passed will use default region from the
446
- * config.
641
+ * Region to target. If none is passed will use default region from the config.
447
642
  */
448
643
  region?: ScwRegion;
449
644
  /**
@@ -458,271 +653,353 @@ export type CreateTokenRequest = {
458
653
  * One-of ('scope'): at most one of 'containerId', 'namespaceId' could be set.
459
654
  */
460
655
  namespaceId?: string;
461
- /** Description of the token. */
656
+ /**
657
+ * Description of the token.
658
+ */
462
659
  description?: string;
463
- /** Expiry date of the token. */
660
+ /**
661
+ * Expiry date of the token.
662
+ */
464
663
  expiresAt?: Date;
465
664
  };
466
665
  export type CreateTriggerRequest = {
467
666
  /**
468
- * Region to target. If none is passed will use default region from the
469
- * config.
667
+ * Region to target. If none is passed will use default region from the config.
470
668
  */
471
669
  region?: ScwRegion;
472
- /** Name of the trigger. */
670
+ /**
671
+ * Name of the trigger.
672
+ */
473
673
  name: string;
474
- /** ID of the container to trigger. */
674
+ /**
675
+ * ID of the container to trigger.
676
+ */
475
677
  containerId: string;
476
- /** Description of the trigger. */
678
+ /**
679
+ * Description of the trigger.
680
+ */
477
681
  description?: string;
478
682
  /**
479
683
  * Configuration for a Scaleway Messaging and Queuing SQS queue.
480
684
  *
481
- * One-of ('config'): at most one of 'scwSqsConfig', 'scwNatsConfig',
482
- * 'sqsConfig' could be set.
685
+ * One-of ('config'): at most one of 'scwSqsConfig', 'scwNatsConfig', 'sqsConfig' could be set.
483
686
  */
484
687
  scwSqsConfig?: CreateTriggerRequestMnqSqsClientConfig;
485
688
  /**
486
689
  * Configuration for a Scaleway Messaging and Queuing NATS subject.
487
690
  *
488
- * One-of ('config'): at most one of 'scwSqsConfig', 'scwNatsConfig',
489
- * 'sqsConfig' could be set.
691
+ * One-of ('config'): at most one of 'scwSqsConfig', 'scwNatsConfig', 'sqsConfig' could be set.
490
692
  */
491
693
  scwNatsConfig?: CreateTriggerRequestMnqNatsClientConfig;
492
694
  /**
493
695
  * Configuration for an AWS SQS queue.
494
696
  *
495
- * One-of ('config'): at most one of 'scwSqsConfig', 'scwNatsConfig',
496
- * 'sqsConfig' could be set.
697
+ * One-of ('config'): at most one of 'scwSqsConfig', 'scwNatsConfig', 'sqsConfig' could be set.
497
698
  */
498
699
  sqsConfig?: CreateTriggerRequestSqsClientConfig;
499
700
  };
500
701
  export type DeleteContainerRequest = {
501
702
  /**
502
- * Region to target. If none is passed will use default region from the
503
- * config.
703
+ * Region to target. If none is passed will use default region from the config.
504
704
  */
505
705
  region?: ScwRegion;
506
- /** UUID of the container to delete. */
706
+ /**
707
+ * UUID of the container to delete.
708
+ */
507
709
  containerId: string;
508
710
  };
509
711
  export type DeleteCronRequest = {
510
712
  /**
511
- * Region to target. If none is passed will use default region from the
512
- * config.
713
+ * Region to target. If none is passed will use default region from the config.
513
714
  */
514
715
  region?: ScwRegion;
515
- /** UUID of the cron to delete. */
716
+ /**
717
+ * UUID of the cron to delete.
718
+ */
516
719
  cronId: string;
517
720
  };
518
721
  export type DeleteDomainRequest = {
519
722
  /**
520
- * Region to target. If none is passed will use default region from the
521
- * config.
723
+ * Region to target. If none is passed will use default region from the config.
522
724
  */
523
725
  region?: ScwRegion;
524
- /** UUID of the domain to delete. */
726
+ /**
727
+ * UUID of the domain to delete.
728
+ */
525
729
  domainId: string;
526
730
  };
527
731
  export type DeleteNamespaceRequest = {
528
732
  /**
529
- * Region to target. If none is passed will use default region from the
530
- * config.
733
+ * Region to target. If none is passed will use default region from the config.
531
734
  */
532
735
  region?: ScwRegion;
533
- /** UUID of the namespace to delete. */
736
+ /**
737
+ * UUID of the namespace to delete.
738
+ */
534
739
  namespaceId: string;
535
740
  };
536
741
  export type DeleteTokenRequest = {
537
742
  /**
538
- * Region to target. If none is passed will use default region from the
539
- * config.
743
+ * Region to target. If none is passed will use default region from the config.
540
744
  */
541
745
  region?: ScwRegion;
542
- /** UUID of the token to delete. */
746
+ /**
747
+ * UUID of the token to delete.
748
+ */
543
749
  tokenId: string;
544
750
  };
545
751
  export type DeleteTriggerRequest = {
546
752
  /**
547
- * Region to target. If none is passed will use default region from the
548
- * config.
753
+ * Region to target. If none is passed will use default region from the config.
549
754
  */
550
755
  region?: ScwRegion;
551
- /** ID of the trigger to delete. */
756
+ /**
757
+ * ID of the trigger to delete.
758
+ */
552
759
  triggerId: string;
553
760
  };
554
761
  export type DeployContainerRequest = {
555
762
  /**
556
- * Region to target. If none is passed will use default region from the
557
- * config.
763
+ * Region to target. If none is passed will use default region from the config.
558
764
  */
559
765
  region?: ScwRegion;
560
- /** UUID of the container to deploy. */
766
+ /**
767
+ * UUID of the container to deploy.
768
+ */
561
769
  containerId: string;
562
770
  };
563
771
  export type GetContainerRequest = {
564
772
  /**
565
- * Region to target. If none is passed will use default region from the
566
- * config.
773
+ * Region to target. If none is passed will use default region from the config.
567
774
  */
568
775
  region?: ScwRegion;
569
- /** UUID of the container to get. */
776
+ /**
777
+ * UUID of the container to get.
778
+ */
570
779
  containerId: string;
571
780
  };
572
781
  export type GetCronRequest = {
573
782
  /**
574
- * Region to target. If none is passed will use default region from the
575
- * config.
783
+ * Region to target. If none is passed will use default region from the config.
576
784
  */
577
785
  region?: ScwRegion;
578
- /** UUID of the cron to get. */
786
+ /**
787
+ * UUID of the cron to get.
788
+ */
579
789
  cronId: string;
580
790
  };
581
791
  export type GetDomainRequest = {
582
792
  /**
583
- * Region to target. If none is passed will use default region from the
584
- * config.
793
+ * Region to target. If none is passed will use default region from the config.
585
794
  */
586
795
  region?: ScwRegion;
587
- /** UUID of the domain to get. */
796
+ /**
797
+ * UUID of the domain to get.
798
+ */
588
799
  domainId: string;
589
800
  };
590
801
  export type GetNamespaceRequest = {
591
802
  /**
592
- * Region to target. If none is passed will use default region from the
593
- * config.
803
+ * Region to target. If none is passed will use default region from the config.
594
804
  */
595
805
  region?: ScwRegion;
596
- /** UUID of the namespace to get. */
806
+ /**
807
+ * UUID of the namespace to get.
808
+ */
597
809
  namespaceId: string;
598
810
  };
599
811
  export type GetTokenRequest = {
600
812
  /**
601
- * Region to target. If none is passed will use default region from the
602
- * config.
813
+ * Region to target. If none is passed will use default region from the config.
603
814
  */
604
815
  region?: ScwRegion;
605
- /** UUID of the token to get. */
816
+ /**
817
+ * UUID of the token to get.
818
+ */
606
819
  tokenId: string;
607
820
  };
608
821
  export type GetTriggerRequest = {
609
822
  /**
610
- * Region to target. If none is passed will use default region from the
611
- * config.
823
+ * Region to target. If none is passed will use default region from the config.
612
824
  */
613
825
  region?: ScwRegion;
614
- /** ID of the trigger to get. */
826
+ /**
827
+ * ID of the trigger to get.
828
+ */
615
829
  triggerId: string;
616
830
  };
617
831
  export type ListContainersRequest = {
618
832
  /**
619
- * Region to target. If none is passed will use default region from the
620
- * config.
833
+ * Region to target. If none is passed will use default region from the config.
621
834
  */
622
835
  region?: ScwRegion;
623
- /** Page number. */
836
+ /**
837
+ * Page number.
838
+ */
624
839
  page?: number;
625
- /** Number of containers per page. */
840
+ /**
841
+ * Number of containers per page.
842
+ */
626
843
  pageSize?: number;
627
- /** Order of the containers. */
844
+ /**
845
+ * Order of the containers.
846
+ */
628
847
  orderBy?: ListContainersRequestOrderBy;
629
- /** UUID of the namespace the container belongs to. */
848
+ /**
849
+ * UUID of the namespace the container belongs to.
850
+ */
630
851
  namespaceId: string;
631
- /** Name of the container. */
852
+ /**
853
+ * Name of the container.
854
+ */
632
855
  name?: string;
633
- /** UUID of the Organization the container belongs to. */
856
+ /**
857
+ * UUID of the Organization the container belongs to.
858
+ */
634
859
  organizationId?: string;
635
- /** UUID of the Project the container belongs to. */
860
+ /**
861
+ * UUID of the Project the container belongs to.
862
+ */
636
863
  projectId?: string;
637
864
  };
638
865
  export interface ListContainersResponse {
639
- /** Array of containers. */
866
+ /**
867
+ * Array of containers.
868
+ */
640
869
  containers: Container[];
641
- /** Total number of containers. */
870
+ /**
871
+ * Total number of containers.
872
+ */
642
873
  totalCount: number;
643
874
  }
644
875
  export type ListCronsRequest = {
645
876
  /**
646
- * Region to target. If none is passed will use default region from the
647
- * config.
877
+ * Region to target. If none is passed will use default region from the config.
648
878
  */
649
879
  region?: ScwRegion;
650
- /** Page number. */
880
+ /**
881
+ * Page number.
882
+ */
651
883
  page?: number;
652
- /** Number of crons per page. */
884
+ /**
885
+ * Number of crons per page.
886
+ */
653
887
  pageSize?: number;
654
- /** Order of the crons. */
888
+ /**
889
+ * Order of the crons.
890
+ */
655
891
  orderBy?: ListCronsRequestOrderBy;
656
- /** UUID of the container invoked by the cron. */
892
+ /**
893
+ * UUID of the container invoked by the cron.
894
+ */
657
895
  containerId: string;
658
896
  };
659
897
  export interface ListCronsResponse {
660
- /** Array of crons. */
898
+ /**
899
+ * Array of crons.
900
+ */
661
901
  crons: Cron[];
662
- /** Total number of crons. */
902
+ /**
903
+ * Total number of crons.
904
+ */
663
905
  totalCount: number;
664
906
  }
665
907
  export type ListDomainsRequest = {
666
908
  /**
667
- * Region to target. If none is passed will use default region from the
668
- * config.
909
+ * Region to target. If none is passed will use default region from the config.
669
910
  */
670
911
  region?: ScwRegion;
671
- /** Page number. */
912
+ /**
913
+ * Page number.
914
+ */
672
915
  page?: number;
673
- /** Number of domains per page. */
916
+ /**
917
+ * Number of domains per page.
918
+ */
674
919
  pageSize?: number;
675
- /** Order of the domains. */
920
+ /**
921
+ * Order of the domains.
922
+ */
676
923
  orderBy?: ListDomainsRequestOrderBy;
677
- /** UUID of the container the domain belongs to. */
924
+ /**
925
+ * UUID of the container the domain belongs to.
926
+ */
678
927
  containerId: string;
679
928
  };
680
929
  export interface ListDomainsResponse {
681
- /** Array of domains. */
930
+ /**
931
+ * Array of domains.
932
+ */
682
933
  domains: Domain[];
683
- /** Total number of domains. */
934
+ /**
935
+ * Total number of domains.
936
+ */
684
937
  totalCount: number;
685
938
  }
686
939
  export type ListNamespacesRequest = {
687
940
  /**
688
- * Region to target. If none is passed will use default region from the
689
- * config.
941
+ * Region to target. If none is passed will use default region from the config.
690
942
  */
691
943
  region?: ScwRegion;
692
- /** Page number. */
944
+ /**
945
+ * Page number.
946
+ */
693
947
  page?: number;
694
- /** Number of namespaces per page. */
948
+ /**
949
+ * Number of namespaces per page.
950
+ */
695
951
  pageSize?: number;
696
- /** Order of the namespaces. */
952
+ /**
953
+ * Order of the namespaces.
954
+ */
697
955
  orderBy?: ListNamespacesRequestOrderBy;
698
- /** Name of the namespaces. */
956
+ /**
957
+ * Name of the namespaces.
958
+ */
699
959
  name?: string;
700
- /** UUID of the Organization the namespace belongs to. */
960
+ /**
961
+ * UUID of the Organization the namespace belongs to.
962
+ */
701
963
  organizationId?: string;
702
- /** UUID of the Project the namespace belongs to. */
964
+ /**
965
+ * UUID of the Project the namespace belongs to.
966
+ */
703
967
  projectId?: string;
704
968
  };
705
969
  export interface ListNamespacesResponse {
706
- /** Array of the namespaces. */
970
+ /**
971
+ * Array of the namespaces.
972
+ */
707
973
  namespaces: Namespace[];
708
- /** Total number of namespaces. */
974
+ /**
975
+ * Total number of namespaces.
976
+ */
709
977
  totalCount: number;
710
978
  }
711
979
  export type ListTokensRequest = {
712
980
  /**
713
- * Region to target. If none is passed will use default region from the
714
- * config.
981
+ * Region to target. If none is passed will use default region from the config.
715
982
  */
716
983
  region?: ScwRegion;
717
- /** Page number. */
984
+ /**
985
+ * Page number.
986
+ */
718
987
  page?: number;
719
- /** Number of tokens per page. */
988
+ /**
989
+ * Number of tokens per page.
990
+ */
720
991
  pageSize?: number;
721
- /** Order of the tokens. */
992
+ /**
993
+ * Order of the tokens.
994
+ */
722
995
  orderBy?: ListTokensRequestOrderBy;
723
- /** UUID of the container the token belongs to. */
996
+ /**
997
+ * UUID of the container the token belongs to.
998
+ */
724
999
  containerId?: string;
725
- /** UUID of the namespace the token belongs to. */
1000
+ /**
1001
+ * UUID of the namespace the token belongs to.
1002
+ */
726
1003
  namespaceId?: string;
727
1004
  };
728
1005
  export interface ListTokensResponse {
@@ -731,151 +1008,200 @@ export interface ListTokensResponse {
731
1008
  }
732
1009
  export type ListTriggersRequest = {
733
1010
  /**
734
- * Region to target. If none is passed will use default region from the
735
- * config.
1011
+ * Region to target. If none is passed will use default region from the config.
736
1012
  */
737
1013
  region?: ScwRegion;
738
- /** Page number to return. */
1014
+ /**
1015
+ * Page number to return.
1016
+ */
739
1017
  page?: number;
740
- /** Maximum number of triggers to return per page. */
1018
+ /**
1019
+ * Maximum number of triggers to return per page.
1020
+ */
741
1021
  pageSize?: number;
742
- /** Order in which to return results. */
1022
+ /**
1023
+ * Order in which to return results.
1024
+ */
743
1025
  orderBy?: ListTriggersRequestOrderBy;
744
1026
  /**
745
1027
  * ID of the container the triggers belongs to.
746
1028
  *
747
- * One-of ('scope'): at most one of 'containerId', 'namespaceId', 'projectId'
748
- * could be set.
1029
+ * One-of ('scope'): at most one of 'containerId', 'namespaceId', 'projectId' could be set.
749
1030
  */
750
1031
  containerId?: string;
751
1032
  /**
752
1033
  * ID of the namespace the triggers belongs to.
753
1034
  *
754
- * One-of ('scope'): at most one of 'containerId', 'namespaceId', 'projectId'
755
- * could be set.
1035
+ * One-of ('scope'): at most one of 'containerId', 'namespaceId', 'projectId' could be set.
756
1036
  */
757
1037
  namespaceId?: string;
758
1038
  /**
759
1039
  * ID of the project the triggers belongs to.
760
1040
  *
761
- * One-of ('scope'): at most one of 'containerId', 'namespaceId', 'projectId'
762
- * could be set.
1041
+ * One-of ('scope'): at most one of 'containerId', 'namespaceId', 'projectId' could be set.
763
1042
  */
764
1043
  projectId?: string;
765
1044
  };
766
1045
  export interface ListTriggersResponse {
767
- /** Total count of existing triggers (matching any filters specified). */
1046
+ /**
1047
+ * Total count of existing triggers (matching any filters specified).
1048
+ */
768
1049
  totalCount: number;
769
- /** Triggers on this page. */
1050
+ /**
1051
+ * Triggers on this page.
1052
+ */
770
1053
  triggers: Trigger[];
771
1054
  }
772
1055
  export type UpdateContainerRequest = {
773
1056
  /**
774
- * Region to target. If none is passed will use default region from the
775
- * config.
1057
+ * Region to target. If none is passed will use default region from the config.
776
1058
  */
777
1059
  region?: ScwRegion;
778
- /** UUID of the container to update. */
1060
+ /**
1061
+ * UUID of the container to update.
1062
+ */
779
1063
  containerId: string;
780
- /** Environment variables of the container. */
1064
+ /**
1065
+ * Environment variables of the container.
1066
+ */
781
1067
  environmentVariables?: Record<string, string>;
782
- /** Minimum number of instances to scale the container to. */
1068
+ /**
1069
+ * Minimum number of instances to scale the container to.
1070
+ */
783
1071
  minScale?: number;
784
- /** Maximum number of instances to scale the container to. */
1072
+ /**
1073
+ * Maximum number of instances to scale the container to.
1074
+ */
785
1075
  maxScale?: number;
786
- /** Memory limit of the container in MB. */
1076
+ /**
1077
+ * Memory limit of the container in MB.
1078
+ */
787
1079
  memoryLimit?: number;
788
- /** CPU limit of the container in mvCPU. */
1080
+ /**
1081
+ * CPU limit of the container in mvCPU.
1082
+ */
789
1083
  cpuLimit?: number;
790
- /** Processing time limit for the container. */
1084
+ /**
1085
+ * Processing time limit for the container.
1086
+ */
791
1087
  timeout?: string;
792
- /** Defines whether to redeploy failed containers. */
1088
+ /**
1089
+ * Defines whether to redeploy failed containers.
1090
+ */
793
1091
  redeploy?: boolean;
794
- /** Privacy settings of the container. */
1092
+ /**
1093
+ * Privacy settings of the container.
1094
+ */
795
1095
  privacy?: ContainerPrivacy;
796
- /** Description of the container. */
1096
+ /**
1097
+ * Description of the container.
1098
+ */
797
1099
  description?: string;
798
1100
  /**
799
- * Name of the registry image (e.g.
800
- * "rg.fr-par.scw.cloud/something/image:tag").
1101
+ * Name of the registry image (e.g. "rg.fr-par.scw.cloud/something/image:tag").
801
1102
  */
802
1103
  registryImage?: string;
803
- /** @deprecated Number of maximum concurrent executions of the container. */
1104
+ /**
1105
+ * @deprecated Number of maximum concurrent executions of the container.
1106
+ */
804
1107
  maxConcurrency?: number;
805
1108
  protocol?: ContainerProtocol;
806
1109
  port?: number;
807
1110
  secretEnvironmentVariables?: Secret[];
808
1111
  /**
809
1112
  * Possible values:
810
- *
811
- * - Redirected: Responds to HTTP request with a 301 redirect to ask the clients
812
- * to use HTTPS.
813
- * - Enabled: Serve both HTTP and HTTPS traffic.
1113
+ - redirected: Responds to HTTP request with a 301 redirect to ask the clients to use HTTPS.
1114
+ - enabled: Serve both HTTP and HTTPS traffic.
814
1115
  */
815
1116
  httpOption?: ContainerHttpOption;
816
- /** Execution environment of the container. */
1117
+ /**
1118
+ * Execution environment of the container.
1119
+ */
817
1120
  sandbox?: ContainerSandbox;
818
- /** Local storage limit of the container (in MB). */
1121
+ /**
1122
+ * Local storage limit of the container (in MB).
1123
+ */
819
1124
  localStorageLimit?: number;
820
1125
  /**
821
1126
  * Possible values:
822
- *
823
- * - Concurrent_requests_threshold: Scale depending on the number of concurrent
824
- * requests being processed per container instance.
825
- * - Cpu_usage_threshold: Scale depending on the CPU usage of a container
826
- * instance.
827
- * - Memory_usage_threshold: Scale depending on the memory usage of a container
828
- * instance.
1127
+ - concurrent_requests_threshold: Scale depending on the number of concurrent requests being processed per container instance.
1128
+ - cpu_usage_threshold: Scale depending on the CPU usage of a container instance.
1129
+ - memory_usage_threshold: Scale depending on the memory usage of a container instance.
829
1130
  */
830
1131
  scalingOption?: ContainerScalingOption;
831
- /** Health check configuration of the container. */
1132
+ /**
1133
+ * Health check configuration of the container.
1134
+ */
832
1135
  healthCheck?: ContainerHealthCheckSpec;
833
1136
  };
834
1137
  export type UpdateCronRequest = {
835
1138
  /**
836
- * Region to target. If none is passed will use default region from the
837
- * config.
1139
+ * Region to target. If none is passed will use default region from the config.
838
1140
  */
839
1141
  region?: ScwRegion;
840
- /** UUID of the cron to update. */
1142
+ /**
1143
+ * UUID of the cron to update.
1144
+ */
841
1145
  cronId: string;
842
- /** UUID of the container invoked by the cron. */
1146
+ /**
1147
+ * UUID of the container invoked by the cron.
1148
+ */
843
1149
  containerId?: string;
844
- /** UNIX cron schedule. */
1150
+ /**
1151
+ * UNIX cron schedule.
1152
+ */
845
1153
  schedule?: string;
846
- /** Arguments to pass with the cron. */
1154
+ /**
1155
+ * Arguments to pass with the cron.
1156
+ */
847
1157
  args?: Record<string, unknown>;
848
- /** Name of the cron. */
1158
+ /**
1159
+ * Name of the cron.
1160
+ */
849
1161
  name?: string;
850
1162
  };
851
1163
  export type UpdateNamespaceRequest = {
852
1164
  /**
853
- * Region to target. If none is passed will use default region from the
854
- * config.
1165
+ * Region to target. If none is passed will use default region from the config.
855
1166
  */
856
1167
  region?: ScwRegion;
857
- /** UUID of the namespace to update. */
1168
+ /**
1169
+ * UUID of the namespace to update.
1170
+ */
858
1171
  namespaceId: string;
859
- /** Environment variables of the namespace to update. */
1172
+ /**
1173
+ * Environment variables of the namespace to update.
1174
+ */
860
1175
  environmentVariables?: Record<string, string>;
861
- /** Description of the namespace to update. */
1176
+ /**
1177
+ * Description of the namespace to update.
1178
+ */
862
1179
  description?: string;
863
- /** Secret environment variables of the namespace to update. */
1180
+ /**
1181
+ * Secret environment variables of the namespace to update.
1182
+ */
864
1183
  secretEnvironmentVariables?: Secret[];
865
- /** [ALPHA] Tags of the Serverless Container Namespace. */
1184
+ /**
1185
+ * [ALPHA] Tags of the Serverless Container Namespace.
1186
+ */
866
1187
  tags?: string[];
867
1188
  };
868
1189
  export type UpdateTriggerRequest = {
869
1190
  /**
870
- * Region to target. If none is passed will use default region from the
871
- * config.
1191
+ * Region to target. If none is passed will use default region from the config.
872
1192
  */
873
1193
  region?: ScwRegion;
874
- /** ID of the trigger to update. */
1194
+ /**
1195
+ * ID of the trigger to update.
1196
+ */
875
1197
  triggerId: string;
876
- /** Name of the trigger. */
1198
+ /**
1199
+ * Name of the trigger.
1200
+ */
877
1201
  name?: string;
878
- /** Description of the trigger. */
1202
+ /**
1203
+ * Description of the trigger.
1204
+ */
879
1205
  description?: string;
880
1206
  /**
881
1207
  * Configuration for an AWS SQS queue.