/
model_request_ip_reservation_request.go
42 lines (29 loc) · 1.38 KB
/
model_request_ip_reservation_request.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
/*
* Metal API
*
* This is the API for Equinix Metal. The API allows you to programmatically interact with all of your Equinix Metal resources, including devices, networks, addresses, organizations, projects, and your user account. The official API docs are hosted at <https://metal.equinix.com/developers/api>.
*
* API version: 1.0.0
* Contact: support@equinixmetal.com
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
*/
package startapi
type RequestIpReservationRequest struct {
Comments string `json:"comments,omitempty"`
Customdata map[string]interface{} `json:"customdata,omitempty"`
Details string `json:"details,omitempty"`
Facility string `json:"facility,omitempty"`
FailOnApprovalRequired bool `json:"fail_on_approval_required,omitempty"`
// The code of the metro you are requesting the IP reservation in.
Metro string `json:"metro,omitempty"`
Quantity int32 `json:"quantity"`
Tags []string `json:"tags,omitempty"`
// Must be set to 'vrf'
Type string `json:"type"`
// The size of the VRF IP Reservation's subnet
Cidr int32 `json:"cidr"`
// The starting address for this VRF IP Reservation's subnet
Network string `json:"network"`
// The ID of the VRF in which this VRF IP Reservation is created. The VRF must have an existing IP Range that contains the requested subnet. This field may be aliased as just 'vrf'.
VrfId string `json:"vrf_id"`
}