Skip to content

Commit 3ba104a

Browse files
authored
feat(lb): remove exclude from lb tag filter (#1197)
1 parent b07e2f7 commit 3ba104a

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-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
@@ -254,6 +254,7 @@ export class ZonedAPI extends ParentAPI {
254254
request.pageSize ?? this.client.settings.defaultPageSize,
255255
],
256256
['project_id', request.projectId],
257+
['tags', request.tags],
257258
),
258259
},
259260
unmarshalListLbsResponse,
@@ -1482,6 +1483,7 @@ export class API extends ParentAPI {
14821483
request.pageSize ?? this.client.settings.defaultPageSize,
14831484
],
14841485
['project_id', request.projectId],
1486+
['tags', request.tags],
14851487
),
14861488
},
14871489
unmarshalListLbsResponse,

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

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1515,6 +1515,11 @@ export type ListLbsRequest = {
15151515
* returned.
15161516
*/
15171517
projectId?: string
1518+
/**
1519+
* Filter by tag, only Load Balancers with one or more matching tags will be
1520+
* returned.
1521+
*/
1522+
tags?: string[]
15181523
}
15191524

15201525
export interface ListLbsResponse {
@@ -2562,6 +2567,11 @@ export type ZonedApiListLbsRequest = {
25622567
* returned.
25632568
*/
25642569
projectId?: string
2570+
/**
2571+
* Filter by tag, only Load Balancers with one or more matching tags will be
2572+
* returned.
2573+
*/
2574+
tags?: string[]
25652575
}
25662576

25672577
export type ZonedApiListRoutesRequest = {

0 commit comments

Comments
 (0)