@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,47 +4,78 @@ export interface SetImageResponse {
|
|
|
4
4
|
image?: Image;
|
|
5
5
|
}
|
|
6
6
|
export type SetSecurityGroupRequest = {
|
|
7
|
-
/**
|
|
7
|
+
/**
|
|
8
|
+
* Zone to target. If none is passed will use default zone from the config.
|
|
9
|
+
*/
|
|
8
10
|
zone?: ScwZone;
|
|
9
|
-
/**
|
|
11
|
+
/**
|
|
12
|
+
* UUID of the security group.
|
|
13
|
+
*/
|
|
10
14
|
id: string;
|
|
11
|
-
/**
|
|
15
|
+
/**
|
|
16
|
+
* Name of the security group.
|
|
17
|
+
*/
|
|
12
18
|
name: string;
|
|
13
|
-
/**
|
|
19
|
+
/**
|
|
20
|
+
* Tags of the security group.
|
|
21
|
+
*/
|
|
14
22
|
tags?: string[];
|
|
15
|
-
/**
|
|
23
|
+
/**
|
|
24
|
+
* Creation date of the security group (will be ignored).
|
|
25
|
+
*/
|
|
16
26
|
creationDate?: Date;
|
|
17
|
-
/**
|
|
27
|
+
/**
|
|
28
|
+
* Modification date of the security group (will be ignored).
|
|
29
|
+
*/
|
|
18
30
|
modificationDate?: Date;
|
|
19
|
-
/**
|
|
31
|
+
/**
|
|
32
|
+
* Description of the security group.
|
|
33
|
+
*/
|
|
20
34
|
description: string;
|
|
21
35
|
/**
|
|
22
|
-
* True to block SMTP on IPv4 and IPv6. This feature is read only, please open
|
|
23
|
-
* a support ticket if you need to make it configurable.
|
|
36
|
+
* True to block SMTP on IPv4 and IPv6. This feature is read only, please open a support ticket if you need to make it configurable.
|
|
24
37
|
*/
|
|
25
38
|
enableDefaultSecurity: boolean;
|
|
26
|
-
/**
|
|
39
|
+
/**
|
|
40
|
+
* Default inbound policy.
|
|
41
|
+
*/
|
|
27
42
|
inboundDefaultPolicy?: SecurityGroupPolicy;
|
|
28
|
-
/**
|
|
43
|
+
/**
|
|
44
|
+
* Default outbound policy.
|
|
45
|
+
*/
|
|
29
46
|
outboundDefaultPolicy?: SecurityGroupPolicy;
|
|
30
|
-
/**
|
|
47
|
+
/**
|
|
48
|
+
* Security groups Organization ID.
|
|
49
|
+
*/
|
|
31
50
|
organization?: string;
|
|
32
|
-
/**
|
|
51
|
+
/**
|
|
52
|
+
* Security group Project ID.
|
|
53
|
+
*/
|
|
33
54
|
project?: string;
|
|
34
|
-
/**
|
|
55
|
+
/**
|
|
56
|
+
* @deprecated Please use project_default instead.
|
|
57
|
+
*/
|
|
35
58
|
organizationDefault?: boolean;
|
|
36
|
-
/**
|
|
59
|
+
/**
|
|
60
|
+
* True use this security group for future Instances created in this project.
|
|
61
|
+
*/
|
|
37
62
|
projectDefault: boolean;
|
|
38
|
-
/**
|
|
63
|
+
/**
|
|
64
|
+
* Instances attached to this security group.
|
|
65
|
+
*/
|
|
39
66
|
servers?: ServerSummary[];
|
|
40
|
-
/**
|
|
67
|
+
/**
|
|
68
|
+
* True to set the security group as stateful.
|
|
69
|
+
*/
|
|
41
70
|
stateful: boolean;
|
|
42
71
|
};
|
|
43
72
|
export interface SetSecurityGroupResponse {
|
|
44
73
|
securityGroup?: SecurityGroup;
|
|
45
74
|
}
|
|
46
75
|
export type SetSecurityGroupRuleRequest = {
|
|
47
|
-
/**
|
|
76
|
+
/**
|
|
77
|
+
* Zone to target. If none is passed will use default zone from the config.
|
|
78
|
+
*/
|
|
48
79
|
zone?: ScwZone;
|
|
49
80
|
securityGroupId: string;
|
|
50
81
|
securityGroupRuleId: string;
|
|
@@ -62,89 +93,128 @@ export interface SetSecurityGroupRuleResponse {
|
|
|
62
93
|
rule?: SecurityGroupRule;
|
|
63
94
|
}
|
|
64
95
|
export type SetServerRequest = {
|
|
65
|
-
/**
|
|
96
|
+
/**
|
|
97
|
+
* Zone to target. If none is passed will use default zone from the config.
|
|
98
|
+
*/
|
|
66
99
|
zone?: ScwZone;
|
|
67
|
-
/**
|
|
100
|
+
/**
|
|
101
|
+
* Instance unique ID.
|
|
102
|
+
*/
|
|
68
103
|
id: string;
|
|
69
|
-
/**
|
|
104
|
+
/**
|
|
105
|
+
* Instance name.
|
|
106
|
+
*/
|
|
70
107
|
name: string;
|
|
71
|
-
/**
|
|
108
|
+
/**
|
|
109
|
+
* Instance Organization ID.
|
|
110
|
+
*/
|
|
72
111
|
organization?: string;
|
|
73
|
-
/**
|
|
112
|
+
/**
|
|
113
|
+
* Instance Project ID.
|
|
114
|
+
*/
|
|
74
115
|
project?: string;
|
|
75
|
-
/**
|
|
116
|
+
/**
|
|
117
|
+
* Provide a list of allowed actions on the server.
|
|
118
|
+
*/
|
|
76
119
|
allowedActions?: ServerAction[];
|
|
77
|
-
/**
|
|
120
|
+
/**
|
|
121
|
+
* Tags associated with the Instance.
|
|
122
|
+
*/
|
|
78
123
|
tags?: string[];
|
|
79
|
-
/**
|
|
124
|
+
/**
|
|
125
|
+
* Instance commercial type (eg. GP1-M).
|
|
126
|
+
*/
|
|
80
127
|
commercialType: string;
|
|
81
|
-
/**
|
|
128
|
+
/**
|
|
129
|
+
* Instance creation date.
|
|
130
|
+
*/
|
|
82
131
|
creationDate?: Date;
|
|
83
|
-
/**
|
|
132
|
+
/**
|
|
133
|
+
* True if a dynamic IPv4 is required.
|
|
134
|
+
*/
|
|
84
135
|
dynamicIpRequired: boolean;
|
|
85
136
|
/**
|
|
86
|
-
* @deprecated True to configure the instance so it uses the new routed IP
|
|
87
|
-
* mode (once this is set to True you cannot set it back to False).
|
|
137
|
+
* @deprecated True to configure the instance so it uses the new routed IP mode (once this is set to True you cannot set it back to False).
|
|
88
138
|
*/
|
|
89
139
|
routedIpEnabled?: boolean;
|
|
90
140
|
/**
|
|
91
|
-
* @deprecated True if IPv6 is enabled (deprecated and always `False` when
|
|
92
|
-
* `routed_ip_enabled` is `True`).
|
|
141
|
+
* @deprecated True if IPv6 is enabled (deprecated and always `False` when `routed_ip_enabled` is `True`).
|
|
93
142
|
*/
|
|
94
143
|
enableIpv6?: boolean;
|
|
95
|
-
/**
|
|
144
|
+
/**
|
|
145
|
+
* Instance host name.
|
|
146
|
+
*/
|
|
96
147
|
hostname: string;
|
|
97
|
-
/**
|
|
148
|
+
/**
|
|
149
|
+
* Provide information on the Instance image.
|
|
150
|
+
*/
|
|
98
151
|
image?: Image;
|
|
99
|
-
/**
|
|
152
|
+
/**
|
|
153
|
+
* Instance protection option is activated.
|
|
154
|
+
*/
|
|
100
155
|
protected: boolean;
|
|
101
156
|
/**
|
|
102
|
-
* @deprecated Instance private IP address (deprecated and always `null` when
|
|
103
|
-
* `routed_ip_enabled` is `True`).
|
|
157
|
+
* @deprecated Instance private IP address (deprecated and always `null` when `routed_ip_enabled` is `True`).
|
|
104
158
|
*/
|
|
105
159
|
privateIp?: string;
|
|
106
160
|
/**
|
|
107
|
-
* @deprecated Information about the public IP (deprecated in favor of
|
|
108
|
-
* `public_ips`).
|
|
161
|
+
* @deprecated Information about the public IP (deprecated in favor of `public_ips`).
|
|
109
162
|
*/
|
|
110
163
|
publicIp?: ServerIp;
|
|
111
|
-
/**
|
|
164
|
+
/**
|
|
165
|
+
* Information about all the public IPs attached to the server.
|
|
166
|
+
*/
|
|
112
167
|
publicIps?: ServerIp[];
|
|
113
|
-
/**
|
|
168
|
+
/**
|
|
169
|
+
* Instance modification date.
|
|
170
|
+
*/
|
|
114
171
|
modificationDate?: Date;
|
|
115
|
-
/**
|
|
172
|
+
/**
|
|
173
|
+
* Instance state.
|
|
174
|
+
*/
|
|
116
175
|
state?: ServerState;
|
|
117
|
-
/**
|
|
176
|
+
/**
|
|
177
|
+
* Instance location.
|
|
178
|
+
*/
|
|
118
179
|
location?: ServerLocation;
|
|
119
180
|
/**
|
|
120
|
-
* @deprecated Instance IPv6 address (deprecated when `routed_ip_enabled` is
|
|
121
|
-
* `True`).
|
|
181
|
+
* @deprecated Instance IPv6 address (deprecated when `routed_ip_enabled` is `True`).
|
|
122
182
|
*/
|
|
123
183
|
ipv6?: ServerIpv6;
|
|
124
|
-
/**
|
|
184
|
+
/**
|
|
185
|
+
* Instance boot type.
|
|
186
|
+
*/
|
|
125
187
|
bootType?: BootType;
|
|
126
|
-
/**
|
|
188
|
+
/**
|
|
189
|
+
* Instance volumes.
|
|
190
|
+
*/
|
|
127
191
|
volumes?: Record<string, Volume>;
|
|
128
|
-
/**
|
|
192
|
+
/**
|
|
193
|
+
* Instance security group.
|
|
194
|
+
*/
|
|
129
195
|
securityGroup?: SecurityGroupSummary;
|
|
130
|
-
/**
|
|
196
|
+
/**
|
|
197
|
+
* Instance planned maintenances.
|
|
198
|
+
*/
|
|
131
199
|
maintenances?: ServerMaintenance[];
|
|
132
|
-
/**
|
|
200
|
+
/**
|
|
201
|
+
* Instance state_detail.
|
|
202
|
+
*/
|
|
133
203
|
stateDetail: string;
|
|
134
204
|
/**
|
|
135
|
-
* Instance architecture (refers to the CPU architecture used for the
|
|
136
|
-
* Instance, e.g. x86_64, arm64).
|
|
205
|
+
* Instance architecture (refers to the CPU architecture used for the Instance, e.g. x86_64, arm64).
|
|
137
206
|
*/
|
|
138
207
|
arch?: Arch;
|
|
139
|
-
/**
|
|
208
|
+
/**
|
|
209
|
+
* Instance placement group.
|
|
210
|
+
*/
|
|
140
211
|
placementGroup?: PlacementGroup;
|
|
141
|
-
/**
|
|
212
|
+
/**
|
|
213
|
+
* Instance private NICs.
|
|
214
|
+
*/
|
|
142
215
|
privateNics?: PrivateNIC[];
|
|
143
216
|
/**
|
|
144
|
-
* The public_key value of this key is used to encrypt the admin password.
|
|
145
|
-
* When set to an empty string, reset this value and
|
|
146
|
-
* admin_password_encrypted_value to an empty string so a new password may be
|
|
147
|
-
* generated.
|
|
217
|
+
* The public_key value of this key is used to encrypt the admin password. When set to an empty string, reset this value and admin_password_encrypted_value to an empty string so a new password may be generated.
|
|
148
218
|
*/
|
|
149
219
|
adminPasswordEncryptionSshKeyId?: string;
|
|
150
220
|
};
|
|
@@ -152,7 +222,9 @@ export interface SetServerResponse {
|
|
|
152
222
|
server?: Server;
|
|
153
223
|
}
|
|
154
224
|
export type SetSnapshotRequest = {
|
|
155
|
-
/**
|
|
225
|
+
/**
|
|
226
|
+
* Zone to target. If none is passed will use default zone from the config.
|
|
227
|
+
*/
|
|
156
228
|
zone?: ScwZone;
|
|
157
229
|
snapshotId: string;
|
|
158
230
|
id: string;
|
|
@@ -41,10 +41,7 @@ class API extends api.API {
|
|
|
41
41
|
marshalling_gen.unmarshalListDedicatedConnectionsResponse
|
|
42
42
|
);
|
|
43
43
|
/**
|
|
44
|
-
* List dedicated connections. For self-hosted users, list their dedicated
|
|
45
|
-
* physical connections in a given region. By default, the connections
|
|
46
|
-
* returned in the list are ordered by name in ascending order, though this
|
|
47
|
-
* can be modified via the `order_by` field.
|
|
44
|
+
* List dedicated connections. For self-hosted users, list their dedicated physical connections in a given region. By default, the connections returned in the list are ordered by name in ascending order, though this can be modified via the `order_by` field.
|
|
48
45
|
*
|
|
49
46
|
* @param request - The request {@link ListDedicatedConnectionsRequest}
|
|
50
47
|
* @returns A Promise of ListDedicatedConnectionsResponse
|
|
@@ -55,9 +52,7 @@ class API extends api.API {
|
|
|
55
52
|
request
|
|
56
53
|
);
|
|
57
54
|
/**
|
|
58
|
-
* Get a dedicated connection. For self-hosted users, get a dedicated physical
|
|
59
|
-
* connection corresponding to the given ID. The response object includes
|
|
60
|
-
* information such as the connection's name, status and total bandwidth.
|
|
55
|
+
* Get a dedicated connection. For self-hosted users, get a dedicated physical connection corresponding to the given ID. The response object includes information such as the connection's name, status and total bandwidth.
|
|
61
56
|
*
|
|
62
57
|
* @param request - The request {@link GetDedicatedConnectionRequest}
|
|
63
58
|
* @returns A Promise of DedicatedConnection
|
|
@@ -103,18 +98,14 @@ class API extends api.API {
|
|
|
103
98
|
marshalling_gen.unmarshalListPartnersResponse
|
|
104
99
|
);
|
|
105
100
|
/**
|
|
106
|
-
* List available partners. List all available partners. By default, the
|
|
107
|
-
* partners returned in the list are ordered by name in ascending order,
|
|
108
|
-
* though this can be modified via the `order_by` field.
|
|
101
|
+
* List available partners. List all available partners. By default, the partners returned in the list are ordered by name in ascending order, though this can be modified via the `order_by` field.
|
|
109
102
|
*
|
|
110
103
|
* @param request - The request {@link ListPartnersRequest}
|
|
111
104
|
* @returns A Promise of ListPartnersResponse
|
|
112
105
|
*/
|
|
113
106
|
listPartners = (request = {}) => resourcePaginator.enrichForPagination("partners", this.pageOfListPartners, request);
|
|
114
107
|
/**
|
|
115
|
-
* Get a partner. Get a partner for the given partner IP. The response object
|
|
116
|
-
* includes information such as the partner's name, email address and portal
|
|
117
|
-
* URL.
|
|
108
|
+
* Get a partner. Get a partner for the given partner IP. The response object includes information such as the partner's name, email address and portal URL.
|
|
118
109
|
*
|
|
119
110
|
* @param request - The request {@link GetPartnerRequest}
|
|
120
111
|
* @returns A Promise of Partner
|
|
@@ -147,16 +138,14 @@ class API extends api.API {
|
|
|
147
138
|
marshalling_gen.unmarshalListPopsResponse
|
|
148
139
|
);
|
|
149
140
|
/**
|
|
150
|
-
* List PoPs. List all available PoPs (locations) for a given region. By
|
|
151
|
-
* default, the results are returned in ascending alphabetical order by name.
|
|
141
|
+
* List PoPs. List all available PoPs (locations) for a given region. By default, the results are returned in ascending alphabetical order by name.
|
|
152
142
|
*
|
|
153
143
|
* @param request - The request {@link ListPopsRequest}
|
|
154
144
|
* @returns A Promise of ListPopsResponse
|
|
155
145
|
*/
|
|
156
146
|
listPops = (request = {}) => resourcePaginator.enrichForPagination("pops", this.pageOfListPops, request);
|
|
157
147
|
/**
|
|
158
|
-
* Get a PoP. Get a PoP for the given PoP ID. The response object includes the
|
|
159
|
-
* PoP's name and information about its physical location.
|
|
148
|
+
* Get a PoP. Get a PoP for the given PoP ID. The response object includes the PoP's name and information about its physical location.
|
|
160
149
|
*
|
|
161
150
|
* @param request - The request {@link GetPopRequest}
|
|
162
151
|
* @returns A Promise of Pop
|
|
@@ -199,17 +188,14 @@ class API extends api.API {
|
|
|
199
188
|
marshalling_gen.unmarshalListLinksResponse
|
|
200
189
|
);
|
|
201
190
|
/**
|
|
202
|
-
* List links. List all your links (InterLink connections). A number of
|
|
203
|
-
* filters are available, including Project ID, name, tags and status.
|
|
191
|
+
* List links. List all your links (InterLink connections). A number of filters are available, including Project ID, name, tags and status.
|
|
204
192
|
*
|
|
205
193
|
* @param request - The request {@link ListLinksRequest}
|
|
206
194
|
* @returns A Promise of ListLinksResponse
|
|
207
195
|
*/
|
|
208
196
|
listLinks = (request = {}) => resourcePaginator.enrichForPagination("links", this.pageOfListLinks, request);
|
|
209
197
|
/**
|
|
210
|
-
* Get a link. Get a link (InterLink session / logical InterLink resource) for
|
|
211
|
-
* the given link ID. The response object includes information about the
|
|
212
|
-
* link's various configuration details.
|
|
198
|
+
* Get a link. Get a link (InterLink session / logical InterLink resource) for the given link ID. The response object includes information about the link's various configuration details.
|
|
213
199
|
*
|
|
214
200
|
* @param request - The request {@link GetLinkRequest}
|
|
215
201
|
* @returns A Promise of Link
|
|
@@ -237,11 +223,7 @@ class API extends api.API {
|
|
|
237
223
|
options
|
|
238
224
|
);
|
|
239
225
|
/**
|
|
240
|
-
* Create a link. Create a link (InterLink session / logical InterLink
|
|
241
|
-
* resource) in a given PoP, specifying its various configuration details.
|
|
242
|
-
* Links can either be hosted (faciliated by partners' shared physical
|
|
243
|
-
* connections) or self-hosted (for users who have purchased a dedicated
|
|
244
|
-
* physical connection).
|
|
226
|
+
* Create a link. Create a link (InterLink session / logical InterLink resource) in a given PoP, specifying its various configuration details. Links can either be hosted (faciliated by partners' shared physical connections) or self-hosted (for users who have purchased a dedicated physical connection).
|
|
245
227
|
*
|
|
246
228
|
* @param request - The request {@link CreateLinkRequest}
|
|
247
229
|
* @returns A Promise of Link
|
|
@@ -258,8 +240,7 @@ class API extends api.API {
|
|
|
258
240
|
marshalling_gen.unmarshalLink
|
|
259
241
|
);
|
|
260
242
|
/**
|
|
261
|
-
* Update a link. Update an existing link, specified by its link ID. Only its
|
|
262
|
-
* name and tags can be updated.
|
|
243
|
+
* Update a link. Update an existing link, specified by its link ID. Only its name and tags can be updated.
|
|
263
244
|
*
|
|
264
245
|
* @param request - The request {@link UpdateLinkRequest}
|
|
265
246
|
* @returns A Promise of Link
|
|
@@ -276,11 +257,7 @@ class API extends api.API {
|
|
|
276
257
|
marshalling_gen.unmarshalLink
|
|
277
258
|
);
|
|
278
259
|
/**
|
|
279
|
-
* Delete a link. Delete an existing link, specified by its link ID. Note that
|
|
280
|
-
* as well as deleting the link here on the Scaleway side, it is also
|
|
281
|
-
* necessary to request deletion from the partner on their side. Only when
|
|
282
|
-
* this action has been carried out on both sides will the resource be
|
|
283
|
-
* completely deleted.
|
|
260
|
+
* Delete a link. Delete an existing link, specified by its link ID. Note that as well as deleting the link here on the Scaleway side, it is also necessary to request deletion from the partner on their side. Only when this action has been carried out on both sides will the resource be completely deleted.
|
|
284
261
|
*
|
|
285
262
|
* @param request - The request {@link DeleteLinkRequest}
|
|
286
263
|
* @returns A Promise of Link
|
|
@@ -293,9 +270,7 @@ class API extends api.API {
|
|
|
293
270
|
marshalling_gen.unmarshalLink
|
|
294
271
|
);
|
|
295
272
|
/**
|
|
296
|
-
* Attach a VPC. Attach a VPC to an existing link. This facilitates
|
|
297
|
-
* communication between the resources in your Scaleway VPC, and your
|
|
298
|
-
* on-premises infrastructure.
|
|
273
|
+
* Attach a VPC. Attach a VPC to an existing link. This facilitates communication between the resources in your Scaleway VPC, and your on-premises infrastructure.
|
|
299
274
|
*
|
|
300
275
|
* @param request - The request {@link AttachVpcRequest}
|
|
301
276
|
* @returns A Promise of Link
|
|
@@ -327,10 +302,7 @@ class API extends api.API {
|
|
|
327
302
|
marshalling_gen.unmarshalLink
|
|
328
303
|
);
|
|
329
304
|
/**
|
|
330
|
-
* Attach a routing policy. Attach a routing policy to an existing link. As
|
|
331
|
-
* all routes across the link are blocked by default, you must attach a
|
|
332
|
-
* routing policy to set IP prefix filters for allowed routes, facilitating
|
|
333
|
-
* traffic flow.
|
|
305
|
+
* Attach a routing policy. Attach a routing policy to an existing link. As all routes across the link are blocked by default, you must attach a routing policy to set IP prefix filters for allowed routes, facilitating traffic flow.
|
|
334
306
|
*
|
|
335
307
|
* @param request - The request {@link AttachRoutingPolicyRequest}
|
|
336
308
|
* @returns A Promise of Link
|
|
@@ -347,9 +319,7 @@ class API extends api.API {
|
|
|
347
319
|
marshalling_gen.unmarshalLink
|
|
348
320
|
);
|
|
349
321
|
/**
|
|
350
|
-
* Detach a routing policy. Detach a routing policy from an existing link.
|
|
351
|
-
* Without a routing policy, all routes across the link are blocked by
|
|
352
|
-
* default.
|
|
322
|
+
* Detach a routing policy. Detach a routing policy from an existing link. Without a routing policy, all routes across the link are blocked by default.
|
|
353
323
|
*
|
|
354
324
|
* @param request - The request {@link DetachRoutingPolicyRequest}
|
|
355
325
|
* @returns A Promise of Link
|
|
@@ -364,12 +334,7 @@ class API extends api.API {
|
|
|
364
334
|
marshalling_gen.unmarshalLink
|
|
365
335
|
);
|
|
366
336
|
/**
|
|
367
|
-
* Enable route propagation. Enable all allowed prefixes (defined in a routing
|
|
368
|
-
* policy) to be announced in the BGP session. This allows traffic to flow
|
|
369
|
-
* between the attached VPC and the on-premises infrastructure along the
|
|
370
|
-
* announced routes. Note that by default, even when route propagation is
|
|
371
|
-
* enabled, all routes are blocked. It is essential to attach a routing policy
|
|
372
|
-
* to define the ranges of routes to announce.
|
|
337
|
+
* Enable route propagation. Enable all allowed prefixes (defined in a routing policy) to be announced in the BGP session. This allows traffic to flow between the attached VPC and the on-premises infrastructure along the announced routes. Note that by default, even when route propagation is enabled, all routes are blocked. It is essential to attach a routing policy to define the ranges of routes to announce.
|
|
373
338
|
*
|
|
374
339
|
* @param request - The request {@link EnableRoutePropagationRequest}
|
|
375
340
|
* @returns A Promise of Link
|
|
@@ -384,9 +349,7 @@ class API extends api.API {
|
|
|
384
349
|
marshalling_gen.unmarshalLink
|
|
385
350
|
);
|
|
386
351
|
/**
|
|
387
|
-
* Disable route propagation. Prevent any prefixes from being announced in the
|
|
388
|
-
* BGP session. Traffic will not be able to flow over the InterLink until
|
|
389
|
-
* route propagation is re-enabled.
|
|
352
|
+
* Disable route propagation. Prevent any prefixes from being announced in the BGP session. Traffic will not be able to flow over the InterLink until route propagation is re-enabled.
|
|
390
353
|
*
|
|
391
354
|
* @param request - The request {@link DisableRoutePropagationRequest}
|
|
392
355
|
* @returns A Promise of Link
|
|
@@ -420,9 +383,7 @@ class API extends api.API {
|
|
|
420
383
|
marshalling_gen.unmarshalListRoutingPoliciesResponse
|
|
421
384
|
);
|
|
422
385
|
/**
|
|
423
|
-
* List routing policies. List all routing policies in a given region. A
|
|
424
|
-
* routing policy can be attached to one or multiple links (InterLink
|
|
425
|
-
* connections).
|
|
386
|
+
* List routing policies. List all routing policies in a given region. A routing policy can be attached to one or multiple links (InterLink connections).
|
|
426
387
|
*
|
|
427
388
|
* @param request - The request {@link ListRoutingPoliciesRequest}
|
|
428
389
|
* @returns A Promise of ListRoutingPoliciesResponse
|
|
@@ -433,9 +394,7 @@ class API extends api.API {
|
|
|
433
394
|
request
|
|
434
395
|
);
|
|
435
396
|
/**
|
|
436
|
-
* Get routing policy. Get a routing policy for the given routing policy ID.
|
|
437
|
-
* The response object gives information including the policy's name, tags and
|
|
438
|
-
* prefix filters.
|
|
397
|
+
* Get routing policy. Get a routing policy for the given routing policy ID. The response object gives information including the policy's name, tags and prefix filters.
|
|
439
398
|
*
|
|
440
399
|
* @param request - The request {@link GetRoutingPolicyRequest}
|
|
441
400
|
* @returns A Promise of RoutingPolicy
|
|
@@ -448,9 +407,7 @@ class API extends api.API {
|
|
|
448
407
|
marshalling_gen.unmarshalRoutingPolicy
|
|
449
408
|
);
|
|
450
409
|
/**
|
|
451
|
-
* Create a routing policy. Create a routing policy. Routing policies allow
|
|
452
|
-
* you to set IP prefix filters to define the incoming route announcements to
|
|
453
|
-
* accept from the peer, and the outgoing routes to announce to the peer.
|
|
410
|
+
* Create a routing policy. Create a routing policy. Routing policies allow you to set IP prefix filters to define the incoming route announcements to accept from the peer, and the outgoing routes to announce to the peer.
|
|
454
411
|
*
|
|
455
412
|
* @param request - The request {@link CreateRoutingPolicyRequest}
|
|
456
413
|
* @returns A Promise of RoutingPolicy
|
|
@@ -467,9 +424,7 @@ class API extends api.API {
|
|
|
467
424
|
marshalling_gen.unmarshalRoutingPolicy
|
|
468
425
|
);
|
|
469
426
|
/**
|
|
470
|
-
* Update a routing policy. Update an existing routing policy, specified by
|
|
471
|
-
* its routing policy ID. Its name, tags and incoming/outgoing prefix filters
|
|
472
|
-
* can be updated.
|
|
427
|
+
* Update a routing policy. Update an existing routing policy, specified by its routing policy ID. Its name, tags and incoming/outgoing prefix filters can be updated.
|
|
473
428
|
*
|
|
474
429
|
* @param request - The request {@link UpdateRoutingPolicyRequest}
|
|
475
430
|
* @returns A Promise of RoutingPolicy
|
|
@@ -486,8 +441,7 @@ class API extends api.API {
|
|
|
486
441
|
marshalling_gen.unmarshalRoutingPolicy
|
|
487
442
|
);
|
|
488
443
|
/**
|
|
489
|
-
* Delete a routing policy. Delete an existing routing policy, specified by
|
|
490
|
-
* its routing policy ID.
|
|
444
|
+
* Delete a routing policy. Delete an existing routing policy, specified by its routing policy ID.
|
|
491
445
|
*
|
|
492
446
|
* @param request - The request {@link DeleteRoutingPolicyRequest}
|
|
493
447
|
*/
|