Skip to content

Commit

Permalink
docs(ipam): document expected format of requested IP (#2069)
Browse files Browse the repository at this point in the history
  • Loading branch information
scaleway-bot authored May 3, 2024
1 parent 7b6fd12 commit 358f61d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/ipam/v1/ipam_sdk.go
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ type BookIPRequest struct {
// IsIPv6: request an IPv6 instead of an IPv4.
IsIPv6 bool `json:"is_ipv6"`

// Address: note that only the Private Network source allows you to pick a specific IP. If the requested IP is already booked, then the call will fail.
// Address: the requested address should not include the subnet mask (/suffix). Note that only the Private Network source allows you to pick a specific IP. If the requested IP is already booked, then the call will fail.
Address *net.IP `json:"address,omitempty"`

// Tags: tags for the IP.
Expand Down

0 comments on commit 358f61d

Please sign in to comment.