Skip to content

feat(lb): display ipam_id for pn attachment in doc #2125

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 1, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions api/lb/v1/lb_sdk.go
Original file line number Diff line number Diff line change
Expand Up @@ -1876,6 +1876,9 @@ type AttachPrivateNetworkRequest struct {
// Deprecated: IpamConfig: for internal use only.
// Precisely one of StaticConfig, DHCPConfig, IpamConfig must be set.
IpamConfig *PrivateNetworkIpamConfig `json:"ipam_config,omitempty"`

// 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.
IpamIDs []string `json:"ipam_ids"`
}

// CreateACLRequest: Add an ACL to a Load Balancer frontend.
Expand Down Expand Up @@ -3402,6 +3405,9 @@ type ZonedAPIAttachPrivateNetworkRequest struct {
// Deprecated: IpamConfig: for internal use only.
// Precisely one of StaticConfig, DHCPConfig, IpamConfig must be set.
IpamConfig *PrivateNetworkIpamConfig `json:"ipam_config,omitempty"`

// 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.
IpamIDs []string `json:"ipam_ids"`
}

// ZonedAPICreateACLRequest: Add an ACL to a Load Balancer frontend.
Expand Down
Loading