diff --git a/packages/clients/src/api/instance/v1/api.gen.ts b/packages/clients/src/api/instance/v1/api.gen.ts index 0cd7f4ec8..a4bf9958d 100644 --- a/packages/clients/src/api/instance/v1/api.gen.ts +++ b/packages/clients/src/api/instance/v1/api.gen.ts @@ -325,6 +325,12 @@ export class API extends ParentAPI { ], ['private_nic_mac_address', request.privateNicMacAddress], ['project', request.project], + [ + 'servers', + request.servers && request.servers.length > 0 + ? request.servers.join(',') + : undefined, + ], ['state', request.state], [ 'tags', diff --git a/packages/clients/src/api/instance/v1/types.gen.ts b/packages/clients/src/api/instance/v1/types.gen.ts index eb37b8a0a..a59c1f3d6 100644 --- a/packages/clients/src/api/instance/v1/types.gen.ts +++ b/packages/clients/src/api/instance/v1/types.gen.ts @@ -1053,6 +1053,8 @@ export type ListServersRequest = { privateNetworks?: string[] /** List Instances associated with the given private NIC MAC address. */ privateNicMacAddress?: string + /** List Instances from these server ids (use commas to separate them). */ + servers?: string[] } export type DeleteServerRequest = {