From 1759f7c5c9694c87fdefe970f94135d8539356e5 Mon Sep 17 00:00:00 2001 From: scaleway-bot Date: Fri, 2 Jun 2023 09:11:56 +0000 Subject: [PATCH] feat: update generated APIs --- packages/clients/src/api/lb/v1/marshalling.gen.ts | 2 ++ packages/clients/src/api/lb/v1/types.gen.ts | 10 ++++++++++ 2 files changed, 12 insertions(+) diff --git a/packages/clients/src/api/lb/v1/marshalling.gen.ts b/packages/clients/src/api/lb/v1/marshalling.gen.ts index 4f59e8beb..fb0e21d21 100644 --- a/packages/clients/src/api/lb/v1/marshalling.gen.ts +++ b/packages/clients/src/api/lb/v1/marshalling.gen.ts @@ -1124,6 +1124,7 @@ export const marshalCreateLbRequest = ( request: CreateLbRequest, defaults: DefaultValues, ): Record => ({ + assign_flexible_ip: request.assignFlexibleIp, description: request.description, ip_id: request.ipId, name: request.name || randomName('lb'), @@ -1513,6 +1514,7 @@ export const marshalZonedApiCreateLbRequest = ( request: ZonedApiCreateLbRequest, defaults: DefaultValues, ): Record => ({ + assign_flexible_ip: request.assignFlexibleIp, description: request.description, ip_id: request.ipId, name: request.name || randomName('lb'), diff --git a/packages/clients/src/api/lb/v1/types.gen.ts b/packages/clients/src/api/lb/v1/types.gen.ts index b93be1fe2..08e5b4458 100644 --- a/packages/clients/src/api/lb/v1/types.gen.ts +++ b/packages/clients/src/api/lb/v1/types.gen.ts @@ -941,6 +941,11 @@ export type CreateLbRequest = { description: string /** ID of an existing flexible IP address to attach to the Load Balancer. */ ipId?: string + /** + * Defines whether to automatically assign a flexible public IP to lb. Default + * value is `false` (do not assign). + */ + assignFlexibleIp?: boolean /** List of tags for the Load Balancer. */ tags?: string[] /** @@ -2036,6 +2041,11 @@ export type ZonedApiCreateLbRequest = { description: string /** ID of an existing flexible IP address to attach to the Load Balancer. */ ipId?: string + /** + * Defines whether to automatically assign a flexible public IP to lb. Default + * value is `false` (do not assign). + */ + assignFlexibleIp?: boolean /** List of tags for the Load Balancer. */ tags?: string[] /**