@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.
- package/dist/api/account/v3/api.gen.cjs +13 -32
- package/dist/api/account/v3/api.gen.d.ts +17 -36
- package/dist/api/account/v3/api.gen.js +13 -32
- package/dist/api/account/v3/types.gen.d.ts +187 -85
- package/dist/api/applesilicon/v1alpha1/api.gen.cjs +19 -46
- package/dist/api/applesilicon/v1alpha1/api.gen.d.ts +24 -49
- package/dist/api/applesilicon/v1alpha1/api.gen.js +19 -46
- package/dist/api/applesilicon/v1alpha1/types.gen.d.ts +310 -135
- package/dist/api/audit_trail/v1alpha1/api.gen.cjs +2 -5
- package/dist/api/audit_trail/v1alpha1/api.gen.d.ts +4 -8
- package/dist/api/audit_trail/v1alpha1/api.gen.js +2 -5
- package/dist/api/audit_trail/v1alpha1/types.gen.d.ts +110 -82
- package/dist/api/baremetal/v1/api.gen.cjs +28 -61
- package/dist/api/baremetal/v1/api.gen.d.ts +29 -60
- package/dist/api/baremetal/v1/api.gen.js +28 -61
- package/dist/api/baremetal/v1/types.gen.d.ts +802 -315
- package/dist/api/baremetal/v3/api.gen.cjs +7 -14
- package/dist/api/baremetal/v3/api.gen.d.ts +10 -15
- package/dist/api/baremetal/v3/api.gen.js +7 -14
- package/dist/api/baremetal/v3/types.gen.d.ts +82 -32
- package/dist/api/billing/v2beta1/api.gen.cjs +11 -20
- package/dist/api/billing/v2beta1/api.gen.d.ts +9 -19
- package/dist/api/billing/v2beta1/api.gen.js +11 -20
- package/dist/api/billing/v2beta1/types.gen.d.ts +231 -102
- package/dist/api/block/v1/api.gen.cjs +37 -55
- package/dist/api/block/v1/api.gen.d.ts +19 -37
- package/dist/api/block/v1/api.gen.js +37 -55
- package/dist/api/block/v1/types.gen.d.ts +306 -125
- package/dist/api/block/v1alpha1/api.gen.cjs +45 -64
- package/dist/api/block/v1alpha1/api.gen.d.ts +22 -41
- package/dist/api/block/v1alpha1/api.gen.js +45 -64
- package/dist/api/block/v1alpha1/types.gen.d.ts +327 -132
- package/dist/api/cockpit/v1/api.gen.cjs +100 -156
- package/dist/api/cockpit/v1/api.gen.d.ts +53 -112
- package/dist/api/cockpit/v1/api.gen.js +100 -156
- package/dist/api/cockpit/v1/types.gen.d.ts +567 -246
- package/dist/api/container/v1beta1/api.gen.cjs +7 -14
- package/dist/api/container/v1beta1/api.gen.d.ts +9 -16
- package/dist/api/container/v1beta1/api.gen.js +7 -14
- package/dist/api/container/v1beta1/types.gen.d.ts +648 -322
- package/dist/api/dedibox/v1/api.gen.cjs +45 -69
- package/dist/api/dedibox/v1/api.gen.d.ts +52 -62
- package/dist/api/dedibox/v1/api.gen.js +45 -69
- package/dist/api/dedibox/v1/types.gen.d.ts +1765 -645
- package/dist/api/domain/v2beta1/api.gen.cjs +119 -178
- package/dist/api/domain/v2beta1/api.gen.d.ts +71 -130
- package/dist/api/domain/v2beta1/api.gen.js +119 -178
- package/dist/api/domain/v2beta1/content.gen.d.ts +1 -4
- package/dist/api/domain/v2beta1/types.gen.d.ts +411 -199
- package/dist/api/flexibleip/v1alpha1/api.gen.cjs +10 -25
- package/dist/api/flexibleip/v1alpha1/api.gen.d.ts +12 -28
- package/dist/api/flexibleip/v1alpha1/api.gen.js +10 -25
- package/dist/api/flexibleip/v1alpha1/types.gen.d.ts +186 -78
- package/dist/api/inference/v1/api.gen.cjs +8 -11
- package/dist/api/inference/v1/api.gen.d.ts +6 -9
- package/dist/api/inference/v1/api.gen.js +8 -11
- package/dist/api/inference/v1/types.gen.d.ts +330 -150
- package/dist/api/inference/v1beta1/api.gen.cjs +8 -11
- package/dist/api/inference/v1beta1/api.gen.d.ts +6 -9
- package/dist/api/inference/v1beta1/api.gen.js +8 -11
- package/dist/api/inference/v1beta1/types.gen.d.ts +341 -154
- package/dist/api/instance/v1/api.gen.cjs +64 -113
- package/dist/api/instance/v1/api.gen.d.ts +54 -103
- package/dist/api/instance/v1/api.gen.js +64 -113
- package/dist/api/instance/v1/types.gen.d.ts +1351 -598
- package/dist/api/instance/v1/types.private.gen.d.ts +131 -59
- package/dist/api/interlink/v1beta1/api.gen.cjs +21 -67
- package/dist/api/interlink/v1beta1/api.gen.d.ts +23 -70
- package/dist/api/interlink/v1beta1/api.gen.js +21 -67
- package/dist/api/interlink/v1beta1/marshalling.gen.cjs +2 -0
- package/dist/api/interlink/v1beta1/marshalling.gen.js +2 -0
- package/dist/api/interlink/v1beta1/types.gen.d.ts +464 -216
- package/dist/api/interlink/v1beta1/validation-rules.gen.cjs +8 -0
- package/dist/api/interlink/v1beta1/validation-rules.gen.d.ts +8 -0
- package/dist/api/interlink/v1beta1/validation-rules.gen.js +8 -0
- package/dist/api/iot/v1/api.gen.cjs +37 -70
- package/dist/api/iot/v1/api.gen.d.ts +34 -67
- package/dist/api/iot/v1/api.gen.js +37 -70
- package/dist/api/iot/v1/types.gen.d.ts +566 -321
- package/dist/api/ipam/v1/api.gen.cjs +6 -26
- package/dist/api/ipam/v1/api.gen.d.ts +8 -29
- package/dist/api/ipam/v1/api.gen.js +6 -26
- package/dist/api/ipam/v1/types.gen.d.ts +146 -105
- package/dist/api/jobs/v1alpha1/api.gen.cjs +2 -4
- package/dist/api/jobs/v1alpha1/api.gen.d.ts +4 -6
- package/dist/api/jobs/v1alpha1/api.gen.js +2 -4
- package/dist/api/jobs/v1alpha1/types.gen.d.ts +165 -91
- package/dist/api/k8s/v1/api.gen.cjs +33 -78
- package/dist/api/k8s/v1/api.gen.d.ts +27 -72
- package/dist/api/k8s/v1/api.gen.js +33 -78
- package/dist/api/k8s/v1/types.gen.d.ts +743 -506
- package/dist/api/key_manager/v1alpha1/api.gen.cjs +21 -57
- package/dist/api/key_manager/v1alpha1/api.gen.d.ts +19 -56
- package/dist/api/key_manager/v1alpha1/api.gen.js +21 -57
- package/dist/api/key_manager/v1alpha1/types.gen.d.ts +196 -114
- package/dist/api/marketplace/v2/api.gen.cjs +8 -21
- package/dist/api/marketplace/v2/api.gen.d.ts +10 -24
- package/dist/api/marketplace/v2/api.gen.js +8 -21
- package/dist/api/marketplace/v2/types.gen.d.ts +94 -41
- package/dist/api/mnq/v1beta1/api.gen.cjs +24 -76
- package/dist/api/mnq/v1beta1/api.gen.d.ts +30 -82
- package/dist/api/mnq/v1beta1/api.gen.js +24 -76
- package/dist/api/mnq/v1beta1/types.gen.d.ts +342 -169
- package/dist/api/mongodb/v1alpha1/api.gen.cjs +19 -62
- package/dist/api/mongodb/v1alpha1/api.gen.d.ts +21 -64
- package/dist/api/mongodb/v1alpha1/api.gen.js +19 -62
- package/dist/api/mongodb/v1alpha1/types.gen.d.ts +443 -189
- package/dist/api/qaas/v1alpha1/api.gen.cjs +17 -34
- package/dist/api/qaas/v1alpha1/api.gen.d.ts +19 -36
- package/dist/api/qaas/v1alpha1/api.gen.js +17 -34
- package/dist/api/qaas/v1alpha1/types.gen.d.ts +502 -174
- package/dist/api/rdb/v1/api.gen.cjs +62 -202
- package/dist/api/rdb/v1/api.gen.d.ts +60 -201
- package/dist/api/rdb/v1/api.gen.js +62 -202
- package/dist/api/rdb/v1/types.gen.d.ts +1005 -524
- package/dist/api/redis/v1/api.gen.cjs +23 -83
- package/dist/api/redis/v1/api.gen.d.ts +25 -85
- package/dist/api/redis/v1/api.gen.js +23 -83
- package/dist/api/redis/v1/types.gen.d.ts +447 -170
- package/dist/api/registry/v1/api.gen.cjs +12 -40
- package/dist/api/registry/v1/api.gen.d.ts +14 -42
- package/dist/api/registry/v1/api.gen.js +12 -40
- package/dist/api/registry/v1/types.gen.d.ts +200 -116
- package/dist/api/secret/v1beta1/api.gen.cjs +19 -47
- package/dist/api/secret/v1beta1/api.gen.d.ts +21 -51
- package/dist/api/secret/v1beta1/api.gen.js +19 -47
- package/dist/api/secret/v1beta1/types.gen.d.ts +359 -224
- package/dist/api/serverless_sqldb/v1alpha1/api.gen.cjs +9 -27
- package/dist/api/serverless_sqldb/v1alpha1/api.gen.d.ts +11 -29
- package/dist/api/serverless_sqldb/v1alpha1/api.gen.js +9 -27
- package/dist/api/serverless_sqldb/v1alpha1/types.gen.d.ts +168 -76
- package/dist/api/tem/v1alpha1/api.gen.cjs +22 -58
- package/dist/api/tem/v1alpha1/api.gen.d.ts +24 -60
- package/dist/api/tem/v1alpha1/api.gen.js +22 -58
- package/dist/api/tem/v1alpha1/types.gen.d.ts +761 -338
- package/dist/api/test/v1/api.gen.cjs +8 -11
- package/dist/api/test/v1/api.gen.d.ts +6 -9
- package/dist/api/test/v1/api.gen.js +8 -11
- package/dist/api/test/v1/types.gen.d.ts +21 -10
- package/dist/client/dist/package.json.cjs +1 -1
- package/dist/client/dist/package.json.js +1 -1
- package/node_modules/@scaleway/sdk-client/dist/package.json.cjs +1 -1
- package/node_modules/@scaleway/sdk-client/dist/package.json.js +1 -1
- package/node_modules/@scaleway/sdk-client/package.json +1 -2
- package/package.json +2 -2
- package/node_modules/@scaleway/sdk-client/LICENSE +0 -191
|
@@ -24,16 +24,14 @@ class API extends API$1 {
|
|
|
24
24
|
unmarshalListImagesResponse
|
|
25
25
|
);
|
|
26
26
|
/**
|
|
27
|
-
* List marketplace images. List all available images on the marketplace,
|
|
28
|
-
* their UUID, CPU architecture and description.
|
|
27
|
+
* List marketplace images. List all available images on the marketplace, their UUID, CPU architecture and description.
|
|
29
28
|
*
|
|
30
29
|
* @param request - The request {@link ListImagesRequest}
|
|
31
30
|
* @returns A Promise of ListImagesResponse
|
|
32
31
|
*/
|
|
33
32
|
listImages = (request) => enrichForPagination("images", this.pageOfListImages, request);
|
|
34
33
|
/**
|
|
35
|
-
* Get a specific marketplace image. Get detailed information about a
|
|
36
|
-
* marketplace image, specified by its `image_id` (UUID format).
|
|
34
|
+
* Get a specific marketplace image. Get detailed information about a marketplace image, specified by its `image_id` (UUID format).
|
|
37
35
|
*
|
|
38
36
|
* @param request - The request {@link GetImageRequest}
|
|
39
37
|
* @returns A Promise of Image
|
|
@@ -62,17 +60,14 @@ class API extends API$1 {
|
|
|
62
60
|
unmarshalListVersionsResponse
|
|
63
61
|
);
|
|
64
62
|
/**
|
|
65
|
-
* List versions of an Image. Get a list of all available version of an image,
|
|
66
|
-
* specified by its `image_id` (UUID format).
|
|
63
|
+
* List versions of an Image. Get a list of all available version of an image, specified by its `image_id` (UUID format).
|
|
67
64
|
*
|
|
68
65
|
* @param request - The request {@link ListVersionsRequest}
|
|
69
66
|
* @returns A Promise of ListVersionsResponse
|
|
70
67
|
*/
|
|
71
68
|
listVersions = (request) => enrichForPagination("versions", this.pageOfListVersions, request);
|
|
72
69
|
/**
|
|
73
|
-
* Get a specific image version. Get information such as the name, creation
|
|
74
|
-
* date, last update and published date for an image version specified by its
|
|
75
|
-
* `version_id` (UUID format).
|
|
70
|
+
* Get a specific image version. Get information such as the name, creation date, last update and published date for an image version specified by its `version_id` (UUID format).
|
|
76
71
|
*
|
|
77
72
|
* @param request - The request {@link GetVersionRequest}
|
|
78
73
|
* @returns A Promise of Version
|
|
@@ -109,20 +104,14 @@ class API extends API$1 {
|
|
|
109
104
|
unmarshalListLocalImagesResponse
|
|
110
105
|
);
|
|
111
106
|
/**
|
|
112
|
-
* List local images from a specific image or version. List information about
|
|
113
|
-
* local images in a specific Availability Zone, specified by its `image_id`
|
|
114
|
-
* (UUID format), `version_id` (UUID format) or `image_label`. Only one of
|
|
115
|
-
* these three parameters may be set.
|
|
107
|
+
* List local images from a specific image or version. List information about local images in a specific Availability Zone, specified by its `image_id` (UUID format), `version_id` (UUID format) or `image_label`. Only one of these three parameters may be set.
|
|
116
108
|
*
|
|
117
109
|
* @param request - The request {@link ListLocalImagesRequest}
|
|
118
110
|
* @returns A Promise of ListLocalImagesResponse
|
|
119
111
|
*/
|
|
120
112
|
listLocalImages = (request = {}) => enrichForPagination("localImages", this.pageOfListLocalImages, request);
|
|
121
113
|
/**
|
|
122
|
-
* Get a specific local image by ID. Get detailed information about a local
|
|
123
|
-
* image, including compatible commercial types, supported architecture,
|
|
124
|
-
* labels and the Availability Zone of the image, specified by its
|
|
125
|
-
* `local_image_id` (UUID format).
|
|
114
|
+
* Get a specific local image by ID. Get detailed information about a local image, including compatible commercial types, supported architecture, labels and the Availability Zone of the image, specified by its `local_image_id` (UUID format).
|
|
126
115
|
*
|
|
127
116
|
* @param request - The request {@link GetLocalImageRequest}
|
|
128
117
|
* @returns A Promise of LocalImage
|
|
@@ -149,16 +138,14 @@ class API extends API$1 {
|
|
|
149
138
|
unmarshalListCategoriesResponse
|
|
150
139
|
);
|
|
151
140
|
/**
|
|
152
|
-
* List existing image categories. Get a list of all existing categories. The
|
|
153
|
-
* output can be paginated.
|
|
141
|
+
* List existing image categories. Get a list of all existing categories. The output can be paginated.
|
|
154
142
|
*
|
|
155
143
|
* @param request - The request {@link ListCategoriesRequest}
|
|
156
144
|
* @returns A Promise of ListCategoriesResponse
|
|
157
145
|
*/
|
|
158
146
|
listCategories = (request = {}) => enrichForPagination("categories", this.pageOfListCategories, request);
|
|
159
147
|
/**
|
|
160
|
-
* Get a specific category. Get information about a specific category of the
|
|
161
|
-
* marketplace catalog, specified by its `category_id` (UUID format).
|
|
148
|
+
* Get a specific category. Get information about a specific category of the marketplace catalog, specified by its `category_id` (UUID format).
|
|
162
149
|
*
|
|
163
150
|
* @param request - The request {@link GetCategoryRequest}
|
|
164
151
|
* @returns A Promise of Category
|
|
@@ -9,59 +9,99 @@ export interface Category {
|
|
|
9
9
|
description: string;
|
|
10
10
|
}
|
|
11
11
|
export interface Image {
|
|
12
|
-
/**
|
|
12
|
+
/**
|
|
13
|
+
* UUID of this image.
|
|
14
|
+
*/
|
|
13
15
|
id: string;
|
|
14
|
-
/**
|
|
16
|
+
/**
|
|
17
|
+
* Name of the image.
|
|
18
|
+
*/
|
|
15
19
|
name: string;
|
|
16
|
-
/**
|
|
20
|
+
/**
|
|
21
|
+
* Text description of this image.
|
|
22
|
+
*/
|
|
17
23
|
description: string;
|
|
18
|
-
/**
|
|
24
|
+
/**
|
|
25
|
+
* URL of this image's logo.
|
|
26
|
+
*/
|
|
19
27
|
logo: string;
|
|
20
|
-
/**
|
|
28
|
+
/**
|
|
29
|
+
* List of categories this image belongs to.
|
|
30
|
+
*/
|
|
21
31
|
categories: string[];
|
|
22
|
-
/**
|
|
32
|
+
/**
|
|
33
|
+
* Creation date of this image.
|
|
34
|
+
*/
|
|
23
35
|
createdAt?: Date;
|
|
24
|
-
/**
|
|
36
|
+
/**
|
|
37
|
+
* Date of the last modification of this image.
|
|
38
|
+
*/
|
|
25
39
|
updatedAt?: Date;
|
|
26
|
-
/**
|
|
40
|
+
/**
|
|
41
|
+
* Expiration date of this image.
|
|
42
|
+
*/
|
|
27
43
|
validUntil?: Date;
|
|
28
44
|
/**
|
|
29
|
-
* Typically an identifier for a distribution (ex. "ubuntu_focal").
|
|
30
|
-
|
|
45
|
+
* Typically an identifier for a distribution (ex. "ubuntu_focal").
|
|
46
|
+
This label can be used in the image field of the server creation request.
|
|
31
47
|
*/
|
|
32
48
|
label: string;
|
|
33
49
|
}
|
|
34
50
|
export interface LocalImage {
|
|
35
|
-
/**
|
|
51
|
+
/**
|
|
52
|
+
* Version you will typically use to define an image in an API call.
|
|
53
|
+
*/
|
|
36
54
|
id: string;
|
|
37
|
-
/**
|
|
55
|
+
/**
|
|
56
|
+
* List of all commercial types that are compatible with this local image.
|
|
57
|
+
*/
|
|
38
58
|
compatibleCommercialTypes: string[];
|
|
39
|
-
/**
|
|
59
|
+
/**
|
|
60
|
+
* Supported architecture for this local image.
|
|
61
|
+
*/
|
|
40
62
|
arch: string;
|
|
41
|
-
/**
|
|
63
|
+
/**
|
|
64
|
+
* Availability Zone where this local image is available.
|
|
65
|
+
*/
|
|
42
66
|
zone: ScwZone;
|
|
43
|
-
/**
|
|
67
|
+
/**
|
|
68
|
+
* This label can be used in the image field of the server creation request.
|
|
69
|
+
*/
|
|
44
70
|
label: string;
|
|
45
|
-
/**
|
|
71
|
+
/**
|
|
72
|
+
* Type of this local image.
|
|
73
|
+
*/
|
|
46
74
|
type: LocalImageType;
|
|
47
75
|
}
|
|
48
76
|
export interface Version {
|
|
49
|
-
/**
|
|
77
|
+
/**
|
|
78
|
+
* UUID of this version.
|
|
79
|
+
*/
|
|
50
80
|
id: string;
|
|
51
|
-
/**
|
|
81
|
+
/**
|
|
82
|
+
* Name of this version.
|
|
83
|
+
*/
|
|
52
84
|
name: string;
|
|
53
|
-
/**
|
|
85
|
+
/**
|
|
86
|
+
* Creation date of this image version.
|
|
87
|
+
*/
|
|
54
88
|
createdAt?: Date;
|
|
55
|
-
/**
|
|
89
|
+
/**
|
|
90
|
+
* Date of the last modification of this version.
|
|
91
|
+
*/
|
|
56
92
|
updatedAt?: Date;
|
|
57
|
-
/**
|
|
93
|
+
/**
|
|
94
|
+
* Date this version was officially published.
|
|
95
|
+
*/
|
|
58
96
|
publishedAt?: Date;
|
|
59
97
|
}
|
|
60
98
|
export type GetCategoryRequest = {
|
|
61
99
|
categoryId: string;
|
|
62
100
|
};
|
|
63
101
|
export type GetImageRequest = {
|
|
64
|
-
/**
|
|
102
|
+
/**
|
|
103
|
+
* Display the image name.
|
|
104
|
+
*/
|
|
65
105
|
imageId: string;
|
|
66
106
|
};
|
|
67
107
|
export type GetLocalImageRequest = {
|
|
@@ -80,19 +120,28 @@ export interface ListCategoriesResponse {
|
|
|
80
120
|
}
|
|
81
121
|
export type ListImagesRequest = {
|
|
82
122
|
/**
|
|
83
|
-
* A positive integer lower or equal to 100 to select the number of items to
|
|
84
|
-
* display.
|
|
123
|
+
* A positive integer lower or equal to 100 to select the number of items to display.
|
|
85
124
|
*/
|
|
86
125
|
pageSize?: number;
|
|
87
|
-
/**
|
|
126
|
+
/**
|
|
127
|
+
* A positive integer to choose the page to display.
|
|
128
|
+
*/
|
|
88
129
|
page?: number;
|
|
89
|
-
/**
|
|
130
|
+
/**
|
|
131
|
+
* Ordering to use.
|
|
132
|
+
*/
|
|
90
133
|
orderBy?: ListImagesRequestOrderBy;
|
|
91
|
-
/**
|
|
134
|
+
/**
|
|
135
|
+
* Choose for which machine architecture to return images.
|
|
136
|
+
*/
|
|
92
137
|
arch?: string;
|
|
93
|
-
/**
|
|
138
|
+
/**
|
|
139
|
+
* Choose the category of images to get.
|
|
140
|
+
*/
|
|
94
141
|
category?: string;
|
|
95
|
-
/**
|
|
142
|
+
/**
|
|
143
|
+
* Choose to include end-of-life images.
|
|
144
|
+
*/
|
|
96
145
|
includeEol: boolean;
|
|
97
146
|
};
|
|
98
147
|
export interface ListImagesResponse {
|
|
@@ -101,38 +150,42 @@ export interface ListImagesResponse {
|
|
|
101
150
|
}
|
|
102
151
|
export type ListLocalImagesRequest = {
|
|
103
152
|
/**
|
|
104
|
-
* A positive integer lower or equal to 100 to select the number of items to
|
|
105
|
-
* display.
|
|
153
|
+
* A positive integer lower or equal to 100 to select the number of items to display.
|
|
106
154
|
*/
|
|
107
155
|
pageSize?: number;
|
|
108
|
-
/**
|
|
156
|
+
/**
|
|
157
|
+
* A positive integer to choose the page to display.
|
|
158
|
+
*/
|
|
109
159
|
page?: number;
|
|
110
|
-
/**
|
|
160
|
+
/**
|
|
161
|
+
* Ordering to use.
|
|
162
|
+
*/
|
|
111
163
|
orderBy?: ListLocalImagesRequestOrderBy;
|
|
112
|
-
/**
|
|
164
|
+
/**
|
|
165
|
+
* Filter local images available on this Availability Zone.
|
|
166
|
+
*/
|
|
113
167
|
zone?: ScwZone;
|
|
114
168
|
/**
|
|
115
169
|
* Filter by image id.
|
|
116
170
|
*
|
|
117
|
-
* One-of ('scope'): at most one of 'imageId', 'versionId', 'imageLabel' could
|
|
118
|
-
* be set.
|
|
171
|
+
* One-of ('scope'): at most one of 'imageId', 'versionId', 'imageLabel' could be set.
|
|
119
172
|
*/
|
|
120
173
|
imageId?: string;
|
|
121
174
|
/**
|
|
122
175
|
* Filter by version id.
|
|
123
176
|
*
|
|
124
|
-
* One-of ('scope'): at most one of 'imageId', 'versionId', 'imageLabel' could
|
|
125
|
-
* be set.
|
|
177
|
+
* One-of ('scope'): at most one of 'imageId', 'versionId', 'imageLabel' could be set.
|
|
126
178
|
*/
|
|
127
179
|
versionId?: string;
|
|
128
180
|
/**
|
|
129
181
|
* Filter by image label.
|
|
130
182
|
*
|
|
131
|
-
* One-of ('scope'): at most one of 'imageId', 'versionId', 'imageLabel' could
|
|
132
|
-
* be set.
|
|
183
|
+
* One-of ('scope'): at most one of 'imageId', 'versionId', 'imageLabel' could be set.
|
|
133
184
|
*/
|
|
134
185
|
imageLabel?: string;
|
|
135
|
-
/**
|
|
186
|
+
/**
|
|
187
|
+
* Filter by type.
|
|
188
|
+
*/
|
|
136
189
|
type?: LocalImageType;
|
|
137
190
|
};
|
|
138
191
|
export interface ListLocalImagesResponse {
|
|
@@ -30,10 +30,7 @@ class NatsAPI extends api.API {
|
|
|
30
30
|
marshalling_gen.unmarshalNatsAccount
|
|
31
31
|
);
|
|
32
32
|
/**
|
|
33
|
-
* Delete a NATS account. Delete a NATS account, specified by its NATS account
|
|
34
|
-
* ID. Note that deleting a NATS account is irreversible, and any credentials,
|
|
35
|
-
* streams, consumer and stored messages belonging to this NATS account will
|
|
36
|
-
* also be deleted.
|
|
33
|
+
* Delete a NATS account. Delete a NATS account, specified by its NATS account ID. Note that deleting a NATS account is irreversible, and any credentials, streams, consumer and stored messages belonging to this NATS account will also be deleted.
|
|
37
34
|
*
|
|
38
35
|
* @param request - The request {@link NatsApiDeleteNatsAccountRequest}
|
|
39
36
|
*/
|
|
@@ -42,8 +39,7 @@ class NatsAPI extends api.API {
|
|
|
42
39
|
path: `/mnq/v1beta1/regions/${marshalling.validatePathParam("region", request.region ?? this.client.settings.defaultRegion)}/nats-accounts/${marshalling.validatePathParam("natsAccountId", request.natsAccountId)}`
|
|
43
40
|
});
|
|
44
41
|
/**
|
|
45
|
-
* Update the name of a NATS account. Update the name of a NATS account,
|
|
46
|
-
* specified by its NATS account ID.
|
|
42
|
+
* Update the name of a NATS account. Update the name of a NATS account, specified by its NATS account ID.
|
|
47
43
|
*
|
|
48
44
|
* @param request - The request {@link NatsApiUpdateNatsAccountRequest}
|
|
49
45
|
* @returns A Promise of NatsAccount
|
|
@@ -60,9 +56,7 @@ class NatsAPI extends api.API {
|
|
|
60
56
|
marshalling_gen.unmarshalNatsAccount
|
|
61
57
|
);
|
|
62
58
|
/**
|
|
63
|
-
* Get a NATS account. Retrieve information about an existing NATS account
|
|
64
|
-
* identified by its NATS account ID. Its full details, including name and
|
|
65
|
-
* endpoint, are returned in the response.
|
|
59
|
+
* Get a NATS account. Retrieve information about an existing NATS account identified by its NATS account ID. Its full details, including name and endpoint, are returned in the response.
|
|
66
60
|
*
|
|
67
61
|
* @param request - The request {@link NatsApiGetNatsAccountRequest}
|
|
68
62
|
* @returns A Promise of NatsAccount
|
|
@@ -91,18 +85,14 @@ class NatsAPI extends api.API {
|
|
|
91
85
|
marshalling_gen.unmarshalListNatsAccountsResponse
|
|
92
86
|
);
|
|
93
87
|
/**
|
|
94
|
-
* List NATS accounts. List all NATS accounts in the specified region, for a
|
|
95
|
-
* Scaleway Organization or Project. By default, the NATS accounts returned in
|
|
96
|
-
* the list are ordered by creation date in ascending order, though this can
|
|
97
|
-
* be modified via the `order_by` field.
|
|
88
|
+
* List NATS accounts. List all NATS accounts in the specified region, for a Scaleway Organization or Project. By default, the NATS accounts returned in the list are ordered by creation date in ascending order, though this can be modified via the `order_by` field.
|
|
98
89
|
*
|
|
99
90
|
* @param request - The request {@link NatsApiListNatsAccountsRequest}
|
|
100
91
|
* @returns A Promise of ListNatsAccountsResponse
|
|
101
92
|
*/
|
|
102
93
|
listNatsAccounts = (request = {}) => resourcePaginator.enrichForPagination("natsAccounts", this.pageOfListNatsAccounts, request);
|
|
103
94
|
/**
|
|
104
|
-
* Create NATS credentials. Create a set of credentials for a NATS account,
|
|
105
|
-
* specified by its NATS account ID.
|
|
95
|
+
* Create NATS credentials. Create a set of credentials for a NATS account, specified by its NATS account ID.
|
|
106
96
|
*
|
|
107
97
|
* @param request - The request {@link NatsApiCreateNatsCredentialsRequest}
|
|
108
98
|
* @returns A Promise of NatsCredentials
|
|
@@ -122,10 +112,7 @@ class NatsAPI extends api.API {
|
|
|
122
112
|
marshalling_gen.unmarshalNatsCredentials
|
|
123
113
|
);
|
|
124
114
|
/**
|
|
125
|
-
* Delete NATS credentials. Delete a set of credentials, specified by their
|
|
126
|
-
* credentials ID. Deleting credentials is irreversible and cannot be undone.
|
|
127
|
-
* The credentials can no longer be used to access the NATS account, and
|
|
128
|
-
* active connections using this credentials will be closed.
|
|
115
|
+
* Delete NATS credentials. Delete a set of credentials, specified by their credentials ID. Deleting credentials is irreversible and cannot be undone. The credentials can no longer be used to access the NATS account, and active connections using this credentials will be closed.
|
|
129
116
|
*
|
|
130
117
|
* @param request - The request {@link NatsApiDeleteNatsCredentialsRequest}
|
|
131
118
|
*/
|
|
@@ -134,10 +121,7 @@ class NatsAPI extends api.API {
|
|
|
134
121
|
path: `/mnq/v1beta1/regions/${marshalling.validatePathParam("region", request.region ?? this.client.settings.defaultRegion)}/nats-credentials/${marshalling.validatePathParam("natsCredentialsId", request.natsCredentialsId)}`
|
|
135
122
|
});
|
|
136
123
|
/**
|
|
137
|
-
* Get NATS credentials. Retrieve an existing set of credentials, identified
|
|
138
|
-
* by the `nats_credentials_id`. The credentials themselves are NOT returned,
|
|
139
|
-
* only their metadata (NATS account ID, credentials name, etc), are returned
|
|
140
|
-
* in the response.
|
|
124
|
+
* Get NATS credentials. Retrieve an existing set of credentials, identified by the `nats_credentials_id`. The credentials themselves are NOT returned, only their metadata (NATS account ID, credentials name, etc), are returned in the response.
|
|
141
125
|
*
|
|
142
126
|
* @param request - The request {@link NatsApiGetNatsCredentialsRequest}
|
|
143
127
|
* @returns A Promise of NatsCredentials
|
|
@@ -167,10 +151,7 @@ class NatsAPI extends api.API {
|
|
|
167
151
|
marshalling_gen.unmarshalListNatsCredentialsResponse
|
|
168
152
|
);
|
|
169
153
|
/**
|
|
170
|
-
* List NATS credentials. List existing credentials in the specified NATS
|
|
171
|
-
* account. The response contains only the metadata for the credentials, not
|
|
172
|
-
* the credentials themselves, which are only returned after a **Create
|
|
173
|
-
* Credentials** call.
|
|
154
|
+
* List NATS credentials. List existing credentials in the specified NATS account. The response contains only the metadata for the credentials, not the credentials themselves, which are only returned after a **Create Credentials** call.
|
|
174
155
|
*
|
|
175
156
|
* @param request - The request {@link NatsApiListNatsCredentialsRequest}
|
|
176
157
|
* @returns A Promise of ListNatsCredentialsResponse
|
|
@@ -185,10 +166,7 @@ class SnsAPI extends api.API {
|
|
|
185
166
|
/** Lists the available regions of the API. */
|
|
186
167
|
static LOCALITIES = ["fr-par", "nl-ams"];
|
|
187
168
|
/**
|
|
188
|
-
* Activate Topics and Events. Activate Topics and Events for the specified
|
|
189
|
-
* Project ID. Topics and Events must be activated before any usage.
|
|
190
|
-
* Activating Topics and Events does not trigger any billing, and you can
|
|
191
|
-
* deactivate at any time.
|
|
169
|
+
* Activate Topics and Events. Activate Topics and Events for the specified Project ID. Topics and Events must be activated before any usage. Activating Topics and Events does not trigger any billing, and you can deactivate at any time.
|
|
192
170
|
*
|
|
193
171
|
* @param request - The request {@link SnsApiActivateSnsRequest}
|
|
194
172
|
* @returns A Promise of SnsInfo
|
|
@@ -205,9 +183,7 @@ class SnsAPI extends api.API {
|
|
|
205
183
|
marshalling_gen.unmarshalSnsInfo
|
|
206
184
|
);
|
|
207
185
|
/**
|
|
208
|
-
* Get Topics and Events info. Retrieve the Topics and Events information of
|
|
209
|
-
* the specified Project ID. Informations include the activation status and
|
|
210
|
-
* the Topics and Events API endpoint URL.
|
|
186
|
+
* Get Topics and Events info. Retrieve the Topics and Events information of the specified Project ID. Informations include the activation status and the Topics and Events API endpoint URL.
|
|
211
187
|
*
|
|
212
188
|
* @param request - The request {@link SnsApiGetSnsInfoRequest}
|
|
213
189
|
* @returns A Promise of SnsInfo
|
|
@@ -224,9 +200,7 @@ class SnsAPI extends api.API {
|
|
|
224
200
|
marshalling_gen.unmarshalSnsInfo
|
|
225
201
|
);
|
|
226
202
|
/**
|
|
227
|
-
* Deactivate Topics and Events. Deactivate Topics and Events for the
|
|
228
|
-
* specified Project ID. You must delete all topics and credentials before
|
|
229
|
-
* this call or you need to set the force_delete parameter.
|
|
203
|
+
* Deactivate Topics and Events. Deactivate Topics and Events for the specified Project ID. You must delete all topics and credentials before this call or you need to set the force_delete parameter.
|
|
230
204
|
*
|
|
231
205
|
* @param request - The request {@link SnsApiDeactivateSnsRequest}
|
|
232
206
|
* @returns A Promise of SnsInfo
|
|
@@ -243,9 +217,7 @@ class SnsAPI extends api.API {
|
|
|
243
217
|
marshalling_gen.unmarshalSnsInfo
|
|
244
218
|
);
|
|
245
219
|
/**
|
|
246
|
-
* Create Topics and Events credentials. Create a set of credentials for
|
|
247
|
-
* Topics and Events, specified by a Project ID. Credentials give the bearer
|
|
248
|
-
* access to topics, and the level of permissions can be defined granularly.
|
|
220
|
+
* Create Topics and Events credentials. Create a set of credentials for Topics and Events, specified by a Project ID. Credentials give the bearer access to topics, and the level of permissions can be defined granularly.
|
|
249
221
|
*
|
|
250
222
|
* @param request - The request {@link SnsApiCreateSnsCredentialsRequest}
|
|
251
223
|
* @returns A Promise of SnsCredentials
|
|
@@ -265,10 +237,7 @@ class SnsAPI extends api.API {
|
|
|
265
237
|
marshalling_gen.unmarshalSnsCredentials
|
|
266
238
|
);
|
|
267
239
|
/**
|
|
268
|
-
* Delete Topics and Events credentials. Delete a set of Topics and Events
|
|
269
|
-
* credentials, specified by their credentials ID. Deleting credentials is
|
|
270
|
-
* irreversible and cannot be undone. The credentials can then no longer be
|
|
271
|
-
* used to access Topics and Events.
|
|
240
|
+
* Delete Topics and Events credentials. Delete a set of Topics and Events credentials, specified by their credentials ID. Deleting credentials is irreversible and cannot be undone. The credentials can then no longer be used to access Topics and Events.
|
|
272
241
|
*
|
|
273
242
|
* @param request - The request {@link SnsApiDeleteSnsCredentialsRequest}
|
|
274
243
|
*/
|
|
@@ -277,8 +246,7 @@ class SnsAPI extends api.API {
|
|
|
277
246
|
path: `/mnq/v1beta1/regions/${marshalling.validatePathParam("region", request.region ?? this.client.settings.defaultRegion)}/sns-credentials/${marshalling.validatePathParam("snsCredentialsId", request.snsCredentialsId)}`
|
|
278
247
|
});
|
|
279
248
|
/**
|
|
280
|
-
* Update Topics and Events credentials. Update a set of Topics and Events
|
|
281
|
-
* credentials. You can update the credentials' name, or their permissions.
|
|
249
|
+
* Update Topics and Events credentials. Update a set of Topics and Events credentials. You can update the credentials' name, or their permissions.
|
|
282
250
|
*
|
|
283
251
|
* @param request - The request {@link SnsApiUpdateSnsCredentialsRequest}
|
|
284
252
|
* @returns A Promise of SnsCredentials
|
|
@@ -298,9 +266,7 @@ class SnsAPI extends api.API {
|
|
|
298
266
|
marshalling_gen.unmarshalSnsCredentials
|
|
299
267
|
);
|
|
300
268
|
/**
|
|
301
|
-
* Get Topics and Events credentials. Retrieve an existing set of credentials,
|
|
302
|
-
* identified by the `credentials_id`. The credentials themselves, as well as
|
|
303
|
-
* their metadata (name, project ID etc), are returned in the response.
|
|
269
|
+
* Get Topics and Events credentials. Retrieve an existing set of credentials, identified by the `credentials_id`. The credentials themselves, as well as their metadata (name, project ID etc), are returned in the response.
|
|
304
270
|
*
|
|
305
271
|
* @param request - The request {@link SnsApiGetSnsCredentialsRequest}
|
|
306
272
|
* @returns A Promise of SnsCredentials
|
|
@@ -329,9 +295,7 @@ class SnsAPI extends api.API {
|
|
|
329
295
|
marshalling_gen.unmarshalListSnsCredentialsResponse
|
|
330
296
|
);
|
|
331
297
|
/**
|
|
332
|
-
* List Topics and Events credentials. List existing Topics and Events
|
|
333
|
-
* credentials in the specified region. The response contains only the
|
|
334
|
-
* metadata for the credentials, not the credentials themselves.
|
|
298
|
+
* List Topics and Events credentials. List existing Topics and Events credentials in the specified region. The response contains only the metadata for the credentials, not the credentials themselves.
|
|
335
299
|
*
|
|
336
300
|
* @param request - The request {@link SnsApiListSnsCredentialsRequest}
|
|
337
301
|
* @returns A Promise of ListSnsCredentialsResponse
|
|
@@ -346,10 +310,7 @@ class SqsAPI extends api.API {
|
|
|
346
310
|
/** Lists the available regions of the API. */
|
|
347
311
|
static LOCALITIES = ["fr-par", "nl-ams"];
|
|
348
312
|
/**
|
|
349
|
-
* Activate Queues. Activate Queues for the specified Project ID. Queues must
|
|
350
|
-
* be activated before any usage such as creating credentials and queues.
|
|
351
|
-
* Activating Queues does not trigger any billing, and you can deactivate at
|
|
352
|
-
* any time.
|
|
313
|
+
* Activate Queues. Activate Queues for the specified Project ID. Queues must be activated before any usage such as creating credentials and queues. Activating Queues does not trigger any billing, and you can deactivate at any time.
|
|
353
314
|
*
|
|
354
315
|
* @param request - The request {@link SqsApiActivateSqsRequest}
|
|
355
316
|
* @returns A Promise of SqsInfo
|
|
@@ -366,9 +327,7 @@ class SqsAPI extends api.API {
|
|
|
366
327
|
marshalling_gen.unmarshalSqsInfo
|
|
367
328
|
);
|
|
368
329
|
/**
|
|
369
|
-
* Get Queues info. Retrieve the Queues information of the specified Project
|
|
370
|
-
* ID. Informations include the activation status and the Queues API endpoint
|
|
371
|
-
* URL.
|
|
330
|
+
* Get Queues info. Retrieve the Queues information of the specified Project ID. Informations include the activation status and the Queues API endpoint URL.
|
|
372
331
|
*
|
|
373
332
|
* @param request - The request {@link SqsApiGetSqsInfoRequest}
|
|
374
333
|
* @returns A Promise of SqsInfo
|
|
@@ -385,9 +344,7 @@ class SqsAPI extends api.API {
|
|
|
385
344
|
marshalling_gen.unmarshalSqsInfo
|
|
386
345
|
);
|
|
387
346
|
/**
|
|
388
|
-
* Deactivate Queues. Deactivate Queues for the specified Project ID. You must
|
|
389
|
-
* delete all queues and credentials before this call or you need to set the
|
|
390
|
-
* force_delete parameter.
|
|
347
|
+
* Deactivate Queues. Deactivate Queues for the specified Project ID. You must delete all queues and credentials before this call or you need to set the force_delete parameter.
|
|
391
348
|
*
|
|
392
349
|
* @param request - The request {@link SqsApiDeactivateSqsRequest}
|
|
393
350
|
* @returns A Promise of SqsInfo
|
|
@@ -404,9 +361,7 @@ class SqsAPI extends api.API {
|
|
|
404
361
|
marshalling_gen.unmarshalSqsInfo
|
|
405
362
|
);
|
|
406
363
|
/**
|
|
407
|
-
* Create Queues credentials. Create a set of credentials for Queues,
|
|
408
|
-
* specified by a Project ID. Credentials give the bearer access to queues,
|
|
409
|
-
* and the level of permissions can be defined granularly.
|
|
364
|
+
* Create Queues credentials. Create a set of credentials for Queues, specified by a Project ID. Credentials give the bearer access to queues, and the level of permissions can be defined granularly.
|
|
410
365
|
*
|
|
411
366
|
* @param request - The request {@link SqsApiCreateSqsCredentialsRequest}
|
|
412
367
|
* @returns A Promise of SqsCredentials
|
|
@@ -426,9 +381,7 @@ class SqsAPI extends api.API {
|
|
|
426
381
|
marshalling_gen.unmarshalSqsCredentials
|
|
427
382
|
);
|
|
428
383
|
/**
|
|
429
|
-
* Delete Queues credentials. Delete a set of Queues credentials, specified by
|
|
430
|
-
* their credentials ID. Deleting credentials is irreversible and cannot be
|
|
431
|
-
* undone. The credentials can then no longer be used to access Queues.
|
|
384
|
+
* Delete Queues credentials. Delete a set of Queues credentials, specified by their credentials ID. Deleting credentials is irreversible and cannot be undone. The credentials can then no longer be used to access Queues.
|
|
432
385
|
*
|
|
433
386
|
* @param request - The request {@link SqsApiDeleteSqsCredentialsRequest}
|
|
434
387
|
*/
|
|
@@ -437,8 +390,7 @@ class SqsAPI extends api.API {
|
|
|
437
390
|
path: `/mnq/v1beta1/regions/${marshalling.validatePathParam("region", request.region ?? this.client.settings.defaultRegion)}/sqs-credentials/${marshalling.validatePathParam("sqsCredentialsId", request.sqsCredentialsId)}`
|
|
438
391
|
});
|
|
439
392
|
/**
|
|
440
|
-
* Update Queues credentials. Update a set of Queues credentials. You can
|
|
441
|
-
* update the credentials' name, or their permissions.
|
|
393
|
+
* Update Queues credentials. Update a set of Queues credentials. You can update the credentials' name, or their permissions.
|
|
442
394
|
*
|
|
443
395
|
* @param request - The request {@link SqsApiUpdateSqsCredentialsRequest}
|
|
444
396
|
* @returns A Promise of SqsCredentials
|
|
@@ -458,9 +410,7 @@ class SqsAPI extends api.API {
|
|
|
458
410
|
marshalling_gen.unmarshalSqsCredentials
|
|
459
411
|
);
|
|
460
412
|
/**
|
|
461
|
-
* Get Queues credentials. Retrieve an existing set of credentials, identified
|
|
462
|
-
* by the `credentials_id`. The credentials themselves, as well as their
|
|
463
|
-
* metadata (name, project ID etc), are returned in the response.
|
|
413
|
+
* Get Queues credentials. Retrieve an existing set of credentials, identified by the `credentials_id`. The credentials themselves, as well as their metadata (name, project ID etc), are returned in the response.
|
|
464
414
|
*
|
|
465
415
|
* @param request - The request {@link SqsApiGetSqsCredentialsRequest}
|
|
466
416
|
* @returns A Promise of SqsCredentials
|
|
@@ -489,9 +439,7 @@ class SqsAPI extends api.API {
|
|
|
489
439
|
marshalling_gen.unmarshalListSqsCredentialsResponse
|
|
490
440
|
);
|
|
491
441
|
/**
|
|
492
|
-
* List Queues credentials. List existing Queues credentials in the specified
|
|
493
|
-
* region. The response contains only the metadata for the credentials, not
|
|
494
|
-
* the credentials themselves.
|
|
442
|
+
* List Queues credentials. List existing Queues credentials in the specified region. The response contains only the metadata for the credentials, not the credentials themselves.
|
|
495
443
|
*
|
|
496
444
|
* @param request - The request {@link SqsApiListSqsCredentialsRequest}
|
|
497
445
|
* @returns A Promise of ListSqsCredentialsResponse
|