Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,7 @@ export const marshalCreateLinkRequest = (
pop_id: request.popId,
project_id: request.projectId ?? defaults.defaultProjectId,
tags: request.tags,
vlan: request.vlan,
...resolveOneOf([
{ param: 'connection_id', value: request.connectionId },
{ param: 'partner_id', value: request.partnerId },
Expand Down
4 changes: 4 additions & 0 deletions packages_generated/interlink/src/v1beta1/types.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -434,6 +434,10 @@ export type CreateLinkRequest = {
* For self-hosted links we need the peer AS Number to establish BGP session. If not given, a default one will be assigned.
*/
peerAsn?: number
/**
* 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.
*/
vlan?: number
}

export type CreateRoutingPolicyRequest = {
Expand Down
Loading