File tree Expand file tree Collapse file tree 2 files changed +13
-10
lines changed
packages/clients/src/api/ipam/v1 Expand file tree Collapse file tree 2 files changed +13
-10
lines changed Original file line number Diff line number Diff line change @@ -131,6 +131,7 @@ export class API extends ParentAPI {
131131 path : `/ipam/v1/regions/${ validatePathParam ( 'region' , request . region ?? this . client . settings . defaultRegion ) } /ips` ,
132132 urlParams : urlParams (
133133 [ 'attached' , request . attached ] ,
134+ [ 'ip_ids' , request . ipIds ] ,
134135 [ 'is_ipv6' , request . isIpv6 ] ,
135136 [ 'mac_address' , request . macAddress ] ,
136137 [ 'order_by' , request . orderBy ] ,
Original file line number Diff line number Diff line change @@ -225,6 +225,11 @@ export type ListIPsRequest = {
225225 vpcId ?: string
226226 /** Defines whether to filter only for IPs which are attached to a resource. */
227227 attached ?: boolean
228+ /**
229+ * Attached resource name to filter for, only IPs attached to a resource with
230+ * this string within their name will be returned.
231+ */
232+ resourceName ?: string
228233 /**
229234 * Resource ID to filter for. Only IPs attached to this resource will be
230235 * returned.
@@ -240,6 +245,11 @@ export type ListIPsRequest = {
240245 * will be returned.
241246 */
242247 resourceType ?: ResourceType
248+ /**
249+ * Resource types to filter for. Only IPs attached to these types of resources
250+ * will be returned.
251+ */
252+ resourceTypes ?: ResourceType [ ]
243253 /**
244254 * MAC address to filter for. Only IPs attached to a resource with this MAC
245255 * address will be returned.
@@ -257,16 +267,8 @@ export type ListIPsRequest = {
257267 organizationId ?: string
258268 /** Defines whether to filter only for IPv4s or IPv6s. */
259269 isIpv6 ?: boolean
260- /**
261- * Attached resource name to filter for, only IPs attached to a resource with
262- * this string within their name will be returned.
263- */
264- resourceName ?: string
265- /**
266- * Resource types to filter for. Only IPs attached to these types of resources
267- * will be returned.
268- */
269- resourceTypes ?: ResourceType [ ]
270+ /** IP IDs to filter for. Only IPs with these UUIDs will be returned. */
271+ ipIds ?: string [ ]
270272}
271273
272274export interface ListIPsResponse {
You can’t perform that action at this time.
0 commit comments