File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed
packages/clients/src/api/lb/v1 Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -1124,6 +1124,7 @@ export const marshalCreateLbRequest = (
11241124 request : CreateLbRequest ,
11251125 defaults : DefaultValues ,
11261126) : Record < string , unknown > => ( {
1127+ assign_flexible_ip : request . assignFlexibleIp ,
11271128 description : request . description ,
11281129 ip_id : request . ipId ,
11291130 name : request . name || randomName ( 'lb' ) ,
@@ -1513,6 +1514,7 @@ export const marshalZonedApiCreateLbRequest = (
15131514 request : ZonedApiCreateLbRequest ,
15141515 defaults : DefaultValues ,
15151516) : Record < string , unknown > => ( {
1517+ assign_flexible_ip : request . assignFlexibleIp ,
15161518 description : request . description ,
15171519 ip_id : request . ipId ,
15181520 name : request . name || randomName ( 'lb' ) ,
Original file line number Diff line number Diff line change @@ -941,6 +941,11 @@ export type CreateLbRequest = {
941941 description : string
942942 /** ID of an existing flexible IP address to attach to the Load Balancer. */
943943 ipId ?: string
944+ /**
945+ * Defines whether to automatically assign a flexible public IP to lb. Default
946+ * value is `false` (do not assign).
947+ */
948+ assignFlexibleIp ?: boolean
944949 /** List of tags for the Load Balancer. */
945950 tags ?: string [ ]
946951 /**
@@ -2036,6 +2041,11 @@ export type ZonedApiCreateLbRequest = {
20362041 description : string
20372042 /** ID of an existing flexible IP address to attach to the Load Balancer. */
20382043 ipId ?: string
2044+ /**
2045+ * Defines whether to automatically assign a flexible public IP to lb. Default
2046+ * value is `false` (do not assign).
2047+ */
2048+ assignFlexibleIp ?: boolean
20392049 /** List of tags for the Load Balancer. */
20402050 tags ?: string [ ]
20412051 /**
You can’t perform that action at this time.
0 commit comments