diff --git a/packages/clients/src/api/lb/v1/marshalling.gen.ts b/packages/clients/src/api/lb/v1/marshalling.gen.ts index 1b87bebfd..6b97dff3a 100644 --- a/packages/clients/src/api/lb/v1/marshalling.gen.ts +++ b/packages/clients/src/api/lb/v1/marshalling.gen.ts @@ -864,6 +864,7 @@ export const marshalAttachPrivateNetworkRequest = ( request: AttachPrivateNetworkRequest, defaults: DefaultValues, ): Record => ({ + ipam_ids: request.ipamIds, ...resolveOneOf([ { param: 'static_config', @@ -1464,6 +1465,7 @@ export const marshalZonedApiAttachPrivateNetworkRequest = ( request: ZonedApiAttachPrivateNetworkRequest, defaults: DefaultValues, ): Record => ({ + ipam_ids: request.ipamIds, ...resolveOneOf([ { param: 'static_config', diff --git a/packages/clients/src/api/lb/v1/types.gen.ts b/packages/clients/src/api/lb/v1/types.gen.ts index 3f7772177..13a024b14 100644 --- a/packages/clients/src/api/lb/v1/types.gen.ts +++ b/packages/clients/src/api/lb/v1/types.gen.ts @@ -794,6 +794,14 @@ export type AttachPrivateNetworkRequest = { * 'ipamConfig' could be set. */ ipamConfig?: PrivateNetworkIpamConfig + /** + * IPAM ID of a pre-reserved IP address to assign to the Load Balancer on this + * Private Network. In the future, it will be possible to specify multiple IPs + * in this field (IPv4 and IPv6), for now only one ID of an IPv4 address is + * expected. When null, a new private IP address is created for the Load + * Balancer on this Private Network. + */ + ipamIds?: string[] } /** Add an ACL to a Load Balancer frontend. */ @@ -2018,6 +2026,14 @@ export type ZonedApiAttachPrivateNetworkRequest = { * 'ipamConfig' could be set. */ ipamConfig?: PrivateNetworkIpamConfig + /** + * IPAM ID of a pre-reserved IP address to assign to the Load Balancer on this + * Private Network. In the future, it will be possible to specify multiple IPs + * in this field (IPv4 and IPv6), for now only one ID of an IPv4 address is + * expected. When null, a new private IP address is created for the Load + * Balancer on this Private Network. + */ + ipamIds?: string[] } /** Add an ACL to a Load Balancer frontend. */