@scaleway/sdk 2.72.0 → 2.74.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/index.gen.d.ts +1 -1
- package/dist/api/account/v3/marshalling.gen.cjs +94 -65
- package/dist/api/account/v3/marshalling.gen.js +94 -65
- package/dist/api/account/v3/types.gen.d.ts +224 -104
- 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 +132 -156
- package/dist/api/cockpit/v1/api.gen.d.ts +66 -113
- package/dist/api/cockpit/v1/api.gen.js +133 -157
- package/dist/api/cockpit/v1/index.gen.d.ts +1 -1
- package/dist/api/cockpit/v1/marshalling.gen.cjs +23 -0
- package/dist/api/cockpit/v1/marshalling.gen.d.ts +3 -1
- package/dist/api/cockpit/v1/marshalling.gen.js +23 -0
- package/dist/api/cockpit/v1/types.gen.d.ts +628 -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/edge_services/v1beta1/api.gen.cjs +41 -22
- package/dist/api/edge_services/v1beta1/api.gen.d.ts +3 -2
- package/dist/api/edge_services/v1beta1/api.gen.js +41 -22
- package/dist/api/edge_services/v1beta1/index.gen.d.ts +1 -1
- package/dist/api/edge_services/v1beta1/types.gen.d.ts +7 -0
- package/dist/api/file/index.gen.cjs +4 -0
- package/dist/api/file/index.gen.d.ts +5 -0
- package/dist/api/file/index.gen.js +4 -0
- package/dist/api/file/v1alpha1/api.gen.cjs +142 -0
- package/dist/api/file/v1alpha1/api.gen.d.ts +73 -0
- package/dist/api/file/v1alpha1/api.gen.js +142 -0
- package/dist/api/file/v1alpha1/content.gen.cjs +7 -0
- package/dist/api/file/v1alpha1/content.gen.d.ts +3 -0
- package/dist/api/file/v1alpha1/content.gen.js +7 -0
- package/dist/api/file/v1alpha1/index.gen.cjs +8 -0
- package/dist/api/file/v1alpha1/index.gen.d.ts +4 -0
- package/dist/api/file/v1alpha1/index.gen.js +8 -0
- package/dist/api/file/v1alpha1/marshalling.gen.cjs +77 -0
- package/dist/api/file/v1alpha1/marshalling.gen.d.ts +7 -0
- package/dist/api/file/v1alpha1/marshalling.gen.js +77 -0
- package/dist/api/file/v1alpha1/types.gen.d.ts +239 -0
- package/dist/api/file/v1alpha1/validation-rules.gen.cjs +40 -0
- package/dist/api/file/v1alpha1/validation-rules.gen.d.ts +34 -0
- package/dist/api/file/v1alpha1/validation-rules.gen.js +40 -0
- 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/function/v1beta1/types.gen.d.ts +6 -6
- package/dist/api/iam/v1alpha1/api.gen.cjs +4 -4
- package/dist/api/iam/v1alpha1/api.gen.d.ts +4 -4
- package/dist/api/iam/v1alpha1/api.gen.js +4 -4
- package/dist/api/iam/v1alpha1/types.gen.d.ts +1 -1
- package/dist/api/index.gen.d.ts +3 -1
- 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 +9 -12
- package/dist/api/inference/v1beta1/api.gen.d.ts +7 -10
- package/dist/api/inference/v1beta1/api.gen.js +9 -12
- 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/marshalling.gen.cjs +4 -1
- package/dist/api/instance/v1/marshalling.gen.js +4 -1
- package/dist/api/instance/v1/types.gen.d.ts +1368 -600
- 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/lb/v1/marshalling.gen.cjs +4 -2
- package/dist/api/lb/v1/marshalling.gen.js +4 -2
- package/dist/api/lb/v1/types.gen.d.ts +4 -0
- 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/product_catalog/index.gen.cjs +4 -0
- package/dist/api/product_catalog/index.gen.d.ts +5 -0
- package/dist/api/product_catalog/index.gen.js +4 -0
- package/dist/api/product_catalog/v2alpha1/api.gen.cjs +36 -0
- package/dist/api/product_catalog/v2alpha1/api.gen.d.ts +18 -0
- package/dist/api/product_catalog/v2alpha1/api.gen.js +36 -0
- package/dist/api/product_catalog/v2alpha1/index.gen.cjs +6 -0
- package/dist/api/product_catalog/v2alpha1/index.gen.d.ts +3 -0
- package/dist/api/product_catalog/v2alpha1/index.gen.js +6 -0
- package/dist/api/product_catalog/v2alpha1/marshalling.gen.cjs +230 -0
- package/dist/api/product_catalog/v2alpha1/marshalling.gen.d.ts +2 -0
- package/dist/api/product_catalog/v2alpha1/marshalling.gen.js +230 -0
- package/dist/api/product_catalog/v2alpha1/types.gen.d.ts +293 -0
- package/dist/api/product_catalog/v2alpha1/validation-rules.gen.cjs +11 -0
- package/dist/api/product_catalog/v2alpha1/validation-rules.gen.d.ts +8 -0
- package/dist/api/product_catalog/v2alpha1/validation-rules.gen.js +11 -0
- 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/api/vpcgw/v1/api.gen.cjs +37 -0
- package/dist/api/vpcgw/v1/api.gen.d.ts +37 -0
- package/dist/api/vpcgw/v1/api.gen.js +37 -0
- package/dist/client/dist/package.json.cjs +1 -1
- package/dist/client/dist/package.json.js +1 -1
- package/dist/index.cjs +36 -32
- package/dist/index.js +36 -32
- 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
|
@@ -13,15 +13,13 @@ const jsonContentHeaders = {
|
|
|
13
13
|
};
|
|
14
14
|
class API extends api.API {
|
|
15
15
|
/**
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
* @returns A Promise of RegisterResponse
|
|
24
|
-
*/
|
|
16
|
+
* Register a user. Register a human and return a access-key and a secret-key that must be used in all other commands.
|
|
17
|
+
|
|
18
|
+
Hint: you can use other test commands by setting the SCW_SECRET_KEY env variable.
|
|
19
|
+
*
|
|
20
|
+
* @param request - The request {@link RegisterRequest}
|
|
21
|
+
* @returns A Promise of RegisterResponse
|
|
22
|
+
*/
|
|
25
23
|
register = (request) => this.client.fetch(
|
|
26
24
|
{
|
|
27
25
|
body: JSON.stringify(
|
|
@@ -131,8 +129,7 @@ class API extends api.API {
|
|
|
131
129
|
marshalling_gen.unmarshalHuman
|
|
132
130
|
);
|
|
133
131
|
/**
|
|
134
|
-
* Start a 1h running for the given human. Start a one hour running for the
|
|
135
|
-
* given human.
|
|
132
|
+
* Start a 1h running for the given human. Start a one hour running for the given human.
|
|
136
133
|
*
|
|
137
134
|
* @param request - The request {@link RunHumanRequest}
|
|
138
135
|
* @returns A Promise of Human
|
|
@@ -3,16 +3,14 @@ import type { WaitForOptions } from '@scaleway/sdk-client';
|
|
|
3
3
|
import type { CreateHumanRequest, DeleteHumanRequest, GetHumanRequest, Human, ListHumansRequest, ListHumansResponse, RegisterRequest, RegisterResponse, RunHumanRequest, SmokeHumanRequest, UpdateHumanRequest } from './types.gen';
|
|
4
4
|
/**
|
|
5
5
|
* Fake API.
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
|
|
7
|
+
No Auth Service for end-to-end testing.
|
|
8
8
|
*/
|
|
9
9
|
export declare class API extends ParentAPI {
|
|
10
10
|
/**
|
|
11
|
-
* Register a user. Register a human and return a access-key and a secret-key
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
* Hint: you can use other test commands by setting the SCW_SECRET_KEY env
|
|
15
|
-
* variable.
|
|
11
|
+
* Register a user. Register a human and return a access-key and a secret-key that must be used in all other commands.
|
|
12
|
+
|
|
13
|
+
Hint: you can use other test commands by setting the SCW_SECRET_KEY env variable.
|
|
16
14
|
*
|
|
17
15
|
* @param request - The request {@link RegisterRequest}
|
|
18
16
|
* @returns A Promise of RegisterResponse
|
|
@@ -66,8 +64,7 @@ export declare class API extends ParentAPI {
|
|
|
66
64
|
*/
|
|
67
65
|
deleteHuman: (request: Readonly<DeleteHumanRequest>) => Promise<Human>;
|
|
68
66
|
/**
|
|
69
|
-
* Start a 1h running for the given human. Start a one hour running for the
|
|
70
|
-
* given human.
|
|
67
|
+
* Start a 1h running for the given human. Start a one hour running for the given human.
|
|
71
68
|
*
|
|
72
69
|
* @param request - The request {@link RunHumanRequest}
|
|
73
70
|
* @returns A Promise of Human
|
|
@@ -11,15 +11,13 @@ const jsonContentHeaders = {
|
|
|
11
11
|
};
|
|
12
12
|
class API extends API$1 {
|
|
13
13
|
/**
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
* @returns A Promise of RegisterResponse
|
|
22
|
-
*/
|
|
14
|
+
* Register a user. Register a human and return a access-key and a secret-key that must be used in all other commands.
|
|
15
|
+
|
|
16
|
+
Hint: you can use other test commands by setting the SCW_SECRET_KEY env variable.
|
|
17
|
+
*
|
|
18
|
+
* @param request - The request {@link RegisterRequest}
|
|
19
|
+
* @returns A Promise of RegisterResponse
|
|
20
|
+
*/
|
|
23
21
|
register = (request) => this.client.fetch(
|
|
24
22
|
{
|
|
25
23
|
body: JSON.stringify(
|
|
@@ -129,8 +127,7 @@ class API extends API$1 {
|
|
|
129
127
|
unmarshalHuman
|
|
130
128
|
);
|
|
131
129
|
/**
|
|
132
|
-
* Start a 1h running for the given human. Start a one hour running for the
|
|
133
|
-
* given human.
|
|
130
|
+
* Start a 1h running for the given human. Start a one hour running for the given human.
|
|
134
131
|
*
|
|
135
132
|
* @param request - The request {@link RunHumanRequest}
|
|
136
133
|
* @returns A Promise of Human
|
|
@@ -30,23 +30,26 @@ export type CreateHumanRequest = {
|
|
|
30
30
|
/**
|
|
31
31
|
* @deprecated
|
|
32
32
|
*
|
|
33
|
-
*
|
|
34
|
-
* could be set.
|
|
33
|
+
* One-of ('projectIdentifier'): at most one of 'projectId', 'organizationId' could be set.
|
|
35
34
|
*/
|
|
36
35
|
organizationId?: string;
|
|
37
36
|
name: string;
|
|
38
37
|
/**
|
|
39
|
-
*
|
|
40
|
-
* could be set.
|
|
38
|
+
*
|
|
39
|
+
* One-of ('projectIdentifier'): at most one of 'projectId', 'organizationId' could be set.
|
|
41
40
|
*/
|
|
42
41
|
projectId?: string;
|
|
43
42
|
};
|
|
44
43
|
export type DeleteHumanRequest = {
|
|
45
|
-
/**
|
|
44
|
+
/**
|
|
45
|
+
* UUID of the human you want to delete.
|
|
46
|
+
*/
|
|
46
47
|
humanId: string;
|
|
47
48
|
};
|
|
48
49
|
export type GetHumanRequest = {
|
|
49
|
-
/**
|
|
50
|
+
/**
|
|
51
|
+
* UUID of the human you want to get.
|
|
52
|
+
*/
|
|
50
53
|
humanId: string;
|
|
51
54
|
};
|
|
52
55
|
export type ListHumansRequest = {
|
|
@@ -68,17 +71,25 @@ export interface RegisterResponse {
|
|
|
68
71
|
accessKey: string;
|
|
69
72
|
}
|
|
70
73
|
export type RunHumanRequest = {
|
|
71
|
-
/**
|
|
74
|
+
/**
|
|
75
|
+
* UUID of the human you want to make run.
|
|
76
|
+
*/
|
|
72
77
|
humanId: string;
|
|
73
78
|
};
|
|
74
79
|
export type SmokeHumanRequest = {
|
|
75
|
-
/**
|
|
80
|
+
/**
|
|
81
|
+
* @deprecated UUID of the human you want to make smoking.
|
|
82
|
+
*/
|
|
76
83
|
humanId: string;
|
|
77
84
|
};
|
|
78
85
|
export type UpdateHumanRequest = {
|
|
79
|
-
/**
|
|
86
|
+
/**
|
|
87
|
+
* UUID of the human you want to update.
|
|
88
|
+
*/
|
|
80
89
|
humanId: string;
|
|
81
|
-
/**
|
|
90
|
+
/**
|
|
91
|
+
* Height of the human in meters.
|
|
92
|
+
*/
|
|
82
93
|
height?: number;
|
|
83
94
|
shoeSize?: number;
|
|
84
95
|
altitudeInMeter?: number;
|
|
@@ -48,6 +48,7 @@ class API extends api.API {
|
|
|
48
48
|
/**
|
|
49
49
|
* List Public Gateways. List Public Gateways in a given Scaleway Organization or Project. By default, results are displayed in ascending order of creation date.
|
|
50
50
|
*
|
|
51
|
+
* @deprecated
|
|
51
52
|
* @param request - The request {@link ListGatewaysRequest}
|
|
52
53
|
* @returns A Promise of ListGatewaysResponse
|
|
53
54
|
*/
|
|
@@ -55,6 +56,7 @@ class API extends api.API {
|
|
|
55
56
|
/**
|
|
56
57
|
* Get a Public Gateway. Get details of a Public Gateway, specified by its gateway ID. The response object contains full details of the gateway, including its **name**, **type**, **status** and more.
|
|
57
58
|
*
|
|
59
|
+
* @deprecated
|
|
58
60
|
* @param request - The request {@link GetGatewayRequest}
|
|
59
61
|
* @returns A Promise of Gateway
|
|
60
62
|
*/
|
|
@@ -83,6 +85,7 @@ class API extends api.API {
|
|
|
83
85
|
/**
|
|
84
86
|
* Create a Public Gateway. Create a new Public Gateway in the specified Scaleway Project, defining its **name**, **type** and other configuration details such as whether to enable SSH bastion.
|
|
85
87
|
*
|
|
88
|
+
* @deprecated
|
|
86
89
|
* @param request - The request {@link CreateGatewayRequest}
|
|
87
90
|
* @returns A Promise of Gateway
|
|
88
91
|
*/
|
|
@@ -100,6 +103,7 @@ class API extends api.API {
|
|
|
100
103
|
/**
|
|
101
104
|
* Update a Public Gateway. Update the parameters of an existing Public Gateway, for example, its **name**, **tags**, **SSH bastion configuration**, and **DNS servers**.
|
|
102
105
|
*
|
|
106
|
+
* @deprecated
|
|
103
107
|
* @param request - The request {@link UpdateGatewayRequest}
|
|
104
108
|
* @returns A Promise of Gateway
|
|
105
109
|
*/
|
|
@@ -117,6 +121,7 @@ class API extends api.API {
|
|
|
117
121
|
/**
|
|
118
122
|
* Delete a Public Gateway. Delete an existing Public Gateway, specified by its gateway ID. This action is irreversible.
|
|
119
123
|
*
|
|
124
|
+
* @deprecated
|
|
120
125
|
* @param request - The request {@link DeleteGatewayRequest}
|
|
121
126
|
*/
|
|
122
127
|
deleteGateway = (request) => this.client.fetch({
|
|
@@ -127,6 +132,7 @@ class API extends api.API {
|
|
|
127
132
|
/**
|
|
128
133
|
* Upgrade a Public Gateway to the latest version and/or to a different commercial offer type. Upgrade a given Public Gateway to the newest software version or to a different commercial offer type. This applies the latest bugfixes and features to your Public Gateway. Note that gateway service will be interrupted during the update.
|
|
129
134
|
*
|
|
135
|
+
* @deprecated
|
|
130
136
|
* @param request - The request {@link UpgradeGatewayRequest}
|
|
131
137
|
* @returns A Promise of Gateway
|
|
132
138
|
*/
|
|
@@ -144,6 +150,7 @@ class API extends api.API {
|
|
|
144
150
|
/**
|
|
145
151
|
* Upgrade a Public Gateway to IP mobility. Upgrade a Public Gateway to IP mobility (move from NAT IP to routed IP). This is idempotent: repeated calls after the first will return no error but have no effect.
|
|
146
152
|
*
|
|
153
|
+
* @deprecated
|
|
147
154
|
* @param request - The request {@link EnableIPMobilityRequest}
|
|
148
155
|
*/
|
|
149
156
|
enableIPMobility = (request) => this.client.fetch({
|
|
@@ -175,6 +182,7 @@ class API extends api.API {
|
|
|
175
182
|
/**
|
|
176
183
|
* List Public Gateway connections to Private Networks. List the connections between Public Gateways and Private Networks (a connection = a GatewayNetwork). You can choose to filter by `gateway-id` to list all Private Networks attached to the specified Public Gateway, or by `private_network_id` to list all Public Gateways attached to the specified Private Network. Other query parameters are also available. The result is an array of GatewayNetwork objects, each giving details of the connection between a given Public Gateway and a given Private Network.
|
|
177
184
|
*
|
|
185
|
+
* @deprecated
|
|
178
186
|
* @param request - The request {@link ListGatewayNetworksRequest}
|
|
179
187
|
* @returns A Promise of ListGatewayNetworksResponse
|
|
180
188
|
*/
|
|
@@ -186,6 +194,7 @@ class API extends api.API {
|
|
|
186
194
|
/**
|
|
187
195
|
* Get a Public Gateway connection to a Private Network. Get details of a given connection between a Public Gateway and a Private Network (this connection = a GatewayNetwork), specified by its `gateway_network_id`. The response object contains details of the connection including the IDs of the Public Gateway and Private Network, the dates the connection was created/updated and its configuration settings.
|
|
188
196
|
*
|
|
197
|
+
* @deprecated
|
|
189
198
|
* @param request - The request {@link GetGatewayNetworkRequest}
|
|
190
199
|
* @returns A Promise of GatewayNetwork
|
|
191
200
|
*/
|
|
@@ -214,6 +223,7 @@ class API extends api.API {
|
|
|
214
223
|
/**
|
|
215
224
|
* Attach a Public Gateway to a Private Network. Attach a specific Public Gateway to a specific Private Network (create a GatewayNetwork). You can configure parameters for the connection including DHCP settings, whether to enable masquerade (dynamic NAT), and more.
|
|
216
225
|
*
|
|
226
|
+
* @deprecated
|
|
217
227
|
* @param request - The request {@link CreateGatewayNetworkRequest}
|
|
218
228
|
* @returns A Promise of GatewayNetwork
|
|
219
229
|
*/
|
|
@@ -231,6 +241,7 @@ class API extends api.API {
|
|
|
231
241
|
/**
|
|
232
242
|
* Update a Public Gateway's connection to a Private Network. Update the configuration parameters of a connection between a given Public Gateway and Private Network (the connection = a GatewayNetwork). Updatable parameters include DHCP settings and whether to enable traffic masquerade (dynamic NAT).
|
|
233
243
|
*
|
|
244
|
+
* @deprecated
|
|
234
245
|
* @param request - The request {@link UpdateGatewayNetworkRequest}
|
|
235
246
|
* @returns A Promise of GatewayNetwork
|
|
236
247
|
*/
|
|
@@ -248,6 +259,7 @@ class API extends api.API {
|
|
|
248
259
|
/**
|
|
249
260
|
* Detach a Public Gateway from a Private Network. Detach a given Public Gateway from a given Private Network, i.e. delete a GatewayNetwork specified by a gateway_network_id.
|
|
250
261
|
*
|
|
262
|
+
* @deprecated
|
|
251
263
|
* @param request - The request {@link DeleteGatewayNetworkRequest}
|
|
252
264
|
*/
|
|
253
265
|
deleteGatewayNetwork = (request) => this.client.fetch({
|
|
@@ -277,6 +289,7 @@ class API extends api.API {
|
|
|
277
289
|
/**
|
|
278
290
|
* List DHCP configurations. List DHCP configurations, optionally filtering by Organization, Project, Public Gateway IP address or more. The response is an array of DHCP configuration objects, each identified by a DHCP ID and containing configuration settings for the assignment of IP addresses to devices on a Private Network attached to a Public Gateway. Note that the response does not contain the IDs of any Private Network / Public Gateway the configuration is attached to. Use the `List Public Gateway connections to Private Networks` method for that purpose, filtering on DHCP ID.
|
|
279
291
|
*
|
|
292
|
+
* @deprecated
|
|
280
293
|
* @param request - The request {@link ListDHCPsRequest}
|
|
281
294
|
* @returns A Promise of ListDHCPsResponse
|
|
282
295
|
*/
|
|
@@ -284,6 +297,7 @@ class API extends api.API {
|
|
|
284
297
|
/**
|
|
285
298
|
* Get a DHCP configuration. Get a DHCP configuration object, identified by its DHCP ID. The response object contains configuration settings for the assignment of IP addresses to devices on a Private Network attached to a Public Gateway. Note that the response does not contain the IDs of any Private Network / Public Gateway the configuration is attached to. Use the `List Public Gateway connections to Private Networks` method for that purpose, filtering on DHCP ID.
|
|
286
299
|
*
|
|
300
|
+
* @deprecated
|
|
287
301
|
* @param request - The request {@link GetDHCPRequest}
|
|
288
302
|
* @returns A Promise of DHCP
|
|
289
303
|
*/
|
|
@@ -297,6 +311,7 @@ class API extends api.API {
|
|
|
297
311
|
/**
|
|
298
312
|
* Create a DHCP configuration. Create a new DHCP configuration object, containing settings for the assignment of IP addresses to devices on a Private Network attached to a Public Gateway. The response object includes the ID of the DHCP configuration object. You can use this ID as part of a call to `Create a Public Gateway connection to a Private Network` or `Update a Public Gateway connection to a Private Network` to directly apply this DHCP configuration.
|
|
299
313
|
*
|
|
314
|
+
* @deprecated
|
|
300
315
|
* @param request - The request {@link CreateDHCPRequest}
|
|
301
316
|
* @returns A Promise of DHCP
|
|
302
317
|
*/
|
|
@@ -314,6 +329,7 @@ class API extends api.API {
|
|
|
314
329
|
/**
|
|
315
330
|
* Update a DHCP configuration. Update a DHCP configuration object, identified by its DHCP ID.
|
|
316
331
|
*
|
|
332
|
+
* @deprecated
|
|
317
333
|
* @param request - The request {@link UpdateDHCPRequest}
|
|
318
334
|
* @returns A Promise of DHCP
|
|
319
335
|
*/
|
|
@@ -331,6 +347,7 @@ class API extends api.API {
|
|
|
331
347
|
/**
|
|
332
348
|
* Delete a DHCP configuration. Delete a DHCP configuration object, identified by its DHCP ID. Note that you cannot delete a DHCP configuration object that is currently being used by a Gateway Network.
|
|
333
349
|
*
|
|
350
|
+
* @deprecated
|
|
334
351
|
* @param request - The request {@link DeleteDHCPRequest}
|
|
335
352
|
*/
|
|
336
353
|
deleteDHCP = (request) => this.client.fetch({
|
|
@@ -360,6 +377,7 @@ class API extends api.API {
|
|
|
360
377
|
/**
|
|
361
378
|
* List DHCP entries. List DHCP entries, whether dynamically assigned and/or statically reserved. DHCP entries can be filtered by the Gateway Network they are on, their MAC address, IP address, type or hostname.
|
|
362
379
|
*
|
|
380
|
+
* @deprecated
|
|
363
381
|
* @param request - The request {@link ListDHCPEntriesRequest}
|
|
364
382
|
* @returns A Promise of ListDHCPEntriesResponse
|
|
365
383
|
*/
|
|
@@ -367,6 +385,7 @@ class API extends api.API {
|
|
|
367
385
|
/**
|
|
368
386
|
* Get a DHCP entry. Get a DHCP entry, specified by its DHCP entry ID.
|
|
369
387
|
*
|
|
388
|
+
* @deprecated
|
|
370
389
|
* @param request - The request {@link GetDHCPEntryRequest}
|
|
371
390
|
* @returns A Promise of DHCPEntry
|
|
372
391
|
*/
|
|
@@ -380,6 +399,7 @@ class API extends api.API {
|
|
|
380
399
|
/**
|
|
381
400
|
* Create a DHCP entry. Create a static DHCP reservation, specifying the Gateway Network for the reservation, the MAC address of the target device and the IP address to assign this device. The response is a DHCP entry object, confirming the ID and configuration details of the static DHCP reservation.
|
|
382
401
|
*
|
|
402
|
+
* @deprecated
|
|
383
403
|
* @param request - The request {@link CreateDHCPEntryRequest}
|
|
384
404
|
* @returns A Promise of DHCPEntry
|
|
385
405
|
*/
|
|
@@ -397,6 +417,7 @@ class API extends api.API {
|
|
|
397
417
|
/**
|
|
398
418
|
* Update a DHCP entry. Update the IP address for a DHCP entry, specified by its DHCP entry ID. You can update an existing DHCP entry of any type (`reservation` (static), `lease` (dynamic) or `unknown`), but in manually updating the IP address the entry will necessarily be of type `reservation` after the update.
|
|
399
419
|
*
|
|
420
|
+
* @deprecated
|
|
400
421
|
* @param request - The request {@link UpdateDHCPEntryRequest}
|
|
401
422
|
* @returns A Promise of DHCPEntry
|
|
402
423
|
*/
|
|
@@ -414,6 +435,7 @@ class API extends api.API {
|
|
|
414
435
|
/**
|
|
415
436
|
* Set all DHCP reservations on a Gateway Network. Set the list of DHCP reservations attached to a Gateway Network. Reservations are identified by their MAC address, and will sync the current DHCP entry list to the given list, creating, updating or deleting DHCP entries accordingly.
|
|
416
437
|
*
|
|
438
|
+
* @deprecated
|
|
417
439
|
* @param request - The request {@link SetDHCPEntriesRequest}
|
|
418
440
|
* @returns A Promise of SetDHCPEntriesResponse
|
|
419
441
|
*/
|
|
@@ -431,6 +453,7 @@ class API extends api.API {
|
|
|
431
453
|
/**
|
|
432
454
|
* Delete a DHCP entry. Delete a static DHCP reservation, identified by its DHCP entry ID. Note that you cannot delete DHCP entries of type `lease`, these are deleted automatically when their time-to-live expires.
|
|
433
455
|
*
|
|
456
|
+
* @deprecated
|
|
434
457
|
* @param request - The request {@link DeleteDHCPEntryRequest}
|
|
435
458
|
*/
|
|
436
459
|
deleteDHCPEntry = (request) => this.client.fetch({
|
|
@@ -458,6 +481,7 @@ class API extends api.API {
|
|
|
458
481
|
/**
|
|
459
482
|
* List PAT rules. List PAT rules. You can filter by gateway ID to list all PAT rules for a particular gateway, or filter for PAT rules targeting a specific IP address or using a specific protocol.
|
|
460
483
|
*
|
|
484
|
+
* @deprecated
|
|
461
485
|
* @param request - The request {@link ListPATRulesRequest}
|
|
462
486
|
* @returns A Promise of ListPATRulesResponse
|
|
463
487
|
*/
|
|
@@ -465,6 +489,7 @@ class API extends api.API {
|
|
|
465
489
|
/**
|
|
466
490
|
* Get a PAT rule. Get a PAT rule, specified by its PAT rule ID. The response object gives full details of the PAT rule, including the Public Gateway it belongs to and the configuration settings in terms of public / private ports, private IP and protocol.
|
|
467
491
|
*
|
|
492
|
+
* @deprecated
|
|
468
493
|
* @param request - The request {@link GetPATRuleRequest}
|
|
469
494
|
* @returns A Promise of PATRule
|
|
470
495
|
*/
|
|
@@ -478,6 +503,7 @@ class API extends api.API {
|
|
|
478
503
|
/**
|
|
479
504
|
* Create a PAT rule. Create a new PAT rule on a specified Public Gateway, defining the protocol to use, public port to listen on, and private port / IP address to map to.
|
|
480
505
|
*
|
|
506
|
+
* @deprecated
|
|
481
507
|
* @param request - The request {@link CreatePATRuleRequest}
|
|
482
508
|
* @returns A Promise of PATRule
|
|
483
509
|
*/
|
|
@@ -495,6 +521,7 @@ class API extends api.API {
|
|
|
495
521
|
/**
|
|
496
522
|
* Update a PAT rule. Update a PAT rule, specified by its PAT rule ID. Configuration settings including private/public port, private IP address and protocol can all be updated.
|
|
497
523
|
*
|
|
524
|
+
* @deprecated
|
|
498
525
|
* @param request - The request {@link UpdatePATRuleRequest}
|
|
499
526
|
* @returns A Promise of PATRule
|
|
500
527
|
*/
|
|
@@ -512,6 +539,7 @@ class API extends api.API {
|
|
|
512
539
|
/**
|
|
513
540
|
* Set all PAT rules. Set a definitive list of PAT rules attached to a Public Gateway. Each rule is identified by its public port and protocol. This will sync the current PAT rule list on the gateway with the new list, creating, updating or deleting PAT rules accordingly.
|
|
514
541
|
*
|
|
542
|
+
* @deprecated
|
|
515
543
|
* @param request - The request {@link SetPATRulesRequest}
|
|
516
544
|
* @returns A Promise of SetPATRulesResponse
|
|
517
545
|
*/
|
|
@@ -529,6 +557,7 @@ class API extends api.API {
|
|
|
529
557
|
/**
|
|
530
558
|
* Delete a PAT rule. Delete a PAT rule, identified by its PAT rule ID. This action is irreversible.
|
|
531
559
|
*
|
|
560
|
+
* @deprecated
|
|
532
561
|
* @param request - The request {@link DeletePATRuleRequest}
|
|
533
562
|
*/
|
|
534
563
|
deletePATRule = (request) => this.client.fetch({
|
|
@@ -538,6 +567,7 @@ class API extends api.API {
|
|
|
538
567
|
/**
|
|
539
568
|
* List Public Gateway types. List the different Public Gateway commercial offer types available at Scaleway. The response is an array of objects describing the name and technical details of each available gateway type.
|
|
540
569
|
*
|
|
570
|
+
* @deprecated
|
|
541
571
|
* @param request - The request {@link ListGatewayTypesRequest}
|
|
542
572
|
* @returns A Promise of ListGatewayTypesResponse
|
|
543
573
|
*/
|
|
@@ -571,6 +601,7 @@ class API extends api.API {
|
|
|
571
601
|
/**
|
|
572
602
|
* List IPs. List Public Gateway flexible IP addresses. A number of filter options are available for limiting results in the response.
|
|
573
603
|
*
|
|
604
|
+
* @deprecated
|
|
574
605
|
* @param request - The request {@link ListIPsRequest}
|
|
575
606
|
* @returns A Promise of ListIPsResponse
|
|
576
607
|
*/
|
|
@@ -578,6 +609,7 @@ class API extends api.API {
|
|
|
578
609
|
/**
|
|
579
610
|
* Get an IP. Get details of a Public Gateway flexible IP address, identified by its IP ID. The response object contains information including which (if any) Public Gateway using this IP address, the reverse and various other metadata.
|
|
580
611
|
*
|
|
612
|
+
* @deprecated
|
|
581
613
|
* @param request - The request {@link GetIPRequest}
|
|
582
614
|
* @returns A Promise of IP
|
|
583
615
|
*/
|
|
@@ -591,6 +623,7 @@ class API extends api.API {
|
|
|
591
623
|
/**
|
|
592
624
|
* Reserve an IP. Create (reserve) a new flexible IP address that can be used for a Public Gateway in a specified Scaleway Project.
|
|
593
625
|
*
|
|
626
|
+
* @deprecated
|
|
594
627
|
* @param request - The request {@link CreateIPRequest}
|
|
595
628
|
* @returns A Promise of IP
|
|
596
629
|
*/
|
|
@@ -608,6 +641,7 @@ class API extends api.API {
|
|
|
608
641
|
/**
|
|
609
642
|
* Update an IP. Update details of an existing flexible IP address, including its tags, reverse and the Public Gateway it is assigned to.
|
|
610
643
|
*
|
|
644
|
+
* @deprecated
|
|
611
645
|
* @param request - The request {@link UpdateIPRequest}
|
|
612
646
|
* @returns A Promise of IP
|
|
613
647
|
*/
|
|
@@ -625,6 +659,7 @@ class API extends api.API {
|
|
|
625
659
|
/**
|
|
626
660
|
* Delete an IP. Delete a flexible IP address from your account. This action is irreversible.
|
|
627
661
|
*
|
|
662
|
+
* @deprecated
|
|
628
663
|
* @param request - The request {@link DeleteIPRequest}
|
|
629
664
|
*/
|
|
630
665
|
deleteIP = (request) => this.client.fetch({
|
|
@@ -634,6 +669,7 @@ class API extends api.API {
|
|
|
634
669
|
/**
|
|
635
670
|
* Refresh a Public Gateway's SSH keys. Refresh the SSH keys of a given Public Gateway, specified by its gateway ID. This adds any new SSH keys in the gateway's Scaleway Project to the gateway itself.
|
|
636
671
|
*
|
|
672
|
+
* @deprecated
|
|
637
673
|
* @param request - The request {@link RefreshSSHKeysRequest}
|
|
638
674
|
* @returns A Promise of Gateway
|
|
639
675
|
*/
|
|
@@ -649,6 +685,7 @@ class API extends api.API {
|
|
|
649
685
|
/**
|
|
650
686
|
* Put a Public Gateway in IPAM mode. Put a Public Gateway in IPAM mode, so that it can be used with the Public Gateways API v2. This call is idempotent.
|
|
651
687
|
*
|
|
688
|
+
* @deprecated
|
|
652
689
|
* @param request - The request {@link MigrateToV2Request}
|
|
653
690
|
*/
|
|
654
691
|
migrateToV2 = (request) => this.client.fetch({
|