@scaleway/sdk 2.53.0 → 2.54.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.
- package/dist/api/applesilicon/v1alpha1/api.gen.cjs +21 -0
- package/dist/api/applesilicon/v1alpha1/api.gen.d.ts +3 -1
- package/dist/api/applesilicon/v1alpha1/api.gen.js +22 -1
- package/dist/api/applesilicon/v1alpha1/index.gen.d.ts +1 -1
- package/dist/api/applesilicon/v1alpha1/marshalling.gen.cjs +46 -0
- package/dist/api/applesilicon/v1alpha1/marshalling.gen.d.ts +4 -1
- package/dist/api/applesilicon/v1alpha1/marshalling.gen.js +47 -1
- package/dist/api/applesilicon/v1alpha1/types.gen.d.ts +31 -0
- package/dist/api/block/v1alpha1/api.gen.cjs +2 -1
- package/dist/api/block/v1alpha1/api.gen.js +2 -1
- package/dist/api/block/v1alpha1/types.gen.d.ts +5 -0
- package/dist/api/cockpit/v1/api.gen.cjs +21 -2
- package/dist/api/cockpit/v1/api.gen.d.ts +16 -3
- package/dist/api/cockpit/v1/api.gen.js +22 -3
- package/dist/api/cockpit/v1/index.gen.d.ts +1 -1
- package/dist/api/cockpit/v1/marshalling.gen.cjs +29 -1
- package/dist/api/cockpit/v1/marshalling.gen.d.ts +2 -1
- package/dist/api/cockpit/v1/marshalling.gen.js +29 -1
- package/dist/api/cockpit/v1/types.gen.d.ts +29 -1
- package/dist/api/cockpit/v1/validation-rules.gen.cjs +11 -0
- package/dist/api/cockpit/v1/validation-rules.gen.d.ts +11 -0
- package/dist/api/cockpit/v1/validation-rules.gen.js +11 -0
- package/dist/api/container/v1beta1/marshalling.gen.cjs +7 -3
- package/dist/api/container/v1beta1/marshalling.gen.js +7 -3
- package/dist/api/container/v1beta1/types.gen.d.ts +17 -2
- package/dist/api/edge_services/v1alpha1/types.gen.d.ts +4 -4
- package/dist/api/function/v1beta1/marshalling.gen.cjs +3 -1
- package/dist/api/function/v1beta1/marshalling.gen.js +3 -1
- package/dist/api/function/v1beta1/types.gen.d.ts +4 -0
- package/dist/api/ipam/v1/types.gen.d.ts +1 -1
- package/dist/api/jobs/v1alpha1/api.gen.cjs +29 -0
- package/dist/api/jobs/v1alpha1/api.gen.d.ts +29 -0
- package/dist/api/jobs/v1alpha1/api.gen.js +29 -0
- package/dist/api/jobs/v1alpha1/types.gen.d.ts +38 -6
- package/dist/api/k8s/v1/api.gen.cjs +1 -1
- package/dist/api/k8s/v1/api.gen.js +1 -1
- package/dist/api/k8s/v1/types.gen.d.ts +1 -1
- package/dist/api/mongodb/v1alpha1/api.gen.cjs +4 -16
- package/dist/api/mongodb/v1alpha1/api.gen.js +4 -16
- package/dist/api/webhosting/v1/api.gen.cjs +2 -8
- package/dist/api/webhosting/v1/api.gen.js +2 -8
- package/dist/scw/constants.cjs +1 -1
- package/dist/scw/constants.d.ts +2 -2
- package/dist/scw/constants.js +1 -1
- package/package.json +2 -2
|
@@ -30,12 +30,23 @@ export interface CreateJobDefinitionSecretsRequestSecretConfig {
|
|
|
30
30
|
envVarName?: string;
|
|
31
31
|
}
|
|
32
32
|
export interface Secret {
|
|
33
|
+
/** UUID of the secret reference within the job. */
|
|
33
34
|
secretId: string;
|
|
35
|
+
/** UUID of the secret in Secret Manager. */
|
|
34
36
|
secretManagerId: string;
|
|
37
|
+
/** Version of the secret in Secret Manager. */
|
|
35
38
|
secretManagerVersion: string;
|
|
36
|
-
/**
|
|
39
|
+
/**
|
|
40
|
+
* File secret mounted inside the job.
|
|
41
|
+
*
|
|
42
|
+
* One-of ('secretConfig'): at most one of 'file', 'envVar' could be set.
|
|
43
|
+
*/
|
|
37
44
|
file?: SecretFile;
|
|
38
|
-
/**
|
|
45
|
+
/**
|
|
46
|
+
* Environment variable used to expose the secret.
|
|
47
|
+
*
|
|
48
|
+
* One-of ('secretConfig'): at most one of 'file', 'envVar' could be set.
|
|
49
|
+
*/
|
|
39
50
|
envVar?: SecretEnvVar;
|
|
40
51
|
}
|
|
41
52
|
export interface JobDefinition {
|
|
@@ -127,12 +138,13 @@ export type CreateJobDefinitionSecretsRequest = {
|
|
|
127
138
|
* config.
|
|
128
139
|
*/
|
|
129
140
|
region?: Region;
|
|
130
|
-
/** UUID of the job definition
|
|
141
|
+
/** UUID of the job definition. */
|
|
131
142
|
jobDefinitionId: string;
|
|
132
|
-
/**
|
|
143
|
+
/** List of secrets to inject into the job. */
|
|
133
144
|
secrets: CreateJobDefinitionSecretsRequestSecretConfig[];
|
|
134
145
|
};
|
|
135
146
|
export interface CreateJobDefinitionSecretsResponse {
|
|
147
|
+
/** List of secrets created. */
|
|
136
148
|
secrets: Secret[];
|
|
137
149
|
}
|
|
138
150
|
export type DeleteJobDefinitionRequest = {
|
|
@@ -150,7 +162,9 @@ export type DeleteJobDefinitionSecretRequest = {
|
|
|
150
162
|
* config.
|
|
151
163
|
*/
|
|
152
164
|
region?: Region;
|
|
165
|
+
/** UUID of the job definition. */
|
|
153
166
|
jobDefinitionId: string;
|
|
167
|
+
/** UUID of the secret reference within the job. */
|
|
154
168
|
secretId: string;
|
|
155
169
|
};
|
|
156
170
|
export type GetJobDefinitionRequest = {
|
|
@@ -168,7 +182,9 @@ export type GetJobDefinitionSecretRequest = {
|
|
|
168
182
|
* config.
|
|
169
183
|
*/
|
|
170
184
|
region?: Region;
|
|
185
|
+
/** UUID of the job definition. */
|
|
171
186
|
jobDefinitionId: string;
|
|
187
|
+
/** UUID of the secret reference within the job. */
|
|
172
188
|
secretId: string;
|
|
173
189
|
};
|
|
174
190
|
export type GetJobRunRequest = {
|
|
@@ -196,10 +212,13 @@ export type ListJobDefinitionSecretsRequest = {
|
|
|
196
212
|
* config.
|
|
197
213
|
*/
|
|
198
214
|
region?: Region;
|
|
215
|
+
/** UUID of the job definition. */
|
|
199
216
|
jobDefinitionId: string;
|
|
200
217
|
};
|
|
201
218
|
export interface ListJobDefinitionSecretsResponse {
|
|
219
|
+
/** List of secret references within a job definition. */
|
|
202
220
|
secrets: Secret[];
|
|
221
|
+
/** Total count of secret references within a job definition. */
|
|
203
222
|
totalCount: number;
|
|
204
223
|
}
|
|
205
224
|
export type ListJobDefinitionsRequest = {
|
|
@@ -306,11 +325,24 @@ export type UpdateJobDefinitionSecretRequest = {
|
|
|
306
325
|
* config.
|
|
307
326
|
*/
|
|
308
327
|
region?: Region;
|
|
328
|
+
/** UUID of the job definition. */
|
|
309
329
|
jobDefinitionId: string;
|
|
330
|
+
/** UUID of the secret reference within the job. */
|
|
310
331
|
secretId: string;
|
|
332
|
+
/** Version of the secret in Secret Manager. */
|
|
311
333
|
secretManagerVersion?: string;
|
|
312
|
-
/**
|
|
334
|
+
/**
|
|
335
|
+
* Path of the secret to mount inside the job (either `path` or `env_var_name`
|
|
336
|
+
* must be set).
|
|
337
|
+
*
|
|
338
|
+
* One-of ('secretConfig'): at most one of 'path', 'envVarName' could be set.
|
|
339
|
+
*/
|
|
313
340
|
path?: string;
|
|
314
|
-
/**
|
|
341
|
+
/**
|
|
342
|
+
* Environment variable name used to expose the secret inside the job (either
|
|
343
|
+
* `path` or `env_var_name` must be set).
|
|
344
|
+
*
|
|
345
|
+
* One-of ('secretConfig'): at most one of 'path', 'envVarName' could be set.
|
|
346
|
+
*/
|
|
315
347
|
envVarName?: string;
|
|
316
348
|
};
|
|
@@ -424,7 +424,7 @@ class API extends api.API {
|
|
|
424
424
|
getNodeMetadata = (request = {}) => this.client.fetch(
|
|
425
425
|
{
|
|
426
426
|
method: "GET",
|
|
427
|
-
path: `/k8s/v1/regions/${marshalling.validatePathParam("region", request.region ?? this.client.settings.defaultRegion)}/
|
|
427
|
+
path: `/k8s/v1/regions/${marshalling.validatePathParam("region", request.region ?? this.client.settings.defaultRegion)}/node-metadata`
|
|
428
428
|
},
|
|
429
429
|
marshalling_gen.unmarshalNodeMetadata
|
|
430
430
|
);
|
|
@@ -422,7 +422,7 @@ class API extends API$1 {
|
|
|
422
422
|
getNodeMetadata = (request = {}) => this.client.fetch(
|
|
423
423
|
{
|
|
424
424
|
method: "GET",
|
|
425
|
-
path: `/k8s/v1/regions/${validatePathParam("region", request.region ?? this.client.settings.defaultRegion)}/
|
|
425
|
+
path: `/k8s/v1/regions/${validatePathParam("region", request.region ?? this.client.settings.defaultRegion)}/node-metadata`
|
|
426
426
|
},
|
|
427
427
|
unmarshalNodeMetadata
|
|
428
428
|
);
|
|
@@ -11,7 +11,7 @@ export type ListPoolsRequestOrderBy = 'created_at_asc' | 'created_at_desc' | 'up
|
|
|
11
11
|
export type MaintenanceWindowDayOfTheWeek = 'any' | 'monday' | 'tuesday' | 'wednesday' | 'thursday' | 'friday' | 'saturday' | 'sunday';
|
|
12
12
|
export type NodeStatus = 'unknown' | 'creating' | 'not_ready' | 'ready' | 'deleting' | 'deleted' | 'locked' | 'rebooting' | 'creation_error' | 'upgrading' | 'starting' | 'registering';
|
|
13
13
|
export type PoolStatus = 'unknown' | 'ready' | 'deleting' | 'deleted' | 'scaling' | 'warning' | 'locked' | 'upgrading';
|
|
14
|
-
export type PoolVolumeType = 'default_volume_type' | 'l_ssd' | 'b_ssd';
|
|
14
|
+
export type PoolVolumeType = 'default_volume_type' | 'l_ssd' | 'b_ssd' | 'sbs_5k' | 'sbs_15k';
|
|
15
15
|
export type Runtime = 'unknown_runtime' | 'docker' | 'containerd' | 'crio';
|
|
16
16
|
export interface MaintenanceWindow {
|
|
17
17
|
/** Start time of the two-hour maintenance window. */
|
|
@@ -64,19 +64,13 @@ class API extends api.API {
|
|
|
64
64
|
urlParams: marshalling.urlParams(
|
|
65
65
|
["name", request.name],
|
|
66
66
|
["order_by", request.orderBy],
|
|
67
|
-
[
|
|
68
|
-
"organization_id",
|
|
69
|
-
request.organizationId ?? this.client.settings.defaultOrganizationId
|
|
70
|
-
],
|
|
67
|
+
["organization_id", request.organizationId],
|
|
71
68
|
["page", request.page],
|
|
72
69
|
[
|
|
73
70
|
"page_size",
|
|
74
71
|
request.pageSize ?? this.client.settings.defaultPageSize
|
|
75
72
|
],
|
|
76
|
-
[
|
|
77
|
-
"project_id",
|
|
78
|
-
request.projectId ?? this.client.settings.defaultProjectId
|
|
79
|
-
],
|
|
73
|
+
["project_id", request.projectId],
|
|
80
74
|
["tags", request.tags]
|
|
81
75
|
)
|
|
82
76
|
},
|
|
@@ -302,19 +296,13 @@ class API extends api.API {
|
|
|
302
296
|
["instance_id", request.instanceId],
|
|
303
297
|
["name", request.name],
|
|
304
298
|
["order_by", request.orderBy],
|
|
305
|
-
[
|
|
306
|
-
"organization_id",
|
|
307
|
-
request.organizationId ?? this.client.settings.defaultOrganizationId
|
|
308
|
-
],
|
|
299
|
+
["organization_id", request.organizationId],
|
|
309
300
|
["page", request.page],
|
|
310
301
|
[
|
|
311
302
|
"page_size",
|
|
312
303
|
request.pageSize ?? this.client.settings.defaultPageSize
|
|
313
304
|
],
|
|
314
|
-
[
|
|
315
|
-
"project_id",
|
|
316
|
-
request.projectId ?? this.client.settings.defaultProjectId
|
|
317
|
-
]
|
|
305
|
+
["project_id", request.projectId]
|
|
318
306
|
)
|
|
319
307
|
},
|
|
320
308
|
marshalling_gen.unmarshalListSnapshotsResponse
|
|
@@ -62,19 +62,13 @@ class API extends API$1 {
|
|
|
62
62
|
urlParams: urlParams(
|
|
63
63
|
["name", request.name],
|
|
64
64
|
["order_by", request.orderBy],
|
|
65
|
-
[
|
|
66
|
-
"organization_id",
|
|
67
|
-
request.organizationId ?? this.client.settings.defaultOrganizationId
|
|
68
|
-
],
|
|
65
|
+
["organization_id", request.organizationId],
|
|
69
66
|
["page", request.page],
|
|
70
67
|
[
|
|
71
68
|
"page_size",
|
|
72
69
|
request.pageSize ?? this.client.settings.defaultPageSize
|
|
73
70
|
],
|
|
74
|
-
[
|
|
75
|
-
"project_id",
|
|
76
|
-
request.projectId ?? this.client.settings.defaultProjectId
|
|
77
|
-
],
|
|
71
|
+
["project_id", request.projectId],
|
|
78
72
|
["tags", request.tags]
|
|
79
73
|
)
|
|
80
74
|
},
|
|
@@ -300,19 +294,13 @@ class API extends API$1 {
|
|
|
300
294
|
["instance_id", request.instanceId],
|
|
301
295
|
["name", request.name],
|
|
302
296
|
["order_by", request.orderBy],
|
|
303
|
-
[
|
|
304
|
-
"organization_id",
|
|
305
|
-
request.organizationId ?? this.client.settings.defaultOrganizationId
|
|
306
|
-
],
|
|
297
|
+
["organization_id", request.organizationId],
|
|
307
298
|
["page", request.page],
|
|
308
299
|
[
|
|
309
300
|
"page_size",
|
|
310
301
|
request.pageSize ?? this.client.settings.defaultPageSize
|
|
311
302
|
],
|
|
312
|
-
[
|
|
313
|
-
"project_id",
|
|
314
|
-
request.projectId ?? this.client.settings.defaultProjectId
|
|
315
|
-
]
|
|
303
|
+
["project_id", request.projectId]
|
|
316
304
|
)
|
|
317
305
|
},
|
|
318
306
|
unmarshalListSnapshotsResponse
|
|
@@ -294,19 +294,13 @@ class HostingAPI extends api.API {
|
|
|
294
294
|
["control_panels", request.controlPanels],
|
|
295
295
|
["domain", request.domain],
|
|
296
296
|
["order_by", request.orderBy],
|
|
297
|
-
[
|
|
298
|
-
"organization_id",
|
|
299
|
-
request.organizationId ?? this.client.settings.defaultOrganizationId
|
|
300
|
-
],
|
|
297
|
+
["organization_id", request.organizationId],
|
|
301
298
|
["page", request.page],
|
|
302
299
|
[
|
|
303
300
|
"page_size",
|
|
304
301
|
request.pageSize ?? this.client.settings.defaultPageSize
|
|
305
302
|
],
|
|
306
|
-
[
|
|
307
|
-
"project_id",
|
|
308
|
-
request.projectId ?? this.client.settings.defaultProjectId
|
|
309
|
-
],
|
|
303
|
+
["project_id", request.projectId],
|
|
310
304
|
["statuses", request.statuses],
|
|
311
305
|
["tags", request.tags]
|
|
312
306
|
)
|
|
@@ -292,19 +292,13 @@ class HostingAPI extends API$1 {
|
|
|
292
292
|
["control_panels", request.controlPanels],
|
|
293
293
|
["domain", request.domain],
|
|
294
294
|
["order_by", request.orderBy],
|
|
295
|
-
[
|
|
296
|
-
"organization_id",
|
|
297
|
-
request.organizationId ?? this.client.settings.defaultOrganizationId
|
|
298
|
-
],
|
|
295
|
+
["organization_id", request.organizationId],
|
|
299
296
|
["page", request.page],
|
|
300
297
|
[
|
|
301
298
|
"page_size",
|
|
302
299
|
request.pageSize ?? this.client.settings.defaultPageSize
|
|
303
300
|
],
|
|
304
|
-
[
|
|
305
|
-
"project_id",
|
|
306
|
-
request.projectId ?? this.client.settings.defaultProjectId
|
|
307
|
-
],
|
|
301
|
+
["project_id", request.projectId],
|
|
308
302
|
["statuses", request.statuses],
|
|
309
303
|
["tags", request.tags]
|
|
310
304
|
)
|
package/dist/scw/constants.cjs
CHANGED
package/dist/scw/constants.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const version = "v2.
|
|
2
|
-
export declare const userAgent = "scaleway-sdk-js/v2.
|
|
1
|
+
export declare const version = "v2.53.0";
|
|
2
|
+
export declare const userAgent = "scaleway-sdk-js/v2.53.0";
|
package/dist/scw/constants.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@scaleway/sdk",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.54.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"description": "Scaleway SDK.",
|
|
6
6
|
"keywords": [
|
|
@@ -39,5 +39,5 @@
|
|
|
39
39
|
"bundledDependencies": [
|
|
40
40
|
"@scaleway/random-name"
|
|
41
41
|
],
|
|
42
|
-
"gitHead": "
|
|
42
|
+
"gitHead": "549c4e0a2c570e83b330c4f24b8eebe2cdc549d4"
|
|
43
43
|
}
|