Skip to content

Commit 052d409

Browse files
authored
feat(instance): return block_bandwidth in bytes per seconds (#1422)
1 parent 3258595 commit 052d409

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

packages/clients/src/api/instance/v1/marshalling.gen.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1235,6 +1235,7 @@ const unmarshalServerType = (data: unknown): ServerType => {
12351235
altNames: data.alt_names,
12361236
arch: data.arch,
12371237
baremetal: data.baremetal,
1238+
blockBandwidth: data.block_bandwidth,
12381239
capabilities: data.capabilities
12391240
? unmarshalServerTypeCapabilities(data.capabilities)
12401241
: undefined,

packages/clients/src/api/instance/v1/types.gen.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -705,6 +705,11 @@ export interface ServerType {
705705
capabilities?: ServerTypeCapabilities
706706
/** Maximum available scratch storage. */
707707
scratchStorageMaxSize?: number
708+
/**
709+
* The maximum bandwidth allocated to block storage access (in bytes per
710+
* second).
711+
*/
712+
blockBandwidth?: number
708713
}
709714

710715
export interface VolumeType {

0 commit comments

Comments
 (0)