1---
2version: 1
3interactions:
4- request:
5    body: '{"region":"us-southeast","type":"g6-nanode-1","label":"linodego-test-instance-wo-disk","booted":false}'
6    form: {}
7    headers:
8      Accept:
9      - application/json
10      Content-Type:
11      - application/json
12      User-Agent:
13      - linodego https://github.com/linode/linodego
14    url: https://api.linode.com/v4beta/linode/instances
15    method: POST
16  response:
17    body: '{"id": 26463220, "label": "linodego-test-instance-wo-disk", "group": "", "status": "provisioning", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "type": "g6-nanode-1", "ipv4": ["194.195.210.242"], "ipv6": "1234::5678/128", "image": null, "region": "us-southeast", "specs": {"disk": 25600, "memory": 1024, "vcpus": 1, "gpus": 0, "transfer": 1000}, "alerts": {"cpu": 90, "network_in": 10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled": false, "schedule": {"day": null, "window": null}, "last_successful": null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": []}'
18    headers:
19      Access-Control-Allow-Credentials:
20      - "true"
21      Access-Control-Allow-Headers:
22      - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter
23      Access-Control-Allow-Methods:
24      - HEAD, GET, OPTIONS, POST, PUT, DELETE
25      Access-Control-Allow-Origin:
26      - '*'
27      Access-Control-Expose-Headers:
28      - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status
29      Cache-Control:
30      - private, max-age=60, s-maxage=60
31      Content-Length:
32      - "641"
33      Content-Security-Policy:
34      - default-src 'none'
35      Content-Type:
36      - application/json
37      Server:
38      - nginx
39      Strict-Transport-Security:
40      - max-age=31536000
41      Vary:
42      - Authorization, X-Filter
43      X-Accepted-Oauth-Scopes:
44      - linodes:read_write
45      X-Content-Type-Options:
46      - nosniff
47      X-Frame-Options:
48      - DENY
49      - DENY
50      X-Oauth-Scopes:
51      - '*'
52      X-Ratelimit-Limit:
53      - "800"
54      X-Xss-Protection:
55      - 1; mode=block
56    status: 200 OK
57    code: 200
58    duration: ""
59- request:
60    body: '{"label":"linodego-test-config","devices":{},"interfaces":null}'
61    form: {}
62    headers:
63      Accept:
64      - application/json
65      Content-Type:
66      - application/json
67      User-Agent:
68      - linodego https://github.com/linode/linodego
69    url: https://api.linode.com/v4beta/linode/instances/26463220/configs
70    method: POST
71  response:
72    body: '{"id": 28452095, "label": "linodego-test-config", "helpers": {"updatedb_disabled": true, "distro": true, "modules_dep": true, "network": true, "devtmpfs_automount": true}, "kernel": "linode/latest-64bit", "comments": "", "memory_limit": 0, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "root_device": "/dev/sda", "devices": {"sda": null, "sdb": null, "sdc": null, "sdd": null, "sde": null, "sdf": null, "sdg": null, "sdh": null}, "initrd": null, "run_level": "default", "virt_mode": "paravirt", "interfaces": []}'
73    headers:
74      Access-Control-Allow-Credentials:
75      - "true"
76      Access-Control-Allow-Headers:
77      - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter
78      Access-Control-Allow-Methods:
79      - HEAD, GET, OPTIONS, POST, PUT, DELETE
80      Access-Control-Allow-Origin:
81      - '*'
82      Access-Control-Expose-Headers:
83      - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status
84      Cache-Control:
85      - private, max-age=60, s-maxage=60
86      Content-Length:
87      - "534"
88      Content-Security-Policy:
89      - default-src 'none'
90      Content-Type:
91      - application/json
92      Server:
93      - nginx
94      Strict-Transport-Security:
95      - max-age=31536000
96      Vary:
97      - Authorization, X-Filter
98      X-Accepted-Oauth-Scopes:
99      - linodes:read_write
100      X-Content-Type-Options:
101      - nosniff
102      X-Frame-Options:
103      - DENY
104      - DENY
105      X-Oauth-Scopes:
106      - '*'
107      X-Ratelimit-Limit:
108      - "800"
109      X-Xss-Protection:
110      - 1; mode=block
111    status: 200 OK
112    code: 200
113    duration: ""
114- request:
115    body: '{"comments":"","interfaces":[{"ipam_address":"","label":"","purpose":"public"},{"ipam_address":"","label":"linodego-cool-vlan","purpose":"vlan"}],"memory_limit":0,"init_rd":null}'
116    form: {}
117    headers:
118      Accept:
119      - application/json
120      Content-Type:
121      - application/json
122      User-Agent:
123      - linodego https://github.com/linode/linodego
124    url: https://api.linode.com/v4beta/linode/instances/26463220/configs/28452095
125    method: PUT
126  response:
127    body: '{"id": 28452095, "label": "linodego-test-config", "helpers": {"updatedb_disabled": true, "distro": true, "modules_dep": true, "network": true, "devtmpfs_automount": true}, "kernel": "linode/latest-64bit", "comments": "", "memory_limit": 0, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "root_device": "/dev/sda", "devices": {"sda": null, "sdb": null, "sdc": null, "sdd": null, "sde": null, "sdf": null, "sdg": null, "sdh": null}, "initrd": null, "run_level": "default", "virt_mode": "paravirt", "interfaces": [{"purpose": "public", "ipam_address": null, "label": null}, {"purpose": "vlan", "ipam_address": "", "label": "linodego-cool-vlan"}]}'
128    headers:
129      Access-Control-Allow-Credentials:
130      - "true"
131      Access-Control-Allow-Headers:
132      - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter
133      Access-Control-Allow-Methods:
134      - HEAD, GET, OPTIONS, POST, PUT, DELETE
135      Access-Control-Allow-Origin:
136      - '*'
137      Access-Control-Expose-Headers:
138      - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status
139      Cache-Control:
140      - private, max-age=60, s-maxage=60
141      Content-Length:
142      - "664"
143      Content-Security-Policy:
144      - default-src 'none'
145      Content-Type:
146      - application/json
147      Server:
148      - nginx
149      Strict-Transport-Security:
150      - max-age=31536000
151      Vary:
152      - Authorization, X-Filter
153      X-Accepted-Oauth-Scopes:
154      - linodes:read_write
155      X-Content-Type-Options:
156      - nosniff
157      X-Frame-Options:
158      - DENY
159      - DENY
160      X-Oauth-Scopes:
161      - '*'
162      X-Ratelimit-Limit:
163      - "800"
164      X-Xss-Protection:
165      - 1; mode=block
166    status: 200 OK
167    code: 200
168    duration: ""
169- request:
170    body: ""
171    form: {}
172    headers:
173      Accept:
174      - application/json
175      Content-Type:
176      - application/json
177      User-Agent:
178      - linodego https://github.com/linode/linodego
179    url: https://api.linode.com/v4beta/linode/instances/26463220/configs/28452095
180    method: GET
181  response:
182    body: '{"id": 28452095, "label": "linodego-test-config", "helpers": {"updatedb_disabled": true, "distro": true, "modules_dep": true, "network": true, "devtmpfs_automount": true}, "kernel": "linode/latest-64bit", "comments": "", "memory_limit": 0, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "root_device": "/dev/sda", "devices": {"sda": null, "sdb": null, "sdc": null, "sdd": null, "sde": null, "sdf": null, "sdg": null, "sdh": null}, "initrd": null, "run_level": "default", "virt_mode": "paravirt", "interfaces": [{"purpose": "public", "ipam_address": null, "label": null}, {"purpose": "vlan", "ipam_address": "", "label": "linodego-cool-vlan"}]}'
183    headers:
184      Access-Control-Allow-Credentials:
185      - "true"
186      Access-Control-Allow-Headers:
187      - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter
188      Access-Control-Allow-Methods:
189      - HEAD, GET, OPTIONS, POST, PUT, DELETE
190      Access-Control-Allow-Origin:
191      - '*'
192      Access-Control-Expose-Headers:
193      - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status
194      Cache-Control:
195      - private, max-age=0, s-maxage=0, no-cache, no-store
196      - private, max-age=60, s-maxage=60
197      Content-Length:
198      - "664"
199      Content-Security-Policy:
200      - default-src 'none'
201      Content-Type:
202      - application/json
203      Server:
204      - nginx
205      Strict-Transport-Security:
206      - max-age=31536000
207      Vary:
208      - Authorization, X-Filter
209      - Authorization, X-Filter
210      X-Accepted-Oauth-Scopes:
211      - linodes:read_only
212      X-Content-Type-Options:
213      - nosniff
214      X-Frame-Options:
215      - DENY
216      - DENY
217      X-Oauth-Scopes:
218      - '*'
219      X-Ratelimit-Limit:
220      - "800"
221      X-Xss-Protection:
222      - 1; mode=block
223    status: 200 OK
224    code: 200
225    duration: ""
226- request:
227    body: '{"comments":"","interfaces":null,"memory_limit":0,"init_rd":null}'
228    form: {}
229    headers:
230      Accept:
231      - application/json
232      Content-Type:
233      - application/json
234      User-Agent:
235      - linodego https://github.com/linode/linodego
236    url: https://api.linode.com/v4beta/linode/instances/26463220/configs/28452095
237    method: PUT
238  response:
239    body: '{"id": 28452095, "label": "linodego-test-config", "helpers": {"updatedb_disabled": true, "distro": true, "modules_dep": true, "network": true, "devtmpfs_automount": true}, "kernel": "linode/latest-64bit", "comments": "", "memory_limit": 0, "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "root_device": "/dev/sda", "devices": {"sda": null, "sdb": null, "sdc": null, "sdd": null, "sde": null, "sdf": null, "sdg": null, "sdh": null}, "initrd": null, "run_level": "default", "virt_mode": "paravirt", "interfaces": [{"purpose": "public", "ipam_address": null, "label": null}, {"purpose": "vlan", "ipam_address": "", "label": "linodego-cool-vlan"}]}'
240    headers:
241      Access-Control-Allow-Credentials:
242      - "true"
243      Access-Control-Allow-Headers:
244      - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter
245      Access-Control-Allow-Methods:
246      - HEAD, GET, OPTIONS, POST, PUT, DELETE
247      Access-Control-Allow-Origin:
248      - '*'
249      Access-Control-Expose-Headers:
250      - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status
251      Cache-Control:
252      - private, max-age=60, s-maxage=60
253      Content-Length:
254      - "664"
255      Content-Security-Policy:
256      - default-src 'none'
257      Content-Type:
258      - application/json
259      Server:
260      - nginx
261      Strict-Transport-Security:
262      - max-age=31536000
263      Vary:
264      - Authorization, X-Filter
265      X-Accepted-Oauth-Scopes:
266      - linodes:read_write
267      X-Content-Type-Options:
268      - nosniff
269      X-Frame-Options:
270      - DENY
271      - DENY
272      X-Oauth-Scopes:
273      - '*'
274      X-Ratelimit-Limit:
275      - "800"
276      X-Xss-Protection:
277      - 1; mode=block
278    status: 200 OK
279    code: 200
280    duration: ""
281- request:
282    body: ""
283    form: {}
284    headers:
285      Accept:
286      - application/json
287      Content-Type:
288      - application/json
289      User-Agent:
290      - linodego https://github.com/linode/linodego
291    url: https://api.linode.com/v4beta/linode/instances/26463220
292    method: DELETE
293  response:
294    body: '{}'
295    headers:
296      Access-Control-Allow-Credentials:
297      - "true"
298      Access-Control-Allow-Headers:
299      - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter
300      Access-Control-Allow-Methods:
301      - HEAD, GET, OPTIONS, POST, PUT, DELETE
302      Access-Control-Allow-Origin:
303      - '*'
304      Access-Control-Expose-Headers:
305      - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status
306      Cache-Control:
307      - private, max-age=60, s-maxage=60
308      Content-Length:
309      - "2"
310      Content-Security-Policy:
311      - default-src 'none'
312      Content-Type:
313      - application/json
314      Server:
315      - nginx
316      Strict-Transport-Security:
317      - max-age=31536000
318      Vary:
319      - Authorization, X-Filter
320      X-Accepted-Oauth-Scopes:
321      - linodes:read_write
322      X-Content-Type-Options:
323      - nosniff
324      X-Frame-Options:
325      - DENY
326      - DENY
327      X-Oauth-Scopes:
328      - '*'
329      X-Ratelimit-Limit:
330      - "800"
331      X-Xss-Protection:
332      - 1; mode=block
333    status: 200 OK
334    code: 200
335    duration: ""
336