1and1 1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (290) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +2 -0
  3. data/1and1-1.0.gem +0 -0
  4. data/1and1.gemspec +20 -0
  5. data/Gemfile +4 -0
  6. data/LICENSE +201 -0
  7. data/README.md +499 -0
  8. data/docs/reference.md +2447 -0
  9. data/examples/dvd_examples.rb +15 -0
  10. data/examples/example_app.rb +100 -0
  11. data/examples/firewall_examples.rb +137 -0
  12. data/examples/image_examples.rb +48 -0
  13. data/examples/load_balancer_examples.rb +145 -0
  14. data/examples/log_examples.rb +15 -0
  15. data/examples/monitoring_center_examples.rb +15 -0
  16. data/examples/monitoring_policy_examples.rb +343 -0
  17. data/examples/private_network_examples.rb +86 -0
  18. data/examples/public_ip_examples.rb +42 -0
  19. data/examples/role_examples.rb +113 -0
  20. data/examples/server_appliance_examples.rb +15 -0
  21. data/examples/server_examples.rb +438 -0
  22. data/examples/shared_storage_examples.rb +108 -0
  23. data/examples/usage_examples.rb +6 -0
  24. data/examples/user_examples.rb +113 -0
  25. data/examples/vpn_examples.rb +56 -0
  26. data/lib/1and1/datacenter.rb +73 -0
  27. data/lib/1and1/dvd.rb +73 -0
  28. data/lib/1and1/firewall.rb +427 -0
  29. data/lib/1and1/image.rb +231 -0
  30. data/lib/1and1/load_balancer.rb +448 -0
  31. data/lib/1and1/log.rb +77 -0
  32. data/lib/1and1/monitoring_center.rb +84 -0
  33. data/lib/1and1/monitoring_policy.rb +598 -0
  34. data/lib/1and1/oneandone.rb +57 -0
  35. data/lib/1and1/ping.rb +41 -0
  36. data/lib/1and1/ping_auth.rb +41 -0
  37. data/lib/1and1/pricing.rb +41 -0
  38. data/lib/1and1/private_network.rb +333 -0
  39. data/lib/1and1/public_ip.rb +192 -0
  40. data/lib/1and1/role.rb +381 -0
  41. data/lib/1and1/server.rb +1208 -0
  42. data/lib/1and1/server_appliance.rb +73 -0
  43. data/lib/1and1/shared_storage.rb +379 -0
  44. data/lib/1and1/usage.rb +58 -0
  45. data/lib/1and1/user.rb +374 -0
  46. data/lib/1and1/vpn.rb +249 -0
  47. data/lib/oneandone.rb +27 -0
  48. data/sphinx/Makefile +192 -0
  49. data/sphinx/_build/doctrees/dvds.doctree +0 -0
  50. data/sphinx/_build/doctrees/environment.pickle +0 -0
  51. data/sphinx/_build/doctrees/firewalls.doctree +0 -0
  52. data/sphinx/_build/doctrees/images.doctree +0 -0
  53. data/sphinx/_build/doctrees/index.doctree +0 -0
  54. data/sphinx/_build/doctrees/load_balancers.doctree +0 -0
  55. data/sphinx/_build/doctrees/logs.doctree +0 -0
  56. data/sphinx/_build/doctrees/monitoring_center.doctree +0 -0
  57. data/sphinx/_build/doctrees/monitoring_policies.doctree +0 -0
  58. data/sphinx/_build/doctrees/private_networks.doctree +0 -0
  59. data/sphinx/_build/doctrees/public_ips.doctree +0 -0
  60. data/sphinx/_build/doctrees/server_appliances.doctree +0 -0
  61. data/sphinx/_build/doctrees/servers.doctree +0 -0
  62. data/sphinx/_build/doctrees/shared_storages.doctree +0 -0
  63. data/sphinx/_build/doctrees/usages.doctree +0 -0
  64. data/sphinx/_build/doctrees/users.doctree +0 -0
  65. data/sphinx/_build/html/.buildinfo +4 -0
  66. data/sphinx/_build/html/_sources/dvds.txt +42 -0
  67. data/sphinx/_build/html/_sources/firewalls.txt +189 -0
  68. data/sphinx/_build/html/_sources/images.txt +101 -0
  69. data/sphinx/_build/html/_sources/index.txt +499 -0
  70. data/sphinx/_build/html/_sources/load_balancers.txt +231 -0
  71. data/sphinx/_build/html/_sources/logs.txt +55 -0
  72. data/sphinx/_build/html/_sources/monitoring_center.txt +55 -0
  73. data/sphinx/_build/html/_sources/monitoring_policies.txt +288 -0
  74. data/sphinx/_build/html/_sources/private_networks.txt +146 -0
  75. data/sphinx/_build/html/_sources/public_ips.txt +78 -0
  76. data/sphinx/_build/html/_sources/server_appliances.txt +42 -0
  77. data/sphinx/_build/html/_sources/servers.txt +630 -0
  78. data/sphinx/_build/html/_sources/shared_storages.txt +160 -0
  79. data/sphinx/_build/html/_sources/usages.txt +45 -0
  80. data/sphinx/_build/html/_sources/users.txt +172 -0
  81. data/sphinx/_build/html/_static/ajax-loader.gif +0 -0
  82. data/sphinx/_build/html/_static/alabaster.css +585 -0
  83. data/sphinx/_build/html/_static/basic.css +599 -0
  84. data/sphinx/_build/html/_static/comment-bright.png +0 -0
  85. data/sphinx/_build/html/_static/comment-close.png +0 -0
  86. data/sphinx/_build/html/_static/comment.png +0 -0
  87. data/sphinx/_build/html/_static/doctools.js +263 -0
  88. data/sphinx/_build/html/_static/down-pressed.png +0 -0
  89. data/sphinx/_build/html/_static/down.png +0 -0
  90. data/sphinx/_build/html/_static/file.png +0 -0
  91. data/sphinx/_build/html/_static/jquery-1.11.1.js +10308 -0
  92. data/sphinx/_build/html/_static/jquery.js +4 -0
  93. data/sphinx/_build/html/_static/minus.png +0 -0
  94. data/sphinx/_build/html/_static/plus.png +0 -0
  95. data/sphinx/_build/html/_static/pygments.css +63 -0
  96. data/sphinx/_build/html/_static/searchtools.js +651 -0
  97. data/sphinx/_build/html/_static/underscore-1.3.1.js +999 -0
  98. data/sphinx/_build/html/_static/underscore.js +31 -0
  99. data/sphinx/_build/html/_static/up-pressed.png +0 -0
  100. data/sphinx/_build/html/_static/up.png +0 -0
  101. data/sphinx/_build/html/_static/websupport.js +808 -0
  102. data/sphinx/_build/html/dvds.html +151 -0
  103. data/sphinx/_build/html/firewalls.html +397 -0
  104. data/sphinx/_build/html/genindex.html +114 -0
  105. data/sphinx/_build/html/images.html +236 -0
  106. data/sphinx/_build/html/index.html +571 -0
  107. data/sphinx/_build/html/load_balancers.html +409 -0
  108. data/sphinx/_build/html/logs.html +160 -0
  109. data/sphinx/_build/html/monitoring_center.html +160 -0
  110. data/sphinx/_build/html/monitoring_policies.html +530 -0
  111. data/sphinx/_build/html/objects.inv +0 -0
  112. data/sphinx/_build/html/private_networks.html +316 -0
  113. data/sphinx/_build/html/public_ips.html +215 -0
  114. data/sphinx/_build/html/rb-modindex.html +106 -0
  115. data/sphinx/_build/html/search.html +99 -0
  116. data/sphinx/_build/html/searchindex.js +1 -0
  117. data/sphinx/_build/html/server_appliances.html +153 -0
  118. data/sphinx/_build/html/servers.html +994 -0
  119. data/sphinx/_build/html/shared_storages.html +349 -0
  120. data/sphinx/_build/html/usages.html +140 -0
  121. data/sphinx/_build/html/users.html +363 -0
  122. data/sphinx/conf.py +287 -0
  123. data/sphinx/dvds.rst +42 -0
  124. data/sphinx/firewalls.rst +189 -0
  125. data/sphinx/images.rst +101 -0
  126. data/sphinx/index.rst +499 -0
  127. data/sphinx/load_balancers.rst +231 -0
  128. data/sphinx/logs.rst +55 -0
  129. data/sphinx/make.bat +263 -0
  130. data/sphinx/monitoring_center.rst +55 -0
  131. data/sphinx/monitoring_policies.rst +288 -0
  132. data/sphinx/private_networks.rst +146 -0
  133. data/sphinx/public_ips.rst +78 -0
  134. data/sphinx/server_appliances.rst +42 -0
  135. data/sphinx/servers.rst +630 -0
  136. data/sphinx/shared_storages.rst +160 -0
  137. data/sphinx/usages.rst +45 -0
  138. data/sphinx/users.rst +172 -0
  139. data/test/mock-api/add-firewall.json +66 -0
  140. data/test/mock-api/add-hdd.json +49 -0
  141. data/test/mock-api/add-lb.json +71 -0
  142. data/test/mock-api/add-new-ip.json +18 -0
  143. data/test/mock-api/add-pn.json +66 -0
  144. data/test/mock-api/add-port-mp.json +81 -0
  145. data/test/mock-api/add-process-mp.json +20 -0
  146. data/test/mock-api/add-rule-fp.json +33 -0
  147. data/test/mock-api/add-rule-lb.json +40 -0
  148. data/test/mock-api/add-server-ip.json +66 -0
  149. data/test/mock-api/add-server-mp.json +66 -0
  150. data/test/mock-api/assign-ip-fp.json +32 -0
  151. data/test/mock-api/assign-server-lb.json +39 -0
  152. data/test/mock-api/attach-server-pn.json +14 -0
  153. data/test/mock-api/attach-server-storage.json +24 -0
  154. data/test/mock-api/change-api-key.json +15 -0
  155. data/test/mock-api/change-password.json +5 -0
  156. data/test/mock-api/change-server-status.json +70 -0
  157. data/test/mock-api/clone-server.json +29 -0
  158. data/test/mock-api/create-fp.json +26 -0
  159. data/test/mock-api/create-image.json +30 -0
  160. data/test/mock-api/create-lb.json +33 -0
  161. data/test/mock-api/create-mp.json +81 -0
  162. data/test/mock-api/create-pn.json +11 -0
  163. data/test/mock-api/create-public-ip.json +10 -0
  164. data/test/mock-api/create-server.json +34 -0
  165. data/test/mock-api/create-snapshot.json +74 -0
  166. data/test/mock-api/create-storage.json +13 -0
  167. data/test/mock-api/create-user.json +14 -0
  168. data/test/mock-api/delete-fp.json +26 -0
  169. data/test/mock-api/delete-image.json +26 -0
  170. data/test/mock-api/delete-ip.json +15 -0
  171. data/test/mock-api/delete-lb.json +33 -0
  172. data/test/mock-api/delete-mp.json +71 -0
  173. data/test/mock-api/delete-pn.json +11 -0
  174. data/test/mock-api/delete-public-ip.json +10 -0
  175. data/test/mock-api/delete-rule-fp.json +26 -0
  176. data/test/mock-api/delete-server.json +50 -0
  177. data/test/mock-api/delete-snapshot.json +74 -0
  178. data/test/mock-api/delete-storage.json +24 -0
  179. data/test/mock-api/delete-user.json +15 -0
  180. data/test/mock-api/detach-server-lb.json +33 -0
  181. data/test/mock-api/detach-server-mp.json +65 -0
  182. data/test/mock-api/detach-server-storage.json +19 -0
  183. data/test/mock-api/edit-image.json +26 -0
  184. data/test/mock-api/eject-dvd.json +66 -0
  185. data/test/mock-api/fixed-server-flavors.json +70 -0
  186. data/test/mock-api/get-appliance.json +16 -0
  187. data/test/mock-api/get-dvd.json +9 -0
  188. data/test/mock-api/get-firewall.json +26 -0
  189. data/test/mock-api/get-fixed-server.json +17 -0
  190. data/test/mock-api/get-fp-rule.json +7 -0
  191. data/test/mock-api/get-hardware.json +13 -0
  192. data/test/mock-api/get-hdd.json +5 -0
  193. data/test/mock-api/get-image.json +26 -0
  194. data/test/mock-api/get-lb-rule.json +7 -0
  195. data/test/mock-api/get-lb-server.json +5 -0
  196. data/test/mock-api/get-load-balancer.json +33 -0
  197. data/test/mock-api/get-log.json +23 -0
  198. data/test/mock-api/get-monitoring-center.json +161 -0
  199. data/test/mock-api/get-mp-port.json +7 -0
  200. data/test/mock-api/get-mp-process.json +6 -0
  201. data/test/mock-api/get-mp-server.json +4 -0
  202. data/test/mock-api/get-mp.json +65 -0
  203. data/test/mock-api/get-pn-server.json +4 -0
  204. data/test/mock-api/get-private-network.json +20 -0
  205. data/test/mock-api/get-public-ip.json +10 -0
  206. data/test/mock-api/get-server-dvd.json +4 -0
  207. data/test/mock-api/get-server-image.json +4 -0
  208. data/test/mock-api/get-server-ip-fp.json +4 -0
  209. data/test/mock-api/get-server-ip.json +8 -0
  210. data/test/mock-api/get-server-pn.json +16 -0
  211. data/test/mock-api/get-server-status.json +4 -0
  212. data/test/mock-api/get-server-storage.json +5 -0
  213. data/test/mock-api/get-server.json +44 -0
  214. data/test/mock-api/get-storage.json +19 -0
  215. data/test/mock-api/get-usage.json +161 -0
  216. data/test/mock-api/get-user-api-key.json +3 -0
  217. data/test/mock-api/get-user-api.json +7 -0
  218. data/test/mock-api/get-user.json +15 -0
  219. data/test/mock-api/list-appliances.json +66 -0
  220. data/test/mock-api/list-credentials.json +5 -0
  221. data/test/mock-api/list-dvds.json +128 -0
  222. data/test/mock-api/list-firewalls.json +54 -0
  223. data/test/mock-api/list-fp-rules.json +16 -0
  224. data/test/mock-api/list-hdds.json +7 -0
  225. data/test/mock-api/list-images.json +54 -0
  226. data/test/mock-api/list-lb-rules.json +16 -0
  227. data/test/mock-api/list-lb-servers.json +12 -0
  228. data/test/mock-api/list-load-balancers.json +68 -0
  229. data/test/mock-api/list-logs.json +49 -0
  230. data/test/mock-api/list-monitoring-center-usages.json +90 -0
  231. data/test/mock-api/list-mp-ports.json +16 -0
  232. data/test/mock-api/list-mp-processes.json +14 -0
  233. data/test/mock-api/list-mp-servers.json +10 -0
  234. data/test/mock-api/list-mps.json +152 -0
  235. data/test/mock-api/list-pn-servers.json +10 -0
  236. data/test/mock-api/list-private-networks.json +24 -0
  237. data/test/mock-api/list-public-ips.json +44 -0
  238. data/test/mock-api/list-server-fps.json +4 -0
  239. data/test/mock-api/list-server-ips-fp.json +7 -0
  240. data/test/mock-api/list-server-ips.json +10 -0
  241. data/test/mock-api/list-server-lbs.json +6 -0
  242. data/test/mock-api/list-server-pns.json +6 -0
  243. data/test/mock-api/list-servers.json +66 -0
  244. data/test/mock-api/list-snapshots.json +7 -0
  245. data/test/mock-api/list-storages.json +47 -0
  246. data/test/mock-api/list-usages.json +144 -0
  247. data/test/mock-api/list-user-ips.json +5 -0
  248. data/test/mock-api/list-users.json +31 -0
  249. data/test/mock-api/load-dvd.json +63 -0
  250. data/test/mock-api/modify-fp.json +26 -0
  251. data/test/mock-api/modify-lb.json +33 -0
  252. data/test/mock-api/modify-mp.json +81 -0
  253. data/test/mock-api/modify-pn.json +20 -0
  254. data/test/mock-api/modify-port-mp.json +81 -0
  255. data/test/mock-api/modify-process-mp.json +73 -0
  256. data/test/mock-api/modify-public-ip.json +10 -0
  257. data/test/mock-api/modify-server-hardware.json +44 -0
  258. data/test/mock-api/modify-server-hdd.json +54 -0
  259. data/test/mock-api/modify-server.json +44 -0
  260. data/test/mock-api/modify-storage.json +19 -0
  261. data/test/mock-api/modify-user-api.json +15 -0
  262. data/test/mock-api/modify-user.json +15 -0
  263. data/test/mock-api/reinstall-image.json +52 -0
  264. data/test/mock-api/remove-firewall-policy.json +26 -0
  265. data/test/mock-api/remove-hdd.json +54 -0
  266. data/test/mock-api/remove-ip-fp.json +26 -0
  267. data/test/mock-api/remove-lb.json +66 -0
  268. data/test/mock-api/remove-pn.json +71 -0
  269. data/test/mock-api/remove-port-mp.json +73 -0
  270. data/test/mock-api/remove-process-mp.json +66 -0
  271. data/test/mock-api/remove-rule-lb.json +33 -0
  272. data/test/mock-api/remove-server-ip.json +58 -0
  273. data/test/mock-api/remove-server-pn.json +16 -0
  274. data/test/mock-api/restore-snapshot.json +55 -0
  275. data/test/mock-api/storage-servers.json +12 -0
  276. data/test/test_mock_dvd.rb +55 -0
  277. data/test/test_mock_firewall.rb +309 -0
  278. data/test/test_mock_image.rb +123 -0
  279. data/test/test_mock_load_balancer.rb +312 -0
  280. data/test/test_mock_log.rb +55 -0
  281. data/test/test_mock_monitoring_center.rb +55 -0
  282. data/test/test_mock_monitoring_policy.rb +587 -0
  283. data/test/test_mock_private_network.rb +206 -0
  284. data/test/test_mock_public_ip.rb +118 -0
  285. data/test/test_mock_server.rb +929 -0
  286. data/test/test_mock_server_appliance.rb +55 -0
  287. data/test/test_mock_shared_storage.rb +256 -0
  288. data/test/test_mock_usage.rb +34 -0
  289. data/test/test_mock_user.rb +270 -0
  290. metadata +360 -0
