File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -131,6 +131,15 @@ type Resource struct {
131131 Name * string `json:"name"`
132132}
133133
134+ // Reverse: reverse.
135+ type Reverse struct {
136+ // Hostname: reverse domain name.
137+ Hostname string `json:"hostname"`
138+
139+ // Address: IP corresponding to the hostname.
140+ Address * scw.IPNet `json:"address"`
141+ }
142+
134143// Source: source.
135144type Source struct {
136145 // Zonal: this source is global.
@@ -175,6 +184,9 @@ type IP struct {
175184 // Tags: tags for the IP.
176185 Tags []string `json:"tags"`
177186
187+ // Reverses: array of reverses associated with the IP.
188+ Reverses []* Reverse `json:"reverses"`
189+
178190 // Region: region of the IP.
179191 Region scw.Region `json:"region"`
180192
@@ -309,6 +321,9 @@ type UpdateIPRequest struct {
309321
310322 // Tags: tags for the IP.
311323 Tags * []string `json:"tags,omitempty"`
324+
325+ // Reverses: array of reverse domain names associated with an IP in the subnet of the current IP.
326+ Reverses []* Reverse `json:"reverses"`
312327}
313328
314329// This API allows you to manage IP addresses with Scaleway's IP Address Management tool.
You can’t perform that action at this time.
0 commit comments