Skip to content

Commit 0792fd8

Browse files
authored
feat(lb): display ipam_id for pn attachment in doc (scaleway#2125)
1 parent 29fff7f commit 0792fd8

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

api/lb/v1/lb_sdk.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1876,6 +1876,9 @@ type AttachPrivateNetworkRequest struct {
18761876
// Deprecated: IpamConfig: for internal use only.
18771877
// Precisely one of StaticConfig, DHCPConfig, IpamConfig must be set.
18781878
IpamConfig *PrivateNetworkIpamConfig `json:"ipam_config,omitempty"`
1879+
1880+
// IpamIDs: 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.
1881+
IpamIDs []string `json:"ipam_ids"`
18791882
}
18801883

18811884
// CreateACLRequest: Add an ACL to a Load Balancer frontend.
@@ -3402,6 +3405,9 @@ type ZonedAPIAttachPrivateNetworkRequest struct {
34023405
// Deprecated: IpamConfig: for internal use only.
34033406
// Precisely one of StaticConfig, DHCPConfig, IpamConfig must be set.
34043407
IpamConfig *PrivateNetworkIpamConfig `json:"ipam_config,omitempty"`
3408+
3409+
// IpamIDs: 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.
3410+
IpamIDs []string `json:"ipam_ids"`
34053411
}
34063412

34073413
// ZonedAPICreateACLRequest: Add an ACL to a Load Balancer frontend.

0 commit comments

Comments
 (0)