@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
|
@@ -4,8 +4,8 @@ import type { ApplyBlockMigrationRequest, AttachServerVolumeRequest, AttachServe
|
|
|
4
4
|
import type { SetImageResponse, SetSecurityGroupRequest, SetSecurityGroupResponse, SetSecurityGroupRuleRequest, SetSecurityGroupRuleResponse, SetServerRequest, SetServerResponse, SetSnapshotRequest, SetSnapshotResponse } from './types.private.gen';
|
|
5
5
|
/**
|
|
6
6
|
* Instance API.
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
|
|
8
|
+
This API allows you to manage your CPU and GPU Instances.
|
|
9
9
|
*/
|
|
10
10
|
export declare class API extends ParentAPI {
|
|
11
11
|
/** Lists the available zones of the API. */
|
|
@@ -18,8 +18,7 @@ export declare class API extends ParentAPI {
|
|
|
18
18
|
*/
|
|
19
19
|
getServerTypesAvailability: (request?: Readonly<GetServerTypesAvailabilityRequest>) => Promise<GetServerTypesAvailabilityResponse>;
|
|
20
20
|
/**
|
|
21
|
-
* List Instance types. List available Instance types and their technical
|
|
22
|
-
* details.
|
|
21
|
+
* List Instance types. List available Instance types and their technical details.
|
|
23
22
|
*
|
|
24
23
|
* @param request - The request {@link ListServersTypesRequest}
|
|
25
24
|
* @returns A Promise of ListServersTypesResponse
|
|
@@ -34,8 +33,7 @@ export declare class API extends ParentAPI {
|
|
|
34
33
|
listVolumesTypes: (request?: Readonly<ListVolumesTypesRequest>) => Promise<ListVolumesTypesResponse>;
|
|
35
34
|
protected pageOfListServers: (request?: Readonly<ListServersRequest>) => Promise<ListServersResponse>;
|
|
36
35
|
/**
|
|
37
|
-
* List all Instances. List all Instances in a specified Availability Zone,
|
|
38
|
-
* e.g. `fr-par-1`.
|
|
36
|
+
* List all Instances. List all Instances in a specified Availability Zone, e.g. `fr-par-1`.
|
|
39
37
|
*
|
|
40
38
|
* @param request - The request {@link ListServersRequest}
|
|
41
39
|
* @returns A Promise of ListServersResponse
|
|
@@ -61,34 +59,29 @@ export declare class API extends ParentAPI {
|
|
|
61
59
|
protected _setServer: (request: Readonly<SetServerRequest>) => Promise<SetServerResponse>;
|
|
62
60
|
protected _updateServer: (request: Readonly<UpdateServerRequest>) => Promise<UpdateServerResponse>;
|
|
63
61
|
/**
|
|
64
|
-
* List Instance actions. List all actions (e.g. power on, power off, reboot)
|
|
65
|
-
* that can currently be performed on an Instance.
|
|
62
|
+
* List Instance actions. List all actions (e.g. power on, power off, reboot) that can currently be performed on an Instance.
|
|
66
63
|
*
|
|
67
64
|
* @param request - The request {@link ListServerActionsRequest}
|
|
68
65
|
* @returns A Promise of ListServerActionsResponse
|
|
69
66
|
*/
|
|
70
67
|
listServerActions: (request: Readonly<ListServerActionsRequest>) => Promise<ListServerActionsResponse>;
|
|
71
68
|
/**
|
|
72
|
-
* Perform action. Perform an action on an Instance.
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
* `scratch` volumes types. `volumes` key in the body with a dictionary as
|
|
89
|
-
* value, in this dictionary volumes UUID as keys and empty dictionaries as
|
|
90
|
-
* values : an image is created with the snapshots of the volumes in `volumes`
|
|
91
|
-
* key. `scratch` volumes types can't be shapshotted.
|
|
69
|
+
* Perform action. Perform an action on an Instance.
|
|
70
|
+
Available actions are:
|
|
71
|
+
* `poweron`: Start a stopped Instance.
|
|
72
|
+
* `poweroff`: Fully stop the Instance and release the hypervisor slot.
|
|
73
|
+
* `stop_in_place`: Stop the Instance, but keep the slot on the hypervisor.
|
|
74
|
+
* `reboot`: Stop the instance and restart it.
|
|
75
|
+
* `backup`: Create an image with all the volumes of an Instance.
|
|
76
|
+
* `terminate`: Delete the Instance along with its attached volumes, except for SBS volumes.
|
|
77
|
+
* `enable_routed_ip`: Migrate the Instance to the new network stack.
|
|
78
|
+
|
|
79
|
+
The `terminate` action will result in the deletion of `l_ssd`, `b_ssd` and `scratch` volumes types, `sbs_volume` volumes type will only be detached.
|
|
80
|
+
If you want to preserve your volumes, you should detach them before the Instance deletion or `terminate` action.
|
|
81
|
+
|
|
82
|
+
The `backup` action can be done with:
|
|
83
|
+
* No `volumes` key in the body: an image is created with snapshots of all the server volumes, except for the `scratch` volumes types.
|
|
84
|
+
* `volumes` key in the body with a dictionary as value, in this dictionary volumes UUID as keys and empty dictionaries as values : an image is created with the snapshots of the volumes in `volumes` key. `scratch` volumes types can't be shapshotted.
|
|
92
85
|
*
|
|
93
86
|
* @param request - The request {@link ServerActionRequest}
|
|
94
87
|
* @returns A Promise of ServerActionResponse
|
|
@@ -108,12 +101,12 @@ export declare class API extends ParentAPI {
|
|
|
108
101
|
*/
|
|
109
102
|
deleteServerUserData: (request: Readonly<DeleteServerUserDataRequest>) => Promise<void>;
|
|
110
103
|
/**
|
|
111
|
-
* Get Instance compatible types. Get compatible commercial types that can be
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
104
|
+
* Get Instance compatible types. Get compatible commercial types that can be used to update the Instance. The compatibility of an Instance offer is based on:
|
|
105
|
+
* the CPU architecture
|
|
106
|
+
* the OS type
|
|
107
|
+
* the required l_ssd storage size
|
|
108
|
+
* the required scratch storage size
|
|
109
|
+
If the specified Instance offer is flagged as end of service, the best compatible offer is the first returned.
|
|
117
110
|
*
|
|
118
111
|
* @param request - The request {@link GetServerCompatibleTypesRequest}
|
|
119
112
|
* @returns A Promise of ServerCompatibleTypes
|
|
@@ -140,8 +133,7 @@ export declare class API extends ParentAPI {
|
|
|
140
133
|
*/
|
|
141
134
|
getImage: (request: Readonly<GetImageRequest>) => Promise<GetImageResponse>;
|
|
142
135
|
/**
|
|
143
|
-
* Create an Instance image. Create an Instance image from the specified
|
|
144
|
-
* snapshot ID.
|
|
136
|
+
* Create an Instance image. Create an Instance image from the specified snapshot ID.
|
|
145
137
|
*
|
|
146
138
|
* @param request - The request {@link CreateImageRequest}
|
|
147
139
|
* @returns A Promise of CreateImageResponse
|
|
@@ -163,8 +155,7 @@ export declare class API extends ParentAPI {
|
|
|
163
155
|
deleteImage: (request: Readonly<DeleteImageRequest>) => Promise<void>;
|
|
164
156
|
protected pageOfListSnapshots: (request?: Readonly<ListSnapshotsRequest>) => Promise<ListSnapshotsResponse>;
|
|
165
157
|
/**
|
|
166
|
-
* List snapshots. List all snapshots of an Organization in a specified
|
|
167
|
-
* Availability Zone.
|
|
158
|
+
* List snapshots. List all snapshots of an Organization in a specified Availability Zone.
|
|
168
159
|
*
|
|
169
160
|
* @param request - The request {@link ListSnapshotsRequest}
|
|
170
161
|
* @returns A Promise of ListSnapshotsResponse
|
|
@@ -174,9 +165,7 @@ export declare class API extends ParentAPI {
|
|
|
174
165
|
[Symbol.asyncIterator]: () => AsyncGenerator<import("./types.gen").Snapshot[], void, void>;
|
|
175
166
|
};
|
|
176
167
|
/**
|
|
177
|
-
* Create a snapshot from a specified volume or from a QCOW2 file. Create a
|
|
178
|
-
* snapshot from a specified volume or from a QCOW2 file in a specified
|
|
179
|
-
* Availability Zone.
|
|
168
|
+
* Create a snapshot from a specified volume or from a QCOW2 file. Create a snapshot from a specified volume or from a QCOW2 file in a specified Availability Zone.
|
|
180
169
|
*
|
|
181
170
|
* @param request - The request {@link CreateSnapshotRequest}
|
|
182
171
|
* @returns A Promise of CreateSnapshotResponse
|
|
@@ -204,8 +193,7 @@ export declare class API extends ParentAPI {
|
|
|
204
193
|
*/
|
|
205
194
|
deleteSnapshot: (request: Readonly<DeleteSnapshotRequest>) => Promise<void>;
|
|
206
195
|
/**
|
|
207
|
-
* Export a snapshot. Export a snapshot to a specified Object Storage bucket
|
|
208
|
-
* in the same region.
|
|
196
|
+
* Export a snapshot. Export a snapshot to a specified Object Storage bucket in the same region.
|
|
209
197
|
*
|
|
210
198
|
* @param request - The request {@link ExportSnapshotRequest}
|
|
211
199
|
* @returns A Promise of ExportSnapshotResponse
|
|
@@ -213,8 +201,7 @@ export declare class API extends ParentAPI {
|
|
|
213
201
|
exportSnapshot: (request: Readonly<ExportSnapshotRequest>) => Promise<ExportSnapshotResponse>;
|
|
214
202
|
protected pageOfListVolumes: (request?: Readonly<ListVolumesRequest>) => Promise<ListVolumesResponse>;
|
|
215
203
|
/**
|
|
216
|
-
* List volumes. List volumes in the specified Availability Zone. You can
|
|
217
|
-
* filter the output by volume type.
|
|
204
|
+
* List volumes. List volumes in the specified Availability Zone. You can filter the output by volume type.
|
|
218
205
|
*
|
|
219
206
|
* @param request - The request {@link ListVolumesRequest}
|
|
220
207
|
* @returns A Promise of ListVolumesResponse
|
|
@@ -224,8 +211,7 @@ export declare class API extends ParentAPI {
|
|
|
224
211
|
[Symbol.asyncIterator]: () => AsyncGenerator<import("./types.gen").Volume[], void, void>;
|
|
225
212
|
};
|
|
226
213
|
/**
|
|
227
|
-
* Create a volume. Create a volume of a specified type in an Availability
|
|
228
|
-
* Zone.
|
|
214
|
+
* Create a volume. Create a volume of a specified type in an Availability Zone.
|
|
229
215
|
*
|
|
230
216
|
* @param request - The request {@link CreateVolumeRequest}
|
|
231
217
|
* @returns A Promise of CreateVolumeResponse
|
|
@@ -239,9 +225,7 @@ export declare class API extends ParentAPI {
|
|
|
239
225
|
*/
|
|
240
226
|
getVolume: (request: Readonly<GetVolumeRequest>) => Promise<GetVolumeResponse>;
|
|
241
227
|
/**
|
|
242
|
-
* Update a volume. Replace the name and/or size properties of a volume
|
|
243
|
-
* specified by its ID, with the specified value(s). Any volume name can be
|
|
244
|
-
* changed, however only `b_ssd` volumes can currently be increased in size.
|
|
228
|
+
* Update a volume. Replace the name and/or size properties of a volume specified by its ID, with the specified value(s). Any volume name can be changed, however only `b_ssd` volumes can currently be increased in size.
|
|
245
229
|
*
|
|
246
230
|
* @param request - The request {@link UpdateVolumeRequest}
|
|
247
231
|
* @returns A Promise of UpdateVolumeResponse
|
|
@@ -265,16 +249,14 @@ export declare class API extends ParentAPI {
|
|
|
265
249
|
[Symbol.asyncIterator]: () => AsyncGenerator<import("./types.gen").SecurityGroup[], void, void>;
|
|
266
250
|
};
|
|
267
251
|
/**
|
|
268
|
-
* Create a security group. Create a security group with a specified name and
|
|
269
|
-
* description.
|
|
252
|
+
* Create a security group. Create a security group with a specified name and description.
|
|
270
253
|
*
|
|
271
254
|
* @param request - The request {@link CreateSecurityGroupRequest}
|
|
272
255
|
* @returns A Promise of CreateSecurityGroupResponse
|
|
273
256
|
*/
|
|
274
257
|
createSecurityGroup: (request: Readonly<CreateSecurityGroupRequest>) => Promise<CreateSecurityGroupResponse>;
|
|
275
258
|
/**
|
|
276
|
-
* Get a security group. Get the details of a security group with the
|
|
277
|
-
* specified ID.
|
|
259
|
+
* Get a security group. Get the details of a security group with the specified ID.
|
|
278
260
|
*
|
|
279
261
|
* @param request - The request {@link GetSecurityGroupRequest}
|
|
280
262
|
* @returns A Promise of GetSecurityGroupResponse
|
|
@@ -295,8 +277,7 @@ export declare class API extends ParentAPI {
|
|
|
295
277
|
*/
|
|
296
278
|
updateSecurityGroup: (request: Readonly<UpdateSecurityGroupRequest>) => Promise<UpdateSecurityGroupResponse>;
|
|
297
279
|
/**
|
|
298
|
-
* Get default rules. Lists the default rules applied to all the security
|
|
299
|
-
* groups.
|
|
280
|
+
* Get default rules. Lists the default rules applied to all the security groups.
|
|
300
281
|
*
|
|
301
282
|
* @param request - The request {@link ListDefaultSecurityGroupRulesRequest}
|
|
302
283
|
* @returns A Promise of ListSecurityGroupRulesResponse
|
|
@@ -321,10 +302,7 @@ export declare class API extends ParentAPI {
|
|
|
321
302
|
*/
|
|
322
303
|
createSecurityGroupRule: (request: Readonly<CreateSecurityGroupRuleRequest>) => Promise<CreateSecurityGroupRuleResponse>;
|
|
323
304
|
/**
|
|
324
|
-
* Update all the rules of a security group. Replaces the existing rules of
|
|
325
|
-
* the security group with the rules provided. This endpoint supports the
|
|
326
|
-
* update of existing rules, creation of new rules and deletion of existing
|
|
327
|
-
* rules when they are not passed in the request.
|
|
305
|
+
* Update all the rules of a security group. Replaces the existing rules of the security group with the rules provided. This endpoint supports the update of existing rules, creation of new rules and deletion of existing rules when they are not passed in the request.
|
|
328
306
|
*
|
|
329
307
|
* @param request - The request {@link SetSecurityGroupRulesRequest}
|
|
330
308
|
* @returns A Promise of SetSecurityGroupRulesResponse
|
|
@@ -345,8 +323,7 @@ export declare class API extends ParentAPI {
|
|
|
345
323
|
getSecurityGroupRule: (request: Readonly<GetSecurityGroupRuleRequest>) => Promise<GetSecurityGroupRuleResponse>;
|
|
346
324
|
protected _setSecurityGroupRule: (request: Readonly<SetSecurityGroupRuleRequest>) => Promise<SetSecurityGroupRuleResponse>;
|
|
347
325
|
/**
|
|
348
|
-
* Update security group rule. Update the properties of a rule from a
|
|
349
|
-
* specified security group.
|
|
326
|
+
* Update security group rule. Update the properties of a rule from a specified security group.
|
|
350
327
|
*
|
|
351
328
|
* @param request - The request {@link UpdateSecurityGroupRuleRequest}
|
|
352
329
|
* @returns A Promise of UpdateSecurityGroupRuleResponse
|
|
@@ -354,8 +331,7 @@ export declare class API extends ParentAPI {
|
|
|
354
331
|
updateSecurityGroupRule: (request: Readonly<UpdateSecurityGroupRuleRequest>) => Promise<UpdateSecurityGroupRuleResponse>;
|
|
355
332
|
protected pageOfListPlacementGroups: (request?: Readonly<ListPlacementGroupsRequest>) => Promise<ListPlacementGroupsResponse>;
|
|
356
333
|
/**
|
|
357
|
-
* List placement groups. List all placement groups in a specified
|
|
358
|
-
* Availability Zone.
|
|
334
|
+
* List placement groups. List all placement groups in a specified Availability Zone.
|
|
359
335
|
*
|
|
360
336
|
* @param request - The request {@link ListPlacementGroupsRequest}
|
|
361
337
|
* @returns A Promise of ListPlacementGroupsResponse
|
|
@@ -365,8 +341,7 @@ export declare class API extends ParentAPI {
|
|
|
365
341
|
[Symbol.asyncIterator]: () => AsyncGenerator<import("./types.gen").PlacementGroup[], void, void>;
|
|
366
342
|
};
|
|
367
343
|
/**
|
|
368
|
-
* Create a placement group. Create a new placement group in a specified
|
|
369
|
-
* Availability Zone.
|
|
344
|
+
* Create a placement group. Create a new placement group in a specified Availability Zone.
|
|
370
345
|
*
|
|
371
346
|
* @param request - The request {@link CreatePlacementGroupRequest}
|
|
372
347
|
* @returns A Promise of CreatePlacementGroupResponse
|
|
@@ -387,8 +362,7 @@ export declare class API extends ParentAPI {
|
|
|
387
362
|
*/
|
|
388
363
|
setPlacementGroup: (request: Readonly<SetPlacementGroupRequest>) => Promise<SetPlacementGroupResponse>;
|
|
389
364
|
/**
|
|
390
|
-
* Update a placement group. Update one or more parameter of the specified
|
|
391
|
-
* placement group.
|
|
365
|
+
* Update a placement group. Update one or more parameter of the specified placement group.
|
|
392
366
|
*
|
|
393
367
|
* @param request - The request {@link UpdatePlacementGroupRequest}
|
|
394
368
|
* @returns A Promise of UpdatePlacementGroupResponse
|
|
@@ -401,24 +375,21 @@ export declare class API extends ParentAPI {
|
|
|
401
375
|
*/
|
|
402
376
|
deletePlacementGroup: (request: Readonly<DeletePlacementGroupRequest>) => Promise<void>;
|
|
403
377
|
/**
|
|
404
|
-
* Get placement group servers. Get all Instances belonging to the specified
|
|
405
|
-
* placement group.
|
|
378
|
+
* Get placement group servers. Get all Instances belonging to the specified placement group.
|
|
406
379
|
*
|
|
407
380
|
* @param request - The request {@link GetPlacementGroupServersRequest}
|
|
408
381
|
* @returns A Promise of GetPlacementGroupServersResponse
|
|
409
382
|
*/
|
|
410
383
|
getPlacementGroupServers: (request: Readonly<GetPlacementGroupServersRequest>) => Promise<GetPlacementGroupServersResponse>;
|
|
411
384
|
/**
|
|
412
|
-
* Set placement group servers. Set all Instances belonging to the specified
|
|
413
|
-
* placement group.
|
|
385
|
+
* Set placement group servers. Set all Instances belonging to the specified placement group.
|
|
414
386
|
*
|
|
415
387
|
* @param request - The request {@link SetPlacementGroupServersRequest}
|
|
416
388
|
* @returns A Promise of SetPlacementGroupServersResponse
|
|
417
389
|
*/
|
|
418
390
|
setPlacementGroupServers: (request: Readonly<SetPlacementGroupServersRequest>) => Promise<SetPlacementGroupServersResponse>;
|
|
419
391
|
/**
|
|
420
|
-
* Update placement group servers. Update all Instances belonging to the
|
|
421
|
-
* specified placement group.
|
|
392
|
+
* Update placement group servers. Update all Instances belonging to the specified placement group.
|
|
422
393
|
*
|
|
423
394
|
* @param request - The request {@link UpdatePlacementGroupServersRequest}
|
|
424
395
|
* @returns A Promise of UpdatePlacementGroupServersResponse
|
|
@@ -436,8 +407,7 @@ export declare class API extends ParentAPI {
|
|
|
436
407
|
[Symbol.asyncIterator]: () => AsyncGenerator<import("./types.gen").Ip[], void, void>;
|
|
437
408
|
};
|
|
438
409
|
/**
|
|
439
|
-
* Reserve a flexible IP. Reserve a flexible IP and attach it to the specified
|
|
440
|
-
* Instance.
|
|
410
|
+
* Reserve a flexible IP. Reserve a flexible IP and attach it to the specified Instance.
|
|
441
411
|
*
|
|
442
412
|
* @param request - The request {@link CreateIpRequest}
|
|
443
413
|
* @returns A Promise of CreateIpResponse
|
|
@@ -451,8 +421,7 @@ export declare class API extends ParentAPI {
|
|
|
451
421
|
*/
|
|
452
422
|
getIp: (request: Readonly<GetIpRequest>) => Promise<GetIpResponse>;
|
|
453
423
|
/**
|
|
454
|
-
* Update a flexible IP. Update a flexible IP in the specified zone with the
|
|
455
|
-
* specified ID.
|
|
424
|
+
* Update a flexible IP. Update a flexible IP in the specified zone with the specified ID.
|
|
456
425
|
*
|
|
457
426
|
* @param request - The request {@link UpdateIpRequest}
|
|
458
427
|
* @returns A Promise of UpdateIpResponse
|
|
@@ -490,8 +459,7 @@ export declare class API extends ParentAPI {
|
|
|
490
459
|
*/
|
|
491
460
|
getPrivateNIC: (request: Readonly<GetPrivateNICRequest>) => Promise<GetPrivateNICResponse>;
|
|
492
461
|
/**
|
|
493
|
-
* Update a private NIC. Update one or more parameter(s) of a specified
|
|
494
|
-
* private NIC.
|
|
462
|
+
* Update a private NIC. Update one or more parameter(s) of a specified private NIC.
|
|
495
463
|
*
|
|
496
464
|
* @param request - The request {@link UpdatePrivateNICRequest}
|
|
497
465
|
* @returns A Promise of PrivateNIC
|
|
@@ -505,35 +473,18 @@ export declare class API extends ParentAPI {
|
|
|
505
473
|
deletePrivateNIC: (request: Readonly<DeletePrivateNICRequest>) => Promise<void>;
|
|
506
474
|
getDashboard: (request?: Readonly<GetDashboardRequest>) => Promise<GetDashboardResponse>;
|
|
507
475
|
/**
|
|
508
|
-
* Get a volume or snapshot's migration plan. Given a volume or snapshot,
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
* endpoint afterward. The endpoint returns the resources that should be
|
|
514
|
-
* migrated together:
|
|
515
|
-
*
|
|
516
|
-
* - The volume and any snapshots created from the volume, if the call was made
|
|
517
|
-
* to plan a volume migration.
|
|
518
|
-
* - The base volume of the snapshot (if the volume is not deleted) and its
|
|
519
|
-
* related snapshots, if the call was made to plan a snapshot migration. The
|
|
520
|
-
* endpoint also returns the validation_key, which must be provided to the
|
|
521
|
-
* [Migrate a volume and/or snapshots to
|
|
522
|
-
* SBS](#path-volumes-migrate-a-volume-andor-snapshots-to-sbs-scaleway-block-storage)
|
|
523
|
-
* endpoint to confirm that all resources listed in the plan should be
|
|
524
|
-
* migrated.
|
|
476
|
+
* Get a volume or snapshot's migration plan. Given a volume or snapshot, returns the migration plan but does not perform the actual migration. To perform the migration, you have to call the [Migrate a volume and/or snapshots to SBS](#path-volumes-migrate-a-volume-andor-snapshots-to-sbs-scaleway-block-storage) endpoint afterward.
|
|
477
|
+
The endpoint returns the resources that should be migrated together:
|
|
478
|
+
- the volume and any snapshots created from the volume, if the call was made to plan a volume migration.
|
|
479
|
+
- the base volume of the snapshot (if the volume is not deleted) and its related snapshots, if the call was made to plan a snapshot migration.
|
|
480
|
+
The endpoint also returns the validation_key, which must be provided to the [Migrate a volume and/or snapshots to SBS](#path-volumes-migrate-a-volume-andor-snapshots-to-sbs-scaleway-block-storage) endpoint to confirm that all resources listed in the plan should be migrated.
|
|
525
481
|
*
|
|
526
482
|
* @param request - The request {@link PlanBlockMigrationRequest}
|
|
527
483
|
* @returns A Promise of MigrationPlan
|
|
528
484
|
*/
|
|
529
485
|
planBlockMigration: (request?: Readonly<PlanBlockMigrationRequest>) => Promise<MigrationPlan>;
|
|
530
486
|
/**
|
|
531
|
-
* Migrate a volume and/or snapshots to SBS (Scaleway Block Storage). To be
|
|
532
|
-
* used, the call to this endpoint must be preceded by a call to the [Get a
|
|
533
|
-
* volume or snapshot's migration
|
|
534
|
-
* plan](#path-volumes-get-a-volume-or-snapshots-migration-plan) endpoint. To
|
|
535
|
-
* migrate all resources mentioned in the migration plan, the validation_key
|
|
536
|
-
* returned in the plan must be provided.
|
|
487
|
+
* Migrate a volume and/or snapshots to SBS (Scaleway Block Storage). To be used, the call to this endpoint must be preceded by a call to the [Get a volume or snapshot's migration plan](#path-volumes-get-a-volume-or-snapshots-migration-plan) endpoint. To migrate all resources mentioned in the migration plan, the validation_key returned in the plan must be provided.
|
|
537
488
|
*
|
|
538
489
|
* @param request - The request {@link ApplyBlockMigrationRequest}
|
|
539
490
|
*/
|