@scaleway/sdk-datalab 1.5.0 → 1.5.2
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.
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import type { ApiLocality, WaitForOptions } from '@scaleway/sdk-client';
|
|
2
1
|
import { API as ParentAPI } from '@scaleway/sdk-client';
|
|
2
|
+
import type { WaitForOptions, ApiLocality } from '@scaleway/sdk-client';
|
|
3
3
|
import type { CreateDatalabRequest, Datalab, DeleteDatalabRequest, GetDatalabRequest, ListClusterVersionsRequest, ListClusterVersionsResponse, ListDatalabsRequest, ListDatalabsResponse, ListNodeTypesRequest, ListNodeTypesResponse, ListNotebookVersionsRequest, ListNotebookVersionsResponse, UpdateDatalabRequest } from './types.gen.js';
|
|
4
4
|
/**
|
|
5
|
-
*
|
|
5
|
+
* Clusters for Apache Spark™ API.
|
|
6
6
|
|
|
7
|
-
This API allows you to manage your
|
|
7
|
+
This API allows you to manage your Apache Spark™ resources.
|
|
8
8
|
*/
|
|
9
9
|
export declare class API extends ParentAPI {
|
|
10
10
|
/**
|
|
@@ -13,14 +13,14 @@ export declare class API extends ParentAPI {
|
|
|
13
13
|
*/
|
|
14
14
|
static readonly LOCALITY: ApiLocality;
|
|
15
15
|
/**
|
|
16
|
-
* Create a new
|
|
16
|
+
* Create a new cluster. In this call, one can personalize the node counts, add a notebook, choose the private network, define the persistent volume storage capacity.
|
|
17
17
|
*
|
|
18
18
|
* @param request - The request {@link CreateDatalabRequest}
|
|
19
19
|
* @returns A Promise of Datalab
|
|
20
20
|
*/
|
|
21
21
|
createDatalab: (request: Readonly<CreateDatalabRequest>) => Promise<Datalab>;
|
|
22
22
|
/**
|
|
23
|
-
* Retrieve information about a given
|
|
23
|
+
* Retrieve information about a given cluster, specified by the `region` and `datalab_id` parameters. Its full details, including name, status, node counts, are returned in the response object.
|
|
24
24
|
*
|
|
25
25
|
* @param request - The request {@link GetDatalabRequest}
|
|
26
26
|
* @returns A Promise of Datalab
|
|
@@ -33,10 +33,10 @@ export declare class API extends ParentAPI {
|
|
|
33
33
|
* @param options - The waiting options
|
|
34
34
|
* @returns A Promise of Datalab
|
|
35
35
|
*/
|
|
36
|
-
waitForDatalab: (request: Readonly<GetDatalabRequest>, options?: Readonly<WaitForOptions<Datalab>>
|
|
36
|
+
waitForDatalab: (request: Readonly<GetDatalabRequest>, options?: Readonly<WaitForOptions<Datalab>>) => Promise<Datalab>;
|
|
37
37
|
protected pageOfListDatalabs: (request?: Readonly<ListDatalabsRequest>) => Promise<ListDatalabsResponse>;
|
|
38
38
|
/**
|
|
39
|
-
* List information about
|
|
39
|
+
* List information about cluster within a project or an organization.
|
|
40
40
|
*
|
|
41
41
|
* @param request - The request {@link ListDatalabsRequest}
|
|
42
42
|
* @returns A Promise of ListDatalabsResponse
|
|
@@ -46,14 +46,14 @@ export declare class API extends ParentAPI {
|
|
|
46
46
|
[Symbol.asyncIterator]: () => AsyncGenerator<Datalab[], void, void>;
|
|
47
47
|
};
|
|
48
48
|
/**
|
|
49
|
-
* Update a
|
|
49
|
+
* Update a cluster node counts. Allows for up- and downscaling on demand, depending on the expected workload.
|
|
50
50
|
*
|
|
51
51
|
* @param request - The request {@link UpdateDatalabRequest}
|
|
52
52
|
* @returns A Promise of Datalab
|
|
53
53
|
*/
|
|
54
54
|
updateDatalab: (request: Readonly<UpdateDatalabRequest>) => Promise<Datalab>;
|
|
55
55
|
/**
|
|
56
|
-
* Delete a
|
|
56
|
+
* Delete a cluster based on its region and id.
|
|
57
57
|
*
|
|
58
58
|
* @param request - The request {@link DeleteDatalabRequest}
|
|
59
59
|
* @returns A Promise of Datalab
|
|
@@ -61,7 +61,7 @@ export declare class API extends ParentAPI {
|
|
|
61
61
|
deleteDatalab: (request: Readonly<DeleteDatalabRequest>) => Promise<Datalab>;
|
|
62
62
|
protected pageOfListNodeTypes: (request?: Readonly<ListNodeTypesRequest>) => Promise<ListNodeTypesResponse>;
|
|
63
63
|
/**
|
|
64
|
-
* List the available compute node types for creating a
|
|
64
|
+
* List the available compute node types for creating a new cluster.
|
|
65
65
|
*
|
|
66
66
|
* @param request - The request {@link ListNodeTypesRequest}
|
|
67
67
|
* @returns A Promise of ListNodeTypesResponse
|
|
@@ -83,7 +83,7 @@ export declare class API extends ParentAPI {
|
|
|
83
83
|
};
|
|
84
84
|
protected pageOfListClusterVersions: (request?: Readonly<ListClusterVersionsRequest>) => Promise<ListClusterVersionsResponse>;
|
|
85
85
|
/**
|
|
86
|
-
* List the Spark versions the product is compatible with.
|
|
86
|
+
* List the Apache Spark™ versions the product is compatible with.
|
|
87
87
|
*
|
|
88
88
|
* @param request - The request {@link ListClusterVersionsRequest}
|
|
89
89
|
* @returns A Promise of ListClusterVersionsResponse
|
package/dist/v1beta1/api.gen.js
CHANGED
|
@@ -4,9 +4,9 @@ import { API as API$1, enrichForPagination, toApiLocality, urlParams, validatePa
|
|
|
4
4
|
//#region src/v1beta1/api.gen.ts
|
|
5
5
|
const jsonContentHeaders = { "Content-Type": "application/json; charset=utf-8" };
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
7
|
+
* Clusters for Apache Spark™ API.
|
|
8
8
|
|
|
9
|
-
This API allows you to manage your
|
|
9
|
+
This API allows you to manage your Apache Spark™ resources.
|
|
10
10
|
*/
|
|
11
11
|
var API = class extends API$1 {
|
|
12
12
|
constructor(..._args) {
|
|
@@ -58,7 +58,7 @@ var API = class extends API$1 {
|
|
|
58
58
|
this.listClusterVersions = (request = {}) => enrichForPagination("clusters", this.pageOfListClusterVersions, request);
|
|
59
59
|
}
|
|
60
60
|
static {
|
|
61
|
-
this.LOCALITY = toApiLocality({ regions: ["fr-par"] });
|
|
61
|
+
this.LOCALITY = toApiLocality({ regions: ["fr-par", "it-mil"] });
|
|
62
62
|
}
|
|
63
63
|
};
|
|
64
64
|
//#endregion
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { DefaultValues } from '@scaleway/sdk-client';
|
|
2
|
-
import type {
|
|
2
|
+
import type { Datalab, ListClusterVersionsResponse, ListDatalabsResponse, ListNodeTypesResponse, ListNotebookVersionsResponse, CreateDatalabRequest, UpdateDatalabRequest } from './types.gen.js';
|
|
3
3
|
export declare const unmarshalDatalab: (data: unknown) => Datalab;
|
|
4
4
|
export declare const unmarshalListClusterVersionsResponse: (data: unknown) => ListClusterVersionsResponse;
|
|
5
5
|
export declare const unmarshalListDatalabsResponse: (data: unknown) => ListDatalabsResponse;
|
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
export declare const queriesMetadata: {
|
|
2
|
-
readonly namespace:
|
|
3
|
-
readonly version:
|
|
4
|
-
readonly folderName:
|
|
2
|
+
readonly namespace: 'datalab';
|
|
3
|
+
readonly version: 'v1beta1';
|
|
4
|
+
readonly folderName: 'datalabv1beta1';
|
|
5
5
|
readonly services: readonly [{
|
|
6
|
-
readonly apiClass:
|
|
6
|
+
readonly apiClass: 'API';
|
|
7
7
|
readonly methods: readonly [{
|
|
8
|
-
readonly methodName:
|
|
9
|
-
readonly protoName:
|
|
10
|
-
readonly paramsType:
|
|
11
|
-
readonly returnType:
|
|
8
|
+
readonly methodName: 'getDatalab';
|
|
9
|
+
readonly protoName: 'GetDatalab';
|
|
10
|
+
readonly paramsType: 'GetDatalabRequest';
|
|
11
|
+
readonly returnType: 'Datalab';
|
|
12
12
|
readonly isList: false;
|
|
13
|
-
readonly paginationType:
|
|
13
|
+
readonly paginationType: 'none';
|
|
14
14
|
readonly isPrivate: false;
|
|
15
|
-
readonly description: "
|
|
15
|
+
readonly description: '"';
|
|
16
16
|
readonly hasWaiter: true;
|
|
17
17
|
}, {
|
|
18
|
-
readonly methodName:
|
|
19
|
-
readonly protoName:
|
|
20
|
-
readonly paramsType:
|
|
21
|
-
readonly returnType:
|
|
18
|
+
readonly methodName: 'listDatalabs';
|
|
19
|
+
readonly protoName: 'ListDatalabs';
|
|
20
|
+
readonly paramsType: 'ListDatalabsRequest';
|
|
21
|
+
readonly returnType: 'ListDatalabsResponse';
|
|
22
22
|
readonly isList: true;
|
|
23
|
-
readonly paginationType:
|
|
24
|
-
readonly pageParamKey:
|
|
25
|
-
readonly listItemType:
|
|
23
|
+
readonly paginationType: 'offset';
|
|
24
|
+
readonly pageParamKey: 'page';
|
|
25
|
+
readonly listItemType: 'Datalab';
|
|
26
26
|
readonly isPrivate: false;
|
|
27
|
-
readonly description: "
|
|
27
|
+
readonly description: '"';
|
|
28
28
|
}, {
|
|
29
|
-
readonly methodName:
|
|
30
|
-
readonly protoName:
|
|
31
|
-
readonly paramsType:
|
|
32
|
-
readonly returnType:
|
|
29
|
+
readonly methodName: 'listNodeTypes';
|
|
30
|
+
readonly protoName: 'ListNodeTypes';
|
|
31
|
+
readonly paramsType: 'ListNodeTypesRequest';
|
|
32
|
+
readonly returnType: 'ListNodeTypesResponse';
|
|
33
33
|
readonly isList: true;
|
|
34
|
-
readonly paginationType:
|
|
35
|
-
readonly pageParamKey:
|
|
36
|
-
readonly listItemType:
|
|
34
|
+
readonly paginationType: 'offset';
|
|
35
|
+
readonly pageParamKey: 'page';
|
|
36
|
+
readonly listItemType: 'NodeType';
|
|
37
37
|
readonly isPrivate: false;
|
|
38
|
-
readonly description: "
|
|
38
|
+
readonly description: '"';
|
|
39
39
|
}, {
|
|
40
|
-
readonly methodName:
|
|
41
|
-
readonly protoName:
|
|
42
|
-
readonly paramsType:
|
|
43
|
-
readonly returnType:
|
|
40
|
+
readonly methodName: 'listNotebookVersions';
|
|
41
|
+
readonly protoName: 'ListNotebookVersions';
|
|
42
|
+
readonly paramsType: 'ListNotebookVersionsRequest';
|
|
43
|
+
readonly returnType: 'ListNotebookVersionsResponse';
|
|
44
44
|
readonly isList: true;
|
|
45
|
-
readonly paginationType:
|
|
46
|
-
readonly pageParamKey:
|
|
47
|
-
readonly listItemType:
|
|
45
|
+
readonly paginationType: 'offset';
|
|
46
|
+
readonly pageParamKey: 'page';
|
|
47
|
+
readonly listItemType: 'Notebook';
|
|
48
48
|
readonly isPrivate: false;
|
|
49
|
-
readonly description: "
|
|
49
|
+
readonly description: '"';
|
|
50
50
|
}, {
|
|
51
|
-
readonly methodName:
|
|
52
|
-
readonly protoName:
|
|
53
|
-
readonly paramsType:
|
|
54
|
-
readonly returnType:
|
|
51
|
+
readonly methodName: 'listClusterVersions';
|
|
52
|
+
readonly protoName: 'ListClusterVersions';
|
|
53
|
+
readonly paramsType: 'ListClusterVersionsRequest';
|
|
54
|
+
readonly returnType: 'ListClusterVersionsResponse';
|
|
55
55
|
readonly isList: true;
|
|
56
|
-
readonly paginationType:
|
|
57
|
-
readonly pageParamKey:
|
|
58
|
-
readonly listItemType:
|
|
56
|
+
readonly paginationType: 'offset';
|
|
57
|
+
readonly pageParamKey: 'page';
|
|
58
|
+
readonly listItemType: 'Cluster';
|
|
59
59
|
readonly isPrivate: false;
|
|
60
|
-
readonly description: "
|
|
60
|
+
readonly description: '"';
|
|
61
61
|
}];
|
|
62
62
|
}];
|
|
63
63
|
};
|
|
@@ -106,31 +106,31 @@ export interface Cluster {
|
|
|
106
106
|
versions: ClusterVersion[];
|
|
107
107
|
}
|
|
108
108
|
/**
|
|
109
|
-
* A
|
|
109
|
+
* A Clusters for Apache Spark™ resource.
|
|
110
110
|
*/
|
|
111
111
|
export interface Datalab {
|
|
112
112
|
/**
|
|
113
|
-
* The unique identifier of the
|
|
113
|
+
* The unique identifier of the cluster.
|
|
114
114
|
*/
|
|
115
115
|
id: string;
|
|
116
116
|
/**
|
|
117
|
-
* The unique identifier of the project where the
|
|
117
|
+
* The unique identifier of the project where the cluster has been created.
|
|
118
118
|
*/
|
|
119
119
|
projectId: string;
|
|
120
120
|
/**
|
|
121
|
-
* The name of the
|
|
121
|
+
* The name of the cluster.
|
|
122
122
|
*/
|
|
123
123
|
name: string;
|
|
124
124
|
/**
|
|
125
|
-
* The description of the
|
|
125
|
+
* The description of the cluster.
|
|
126
126
|
*/
|
|
127
127
|
description: string;
|
|
128
128
|
/**
|
|
129
|
-
* The tags of the
|
|
129
|
+
* The tags of the cluster.
|
|
130
130
|
*/
|
|
131
131
|
tags: string[];
|
|
132
132
|
/**
|
|
133
|
-
* The Spark Main node specification of
|
|
133
|
+
* The Apache Spark™ Main node specification of cluster. It holds the parameters `node_type`, `spark_ui_url` (available to reach Apache Spark™ UI), `spark_master_url` (used to reach the cluster within a VPC), `root_volume` (size of the volume assigned to the cluster).
|
|
134
134
|
*/
|
|
135
135
|
main?: DatalabSparkMain;
|
|
136
136
|
/**
|
|
@@ -138,23 +138,23 @@ export interface Datalab {
|
|
|
138
138
|
*/
|
|
139
139
|
worker?: DatalabSparkWorker;
|
|
140
140
|
/**
|
|
141
|
-
* The status of the
|
|
141
|
+
* The status of the cluster. For a working cluster the status is marked as `ready`.
|
|
142
142
|
*/
|
|
143
143
|
status: DatalabStatus;
|
|
144
144
|
/**
|
|
145
|
-
* The creation timestamp of the
|
|
145
|
+
* The creation timestamp of the cluster.
|
|
146
146
|
*/
|
|
147
147
|
createdAt?: Date;
|
|
148
148
|
/**
|
|
149
|
-
* The last update date of the
|
|
149
|
+
* The last update date of the cluster.
|
|
150
150
|
*/
|
|
151
151
|
updatedAt?: Date;
|
|
152
152
|
/**
|
|
153
|
-
* The region of the
|
|
153
|
+
* The region of the cluster.
|
|
154
154
|
*/
|
|
155
155
|
region: ScwRegion;
|
|
156
156
|
/**
|
|
157
|
-
* Whether a JupyterLab notebook is associated with the
|
|
157
|
+
* Whether a JupyterLab notebook is associated with the cluster or not.
|
|
158
158
|
*/
|
|
159
159
|
hasNotebook: boolean;
|
|
160
160
|
/**
|
|
@@ -162,15 +162,15 @@ export interface Datalab {
|
|
|
162
162
|
*/
|
|
163
163
|
notebookUrl?: string;
|
|
164
164
|
/**
|
|
165
|
-
* The version of Spark running inside the
|
|
165
|
+
* The version of Apache Spark™ running inside the cluster.
|
|
166
166
|
*/
|
|
167
167
|
sparkVersion: string;
|
|
168
168
|
/**
|
|
169
|
-
* The total persistent volume storage selected to run Spark
|
|
169
|
+
* The total persistent volume storage selected to run Apache Spark™.
|
|
170
170
|
*/
|
|
171
171
|
totalStorage?: Volume;
|
|
172
172
|
/**
|
|
173
|
-
* The unique identifier of the private network to which the
|
|
173
|
+
* The unique identifier of the private network to which the cluster is attached to.
|
|
174
174
|
*/
|
|
175
175
|
privateNetworkId: string;
|
|
176
176
|
/**
|
|
@@ -249,7 +249,7 @@ export interface Notebook {
|
|
|
249
249
|
versions: NotebookVersion[];
|
|
250
250
|
}
|
|
251
251
|
/**
|
|
252
|
-
* A request to create a
|
|
252
|
+
* A request to create a cluster.
|
|
253
253
|
*/
|
|
254
254
|
export type CreateDatalabRequest = {
|
|
255
255
|
/**
|
|
@@ -257,19 +257,19 @@ export type CreateDatalabRequest = {
|
|
|
257
257
|
*/
|
|
258
258
|
region?: ScwRegion;
|
|
259
259
|
/**
|
|
260
|
-
* The unique identifier of the project where the
|
|
260
|
+
* The unique identifier of the project where the cluster will be created.
|
|
261
261
|
*/
|
|
262
262
|
projectId?: string;
|
|
263
263
|
/**
|
|
264
|
-
* The name of the
|
|
264
|
+
* The name of the cluster.
|
|
265
265
|
*/
|
|
266
266
|
name: string;
|
|
267
267
|
/**
|
|
268
|
-
* The description of the
|
|
268
|
+
* The description of the cluster.
|
|
269
269
|
*/
|
|
270
270
|
description: string;
|
|
271
271
|
/**
|
|
272
|
-
* The tags of the
|
|
272
|
+
* The tags of the cluster.
|
|
273
273
|
*/
|
|
274
274
|
tags?: string[];
|
|
275
275
|
/**
|
|
@@ -281,11 +281,11 @@ export type CreateDatalabRequest = {
|
|
|
281
281
|
*/
|
|
282
282
|
worker?: CreateDatalabRequestSparkWorker;
|
|
283
283
|
/**
|
|
284
|
-
* Select this option to include a notebook as part of the
|
|
284
|
+
* Select this option to include a notebook as part of the cluster.
|
|
285
285
|
*/
|
|
286
286
|
hasNotebook: boolean;
|
|
287
287
|
/**
|
|
288
|
-
* The version of Spark running inside the
|
|
288
|
+
* The version of Apache Spark™ running inside the cluster, available options can be viewed at ListClusterVersions.
|
|
289
289
|
*/
|
|
290
290
|
sparkVersion: string;
|
|
291
291
|
/**
|
|
@@ -293,12 +293,12 @@ export type CreateDatalabRequest = {
|
|
|
293
293
|
*/
|
|
294
294
|
totalStorage?: Volume;
|
|
295
295
|
/**
|
|
296
|
-
* The unique identifier of the private network the
|
|
296
|
+
* The unique identifier of the private network the cluster will be attached to.
|
|
297
297
|
*/
|
|
298
298
|
privateNetworkId: string;
|
|
299
299
|
};
|
|
300
300
|
/**
|
|
301
|
-
* A request to delete a
|
|
301
|
+
* A request to delete a cluster.
|
|
302
302
|
*/
|
|
303
303
|
export type DeleteDatalabRequest = {
|
|
304
304
|
/**
|
|
@@ -306,12 +306,12 @@ export type DeleteDatalabRequest = {
|
|
|
306
306
|
*/
|
|
307
307
|
region?: ScwRegion;
|
|
308
308
|
/**
|
|
309
|
-
* The unique identifier of the
|
|
309
|
+
* The unique identifier of the cluster.
|
|
310
310
|
*/
|
|
311
311
|
datalabId: string;
|
|
312
312
|
};
|
|
313
313
|
/**
|
|
314
|
-
* A request to get information about a
|
|
314
|
+
* A request to get information about a cluster.
|
|
315
315
|
*/
|
|
316
316
|
export type GetDatalabRequest = {
|
|
317
317
|
/**
|
|
@@ -319,7 +319,7 @@ export type GetDatalabRequest = {
|
|
|
319
319
|
*/
|
|
320
320
|
region?: ScwRegion;
|
|
321
321
|
/**
|
|
322
|
-
* The unique identifier of the
|
|
322
|
+
* The unique identifier of the cluster.
|
|
323
323
|
*/
|
|
324
324
|
datalabId: string;
|
|
325
325
|
};
|
|
@@ -358,7 +358,7 @@ export interface ListClusterVersionsResponse {
|
|
|
358
358
|
totalCount: number;
|
|
359
359
|
}
|
|
360
360
|
/**
|
|
361
|
-
* A request to list
|
|
361
|
+
* A request to list clusters.
|
|
362
362
|
*/
|
|
363
363
|
export type ListDatalabsRequest = {
|
|
364
364
|
/**
|
|
@@ -366,19 +366,19 @@ export type ListDatalabsRequest = {
|
|
|
366
366
|
*/
|
|
367
367
|
region?: ScwRegion;
|
|
368
368
|
/**
|
|
369
|
-
* The unique identifier of the organization whose
|
|
369
|
+
* The unique identifier of the organization whose clusters you want to list.
|
|
370
370
|
*/
|
|
371
371
|
organizationId?: string;
|
|
372
372
|
/**
|
|
373
|
-
* The unique identifier of the project whose
|
|
373
|
+
* The unique identifier of the project whose clusters you want to list.
|
|
374
374
|
*/
|
|
375
375
|
projectId?: string;
|
|
376
376
|
/**
|
|
377
|
-
* The name of the
|
|
377
|
+
* The name of the cluster you want to list.
|
|
378
378
|
*/
|
|
379
379
|
name?: string;
|
|
380
380
|
/**
|
|
381
|
-
* The tags associated with the
|
|
381
|
+
* The tags associated with the cluster you want to list.
|
|
382
382
|
*/
|
|
383
383
|
tags?: string[];
|
|
384
384
|
/**
|
|
@@ -395,15 +395,15 @@ export type ListDatalabsRequest = {
|
|
|
395
395
|
orderBy?: ListDatalabsRequestOrderBy;
|
|
396
396
|
};
|
|
397
397
|
/**
|
|
398
|
-
* A response to list
|
|
398
|
+
* A response to list clusters.
|
|
399
399
|
*/
|
|
400
400
|
export interface ListDatalabsResponse {
|
|
401
401
|
/**
|
|
402
|
-
* The list of
|
|
402
|
+
* The list of clusters. This is a list composed of messages of type `DataLab`.
|
|
403
403
|
*/
|
|
404
404
|
datalabs: Datalab[];
|
|
405
405
|
/**
|
|
406
|
-
* The total count of
|
|
406
|
+
* The total count of clusters.
|
|
407
407
|
*/
|
|
408
408
|
totalCount: number;
|
|
409
409
|
}
|
|
@@ -484,7 +484,7 @@ export interface ListNotebookVersionsResponse {
|
|
|
484
484
|
totalCount: number;
|
|
485
485
|
}
|
|
486
486
|
/**
|
|
487
|
-
* A request to update a
|
|
487
|
+
* A request to update a cluster.
|
|
488
488
|
*/
|
|
489
489
|
export type UpdateDatalabRequest = {
|
|
490
490
|
/**
|
|
@@ -492,23 +492,23 @@ export type UpdateDatalabRequest = {
|
|
|
492
492
|
*/
|
|
493
493
|
region?: ScwRegion;
|
|
494
494
|
/**
|
|
495
|
-
* The unique identifier of the
|
|
495
|
+
* The unique identifier of the cluster.
|
|
496
496
|
*/
|
|
497
497
|
datalabId: string;
|
|
498
498
|
/**
|
|
499
|
-
* The updated name of the
|
|
499
|
+
* The updated name of the cluster.
|
|
500
500
|
*/
|
|
501
501
|
name?: string;
|
|
502
502
|
/**
|
|
503
|
-
* The updated description of the
|
|
503
|
+
* The updated description of the cluster.
|
|
504
504
|
*/
|
|
505
505
|
description?: string;
|
|
506
506
|
/**
|
|
507
|
-
* The updated tags of the
|
|
507
|
+
* The updated tags of the cluster.
|
|
508
508
|
*/
|
|
509
509
|
tags?: string[];
|
|
510
510
|
/**
|
|
511
|
-
* The updated node count of the
|
|
511
|
+
* The updated node count of the cluster. Scale up or down the number of worker nodes.
|
|
512
512
|
*/
|
|
513
513
|
nodeCount?: number;
|
|
514
514
|
};
|
package/package.json
CHANGED
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@scaleway/sdk-datalab",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.2",
|
|
4
4
|
"description": "Scaleway SDK datalab",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"directory": "packages_generated/datalab"
|
|
9
|
+
},
|
|
6
10
|
"files": [
|
|
7
11
|
"dist",
|
|
8
12
|
"README.md"
|
|
@@ -26,24 +30,19 @@
|
|
|
26
30
|
"default": "./dist/*/metadata.gen.js"
|
|
27
31
|
}
|
|
28
32
|
},
|
|
29
|
-
"repository": {
|
|
30
|
-
"type": "git",
|
|
31
|
-
"directory": "packages_generated/datalab"
|
|
32
|
-
},
|
|
33
|
-
"engines": {
|
|
34
|
-
"node": ">=20.18.3"
|
|
35
|
-
},
|
|
36
33
|
"dependencies": {
|
|
37
34
|
"@scaleway/random-name": "5.1.4",
|
|
38
|
-
"@scaleway/sdk-std": "2.4.
|
|
35
|
+
"@scaleway/sdk-std": "2.4.2"
|
|
39
36
|
},
|
|
40
|
-
"
|
|
37
|
+
"devDependencies": {
|
|
41
38
|
"@repo/configs": "^0.1.1",
|
|
42
|
-
"@scaleway/sdk-client": "^2.
|
|
39
|
+
"@scaleway/sdk-client": "^2.4.0"
|
|
43
40
|
},
|
|
44
|
-
"
|
|
45
|
-
"@scaleway/sdk-client": "^2.
|
|
46
|
-
|
|
41
|
+
"peerDependencies": {
|
|
42
|
+
"@scaleway/sdk-client": "^2.4.0"
|
|
43
|
+
},
|
|
44
|
+
"engines": {
|
|
45
|
+
"node": ">=20.20.2"
|
|
47
46
|
},
|
|
48
47
|
"scripts": {
|
|
49
48
|
"package:check": "pnpm publint",
|