You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// InstanceIPv4Response contains the details of all IPv4 addresses associated with an Instance
type InstanceIPv4Response struct {
Public []*InstanceIP `json:"public"`
Private []*InstanceIP `json:"private"`
Shared []*InstanceIP `json:"shared"`
Reserved []*InstanceIP `json:"reserved"`
VPC []*InstanceIP `json:"vpc"`
}
Example Code
No response
The text was updated successfully, but these errors were encountered:
Description
Hi, currently one can list ip's configured on a linode using GetInstanceIPAddresses . However, this only returns public, private, shared and reserved. https://github.com/linode/linodego/blob/v1.30.0/instance_ips.go#L17-L22. To get VPC specific ip-addresses, one has to send another request to get instance configs and then parse through them. It would be nice to get vpc addresses in response of GetInstanceIPAddresses only.
linode-cli and linode API does provide this:
Can we have something like:
Example Code
No response
The text was updated successfully, but these errors were encountered: