Skip to content

Commit 588e907

Browse files
authored
feat(lb): add backendId to getLbStats request (#677)
1 parent de11a07 commit 588e907

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

packages/clients/src/api/lb/v1/api.gen.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -920,6 +920,7 @@ export class API extends ParentAPI {
920920
'region',
921921
request.region ?? this.client.settings.defaultRegion,
922922
)}/lbs/${validatePathParam('lbId', request.lbId)}/stats`,
923+
urlParams: urlParams(['backend_id', request.backendId]),
923924
},
924925
unmarshalLbStats,
925926
)
@@ -2271,6 +2272,7 @@ export class ZonedAPI extends ParentAPI {
22712272
'zone',
22722273
request.zone ?? this.client.settings.defaultZone,
22732274
)}/lbs/${validatePathParam('lbId', request.lbId)}/stats`,
2275+
urlParams: urlParams(['backend_id', request.backendId]),
22742276
},
22752277
unmarshalLbStats,
22762278
)

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1600,6 +1600,8 @@ export type GetLbStatsRequest = {
16001600
region?: Region
16011601
/** Load Balancer ID. */
16021602
lbId: string
1603+
/** ID of the backend. */
1604+
backendId?: string
16031605
}
16041606

16051607
export type ListBackendStatsRequest = {
@@ -2606,6 +2608,8 @@ export type ZonedApiGetLbStatsRequest = {
26062608
zone?: Zone
26072609
/** Load Balancer ID. */
26082610
lbId: string
2611+
/** ID of the backend. */
2612+
backendId?: string
26092613
}
26102614

26112615
export type ZonedApiListBackendStatsRequest = {

0 commit comments

Comments
 (0)