@@ -1843,6 +1843,9 @@ type CreateIPRequest struct {
18431843
18441844 // Reverse: reverse DNS (domain name) for the IP address.
18451845 Reverse * string `json:"reverse,omitempty"`
1846+
1847+ // IsIPv6: if true, creates a Flexible IP with an ipv6 address.
1848+ IsIPv6 bool `json:"is_ipv6"`
18461849}
18471850
18481851// CreateLBRequest: create lb request.
@@ -1870,6 +1873,12 @@ type CreateLBRequest struct {
18701873 // AssignFlexibleIP: defines whether to automatically assign a flexible public IP to lb. Default value is `false` (do not assign).
18711874 AssignFlexibleIP * bool `json:"assign_flexible_ip,omitempty"`
18721875
1876+ // AssignFlexibleIPv6: defines whether to automatically assign a flexible public IPv6 to the Load Balancer. Default value is `false` (do not assign).
1877+ AssignFlexibleIPv6 * bool `json:"assign_flexible_ipv6,omitempty"`
1878+
1879+ // IPIDs: list of IP IDs to attach to the Load Balancer.
1880+ IPIDs []string `json:"ip_ids"`
1881+
18731882 // Tags: list of tags for the Load Balancer.
18741883 Tags []string `json:"tags"`
18751884
@@ -3016,6 +3025,9 @@ type UpdateIPRequest struct {
30163025
30173026 // Reverse: reverse DNS (domain name) for the IP address.
30183027 Reverse * string `json:"reverse,omitempty"`
3028+
3029+ // LBID: ID of the server on which to attach the flexible IP.
3030+ LBID * string `json:"lb_id,omitempty"`
30193031}
30203032
30213033// UpdateLBRequest: update lb request.
@@ -3341,6 +3353,9 @@ type ZonedAPICreateIPRequest struct {
33413353
33423354 // Reverse: reverse DNS (domain name) for the IP address.
33433355 Reverse * string `json:"reverse,omitempty"`
3356+
3357+ // IsIPv6: if true, creates a Flexible IP with an ipv6 address.
3358+ IsIPv6 bool `json:"is_ipv6"`
33443359}
33453360
33463361// ZonedAPICreateLBRequest: zoned api create lb request.
@@ -3368,6 +3383,12 @@ type ZonedAPICreateLBRequest struct {
33683383 // AssignFlexibleIP: defines whether to automatically assign a flexible public IP to lb. Default value is `false` (do not assign).
33693384 AssignFlexibleIP * bool `json:"assign_flexible_ip,omitempty"`
33703385
3386+ // AssignFlexibleIPv6: defines whether to automatically assign a flexible public IPv6 to the Load Balancer. Default value is `false` (do not assign).
3387+ AssignFlexibleIPv6 * bool `json:"assign_flexible_ipv6,omitempty"`
3388+
3389+ // IPIDs: list of IP IDs to attach to the Load Balancer.
3390+ IPIDs []string `json:"ip_ids"`
3391+
33713392 // Tags: list of tags for the Load Balancer.
33723393 Tags []string `json:"tags"`
33733394
@@ -4184,6 +4205,9 @@ type ZonedAPIUpdateIPRequest struct {
41844205
41854206 // Reverse: reverse DNS (domain name) for the IP address.
41864207 Reverse * string `json:"reverse,omitempty"`
4208+
4209+ // LBID: ID of the server on which to attach the flexible IP.
4210+ LBID * string `json:"lb_id,omitempty"`
41874211}
41884212
41894213// ZonedAPIUpdateLBRequest: zoned api update lb request.
0 commit comments