Skip to content

Commit 01b010a

Browse files
authored
feat(k8s): add filter on PrivateNetworkID (#880)
1 parent 76a1c30 commit 01b010a

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ export class API extends ParentAPI {
105105
'page_size',
106106
request.pageSize ?? this.client.settings.defaultPageSize,
107107
],
108+
['private_network_id', request.privateNetworkId],
108109
['project_id', request.projectId],
109110
['status', request.status ?? 'unknown'],
110111
['type', request.type],

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -771,6 +771,11 @@ export type ListClustersRequest = {
771771
status?: ClusterStatus
772772
/** Type to filter on, only clusters with this type will be returned. */
773773
type?: string
774+
/**
775+
* Private Network ID to filter on, only clusters within this Private Network
776+
* will be returned.
777+
*/
778+
privateNetworkId?: string
774779
}
775780

776781
export type CreateClusterRequest = {

0 commit comments

Comments
 (0)