1and1 1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +2 -0
- data/1and1-1.0.gem +0 -0
- data/1and1.gemspec +20 -0
- data/Gemfile +4 -0
- data/LICENSE +201 -0
- data/README.md +499 -0
- data/docs/reference.md +2447 -0
- data/examples/dvd_examples.rb +15 -0
- data/examples/example_app.rb +100 -0
- data/examples/firewall_examples.rb +137 -0
- data/examples/image_examples.rb +48 -0
- data/examples/load_balancer_examples.rb +145 -0
- data/examples/log_examples.rb +15 -0
- data/examples/monitoring_center_examples.rb +15 -0
- data/examples/monitoring_policy_examples.rb +343 -0
- data/examples/private_network_examples.rb +86 -0
- data/examples/public_ip_examples.rb +42 -0
- data/examples/role_examples.rb +113 -0
- data/examples/server_appliance_examples.rb +15 -0
- data/examples/server_examples.rb +438 -0
- data/examples/shared_storage_examples.rb +108 -0
- data/examples/usage_examples.rb +6 -0
- data/examples/user_examples.rb +113 -0
- data/examples/vpn_examples.rb +56 -0
- data/lib/1and1/datacenter.rb +73 -0
- data/lib/1and1/dvd.rb +73 -0
- data/lib/1and1/firewall.rb +427 -0
- data/lib/1and1/image.rb +231 -0
- data/lib/1and1/load_balancer.rb +448 -0
- data/lib/1and1/log.rb +77 -0
- data/lib/1and1/monitoring_center.rb +84 -0
- data/lib/1and1/monitoring_policy.rb +598 -0
- data/lib/1and1/oneandone.rb +57 -0
- data/lib/1and1/ping.rb +41 -0
- data/lib/1and1/ping_auth.rb +41 -0
- data/lib/1and1/pricing.rb +41 -0
- data/lib/1and1/private_network.rb +333 -0
- data/lib/1and1/public_ip.rb +192 -0
- data/lib/1and1/role.rb +381 -0
- data/lib/1and1/server.rb +1208 -0
- data/lib/1and1/server_appliance.rb +73 -0
- data/lib/1and1/shared_storage.rb +379 -0
- data/lib/1and1/usage.rb +58 -0
- data/lib/1and1/user.rb +374 -0
- data/lib/1and1/vpn.rb +249 -0
- data/lib/oneandone.rb +27 -0
- data/sphinx/Makefile +192 -0
- data/sphinx/_build/doctrees/dvds.doctree +0 -0
- data/sphinx/_build/doctrees/environment.pickle +0 -0
- data/sphinx/_build/doctrees/firewalls.doctree +0 -0
- data/sphinx/_build/doctrees/images.doctree +0 -0
- data/sphinx/_build/doctrees/index.doctree +0 -0
- data/sphinx/_build/doctrees/load_balancers.doctree +0 -0
- data/sphinx/_build/doctrees/logs.doctree +0 -0
- data/sphinx/_build/doctrees/monitoring_center.doctree +0 -0
- data/sphinx/_build/doctrees/monitoring_policies.doctree +0 -0
- data/sphinx/_build/doctrees/private_networks.doctree +0 -0
- data/sphinx/_build/doctrees/public_ips.doctree +0 -0
- data/sphinx/_build/doctrees/server_appliances.doctree +0 -0
- data/sphinx/_build/doctrees/servers.doctree +0 -0
- data/sphinx/_build/doctrees/shared_storages.doctree +0 -0
- data/sphinx/_build/doctrees/usages.doctree +0 -0
- data/sphinx/_build/doctrees/users.doctree +0 -0
- data/sphinx/_build/html/.buildinfo +4 -0
- data/sphinx/_build/html/_sources/dvds.txt +42 -0
- data/sphinx/_build/html/_sources/firewalls.txt +189 -0
- data/sphinx/_build/html/_sources/images.txt +101 -0
- data/sphinx/_build/html/_sources/index.txt +499 -0
- data/sphinx/_build/html/_sources/load_balancers.txt +231 -0
- data/sphinx/_build/html/_sources/logs.txt +55 -0
- data/sphinx/_build/html/_sources/monitoring_center.txt +55 -0
- data/sphinx/_build/html/_sources/monitoring_policies.txt +288 -0
- data/sphinx/_build/html/_sources/private_networks.txt +146 -0
- data/sphinx/_build/html/_sources/public_ips.txt +78 -0
- data/sphinx/_build/html/_sources/server_appliances.txt +42 -0
- data/sphinx/_build/html/_sources/servers.txt +630 -0
- data/sphinx/_build/html/_sources/shared_storages.txt +160 -0
- data/sphinx/_build/html/_sources/usages.txt +45 -0
- data/sphinx/_build/html/_sources/users.txt +172 -0
- data/sphinx/_build/html/_static/ajax-loader.gif +0 -0
- data/sphinx/_build/html/_static/alabaster.css +585 -0
- data/sphinx/_build/html/_static/basic.css +599 -0
- data/sphinx/_build/html/_static/comment-bright.png +0 -0
- data/sphinx/_build/html/_static/comment-close.png +0 -0
- data/sphinx/_build/html/_static/comment.png +0 -0
- data/sphinx/_build/html/_static/doctools.js +263 -0
- data/sphinx/_build/html/_static/down-pressed.png +0 -0
- data/sphinx/_build/html/_static/down.png +0 -0
- data/sphinx/_build/html/_static/file.png +0 -0
- data/sphinx/_build/html/_static/jquery-1.11.1.js +10308 -0
- data/sphinx/_build/html/_static/jquery.js +4 -0
- data/sphinx/_build/html/_static/minus.png +0 -0
- data/sphinx/_build/html/_static/plus.png +0 -0
- data/sphinx/_build/html/_static/pygments.css +63 -0
- data/sphinx/_build/html/_static/searchtools.js +651 -0
- data/sphinx/_build/html/_static/underscore-1.3.1.js +999 -0
- data/sphinx/_build/html/_static/underscore.js +31 -0
- data/sphinx/_build/html/_static/up-pressed.png +0 -0
- data/sphinx/_build/html/_static/up.png +0 -0
- data/sphinx/_build/html/_static/websupport.js +808 -0
- data/sphinx/_build/html/dvds.html +151 -0
- data/sphinx/_build/html/firewalls.html +397 -0
- data/sphinx/_build/html/genindex.html +114 -0
- data/sphinx/_build/html/images.html +236 -0
- data/sphinx/_build/html/index.html +571 -0
- data/sphinx/_build/html/load_balancers.html +409 -0
- data/sphinx/_build/html/logs.html +160 -0
- data/sphinx/_build/html/monitoring_center.html +160 -0
- data/sphinx/_build/html/monitoring_policies.html +530 -0
- data/sphinx/_build/html/objects.inv +0 -0
- data/sphinx/_build/html/private_networks.html +316 -0
- data/sphinx/_build/html/public_ips.html +215 -0
- data/sphinx/_build/html/rb-modindex.html +106 -0
- data/sphinx/_build/html/search.html +99 -0
- data/sphinx/_build/html/searchindex.js +1 -0
- data/sphinx/_build/html/server_appliances.html +153 -0
- data/sphinx/_build/html/servers.html +994 -0
- data/sphinx/_build/html/shared_storages.html +349 -0
- data/sphinx/_build/html/usages.html +140 -0
- data/sphinx/_build/html/users.html +363 -0
- data/sphinx/conf.py +287 -0
- data/sphinx/dvds.rst +42 -0
- data/sphinx/firewalls.rst +189 -0
- data/sphinx/images.rst +101 -0
- data/sphinx/index.rst +499 -0
- data/sphinx/load_balancers.rst +231 -0
- data/sphinx/logs.rst +55 -0
- data/sphinx/make.bat +263 -0
- data/sphinx/monitoring_center.rst +55 -0
- data/sphinx/monitoring_policies.rst +288 -0
- data/sphinx/private_networks.rst +146 -0
- data/sphinx/public_ips.rst +78 -0
- data/sphinx/server_appliances.rst +42 -0
- data/sphinx/servers.rst +630 -0
- data/sphinx/shared_storages.rst +160 -0
- data/sphinx/usages.rst +45 -0
- data/sphinx/users.rst +172 -0
- data/test/mock-api/add-firewall.json +66 -0
- data/test/mock-api/add-hdd.json +49 -0
- data/test/mock-api/add-lb.json +71 -0
- data/test/mock-api/add-new-ip.json +18 -0
- data/test/mock-api/add-pn.json +66 -0
- data/test/mock-api/add-port-mp.json +81 -0
- data/test/mock-api/add-process-mp.json +20 -0
- data/test/mock-api/add-rule-fp.json +33 -0
- data/test/mock-api/add-rule-lb.json +40 -0
- data/test/mock-api/add-server-ip.json +66 -0
- data/test/mock-api/add-server-mp.json +66 -0
- data/test/mock-api/assign-ip-fp.json +32 -0
- data/test/mock-api/assign-server-lb.json +39 -0
- data/test/mock-api/attach-server-pn.json +14 -0
- data/test/mock-api/attach-server-storage.json +24 -0
- data/test/mock-api/change-api-key.json +15 -0
- data/test/mock-api/change-password.json +5 -0
- data/test/mock-api/change-server-status.json +70 -0
- data/test/mock-api/clone-server.json +29 -0
- data/test/mock-api/create-fp.json +26 -0
- data/test/mock-api/create-image.json +30 -0
- data/test/mock-api/create-lb.json +33 -0
- data/test/mock-api/create-mp.json +81 -0
- data/test/mock-api/create-pn.json +11 -0
- data/test/mock-api/create-public-ip.json +10 -0
- data/test/mock-api/create-server.json +34 -0
- data/test/mock-api/create-snapshot.json +74 -0
- data/test/mock-api/create-storage.json +13 -0
- data/test/mock-api/create-user.json +14 -0
- data/test/mock-api/delete-fp.json +26 -0
- data/test/mock-api/delete-image.json +26 -0
- data/test/mock-api/delete-ip.json +15 -0
- data/test/mock-api/delete-lb.json +33 -0
- data/test/mock-api/delete-mp.json +71 -0
- data/test/mock-api/delete-pn.json +11 -0
- data/test/mock-api/delete-public-ip.json +10 -0
- data/test/mock-api/delete-rule-fp.json +26 -0
- data/test/mock-api/delete-server.json +50 -0
- data/test/mock-api/delete-snapshot.json +74 -0
- data/test/mock-api/delete-storage.json +24 -0
- data/test/mock-api/delete-user.json +15 -0
- data/test/mock-api/detach-server-lb.json +33 -0
- data/test/mock-api/detach-server-mp.json +65 -0
- data/test/mock-api/detach-server-storage.json +19 -0
- data/test/mock-api/edit-image.json +26 -0
- data/test/mock-api/eject-dvd.json +66 -0
- data/test/mock-api/fixed-server-flavors.json +70 -0
- data/test/mock-api/get-appliance.json +16 -0
- data/test/mock-api/get-dvd.json +9 -0
- data/test/mock-api/get-firewall.json +26 -0
- data/test/mock-api/get-fixed-server.json +17 -0
- data/test/mock-api/get-fp-rule.json +7 -0
- data/test/mock-api/get-hardware.json +13 -0
- data/test/mock-api/get-hdd.json +5 -0
- data/test/mock-api/get-image.json +26 -0
- data/test/mock-api/get-lb-rule.json +7 -0
- data/test/mock-api/get-lb-server.json +5 -0
- data/test/mock-api/get-load-balancer.json +33 -0
- data/test/mock-api/get-log.json +23 -0
- data/test/mock-api/get-monitoring-center.json +161 -0
- data/test/mock-api/get-mp-port.json +7 -0
- data/test/mock-api/get-mp-process.json +6 -0
- data/test/mock-api/get-mp-server.json +4 -0
- data/test/mock-api/get-mp.json +65 -0
- data/test/mock-api/get-pn-server.json +4 -0
- data/test/mock-api/get-private-network.json +20 -0
- data/test/mock-api/get-public-ip.json +10 -0
- data/test/mock-api/get-server-dvd.json +4 -0
- data/test/mock-api/get-server-image.json +4 -0
- data/test/mock-api/get-server-ip-fp.json +4 -0
- data/test/mock-api/get-server-ip.json +8 -0
- data/test/mock-api/get-server-pn.json +16 -0
- data/test/mock-api/get-server-status.json +4 -0
- data/test/mock-api/get-server-storage.json +5 -0
- data/test/mock-api/get-server.json +44 -0
- data/test/mock-api/get-storage.json +19 -0
- data/test/mock-api/get-usage.json +161 -0
- data/test/mock-api/get-user-api-key.json +3 -0
- data/test/mock-api/get-user-api.json +7 -0
- data/test/mock-api/get-user.json +15 -0
- data/test/mock-api/list-appliances.json +66 -0
- data/test/mock-api/list-credentials.json +5 -0
- data/test/mock-api/list-dvds.json +128 -0
- data/test/mock-api/list-firewalls.json +54 -0
- data/test/mock-api/list-fp-rules.json +16 -0
- data/test/mock-api/list-hdds.json +7 -0
- data/test/mock-api/list-images.json +54 -0
- data/test/mock-api/list-lb-rules.json +16 -0
- data/test/mock-api/list-lb-servers.json +12 -0
- data/test/mock-api/list-load-balancers.json +68 -0
- data/test/mock-api/list-logs.json +49 -0
- data/test/mock-api/list-monitoring-center-usages.json +90 -0
- data/test/mock-api/list-mp-ports.json +16 -0
- data/test/mock-api/list-mp-processes.json +14 -0
- data/test/mock-api/list-mp-servers.json +10 -0
- data/test/mock-api/list-mps.json +152 -0
- data/test/mock-api/list-pn-servers.json +10 -0
- data/test/mock-api/list-private-networks.json +24 -0
- data/test/mock-api/list-public-ips.json +44 -0
- data/test/mock-api/list-server-fps.json +4 -0
- data/test/mock-api/list-server-ips-fp.json +7 -0
- data/test/mock-api/list-server-ips.json +10 -0
- data/test/mock-api/list-server-lbs.json +6 -0
- data/test/mock-api/list-server-pns.json +6 -0
- data/test/mock-api/list-servers.json +66 -0
- data/test/mock-api/list-snapshots.json +7 -0
- data/test/mock-api/list-storages.json +47 -0
- data/test/mock-api/list-usages.json +144 -0
- data/test/mock-api/list-user-ips.json +5 -0
- data/test/mock-api/list-users.json +31 -0
- data/test/mock-api/load-dvd.json +63 -0
- data/test/mock-api/modify-fp.json +26 -0
- data/test/mock-api/modify-lb.json +33 -0
- data/test/mock-api/modify-mp.json +81 -0
- data/test/mock-api/modify-pn.json +20 -0
- data/test/mock-api/modify-port-mp.json +81 -0
- data/test/mock-api/modify-process-mp.json +73 -0
- data/test/mock-api/modify-public-ip.json +10 -0
- data/test/mock-api/modify-server-hardware.json +44 -0
- data/test/mock-api/modify-server-hdd.json +54 -0
- data/test/mock-api/modify-server.json +44 -0
- data/test/mock-api/modify-storage.json +19 -0
- data/test/mock-api/modify-user-api.json +15 -0
- data/test/mock-api/modify-user.json +15 -0
- data/test/mock-api/reinstall-image.json +52 -0
- data/test/mock-api/remove-firewall-policy.json +26 -0
- data/test/mock-api/remove-hdd.json +54 -0
- data/test/mock-api/remove-ip-fp.json +26 -0
- data/test/mock-api/remove-lb.json +66 -0
- data/test/mock-api/remove-pn.json +71 -0
- data/test/mock-api/remove-port-mp.json +73 -0
- data/test/mock-api/remove-process-mp.json +66 -0
- data/test/mock-api/remove-rule-lb.json +33 -0
- data/test/mock-api/remove-server-ip.json +58 -0
- data/test/mock-api/remove-server-pn.json +16 -0
- data/test/mock-api/restore-snapshot.json +55 -0
- data/test/mock-api/storage-servers.json +12 -0
- data/test/test_mock_dvd.rb +55 -0
- data/test/test_mock_firewall.rb +309 -0
- data/test/test_mock_image.rb +123 -0
- data/test/test_mock_load_balancer.rb +312 -0
- data/test/test_mock_log.rb +55 -0
- data/test/test_mock_monitoring_center.rb +55 -0
- data/test/test_mock_monitoring_policy.rb +587 -0
- data/test/test_mock_private_network.rb +206 -0
- data/test/test_mock_public_ip.rb +118 -0
- data/test/test_mock_server.rb +929 -0
- data/test/test_mock_server_appliance.rb +55 -0
- data/test/test_mock_shared_storage.rb +256 -0
- data/test/test_mock_usage.rb +34 -0
- data/test/test_mock_user.rb +270 -0
- metadata +360 -0
@@ -0,0 +1,24 @@
|
|
1
|
+
[
|
2
|
+
{
|
3
|
+
"id": "6058B5DAF8182D20E1C68C3CED78EE22",
|
4
|
+
"name": "My private network",
|
5
|
+
"description": "My private network description",
|
6
|
+
"network_address": "192.168.1.0",
|
7
|
+
"subnet_mask": "255.255.255.0",
|
8
|
+
"state": "ACTIVE",
|
9
|
+
"creation_date": "2015-04-28T10:21:19+00:00",
|
10
|
+
"servers": [],
|
11
|
+
"cloudpanel_id": "pn99AA4_1"
|
12
|
+
},
|
13
|
+
{
|
14
|
+
"id": "6058B5DAF8182D20E1C68C3CED78EE23",
|
15
|
+
"name": "My private network 2",
|
16
|
+
"description": "My private network description",
|
17
|
+
"network_address": null,
|
18
|
+
"subnet_mask": null,
|
19
|
+
"state": "ACTIVE",
|
20
|
+
"creation_date": "2015-04-28T10:21:19+00:00",
|
21
|
+
"servers": [],
|
22
|
+
"cloudpanel_id": "pn99AA4_1"
|
23
|
+
}
|
24
|
+
]
|
@@ -0,0 +1,44 @@
|
|
1
|
+
[
|
2
|
+
{
|
3
|
+
"id": "569FA2EC06DD48C9E8635F3384A018DB",
|
4
|
+
"ip": "10.5.138.52",
|
5
|
+
"type": "IPV4",
|
6
|
+
"assigned_to": {
|
7
|
+
"id": "B23F1B4F84E983B4FEDD5459E877058A",
|
8
|
+
"name": "My load balancer",
|
9
|
+
"type": "LOAD_BALANCER"
|
10
|
+
},
|
11
|
+
"reverse_dns": null,
|
12
|
+
"is_dhcp": false,
|
13
|
+
"state": "ACTIVE",
|
14
|
+
"creation_date": "2015-03-03T11:12:10+00:00"
|
15
|
+
},
|
16
|
+
{
|
17
|
+
"id": "6F033A13C3EFCE0FB60783280A118D63",
|
18
|
+
"ip": "10.5.133.191",
|
19
|
+
"type": "IPV4",
|
20
|
+
"assigned_to": {
|
21
|
+
"id": "BDAF0EC6A36E9E554B80B7E7365821F5",
|
22
|
+
"name": "My Server 1",
|
23
|
+
"type": "SERVER"
|
24
|
+
},
|
25
|
+
"reverse_dns": null,
|
26
|
+
"is_dhcp": true,
|
27
|
+
"state": "ACTIVE",
|
28
|
+
"creation_date": "2015-05-04T07:21:37+00:00"
|
29
|
+
},
|
30
|
+
{
|
31
|
+
"id": "39C73A57B33DAF2F9FA1EBEA4C301FCF",
|
32
|
+
"ip": "10.5.138.81",
|
33
|
+
"type": "IPV4",
|
34
|
+
"assigned_to": {
|
35
|
+
"id": "B23F1B4F84E983B4FEDD5459E877058A",
|
36
|
+
"name": "My load balancer",
|
37
|
+
"type": "LOAD_BALANCER"
|
38
|
+
},
|
39
|
+
"reverse_dns": null,
|
40
|
+
"is_dhcp": false,
|
41
|
+
"state": "ACTIVE",
|
42
|
+
"creation_date": "2015-03-03T11:13:16+00:00"
|
43
|
+
}
|
44
|
+
]
|
@@ -0,0 +1,66 @@
|
|
1
|
+
[
|
2
|
+
{
|
3
|
+
"id": "39AA65F5D5B02FA02D58173094EBAF95",
|
4
|
+
"name": "My Server 1",
|
5
|
+
"status": {
|
6
|
+
"state": "POWERED_OFF",
|
7
|
+
"percent": null
|
8
|
+
},
|
9
|
+
"image": {
|
10
|
+
"id": "3C3B80327CBBD7F0023F793F666C24D0",
|
11
|
+
"name": "w2008r2datacenter64std"
|
12
|
+
},
|
13
|
+
"hardware": {
|
14
|
+
"fixed_instance_size_id": 0,
|
15
|
+
"vcore": 1,
|
16
|
+
"cores_per_processor": 1,
|
17
|
+
"ram": 2,
|
18
|
+
"hdds": [
|
19
|
+
{
|
20
|
+
"id": "8C626C1A7005D0D1F527143C413D461E",
|
21
|
+
"size": 40,
|
22
|
+
"is_main": true
|
23
|
+
}
|
24
|
+
]
|
25
|
+
},
|
26
|
+
"ips": [
|
27
|
+
{
|
28
|
+
"id": "8D135204687B9CF9E79E7A93C096E336",
|
29
|
+
"ip": "10.4.140.213"
|
30
|
+
}
|
31
|
+
],
|
32
|
+
"alerts": null
|
33
|
+
},
|
34
|
+
{
|
35
|
+
"id": "D6F1239315503A1C44607BB04B3BD9C9",
|
36
|
+
"name": "My Server 2",
|
37
|
+
"status": {
|
38
|
+
"state": "POWERED_ON",
|
39
|
+
"percent": null
|
40
|
+
},
|
41
|
+
"image": {
|
42
|
+
"id": "3C3F2FA3DB91318E8DCCB9F405339F76",
|
43
|
+
"name": "centos7-64std"
|
44
|
+
},
|
45
|
+
"hardware": {
|
46
|
+
"fixed_instance_size_id": 0,
|
47
|
+
"vcore": 1,
|
48
|
+
"cores_per_processor": 1,
|
49
|
+
"ram": 2,
|
50
|
+
"hdds": [
|
51
|
+
{
|
52
|
+
"id": "14B3CD8FE65C69F0AF28BE42431182E1",
|
53
|
+
"size": 40,
|
54
|
+
"is_main": true
|
55
|
+
}
|
56
|
+
]
|
57
|
+
},
|
58
|
+
"ips": [
|
59
|
+
{
|
60
|
+
"id": "F116AFAAF937A5661601D31463B3A776",
|
61
|
+
"ip": "10.4.141.154"
|
62
|
+
}
|
63
|
+
],
|
64
|
+
"alerts": null
|
65
|
+
}
|
66
|
+
]
|
@@ -0,0 +1,47 @@
|
|
1
|
+
[
|
2
|
+
{
|
3
|
+
"id": "6AD2F180B7B666539EF75A02FE227084",
|
4
|
+
"size": 200,
|
5
|
+
"state": "ACTIVE",
|
6
|
+
"description": "My shared storage test description",
|
7
|
+
"cloudpanel_id": "vid35780",
|
8
|
+
"size_used": "0.00",
|
9
|
+
"cifs_path": "\\\\vid35780.pre1.lan\\My shared storage test",
|
10
|
+
"nfs_path": "vid35780.pre1.lan/:My shared storage test",
|
11
|
+
"name": "My shared storage test",
|
12
|
+
"creation_date": "2015-05-06T08:33:25+00:00",
|
13
|
+
"servers": [
|
14
|
+
{
|
15
|
+
"id": "638ED28205B1AFD7ADEF569C725DD85F",
|
16
|
+
"name": "My server 1",
|
17
|
+
"rights": "RW"
|
18
|
+
}
|
19
|
+
]
|
20
|
+
},
|
21
|
+
{
|
22
|
+
"id": "4406CE4723BB441C7956E25C51CE8C1B",
|
23
|
+
"size": 50,
|
24
|
+
"state": "ACTIVE",
|
25
|
+
"description": "My shared storage description",
|
26
|
+
"cloudpanel_id": "vid30534",
|
27
|
+
"size_used": "0.00",
|
28
|
+
"cifs_path": "\\\\vid30534.pre1.lan\\Shared big disk more textr",
|
29
|
+
"nfs_path": "vid30534.pre1.lan/:Shared big disk more textr",
|
30
|
+
"name": "My shared storage",
|
31
|
+
"creation_date": "2015-03-17T11:57:48+00:00",
|
32
|
+
"servers": []
|
33
|
+
},
|
34
|
+
{
|
35
|
+
"id": "1A5418172DD3BD39F8010A6633F1018A",
|
36
|
+
"size": 250,
|
37
|
+
"state": "ACTIVE",
|
38
|
+
"description": null,
|
39
|
+
"cloudpanel_id": "vid19857",
|
40
|
+
"size_used": "0.00",
|
41
|
+
"cifs_path": "\\\\vid19857.pre1.lan\\My shared storage 4",
|
42
|
+
"nfs_path": "vid19857.pre1.lan/:My shared storage 4",
|
43
|
+
"name": "My shared storage 2",
|
44
|
+
"creation_date": "2015-05-05T09:36:31+00:00",
|
45
|
+
"servers": []
|
46
|
+
}
|
47
|
+
]
|
@@ -0,0 +1,144 @@
|
|
1
|
+
{
|
2
|
+
"SERVERS": [
|
3
|
+
{
|
4
|
+
"id": "ABA6F4C16FE9893B09B354A4CF6321DF",
|
5
|
+
"name": "My Server remame",
|
6
|
+
"services": [
|
7
|
+
{
|
8
|
+
"type": "CPU",
|
9
|
+
"avg_amount": "1.00",
|
10
|
+
"unit": "vCore",
|
11
|
+
"usage": 49619,
|
12
|
+
"detail": [
|
13
|
+
{
|
14
|
+
"avg_amount": "1.00",
|
15
|
+
"unit": "vCore",
|
16
|
+
"start_date": "2015-03-16T08:36:39+00:00",
|
17
|
+
"end_date": "2015-03-21T19:59:01+00:00",
|
18
|
+
"usage": 49619
|
19
|
+
}
|
20
|
+
]
|
21
|
+
},
|
22
|
+
{
|
23
|
+
"type": "HDD",
|
24
|
+
"avg_amount": "40.00",
|
25
|
+
"unit": "GB",
|
26
|
+
"usage": 49619,
|
27
|
+
"detail": [
|
28
|
+
{
|
29
|
+
"avg_amount": "40.00",
|
30
|
+
"unit": "GB",
|
31
|
+
"start_date": "2015-03-16T08:36:39+00:00",
|
32
|
+
"end_date": "2015-03-21T19:59:01+00:00",
|
33
|
+
"usage": 49619
|
34
|
+
}
|
35
|
+
]
|
36
|
+
},
|
37
|
+
{
|
38
|
+
"type": "RAM",
|
39
|
+
"avg_amount": "2.00",
|
40
|
+
"unit": "GB",
|
41
|
+
"usage": 49619,
|
42
|
+
"detail": [
|
43
|
+
{
|
44
|
+
"avg_amount": "2.00",
|
45
|
+
"unit": "GB",
|
46
|
+
"start_date": "2015-03-16T08:36:39+00:00",
|
47
|
+
"end_date": "2015-03-21T19:59:01+00:00",
|
48
|
+
"usage": 49619
|
49
|
+
}
|
50
|
+
]
|
51
|
+
},
|
52
|
+
{
|
53
|
+
"name": "82.223.25.60",
|
54
|
+
"type": "IP",
|
55
|
+
"avg_amount": "1.00",
|
56
|
+
"unit": "IP",
|
57
|
+
"usage": 49619,
|
58
|
+
"detail": [
|
59
|
+
{
|
60
|
+
"avg_amount": "1.00",
|
61
|
+
"unit": "IP",
|
62
|
+
"start_date": "2015-03-16T08:36:39+00:00",
|
63
|
+
"end_date": "2015-03-21T19:59:01+00:00",
|
64
|
+
"usage": 49619
|
65
|
+
}
|
66
|
+
]
|
67
|
+
}
|
68
|
+
]
|
69
|
+
}
|
70
|
+
],
|
71
|
+
"SHARED_STORAGES": [
|
72
|
+
{
|
73
|
+
"name": "My Shared Storage 2",
|
74
|
+
"services": [
|
75
|
+
{
|
76
|
+
"type": "size",
|
77
|
+
"avg_amount": "74.21",
|
78
|
+
"unit": "GB",
|
79
|
+
"usage": 8862,
|
80
|
+
"detail": [
|
81
|
+
{
|
82
|
+
"avg_amount": "50.00",
|
83
|
+
"unit": "GB",
|
84
|
+
"start_date": "2015-03-16T08:36:39+00:00",
|
85
|
+
"end_date": "2015-03-21T19:59:01+00:00",
|
86
|
+
"usage": 4571
|
87
|
+
},
|
88
|
+
{
|
89
|
+
"avg_amount": "100.00",
|
90
|
+
"unit": "GB",
|
91
|
+
"start_date": "2015-03-16T08:36:39+00:00",
|
92
|
+
"end_date": "2015-03-21T19:59:01+00:00",
|
93
|
+
"usage": 4291
|
94
|
+
}
|
95
|
+
]
|
96
|
+
}
|
97
|
+
]
|
98
|
+
}
|
99
|
+
],
|
100
|
+
"IMAGES": [
|
101
|
+
{
|
102
|
+
"name": "My image",
|
103
|
+
"services": [
|
104
|
+
{
|
105
|
+
"type": "size",
|
106
|
+
"avg_amount": "40.00",
|
107
|
+
"unit": "GB",
|
108
|
+
"usage": 49619,
|
109
|
+
"detail": [
|
110
|
+
{
|
111
|
+
"avg_amount": "40.00",
|
112
|
+
"unit": "GB",
|
113
|
+
"start_date": "2015-03-16T08:36:39+00:00",
|
114
|
+
"end_date": "2015-03-21T19:59:01+00:00",
|
115
|
+
"usage": 49619
|
116
|
+
}
|
117
|
+
]
|
118
|
+
}
|
119
|
+
]
|
120
|
+
}
|
121
|
+
],
|
122
|
+
"PUBLIC_IPS": [
|
123
|
+
{
|
124
|
+
"name": "82.223.25.60",
|
125
|
+
"services": [
|
126
|
+
{
|
127
|
+
"type": "UNUSED_IP",
|
128
|
+
"avg_amount": "1.00",
|
129
|
+
"unit": "IP",
|
130
|
+
"usage": 45899,
|
131
|
+
"detail": [
|
132
|
+
{
|
133
|
+
"avg_amount": "1.00",
|
134
|
+
"unit": "IP",
|
135
|
+
"start_date": "2015-03-16T08:36:39+00:00",
|
136
|
+
"end_date": "2015-03-21T19:59:01+00:00",
|
137
|
+
"usage": 45899
|
138
|
+
}
|
139
|
+
]
|
140
|
+
}
|
141
|
+
]
|
142
|
+
}
|
143
|
+
]
|
144
|
+
}
|
@@ -0,0 +1,31 @@
|
|
1
|
+
[
|
2
|
+
{
|
3
|
+
"id": "7C88E50FBC500A3D9D7F94E414255D6B",
|
4
|
+
"name": "034b011e.user",
|
5
|
+
"description": null,
|
6
|
+
"email": "user@arsys.es",
|
7
|
+
"state": "ACTIVE",
|
8
|
+
"creation_date": "2015-04-06T23:48:38Z",
|
9
|
+
"api": {
|
10
|
+
"active": true,
|
11
|
+
"key": "f03c5c76aa853ff710b879909d0d7e3b",
|
12
|
+
"allowed_ips": [
|
13
|
+
"214.4.143.138"
|
14
|
+
]
|
15
|
+
}
|
16
|
+
},
|
17
|
+
{
|
18
|
+
"id": "7C88E50FBC500A3D9D7F94E414255D6C",
|
19
|
+
"name": "034b011e.username",
|
20
|
+
"description": "User description",
|
21
|
+
"email": "useremail@arsys.es",
|
22
|
+
"state": "ACTIVE",
|
23
|
+
"creation_date": "2015-04-06T23:48:38Z",
|
24
|
+
"api": {
|
25
|
+
"active": false,
|
26
|
+
"key": null,
|
27
|
+
"allowed_ips": [
|
28
|
+
]
|
29
|
+
}
|
30
|
+
}
|
31
|
+
]
|
@@ -0,0 +1,63 @@
|
|
1
|
+
{
|
2
|
+
"id": "92AA60BEC8333A21EDB9EAAA61852860",
|
3
|
+
"cloudpanel_id": "5061DE9",
|
4
|
+
"name": "My server",
|
5
|
+
"description": null,
|
6
|
+
"creation_date": "2015-05-06T11:09:55+00:00",
|
7
|
+
"first_password": null,
|
8
|
+
"status": {
|
9
|
+
"state": "CONFIGURING",
|
10
|
+
"percent": 50
|
11
|
+
},
|
12
|
+
"hardware": {
|
13
|
+
"fixed_instance_size_id": 0,
|
14
|
+
"vcore": 1,
|
15
|
+
"cores_per_processor": 1,
|
16
|
+
"ram": 1,
|
17
|
+
"hdds": [
|
18
|
+
{
|
19
|
+
"id": "77F5BC74C9B3532A37D31FEED070BE01",
|
20
|
+
"size": 40,
|
21
|
+
"is_main": true
|
22
|
+
}
|
23
|
+
]
|
24
|
+
},
|
25
|
+
"image": {
|
26
|
+
"id": "07C170D67C8EC776933FCFF1C299C1C5",
|
27
|
+
"name": "w2012r2datacenter64min"
|
28
|
+
},
|
29
|
+
"dvd": null,
|
30
|
+
"snapshot": null,
|
31
|
+
"ips": [
|
32
|
+
{
|
33
|
+
"id": "696469547988D3945B3FE59DFCB93C90",
|
34
|
+
"ip": "10.4.141.161",
|
35
|
+
"type": "IPV4",
|
36
|
+
"reverse_dns": null,
|
37
|
+
"firewall_policy": {
|
38
|
+
"id": "5DE607955050915229D602931F942F32",
|
39
|
+
"name": "Linux"
|
40
|
+
},
|
41
|
+
"load_balancers": []
|
42
|
+
}
|
43
|
+
],
|
44
|
+
"alerts": {
|
45
|
+
"critical": [
|
46
|
+
{
|
47
|
+
"type": "agent",
|
48
|
+
"description": "MONITORING_AGENT_NOT_INSTALLED",
|
49
|
+
"date": "2015-05-07 10:29:06"
|
50
|
+
},
|
51
|
+
{
|
52
|
+
"type": "internal_ping",
|
53
|
+
"description": "CRITICAL - 10.4.141.161: rta nan, lost 100%",
|
54
|
+
"date": "2015-05-07 09:59:21"
|
55
|
+
}
|
56
|
+
]
|
57
|
+
},
|
58
|
+
"monitoring_policy": {
|
59
|
+
"id": "5DF232A92E9635249B8A4EB31C5B14F4",
|
60
|
+
"name": "My Monitoring Policy 1"
|
61
|
+
},
|
62
|
+
"private_networks": null
|
63
|
+
}
|