@@ -0,0 +1,19 @@
1
+ {
2
+ "id": "6AD2F180B7B666539EF75A02FE227084",
3
+ "size": 200,
4
+ "state": "ACTIVE",
5
+ "description": "My shared storage test description",
6
+ "cloudpanel_id": "vid35780",
7
+ "size_used": "0.00",
8
+ "cifs_path": "\\\\vid35780.pre1.lan\\My shared storage test",
9
+ "nfs_path": "vid35780.pre1.lan/:My shared storage test",
10
+ "name": "My shared storage test",
11
+ "creation_date": "2015-05-06T08:33:25+00:00",
12
+ "servers": [
13
+ {
14
+ "id": "638ED28205B1AFD7ADEF569C725DD85F",
15
+ "name": "My server 1",
16
+ "rights": "RW"
17
+ }
18
+ ]
19
+ }
@@ -0,0 +1,161 @@
1
+ {
2
+ "id": "BDAF0EC6A36E9E554B80B7E7365821F5",
3
+ "name": "My Server 1",
4
+ "status": {
5
+ "state": "POWERED_ON"
6
+ },
7
+ "alerts_count": {
8
+ "resources": {
9
+ "critical": 0,
10
+ "warning": 0,
11
+ "ok": 4
12
+ },
13
+ "ports": {
14
+ "critical": 0,
15
+ "warning": 0,
16
+ "ok": 0
17
+ },
18
+ "process": {
19
+ "critical": 0,
20
+ "warning": 0,
21
+ "ok": 0
22
+ }
23
+ },
24
+ "agent": {
25
+ "agent_installed": false,
26
+ "monitoring_needs_agent": false,
27
+ "missing_agent_alert": false
28
+ },
29
+ "cpu": {
30
+ "warning": 90,
31
+ "critical": 95,
32
+ "data": [
33
+ {
34
+ "date": "2015-19-05T00:05:00Z",
35
+ "used_percent": 0.4011
36
+ },
37
+ {
38
+ "date": "2015-19-05T00:10:00Z",
39
+ "used_percent": 1.0435
40
+ },
41
+ {
42
+ "date": "2015-19-05T00:15:00Z",
43
+ "used_percent": 0.4065
44
+ },
45
+ {
46
+ "date": "2015-19-05T00:20:00Z",
47
+ "used_percent": 0.49866666666667
48
+ },
49
+ {
50
+ "date": "2015-19-05T00:25:00Z",
51
+ "used_percent": 0.30266666666667
52
+ }
53
+ ],
54
+ "unit": {
55
+ "used_percent": "%"
56
+ },
57
+ "status": "CPU usage: OK - CPU_Total 0% used: CPU0 0% used"
58
+ },
59
+ "ram": {
60
+ "warning": 90,
61
+ "critical": 95,
62
+ "data": [
63
+ {
64
+ "date": "2015-19-05T00:05:00Z",
65
+ "used_percent": 1.99
66
+ },
67
+ {
68
+ "date": "2015-19-05T00:10:00Z",
69
+ "used_percent": 1
70
+ },
71
+ {
72
+ "date": "2015-19-05T00:15:00Z",
73
+ "used_percent": 3.96
74
+ },
75
+ {
76
+ "date": "2015-19-05T00:20:00Z",
77
+ "used_percent": 5.9633333333333
78
+ },
79
+ {
80
+ "date": "2015-19-05T00:25:00Z",
81
+ "used_percent": 2.0433333333333
82
+ }
83
+ ],
84
+ "unit": {
85
+ "used_percent": "%"
86
+ },
87
+ "status": "RAM usage: OK 789MB (39%) used"
88
+ },
89
+ "transfer": {
90
+ "warning": 1000,
91
+ "critical": 2000,
92
+ "data": [
93
+ {
94
+ "date": "2015-19-05T00:05:00Z",
95
+ "downstream": 0,
96
+ "upstream": 0
97
+ },
98
+ {
99
+ "date": "2015-19-05T00:10:00Z",
100
+ "downstream": 0,
101
+ "upstream": 0
102
+ },
103
+ {
104
+ "date": "2015-19-05T00:15:00Z",
105
+ "downstream": 0,
106
+ "upstream": 0
107
+ },
108
+ {
109
+ "date": "2015-19-05T00:20:00Z",
110
+ "downstream": 0,
111
+ "upstream": 0
112
+ },
113
+ {
114
+ "date": "2015-19-05T00:25:00Z",
115
+ "downstream": 0,
116
+ "upstream": 0
117
+ }
118
+ ],
119
+ "unit": {
120
+ "downstream": "bps",
121
+ "upstream": "bps"
122
+ },
123
+ "status": "Network traffic: OK - 0 Kbps received: 0 Kbps transmitted:"
124
+ },
125
+ "internal_ping": {
126
+ "warning": 50,
127
+ "critical": 100,
128
+ "data": [
129
+ {
130
+ "date": "2015-19-05T00:05:00Z",
131
+ "pl": 100,
132
+ "rta": 0
133
+ },
134
+ {
135
+ "date": "2015-19-05T00:10:00Z",
136
+ "pl": 100,
137
+ "rta": 0
138
+ },
139
+ {
140
+ "date": "2015-19-05T00:15:00Z",
141
+ "pl": 100,
142
+ "rta": 0
143
+ },
144
+ {
145
+ "date": "2015-19-05T00:20:00Z",
146
+ "pl": 100,
147
+ "rta": 0
148
+ },
149
+ {
150
+ "date": "2015-19-05T00:25:00Z",
151
+ "pl": 100,
152
+ "rta": 0
153
+ }
154
+ ],
155
+ "unit": {
156
+ "pl": "%",
157
+ "rta": "ms"
158
+ },
159
+ "status": "OK - 10.4.141.242: rta 0.657ms, lost 0%"
160
+ }
161
+ }
@@ -0,0 +1,3 @@
1
+ {
2
+ "key": "f03c5c76aa853ff710b879909d0d7e3b"
3
+ }
@@ -0,0 +1,7 @@
1
+ {
2
+ "active": true,
3
+ "key": "f03c5c76aa853ff710b879909d0d7e3b",
4
+ "allowed_ips": [
5
+ "214.4.143.138"
6
+ ]
7
+ }
@@ -0,0 +1,15 @@
1
+ {
2
+ "id": "7C88E50FBC500A3D9D7F94E414255D6B",
3
+ "name": "034b011e.user",
4
+ "description": null,
5
+ "email": "user@arsys.es",
6
+ "state": "ACTIVE",
7
+ "creation_date": "2015-04-06T23:48:38Z",
8
+ "api": {
9
+ "active": true,
10
+ "key": "f03c5c76aa853ff710b879909d0d7e3b",
11
+ "allowed_ips": [
12
+ "214.4.143.138"
13
+ ]
14
+ }
15
+ }
@@ -0,0 +1,66 @@
1
+ [
2
+ {
3
+ "id": "55726DEDA20C99CF6F2AF8F18CAC9963",
4
+ "name": "w2012r2datacenter64iso",
5
+ "os_family": "Windows",
6
+ "os": "WindowsDatacenter",
7
+ "os_version": "Windows2012R2",
8
+ "architecture": 64,
9
+ "os_image_type": "ISO_OS",
10
+ "type": "ISO",
11
+ "min_hdd_size": 40,
12
+ "licenses": null,
13
+ "automatic_installation": false
14
+ },
15
+ {
16
+ "id": "3CE474D95AF5B0777A3DCE3FE0999F50",
17
+ "name": "w2012r2datacenter64min",
18
+ "os_family": "Windows",
19
+ "os": "WindowsDatacenter",
20
+ "os_version": "Windows2012R2",
21
+ "architecture": 64,
22
+ "os_image_type": "Minimal",
23
+ "type": "IMAGE",
24
+ "min_hdd_size": 40,
25
+ "licenses": [
26
+ {
27
+ "name": "Windows 2012 Standard"
28
+ }
29
+ ],
30
+ "automatic_installation": true
31
+ },
32
+ {
33
+ "id": "FBB637F5B6F24186166F70745E47E8AD",
34
+ "name": "w2012r2datacenter64std",
35
+ "os_family": "Windows",
36
+ "os": "WindowsDatacenter",
37
+ "os_version": "Windows2012R2",
38
+ "architecture": 64,
39
+ "os_image_type": "Standard",
40
+ "type": "IMAGE",
41
+ "min_hdd_size": 40,
42
+ "licenses": [
43
+ {
44
+ "name": "Windows 2012 Standard"
45
+ }
46
+ ],
47
+ "automatic_installation": true
48
+ },
49
+ {
50
+ "id": "A8CB64D8A8AD781D0F60FAA7EE9EC125",
51
+ "name": "w2012r2datacenter64std+SQL2012express",
52
+ "os_family": "Windows",
53
+ "os": "WindowsDatacenter",
54
+ "os_version": "Windows2012R2",
55
+ "architecture": 64,
56
+ "os_image_type": "Standard",
57
+ "type": "IMAGE",
58
+ "min_hdd_size": 40,
59
+ "licenses": [
60
+ {
61
+ "name": "Windows 2012 Standard"
62
+ }
63
+ ],
64
+ "automatic_installation": true
65
+ }
66
+ ]
@@ -0,0 +1,5 @@
1
+ {
2
+ "state": "CONFIGURING",
3
+ "kerberos_content_file": "BQIAAABSAAIACERFVjEuTEFOAANuZnMAEnVpZDYyNDQ2OC5kZXYxLmxhbgAAAAEAAAAAAwASACDoMmqCQE8L1/Kcur6pzBRM+DDT+lELrKHRIPSM966n5w==",
4
+ "user_domain": "dev1\\uid624468"
5
+ }
@@ -0,0 +1,128 @@
1
+ [
2
+ {
3
+ "id": "55726DEDA20C99CF6F2AF8F18CAC9963",
4
+ "name": "w2012r2datacenter64iso",
5
+ "os_family": "Windows",
6
+ "os": "WindowsDatacenter",
7
+ "os_version": "Windows2012R2",
8
+ "architecture": 64,
9
+ "type": "OS"
10
+ },
11
+ {
12
+ "id": "B675B070A3BB5C8D71B2129952F04BC8",
13
+ "name": "ubuntu1404-64iso",
14
+ "os_family": "Linux",
15
+ "os": "Ubuntu",
16
+ "os_version": "Ubuntu14.04",
17
+ "architecture": 64,
18
+ "type": "OS"
19
+ },
20
+ {
21
+ "id": "F9DCFAF16B4929D9F9AE6B24B125EC17",
22
+ "name": "centos6-32iso",
23
+ "os_family": "Linux",
24
+ "os": "Centos",
25
+ "os_version": "Centos6",
26
+ "architecture": 32,
27
+ "type": "OS"
28
+ },
29
+ {
30
+ "id": "3E04654E0DA19EE6A3699272D4114AFA",
31
+ "name": "centos6-64iso",
32
+ "os_family": "Linux",
33
+ "os": "Centos",
34
+ "os_version": "Centos6",
35
+ "architecture": 64,
36
+ "type": "OS"
37
+ },
38
+ {
39
+ "id": "8F8CBE2DAB9FF6F0F9A4D846E82DD651",
40
+ "name": "rhel6-64iso",
41
+ "os_family": "Linux",
42
+ "os": "RedHat",
43
+ "os_version": "RedHat6",
44
+ "architecture": 64,
45
+ "type": "OS"
46
+ },
47
+ {
48
+ "id": "B62716F09C314B46D6782EA385E27206",
49
+ "name": "centos7-64iso",
50
+ "os_family": "Linux",
51
+ "os": "Centos",
52
+ "os_version": "Centos7",
53
+ "architecture": 64,
54
+ "type": "OS"
55
+ },
56
+ {
57
+ "id": "AE54D0EE48B1F6E59021FAA63988274B",
58
+ "name": "debian6-64iso",
59
+ "os_family": "Linux",
60
+ "os": "Debian",
61
+ "os_version": "Debian6",
62
+ "architecture": 64,
63
+ "type": "OS"
64
+ },
65
+ {
66
+ "id": "AA70C76B77BC6132117DCA202D34A5A4",
67
+ "name": "debian6-32iso",
68
+ "os_family": "Linux",
69
+ "os": "Debian",
70
+ "os_version": "Debian6",
71
+ "architecture": 32,
72
+ "type": "OS"
73
+ },
74
+ {
75
+ "id": "4001EE28F2E195BD4D2D44844FAC9591",
76
+ "name": "debian7-64iso",
77
+ "os_family": "Linux",
78
+ "os": "Debian",
79
+ "os_version": "Debian7",
80
+ "architecture": 64,
81
+ "type": "OS"
82
+ },
83
+ {
84
+ "id": "B1A2D93BE081873BF127C9B9200849D8",
85
+ "name": "debian7-32iso",
86
+ "os_family": "Linux",
87
+ "os": "Debian",
88
+ "os_version": "Debian7",
89
+ "architecture": 32,
90
+ "type": "OS"
91
+ },
92
+ {
93
+ "id": "DC0886301FA0BFDD8BA21F3E9FDFC012",
94
+ "name": "freebsd10-64iso",
95
+ "os_family": "Linux",
96
+ "os": "FreeBSD",
97
+ "os_version": "FreeBSD10",
98
+ "architecture": 64,
99
+ "type": "OS"
100
+ },
101
+ {
102
+ "id": "369A148192AAD04C83FEC050F9072C76",
103
+ "name": "freebsd10-32iso",
104
+ "os_family": "Linux",
105
+ "os": "FreeBSD",
106
+ "os_version": "FreeBSD10",
107
+ "architecture": 32,
108
+ "type": "OS"
109
+ },
110
+ {
111
+ "id": "9F3A97E35D7C182EE7B871B7FBFEBBDC",
112
+ "name": "rhel7-64iso",
113
+ "os_family": "Linux",
114
+ "os": "RedHat",
115
+ "os_version": "RedHat7",
116
+ "architecture": 64,
117
+ "type": "OS"
118
+ },
119
+ {
120
+ "id": "FEF6DB2420612426911F2F9CA9E25755",
121
+ "name": "w2008r2datacenter64iso",
122
+ "os_family": "Windows",
123
+ "os": "WindowsDatacenter",
124
+ "os_version": "Windows2008R2",
125
+ "architecture": 64,
126
+ "type": "OS"
127
+ }
128
+ ]
@@ -0,0 +1,54 @@
1
+ [
2
+ {
3
+ "id": "83522FC7DA9172F229E5352C587075BA",
4
+ "name": "My firewall policy test",
5
+ "description": "My firewall policy description",
6
+ "state": "CONFIGURING",
7
+ "creation_date": "2015-04-29T10:43:11+00:00",
8
+ "default": 0,
9
+ "rules": [
10
+ {
11
+ "id": "DA5CC179ED00079AE7DE595F0073D86E",
12
+ "protocol": "TCP",
13
+ "port_from": 80,
14
+ "port_to": 80,
15
+ "source": "0.0.0.0"
16
+ },
17
+ {
18
+ "id": "0766EC674A0CD9D4EC0FA0B07978A649",
19
+ "protocol": "TCP",
20
+ "port_from": 443,
21
+ "port_to": 443,
22
+ "source": "0.0.0.0"
23
+ }
24
+ ],
25
+ "server_ips": [],
26
+ "cloudpanel_id": "FW99AA4_7"
27
+ },
28
+ {
29
+ "id": "83522FC7DA9172F229E5352C587075B9",
30
+ "name": "My firewall policy test 2",
31
+ "description": "My firewall policy description",
32
+ "state": "CONFIGURING",
33
+ "creation_date": "2015-04-29T10:43:11+00:00",
34
+ "default": 0,
35
+ "rules": [
36
+ {
37
+ "id": "DA5CC179ED00079AE7DE595F0073D86F",
38
+ "protocol": "TCP",
39
+ "port_from": 80,
40
+ "port_to": 80,
41
+ "source": "0.0.0.0"
42
+ },
43
+ {
44
+ "id": "0766EC674A0CD9D4EC0FA0B07978A64A",
45
+ "protocol": "TCP",
46
+ "port_from": 443,
47
+ "port_to": 443,
48
+ "source": "0.0.0.0"
49
+ }
50
+ ],
51
+ "server_ips": [],
52
+ "cloudpanel_id": "FW99AA4_7"
53
+ }
54
+ ]