File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed
packages/clients/src/api/lb/v1 Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff 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 )
Original file line number Diff line number Diff 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
16051607export 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
26112615export type ZonedApiListBackendStatsRequest = {
You can’t perform that action at this time.
0 commit comments