@scaleway/sdk-interlink 1.1.0 → 1.2.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.
|
@@ -216,6 +216,7 @@ const marshalCreateLinkRequest = (request, defaults) => ({
|
|
|
216
216
|
pop_id: request.popId,
|
|
217
217
|
project_id: request.projectId ?? defaults.defaultProjectId,
|
|
218
218
|
tags: request.tags,
|
|
219
|
+
vlan: request.vlan,
|
|
219
220
|
...sdkClient.resolveOneOf([
|
|
220
221
|
{ param: "connection_id", value: request.connectionId },
|
|
221
222
|
{ param: "partner_id", value: request.partnerId }
|
|
@@ -214,6 +214,7 @@ const marshalCreateLinkRequest = (request, defaults) => ({
|
|
|
214
214
|
pop_id: request.popId,
|
|
215
215
|
project_id: request.projectId ?? defaults.defaultProjectId,
|
|
216
216
|
tags: request.tags,
|
|
217
|
+
vlan: request.vlan,
|
|
217
218
|
...resolveOneOf([
|
|
218
219
|
{ param: "connection_id", value: request.connectionId },
|
|
219
220
|
{ param: "partner_id", value: request.partnerId }
|
|
@@ -373,6 +373,10 @@ export type CreateLinkRequest = {
|
|
|
373
373
|
* For self-hosted links we need the peer AS Number to establish BGP session. If not given, a default one will be assigned.
|
|
374
374
|
*/
|
|
375
375
|
peerAsn?: number;
|
|
376
|
+
/**
|
|
377
|
+
* For self-hosted links only, it is possible to choose the VLAN ID. If the VLAN is not available (ie already taken or out of range), an error is returned.
|
|
378
|
+
*/
|
|
379
|
+
vlan?: number;
|
|
376
380
|
};
|
|
377
381
|
export type CreateRoutingPolicyRequest = {
|
|
378
382
|
/**
|