@@ -49,35 +49,31 @@ const (
4949
5050// Instance represents a linode object
5151type Instance struct {
52- ID int `json:"id"`
53- Created * time.Time `json:"-"`
54- Updated * time.Time `json:"-"`
55- Region string `json:"region"`
56- Alerts * InstanceAlert `json:"alerts"`
57- Backups * InstanceBackup `json:"backups"`
58- Image string `json:"image"`
59- Group string `json:"group"`
60- IPv4 []* net.IP `json:"ipv4"`
61- IPv6 string `json:"ipv6"`
62- Label string `json:"label"`
63- Type string `json:"type"`
64- Status InstanceStatus `json:"status"`
65- HasUserData bool `json:"has_user_data"`
66- Hypervisor string `json:"hypervisor"`
67- HostUUID string `json:"host_uuid"`
68- Specs * InstanceSpec `json:"specs"`
69- WatchdogEnabled bool `json:"watchdog_enabled"`
70- Tags []string `json:"tags"`
71- PlacementGroup * InstancePlacementGroup `json:"placement_group"`
72- DiskEncryption InstanceDiskEncryption `json:"disk_encryption"`
73-
74- LKEClusterID int `json:"lke_cluster_id"`
75- Capabilities []string `json:"capabilities"`
76-
77- // Note: Linode interfaces may not currently be available to all users.
78- InterfaceGeneration InterfaceGeneration `json:"interface_generation"`
79-
80- MaintenancePolicy string `json:"maintenance_policy"`
52+ ID int `json:"id"`
53+ Created * time.Time `json:"-"`
54+ Updated * time.Time `json:"-"`
55+ Region string `json:"region"`
56+ Alerts * InstanceAlert `json:"alerts"`
57+ Backups * InstanceBackup `json:"backups"`
58+ Image string `json:"image"`
59+ Group string `json:"group"`
60+ IPv4 []* net.IP `json:"ipv4"`
61+ IPv6 string `json:"ipv6"`
62+ Label string `json:"label"`
63+ Type string `json:"type"`
64+ Status InstanceStatus `json:"status"`
65+ HasUserData bool `json:"has_user_data"`
66+ Hypervisor string `json:"hypervisor"`
67+ HostUUID string `json:"host_uuid"`
68+ Specs * InstanceSpec `json:"specs"`
69+ WatchdogEnabled bool `json:"watchdog_enabled"`
70+ Tags []string `json:"tags"`
71+ PlacementGroup * InstancePlacementGroup `json:"placement_group"`
72+ DiskEncryption InstanceDiskEncryption `json:"disk_encryption"`
73+ LKEClusterID int `json:"lke_cluster_id"`
74+ Capabilities []string `json:"capabilities"`
75+ InterfaceGeneration InterfaceGeneration `json:"interface_generation"`
76+ MaintenancePolicy string `json:"maintenance_policy"`
8177
8278 // NOTE: Locks can only be used with v4beta.
8379 Locks []LockType `json:"locks"`
@@ -204,7 +200,6 @@ type InstanceCreateOptions struct {
204200
205201 // Linode Interfaces to create the new instance with.
206202 // Conflicts with Interfaces.
207- // NOTE: Linode Interfaces may not currently be available to all users.
208203 LinodeInterfaces []LinodeInterfaceCreateOptions `json:"-"`
209204
210205 // Legacy (config) Interfaces to create the new instance with.
0 commit comments