Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 @@ -131,6 +131,7 @@ export class API extends ParentAPI {
path: `/ipam/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/ips`,
urlParams: urlParams(
['attached', request.attached],
['ip_ids', request.ipIds],
['is_ipv6', request.isIpv6],
['mac_address', request.macAddress],
['order_by', request.orderBy],
Expand Down
22 changes: 12 additions & 10 deletions packages/clients/src/api/ipam/v1/types.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,11 @@ export type ListIPsRequest = {
vpcId?: string
/** Defines whether to filter only for IPs which are attached to a resource. */
attached?: boolean
/**
* Attached resource name to filter for, only IPs attached to a resource with
* this string within their name will be returned.
*/
resourceName?: string
/**
* Resource ID to filter for. Only IPs attached to this resource will be
* returned.
Expand All @@ -240,6 +245,11 @@ export type ListIPsRequest = {
* will be returned.
*/
resourceType?: ResourceType
/**
* Resource types to filter for. Only IPs attached to these types of resources
* will be returned.
*/
resourceTypes?: ResourceType[]
/**
* MAC address to filter for. Only IPs attached to a resource with this MAC
* address will be returned.
Expand All @@ -257,16 +267,8 @@ export type ListIPsRequest = {
organizationId?: string
/** Defines whether to filter only for IPv4s or IPv6s. */
isIpv6?: boolean
/**
* Attached resource name to filter for, only IPs attached to a resource with
* this string within their name will be returned.
*/
resourceName?: string
/**
* Resource types to filter for. Only IPs attached to these types of resources
* will be returned.
*/
resourceTypes?: ResourceType[]
/** IP IDs to filter for. Only IPs with these UUIDs will be returned. */
ipIds?: string[]
}

export interface ListIPsResponse {
Expand Down
Loading