Skip to content

Commit

Permalink
feat(interlink): add available_link_bandwidths on pops (#1675)
Browse files Browse the repository at this point in the history
Co-authored-by: Jules Castéran <[email protected]>
  • Loading branch information
scaleway-bot and Codelax authored Dec 24, 2024
1 parent 5a3468a commit 2395069
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ export const unmarshalPop = (data: unknown): Pop => {

return {
address: data.address,
availableLinkBandwidthsMbps: data.available_link_bandwidths_mbps,
city: data.city,
hostingProviderName: data.hosting_provider_name,
id: data.id,
Expand Down
5 changes: 5 additions & 0 deletions packages/clients/src/api/interlink/v1beta1/types.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,11 @@ export interface Pop {
city: string
/** Image URL of the PoP's logo. */
logoUrl: string
/**
* Available bandwidth in Mbits/s for future hosted_links from available ports
* in this PoP.
*/
availableLinkBandwidthsMbps: number[]
/** Region of the PoP. */
region: Region
}
Expand Down

0 comments on commit 2395069

Please sign in to comment.