fog 2.1.0 → 2.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (591) hide show
  1. checksums.yaml +4 -4
  2. data/.github/dependabot.yml +10 -0
  3. data/.github/workflows/codeql.yml +67 -0
  4. data/.github/workflows/depsreview.yml +14 -0
  5. data/.github/workflows/ruby.yml +23 -0
  6. data/.github/workflows/stale.yml +14 -0
  7. data/CHANGELOG.md +97 -0
  8. data/README.md +1 -1
  9. data/Rakefile +0 -9
  10. data/fog.gemspec +12 -13
  11. data/lib/fog/bin.rb +2 -4
  12. data/lib/fog/version.rb +1 -1
  13. data/lib/fog.rb +1 -2
  14. data/lib/tasks/changelog_task.rb +2 -0
  15. data/spec/fog/bin/aws_spec.rb +6 -0
  16. data/spec/fog/bin_spec.rb +0 -3
  17. data/tests/helpers/mock_helper.rb +2 -2
  18. metadata +50 -607
  19. data/.github/stale.yml +0 -17
  20. data/lib/fog/cloudstack/compute.rb +0 -996
  21. data/lib/fog/cloudstack/core.rb +0 -41
  22. data/lib/fog/cloudstack/models/compute/address.rb +0 -17
  23. data/lib/fog/cloudstack/models/compute/disk_offering.rb +0 -44
  24. data/lib/fog/cloudstack/models/compute/disk_offerings.rb +0 -24
  25. data/lib/fog/cloudstack/models/compute/egress_firewall_rule.rb +0 -38
  26. data/lib/fog/cloudstack/models/compute/egress_firewall_rules.rb +0 -25
  27. data/lib/fog/cloudstack/models/compute/firewall_rule.rb +0 -24
  28. data/lib/fog/cloudstack/models/compute/firewall_rules.rb +0 -25
  29. data/lib/fog/cloudstack/models/compute/flavor.rb +0 -36
  30. data/lib/fog/cloudstack/models/compute/flavors.rb +0 -25
  31. data/lib/fog/cloudstack/models/compute/image.rb +0 -72
  32. data/lib/fog/cloudstack/models/compute/images.rb +0 -37
  33. data/lib/fog/cloudstack/models/compute/job.rb +0 -51
  34. data/lib/fog/cloudstack/models/compute/jobs.rb +0 -25
  35. data/lib/fog/cloudstack/models/compute/network.rb +0 -73
  36. data/lib/fog/cloudstack/models/compute/network_offering.rb +0 -25
  37. data/lib/fog/cloudstack/models/compute/network_offerings.rb +0 -39
  38. data/lib/fog/cloudstack/models/compute/networks.rb +0 -38
  39. data/lib/fog/cloudstack/models/compute/port_forwarding_rule.rb +0 -25
  40. data/lib/fog/cloudstack/models/compute/port_forwarding_rules.rb +0 -25
  41. data/lib/fog/cloudstack/models/compute/project.rb +0 -58
  42. data/lib/fog/cloudstack/models/compute/projects.rb +0 -39
  43. data/lib/fog/cloudstack/models/compute/public_ip_address.rb +0 -96
  44. data/lib/fog/cloudstack/models/compute/public_ip_addresses.rb +0 -27
  45. data/lib/fog/cloudstack/models/compute/security_group.rb +0 -50
  46. data/lib/fog/cloudstack/models/compute/security_group_rule.rb +0 -60
  47. data/lib/fog/cloudstack/models/compute/security_group_rules.rb +0 -35
  48. data/lib/fog/cloudstack/models/compute/security_groups.rb +0 -25
  49. data/lib/fog/cloudstack/models/compute/server.rb +0 -162
  50. data/lib/fog/cloudstack/models/compute/servers.rb +0 -39
  51. data/lib/fog/cloudstack/models/compute/snapshot.rb +0 -46
  52. data/lib/fog/cloudstack/models/compute/snapshots.rb +0 -23
  53. data/lib/fog/cloudstack/models/compute/volume.rb +0 -121
  54. data/lib/fog/cloudstack/models/compute/volumes.rb +0 -26
  55. data/lib/fog/cloudstack/models/compute/zone.rb +0 -38
  56. data/lib/fog/cloudstack/models/compute/zones.rb +0 -29
  57. data/lib/fog/cloudstack/requests/compute/acquire_ip_address.rb +0 -18
  58. data/lib/fog/cloudstack/requests/compute/activate_project.rb +0 -25
  59. data/lib/fog/cloudstack/requests/compute/add_account_to_project.rb +0 -25
  60. data/lib/fog/cloudstack/requests/compute/add_baremetal_dhcp.rb +0 -29
  61. data/lib/fog/cloudstack/requests/compute/add_baremetal_host.rb +0 -30
  62. data/lib/fog/cloudstack/requests/compute/add_baremetal_pxe_kick_start_server.rb +0 -30
  63. data/lib/fog/cloudstack/requests/compute/add_baremetal_pxe_ping_server.rb +0 -32
  64. data/lib/fog/cloudstack/requests/compute/add_big_switch_vns_device.rb +0 -26
  65. data/lib/fog/cloudstack/requests/compute/add_cisco_asa1000v_resource.rb +0 -28
  66. data/lib/fog/cloudstack/requests/compute/add_cisco_vnmc_resource.rb +0 -28
  67. data/lib/fog/cloudstack/requests/compute/add_cluster.rb +0 -29
  68. data/lib/fog/cloudstack/requests/compute/add_external_firewall.rb +0 -28
  69. data/lib/fog/cloudstack/requests/compute/add_external_load_balancer.rb +0 -28
  70. data/lib/fog/cloudstack/requests/compute/add_f5_load_balancer.rb +0 -29
  71. data/lib/fog/cloudstack/requests/compute/add_guest_os.rb +0 -26
  72. data/lib/fog/cloudstack/requests/compute/add_guest_os_mapping.rb +0 -27
  73. data/lib/fog/cloudstack/requests/compute/add_host.rb +0 -30
  74. data/lib/fog/cloudstack/requests/compute/add_image_store.rb +0 -25
  75. data/lib/fog/cloudstack/requests/compute/add_ip_to_nic.rb +0 -25
  76. data/lib/fog/cloudstack/requests/compute/add_ldap_configuration.rb +0 -26
  77. data/lib/fog/cloudstack/requests/compute/add_netscaler_load_balancer.rb +0 -29
  78. data/lib/fog/cloudstack/requests/compute/add_network_device.rb +0 -24
  79. data/lib/fog/cloudstack/requests/compute/add_network_service_provider.rb +0 -26
  80. data/lib/fog/cloudstack/requests/compute/add_nic_to_virtual_machine.rb +0 -26
  81. data/lib/fog/cloudstack/requests/compute/add_nicira_nvp_device.rb +0 -29
  82. data/lib/fog/cloudstack/requests/compute/add_open_daylight_controller.rb +0 -28
  83. data/lib/fog/cloudstack/requests/compute/add_palo_alto_firewall.rb +0 -29
  84. data/lib/fog/cloudstack/requests/compute/add_region.rb +0 -27
  85. data/lib/fog/cloudstack/requests/compute/add_resource_detail.rb +0 -27
  86. data/lib/fog/cloudstack/requests/compute/add_s3.rb +0 -27
  87. data/lib/fog/cloudstack/requests/compute/add_secondary_storage.rb +0 -25
  88. data/lib/fog/cloudstack/requests/compute/add_srx_firewall.rb +0 -29
  89. data/lib/fog/cloudstack/requests/compute/add_stratosphere_ssp.rb +0 -27
  90. data/lib/fog/cloudstack/requests/compute/add_swift.rb +0 -25
  91. data/lib/fog/cloudstack/requests/compute/add_traffic_monitor.rb +0 -26
  92. data/lib/fog/cloudstack/requests/compute/add_traffic_type.rb +0 -26
  93. data/lib/fog/cloudstack/requests/compute/add_ucs_manager.rb +0 -28
  94. data/lib/fog/cloudstack/requests/compute/add_vmware_dc.rb +0 -27
  95. data/lib/fog/cloudstack/requests/compute/add_vpn_user.rb +0 -26
  96. data/lib/fog/cloudstack/requests/compute/archive_alerts.rb +0 -24
  97. data/lib/fog/cloudstack/requests/compute/archive_events.rb +0 -24
  98. data/lib/fog/cloudstack/requests/compute/assign_cert_to_load_balancer.rb +0 -26
  99. data/lib/fog/cloudstack/requests/compute/assign_to_global_load_balancer_rule.rb +0 -26
  100. data/lib/fog/cloudstack/requests/compute/assign_to_load_balancer_rule.rb +0 -25
  101. data/lib/fog/cloudstack/requests/compute/assign_virtual_machine.rb +0 -27
  102. data/lib/fog/cloudstack/requests/compute/associate_ip_address.rb +0 -55
  103. data/lib/fog/cloudstack/requests/compute/associate_lun.rb +0 -22
  104. data/lib/fog/cloudstack/requests/compute/associate_ucs_profile_to_blade.rb +0 -27
  105. data/lib/fog/cloudstack/requests/compute/attach_iso.rb +0 -26
  106. data/lib/fog/cloudstack/requests/compute/attach_volume.rb +0 -76
  107. data/lib/fog/cloudstack/requests/compute/authorize_security_group_egress.rb +0 -78
  108. data/lib/fog/cloudstack/requests/compute/authorize_security_group_ingress.rb +0 -78
  109. data/lib/fog/cloudstack/requests/compute/cancel_host_maintenance.rb +0 -25
  110. data/lib/fog/cloudstack/requests/compute/cancel_storage_maintenance.rb +0 -25
  111. data/lib/fog/cloudstack/requests/compute/change_service_for_router.rb +0 -26
  112. data/lib/fog/cloudstack/requests/compute/change_service_for_system_vm.rb +0 -26
  113. data/lib/fog/cloudstack/requests/compute/change_service_for_virtual_machine.rb +0 -26
  114. data/lib/fog/cloudstack/requests/compute/clean_vmreservations.rb +0 -24
  115. data/lib/fog/cloudstack/requests/compute/configure_f5_load_balancer.rb +0 -25
  116. data/lib/fog/cloudstack/requests/compute/configure_internal_load_balancer_element.rb +0 -26
  117. data/lib/fog/cloudstack/requests/compute/configure_netscaler_load_balancer.rb +0 -25
  118. data/lib/fog/cloudstack/requests/compute/configure_ovs_element.rb +0 -26
  119. data/lib/fog/cloudstack/requests/compute/configure_palo_alto_firewall.rb +0 -25
  120. data/lib/fog/cloudstack/requests/compute/configure_srx_firewall.rb +0 -25
  121. data/lib/fog/cloudstack/requests/compute/configure_virtual_router_element.rb +0 -26
  122. data/lib/fog/cloudstack/requests/compute/copy_iso.rb +0 -26
  123. data/lib/fog/cloudstack/requests/compute/copy_template.rb +0 -26
  124. data/lib/fog/cloudstack/requests/compute/create_account.rb +0 -30
  125. data/lib/fog/cloudstack/requests/compute/create_affinity_group.rb +0 -26
  126. data/lib/fog/cloudstack/requests/compute/create_auto_scale_policy.rb +0 -27
  127. data/lib/fog/cloudstack/requests/compute/create_auto_scale_vm_group.rb +0 -30
  128. data/lib/fog/cloudstack/requests/compute/create_auto_scale_vm_profile.rb +0 -27
  129. data/lib/fog/cloudstack/requests/compute/create_condition.rb +0 -27
  130. data/lib/fog/cloudstack/requests/compute/create_counter.rb +0 -27
  131. data/lib/fog/cloudstack/requests/compute/create_disk_offering.rb +0 -56
  132. data/lib/fog/cloudstack/requests/compute/create_domain.rb +0 -25
  133. data/lib/fog/cloudstack/requests/compute/create_egress_firewall_rule.rb +0 -44
  134. data/lib/fog/cloudstack/requests/compute/create_firewall_rule.rb +0 -48
  135. data/lib/fog/cloudstack/requests/compute/create_global_load_balancer_rule.rb +0 -28
  136. data/lib/fog/cloudstack/requests/compute/create_instance_group.rb +0 -25
  137. data/lib/fog/cloudstack/requests/compute/create_internal_load_balancer_element.rb +0 -25
  138. data/lib/fog/cloudstack/requests/compute/create_ip_forwarding_rule.rb +0 -27
  139. data/lib/fog/cloudstack/requests/compute/create_lb_health_check_policy.rb +0 -25
  140. data/lib/fog/cloudstack/requests/compute/create_lb_stickiness_policy.rb +0 -27
  141. data/lib/fog/cloudstack/requests/compute/create_load_balancer.rb +0 -31
  142. data/lib/fog/cloudstack/requests/compute/create_load_balancer_rule.rb +0 -28
  143. data/lib/fog/cloudstack/requests/compute/create_lun_on_filer.rb +0 -22
  144. data/lib/fog/cloudstack/requests/compute/create_network.rb +0 -30
  145. data/lib/fog/cloudstack/requests/compute/create_network_acl.rb +0 -25
  146. data/lib/fog/cloudstack/requests/compute/create_network_acl_list.rb +0 -26
  147. data/lib/fog/cloudstack/requests/compute/create_network_offering.rb +0 -55
  148. data/lib/fog/cloudstack/requests/compute/create_physical_network.rb +0 -26
  149. data/lib/fog/cloudstack/requests/compute/create_pod.rb +0 -29
  150. data/lib/fog/cloudstack/requests/compute/create_pool.rb +0 -22
  151. data/lib/fog/cloudstack/requests/compute/create_port_forwarding_rule.rb +0 -55
  152. data/lib/fog/cloudstack/requests/compute/create_portable_ip_range.rb +0 -29
  153. data/lib/fog/cloudstack/requests/compute/create_private_gateway.rb +0 -29
  154. data/lib/fog/cloudstack/requests/compute/create_project.rb +0 -26
  155. data/lib/fog/cloudstack/requests/compute/create_remote_access_vpn.rb +0 -25
  156. data/lib/fog/cloudstack/requests/compute/create_secondary_staging_store.rb +0 -25
  157. data/lib/fog/cloudstack/requests/compute/create_security_group.rb +0 -37
  158. data/lib/fog/cloudstack/requests/compute/create_service_instance.rb +0 -30
  159. data/lib/fog/cloudstack/requests/compute/create_service_offering.rb +0 -55
  160. data/lib/fog/cloudstack/requests/compute/create_snapshot.rb +0 -48
  161. data/lib/fog/cloudstack/requests/compute/create_snapshot_policy.rb +0 -29
  162. data/lib/fog/cloudstack/requests/compute/create_ssh_key_pair.rb +0 -27
  163. data/lib/fog/cloudstack/requests/compute/create_static_route.rb +0 -26
  164. data/lib/fog/cloudstack/requests/compute/create_storage_network_ip_range.rb +0 -28
  165. data/lib/fog/cloudstack/requests/compute/create_storage_pool.rb +0 -27
  166. data/lib/fog/cloudstack/requests/compute/create_tags.rb +0 -27
  167. data/lib/fog/cloudstack/requests/compute/create_template.rb +0 -27
  168. data/lib/fog/cloudstack/requests/compute/create_user.rb +0 -30
  169. data/lib/fog/cloudstack/requests/compute/create_virtual_router_element.rb +0 -25
  170. data/lib/fog/cloudstack/requests/compute/create_vlan_ip_range.rb +0 -24
  171. data/lib/fog/cloudstack/requests/compute/create_vm_snapshot.rb +0 -25
  172. data/lib/fog/cloudstack/requests/compute/create_volume.rb +0 -69
  173. data/lib/fog/cloudstack/requests/compute/create_volume_on_filer.rb +0 -27
  174. data/lib/fog/cloudstack/requests/compute/create_vpc.rb +0 -29
  175. data/lib/fog/cloudstack/requests/compute/create_vpcoffering.rb +0 -27
  176. data/lib/fog/cloudstack/requests/compute/create_vpn_connection.rb +0 -26
  177. data/lib/fog/cloudstack/requests/compute/create_vpn_customer_gateway.rb +0 -29
  178. data/lib/fog/cloudstack/requests/compute/create_vpn_gateway.rb +0 -25
  179. data/lib/fog/cloudstack/requests/compute/create_zone.rb +0 -28
  180. data/lib/fog/cloudstack/requests/compute/dedicate_cluster.rb +0 -26
  181. data/lib/fog/cloudstack/requests/compute/dedicate_guest_vlan_range.rb +0 -28
  182. data/lib/fog/cloudstack/requests/compute/dedicate_host.rb +0 -26
  183. data/lib/fog/cloudstack/requests/compute/dedicate_pod.rb +0 -26
  184. data/lib/fog/cloudstack/requests/compute/dedicate_public_ip_range.rb +0 -27
  185. data/lib/fog/cloudstack/requests/compute/dedicate_zone.rb +0 -26
  186. data/lib/fog/cloudstack/requests/compute/delete_account.rb +0 -25
  187. data/lib/fog/cloudstack/requests/compute/delete_account_from_project.rb +0 -26
  188. data/lib/fog/cloudstack/requests/compute/delete_affinity_group.rb +0 -24
  189. data/lib/fog/cloudstack/requests/compute/delete_alerts.rb +0 -24
  190. data/lib/fog/cloudstack/requests/compute/delete_auto_scale_policy.rb +0 -25
  191. data/lib/fog/cloudstack/requests/compute/delete_auto_scale_vm_group.rb +0 -25
  192. data/lib/fog/cloudstack/requests/compute/delete_auto_scale_vm_profile.rb +0 -25
  193. data/lib/fog/cloudstack/requests/compute/delete_big_switch_vns_device.rb +0 -25
  194. data/lib/fog/cloudstack/requests/compute/delete_cisco_asa1000v_resource.rb +0 -25
  195. data/lib/fog/cloudstack/requests/compute/delete_cisco_nexus_vsm.rb +0 -25
  196. data/lib/fog/cloudstack/requests/compute/delete_cisco_vnmc_resource.rb +0 -25
  197. data/lib/fog/cloudstack/requests/compute/delete_cluster.rb +0 -25
  198. data/lib/fog/cloudstack/requests/compute/delete_condition.rb +0 -25
  199. data/lib/fog/cloudstack/requests/compute/delete_counter.rb +0 -25
  200. data/lib/fog/cloudstack/requests/compute/delete_disk_offering.rb +0 -33
  201. data/lib/fog/cloudstack/requests/compute/delete_domain.rb +0 -25
  202. data/lib/fog/cloudstack/requests/compute/delete_egress_firewall_rule.rb +0 -34
  203. data/lib/fog/cloudstack/requests/compute/delete_events.rb +0 -24
  204. data/lib/fog/cloudstack/requests/compute/delete_external_firewall.rb +0 -25
  205. data/lib/fog/cloudstack/requests/compute/delete_external_load_balancer.rb +0 -25
  206. data/lib/fog/cloudstack/requests/compute/delete_f5_load_balancer.rb +0 -25
  207. data/lib/fog/cloudstack/requests/compute/delete_firewall_rule.rb +0 -34
  208. data/lib/fog/cloudstack/requests/compute/delete_global_load_balancer_rule.rb +0 -25
  209. data/lib/fog/cloudstack/requests/compute/delete_host.rb +0 -25
  210. data/lib/fog/cloudstack/requests/compute/delete_image_store.rb +0 -25
  211. data/lib/fog/cloudstack/requests/compute/delete_instance_group.rb +0 -25
  212. data/lib/fog/cloudstack/requests/compute/delete_ip_forwarding_rule.rb +0 -25
  213. data/lib/fog/cloudstack/requests/compute/delete_iso.rb +0 -25
  214. data/lib/fog/cloudstack/requests/compute/delete_lb_health_check_policy.rb +0 -25
  215. data/lib/fog/cloudstack/requests/compute/delete_lb_stickiness_policy.rb +0 -25
  216. data/lib/fog/cloudstack/requests/compute/delete_ldap_configuration.rb +0 -25
  217. data/lib/fog/cloudstack/requests/compute/delete_load_balancer.rb +0 -25
  218. data/lib/fog/cloudstack/requests/compute/delete_load_balancer_rule.rb +0 -25
  219. data/lib/fog/cloudstack/requests/compute/delete_netscaler_load_balancer.rb +0 -25
  220. data/lib/fog/cloudstack/requests/compute/delete_network.rb +0 -25
  221. data/lib/fog/cloudstack/requests/compute/delete_network_acl.rb +0 -25
  222. data/lib/fog/cloudstack/requests/compute/delete_network_acl_list.rb +0 -25
  223. data/lib/fog/cloudstack/requests/compute/delete_network_device.rb +0 -25
  224. data/lib/fog/cloudstack/requests/compute/delete_network_offering.rb +0 -34
  225. data/lib/fog/cloudstack/requests/compute/delete_network_service_provider.rb +0 -25
  226. data/lib/fog/cloudstack/requests/compute/delete_nicira_nvp_device.rb +0 -25
  227. data/lib/fog/cloudstack/requests/compute/delete_open_daylight_controller.rb +0 -25
  228. data/lib/fog/cloudstack/requests/compute/delete_palo_alto_firewall.rb +0 -25
  229. data/lib/fog/cloudstack/requests/compute/delete_physical_network.rb +0 -25
  230. data/lib/fog/cloudstack/requests/compute/delete_pod.rb +0 -25
  231. data/lib/fog/cloudstack/requests/compute/delete_pool.rb +0 -21
  232. data/lib/fog/cloudstack/requests/compute/delete_port_forwarding_rule.rb +0 -25
  233. data/lib/fog/cloudstack/requests/compute/delete_portable_ip_range.rb +0 -25
  234. data/lib/fog/cloudstack/requests/compute/delete_private_gateway.rb +0 -25
  235. data/lib/fog/cloudstack/requests/compute/delete_project.rb +0 -25
  236. data/lib/fog/cloudstack/requests/compute/delete_project_invitation.rb +0 -25
  237. data/lib/fog/cloudstack/requests/compute/delete_remote_access_vpn.rb +0 -25
  238. data/lib/fog/cloudstack/requests/compute/delete_secondary_staging_store.rb +0 -25
  239. data/lib/fog/cloudstack/requests/compute/delete_security_group.rb +0 -39
  240. data/lib/fog/cloudstack/requests/compute/delete_service_offering.rb +0 -34
  241. data/lib/fog/cloudstack/requests/compute/delete_snapshot.rb +0 -61
  242. data/lib/fog/cloudstack/requests/compute/delete_snapshot_policies.rb +0 -24
  243. data/lib/fog/cloudstack/requests/compute/delete_srx_firewall.rb +0 -25
  244. data/lib/fog/cloudstack/requests/compute/delete_ssh_key_pair.rb +0 -27
  245. data/lib/fog/cloudstack/requests/compute/delete_ssl_cert.rb +0 -25
  246. data/lib/fog/cloudstack/requests/compute/delete_static_route.rb +0 -25
  247. data/lib/fog/cloudstack/requests/compute/delete_storage_network_ip_range.rb +0 -25
  248. data/lib/fog/cloudstack/requests/compute/delete_storage_pool.rb +0 -25
  249. data/lib/fog/cloudstack/requests/compute/delete_tags.rb +0 -26
  250. data/lib/fog/cloudstack/requests/compute/delete_template.rb +0 -25
  251. data/lib/fog/cloudstack/requests/compute/delete_traffic_monitor.rb +0 -25
  252. data/lib/fog/cloudstack/requests/compute/delete_traffic_type.rb +0 -25
  253. data/lib/fog/cloudstack/requests/compute/delete_ucs_manager.rb +0 -21
  254. data/lib/fog/cloudstack/requests/compute/delete_user.rb +0 -25
  255. data/lib/fog/cloudstack/requests/compute/delete_vlan_ip_range.rb +0 -25
  256. data/lib/fog/cloudstack/requests/compute/delete_vm_snapshot.rb +0 -25
  257. data/lib/fog/cloudstack/requests/compute/delete_volume.rb +0 -45
  258. data/lib/fog/cloudstack/requests/compute/delete_vpc.rb +0 -25
  259. data/lib/fog/cloudstack/requests/compute/delete_vpcoffering.rb +0 -25
  260. data/lib/fog/cloudstack/requests/compute/delete_vpn_connection.rb +0 -25
  261. data/lib/fog/cloudstack/requests/compute/delete_vpn_customer_gateway.rb +0 -25
  262. data/lib/fog/cloudstack/requests/compute/delete_vpn_gateway.rb +0 -25
  263. data/lib/fog/cloudstack/requests/compute/delete_zone.rb +0 -25
  264. data/lib/fog/cloudstack/requests/compute/deploy_virtual_machine.rb +0 -125
  265. data/lib/fog/cloudstack/requests/compute/destroy_lun_on_filer.rb +0 -21
  266. data/lib/fog/cloudstack/requests/compute/destroy_router.rb +0 -25
  267. data/lib/fog/cloudstack/requests/compute/destroy_system_vm.rb +0 -25
  268. data/lib/fog/cloudstack/requests/compute/destroy_virtual_machine.rb +0 -54
  269. data/lib/fog/cloudstack/requests/compute/destroy_volume_on_filer.rb +0 -23
  270. data/lib/fog/cloudstack/requests/compute/detach_iso.rb +0 -25
  271. data/lib/fog/cloudstack/requests/compute/detach_volume.rb +0 -64
  272. data/lib/fog/cloudstack/requests/compute/disable_account.rb +0 -25
  273. data/lib/fog/cloudstack/requests/compute/disable_auto_scale_vm_group.rb +0 -25
  274. data/lib/fog/cloudstack/requests/compute/disable_cisco_nexus_vsm.rb +0 -25
  275. data/lib/fog/cloudstack/requests/compute/disable_static_nat.rb +0 -51
  276. data/lib/fog/cloudstack/requests/compute/disable_user.rb +0 -25
  277. data/lib/fog/cloudstack/requests/compute/disassociate_ip_address.rb +0 -35
  278. data/lib/fog/cloudstack/requests/compute/disassociate_ucs_profile_from_blade.rb +0 -21
  279. data/lib/fog/cloudstack/requests/compute/dissociate_lun.rb +0 -22
  280. data/lib/fog/cloudstack/requests/compute/enable_account.rb +0 -24
  281. data/lib/fog/cloudstack/requests/compute/enable_auto_scale_vm_group.rb +0 -25
  282. data/lib/fog/cloudstack/requests/compute/enable_cisco_nexus_vsm.rb +0 -25
  283. data/lib/fog/cloudstack/requests/compute/enable_static_nat.rb +0 -69
  284. data/lib/fog/cloudstack/requests/compute/enable_storage_maintenance.rb +0 -25
  285. data/lib/fog/cloudstack/requests/compute/enable_user.rb +0 -25
  286. data/lib/fog/cloudstack/requests/compute/expunge_virtual_machine.rb +0 -25
  287. data/lib/fog/cloudstack/requests/compute/extract_iso.rb +0 -26
  288. data/lib/fog/cloudstack/requests/compute/extract_template.rb +0 -65
  289. data/lib/fog/cloudstack/requests/compute/extract_volume.rb +0 -27
  290. data/lib/fog/cloudstack/requests/compute/find_hosts_for_migration.rb +0 -25
  291. data/lib/fog/cloudstack/requests/compute/find_storage_pools_for_migration.rb +0 -25
  292. data/lib/fog/cloudstack/requests/compute/generate_alert.rb +0 -27
  293. data/lib/fog/cloudstack/requests/compute/generate_usage_records.rb +0 -26
  294. data/lib/fog/cloudstack/requests/compute/get_api_limit.rb +0 -24
  295. data/lib/fog/cloudstack/requests/compute/get_cloud_identifier.rb +0 -25
  296. data/lib/fog/cloudstack/requests/compute/get_user.rb +0 -25
  297. data/lib/fog/cloudstack/requests/compute/get_virtual_machine_user_data.rb +0 -25
  298. data/lib/fog/cloudstack/requests/compute/get_vm_password.rb +0 -25
  299. data/lib/fog/cloudstack/requests/compute/import_ldap_users.rb +0 -25
  300. data/lib/fog/cloudstack/requests/compute/instantiate_ucs_template_and_assocaciate_to_blade.rb +0 -23
  301. data/lib/fog/cloudstack/requests/compute/ldap_config.rb +0 -20
  302. data/lib/fog/cloudstack/requests/compute/ldap_create_account.rb +0 -26
  303. data/lib/fog/cloudstack/requests/compute/ldap_remove.rb +0 -20
  304. data/lib/fog/cloudstack/requests/compute/list_accounts.rb +0 -24
  305. data/lib/fog/cloudstack/requests/compute/list_affinity_group_types.rb +0 -24
  306. data/lib/fog/cloudstack/requests/compute/list_affinity_groups.rb +0 -24
  307. data/lib/fog/cloudstack/requests/compute/list_alerts.rb +0 -24
  308. data/lib/fog/cloudstack/requests/compute/list_apis.rb +0 -24
  309. data/lib/fog/cloudstack/requests/compute/list_async_jobs.rb +0 -36
  310. data/lib/fog/cloudstack/requests/compute/list_auto_scale_policies.rb +0 -24
  311. data/lib/fog/cloudstack/requests/compute/list_auto_scale_vm_groups.rb +0 -24
  312. data/lib/fog/cloudstack/requests/compute/list_auto_scale_vm_profiles.rb +0 -24
  313. data/lib/fog/cloudstack/requests/compute/list_baremetal_dhcp.rb +0 -24
  314. data/lib/fog/cloudstack/requests/compute/list_baremetal_pxe_servers.rb +0 -24
  315. data/lib/fog/cloudstack/requests/compute/list_big_switch_vns_devices.rb +0 -24
  316. data/lib/fog/cloudstack/requests/compute/list_capabilities.rb +0 -24
  317. data/lib/fog/cloudstack/requests/compute/list_capacity.rb +0 -24
  318. data/lib/fog/cloudstack/requests/compute/list_cisco_asa1000v_resources.rb +0 -24
  319. data/lib/fog/cloudstack/requests/compute/list_cisco_nexus_vsms.rb +0 -24
  320. data/lib/fog/cloudstack/requests/compute/list_cisco_vnmc_resources.rb +0 -24
  321. data/lib/fog/cloudstack/requests/compute/list_clusters.rb +0 -24
  322. data/lib/fog/cloudstack/requests/compute/list_conditions.rb +0 -24
  323. data/lib/fog/cloudstack/requests/compute/list_configurations.rb +0 -24
  324. data/lib/fog/cloudstack/requests/compute/list_counters.rb +0 -24
  325. data/lib/fog/cloudstack/requests/compute/list_dedicated_clusters.rb +0 -24
  326. data/lib/fog/cloudstack/requests/compute/list_dedicated_guest_vlan_ranges.rb +0 -24
  327. data/lib/fog/cloudstack/requests/compute/list_dedicated_hosts.rb +0 -24
  328. data/lib/fog/cloudstack/requests/compute/list_dedicated_pods.rb +0 -24
  329. data/lib/fog/cloudstack/requests/compute/list_dedicated_zones.rb +0 -24
  330. data/lib/fog/cloudstack/requests/compute/list_deployment_planners.rb +0 -24
  331. data/lib/fog/cloudstack/requests/compute/list_disk_offerings.rb +0 -32
  332. data/lib/fog/cloudstack/requests/compute/list_domain_children.rb +0 -24
  333. data/lib/fog/cloudstack/requests/compute/list_domains.rb +0 -24
  334. data/lib/fog/cloudstack/requests/compute/list_egress_firewall_rules.rb +0 -35
  335. data/lib/fog/cloudstack/requests/compute/list_event_types.rb +0 -24
  336. data/lib/fog/cloudstack/requests/compute/list_events.rb +0 -24
  337. data/lib/fog/cloudstack/requests/compute/list_external_firewalls.rb +0 -25
  338. data/lib/fog/cloudstack/requests/compute/list_external_load_balancers.rb +0 -24
  339. data/lib/fog/cloudstack/requests/compute/list_f5_load_balancer_networks.rb +0 -25
  340. data/lib/fog/cloudstack/requests/compute/list_f5_load_balancers.rb +0 -24
  341. data/lib/fog/cloudstack/requests/compute/list_firewall_rules.rb +0 -35
  342. data/lib/fog/cloudstack/requests/compute/list_global_load_balancer_rules.rb +0 -24
  343. data/lib/fog/cloudstack/requests/compute/list_guest_os_mapping.rb +0 -24
  344. data/lib/fog/cloudstack/requests/compute/list_hosts.rb +0 -24
  345. data/lib/fog/cloudstack/requests/compute/list_hypervisor_capabilities.rb +0 -24
  346. data/lib/fog/cloudstack/requests/compute/list_hypervisors.rb +0 -24
  347. data/lib/fog/cloudstack/requests/compute/list_image_stores.rb +0 -24
  348. data/lib/fog/cloudstack/requests/compute/list_instance_groups.rb +0 -24
  349. data/lib/fog/cloudstack/requests/compute/list_internal_load_balancer_elements.rb +0 -24
  350. data/lib/fog/cloudstack/requests/compute/list_internal_load_balancer_vms.rb +0 -24
  351. data/lib/fog/cloudstack/requests/compute/list_ip_forwarding_rules.rb +0 -24
  352. data/lib/fog/cloudstack/requests/compute/list_iso_permissions.rb +0 -25
  353. data/lib/fog/cloudstack/requests/compute/list_isos.rb +0 -24
  354. data/lib/fog/cloudstack/requests/compute/list_lb_health_check_policies.rb +0 -24
  355. data/lib/fog/cloudstack/requests/compute/list_lb_stickiness_policies.rb +0 -24
  356. data/lib/fog/cloudstack/requests/compute/list_ldap_configurations.rb +0 -24
  357. data/lib/fog/cloudstack/requests/compute/list_ldap_users.rb +0 -24
  358. data/lib/fog/cloudstack/requests/compute/list_load_balancer_rule_instances.rb +0 -25
  359. data/lib/fog/cloudstack/requests/compute/list_load_balancer_rules.rb +0 -24
  360. data/lib/fog/cloudstack/requests/compute/list_load_balancers.rb +0 -24
  361. data/lib/fog/cloudstack/requests/compute/list_luns_on_filer.rb +0 -21
  362. data/lib/fog/cloudstack/requests/compute/list_netscaler_load_balancer_networks.rb +0 -25
  363. data/lib/fog/cloudstack/requests/compute/list_netscaler_load_balancers.rb +0 -24
  364. data/lib/fog/cloudstack/requests/compute/list_network_acl_lists.rb +0 -24
  365. data/lib/fog/cloudstack/requests/compute/list_network_acls.rb +0 -24
  366. data/lib/fog/cloudstack/requests/compute/list_network_device.rb +0 -24
  367. data/lib/fog/cloudstack/requests/compute/list_network_isolation_methods.rb +0 -24
  368. data/lib/fog/cloudstack/requests/compute/list_network_offerings.rb +0 -31
  369. data/lib/fog/cloudstack/requests/compute/list_network_service_providers.rb +0 -24
  370. data/lib/fog/cloudstack/requests/compute/list_networks.rb +0 -28
  371. data/lib/fog/cloudstack/requests/compute/list_nicira_nvp_device_networks.rb +0 -25
  372. data/lib/fog/cloudstack/requests/compute/list_nicira_nvp_devices.rb +0 -24
  373. data/lib/fog/cloudstack/requests/compute/list_nics.rb +0 -25
  374. data/lib/fog/cloudstack/requests/compute/list_open_daylight_controllers.rb +0 -24
  375. data/lib/fog/cloudstack/requests/compute/list_os_categories.rb +0 -24
  376. data/lib/fog/cloudstack/requests/compute/list_os_types.rb +0 -32
  377. data/lib/fog/cloudstack/requests/compute/list_ovs_elements.rb +0 -24
  378. data/lib/fog/cloudstack/requests/compute/list_palo_alto_firewall_networks.rb +0 -25
  379. data/lib/fog/cloudstack/requests/compute/list_palo_alto_firewalls.rb +0 -24
  380. data/lib/fog/cloudstack/requests/compute/list_physical_networks.rb +0 -24
  381. data/lib/fog/cloudstack/requests/compute/list_pods.rb +0 -24
  382. data/lib/fog/cloudstack/requests/compute/list_pools.rb +0 -20
  383. data/lib/fog/cloudstack/requests/compute/list_port_forwarding_rules.rb +0 -40
  384. data/lib/fog/cloudstack/requests/compute/list_portable_ip_ranges.rb +0 -24
  385. data/lib/fog/cloudstack/requests/compute/list_private_gateways.rb +0 -24
  386. data/lib/fog/cloudstack/requests/compute/list_project_accounts.rb +0 -25
  387. data/lib/fog/cloudstack/requests/compute/list_project_invitations.rb +0 -24
  388. data/lib/fog/cloudstack/requests/compute/list_projects.rb +0 -24
  389. data/lib/fog/cloudstack/requests/compute/list_public_ip_addresses.rb +0 -45
  390. data/lib/fog/cloudstack/requests/compute/list_regions.rb +0 -24
  391. data/lib/fog/cloudstack/requests/compute/list_remote_access_vpns.rb +0 -24
  392. data/lib/fog/cloudstack/requests/compute/list_resource_details.rb +0 -25
  393. data/lib/fog/cloudstack/requests/compute/list_resource_limits.rb +0 -24
  394. data/lib/fog/cloudstack/requests/compute/list_routers.rb +0 -24
  395. data/lib/fog/cloudstack/requests/compute/list_s3s.rb +0 -24
  396. data/lib/fog/cloudstack/requests/compute/list_secondary_staging_stores.rb +0 -24
  397. data/lib/fog/cloudstack/requests/compute/list_security_groups.rb +0 -44
  398. data/lib/fog/cloudstack/requests/compute/list_service_offerings.rb +0 -44
  399. data/lib/fog/cloudstack/requests/compute/list_snapshot_policies.rb +0 -25
  400. data/lib/fog/cloudstack/requests/compute/list_snapshots.rb +0 -43
  401. data/lib/fog/cloudstack/requests/compute/list_srx_firewall_networks.rb +0 -25
  402. data/lib/fog/cloudstack/requests/compute/list_srx_firewalls.rb +0 -24
  403. data/lib/fog/cloudstack/requests/compute/list_ssh_key_pairs.rb +0 -26
  404. data/lib/fog/cloudstack/requests/compute/list_ssl_certs.rb +0 -24
  405. data/lib/fog/cloudstack/requests/compute/list_static_routes.rb +0 -24
  406. data/lib/fog/cloudstack/requests/compute/list_storage_network_ip_range.rb +0 -24
  407. data/lib/fog/cloudstack/requests/compute/list_storage_pools.rb +0 -24
  408. data/lib/fog/cloudstack/requests/compute/list_storage_providers.rb +0 -25
  409. data/lib/fog/cloudstack/requests/compute/list_supported_network_services.rb +0 -24
  410. data/lib/fog/cloudstack/requests/compute/list_swifts.rb +0 -24
  411. data/lib/fog/cloudstack/requests/compute/list_system_vms.rb +0 -24
  412. data/lib/fog/cloudstack/requests/compute/list_tags.rb +0 -24
  413. data/lib/fog/cloudstack/requests/compute/list_template_permissions.rb +0 -25
  414. data/lib/fog/cloudstack/requests/compute/list_templates.rb +0 -42
  415. data/lib/fog/cloudstack/requests/compute/list_traffic_monitors.rb +0 -25
  416. data/lib/fog/cloudstack/requests/compute/list_traffic_type_implementors.rb +0 -24
  417. data/lib/fog/cloudstack/requests/compute/list_traffic_types.rb +0 -25
  418. data/lib/fog/cloudstack/requests/compute/list_ucs_blades.rb +0 -25
  419. data/lib/fog/cloudstack/requests/compute/list_ucs_managers.rb +0 -24
  420. data/lib/fog/cloudstack/requests/compute/list_ucs_profiles.rb +0 -25
  421. data/lib/fog/cloudstack/requests/compute/list_ucs_templates.rb +0 -21
  422. data/lib/fog/cloudstack/requests/compute/list_usage_records.rb +0 -26
  423. data/lib/fog/cloudstack/requests/compute/list_usage_types.rb +0 -24
  424. data/lib/fog/cloudstack/requests/compute/list_users.rb +0 -24
  425. data/lib/fog/cloudstack/requests/compute/list_virtual_machines.rb +0 -32
  426. data/lib/fog/cloudstack/requests/compute/list_virtual_router_elements.rb +0 -24
  427. data/lib/fog/cloudstack/requests/compute/list_vlan_ip_ranges.rb +0 -24
  428. data/lib/fog/cloudstack/requests/compute/list_vm_snapshot.rb +0 -26
  429. data/lib/fog/cloudstack/requests/compute/list_vmware_dcs.rb +0 -25
  430. data/lib/fog/cloudstack/requests/compute/list_volumes.rb +0 -43
  431. data/lib/fog/cloudstack/requests/compute/list_volumes_on_filer.rb +0 -21
  432. data/lib/fog/cloudstack/requests/compute/list_vpc_offerings.rb +0 -24
  433. data/lib/fog/cloudstack/requests/compute/list_vpcs.rb +0 -24
  434. data/lib/fog/cloudstack/requests/compute/list_vpn_connections.rb +0 -24
  435. data/lib/fog/cloudstack/requests/compute/list_vpn_customer_gateways.rb +0 -24
  436. data/lib/fog/cloudstack/requests/compute/list_vpn_gateways.rb +0 -24
  437. data/lib/fog/cloudstack/requests/compute/list_vpn_users.rb +0 -24
  438. data/lib/fog/cloudstack/requests/compute/list_zones.rb +0 -37
  439. data/lib/fog/cloudstack/requests/compute/lock_account.rb +0 -26
  440. data/lib/fog/cloudstack/requests/compute/lock_user.rb +0 -25
  441. data/lib/fog/cloudstack/requests/compute/mark_default_zone_for_account.rb +0 -27
  442. data/lib/fog/cloudstack/requests/compute/migrate_system_vm.rb +0 -26
  443. data/lib/fog/cloudstack/requests/compute/migrate_virtual_machine.rb +0 -25
  444. data/lib/fog/cloudstack/requests/compute/migrate_virtual_machine_with_volume.rb +0 -26
  445. data/lib/fog/cloudstack/requests/compute/migrate_volume.rb +0 -26
  446. data/lib/fog/cloudstack/requests/compute/modify_pool.rb +0 -22
  447. data/lib/fog/cloudstack/requests/compute/prepare_host_for_maintenance.rb +0 -25
  448. data/lib/fog/cloudstack/requests/compute/prepare_template.rb +0 -26
  449. data/lib/fog/cloudstack/requests/compute/query_async_job_result.rb +0 -38
  450. data/lib/fog/cloudstack/requests/compute/reboot_router.rb +0 -25
  451. data/lib/fog/cloudstack/requests/compute/reboot_system_vm.rb +0 -25
  452. data/lib/fog/cloudstack/requests/compute/reboot_virtual_machine.rb +0 -35
  453. data/lib/fog/cloudstack/requests/compute/reconnect_host.rb +0 -25
  454. data/lib/fog/cloudstack/requests/compute/recover_virtual_machine.rb +0 -25
  455. data/lib/fog/cloudstack/requests/compute/refresh_ucs_blades.rb +0 -21
  456. data/lib/fog/cloudstack/requests/compute/register_iso.rb +0 -28
  457. data/lib/fog/cloudstack/requests/compute/register_ssh_key_pair.rb +0 -28
  458. data/lib/fog/cloudstack/requests/compute/register_template.rb +0 -45
  459. data/lib/fog/cloudstack/requests/compute/register_user_keys.rb +0 -25
  460. data/lib/fog/cloudstack/requests/compute/release_dedicated_cluster.rb +0 -25
  461. data/lib/fog/cloudstack/requests/compute/release_dedicated_guest_vlan_range.rb +0 -25
  462. data/lib/fog/cloudstack/requests/compute/release_dedicated_host.rb +0 -25
  463. data/lib/fog/cloudstack/requests/compute/release_dedicated_pod.rb +0 -25
  464. data/lib/fog/cloudstack/requests/compute/release_dedicated_zone.rb +0 -25
  465. data/lib/fog/cloudstack/requests/compute/release_host_reservation.rb +0 -25
  466. data/lib/fog/cloudstack/requests/compute/release_public_ip_range.rb +0 -25
  467. data/lib/fog/cloudstack/requests/compute/remove_cert_from_load_balancer.rb +0 -25
  468. data/lib/fog/cloudstack/requests/compute/remove_from_global_load_balancer_rule.rb +0 -26
  469. data/lib/fog/cloudstack/requests/compute/remove_from_load_balancer_rule.rb +0 -25
  470. data/lib/fog/cloudstack/requests/compute/remove_guest_os.rb +0 -25
  471. data/lib/fog/cloudstack/requests/compute/remove_guest_os_mapping.rb +0 -25
  472. data/lib/fog/cloudstack/requests/compute/remove_ip_from_nic.rb +0 -25
  473. data/lib/fog/cloudstack/requests/compute/remove_nic_from_virtual_machine.rb +0 -26
  474. data/lib/fog/cloudstack/requests/compute/remove_region.rb +0 -25
  475. data/lib/fog/cloudstack/requests/compute/remove_resource_detail.rb +0 -26
  476. data/lib/fog/cloudstack/requests/compute/remove_vmware_dc.rb +0 -25
  477. data/lib/fog/cloudstack/requests/compute/remove_vpn_user.rb +0 -25
  478. data/lib/fog/cloudstack/requests/compute/replace_network_acl_list.rb +0 -25
  479. data/lib/fog/cloudstack/requests/compute/reset_api_limit.rb +0 -24
  480. data/lib/fog/cloudstack/requests/compute/reset_password_for_virtual_machine.rb +0 -25
  481. data/lib/fog/cloudstack/requests/compute/reset_ssh_key_for_virtual_machine.rb +0 -28
  482. data/lib/fog/cloudstack/requests/compute/reset_vpn_connection.rb +0 -25
  483. data/lib/fog/cloudstack/requests/compute/resize_volume.rb +0 -25
  484. data/lib/fog/cloudstack/requests/compute/restart_network.rb +0 -25
  485. data/lib/fog/cloudstack/requests/compute/restart_vpc.rb +0 -25
  486. data/lib/fog/cloudstack/requests/compute/restore_virtual_machine.rb +0 -25
  487. data/lib/fog/cloudstack/requests/compute/revert_snapshot.rb +0 -25
  488. data/lib/fog/cloudstack/requests/compute/revert_to_vm_snapshot.rb +0 -25
  489. data/lib/fog/cloudstack/requests/compute/revoke_security_group_egress.rb +0 -52
  490. data/lib/fog/cloudstack/requests/compute/revoke_security_group_ingress.rb +0 -52
  491. data/lib/fog/cloudstack/requests/compute/scale_system_vm.rb +0 -26
  492. data/lib/fog/cloudstack/requests/compute/scale_virtual_machine.rb +0 -26
  493. data/lib/fog/cloudstack/requests/compute/start_internal_load_balancer_vm.rb +0 -25
  494. data/lib/fog/cloudstack/requests/compute/start_router.rb +0 -25
  495. data/lib/fog/cloudstack/requests/compute/start_system_vm.rb +0 -25
  496. data/lib/fog/cloudstack/requests/compute/start_virtual_machine.rb +0 -25
  497. data/lib/fog/cloudstack/requests/compute/stop_internal_load_balancer_vm.rb +0 -25
  498. data/lib/fog/cloudstack/requests/compute/stop_router.rb +0 -25
  499. data/lib/fog/cloudstack/requests/compute/stop_system_vm.rb +0 -25
  500. data/lib/fog/cloudstack/requests/compute/stop_virtual_machine.rb +0 -25
  501. data/lib/fog/cloudstack/requests/compute/suspend_project.rb +0 -25
  502. data/lib/fog/cloudstack/requests/compute/update_account.rb +0 -25
  503. data/lib/fog/cloudstack/requests/compute/update_auto_scale_policy.rb +0 -25
  504. data/lib/fog/cloudstack/requests/compute/update_auto_scale_vm_group.rb +0 -25
  505. data/lib/fog/cloudstack/requests/compute/update_auto_scale_vm_profile.rb +0 -25
  506. data/lib/fog/cloudstack/requests/compute/update_cloud_to_use_object_store.rb +0 -25
  507. data/lib/fog/cloudstack/requests/compute/update_cluster.rb +0 -25
  508. data/lib/fog/cloudstack/requests/compute/update_configuration.rb +0 -25
  509. data/lib/fog/cloudstack/requests/compute/update_default_nic_for_virtual_machine.rb +0 -26
  510. data/lib/fog/cloudstack/requests/compute/update_disk_offering.rb +0 -25
  511. data/lib/fog/cloudstack/requests/compute/update_domain.rb +0 -25
  512. data/lib/fog/cloudstack/requests/compute/update_egress_firewall_rule.rb +0 -25
  513. data/lib/fog/cloudstack/requests/compute/update_firewall_rule.rb +0 -25
  514. data/lib/fog/cloudstack/requests/compute/update_global_load_balancer_rule.rb +0 -25
  515. data/lib/fog/cloudstack/requests/compute/update_guest_os.rb +0 -26
  516. data/lib/fog/cloudstack/requests/compute/update_guest_os_mapping.rb +0 -26
  517. data/lib/fog/cloudstack/requests/compute/update_host.rb +0 -25
  518. data/lib/fog/cloudstack/requests/compute/update_host_password.rb +0 -26
  519. data/lib/fog/cloudstack/requests/compute/update_hypervisor_capabilities.rb +0 -24
  520. data/lib/fog/cloudstack/requests/compute/update_instance_group.rb +0 -25
  521. data/lib/fog/cloudstack/requests/compute/update_ip_address.rb +0 -25
  522. data/lib/fog/cloudstack/requests/compute/update_iso.rb +0 -25
  523. data/lib/fog/cloudstack/requests/compute/update_iso_permissions.rb +0 -25
  524. data/lib/fog/cloudstack/requests/compute/update_lb_health_check_policy.rb +0 -25
  525. data/lib/fog/cloudstack/requests/compute/update_lb_stickiness_policy.rb +0 -25
  526. data/lib/fog/cloudstack/requests/compute/update_load_balancer.rb +0 -25
  527. data/lib/fog/cloudstack/requests/compute/update_load_balancer_rule.rb +0 -25
  528. data/lib/fog/cloudstack/requests/compute/update_network.rb +0 -25
  529. data/lib/fog/cloudstack/requests/compute/update_network_acl_item.rb +0 -25
  530. data/lib/fog/cloudstack/requests/compute/update_network_acl_list.rb +0 -25
  531. data/lib/fog/cloudstack/requests/compute/update_network_offering.rb +0 -24
  532. data/lib/fog/cloudstack/requests/compute/update_network_service_provider.rb +0 -25
  533. data/lib/fog/cloudstack/requests/compute/update_physical_network.rb +0 -25
  534. data/lib/fog/cloudstack/requests/compute/update_pod.rb +0 -25
  535. data/lib/fog/cloudstack/requests/compute/update_port_forwarding_rule.rb +0 -25
  536. data/lib/fog/cloudstack/requests/compute/update_project.rb +0 -25
  537. data/lib/fog/cloudstack/requests/compute/update_project_invitation.rb +0 -25
  538. data/lib/fog/cloudstack/requests/compute/update_region.rb +0 -25
  539. data/lib/fog/cloudstack/requests/compute/update_remote_access_vpn.rb +0 -25
  540. data/lib/fog/cloudstack/requests/compute/update_resource_count.rb +0 -25
  541. data/lib/fog/cloudstack/requests/compute/update_resource_limit.rb +0 -25
  542. data/lib/fog/cloudstack/requests/compute/update_service_offering.rb +0 -25
  543. data/lib/fog/cloudstack/requests/compute/update_storage_network_ip_range.rb +0 -25
  544. data/lib/fog/cloudstack/requests/compute/update_storage_pool.rb +0 -25
  545. data/lib/fog/cloudstack/requests/compute/update_template.rb +0 -25
  546. data/lib/fog/cloudstack/requests/compute/update_template_permissions.rb +0 -25
  547. data/lib/fog/cloudstack/requests/compute/update_traffic_type.rb +0 -25
  548. data/lib/fog/cloudstack/requests/compute/update_user.rb +0 -25
  549. data/lib/fog/cloudstack/requests/compute/update_virtual_machine.rb +0 -25
  550. data/lib/fog/cloudstack/requests/compute/update_vm_affinity_group.rb +0 -25
  551. data/lib/fog/cloudstack/requests/compute/update_volume.rb +0 -24
  552. data/lib/fog/cloudstack/requests/compute/update_vpc.rb +0 -25
  553. data/lib/fog/cloudstack/requests/compute/update_vpcoffering.rb +0 -25
  554. data/lib/fog/cloudstack/requests/compute/update_vpn_connection.rb +0 -25
  555. data/lib/fog/cloudstack/requests/compute/update_vpn_customer_gateway.rb +0 -30
  556. data/lib/fog/cloudstack/requests/compute/update_vpn_gateway.rb +0 -25
  557. data/lib/fog/cloudstack/requests/compute/update_zone.rb +0 -25
  558. data/lib/fog/cloudstack/requests/compute/upgrade_router_template.rb +0 -24
  559. data/lib/fog/cloudstack/requests/compute/upload_custom_certificate.rb +0 -26
  560. data/lib/fog/cloudstack/requests/compute/upload_ssl_cert.rb +0 -26
  561. data/lib/fog/cloudstack/requests/compute/upload_volume.rb +0 -30
  562. data/lib/fog/cloudstack.rb +0 -1
  563. data/spec/fog/bin/cloudstack_spec.rb +0 -9
  564. data/spec/fog/bin/joyent_spec.rb +0 -10
  565. data/tests/cloudstack/compute/models/disk_offering_tests.rb +0 -5
  566. data/tests/cloudstack/compute/models/egress_firewall_rule_tests.rb +0 -6
  567. data/tests/cloudstack/compute/models/public_ip_address_tests.rb +0 -27
  568. data/tests/cloudstack/compute/models/public_ip_addresses_tests.rb +0 -5
  569. data/tests/cloudstack/compute/models/security_group_rule_tests.rb +0 -28
  570. data/tests/cloudstack/compute/models/security_group_tests.rb +0 -16
  571. data/tests/cloudstack/compute/models/security_groups_tests.rb +0 -18
  572. data/tests/cloudstack/compute/models/server_tests.rb +0 -18
  573. data/tests/cloudstack/compute/models/snapshot_tests.rb +0 -19
  574. data/tests/cloudstack/compute/models/volume_tests.rb +0 -34
  575. data/tests/cloudstack/compute/models/volumes_tests.rb +0 -15
  576. data/tests/cloudstack/requests/disk_offering_tests.rb +0 -29
  577. data/tests/cloudstack/requests/egress_firewall_rule_tests.rb +0 -25
  578. data/tests/cloudstack/requests/firewall_rule_tests.rb +0 -29
  579. data/tests/cloudstack/requests/network_offering_tests.rb +0 -32
  580. data/tests/cloudstack/requests/os_type_tests.rb +0 -37
  581. data/tests/cloudstack/requests/port_forwarding_rule_tests.rb +0 -33
  582. data/tests/cloudstack/requests/public_ip_address_tests.rb +0 -38
  583. data/tests/cloudstack/requests/security_group_tests.rb +0 -29
  584. data/tests/cloudstack/requests/service_offering_tests.rb +0 -31
  585. data/tests/cloudstack/requests/snapshot_tests.rb +0 -32
  586. data/tests/cloudstack/requests/ssh_key_pair_tests.rb +0 -23
  587. data/tests/cloudstack/requests/template_tests.rb +0 -53
  588. data/tests/cloudstack/requests/virtual_machine_tests.rb +0 -71
  589. data/tests/cloudstack/requests/volume_tests.rb +0 -47
  590. data/tests/cloudstack/requests/zone_tests.rb +0 -33
  591. data/tests/cloudstack/signed_params_tests.rb +0 -12
