1---
2version: 1
3interactions:
4- request:
5    body: '{"label":"aw21uv73un07-linodego-testing","region":"us-west","client_conn_throttle":20}'
6    form: {}
7    headers:
8      Accept:
9      - application/json
10      Authorization:
11      - Bearer awesometokenawesometokenawesometoken
12      Content-Type:
13      - application/json
14      User-Agent:
15      - linodego 0.1.1 https://github.com/linode/linodego
16    url: https://api.linode.com/v4/nodebalancers
17    method: POST
18  response:
19    body: '{"ipv4": "010.020.030.040", "region": "us-west", "label": "aw21uv73un07-linodego-testing",
20      "id": 37821, "ipv6": "1234::5678", "created": "2018-01-02T03:04:05",
21      "hostname": "nb-10-20-30-40.fremont.nodebalancer.linode.com", "transfer": {"total":
22      null, "out": null, "in": null}, "updated": "2018-01-02T03:04:05", "client_conn_throttle":
23      20}'
24    headers:
25      Access-Control-Allow-Credentials:
26      - "true"
27      Access-Control-Allow-Headers:
28      - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter
29      Access-Control-Allow-Methods:
30      - HEAD, GET, OPTIONS, POST, PUT, DELETE
31      Access-Control-Allow-Origin:
32      - '*'
33      Access-Control-Expose-Headers:
34      - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status
35      Cache-Control:
36      - private, max-age=60, s-maxage=60
37      Connection:
38      - keep-alive
39      Content-Length:
40      - "343"
41      Content-Security-Policy:
42      - default-src 'none'
43      Content-Type:
44      - application/json
45      Date:
46      - Thu, 09 Aug 2018 16:01:06 GMT
47      Retry-After:
48      - "101"
49      Server:
50      - nginx
51      Strict-Transport-Security:
52      - max-age=31536000
53      Vary:
54      - Authorization, X-Filter
55      X-Accepted-Oauth-Scopes:
56      - nodebalancers:read_write
57      X-Content-Type-Options:
58      - nosniff
59      - nosniff
60      X-Frame-Options:
61      - DENY
62      - DENY
63      X-Oauth-Scopes:
64      - '*'
65      X-Ratelimit-Limit:
66      - "400"
67      X-Ratelimit-Remaining:
68      - "397"
69      X-Ratelimit-Reset:
70      - "1533830568"
71      X-Spec-Version:
72      - 4.0.3
73      X-Xss-Protection:
74      - 1; mode=block
75    status: 200 OK
76    code: 200
77    duration: ""
78- request:
79    body: ""
80    form: {}
81    headers:
82      Accept:
83      - application/json
84      Authorization:
85      - Bearer awesometokenawesometokenawesometoken
86      Content-Type:
87      - application/json
88      User-Agent:
89      - linodego 0.1.1 https://github.com/linode/linodego
90    url: https://api.linode.com/v4/nodebalancers/37821
91    method: GET
92  response:
93    body: '{"transfer": {"out": null, "in": null, "total": null}, "hostname": "nb-10-20-30-40.fremont.nodebalancer.linode.com",
94      "client_conn_throttle": 20, "updated": "2018-01-02T03:04:05", "region": "us-west",
95      "ipv4": "010.020.030.040", "label": "aw21uv73un07-linodego-testing", "created": "2018-01-02T03:04:05",
96      "id": 37821, "ipv6": "1234::5678"}'
97    headers:
98      Access-Control-Allow-Credentials:
99      - "true"
100      Access-Control-Allow-Headers:
101      - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter
102      Access-Control-Allow-Methods:
103      - HEAD, GET, OPTIONS, POST, PUT, DELETE
104      Access-Control-Allow-Origin:
105      - '*'
106      Access-Control-Expose-Headers:
107      - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status
108      Cache-Control:
109      - private, max-age=0, s-maxage=0, no-cache, no-store
110      - private, max-age=60, s-maxage=60
111      Connection:
112      - keep-alive
113      Content-Length:
114      - "343"
115      Content-Security-Policy:
116      - default-src 'none'
117      Content-Type:
118      - application/json
119      Date:
120      - Thu, 09 Aug 2018 16:01:06 GMT
121      Retry-After:
122      - "119"
123      Server:
124      - nginx
125      Strict-Transport-Security:
126      - max-age=31536000
127      Vary:
128      - Authorization, X-Filter
129      - Authorization, X-Filter
130      X-Accepted-Oauth-Scopes:
131      - nodebalancers:read_only
132      X-Content-Type-Options:
133      - nosniff
134      - nosniff
135      X-Frame-Options:
136      - DENY
137      - DENY
138      X-Oauth-Scopes:
139      - '*'
140      X-Ratelimit-Limit:
141      - "400"
142      X-Ratelimit-Remaining:
143      - "399"
144      X-Ratelimit-Reset:
145      - "1533830586"
146      X-Spec-Version:
147      - 4.0.3
148      X-Xss-Protection:
149      - 1; mode=block
150    status: 200 OK
151    code: 200
152    duration: ""
153- request:
154    body: ""
155    form: {}
156    headers:
157      Accept:
158      - application/json
159      Authorization:
160      - Bearer awesometokenawesometokenawesometoken
161      Content-Type:
162      - application/json
163      User-Agent:
164      - linodego 0.1.1 https://github.com/linode/linodego
165    url: https://api.linode.com/v4/nodebalancers/37821
166    method: DELETE
167  response:
168    body: '{}'
169    headers:
170      Access-Control-Allow-Credentials:
171      - "true"
172      Access-Control-Allow-Headers:
173      - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter
174      Access-Control-Allow-Methods:
175      - HEAD, GET, OPTIONS, POST, PUT, DELETE
176      Access-Control-Allow-Origin:
177      - '*'
178      Access-Control-Expose-Headers:
179      - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status
180      Cache-Control:
181      - private, max-age=60, s-maxage=60
182      Connection:
183      - keep-alive
184      Content-Length:
185      - "2"
186      Content-Security-Policy:
187      - default-src 'none'
188      Content-Type:
189      - application/json
190      Date:
191      - Thu, 09 Aug 2018 16:01:06 GMT
192      Retry-After:
193      - "102"
194      Server:
195      - nginx
196      Strict-Transport-Security:
197      - max-age=31536000
198      Vary:
199      - Authorization, X-Filter
200      X-Accepted-Oauth-Scopes:
201      - nodebalancers:read_write
202      X-Content-Type-Options:
203      - nosniff
204      - nosniff
205      X-Frame-Options:
206      - DENY
207      - DENY
208      X-Oauth-Scopes:
209      - '*'
210      X-Ratelimit-Limit:
211      - "400"
212      X-Ratelimit-Remaining:
213      - "394"
214      X-Ratelimit-Reset:
215      - "1533830569"
216      X-Spec-Version:
217      - 4.0.3
218      X-Xss-Protection:
219      - 1; mode=block
220    status: 200 OK
221    code: 200
222    duration: ""
223