@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
|
@@ -9,94 +9,153 @@ export type ListPartnersRequestOrderBy = 'name_asc' | 'name_desc';
|
|
|
9
9
|
export type ListPopsRequestOrderBy = 'name_asc' | 'name_desc';
|
|
10
10
|
export type ListRoutingPoliciesRequestOrderBy = 'created_at_asc' | 'created_at_desc' | 'name_asc' | 'name_desc';
|
|
11
11
|
export interface BgpConfig {
|
|
12
|
-
/**
|
|
12
|
+
/**
|
|
13
|
+
* AS Number of the BGP peer.
|
|
14
|
+
*/
|
|
13
15
|
asn: number;
|
|
14
|
-
/**
|
|
16
|
+
/**
|
|
17
|
+
* IPv4 address of the BGP peer.
|
|
18
|
+
*/
|
|
15
19
|
ipv4: string;
|
|
16
|
-
/**
|
|
20
|
+
/**
|
|
21
|
+
* IPv6 address of the BGP peer.
|
|
22
|
+
*/
|
|
17
23
|
ipv6: string;
|
|
18
24
|
}
|
|
19
25
|
export interface PartnerHost {
|
|
20
|
-
/**
|
|
26
|
+
/**
|
|
27
|
+
* ID of the partner facilitating the link.
|
|
28
|
+
*/
|
|
21
29
|
partnerId: string;
|
|
22
|
-
/**
|
|
30
|
+
/**
|
|
31
|
+
* Used to identify a link from a user or partner's point of view.
|
|
32
|
+
*/
|
|
23
33
|
pairingKey: string;
|
|
24
34
|
/**
|
|
25
|
-
* Reason given by partner to explain why they did not approve the request for
|
|
26
|
-
* a hosted link.
|
|
35
|
+
* Reason given by partner to explain why they did not approve the request for a hosted link.
|
|
27
36
|
*/
|
|
28
37
|
disapprovedReason?: string;
|
|
29
38
|
}
|
|
30
39
|
export interface SelfHost {
|
|
31
|
-
/**
|
|
40
|
+
/**
|
|
41
|
+
* Dedicated physical connection supporting the link.
|
|
42
|
+
*/
|
|
32
43
|
connectionId: string;
|
|
33
44
|
}
|
|
34
45
|
export interface DedicatedConnection {
|
|
35
|
-
/**
|
|
46
|
+
/**
|
|
47
|
+
* Unique identifier of the dedicated connection.
|
|
48
|
+
*/
|
|
36
49
|
id: string;
|
|
37
|
-
/**
|
|
50
|
+
/**
|
|
51
|
+
* Project ID.
|
|
52
|
+
*/
|
|
38
53
|
projectId: string;
|
|
39
|
-
/**
|
|
54
|
+
/**
|
|
55
|
+
* Organization ID.
|
|
56
|
+
*/
|
|
40
57
|
organizationId: string;
|
|
41
|
-
/**
|
|
58
|
+
/**
|
|
59
|
+
* Status of the dedicated connection.
|
|
60
|
+
*/
|
|
42
61
|
status: DedicatedConnectionStatus;
|
|
43
|
-
/**
|
|
62
|
+
/**
|
|
63
|
+
* Name of the dedicated connection.
|
|
64
|
+
*/
|
|
44
65
|
name: string;
|
|
45
|
-
/**
|
|
66
|
+
/**
|
|
67
|
+
* List of tags associated with the dedicated connection.
|
|
68
|
+
*/
|
|
46
69
|
tags: string[];
|
|
47
|
-
/**
|
|
70
|
+
/**
|
|
71
|
+
* ID of the PoP where the dedicated connection is located.
|
|
72
|
+
*/
|
|
48
73
|
popId: string;
|
|
49
|
-
/**
|
|
74
|
+
/**
|
|
75
|
+
* Bandwidth size of the dedicated connection.
|
|
76
|
+
*/
|
|
50
77
|
bandwidthMbps: number;
|
|
51
|
-
/**
|
|
78
|
+
/**
|
|
79
|
+
* Size of the links supported on this dedicated connection.
|
|
80
|
+
*/
|
|
52
81
|
availableLinkBandwidths: number[];
|
|
53
|
-
/**
|
|
82
|
+
/**
|
|
83
|
+
* Creation date of the dedicated connection.
|
|
84
|
+
*/
|
|
54
85
|
createdAt?: Date;
|
|
55
|
-
/**
|
|
86
|
+
/**
|
|
87
|
+
* Last modification date of the dedicated connection.
|
|
88
|
+
*/
|
|
56
89
|
updatedAt?: Date;
|
|
57
90
|
/**
|
|
58
|
-
* Demarcation details required by the data center to set up the supporting
|
|
59
|
-
* Cross Connect. This generally includes the physical space in the facility,
|
|
60
|
-
* the cabinet or rack the connection should land in, the patch panel to go
|
|
61
|
-
* in, the port designation, and the media type.
|
|
91
|
+
* Demarcation details required by the data center to set up the supporting Cross Connect. This generally includes the physical space in the facility, the cabinet or rack the connection should land in, the patch panel to go in, the port designation, and the media type.
|
|
62
92
|
*/
|
|
63
93
|
demarcationInfo?: string;
|
|
64
|
-
/**
|
|
94
|
+
/**
|
|
95
|
+
* Region of the dedicated connection.
|
|
96
|
+
*/
|
|
65
97
|
region: ScwRegion;
|
|
66
98
|
}
|
|
67
99
|
export interface Link {
|
|
68
|
-
/**
|
|
100
|
+
/**
|
|
101
|
+
* Unique identifier of the link.
|
|
102
|
+
*/
|
|
69
103
|
id: string;
|
|
70
|
-
/**
|
|
104
|
+
/**
|
|
105
|
+
* Project ID.
|
|
106
|
+
*/
|
|
71
107
|
projectId: string;
|
|
72
|
-
/**
|
|
108
|
+
/**
|
|
109
|
+
* Organization ID.
|
|
110
|
+
*/
|
|
73
111
|
organizationId: string;
|
|
74
|
-
/**
|
|
112
|
+
/**
|
|
113
|
+
* Name of the link.
|
|
114
|
+
*/
|
|
75
115
|
name: string;
|
|
76
|
-
/**
|
|
116
|
+
/**
|
|
117
|
+
* List of tags associated with the link.
|
|
118
|
+
*/
|
|
77
119
|
tags: string[];
|
|
78
|
-
/**
|
|
120
|
+
/**
|
|
121
|
+
* ID of the PoP where the link's corresponding connection is located.
|
|
122
|
+
*/
|
|
79
123
|
popId: string;
|
|
80
|
-
/**
|
|
124
|
+
/**
|
|
125
|
+
* Rate limited bandwidth of the link.
|
|
126
|
+
*/
|
|
81
127
|
bandwidthMbps: number;
|
|
82
|
-
/**
|
|
128
|
+
/**
|
|
129
|
+
* Status of the link.
|
|
130
|
+
*/
|
|
83
131
|
status: LinkStatus;
|
|
84
|
-
/**
|
|
132
|
+
/**
|
|
133
|
+
* Status of the link's BGP IPv4 session.
|
|
134
|
+
*/
|
|
85
135
|
bgpV4Status: BgpStatus;
|
|
86
|
-
/**
|
|
136
|
+
/**
|
|
137
|
+
* Status of the link's BGP IPv6 session.
|
|
138
|
+
*/
|
|
87
139
|
bgpV6Status: BgpStatus;
|
|
88
|
-
/**
|
|
140
|
+
/**
|
|
141
|
+
* ID of the Scaleway VPC attached to the link.
|
|
142
|
+
*/
|
|
89
143
|
vpcId?: string;
|
|
90
|
-
/**
|
|
144
|
+
/**
|
|
145
|
+
* ID of the routing policy attached to the link.
|
|
146
|
+
*/
|
|
91
147
|
routingPolicyId?: string;
|
|
92
148
|
/**
|
|
93
|
-
* Defines whether route propagation is enabled or not. To enable or disable
|
|
94
|
-
* route propagation, use the dedicated endpoint.
|
|
149
|
+
* Defines whether route propagation is enabled or not. To enable or disable route propagation, use the dedicated endpoint.
|
|
95
150
|
*/
|
|
96
151
|
enableRoutePropagation: boolean;
|
|
97
|
-
/**
|
|
152
|
+
/**
|
|
153
|
+
* Creation date of the link.
|
|
154
|
+
*/
|
|
98
155
|
createdAt?: Date;
|
|
99
|
-
/**
|
|
156
|
+
/**
|
|
157
|
+
* Last modification date of the link.
|
|
158
|
+
*/
|
|
100
159
|
updatedAt?: Date;
|
|
101
160
|
/**
|
|
102
161
|
* Partner host information.
|
|
@@ -110,414 +169,591 @@ export interface Link {
|
|
|
110
169
|
* One-of ('hostInfo'): at most one of 'partner', 'self' could be set.
|
|
111
170
|
*/
|
|
112
171
|
self?: SelfHost;
|
|
113
|
-
/**
|
|
172
|
+
/**
|
|
173
|
+
* VLAN of the link.
|
|
174
|
+
*/
|
|
114
175
|
vlan: number;
|
|
115
|
-
/**
|
|
176
|
+
/**
|
|
177
|
+
* BGP configuration on Scaleway's side.
|
|
178
|
+
*/
|
|
116
179
|
scwBgpConfig?: BgpConfig;
|
|
117
|
-
/**
|
|
180
|
+
/**
|
|
181
|
+
* BGP configuration on peer's side (on-premises or other hosting provider).
|
|
182
|
+
*/
|
|
118
183
|
peerBgpConfig?: BgpConfig;
|
|
119
|
-
/**
|
|
184
|
+
/**
|
|
185
|
+
* Region of the link.
|
|
186
|
+
*/
|
|
120
187
|
region: ScwRegion;
|
|
121
188
|
}
|
|
122
189
|
export interface Partner {
|
|
123
|
-
/**
|
|
190
|
+
/**
|
|
191
|
+
* Unique identifier of the partner.
|
|
192
|
+
*/
|
|
124
193
|
id: string;
|
|
125
|
-
/**
|
|
194
|
+
/**
|
|
195
|
+
* Name of the partner.
|
|
196
|
+
*/
|
|
126
197
|
name: string;
|
|
127
|
-
/**
|
|
198
|
+
/**
|
|
199
|
+
* Contact email address of partner.
|
|
200
|
+
*/
|
|
128
201
|
contactEmail: string;
|
|
129
|
-
/**
|
|
202
|
+
/**
|
|
203
|
+
* Image URL of the partner's logo.
|
|
204
|
+
*/
|
|
130
205
|
logoUrl: string;
|
|
131
|
-
/**
|
|
206
|
+
/**
|
|
207
|
+
* URL of the partner's portal.
|
|
208
|
+
*/
|
|
132
209
|
portalUrl: string;
|
|
133
|
-
/**
|
|
210
|
+
/**
|
|
211
|
+
* Creation date of the partner.
|
|
212
|
+
*/
|
|
134
213
|
createdAt?: Date;
|
|
135
|
-
/**
|
|
214
|
+
/**
|
|
215
|
+
* Last modification date of the partner.
|
|
216
|
+
*/
|
|
136
217
|
updatedAt?: Date;
|
|
137
218
|
}
|
|
138
219
|
export interface Pop {
|
|
139
|
-
/**
|
|
220
|
+
/**
|
|
221
|
+
* Unique identifier of the PoP.
|
|
222
|
+
*/
|
|
140
223
|
id: string;
|
|
141
|
-
/**
|
|
224
|
+
/**
|
|
225
|
+
* Name of the PoP. It is the common reference of Hosting DC (ex: TH2).
|
|
226
|
+
*/
|
|
142
227
|
name: string;
|
|
143
228
|
/**
|
|
144
|
-
* Name of the PoP's hosting provider, e.g. Telehouse for TH2 or OpCore for
|
|
145
|
-
* DC3.
|
|
229
|
+
* Name of the PoP's hosting provider, e.g. Telehouse for TH2 or OpCore for DC3.
|
|
146
230
|
*/
|
|
147
231
|
hostingProviderName: string;
|
|
148
|
-
/**
|
|
232
|
+
/**
|
|
233
|
+
* Physical address of the PoP.
|
|
234
|
+
*/
|
|
149
235
|
address: string;
|
|
150
|
-
/**
|
|
236
|
+
/**
|
|
237
|
+
* City where PoP is located.
|
|
238
|
+
*/
|
|
151
239
|
city: string;
|
|
152
|
-
/**
|
|
240
|
+
/**
|
|
241
|
+
* Image URL of the PoP's logo.
|
|
242
|
+
*/
|
|
153
243
|
logoUrl: string;
|
|
154
244
|
/**
|
|
155
|
-
* Available bandwidth in Mbits/s for future hosted links from available
|
|
156
|
-
* connections in this PoP.
|
|
245
|
+
* Available bandwidth in Mbits/s for future hosted links from available connections in this PoP.
|
|
157
246
|
*/
|
|
158
247
|
availableLinkBandwidthsMbps: number[];
|
|
159
|
-
/**
|
|
248
|
+
/**
|
|
249
|
+
* Region of the PoP.
|
|
250
|
+
*/
|
|
160
251
|
region: ScwRegion;
|
|
161
252
|
}
|
|
162
253
|
export interface RoutingPolicy {
|
|
163
|
-
/**
|
|
254
|
+
/**
|
|
255
|
+
* Unique identifier of the routing policy.
|
|
256
|
+
*/
|
|
164
257
|
id: string;
|
|
165
|
-
/**
|
|
258
|
+
/**
|
|
259
|
+
* Project ID.
|
|
260
|
+
*/
|
|
166
261
|
projectId: string;
|
|
167
|
-
/**
|
|
262
|
+
/**
|
|
263
|
+
* Organization ID.
|
|
264
|
+
*/
|
|
168
265
|
organizationId: string;
|
|
169
|
-
/**
|
|
266
|
+
/**
|
|
267
|
+
* Name of the routing policy.
|
|
268
|
+
*/
|
|
170
269
|
name: string;
|
|
171
|
-
/**
|
|
270
|
+
/**
|
|
271
|
+
* List of tags associated with the routing policy.
|
|
272
|
+
*/
|
|
172
273
|
tags: string[];
|
|
173
274
|
/**
|
|
174
|
-
* IP prefixes to accept from the peer (ranges of route announcements to
|
|
175
|
-
* accept).
|
|
275
|
+
* IP prefixes to accept from the peer (ranges of route announcements to accept).
|
|
176
276
|
*/
|
|
177
277
|
prefixFilterIn: string[];
|
|
178
|
-
/**
|
|
278
|
+
/**
|
|
279
|
+
* IP prefix filters to advertise to the peer (ranges of routes to advertise).
|
|
280
|
+
*/
|
|
179
281
|
prefixFilterOut: string[];
|
|
180
|
-
/**
|
|
282
|
+
/**
|
|
283
|
+
* Creation date of the routing policy.
|
|
284
|
+
*/
|
|
181
285
|
createdAt?: Date;
|
|
182
|
-
/**
|
|
286
|
+
/**
|
|
287
|
+
* Last modification date of the routing policy.
|
|
288
|
+
*/
|
|
183
289
|
updatedAt?: Date;
|
|
184
|
-
/**
|
|
290
|
+
/**
|
|
291
|
+
* Region of the routing policy.
|
|
292
|
+
*/
|
|
185
293
|
region: ScwRegion;
|
|
186
294
|
}
|
|
187
295
|
export type AttachRoutingPolicyRequest = {
|
|
188
296
|
/**
|
|
189
|
-
* Region to target. If none is passed will use default region from the
|
|
190
|
-
* config.
|
|
297
|
+
* Region to target. If none is passed will use default region from the config.
|
|
191
298
|
*/
|
|
192
299
|
region?: ScwRegion;
|
|
193
|
-
/**
|
|
300
|
+
/**
|
|
301
|
+
* ID of the link to attach a routing policy to.
|
|
302
|
+
*/
|
|
194
303
|
linkId: string;
|
|
195
|
-
/**
|
|
304
|
+
/**
|
|
305
|
+
* ID of the routing policy to be attached.
|
|
306
|
+
*/
|
|
196
307
|
routingPolicyId: string;
|
|
197
308
|
};
|
|
198
309
|
export type AttachVpcRequest = {
|
|
199
310
|
/**
|
|
200
|
-
* Region to target. If none is passed will use default region from the
|
|
201
|
-
* config.
|
|
311
|
+
* Region to target. If none is passed will use default region from the config.
|
|
202
312
|
*/
|
|
203
313
|
region?: ScwRegion;
|
|
204
|
-
/**
|
|
314
|
+
/**
|
|
315
|
+
* ID of the link to attach VPC to.
|
|
316
|
+
*/
|
|
205
317
|
linkId: string;
|
|
206
|
-
/**
|
|
318
|
+
/**
|
|
319
|
+
* ID of the VPC to attach.
|
|
320
|
+
*/
|
|
207
321
|
vpcId: string;
|
|
208
322
|
};
|
|
209
323
|
export type CreateLinkRequest = {
|
|
210
324
|
/**
|
|
211
|
-
* Region to target. If none is passed will use default region from the
|
|
212
|
-
* config.
|
|
325
|
+
* Region to target. If none is passed will use default region from the config.
|
|
213
326
|
*/
|
|
214
327
|
region?: ScwRegion;
|
|
215
|
-
/**
|
|
328
|
+
/**
|
|
329
|
+
* ID of the Project to create the link in.
|
|
330
|
+
*/
|
|
216
331
|
projectId?: string;
|
|
217
|
-
/**
|
|
332
|
+
/**
|
|
333
|
+
* Name of the link.
|
|
334
|
+
*/
|
|
218
335
|
name: string;
|
|
219
|
-
/**
|
|
336
|
+
/**
|
|
337
|
+
* List of tags to apply to the link.
|
|
338
|
+
*/
|
|
220
339
|
tags?: string[];
|
|
221
|
-
/**
|
|
340
|
+
/**
|
|
341
|
+
* PoP (location) where the link will be created.
|
|
342
|
+
*/
|
|
222
343
|
popId: string;
|
|
223
344
|
/**
|
|
224
|
-
* Desired bandwidth for the link. Must be compatible with available link
|
|
225
|
-
* bandwidths and remaining bandwidth capacity of the connection.
|
|
345
|
+
* Desired bandwidth for the link. Must be compatible with available link bandwidths and remaining bandwidth capacity of the connection.
|
|
226
346
|
*/
|
|
227
347
|
bandwidthMbps: number;
|
|
228
348
|
/**
|
|
229
|
-
* If set, creates a self-hosted link using this dedicated physical
|
|
230
|
-
* connection. As the customer, specify the ID of the physical connection you
|
|
231
|
-
* already have for this link.
|
|
349
|
+
* If set, creates a self-hosted link using this dedicated physical connection. As the customer, specify the ID of the physical connection you already have for this link.
|
|
232
350
|
*
|
|
233
351
|
* One-of ('host'): at most one of 'connectionId', 'partnerId' could be set.
|
|
234
352
|
*/
|
|
235
353
|
connectionId?: string;
|
|
236
354
|
/**
|
|
237
|
-
* If set, creates a hosted link on a partner's connection. Specify the ID of
|
|
238
|
-
* the chosen partner, who already has a shared connection with available
|
|
239
|
-
* bandwidth.
|
|
355
|
+
* If set, creates a hosted link on a partner's connection. Specify the ID of the chosen partner, who already has a shared connection with available bandwidth.
|
|
240
356
|
*
|
|
241
357
|
* One-of ('host'): at most one of 'connectionId', 'partnerId' could be set.
|
|
242
358
|
*/
|
|
243
359
|
partnerId?: string;
|
|
360
|
+
/**
|
|
361
|
+
* For self-hosted links we need the peer AS Number to establish BGP session. If not given, a default one will be assigned.
|
|
362
|
+
*/
|
|
363
|
+
peerAsn?: number;
|
|
244
364
|
};
|
|
245
365
|
export type CreateRoutingPolicyRequest = {
|
|
246
366
|
/**
|
|
247
|
-
* Region to target. If none is passed will use default region from the
|
|
248
|
-
* config.
|
|
367
|
+
* Region to target. If none is passed will use default region from the config.
|
|
249
368
|
*/
|
|
250
369
|
region?: ScwRegion;
|
|
251
|
-
/**
|
|
370
|
+
/**
|
|
371
|
+
* ID of the Project to create the routing policy in.
|
|
372
|
+
*/
|
|
252
373
|
projectId?: string;
|
|
253
|
-
/**
|
|
374
|
+
/**
|
|
375
|
+
* Name of the routing policy.
|
|
376
|
+
*/
|
|
254
377
|
name: string;
|
|
255
|
-
/**
|
|
378
|
+
/**
|
|
379
|
+
* List of tags to apply to the routing policy.
|
|
380
|
+
*/
|
|
256
381
|
tags?: string[];
|
|
257
382
|
/**
|
|
258
|
-
* IP prefixes to accept from the peer (ranges of route announcements to
|
|
259
|
-
* accept).
|
|
383
|
+
* IP prefixes to accept from the peer (ranges of route announcements to accept).
|
|
260
384
|
*/
|
|
261
385
|
prefixFilterIn?: string[];
|
|
262
|
-
/**
|
|
386
|
+
/**
|
|
387
|
+
* IP prefix filters to advertise to the peer (ranges of routes to advertise).
|
|
388
|
+
*/
|
|
263
389
|
prefixFilterOut?: string[];
|
|
264
390
|
};
|
|
265
391
|
export type DeleteLinkRequest = {
|
|
266
392
|
/**
|
|
267
|
-
* Region to target. If none is passed will use default region from the
|
|
268
|
-
* config.
|
|
393
|
+
* Region to target. If none is passed will use default region from the config.
|
|
269
394
|
*/
|
|
270
395
|
region?: ScwRegion;
|
|
271
|
-
/**
|
|
396
|
+
/**
|
|
397
|
+
* ID of the link to delete.
|
|
398
|
+
*/
|
|
272
399
|
linkId: string;
|
|
273
400
|
};
|
|
274
401
|
export type DeleteRoutingPolicyRequest = {
|
|
275
402
|
/**
|
|
276
|
-
* Region to target. If none is passed will use default region from the
|
|
277
|
-
* config.
|
|
403
|
+
* Region to target. If none is passed will use default region from the config.
|
|
278
404
|
*/
|
|
279
405
|
region?: ScwRegion;
|
|
280
|
-
/**
|
|
406
|
+
/**
|
|
407
|
+
* ID of the routing policy to delete.
|
|
408
|
+
*/
|
|
281
409
|
routingPolicyId: string;
|
|
282
410
|
};
|
|
283
411
|
export type DetachRoutingPolicyRequest = {
|
|
284
412
|
/**
|
|
285
|
-
* Region to target. If none is passed will use default region from the
|
|
286
|
-
* config.
|
|
413
|
+
* Region to target. If none is passed will use default region from the config.
|
|
287
414
|
*/
|
|
288
415
|
region?: ScwRegion;
|
|
289
|
-
/**
|
|
416
|
+
/**
|
|
417
|
+
* ID of the link to detach a routing policy from.
|
|
418
|
+
*/
|
|
290
419
|
linkId: string;
|
|
291
420
|
};
|
|
292
421
|
export type DetachVpcRequest = {
|
|
293
422
|
/**
|
|
294
|
-
* Region to target. If none is passed will use default region from the
|
|
295
|
-
* config.
|
|
423
|
+
* Region to target. If none is passed will use default region from the config.
|
|
296
424
|
*/
|
|
297
425
|
region?: ScwRegion;
|
|
298
|
-
/**
|
|
426
|
+
/**
|
|
427
|
+
* ID of the link to detach the VPC from.
|
|
428
|
+
*/
|
|
299
429
|
linkId: string;
|
|
300
430
|
};
|
|
301
431
|
export type DisableRoutePropagationRequest = {
|
|
302
432
|
/**
|
|
303
|
-
* Region to target. If none is passed will use default region from the
|
|
304
|
-
* config.
|
|
433
|
+
* Region to target. If none is passed will use default region from the config.
|
|
305
434
|
*/
|
|
306
435
|
region?: ScwRegion;
|
|
307
|
-
/**
|
|
436
|
+
/**
|
|
437
|
+
* ID of the link on which to disable route propagation.
|
|
438
|
+
*/
|
|
308
439
|
linkId: string;
|
|
309
440
|
};
|
|
310
441
|
export type EnableRoutePropagationRequest = {
|
|
311
442
|
/**
|
|
312
|
-
* Region to target. If none is passed will use default region from the
|
|
313
|
-
* config.
|
|
443
|
+
* Region to target. If none is passed will use default region from the config.
|
|
314
444
|
*/
|
|
315
445
|
region?: ScwRegion;
|
|
316
|
-
/**
|
|
446
|
+
/**
|
|
447
|
+
* ID of the link on which to enable route propagation.
|
|
448
|
+
*/
|
|
317
449
|
linkId: string;
|
|
318
450
|
};
|
|
319
451
|
export type GetDedicatedConnectionRequest = {
|
|
320
452
|
/**
|
|
321
|
-
* Region to target. If none is passed will use default region from the
|
|
322
|
-
* config.
|
|
453
|
+
* Region to target. If none is passed will use default region from the config.
|
|
323
454
|
*/
|
|
324
455
|
region?: ScwRegion;
|
|
325
|
-
/**
|
|
456
|
+
/**
|
|
457
|
+
* ID of connection to get.
|
|
458
|
+
*/
|
|
326
459
|
connectionId: string;
|
|
327
460
|
};
|
|
328
461
|
export type GetLinkRequest = {
|
|
329
462
|
/**
|
|
330
|
-
* Region to target. If none is passed will use default region from the
|
|
331
|
-
* config.
|
|
463
|
+
* Region to target. If none is passed will use default region from the config.
|
|
332
464
|
*/
|
|
333
465
|
region?: ScwRegion;
|
|
334
|
-
/**
|
|
466
|
+
/**
|
|
467
|
+
* ID of the link to get.
|
|
468
|
+
*/
|
|
335
469
|
linkId: string;
|
|
336
470
|
};
|
|
337
471
|
export type GetPartnerRequest = {
|
|
338
472
|
/**
|
|
339
|
-
* Region to target. If none is passed will use default region from the
|
|
340
|
-
* config.
|
|
473
|
+
* Region to target. If none is passed will use default region from the config.
|
|
341
474
|
*/
|
|
342
475
|
region?: ScwRegion;
|
|
343
|
-
/**
|
|
476
|
+
/**
|
|
477
|
+
* ID of partner to get.
|
|
478
|
+
*/
|
|
344
479
|
partnerId: string;
|
|
345
480
|
};
|
|
346
481
|
export type GetPopRequest = {
|
|
347
482
|
/**
|
|
348
|
-
* Region to target. If none is passed will use default region from the
|
|
349
|
-
* config.
|
|
483
|
+
* Region to target. If none is passed will use default region from the config.
|
|
350
484
|
*/
|
|
351
485
|
region?: ScwRegion;
|
|
352
|
-
/**
|
|
486
|
+
/**
|
|
487
|
+
* ID of PoP to get.
|
|
488
|
+
*/
|
|
353
489
|
popId: string;
|
|
354
490
|
};
|
|
355
491
|
export type GetRoutingPolicyRequest = {
|
|
356
492
|
/**
|
|
357
|
-
* Region to target. If none is passed will use default region from the
|
|
358
|
-
* config.
|
|
493
|
+
* Region to target. If none is passed will use default region from the config.
|
|
359
494
|
*/
|
|
360
495
|
region?: ScwRegion;
|
|
361
|
-
/**
|
|
496
|
+
/**
|
|
497
|
+
* ID of the routing policy to get.
|
|
498
|
+
*/
|
|
362
499
|
routingPolicyId: string;
|
|
363
500
|
};
|
|
364
501
|
export type ListDedicatedConnectionsRequest = {
|
|
365
502
|
/**
|
|
366
|
-
* Region to target. If none is passed will use default region from the
|
|
367
|
-
* config.
|
|
503
|
+
* Region to target. If none is passed will use default region from the config.
|
|
368
504
|
*/
|
|
369
505
|
region?: ScwRegion;
|
|
370
|
-
/**
|
|
506
|
+
/**
|
|
507
|
+
* Order in which to return results.
|
|
508
|
+
*/
|
|
371
509
|
orderBy?: ListDedicatedConnectionsRequestOrderBy;
|
|
372
|
-
/**
|
|
510
|
+
/**
|
|
511
|
+
* Page number to return.
|
|
512
|
+
*/
|
|
373
513
|
page?: number;
|
|
374
|
-
/**
|
|
514
|
+
/**
|
|
515
|
+
* Maximum number of connections to return per page.
|
|
516
|
+
*/
|
|
375
517
|
pageSize?: number;
|
|
376
|
-
/**
|
|
518
|
+
/**
|
|
519
|
+
* Project ID to filter for.
|
|
520
|
+
*/
|
|
377
521
|
projectId?: string;
|
|
378
|
-
/**
|
|
522
|
+
/**
|
|
523
|
+
* Organization ID to filter for.
|
|
524
|
+
*/
|
|
379
525
|
organizationId?: string;
|
|
380
|
-
/**
|
|
526
|
+
/**
|
|
527
|
+
* Link name to filter for.
|
|
528
|
+
*/
|
|
381
529
|
name?: string;
|
|
382
|
-
/**
|
|
530
|
+
/**
|
|
531
|
+
* Tags to filter for.
|
|
532
|
+
*/
|
|
383
533
|
tags?: string[];
|
|
384
|
-
/**
|
|
534
|
+
/**
|
|
535
|
+
* Connection status to filter for.
|
|
536
|
+
*/
|
|
385
537
|
status?: DedicatedConnectionStatus;
|
|
386
|
-
/**
|
|
538
|
+
/**
|
|
539
|
+
* Filter for dedicated connections with this bandwidth size.
|
|
540
|
+
*/
|
|
387
541
|
bandwidthMbps?: number;
|
|
388
|
-
/**
|
|
542
|
+
/**
|
|
543
|
+
* Filter for dedicated connections present in this PoP.
|
|
544
|
+
*/
|
|
389
545
|
popId?: string;
|
|
390
546
|
};
|
|
391
547
|
export interface ListDedicatedConnectionsResponse {
|
|
392
|
-
/**
|
|
548
|
+
/**
|
|
549
|
+
* List of connections on current page.
|
|
550
|
+
*/
|
|
393
551
|
connections: DedicatedConnection[];
|
|
394
|
-
/**
|
|
552
|
+
/**
|
|
553
|
+
* Total number of connections returned.
|
|
554
|
+
*/
|
|
395
555
|
totalCount: number;
|
|
396
556
|
}
|
|
397
557
|
export type ListLinksRequest = {
|
|
398
558
|
/**
|
|
399
|
-
* Region to target. If none is passed will use default region from the
|
|
400
|
-
* config.
|
|
559
|
+
* Region to target. If none is passed will use default region from the config.
|
|
401
560
|
*/
|
|
402
561
|
region?: ScwRegion;
|
|
403
|
-
/**
|
|
562
|
+
/**
|
|
563
|
+
* Order in which to return results.
|
|
564
|
+
*/
|
|
404
565
|
orderBy?: ListLinksRequestOrderBy;
|
|
405
|
-
/**
|
|
566
|
+
/**
|
|
567
|
+
* Page number to return.
|
|
568
|
+
*/
|
|
406
569
|
page?: number;
|
|
407
|
-
/**
|
|
570
|
+
/**
|
|
571
|
+
* Maximum number of links to return per page.
|
|
572
|
+
*/
|
|
408
573
|
pageSize?: number;
|
|
409
|
-
/**
|
|
574
|
+
/**
|
|
575
|
+
* Project ID to filter for.
|
|
576
|
+
*/
|
|
410
577
|
projectId?: string;
|
|
411
|
-
/**
|
|
578
|
+
/**
|
|
579
|
+
* Organization ID to filter for.
|
|
580
|
+
*/
|
|
412
581
|
organizationId?: string;
|
|
413
|
-
/**
|
|
582
|
+
/**
|
|
583
|
+
* Link name to filter for.
|
|
584
|
+
*/
|
|
414
585
|
name?: string;
|
|
415
|
-
/**
|
|
586
|
+
/**
|
|
587
|
+
* Tags to filter for.
|
|
588
|
+
*/
|
|
416
589
|
tags?: string[];
|
|
417
|
-
/**
|
|
590
|
+
/**
|
|
591
|
+
* Link status to filter for.
|
|
592
|
+
*/
|
|
418
593
|
status?: LinkStatus;
|
|
419
|
-
/**
|
|
594
|
+
/**
|
|
595
|
+
* BGP IPv4 status to filter for.
|
|
596
|
+
*/
|
|
420
597
|
bgpV4Status?: BgpStatus;
|
|
421
|
-
/**
|
|
598
|
+
/**
|
|
599
|
+
* BGP IPv6 status to filter for.
|
|
600
|
+
*/
|
|
422
601
|
bgpV6Status?: BgpStatus;
|
|
423
|
-
/**
|
|
602
|
+
/**
|
|
603
|
+
* Filter for links attached to this PoP (via connections).
|
|
604
|
+
*/
|
|
424
605
|
popId?: string;
|
|
425
|
-
/**
|
|
606
|
+
/**
|
|
607
|
+
* Filter for link bandwidth (in Mbps).
|
|
608
|
+
*/
|
|
426
609
|
bandwidthMbps?: number;
|
|
427
|
-
/**
|
|
610
|
+
/**
|
|
611
|
+
* Filter for links hosted by this partner.
|
|
612
|
+
*/
|
|
428
613
|
partnerId?: string;
|
|
429
|
-
/**
|
|
614
|
+
/**
|
|
615
|
+
* Filter for links attached to this VPC.
|
|
616
|
+
*/
|
|
430
617
|
vpcId?: string;
|
|
431
|
-
/**
|
|
618
|
+
/**
|
|
619
|
+
* Filter for links using this routing policy.
|
|
620
|
+
*/
|
|
432
621
|
routingPolicyId?: string;
|
|
433
|
-
/**
|
|
622
|
+
/**
|
|
623
|
+
* Filter for the link with this pairing_key.
|
|
624
|
+
*/
|
|
434
625
|
pairingKey?: string;
|
|
435
|
-
/**
|
|
626
|
+
/**
|
|
627
|
+
* Filter for hosted or self-hosted links.
|
|
628
|
+
*/
|
|
436
629
|
kind?: LinkKind;
|
|
437
|
-
/**
|
|
630
|
+
/**
|
|
631
|
+
* Filter for links self-hosted on this connection.
|
|
632
|
+
*/
|
|
438
633
|
connectionId?: string;
|
|
439
634
|
};
|
|
440
635
|
export interface ListLinksResponse {
|
|
441
|
-
/**
|
|
636
|
+
/**
|
|
637
|
+
* List of links on the current page.
|
|
638
|
+
*/
|
|
442
639
|
links: Link[];
|
|
443
|
-
/**
|
|
640
|
+
/**
|
|
641
|
+
* Total number of links.
|
|
642
|
+
*/
|
|
444
643
|
totalCount: number;
|
|
445
644
|
}
|
|
446
645
|
export type ListPartnersRequest = {
|
|
447
646
|
/**
|
|
448
|
-
* Region to target. If none is passed will use default region from the
|
|
449
|
-
* config.
|
|
647
|
+
* Region to target. If none is passed will use default region from the config.
|
|
450
648
|
*/
|
|
451
649
|
region?: ScwRegion;
|
|
452
|
-
/**
|
|
650
|
+
/**
|
|
651
|
+
* Order in which to return results.
|
|
652
|
+
*/
|
|
453
653
|
orderBy?: ListPartnersRequestOrderBy;
|
|
454
|
-
/**
|
|
654
|
+
/**
|
|
655
|
+
* Page number to return.
|
|
656
|
+
*/
|
|
455
657
|
page?: number;
|
|
456
|
-
/**
|
|
658
|
+
/**
|
|
659
|
+
* Maximum number of partners to return per page.
|
|
660
|
+
*/
|
|
457
661
|
pageSize?: number;
|
|
458
|
-
/**
|
|
662
|
+
/**
|
|
663
|
+
* Filter for partners present (offering a connection) in one of these PoPs.
|
|
664
|
+
*/
|
|
459
665
|
popIds?: string[];
|
|
460
666
|
};
|
|
461
667
|
export interface ListPartnersResponse {
|
|
462
|
-
/**
|
|
668
|
+
/**
|
|
669
|
+
* List of partners on current page.
|
|
670
|
+
*/
|
|
463
671
|
partners: Partner[];
|
|
464
|
-
/**
|
|
672
|
+
/**
|
|
673
|
+
* Total number of partners returned.
|
|
674
|
+
*/
|
|
465
675
|
totalCount: number;
|
|
466
676
|
}
|
|
467
677
|
export type ListPopsRequest = {
|
|
468
678
|
/**
|
|
469
|
-
* Region to target. If none is passed will use default region from the
|
|
470
|
-
* config.
|
|
679
|
+
* Region to target. If none is passed will use default region from the config.
|
|
471
680
|
*/
|
|
472
681
|
region?: ScwRegion;
|
|
473
|
-
/**
|
|
682
|
+
/**
|
|
683
|
+
* Order in which to return results.
|
|
684
|
+
*/
|
|
474
685
|
orderBy?: ListPopsRequestOrderBy;
|
|
475
|
-
/**
|
|
686
|
+
/**
|
|
687
|
+
* Page number to return.
|
|
688
|
+
*/
|
|
476
689
|
page?: number;
|
|
477
|
-
/**
|
|
690
|
+
/**
|
|
691
|
+
* Maximum number of PoPs to return per page.
|
|
692
|
+
*/
|
|
478
693
|
pageSize?: number;
|
|
479
|
-
/**
|
|
694
|
+
/**
|
|
695
|
+
* PoP name to filter for.
|
|
696
|
+
*/
|
|
480
697
|
name?: string;
|
|
481
|
-
/**
|
|
698
|
+
/**
|
|
699
|
+
* Hosting provider name to filter for.
|
|
700
|
+
*/
|
|
482
701
|
hostingProviderName?: string;
|
|
483
|
-
/**
|
|
702
|
+
/**
|
|
703
|
+
* Filter for PoPs hosting an available shared connection from this partner.
|
|
704
|
+
*/
|
|
484
705
|
partnerId?: string;
|
|
485
706
|
/**
|
|
486
|
-
* Filter for PoPs with a shared connection allowing this bandwidth size. Note
|
|
487
|
-
* that we cannot guarantee that PoPs returned will have available capacity.
|
|
707
|
+
* Filter for PoPs with a shared connection allowing this bandwidth size. Note that we cannot guarantee that PoPs returned will have available capacity.
|
|
488
708
|
*/
|
|
489
709
|
linkBandwidthMbps?: number;
|
|
490
710
|
/**
|
|
491
|
-
* Filter for PoPs with a dedicated connection available for self-hosted
|
|
492
|
-
* links.
|
|
711
|
+
* Filter for PoPs with a dedicated connection available for self-hosted links.
|
|
493
712
|
*/
|
|
494
713
|
dedicatedAvailable?: boolean;
|
|
495
714
|
};
|
|
496
715
|
export interface ListPopsResponse {
|
|
497
|
-
/**
|
|
716
|
+
/**
|
|
717
|
+
* List of PoPs on the current page.
|
|
718
|
+
*/
|
|
498
719
|
pops: Pop[];
|
|
499
|
-
/**
|
|
720
|
+
/**
|
|
721
|
+
* Total number of PoPs.
|
|
722
|
+
*/
|
|
500
723
|
totalCount: number;
|
|
501
724
|
}
|
|
502
725
|
export type ListRoutingPoliciesRequest = {
|
|
503
726
|
/**
|
|
504
|
-
* Region to target. If none is passed will use default region from the
|
|
505
|
-
* config.
|
|
727
|
+
* Region to target. If none is passed will use default region from the config.
|
|
506
728
|
*/
|
|
507
729
|
region?: ScwRegion;
|
|
508
|
-
/**
|
|
730
|
+
/**
|
|
731
|
+
* Order in which to return results.
|
|
732
|
+
*/
|
|
509
733
|
orderBy?: ListRoutingPoliciesRequestOrderBy;
|
|
510
|
-
/**
|
|
734
|
+
/**
|
|
735
|
+
* Page number to return.
|
|
736
|
+
*/
|
|
511
737
|
page?: number;
|
|
512
|
-
/**
|
|
738
|
+
/**
|
|
739
|
+
* Maximum number of routing policies to return per page.
|
|
740
|
+
*/
|
|
513
741
|
pageSize?: number;
|
|
514
|
-
/**
|
|
742
|
+
/**
|
|
743
|
+
* Project ID to filter for.
|
|
744
|
+
*/
|
|
515
745
|
projectId?: string;
|
|
516
|
-
/**
|
|
746
|
+
/**
|
|
747
|
+
* Organization ID to filter for.
|
|
748
|
+
*/
|
|
517
749
|
organizationId?: string;
|
|
518
|
-
/**
|
|
750
|
+
/**
|
|
751
|
+
* Routing policy name to filter for.
|
|
752
|
+
*/
|
|
519
753
|
name?: string;
|
|
520
|
-
/**
|
|
754
|
+
/**
|
|
755
|
+
* Tags to filter for.
|
|
756
|
+
*/
|
|
521
757
|
tags?: string[];
|
|
522
758
|
};
|
|
523
759
|
export interface ListRoutingPoliciesResponse {
|
|
@@ -526,37 +762,49 @@ export interface ListRoutingPoliciesResponse {
|
|
|
526
762
|
}
|
|
527
763
|
export type UpdateLinkRequest = {
|
|
528
764
|
/**
|
|
529
|
-
* Region to target. If none is passed will use default region from the
|
|
530
|
-
* config.
|
|
765
|
+
* Region to target. If none is passed will use default region from the config.
|
|
531
766
|
*/
|
|
532
767
|
region?: ScwRegion;
|
|
533
|
-
/**
|
|
768
|
+
/**
|
|
769
|
+
* ID of the link to update.
|
|
770
|
+
*/
|
|
534
771
|
linkId: string;
|
|
535
|
-
/**
|
|
772
|
+
/**
|
|
773
|
+
* Name of the link.
|
|
774
|
+
*/
|
|
536
775
|
name?: string;
|
|
537
|
-
/**
|
|
776
|
+
/**
|
|
777
|
+
* List of tags to apply to the link.
|
|
778
|
+
*/
|
|
538
779
|
tags?: string[];
|
|
780
|
+
/**
|
|
781
|
+
* For self-hosted links, AS Number to establish BGP session.
|
|
782
|
+
*/
|
|
783
|
+
peerAsn?: number;
|
|
539
784
|
};
|
|
540
785
|
export type UpdateRoutingPolicyRequest = {
|
|
541
786
|
/**
|
|
542
|
-
* Region to target. If none is passed will use default region from the
|
|
543
|
-
* config.
|
|
787
|
+
* Region to target. If none is passed will use default region from the config.
|
|
544
788
|
*/
|
|
545
789
|
region?: ScwRegion;
|
|
546
|
-
/**
|
|
790
|
+
/**
|
|
791
|
+
* ID of the routing policy to update.
|
|
792
|
+
*/
|
|
547
793
|
routingPolicyId: string;
|
|
548
|
-
/**
|
|
794
|
+
/**
|
|
795
|
+
* Name of the routing policy.
|
|
796
|
+
*/
|
|
549
797
|
name?: string;
|
|
550
|
-
/**
|
|
798
|
+
/**
|
|
799
|
+
* List of tags to apply to the routing policy.
|
|
800
|
+
*/
|
|
551
801
|
tags?: string[];
|
|
552
802
|
/**
|
|
553
|
-
* IP prefixes to accept from the peer (ranges of route announcements to
|
|
554
|
-
* accept).
|
|
803
|
+
* IP prefixes to accept from the peer (ranges of route announcements to accept).
|
|
555
804
|
*/
|
|
556
805
|
prefixFilterIn?: string[];
|
|
557
806
|
/**
|
|
558
|
-
* IP prefix filters for routes to advertise to the peer (ranges of routes to
|
|
559
|
-
* advertise).
|
|
807
|
+
* IP prefix filters for routes to advertise to the peer (ranges of routes to advertise).
|
|
560
808
|
*/
|
|
561
809
|
prefixFilterOut?: string[];
|
|
562
810
|
};
|