@@ -1,54 +0,0 @@
1
- module Fog
2
- module Compute
3
- class Cloudstack
4
-
5
- class Real
6
- # Destroys a virtual machine. Once destroyed, only the administrator can recover it.
7
- #
8
- # {CloudStack API Reference}[http://cloudstack.apache.org/docs/api/apidocs-4.4/root_admin/destroyVirtualMachine.html]
9
- def destroy_virtual_machine(*args)
10
- options = {}
11
- if args[0].is_a? Hash
12
- options = args[0]
13
- options.merge!('command' => 'destroyVirtualMachine')
14
- else
15
- options.merge!('command' => 'destroyVirtualMachine',
16
- 'id' => args[0])
17
- end
18
- request(options)
19
- end
20
- end
21
-
22
- class Mock
23
- def destroy_virtual_machine(options={})
24
- identity = options["id"]
25
-
26
- server = self.data[:servers][identity]
27
- unless server
28
- raise Fog::Compute::Cloudstack::BadRequest.new("Unable to execute API command attachserver due to invalid value. Object servers(uuid: #{identity}) does not exist.")
29
- end
30
-
31
- job_id = Fog::Cloudstack.uuid
32
-
33
- job = {
34
- "cmd" => "com.cloud.api.commands.DestroyVirtualMachineCmd",
35
- "created" => Time.now.iso8601,
36
- "jobid" => job_id,
37
- "jobstatus" => 1,
38
- "jobprocstatus" => 0,
39
- "jobresultcode" => 0,
40
- "jobresulttype" => "object",
41
- "jobresult" =>
42
- {"virtualmachine" => server}
43
- }
44
-
45
- self.data[:jobs][job_id]= job
46
- self.data[:servers].delete(identity)
47
-
48
- {"destroyvirtualmachineresponse" => {"jobid" => job_id}}
49
- end
50
- end
51
- end
52
- end
53
- end
54
-
@@ -1,23 +0,0 @@
1
- module Fog
2
- module Compute
3
- class Cloudstack
4
-
5
- class Real
6
- # Destroy a Volume
7
- #
8
- # {CloudStack API Reference}[http://cloudstack.apache.org/docs/api/apidocs-4.3/root_admin/destroyVolumeOnFiler.html]
9
- def destroy_volume_on_filer(ipaddress, aggregatename, volumename, options={})
10
- options.merge!(
11
- 'command' => 'destroyVolumeOnFiler',
12
- 'ipaddress' => ipaddress,
13
- 'aggregatename' => aggregatename,
14
- 'volumename' => volumename
15
- )
16
- request(options)
17
- end
18
- end
19
-
20
- end
21
- end
22
- end
23
-
@@ -1,25 +0,0 @@
1
- module Fog
2
- module Compute
3
- class Cloudstack
4
-
5
- class Real
6
- # Detaches any ISO file (if any) currently attached to a virtual machine.
7
- #
8
- # {CloudStack API Reference}[http://cloudstack.apache.org/docs/api/apidocs-4.4/root_admin/detachIso.html]
9
- def detach_iso(*args)
10
- options = {}
11
- if args[0].is_a? Hash
12
- options = args[0]
13
- options.merge!('command' => 'detachIso')
14
- else
15
- options.merge!('command' => 'detachIso',
16
- 'virtualmachineid' => args[0])
17
- end
18
- request(options)
19
- end
20
- end
21
-
22
- end
23
- end
24
- end
25
-
@@ -1,64 +0,0 @@
1
- module Fog
2
- module Compute
3
- class Cloudstack
4
-
5
- class Real
6
- # Detaches a disk volume from a virtual machine.
7
- #
8
- # {CloudStack API Reference}[http://cloudstack.apache.org/docs/api/apidocs-4.4/root_admin/detachVolume.html]
9
- def detach_volume(*args)
10
- options = {}
11
- if args[0].is_a? Hash
12
- options = args[0]
13
- options.merge!('command' => 'detachVolume')
14
- else
15
- options.merge!('command' => 'detachVolume')
16
- end
17
- request(options)
18
- end
19
- end
20
-
21
- class Mock
22
- def detach_volume(options={})
23
- volume_id = options['id']
24
-
25
- volume = self.data[:volumes][volume_id]
26
- unless volume
27
- raise Fog::Compute::Cloudstack::BadRequest.new("Unable to execute API command attachvolume due to invalid value. Object volumes(uuid: #{volume_id}) does not exist.")
28
- end
29
-
30
- volume['virtualmachineid']= volume['vmname']= volume['vmdisplayname']= nil
31
-
32
- job_id = Fog::Cloudstack.uuid
33
-
34
- # FIXME: need to determine current user
35
- account_id = self.data[:accounts].first
36
- user_id = self.data[:users].first
37
-
38
- job = {
39
- "accountid" => account_id,
40
- "userid" => user_id,
41
- "cmd" => "com.cloud.api.commands.DetachVolumeCmd",
42
- "created" => Time.now.iso8601,
43
- "jobid" => job_id,
44
- "jobstatus" => 1,
45
- "jobprocstatus" => 0,
46
- "jobresultcode" => 0,
47
- "jobresulttype" => "object",
48
- "jobresult" =>
49
- {"volume" => volume}
50
- }
51
-
52
- self.data[:jobs][job_id]= job
53
-
54
- {
55
- "detachvolumeresponse" => {
56
- "jobid" => job_id
57
- }
58
- }
59
- end
60
- end
61
- end
62
- end
63
- end
64
-
@@ -1,25 +0,0 @@
1
- module Fog
2
- module Compute
3
- class Cloudstack
4
-
5
- class Real
6
- # Disables an account
7
- #
8
- # {CloudStack API Reference}[http://cloudstack.apache.org/docs/api/apidocs-4.4/root_admin/disableAccount.html]
9
- def disable_account(*args)
10
- options = {}
11
- if args[0].is_a? Hash
12
- options = args[0]
13
- options.merge!('command' => 'disableAccount')
14
- else
15
- options.merge!('command' => 'disableAccount',
16
- 'lock' => args[0])
17
- end
18
- request(options)
19
- end
20
- end
21
-
22
- end
23
- end
24
- end
25
-
@@ -1,25 +0,0 @@
1
- module Fog
2
- module Compute
3
- class Cloudstack
4
-
5
- class Real
6
- # Disables an AutoScale Vm Group
7
- #
8
- # {CloudStack API Reference}[http://cloudstack.apache.org/docs/api/apidocs-4.4/root_admin/disableAutoScaleVmGroup.html]
9
- def disable_auto_scale_vm_group(*args)
10
- options = {}
11
- if args[0].is_a? Hash
12
- options = args[0]
13
- options.merge!('command' => 'disableAutoScaleVmGroup')
14
- else
15
- options.merge!('command' => 'disableAutoScaleVmGroup',
16
- 'id' => args[0])
17
- end
18
- request(options)
19
- end
20
- end
21
-
22
- end
23
- end
24
- end
25
-
@@ -1,25 +0,0 @@
1
- module Fog
2
- module Compute
3
- class Cloudstack
4
-
5
- class Real
6
- # disable a Cisco Nexus VSM device
7
- #
8
- # {CloudStack API Reference}[http://cloudstack.apache.org/docs/api/apidocs-4.4/root_admin/disableCiscoNexusVSM.html]
9
- def disable_cisco_nexus_vsm(*args)
10
- options = {}
11
- if args[0].is_a? Hash
12
- options = args[0]
13
- options.merge!('command' => 'disableCiscoNexusVSM')
14
- else
15
- options.merge!('command' => 'disableCiscoNexusVSM',
16
- 'id' => args[0])
17
- end
18
- request(options)
19
- end
20
- end
21
-
22
- end
23
- end
24
- end
25
-
@@ -1,51 +0,0 @@
1
- module Fog
2
- module Compute
3
- class Cloudstack
4
-
5
- class Real
6
- # Disables static rule for given ip address
7
- #
8
- # {CloudStack API Reference}[http://cloudstack.apache.org/docs/api/apidocs-4.4/root_admin/disableStaticNat.html]
9
- def disable_static_nat(*args)
10
- options = {}
11
- if args[0].is_a? Hash
12
- options = args[0]
13
- options.merge!('command' => 'disableStaticNat')
14
- else
15
- options.merge!('command' => 'disableStaticNat',
16
- 'ipaddressid' => args[0])
17
- end
18
- request(options)
19
- end
20
- end
21
-
22
- class Mock
23
- def disable_static_nat(*args)
24
- ip_address_id = args[0].is_a?(Hash) ? args[0]['ipaddressid'] : args[0]
25
-
26
- address = self.data[:public_ip_addresses][ip_address_id]
27
-
28
- unless address
29
- raise Fog::Compute::Cloudstack::BadRequest.new(
30
- "Unable to execute API command disablestaticnat due to invalid value. \
31
- Invalid parameter ipaddressid value=#{ip_address_id} due to incorrect long value format, \
32
- or entity does not exist or due to incorrect parameter annotation for the field in api cmd class.")
33
- end
34
-
35
- if address['virtualmachineid'].nil?
36
- raise Fog::Compute::Cloudstack::BadRequest.new(
37
- "Specified IP address id is not associated with any vm Id")
38
- end
39
-
40
- address.merge!(
41
- 'virtualmachineid' => nil,
42
- 'virtualmachinname' => nil,
43
- 'virtualmachinedisplayname' => nil
44
- )
45
- {'enablestaticnatresponse' => {'success' => 'true'}}
46
- end
47
- end
48
- end
49
- end
50
- end
51
-
@@ -1,25 +0,0 @@
1
- module Fog
2
- module Compute
3
- class Cloudstack
4
-
5
- class Real
6
- # Disables a user account
7
- #
8
- # {CloudStack API Reference}[http://cloudstack.apache.org/docs/api/apidocs-4.4/root_admin/disableUser.html]
9
- def disable_user(*args)
10
- options = {}
11
- if args[0].is_a? Hash
12
- options = args[0]
13
- options.merge!('command' => 'disableUser')
14
- else
15
- options.merge!('command' => 'disableUser',
16
- 'id' => args[0])
17
- end
18
- request(options)
19
- end
20
- end
21
-
22
- end
23
- end
24
- end
25
-
@@ -1,35 +0,0 @@
1
- module Fog
2
- module Compute
3
- class Cloudstack
4
-
5
- class Real
6
- # Disassociates an ip address from the account.
7
- #
8
- # {CloudStack API Reference}[http://cloudstack.apache.org/docs/api/apidocs-4.4/root_admin/disassociateIpAddress.html]
9
- def disassociate_ip_address(*args)
10
- options = {}
11
- if args[0].is_a? Hash
12
- options = args[0]
13
- options.merge!('command' => 'disassociateIpAddress')
14
- else
15
- options.merge!('command' => 'disassociateIpAddress',
16
- 'id' => args[0])
17
- end
18
- request(options)
19
- end
20
- end
21
-
22
- class Mock
23
- def disassociate_ip_address(*args)
24
- public_ip_address_id = args[0].is_a?(Hash) ? args[0]['id'] : args[0]
25
- if self.data[:public_ip_addresses][public_ip_address_id]
26
- self.data[:public_ip_addresses].delete(public_ip_address_id)
27
- { "disassociateipaddressresponse" => { "success" => "true" }}
28
- end
29
- end
30
- end
31
-
32
- end
33
- end
34
- end
35
-
@@ -1,21 +0,0 @@
1
- module Fog
2
- module Compute
3
- class Cloudstack
4
-
5
- class Real
6
- # disassociate a profile from a blade
7
- #
8
- # {CloudStack API Reference}[http://cloudstack.apache.org/docs/api/apidocs-4.3/root_admin/disassociateUcsProfileFromBlade.html]
9
- def disassociate_ucs_profile_from_blade(bladeid, options={})
10
- options.merge!(
11
- 'command' => 'disassociateUcsProfileFromBlade',
12
- 'bladeid' => bladeid
13
- )
14
- request(options)
15
- end
16
- end
17
-
18
- end
19
- end
20
- end
21
-
@@ -1,22 +0,0 @@
1
- module Fog
2
- module Compute
3
- class Cloudstack
4
-
5
- class Real
6
- # Dissociate a LUN
7
- #
8
- # {CloudStack API Reference}[http://cloudstack.apache.org/docs/api/apidocs-4.3/root_admin/dissociateLun.html]
9
- def dissociate_lun(iqn, path, options={})
10
- options.merge!(
11
- 'command' => 'dissociateLun',
12
- 'iqn' => iqn,
13
- 'path' => path
14
- )
15
- request(options)
16
- end
17
- end
18
-
19
- end
20
- end
21
- end
22
-
@@ -1,24 +0,0 @@
1
- module Fog
2
- module Compute
3
- class Cloudstack
4
-
5
- class Real
6
- # Enables an account
7
- #
8
- # {CloudStack API Reference}[http://cloudstack.apache.org/docs/api/apidocs-4.4/root_admin/enableAccount.html]
9
- def enable_account(*args)
10
- options = {}
11
- if args[0].is_a? Hash
12
- options = args[0]
13
- options.merge!('command' => 'enableAccount')
14
- else
15
- options.merge!('command' => 'enableAccount')
16
- end
17
- request(options)
18
- end
19
- end
20
-
21
- end
22
- end
23
- end
24
-
@@ -1,25 +0,0 @@
1
- module Fog
2
- module Compute
3
- class Cloudstack
4
-
5
- class Real
6
- # Enables an AutoScale Vm Group
7
- #
8
- # {CloudStack API Reference}[http://cloudstack.apache.org/docs/api/apidocs-4.4/root_admin/enableAutoScaleVmGroup.html]
9
- def enable_auto_scale_vm_group(*args)
10
- options = {}
11
- if args[0].is_a? Hash
12
- options = args[0]
13
- options.merge!('command' => 'enableAutoScaleVmGroup')
14
- else
15
- options.merge!('command' => 'enableAutoScaleVmGroup',
16
- 'id' => args[0])
17
- end
18
- request(options)
19
- end
20
- end
21
-
22
- end
23
- end
24
- end
25
-
@@ -1,25 +0,0 @@
1
- module Fog
2
- module Compute
3
- class Cloudstack
4
-
5
- class Real
6
- # Enable a Cisco Nexus VSM device
7
- #
8
- # {CloudStack API Reference}[http://cloudstack.apache.org/docs/api/apidocs-4.4/root_admin/enableCiscoNexusVSM.html]
9
- def enable_cisco_nexus_vsm(*args)
10
- options = {}
11
- if args[0].is_a? Hash
12
- options = args[0]
13
- options.merge!('command' => 'enableCiscoNexusVSM')
14
- else
15
- options.merge!('command' => 'enableCiscoNexusVSM',
16
- 'id' => args[0])
17
- end
18
- request(options)
19
- end
20
- end
21
-
22
- end
23
- end
24
- end
25
-
@@ -1,69 +0,0 @@
1
- module Fog
2
- module Compute
3
- class Cloudstack
4
-
5
- class Real
6
- # Enables static nat for given ip address
7
- #
8
- # {CloudStack API Reference}[http://cloudstack.apache.org/docs/api/apidocs-4.4/root_admin/enableStaticNat.html]
9
- def enable_static_nat(*args)
10
- options = {}
11
- if args[0].is_a? Hash
12
- options = args[0]
13
- options.merge!('command' => 'enableStaticNat')
14
- else
15
- options.merge!('command' => 'enableStaticNat',
16
- 'ipaddressid' => args[0],
17
- 'virtualmachineid' => args[1])
18
- end
19
- request(options)
20
- end
21
- end
22
-
23
- class Mock
24
- def enable_static_nat(*args)
25
- ip_address_id = nil
26
- virtual_machine_id = nil
27
- if args[0].is_a? Hash
28
- ip_address_id = args[0]['ipaddressid']
29
- virtual_machine_id = args[0]['virtualmachineid']
30
- else
31
- ip_address_id = args[0]
32
- virtual_machine_id = args[1]
33
- end
34
-
35
- server = self.data[:servers][virtual_machine_id]
36
- address = self.data[:public_ip_addresses][ip_address_id]
37
-
38
- unless server
39
- raise Fog::Compute::Cloudstack::BadRequest.new(
40
- "Unable to execute API command enablestaticnat due to invalid value. \
41
- Invalid parameter virtualmachineid value=#{virtual_machine_id} due to incorrect long value format, \
42
- or entity does not exist or due to incorrect parameter annotation for the field in api cmd class.")
43
- end
44
-
45
- unless address
46
- raise Fog::Compute::Cloudstack::BadRequest.new(
47
- "Unable to execute API command enablestaticnat due to invalid value. \
48
- Invalid parameter ipaddressid value=#{ip_address_id} due to incorrect long value format, \
49
- or entity does not exist or due to incorrect parameter annotation for the field in api cmd class.")
50
- end
51
-
52
- unless address['virtualmachineid'].nil?
53
- raise Fog::Compute::Cloudstack::BadRequest.new(
54
- "Failed to enable static nat for the ip address id=#{ip_address_id} \
55
- as vm id=#{virtual_machine_id} is already associated with ip id=#{ip_address_id}")
56
- end
57
-
58
- address.merge!(
59
- 'virtualmachineid' => server['id'],
60
- 'virtualmachinname' => server['name'],
61
- 'virtualmachinedisplayname' => server['displayname']
62
- )
63
- {'enablestaticnatresponse' => {'success' => 'true'}}
64
- end
65
- end
66
- end
67
- end
68
- end
69
-
@@ -1,25 +0,0 @@
1
- module Fog
2
- module Compute
3
- class Cloudstack
4
-
5
- class Real
6
- # Puts storage pool into maintenance state
7
- #
8
- # {CloudStack API Reference}[http://cloudstack.apache.org/docs/api/apidocs-4.4/root_admin/enableStorageMaintenance.html]
9
- def enable_storage_maintenance(*args)
10
- options = {}
11
- if args[0].is_a? Hash
12
- options = args[0]
13
- options.merge!('command' => 'enableStorageMaintenance')
14
- else
15
- options.merge!('command' => 'enableStorageMaintenance',
16
- 'id' => args[0])
17
- end
18
- request(options)
19
- end
20
- end
21
-
22
- end
23
- end
24
- end
25
-
@@ -1,25 +0,0 @@
1
- module Fog
2
- module Compute
3
- class Cloudstack
4
-
5
- class Real
6
- # Enables a user account
7
- #
8
- # {CloudStack API Reference}[http://cloudstack.apache.org/docs/api/apidocs-4.4/root_admin/enableUser.html]
9
- def enable_user(*args)
10
- options = {}
11
- if args[0].is_a? Hash
12
- options = args[0]
13
- options.merge!('command' => 'enableUser')
14
- else
15
- options.merge!('command' => 'enableUser',
16
- 'id' => args[0])
17
- end
18
- request(options)
19
- end
20
- end
21
-
22
- end
23
- end
24
- end
25
-
@@ -1,25 +0,0 @@
1
- module Fog
2
- module Compute
3
- class Cloudstack
4
-
5
- class Real
6
- # Expunge a virtual machine. Once expunged, it cannot be recoverd.
7
- #
8
- # {CloudStack API Reference}[http://cloudstack.apache.org/docs/api/apidocs-4.4/root_admin/expungeVirtualMachine.html]
9
- def expunge_virtual_machine(*args)
10
- options = {}
11
- if args[0].is_a? Hash
12
- options = args[0]
13
- options.merge!('command' => 'expungeVirtualMachine')
14
- else
15
- options.merge!('command' => 'expungeVirtualMachine',
16
- 'id' => args[0])
17
- end
18
- request(options)
19
- end
20
- end
21
-
22
- end
23
- end
24
- end
25
-
@@ -1,26 +0,0 @@
1
- module Fog
2
- module Compute
3
- class Cloudstack
4
-
5
- class Real
6
- # Extracts an ISO
7
- #
8
- # {CloudStack API Reference}[http://cloudstack.apache.org/docs/api/apidocs-4.4/root_admin/extractIso.html]
9
- def extract_iso(*args)
10
- options = {}
11
- if args[0].is_a? Hash
12
- options = args[0]
13
- options.merge!('command' => 'extractIso')
14
- else
15
- options.merge!('command' => 'extractIso',
16
- 'id' => args[0],
17
- 'mode' => args[1])
18
- end
19
- request(options)
20
- end
21
- end
22
-
23
- end
24
- end
25
- end
26
-