Skip to content

Commit

Permalink
feat(ipam): add support for resource_ids filtering in ListIPsRequest (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
scaleway-bot authored Dec 3, 2024
1 parent 8d701e1 commit 5bbb85f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/clients/src/api/ipam/v1/api.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ export class API extends ParentAPI {
],
['project_id', request.projectId],
['resource_id', request.resourceId],
['resource_ids', request.resourceIds],
['resource_name', request.resourceName],
['resource_type', request.resourceType],
['resource_types', request.resourceTypes],
Expand Down
5 changes: 5 additions & 0 deletions packages/clients/src/api/ipam/v1/types.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,11 @@ export type ListIPsRequest = {
* returned.
*/
resourceId?: string
/**
* Resource IDs to filter for. Only IPs attached to at least one of these
* resources will be returned.
*/
resourceIds?: string[]
/**
* Resource type to filter for. Only IPs attached to this type of resource
* will be returned.
Expand Down

0 comments on commit 5bbb85f

Please sign in to comment.