fog-maestrodev 1.15.0.20130829165835 → 1.15.0.20130927082724

Sign up to get free protection for your applications and to get access to all the features.
Files changed (350) hide show
  1. data/.gitignore +1 -0
  2. data/README.md +1 -0
  3. data/fog.gemspec +5 -2
  4. data/lib/fog.rb +1 -0
  5. data/lib/fog/atmos/models/storage/file.rb +2 -1
  6. data/lib/fog/aws.rb +4 -1
  7. data/lib/fog/aws/data_pipeline.rb +3 -0
  8. data/lib/fog/aws/elasticache.rb +2 -0
  9. data/lib/fog/aws/models/auto_scaling/group.rb +12 -12
  10. data/lib/fog/aws/models/compute/subnet.rb +3 -1
  11. data/lib/fog/aws/models/elasticache/cluster.rb +3 -1
  12. data/lib/fog/aws/parsers/redshift/cluster.rb +29 -0
  13. data/lib/fog/aws/parsers/redshift/cluster_parser.rb +144 -0
  14. data/lib/fog/aws/parsers/redshift/cluster_security_group_parser.rb +50 -0
  15. data/lib/fog/aws/parsers/redshift/cluster_snapshot.rb +32 -0
  16. data/lib/fog/aws/parsers/redshift/cluster_snapshot_parser.rb +66 -0
  17. data/lib/fog/aws/parsers/redshift/cluster_subnet_group_parser.rb +51 -0
  18. data/lib/fog/aws/parsers/redshift/create_cluster_parameter_group.rb +30 -0
  19. data/lib/fog/aws/parsers/redshift/create_cluster_security_group.rb +31 -0
  20. data/lib/fog/aws/parsers/redshift/describe_cluster_parameter_groups.rb +41 -0
  21. data/lib/fog/aws/parsers/redshift/describe_cluster_parameters.rb +48 -0
  22. data/lib/fog/aws/parsers/redshift/describe_cluster_security_groups.rb +38 -0
  23. data/lib/fog/aws/parsers/redshift/describe_cluster_snapshots.rb +38 -0
  24. data/lib/fog/aws/parsers/redshift/describe_cluster_subnet_groups.rb +58 -0
  25. data/lib/fog/aws/parsers/redshift/describe_cluster_versions.rb +53 -0
  26. data/lib/fog/aws/parsers/redshift/describe_clusters.rb +30 -0
  27. data/lib/fog/aws/parsers/redshift/describe_default_cluster_parameters.rb +49 -0
  28. data/lib/fog/aws/parsers/redshift/describe_events.rb +44 -0
  29. data/lib/fog/aws/parsers/redshift/describe_orderable_cluster_options.rb +54 -0
  30. data/lib/fog/aws/parsers/redshift/describe_reserved_node_offerings.rb +64 -0
  31. data/lib/fog/aws/parsers/redshift/describe_reserved_nodes.rb +71 -0
  32. data/lib/fog/aws/parsers/redshift/describe_resize.rb +60 -0
  33. data/lib/fog/aws/parsers/redshift/purchase_reserved_node_offering.rb +58 -0
  34. data/lib/fog/aws/parsers/redshift/revoke_cluster_security_group_ingress.rb +31 -0
  35. data/lib/fog/aws/parsers/redshift/update_cluster_parameter_group_parser.rb +29 -0
  36. data/lib/fog/aws/parsers/sts/get_session_token.rb +1 -3
  37. data/lib/fog/aws/redshift.rb +126 -0
  38. data/lib/fog/aws/requests/compute/run_instances.rb +2 -0
  39. data/lib/fog/aws/requests/data_pipeline/delete_pipeline.rb +2 -3
  40. data/lib/fog/aws/requests/data_pipeline/describe_objects.rb +41 -0
  41. data/lib/fog/aws/requests/data_pipeline/get_pipeline_definition.rb +37 -0
  42. data/lib/fog/aws/requests/data_pipeline/query_objects.rb +41 -0
  43. data/lib/fog/aws/requests/elasticache/authorize_cache_security_group_ingress.rb +27 -2
  44. data/lib/fog/aws/requests/elasticache/create_cache_security_group.rb +23 -2
  45. data/lib/fog/aws/requests/elasticache/delete_cache_security_group.rb +10 -1
  46. data/lib/fog/aws/requests/elasticache/describe_cache_security_groups.rb +36 -2
  47. data/lib/fog/aws/requests/redshift/authorize_cluster_security_group_ingress.rb +56 -0
  48. data/lib/fog/aws/requests/redshift/authorize_snapshot_access.rb +43 -0
  49. data/lib/fog/aws/requests/redshift/copy_cluster_snapshot.rb +48 -0
  50. data/lib/fog/aws/requests/redshift/create_cluster.rb +151 -0
  51. data/lib/fog/aws/requests/redshift/create_cluster_parameter_group.rb +54 -0
  52. data/lib/fog/aws/requests/redshift/create_cluster_security_group.rb +42 -0
  53. data/lib/fog/aws/requests/redshift/create_cluster_snapshot.rb +44 -0
  54. data/lib/fog/aws/requests/redshift/create_cluster_subnet_group.rb +50 -0
  55. data/lib/fog/aws/requests/redshift/delete_cluster.rb +51 -0
  56. data/lib/fog/aws/requests/redshift/delete_cluster_parameter_group.rb +34 -0
  57. data/lib/fog/aws/requests/redshift/delete_cluster_security_group.rb +33 -0
  58. data/lib/fog/aws/requests/redshift/delete_cluster_snapshot.rb +44 -0
  59. data/lib/fog/aws/requests/redshift/delete_cluster_subnet_group.rb +38 -0
  60. data/lib/fog/aws/requests/redshift/describe_cluster_parameter_groups.rb +48 -0
  61. data/lib/fog/aws/requests/redshift/describe_cluster_parameters.rb +55 -0
  62. data/lib/fog/aws/requests/redshift/describe_cluster_security_groups.rb +50 -0
  63. data/lib/fog/aws/requests/redshift/describe_cluster_snapshots.rb +73 -0
  64. data/lib/fog/aws/requests/redshift/describe_cluster_subnet_groups.rb +47 -0
  65. data/lib/fog/aws/requests/redshift/describe_cluster_versions.rb +54 -0
  66. data/lib/fog/aws/requests/redshift/describe_clusters.rb +49 -0
  67. data/lib/fog/aws/requests/redshift/describe_default_cluster_parameters.rb +49 -0
  68. data/lib/fog/aws/requests/redshift/describe_events.rb +80 -0
  69. data/lib/fog/aws/requests/redshift/describe_orderable_cluster_options.rb +55 -0
  70. data/lib/fog/aws/requests/redshift/describe_reserved_node_offerings.rb +48 -0
  71. data/lib/fog/aws/requests/redshift/describe_reserved_nodes.rb +48 -0
  72. data/lib/fog/aws/requests/redshift/describe_resize.rb +39 -0
  73. data/lib/fog/aws/requests/redshift/modify_cluster.rb +111 -0
  74. data/lib/fog/aws/requests/redshift/modify_cluster_parameter_group.rb +44 -0
  75. data/lib/fog/aws/requests/redshift/modify_cluster_subnet_group.rb +50 -0
  76. data/lib/fog/aws/requests/redshift/purchase_reserved_node_offering.rb +41 -0
  77. data/lib/fog/aws/requests/redshift/reboot_cluster.rb +37 -0
  78. data/lib/fog/aws/requests/redshift/reset_cluster_parameter_group.rb +57 -0
  79. data/lib/fog/aws/requests/redshift/restore_from_cluster_snapshot.rb +77 -0
  80. data/lib/fog/aws/requests/redshift/revoke_cluster_security_group_ingress.rb +56 -0
  81. data/lib/fog/aws/requests/redshift/revoke_snapshot_access.rb +44 -0
  82. data/lib/fog/aws/requests/sts/get_federation_token.rb +42 -0
  83. data/lib/fog/bin.rb +1 -0
  84. data/lib/fog/bin/aws.rb +4 -0
  85. data/lib/fog/bin/openstack.rb +5 -0
  86. data/lib/fog/bin/rackspace.rb +4 -0
  87. data/lib/fog/bin/vcloud_director.rb +30 -0
  88. data/lib/fog/brightbox/requests/compute/update_server.rb +1 -0
  89. data/lib/fog/cloudsigma/compute.rb +5 -0
  90. data/lib/fog/cloudsigma/models/fwpolicies.rb +21 -0
  91. data/lib/fog/cloudsigma/models/fwpolicy.rb +21 -0
  92. data/lib/fog/cloudsigma/models/rule.rb +21 -0
  93. data/lib/fog/cloudsigma/requests/list_fwpolicies.rb +18 -0
  94. data/lib/fog/compute.rb +7 -4
  95. data/lib/fog/core.rb +1 -0
  96. data/lib/fog/core/errors.rb +3 -0
  97. data/lib/fog/dynect/dns.rb +3 -1
  98. data/lib/fog/dynect/models/dns/records.rb +32 -20
  99. data/lib/fog/dynect/requests/dns/get_all_records.rb +56 -0
  100. data/lib/fog/dynect/requests/dns/get_node_list.rb +1 -1
  101. data/lib/fog/dynect/requests/dns/put_record.rb +76 -0
  102. data/lib/fog/google/models/compute/flavors.rb +2 -2
  103. data/lib/fog/google/requests/compute/get_machine_type.rb +7 -2
  104. data/lib/fog/joyent/compute.rb +1 -1
  105. data/lib/fog/linode/models/compute/server.rb +1 -1
  106. data/lib/fog/local/models/storage/directories.rb +1 -1
  107. data/lib/fog/openstack.rb +1 -0
  108. data/lib/fog/openstack/models/compute/images.rb +10 -2
  109. data/lib/fog/openstack/models/compute/server.rb +2 -0
  110. data/lib/fog/openstack/models/orchestration/stack.rb +52 -0
  111. data/lib/fog/openstack/models/orchestration/stacks.rb +21 -0
  112. data/lib/fog/openstack/orchestration.rb +227 -0
  113. data/lib/fog/openstack/requests/compute/create_server.rb +36 -25
  114. data/lib/fog/openstack/requests/compute/list_images_detail.rb +4 -3
  115. data/lib/fog/openstack/requests/orchestration/create_stack.rb +55 -0
  116. data/lib/fog/openstack/requests/orchestration/delete_stack.rb +36 -0
  117. data/lib/fog/openstack/requests/orchestration/list_stacks.rb +48 -0
  118. data/lib/fog/openstack/requests/orchestration/update_stack.rb +41 -0
  119. data/lib/fog/openstack/requests/storage/get_object.rb +7 -7
  120. data/lib/fog/openstack/storage.rb +2 -2
  121. data/lib/fog/orchestration.rb +25 -0
  122. data/lib/fog/rackspace.rb +1 -0
  123. data/lib/fog/rackspace/auto_scale.rb +132 -0
  124. data/lib/fog/rackspace/block_storage.rb +2 -2
  125. data/lib/fog/rackspace/cdn.rb +23 -23
  126. data/lib/fog/rackspace/compute.rb +2 -2
  127. data/lib/fog/rackspace/compute_v2.rb +2 -2
  128. data/lib/fog/rackspace/databases.rb +2 -2
  129. data/lib/fog/rackspace/dns.rb +14 -16
  130. data/lib/fog/rackspace/examples/compute_v2/create_network.rb +81 -0
  131. data/lib/fog/rackspace/examples/compute_v2/delete_network.rb +78 -0
  132. data/lib/fog/rackspace/load_balancers.rb +2 -2
  133. data/lib/fog/rackspace/mock_data.rb +69 -4
  134. data/lib/fog/rackspace/models/auto_scale/group.rb +207 -0
  135. data/lib/fog/rackspace/models/auto_scale/group_config.rb +60 -0
  136. data/lib/fog/rackspace/models/auto_scale/groups.rb +46 -0
  137. data/lib/fog/rackspace/models/auto_scale/launch_config.rb +44 -0
  138. data/lib/fog/rackspace/models/auto_scale/policies.rb +65 -0
  139. data/lib/fog/rackspace/models/auto_scale/policy.rb +206 -0
  140. data/lib/fog/rackspace/models/auto_scale/webhook.rb +105 -0
  141. data/lib/fog/rackspace/models/auto_scale/webhooks.rb +64 -0
  142. data/lib/fog/rackspace/models/block_storage/volume.rb +2 -1
  143. data/lib/fog/rackspace/models/monitoring/notification.rb +42 -0
  144. data/lib/fog/rackspace/models/monitoring/notifications.rb +30 -0
  145. data/lib/fog/rackspace/monitoring.rb +21 -14
  146. data/lib/fog/rackspace/requests/auto_scale/create_group.rb +61 -0
  147. data/lib/fog/rackspace/requests/auto_scale/create_policy.rb +45 -0
  148. data/lib/fog/rackspace/requests/auto_scale/create_webhook.rb +57 -0
  149. data/lib/fog/rackspace/requests/auto_scale/delete_group.rb +23 -0
  150. data/lib/fog/rackspace/requests/auto_scale/delete_policy.rb +31 -0
  151. data/lib/fog/rackspace/requests/auto_scale/delete_webhook.rb +34 -0
  152. data/lib/fog/rackspace/requests/auto_scale/execute_anonymous_webhook.rb +22 -0
  153. data/lib/fog/rackspace/requests/auto_scale/execute_policy.rb +22 -0
  154. data/lib/fog/rackspace/requests/auto_scale/get_group.rb +29 -0
  155. data/lib/fog/rackspace/requests/auto_scale/get_group_config.rb +30 -0
  156. data/lib/fog/rackspace/requests/auto_scale/get_group_state.rb +62 -0
  157. data/lib/fog/rackspace/requests/auto_scale/get_launch_config.rb +30 -0
  158. data/lib/fog/rackspace/requests/auto_scale/get_policy.rb +35 -0
  159. data/lib/fog/rackspace/requests/auto_scale/get_webhook.rb +39 -0
  160. data/lib/fog/rackspace/requests/auto_scale/list_groups.rb +35 -0
  161. data/lib/fog/rackspace/requests/auto_scale/list_policies.rb +23 -0
  162. data/lib/fog/rackspace/requests/auto_scale/list_webhooks.rb +33 -0
  163. data/lib/fog/rackspace/requests/auto_scale/pause_group_state.rb +23 -0
  164. data/lib/fog/rackspace/requests/auto_scale/resume_group_state.rb +23 -0
  165. data/lib/fog/rackspace/requests/auto_scale/update_group_config.rb +39 -0
  166. data/lib/fog/rackspace/requests/auto_scale/update_launch_config.rb +36 -0
  167. data/lib/fog/rackspace/requests/auto_scale/update_policy.rb +33 -0
  168. data/lib/fog/rackspace/requests/auto_scale/update_webhook.rb +44 -0
  169. data/lib/fog/rackspace/requests/compute_v2/delete_server.rb +2 -2
  170. data/lib/fog/rackspace/requests/load_balancers/create_load_balancer.rb +5 -6
  171. data/lib/fog/rackspace/requests/load_balancers/delete_load_balancer.rb +10 -0
  172. data/lib/fog/rackspace/requests/load_balancers/get_load_balancer.rb +30 -0
  173. data/lib/fog/rackspace/requests/monitoring/create_agent_token.rb +31 -0
  174. data/lib/fog/rackspace/requests/monitoring/create_alarm.rb +32 -0
  175. data/lib/fog/rackspace/requests/monitoring/create_check.rb +31 -0
  176. data/lib/fog/rackspace/requests/monitoring/create_entity.rb +32 -0
  177. data/lib/fog/rackspace/requests/monitoring/create_notification.rb +18 -0
  178. data/lib/fog/rackspace/requests/monitoring/delete_agent_token.rb +32 -0
  179. data/lib/fog/rackspace/requests/monitoring/delete_alarm.rb +27 -0
  180. data/lib/fog/rackspace/requests/monitoring/delete_check.rb +26 -0
  181. data/lib/fog/rackspace/requests/monitoring/delete_entity.rb +27 -0
  182. data/lib/fog/rackspace/requests/monitoring/delete_notification.rb +16 -0
  183. data/lib/fog/rackspace/requests/monitoring/get_agent_token.rb +33 -0
  184. data/lib/fog/rackspace/requests/monitoring/get_alarm.rb +38 -0
  185. data/lib/fog/rackspace/requests/monitoring/get_check.rb +41 -0
  186. data/lib/fog/rackspace/requests/monitoring/get_entity.rb +30 -21
  187. data/lib/fog/rackspace/requests/monitoring/get_notification.rb +50 -0
  188. data/lib/fog/rackspace/requests/monitoring/list_agent_tokens.rb +39 -0
  189. data/lib/fog/rackspace/requests/monitoring/list_alarms.rb +50 -0
  190. data/lib/fog/rackspace/requests/monitoring/list_check_types.rb +72 -0
  191. data/lib/fog/rackspace/requests/monitoring/list_checks.rb +54 -0
  192. data/lib/fog/rackspace/requests/monitoring/list_data_points.rb +37 -0
  193. data/lib/fog/rackspace/requests/monitoring/list_entities.rb +53 -0
  194. data/lib/fog/rackspace/requests/monitoring/list_metrics.rb +65 -0
  195. data/lib/fog/rackspace/requests/monitoring/list_notification_plans.rb +55 -0
  196. data/lib/fog/rackspace/requests/monitoring/list_notifications.rb +67 -0
  197. data/lib/fog/rackspace/requests/monitoring/list_overview.rb +97 -1
  198. data/lib/fog/rackspace/requests/monitoring/update_alarm.rb +33 -2
  199. data/lib/fog/rackspace/requests/monitoring/update_check.rb +32 -2
  200. data/lib/fog/rackspace/requests/monitoring/update_entity.rb +33 -2
  201. data/lib/fog/rackspace/requests/monitoring/update_notification.rb +17 -0
  202. data/lib/fog/rackspace/requests/storage/get_object.rb +7 -9
  203. data/lib/fog/rackspace/service.rb +16 -8
  204. data/lib/fog/rackspace/storage.rb +2 -2
  205. data/lib/fog/vcloud_director.rb +11 -0
  206. data/lib/fog/vcloud_director/README.md +967 -0
  207. data/lib/fog/vcloud_director/compute.rb +398 -0
  208. data/lib/fog/vcloud_director/generators/compute/customization.rb +100 -0
  209. data/lib/fog/vcloud_director/generators/compute/disks.rb +175 -0
  210. data/lib/fog/vcloud_director/generators/compute/metadata.rb +105 -0
  211. data/lib/fog/vcloud_director/generators/compute/vm_network.rb +122 -0
  212. data/lib/fog/vcloud_director/models/compute/catalog.rb +25 -0
  213. data/lib/fog/vcloud_director/models/compute/catalog_item.rb +25 -0
  214. data/lib/fog/vcloud_director/models/compute/catalog_items.rb +32 -0
  215. data/lib/fog/vcloud_director/models/compute/catalogs.rb +32 -0
  216. data/lib/fog/vcloud_director/models/compute/disk.rb +51 -0
  217. data/lib/fog/vcloud_director/models/compute/disks.rb +40 -0
  218. data/lib/fog/vcloud_director/models/compute/network.rb +26 -0
  219. data/lib/fog/vcloud_director/models/compute/networks.rb +31 -0
  220. data/lib/fog/vcloud_director/models/compute/organization.rb +41 -0
  221. data/lib/fog/vcloud_director/models/compute/organizations.rb +30 -0
  222. data/lib/fog/vcloud_director/models/compute/tag.rb +36 -0
  223. data/lib/fog/vcloud_director/models/compute/tags.rb +51 -0
  224. data/lib/fog/vcloud_director/models/compute/task.rb +58 -0
  225. data/lib/fog/vcloud_director/models/compute/tasks.rb +31 -0
  226. data/lib/fog/vcloud_director/models/compute/vapp.rb +56 -0
  227. data/lib/fog/vcloud_director/models/compute/vapps.rb +34 -0
  228. data/lib/fog/vcloud_director/models/compute/vdc.rb +33 -0
  229. data/lib/fog/vcloud_director/models/compute/vdcs.rb +32 -0
  230. data/lib/fog/vcloud_director/models/compute/vm.rb +99 -0
  231. data/lib/fog/vcloud_director/models/compute/vm_customization.rb +40 -0
  232. data/lib/fog/vcloud_director/models/compute/vm_customizations.rb +16 -0
  233. data/lib/fog/vcloud_director/models/compute/vm_network.rb +30 -0
  234. data/lib/fog/vcloud_director/models/compute/vm_networks.rb +21 -0
  235. data/lib/fog/vcloud_director/models/compute/vms.rb +41 -0
  236. data/lib/fog/vcloud_director/parsers/compute/disks.rb +57 -0
  237. data/lib/fog/vcloud_director/parsers/compute/metadata.rb +66 -0
  238. data/lib/fog/vcloud_director/parsers/compute/network.rb +108 -0
  239. data/lib/fog/vcloud_director/parsers/compute/vm.rb +82 -0
  240. data/lib/fog/vcloud_director/parsers/compute/vm_customization.rb +56 -0
  241. data/lib/fog/vcloud_director/parsers/compute/vm_network.rb +111 -0
  242. data/lib/fog/vcloud_director/parsers/compute/vms.rb +96 -0
  243. data/lib/fog/vcloud_director/parsers/compute/vms_by_metadata.rb +41 -0
  244. data/lib/fog/vcloud_director/requests/compute/delete_metadata.rb +20 -0
  245. data/lib/fog/vcloud_director/requests/compute/delete_vapp.rb +20 -0
  246. data/lib/fog/vcloud_director/requests/compute/get_catalog.rb +18 -0
  247. data/lib/fog/vcloud_director/requests/compute/get_catalog_item.rb +18 -0
  248. data/lib/fog/vcloud_director/requests/compute/get_current_session.rb +75 -0
  249. data/lib/fog/vcloud_director/requests/compute/get_href.rb +19 -0
  250. data/lib/fog/vcloud_director/requests/compute/get_metadata.rb +20 -0
  251. data/lib/fog/vcloud_director/requests/compute/get_network.rb +21 -0
  252. data/lib/fog/vcloud_director/requests/compute/get_organization.rb +72 -0
  253. data/lib/fog/vcloud_director/requests/compute/get_organizations.rb +37 -0
  254. data/lib/fog/vcloud_director/requests/compute/get_request.rb +17 -0
  255. data/lib/fog/vcloud_director/requests/compute/get_supported_versions.rb +1160 -0
  256. data/lib/fog/vcloud_director/requests/compute/get_task.rb +18 -0
  257. data/lib/fog/vcloud_director/requests/compute/get_tasks_list.rb +18 -0
  258. data/lib/fog/vcloud_director/requests/compute/get_vapp.rb +18 -0
  259. data/lib/fog/vcloud_director/requests/compute/get_vapp_template.rb +18 -0
  260. data/lib/fog/vcloud_director/requests/compute/get_vdc.rb +154 -0
  261. data/lib/fog/vcloud_director/requests/compute/get_vm.rb +20 -0
  262. data/lib/fog/vcloud_director/requests/compute/get_vm_cpu.rb +18 -0
  263. data/lib/fog/vcloud_director/requests/compute/get_vm_customization.rb +20 -0
  264. data/lib/fog/vcloud_director/requests/compute/get_vm_disks.rb +20 -0
  265. data/lib/fog/vcloud_director/requests/compute/get_vm_memory.rb +18 -0
  266. data/lib/fog/vcloud_director/requests/compute/get_vm_network.rb +20 -0
  267. data/lib/fog/vcloud_director/requests/compute/get_vms.rb +20 -0
  268. data/lib/fog/vcloud_director/requests/compute/get_vms_by_metadata.rb +20 -0
  269. data/lib/fog/vcloud_director/requests/compute/helper.rb +93 -0
  270. data/lib/fog/vcloud_director/requests/compute/instantiate_vapp_template.rb +124 -0
  271. data/lib/fog/vcloud_director/requests/compute/post_task_cancel.rb +25 -0
  272. data/lib/fog/vcloud_director/requests/compute/post_vapp_undeploy.rb +26 -0
  273. data/lib/fog/vcloud_director/requests/compute/post_vm_metadata.rb +29 -0
  274. data/lib/fog/vcloud_director/requests/compute/post_vm_poweroff.rb +18 -0
  275. data/lib/fog/vcloud_director/requests/compute/post_vm_poweron.rb +18 -0
  276. data/lib/fog/vcloud_director/requests/compute/put_metadata_value.rb +25 -0
  277. data/lib/fog/vcloud_director/requests/compute/put_vm_cpu.rb +34 -0
  278. data/lib/fog/vcloud_director/requests/compute/put_vm_customization.rb +24 -0
  279. data/lib/fog/vcloud_director/requests/compute/put_vm_disks.rb +25 -0
  280. data/lib/fog/vcloud_director/requests/compute/put_vm_memory.rb +34 -0
  281. data/lib/fog/vcloud_director/requests/compute/put_vm_network.rb +24 -0
  282. data/tests/aws/models/auto_scaling/groups_test.rb +5 -0
  283. data/tests/aws/models/compute/subnet_tests.rb +1 -1
  284. data/tests/aws/models/compute/subnets_tests.rb +1 -1
  285. data/tests/aws/requests/data_pipeline/helper.rb +38 -8
  286. data/tests/aws/requests/data_pipeline/pipeline_tests.rb +25 -1
  287. data/tests/aws/requests/elasticache/security_group_tests.rb +3 -2
  288. data/tests/aws/requests/redshift/cluster_parameter_group_tests.rb +77 -0
  289. data/tests/aws/requests/redshift/cluster_security_group_tests.rb +44 -0
  290. data/tests/aws/requests/redshift/cluster_snapshot_tests.rb +75 -0
  291. data/tests/aws/requests/redshift/cluster_tests.rb +82 -0
  292. data/tests/aws/requests/sts/get_federation_token_tests.rb +0 -1
  293. data/tests/aws/signed_params_tests.rb +12 -0
  294. data/tests/brightbox/compute/helper.rb +1 -0
  295. data/tests/brightbox/compute/schema.rb +696 -0
  296. data/tests/brightbox/requests/compute/account_tests.rb +7 -7
  297. data/tests/brightbox/requests/compute/api_client_tests.rb +6 -6
  298. data/tests/brightbox/requests/compute/application_test.rb +6 -6
  299. data/tests/brightbox/requests/compute/cloud_ip_tests.rb +7 -7
  300. data/tests/brightbox/requests/compute/firewall_policy_tests.rb +5 -5
  301. data/tests/brightbox/requests/compute/firewall_rule_tests.rb +4 -4
  302. data/tests/brightbox/requests/compute/helper.rb +0 -688
  303. data/tests/brightbox/requests/compute/image_tests.rb +2 -2
  304. data/tests/brightbox/requests/compute/interface_tests.rb +1 -1
  305. data/tests/brightbox/requests/compute/load_balancer_tests.rb +9 -9
  306. data/tests/brightbox/requests/compute/server_group_tests.rb +8 -8
  307. data/tests/brightbox/requests/compute/server_tests.rb +13 -10
  308. data/tests/brightbox/requests/compute/server_type_tests.rb +2 -2
  309. data/tests/brightbox/requests/compute/user_tests.rb +3 -3
  310. data/tests/brightbox/requests/compute/zone_tests.rb +2 -2
  311. data/tests/compute/helper.rb +3 -2
  312. data/tests/dynect/requests/dns/dns_tests.rb +29 -0
  313. data/tests/helpers/mock_helper.rb +3 -0
  314. data/tests/openstack/requests/compute/server_tests.rb +30 -0
  315. data/tests/openstack/requests/orchestration/stack_tests.rb +30 -0
  316. data/tests/rackspace/auto_scale_tests.rb +84 -0
  317. data/tests/rackspace/models/auto_scale/group.rb +19 -0
  318. data/tests/rackspace/models/auto_scale/groups.rb +13 -0
  319. data/tests/rackspace/models/auto_scale/policies.rb +23 -0
  320. data/tests/rackspace/models/auto_scale/policy.rb +29 -0
  321. data/tests/rackspace/models/auto_scale/webhook.rb +35 -0
  322. data/tests/rackspace/models/auto_scale/webhooks.rb +28 -0
  323. data/tests/rackspace/models/monitoring/notification_tests.rb +19 -0
  324. data/tests/rackspace/models/monitoring/notifications_tests.rb +10 -0
  325. data/tests/rackspace/requests/auto_scale/config_tests.rb +51 -0
  326. data/tests/rackspace/requests/auto_scale/group_tests.rb +38 -0
  327. data/tests/rackspace/requests/auto_scale/helper.rb +181 -0
  328. data/tests/rackspace/requests/auto_scale/policy_tests.rb +61 -0
  329. data/tests/rackspace/requests/auto_scale/webhook_tests.rb +49 -0
  330. data/tests/rackspace/requests/compute_v2/address_tests.rb +1 -1
  331. data/tests/rackspace/requests/monitoring/agent_tests.rb +0 -1
  332. data/tests/rackspace/requests/monitoring/alarm_tests.rb +3 -3
  333. data/tests/rackspace/requests/monitoring/check_tests.rb +0 -1
  334. data/tests/rackspace/requests/monitoring/entity_tests.rb +3 -12
  335. data/tests/rackspace/requests/monitoring/list_tests.rb +18 -6
  336. data/tests/rackspace/requests/monitoring/notification_tests.rb +46 -0
  337. data/tests/vcloud_director/models/compute/catalog_items_tests.rb +42 -0
  338. data/tests/vcloud_director/models/compute/catalogs_tests.rb +42 -0
  339. data/tests/vcloud_director/models/compute/helper.rb +67 -0
  340. data/tests/vcloud_director/models/compute/organizations_tests.rb +22 -0
  341. data/tests/vcloud_director/models/compute/vapp_life_cycle_tests.rb +98 -0
  342. data/tests/vcloud_director/models/compute/vapp_tests.rb +42 -0
  343. data/tests/vcloud_director/models/compute/vdcs_tests.rb +45 -0
  344. data/tests/vcloud_director/models/compute/vms_tests.rb +89 -0
  345. data/tests/vcloud_director/models/tools/reduced_vcr_requests.rb +27 -0
  346. data/tests/vcloud_director/requests/compute/organization_tests.rb +48 -0
  347. data/tests/vcloud_director/requests/compute/session_tests.rb +29 -0
  348. data/tests/vcloud_director/requests/compute/vdc_tests.rb +90 -0
  349. data/tests/vcloud_director/requests/compute/versions_tests.rb +28 -0
  350. metadata +342 -43
@@ -0,0 +1,17 @@
1
+ module Fog
2
+ module Compute
3
+ class VcloudDirector
4
+ class Real
5
+
6
+ def get_request(uri)
7
+ request(
8
+ :expects => 200,
9
+ :method => 'GET',
10
+ :path => uri
11
+ )
12
+ end
13
+
14
+ end
15
+ end
16
+ end
17
+ end
@@ -0,0 +1,1160 @@
1
+ module Fog
2
+ module Compute
3
+ class VcloudDirector
4
+ class Real
5
+ # Retrieve the supported versions.
6
+ #
7
+ # === Returns
8
+ # * response<~Excon::Response>:
9
+ # * body<~Hash>:
10
+ #
11
+ # {vCloud API Documentation}[http://pubs.vmware.com/vcd-55/topic/com.vmware.vcloud.api.reference.doc_55/doc/operations/GET-SupportedVersions.html]
12
+ def get_supported_versions
13
+ @connection.request(
14
+ :expects => 200,
15
+ :host => @host,
16
+ :idempotent => true,
17
+ :method => 'GET',
18
+ :parser => Fog::ToHashDocument.new,
19
+ :path => "#{@path}/versions"
20
+ )
21
+ end
22
+ end
23
+
24
+ class Mock
25
+ def get_supported_versions
26
+ body =
27
+ {:xmlns=>"http://www.vmware.com/vcloud/versions",
28
+ :xmlns_xsi=>xmlns_xsi,
29
+ :xsi_schemaLocation=>xsi_schema_location,
30
+ :VersionInfo=>
31
+ [{:Version=>"1.5",
32
+ :LoginUrl=>make_href("sessions"),
33
+ :MediaTypeMapping=>
34
+ [{:MediaType=>
35
+ "application/vnd.vmware.vcloud.instantiateVAppTemplateParams+xml",
36
+ :ComplexTypeName=>"InstantiateVAppTemplateParamsType",
37
+ :SchemaLocation=>
38
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
39
+ {:MediaType=>"application/vnd.vmware.admin.vmwProviderVdcReferences+xml",
40
+ :ComplexTypeName=>"VMWProviderVdcReferencesType",
41
+ :SchemaLocation=>
42
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
43
+ {:MediaType=>"application/vnd.vmware.vcloud.customizationSection+xml",
44
+ :ComplexTypeName=>"CustomizationSectionType",
45
+ :SchemaLocation=>
46
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
47
+ {:MediaType=>"application/vnd.vmware.admin.prepareHostParams+xml",
48
+ :ComplexTypeName=>"PrepareHostParamsType",
49
+ :SchemaLocation=>
50
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
51
+ {:MediaType=>"application/vnd.vmware.vcloud.relocateVmParams+xml",
52
+ :ComplexTypeName=>"RelocateParamsType",
53
+ :SchemaLocation=>
54
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
55
+ {:MediaType=>"application/vnd.vmware.vcloud.org+xml",
56
+ :ComplexTypeName=>"OrgType",
57
+ :SchemaLocation=>
58
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
59
+ {:MediaType=>
60
+ "application/vnd.vmware.admin.vmwExternalNetworkReferences+xml",
61
+ :ComplexTypeName=>"VMWExternalNetworkReferencesType",
62
+ :SchemaLocation=>
63
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
64
+ {:MediaType=>
65
+ "application/vnd.vmware.vcloud.networkConnectionSection+xml",
66
+ :ComplexTypeName=>"NetworkConnectionSectionType",
67
+ :SchemaLocation=>
68
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
69
+ {:MediaType=>"application/vnd.vmware.admin.host+xml",
70
+ :ComplexTypeName=>"HostType",
71
+ :SchemaLocation=>
72
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
73
+ {:MediaType=>"application/vnd.vmware.vcloud.catalogItem+xml",
74
+ :ComplexTypeName=>"CatalogItemType",
75
+ :SchemaLocation=>
76
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
77
+ {:MediaType=>"application/vnd.vmware.vcloud.owner+xml",
78
+ :ComplexTypeName=>"OwnerType",
79
+ :SchemaLocation=>
80
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
81
+ {:MediaType=>"application/vnd.vmware.vcloud.vdc+xml",
82
+ :ComplexTypeName=>"VdcType",
83
+ :SchemaLocation=>
84
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
85
+ {:MediaType=>"application/vnd.vmware.admin.vdc+xml",
86
+ :ComplexTypeName=>"AdminVdcType",
87
+ :SchemaLocation=>
88
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
89
+ {:MediaType=>"application/vnd.vmware.admin.catalog+xml",
90
+ :ComplexTypeName=>"AdminCatalogType",
91
+ :SchemaLocation=>
92
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
93
+ {:MediaType=>"application/vnd.vmware.vcloud.recomposeVAppParams+xml",
94
+ :ComplexTypeName=>"RecomposeVAppParamsType",
95
+ :SchemaLocation=>
96
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
97
+ {:MediaType=>
98
+ "application/vnd.vmware.admin.importVmIntoExistingVAppParams+xml",
99
+ :ComplexTypeName=>"ImportVmIntoExistingVAppParamsType",
100
+ :SchemaLocation=>
101
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
102
+ {:MediaType=>
103
+ "application/vnd.vmware.admin.taskExtensionRequestUpdateProgressOperationParams+xml",
104
+ :ComplexTypeName=>"TaskExtensionRequestUpdateProgressParamsType",
105
+ :SchemaLocation=>
106
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
107
+ {:MediaType=>"application/vnd.vmware.vcloud.catalog+xml",
108
+ :ComplexTypeName=>"CatalogType",
109
+ :SchemaLocation=>
110
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
111
+ {:MediaType=>"application/vnd.vmware.vcloud.cloneVAppTemplateParams+xml",
112
+ :ComplexTypeName=>"CloneVAppTemplateParamsType",
113
+ :SchemaLocation=>
114
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
115
+ {:MediaType=>"application/vnd.vmware.admin.providervdc+xml",
116
+ :ComplexTypeName=>"ProviderVdcType",
117
+ :SchemaLocation=>
118
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
119
+ {:MediaType=>"application/vnd.vmware.admin.vmsObjectRefsList+xml",
120
+ :ComplexTypeName=>"VmObjectRefsListType",
121
+ :SchemaLocation=>
122
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
123
+ {:MediaType=>"application/vnd.vmware.vcloud.undeployVAppParams+xml",
124
+ :ComplexTypeName=>"UndeployVAppParamsType",
125
+ :SchemaLocation=>
126
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
127
+ {:MediaType=>"application/vnd.vmware.admin.vdcReferences+xml",
128
+ :ComplexTypeName=>"VdcReferencesType",
129
+ :SchemaLocation=>
130
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
131
+ {:MediaType=>
132
+ "application/vnd.vmware.admin.systemPasswordPolicySettings+xml",
133
+ :ComplexTypeName=>"SystemPasswordPolicySettingsType",
134
+ :SchemaLocation=>
135
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
136
+ {:MediaType=>"application/vnd.vmware.vcloud.vApp+xml",
137
+ :ComplexTypeName=>"VAppType",
138
+ :SchemaLocation=>
139
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
140
+ {:MediaType=>"application/vnd.vmware.admin.taskExtensionRequest+xml",
141
+ :ComplexTypeName=>"TaskExtensionRequestType",
142
+ :SchemaLocation=>
143
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
144
+ {:MediaType=>"application/vnd.vmware.admin.vimServerNetworks+xml",
145
+ :ComplexTypeName=>"VimObjectRefListType",
146
+ :SchemaLocation=>
147
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
148
+ {:MediaType=>"application/vnd.vmware.admin.vmwprovidervdc+xml",
149
+ :ComplexTypeName=>"VMWProviderVdcType",
150
+ :SchemaLocation=>
151
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
152
+ {:MediaType=>"application/vnd.vmware.admin.orgSettings+xml",
153
+ :ComplexTypeName=>"OrgSettingsType",
154
+ :SchemaLocation=>
155
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
156
+ {:MediaType=>"application/vnd.vmware.vcloud.captureVAppParams+xml",
157
+ :ComplexTypeName=>"CaptureVAppParamsType",
158
+ :SchemaLocation=>
159
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
160
+ {:MediaType=>"application/vnd.vmware.vcloud.screenTicket+xml",
161
+ :ComplexTypeName=>"ScreenTicketType",
162
+ :SchemaLocation=>
163
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
164
+ {:MediaType=>"application/vnd.vmware.vcloud.runtimeInfoSection+xml",
165
+ :ComplexTypeName=>"RuntimeInfoSectionType",
166
+ :SchemaLocation=>
167
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
168
+ {:MediaType=>"application/vnd.vmware.vcloud.tasksList+xml",
169
+ :ComplexTypeName=>"TasksListType",
170
+ :SchemaLocation=>
171
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
172
+ {:MediaType=>"application/vnd.vmware.admin.amqpSettingsTest+xml",
173
+ :ComplexTypeName=>"AmqpSettingsTestType",
174
+ :SchemaLocation=>
175
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
176
+ {:MediaType=>"application/vnd.vmware.admin.extensionSettings+xml",
177
+ :ComplexTypeName=>"TaskExtensionSettingsType",
178
+ :SchemaLocation=>
179
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
180
+ {:MediaType=>
181
+ "application/vnd.vmware.admin.importVmAsVAppTemplateParams+xml",
182
+ :ComplexTypeName=>"ImportVmAsVAppTemplateParamsType",
183
+ :SchemaLocation=>
184
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
185
+ {:MediaType=>
186
+ "application/vnd.vmware.admin.organizationGeneralSettings+xml",
187
+ :ComplexTypeName=>"OrgGeneralSettingsType",
188
+ :SchemaLocation=>
189
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
190
+ {:MediaType=>"application/vnd.vmware.admin.registerVimServerParams+xml",
191
+ :ComplexTypeName=>"RegisterVimServerParamsType",
192
+ :SchemaLocation=>
193
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
194
+ {:MediaType=>"application/vnd.vmware.admin.network+xml",
195
+ :ComplexTypeName=>"OrgNetworkType",
196
+ :SchemaLocation=>
197
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
198
+ {:MediaType=>
199
+ "application/vnd.vmware.vcloud.uploadVAppTemplateParams+xml",
200
+ :ComplexTypeName=>"UploadVAppTemplateParamsType",
201
+ :SchemaLocation=>
202
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
203
+ {:MediaType=>"application/vnd.vmware.admin.datastore+xml",
204
+ :ComplexTypeName=>"DatastoreType",
205
+ :SchemaLocation=>
206
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
207
+ {:MediaType=>"application/vnd.vmware.vcloud.metadata+xml",
208
+ :ComplexTypeName=>"MetadataType",
209
+ :SchemaLocation=>
210
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
211
+ {:MediaType=>"application/vnd.vmware.admin.licensingReportList+xml",
212
+ :ComplexTypeName=>"LicensingReportListType",
213
+ :SchemaLocation=>
214
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
215
+ {:MediaType=>"application/vnd.vmware.admin.vmwNetworkPool+xml",
216
+ :ComplexTypeName=>"VMWNetworkPoolType",
217
+ :SchemaLocation=>
218
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
219
+ {:MediaType=>"application/vnd.vmware.admin.systemSettings+xml",
220
+ :ComplexTypeName=>"SystemSettingsType",
221
+ :SchemaLocation=>
222
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
223
+ {:MediaType=>"application/vnd.vmware.admin.vmwHostReferences+xml",
224
+ :ComplexTypeName=>"VMWHostReferencesType",
225
+ :SchemaLocation=>
226
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
227
+ {:MediaType=>
228
+ "application/vnd.vmware.admin.taskExtensionRequestOperationParams+xml",
229
+ :ComplexTypeName=>"TaskExtensionRequestOperationParamsType",
230
+ :SchemaLocation=>
231
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
232
+ {:MediaType=>"application/vnd.vmware.vcloud.metadata.value+xml",
233
+ :ComplexTypeName=>"MetadataValueType",
234
+ :SchemaLocation=>
235
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
236
+ {:MediaType=>"application/vnd.vmware.admin.taskOperationList+xml",
237
+ :ComplexTypeName=>"TaskOperationListType",
238
+ :SchemaLocation=>
239
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
240
+ {:MediaType=>"application/vnd.vmware.vcloud.media+xml",
241
+ :ComplexTypeName=>"MediaType",
242
+ :SchemaLocation=>
243
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
244
+ {:MediaType=>"application/vnd.vmware.vcloud.productSections+xml",
245
+ :ComplexTypeName=>"ProductSectionListType",
246
+ :SchemaLocation=>
247
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
248
+ {:MediaType=>"application/vnd.vmware.admin.amqpSettings+xml",
249
+ :ComplexTypeName=>"AmqpSettingsType",
250
+ :SchemaLocation=>
251
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
252
+ {:MediaType=>"application/vnd.vmware.vcloud.vAppTemplate+xml",
253
+ :ComplexTypeName=>"VAppTemplateType",
254
+ :SchemaLocation=>
255
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
256
+ {:MediaType=>"application/vnd.vmware.vcloud.deployVAppParams+xml",
257
+ :ComplexTypeName=>"DeployVAppParamsType",
258
+ :SchemaLocation=>
259
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
260
+ {:MediaType=>
261
+ "application/vnd.vmware.admin.importVmIntoExistingVAppTemplateParams+xml",
262
+ :ComplexTypeName=>"ImportVmIntoExistingVAppTemplateParamsType",
263
+ :SchemaLocation=>
264
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
265
+ {:MediaType=>"application/vnd.vmware.admin.resourcePoolList+xml",
266
+ :ComplexTypeName=>"ResourcePoolListType",
267
+ :SchemaLocation=>
268
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
269
+ {:MediaType=>"application/vnd.vmware.vcloud.networkConfigSection+xml",
270
+ :ComplexTypeName=>"NetworkConfigSectionType",
271
+ :SchemaLocation=>
272
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
273
+ {:MediaType=>
274
+ "application/vnd.vmware.admin.OrganizationVdcResourcePoolSet+xml",
275
+ :ComplexTypeName=>"OrganizationResourcePoolSetType",
276
+ :SchemaLocation=>
277
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
278
+ {:MediaType=>
279
+ "application/vnd.vmware.admin.organizationPasswordPolicySettings+xml",
280
+ :ComplexTypeName=>"OrgPasswordPolicySettingsType",
281
+ :SchemaLocation=>
282
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
283
+ {:MediaType=>"application/vnd.vmware.admin.publishCatalogParams+xml",
284
+ :ComplexTypeName=>"PublishCatalogParamsType",
285
+ :SchemaLocation=>
286
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
287
+ {:MediaType=>"application/vnd.vmware.admin.vmwExtension+xml",
288
+ :ComplexTypeName=>"VMWExtensionType",
289
+ :SchemaLocation=>
290
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
291
+ {:MediaType=>
292
+ "application/vnd.vmware.vcloud.mediaInsertOrEjectParams+xml",
293
+ :ComplexTypeName=>"MediaInsertOrEjectParamsType",
294
+ :SchemaLocation=>
295
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
296
+ {:MediaType=>"application/vnd.vmware.vcloud.vmPendingQuestion+xml",
297
+ :ComplexTypeName=>"VmPendingQuestionType",
298
+ :SchemaLocation=>
299
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
300
+ {:MediaType=>"application/vnd.vmware.admin.notificationsSettings+xml",
301
+ :ComplexTypeName=>"NotificationsSettingsType",
302
+ :SchemaLocation=>
303
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
304
+ {:MediaType=>"application/vnd.vmware.admin.ldapUserSettings+xml",
305
+ :ComplexTypeName=>"LdapUserAttributesType",
306
+ :SchemaLocation=>
307
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
308
+ {:MediaType=>"application/vnd.vmware.admin.right+xml",
309
+ :ComplexTypeName=>"RightType",
310
+ :SchemaLocation=>
311
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
312
+ {:MediaType=>"application/vnd.vmware.admin.ldapSettings+xml",
313
+ :ComplexTypeName=>"LdapSettingsType",
314
+ :SchemaLocation=>
315
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
316
+ {:MediaType=>"application/vnd.vmware.admin.organization+xml",
317
+ :ComplexTypeName=>"AdminOrgType",
318
+ :SchemaLocation=>
319
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
320
+ {:MediaType=>"application/vnd.vmware.vcloud.orgList+xml",
321
+ :ComplexTypeName=>"OrgListType",
322
+ :SchemaLocation=>
323
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
324
+ {:MediaType=>
325
+ "application/vnd.vmware.admin.vAppTemplateLeaseSettings+xml",
326
+ :ComplexTypeName=>"OrgVAppTemplateLeaseSettingsType",
327
+ :SchemaLocation=>
328
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
329
+ {:MediaType=>"application/vnd.vmware.admin.vmwVimServerReferences+xml",
330
+ :ComplexTypeName=>"VMWVimServerReferencesType",
331
+ :SchemaLocation=>
332
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
333
+ {:MediaType=>"application/vnd.vmware.admin.vmwexternalnet+xml",
334
+ :ComplexTypeName=>"VMWExternalNetworkType",
335
+ :SchemaLocation=>
336
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
337
+ {:MediaType=>"application/vnd.vmware.vcloud.entity+xml",
338
+ :ComplexTypeName=>"EntityType",
339
+ :SchemaLocation=>
340
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
341
+ {:MediaType=>"application/vnd.vmware.vcloud.cloneMediaParams+xml",
342
+ :ComplexTypeName=>"CloneMediaParamsType",
343
+ :SchemaLocation=>
344
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
345
+ {:MediaType=>"application/vnd.vmware.admin.licensingReport+xml",
346
+ :ComplexTypeName=>"LicensingReportType",
347
+ :SchemaLocation=>
348
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
349
+ {:MediaType=>"application/vnd.vmware.admin.importMediaParams+xml",
350
+ :ComplexTypeName=>"ImportMediaParamsType",
351
+ :SchemaLocation=>
352
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
353
+ {:MediaType=>
354
+ "application/vnd.vmware.admin.resourcePoolSetUpdateParams+xml",
355
+ :ComplexTypeName=>"UpdateResourcePoolSetParamsType",
356
+ :SchemaLocation=>
357
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
358
+ {:MediaType=>"application/vnd.vmware.admin.taskExtensionRequestList+xml",
359
+ :ComplexTypeName=>"ReferencesType",
360
+ :SchemaLocation=>
361
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
362
+ {:MediaType=>"application/vnd.vmware.vcloud.vmPendingAnswer+xml",
363
+ :ComplexTypeName=>"VmQuestionAnswerType",
364
+ :SchemaLocation=>
365
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
366
+ {:MediaType=>"application/vnd.vmware.vcloud.rasdItemsList+xml",
367
+ :ComplexTypeName=>"RasdItemsListType",
368
+ :SchemaLocation=>
369
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
370
+ {:MediaType=>"application/vnd.vmware.admin.generalSettings+xml",
371
+ :ComplexTypeName=>"GeneralSettingsType",
372
+ :SchemaLocation=>
373
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
374
+ {:MediaType=>"application/vnd.vmware.admin.vmwNetworkPoolReferences+xml",
375
+ :ComplexTypeName=>"VMWNetworkPoolReferencesType",
376
+ :SchemaLocation=>
377
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
378
+ {:MediaType=>"application/vnd.vmware.admin.group+xml",
379
+ :ComplexTypeName=>"GroupType",
380
+ :SchemaLocation=>
381
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
382
+ {:MediaType=>"application/vnd.vmware.vcloud.controlAccess+xml",
383
+ :ComplexTypeName=>"ControlAccessParamsType",
384
+ :SchemaLocation=>
385
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
386
+ {:MediaType=>"application/vnd.vmware.admin.ldapGroupSettings+xml",
387
+ :ComplexTypeName=>"LdapGroupAttributesType",
388
+ :SchemaLocation=>
389
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
390
+ {:MediaType=>"application/vnd.vmware.admin.user+xml",
391
+ :ComplexTypeName=>"UserType",
392
+ :SchemaLocation=>
393
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
394
+ {:MediaType=>"application/vnd.vmware.admin.vcloud+xml",
395
+ :ComplexTypeName=>"VCloudType",
396
+ :SchemaLocation=>
397
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
398
+ {:MediaType=>"application/vnd.vmware.admin.uberAdminSettings+xml",
399
+ :ComplexTypeName=>"UberAdminSettingsType",
400
+ :SchemaLocation=>
401
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
402
+ {:MediaType=>"application/vnd.vmware.admin.vmwvirtualcenter+xml",
403
+ :ComplexTypeName=>"VimServerType",
404
+ :SchemaLocation=>
405
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
406
+ {:MediaType=>"application/vnd.vmware.vcloud.leaseSettingsSection+xml",
407
+ :ComplexTypeName=>"LeaseSettingsSectionType",
408
+ :SchemaLocation=>
409
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
410
+ {:MediaType=>"application/vnd.vmware.vcloud.composeVAppParams+xml",
411
+ :ComplexTypeName=>"ComposeVAppParamsType",
412
+ :SchemaLocation=>
413
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
414
+ {:MediaType=>
415
+ "application/vnd.vmware.admin.organizationEmailSettings+xml",
416
+ :ComplexTypeName=>"OrgEmailSettingsType",
417
+ :SchemaLocation=>
418
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
419
+ {:MediaType=>"application/vnd.vmware.vcloud.vm+xml",
420
+ :ComplexTypeName=>"VmType",
421
+ :SchemaLocation=>
422
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
423
+ {:MediaType=>
424
+ "application/vnd.vmware.admin.vmwProviderVdcResourcePoolSet+xml",
425
+ :ComplexTypeName=>"VMWProviderVdcResourcePoolSetType",
426
+ :SchemaLocation=>
427
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
428
+ {:MediaType=>"application/vnd.vmware.vcloud.cloneVAppParams+xml",
429
+ :ComplexTypeName=>"CloneVAppParamsType",
430
+ :SchemaLocation=>
431
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
432
+ {:MediaType=>
433
+ "application/vnd.vmware.vcloud.guestCustomizationSection+xml",
434
+ :ComplexTypeName=>"GuestCustomizationSectionType",
435
+ :SchemaLocation=>
436
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
437
+ {:MediaType=>"application/vnd.vmware.vcloud.task+xml",
438
+ :ComplexTypeName=>"TaskType",
439
+ :SchemaLocation=>
440
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
441
+ {:MediaType=>"application/vnd.vmware.vcloud.session+xml",
442
+ :ComplexTypeName=>"SessionType",
443
+ :SchemaLocation=>
444
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
445
+ {:MediaType=>"application/vnd.vmware.admin.vAppLeaseSettings+xml",
446
+ :ComplexTypeName=>"OrgLeaseSettingsType",
447
+ :SchemaLocation=>
448
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
449
+ {:MediaType=>"application/vnd.vmware.admin.importVmAsVAppParams+xml",
450
+ :ComplexTypeName=>"ImportVmAsVAppParamsType",
451
+ :SchemaLocation=>
452
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
453
+ {:MediaType=>"application/vnd.vmware.admin.role+xml",
454
+ :ComplexTypeName=>"RoleType",
455
+ :SchemaLocation=>
456
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
457
+ {:MediaType=>"application/vnd.vmware.vcloud.rasdItem+xml",
458
+ :ComplexTypeName=>"RASD_Type",
459
+ :SchemaLocation=>
460
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
461
+ {:MediaType=>"application/vnd.vmware.vcloud.startupSection+xml",
462
+ :ComplexTypeName=>"StartupSection_Type",
463
+ :SchemaLocation=>
464
+ "http://schemas.dmtf.org/ovf/envelope/1/dsp8023_1.1.0.xsd"},
465
+ {:MediaType=>"application/vnd.vmware.vcloud.virtualHardwareSection+xml",
466
+ :ComplexTypeName=>"VirtualHardwareSection_Type",
467
+ :SchemaLocation=>
468
+ "http://schemas.dmtf.org/ovf/envelope/1/dsp8023_1.1.0.xsd"},
469
+ {:MediaType=>"application/vnd.vmware.vcloud.operatingSystemSection+xml",
470
+ :ComplexTypeName=>"OperatingSystemSection_Type",
471
+ :SchemaLocation=>
472
+ "http://schemas.dmtf.org/ovf/envelope/1/dsp8023_1.1.0.xsd"},
473
+ {:MediaType=>"application/vnd.vmware.vcloud.networkSection+xml",
474
+ :ComplexTypeName=>"NetworkSection_Type",
475
+ :SchemaLocation=>
476
+ "http://schemas.dmtf.org/ovf/envelope/1/dsp8023_1.1.0.xsd"},
477
+ {:MediaType=>"application/vnd.vmware.vcloud.vAppNetwork+xml",
478
+ :ComplexTypeName=>"VAppNetworkType",
479
+ :SchemaLocation=>
480
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
481
+ {:MediaType=>"application/vnd.vmware.vcloud.network+xml",
482
+ :ComplexTypeName=>"NetworkType",
483
+ :SchemaLocation=>
484
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
485
+ {:MediaType=>"application/vnd.vmware.vcloud.orgNetwork+xml",
486
+ :ComplexTypeName=>"OrgNetworkType",
487
+ :SchemaLocation=>
488
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
489
+ {:MediaType=>"application/vnd.vmware.admin.vmwexternalnet+xml",
490
+ :ComplexTypeName=>"VMWExternalNetworkType",
491
+ :SchemaLocation=>
492
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"}]},
493
+ {:Version=>"5.1",
494
+ :LoginUrl=>make_href("sessions"),
495
+ :MediaTypeMapping=>
496
+ [{:MediaType=>
497
+ "application/vnd.vmware.vcloud.instantiateVAppTemplateParams+xml",
498
+ :ComplexTypeName=>"InstantiateVAppTemplateParamsType",
499
+ :SchemaLocation=>
500
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
501
+ {:MediaType=>"application/vnd.vmware.admin.vmwprovidervdc+xml",
502
+ :ComplexTypeName=>"MergeParamsType",
503
+ :SchemaLocation=>
504
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
505
+ {:MediaType=>
506
+ "application/vnd.vmware.admin.organizationFederationSettings+xml",
507
+ :ComplexTypeName=>"OrgFederationSettingsType",
508
+ :SchemaLocation=>
509
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
510
+ {:MediaType=>"application/vnd.vmware.admin.emailSettings+xml",
511
+ :ComplexTypeName=>"EmailSettingsType",
512
+ :SchemaLocation=>
513
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
514
+ {:MediaType=>"application/vnd.vmware.admin.prepareHostParams+xml",
515
+ :ComplexTypeName=>"PrepareHostParamsType",
516
+ :SchemaLocation=>
517
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
518
+ {:MediaType=>"application/vnd.vmware.vcloud.org+xml",
519
+ :ComplexTypeName=>"OrgType",
520
+ :SchemaLocation=>
521
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
522
+ {:MediaType=>"application/vnd.vmware.admin.aclRule+xml",
523
+ :ComplexTypeName=>"AclRuleType",
524
+ :SchemaLocation=>
525
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
526
+ {:MediaType=>"application/vnd.vmware.admin.organizationLdapSettings+xml",
527
+ :ComplexTypeName=>"OrgLdapSettingsType",
528
+ :SchemaLocation=>
529
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
530
+ {:MediaType=>
531
+ "application/vnd.vmware.vcloud.networkConnectionSection+xml",
532
+ :ComplexTypeName=>"NetworkConnectionSectionType",
533
+ :SchemaLocation=>
534
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
535
+ {:MediaType=>"application/vnd.vmware.vcloud.owner+xml",
536
+ :ComplexTypeName=>"OwnerType",
537
+ :SchemaLocation=>
538
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
539
+ {:MediaType=>"application/vnd.vmware.admin.vdc+xml",
540
+ :ComplexTypeName=>"AdminVdcType",
541
+ :SchemaLocation=>
542
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
543
+ {:MediaType=>
544
+ "application/vnd.vmware.admin.importVmIntoExistingVAppParams+xml",
545
+ :ComplexTypeName=>"ImportVmIntoExistingVAppParamsType",
546
+ :SchemaLocation=>
547
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
548
+ {:MediaType=>"application/vnd.vmware.vcloud.catalog+xml",
549
+ :ComplexTypeName=>"CatalogType",
550
+ :SchemaLocation=>
551
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
552
+ {:MediaType=>"application/vnd.vmware.vcloud.cloneVAppTemplateParams+xml",
553
+ :ComplexTypeName=>"CloneVAppTemplateParamsType",
554
+ :SchemaLocation=>
555
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
556
+ {:MediaType=>"application/vnd.vmware.admin.createVdcParams+xml",
557
+ :ComplexTypeName=>"CreateVdcParamsType",
558
+ :SchemaLocation=>
559
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
560
+ {:MediaType=>"application/vnd.vmware.admin.vmsObjectRefsList+xml",
561
+ :ComplexTypeName=>"VmObjectRefsListType",
562
+ :SchemaLocation=>
563
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
564
+ {:MediaType=>"application/vnd.vmware.vcloud.undeployVAppParams+xml",
565
+ :ComplexTypeName=>"UndeployVAppParamsType",
566
+ :SchemaLocation=>
567
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
568
+ {:MediaType=>"application/vnd.vmware.vcloud.createSnapshotParams+xml",
569
+ :ComplexTypeName=>"CreateSnapshotParamsType",
570
+ :SchemaLocation=>
571
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
572
+ {:MediaType=>"application/vnd.vmware.admin.blockingTask+xml",
573
+ :ComplexTypeName=>"BlockingTaskType",
574
+ :SchemaLocation=>
575
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
576
+ {:MediaType=>"application/vnd.vmware.admin.vmwPvdcStorageProfile+xml",
577
+ :ComplexTypeName=>"VMWProviderVdcStorageProfileType",
578
+ :SchemaLocation=>
579
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
580
+ {:MediaType=>"application/vnd.vmware.vcloud.allocatedNetworkAddress+xml",
581
+ :ComplexTypeName=>"AllocatedIpAddressesType",
582
+ :SchemaLocation=>
583
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
584
+ {:MediaType=>"application/vnd.vmware.admin.vimServerNetworks+xml",
585
+ :ComplexTypeName=>"VimObjectRefListType",
586
+ :SchemaLocation=>
587
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
588
+ {:MediaType=>
589
+ "application/vnd.vmware.admin.blockingTaskOperationParams+xml",
590
+ :ComplexTypeName=>"BlockingTaskOperationParamsType",
591
+ :SchemaLocation=>
592
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
593
+ {:MediaType=>
594
+ "application/vnd.vmware.admin.updateProviderVdcStorageProfiles+xml",
595
+ :ComplexTypeName=>"UpdateProviderVdcStorageProfilesParamsType",
596
+ :SchemaLocation=>
597
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
598
+ {:MediaType=>"application/vnd.vmware.admin.bundleUploadSocket+xml",
599
+ :ComplexTypeName=>"BundleUploadSocketType",
600
+ :SchemaLocation=>
601
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
602
+ {:MediaType=>"application/vnd.vmware.admin.gateway+xml",
603
+ :ComplexTypeName=>"GatewayType",
604
+ :SchemaLocation=>
605
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
606
+ {:MediaType=>"application/vnd.vmware.vcloud.screenTicket+xml",
607
+ :ComplexTypeName=>"ScreenTicketType",
608
+ :SchemaLocation=>
609
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
610
+ {:MediaType=>"application/vnd.vmware.admin.resourceClassAction+xml",
611
+ :ComplexTypeName=>"ResourceClassActionType",
612
+ :SchemaLocation=>
613
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
614
+ {:MediaType=>"application/vnd.vmware.admin.event+xml",
615
+ :ComplexTypeName=>"EventType",
616
+ :SchemaLocation=>
617
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
618
+ {:MediaType=>"application/vnd.vmware.vcloud.tasksList+xml",
619
+ :ComplexTypeName=>"TasksListType",
620
+ :SchemaLocation=>
621
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
622
+ {:MediaType=>"application/vnd.vmware.admin.migrateVmParams+xml",
623
+ :ComplexTypeName=>"MigrateParamsType",
624
+ :SchemaLocation=>
625
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
626
+ {:MediaType=>"application/vnd.vmware.vcloud.diskCreateParams+xml",
627
+ :ComplexTypeName=>"DiskCreateParamsType",
628
+ :SchemaLocation=>
629
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
630
+ {:MediaType=>"application/vnd.vmware.vcloud.registerVAppParams+xml",
631
+ :ComplexTypeName=>"RegisterVAppParamsType",
632
+ :SchemaLocation=>
633
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
634
+ {:MediaType=>
635
+ "application/vnd.vmware.admin.organizationGeneralSettings+xml",
636
+ :ComplexTypeName=>"OrgGeneralSettingsType",
637
+ :SchemaLocation=>
638
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
639
+ {:MediaType=>"application/vnd.vmware.admin.registerVimServerParams+xml",
640
+ :ComplexTypeName=>"RegisterVimServerParamsType",
641
+ :SchemaLocation=>
642
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
643
+ {:MediaType=>"application/vnd.vmware.admin.datastore+xml",
644
+ :ComplexTypeName=>"DatastoreType",
645
+ :SchemaLocation=>
646
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
647
+ {:MediaType=>
648
+ "application/vnd.vmware.vcloud.diskAttachOrDetachParams+xml",
649
+ :ComplexTypeName=>"DiskAttachOrDetachParamsType",
650
+ :SchemaLocation=>
651
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
652
+ {:MediaType=>"application/vnd.vmware.admin.updateRightsParams+xml",
653
+ :ComplexTypeName=>"UpdateRightsParamsType",
654
+ :SchemaLocation=>
655
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
656
+ {:MediaType=>"application/vnd.vmware.vcloud.metadata+xml",
657
+ :ComplexTypeName=>"MetadataType",
658
+ :SchemaLocation=>
659
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
660
+ {:MediaType=>"application/vnd.vmware.admin.vdcStorageProfile+xml",
661
+ :ComplexTypeName=>"AdminVdcStorageProfileType",
662
+ :SchemaLocation=>
663
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
664
+ {:MediaType=>"application/vnd.vmware.admin.systemSettings+xml",
665
+ :ComplexTypeName=>"SystemSettingsType",
666
+ :SchemaLocation=>
667
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
668
+ {:MediaType=>"application/vnd.vmware.admin.vmwHostReferences+xml",
669
+ :ComplexTypeName=>"VMWHostReferencesType",
670
+ :SchemaLocation=>
671
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
672
+ {:MediaType=>"application/vnd.vmware.admin.userEntityRights+xml",
673
+ :ComplexTypeName=>"UserEntityRightsType",
674
+ :SchemaLocation=>
675
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
676
+ {:MediaType=>"application/vnd.vmware.vcloud.metadata.value+xml",
677
+ :ComplexTypeName=>"MetadataValueType",
678
+ :SchemaLocation=>
679
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
680
+ {:MediaType=>"application/vnd.vmware.vcloud.media+xml",
681
+ :ComplexTypeName=>"MediaType",
682
+ :SchemaLocation=>
683
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
684
+ {:MediaType=>"application/vnd.vmware.admin.brandingSettings+xml",
685
+ :ComplexTypeName=>"BrandingSettingsType",
686
+ :SchemaLocation=>
687
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
688
+ {:MediaType=>"application/vnd.vmware.admin.updateVdcStorageProfiles+xml",
689
+ :ComplexTypeName=>"UpdateVdcStorageProfilesType",
690
+ :SchemaLocation=>
691
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
692
+ {:MediaType=>"application/vnd.vmware.admin.amqpSettings+xml",
693
+ :ComplexTypeName=>"AmqpSettingsType",
694
+ :SchemaLocation=>
695
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
696
+ {:MediaType=>"application/vnd.vmware.admin.resourceClass+xml",
697
+ :ComplexTypeName=>"ResourceClassType",
698
+ :SchemaLocation=>
699
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
700
+ {:MediaType=>"application/vnd.vmware.vcloud.deployVAppParams+xml",
701
+ :ComplexTypeName=>"DeployVAppParamsType",
702
+ :SchemaLocation=>
703
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
704
+ {:MediaType=>"application/vnd.vmware.admin.resourcePoolList+xml",
705
+ :ComplexTypeName=>"ResourcePoolListType",
706
+ :SchemaLocation=>
707
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
708
+ {:MediaType=>"application/vnd.vmware.vcloud.vdcStorageProfile+xml",
709
+ :ComplexTypeName=>"VdcStorageProfileType",
710
+ :SchemaLocation=>
711
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
712
+ {:MediaType=>"application/vnd.vmware.vcloud.networkConfigSection+xml",
713
+ :ComplexTypeName=>"NetworkConfigSectionType",
714
+ :SchemaLocation=>
715
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
716
+ {:MediaType=>
717
+ "application/vnd.vmware.admin.OrganizationVdcResourcePoolSet+xml",
718
+ :ComplexTypeName=>"OrganizationResourcePoolSetType",
719
+ :SchemaLocation=>
720
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
721
+ {:MediaType=>"application/vnd.vmware.admin.createProviderVdcParams+xml",
722
+ :ComplexTypeName=>"VMWProviderVdcParamsType",
723
+ :SchemaLocation=>
724
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
725
+ {:MediaType=>"application/vnd.vmware.admin.publishCatalogParams+xml",
726
+ :ComplexTypeName=>"PublishCatalogParamsType",
727
+ :SchemaLocation=>
728
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
729
+ {:MediaType=>"application/vnd.vmware.admin.vmwExtension+xml",
730
+ :ComplexTypeName=>"VMWExtensionType",
731
+ :SchemaLocation=>
732
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
733
+ {:MediaType=>"application/vnd.vmware.admin.notificationsSettings+xml",
734
+ :ComplexTypeName=>"NotificationsSettingsType",
735
+ :SchemaLocation=>
736
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
737
+ {:MediaType=>"application/vnd.vmware.admin.right+xml",
738
+ :ComplexTypeName=>"RightType",
739
+ :SchemaLocation=>
740
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
741
+ {:MediaType=>"application/vnd.vmware.vcloud.supportedSystemsInfo+xml",
742
+ :ComplexTypeName=>"SupportedOperatingSystemsInfoType",
743
+ :SchemaLocation=>
744
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
745
+ {:MediaType=>"application/vnd.vmware.vm.complianceResult+xml",
746
+ :ComplexTypeName=>"ComplianceResultType",
747
+ :SchemaLocation=>
748
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
749
+ {:MediaType=>"application/vnd.vmware.vcloud.orgList+xml",
750
+ :ComplexTypeName=>"OrgListType",
751
+ :SchemaLocation=>
752
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
753
+ {:MediaType=>"application/vnd.vmware.admin.vmwVimServerReferences+xml",
754
+ :ComplexTypeName=>"VMWVimServerReferencesType",
755
+ :SchemaLocation=>
756
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
757
+ {:MediaType=>"application/vnd.vmware.admin.vmwexternalnet+xml",
758
+ :ComplexTypeName=>"VMWExternalNetworkType",
759
+ :SchemaLocation=>
760
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
761
+ {:MediaType=>"application/vnd.vmware.vcloud.entity+xml",
762
+ :ComplexTypeName=>"EntityType",
763
+ :SchemaLocation=>
764
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
765
+ {:MediaType=>"application/vnd.vmware.vcloud.cloneMediaParams+xml",
766
+ :ComplexTypeName=>"CloneMediaParamsType",
767
+ :SchemaLocation=>
768
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
769
+ {:MediaType=>"application/vnd.vmware.admin.licensingReport+xml",
770
+ :ComplexTypeName=>"LicensingReportType",
771
+ :SchemaLocation=>
772
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
773
+ {:MediaType=>"application/vnd.vmware.admin.apiDefinition+xml",
774
+ :ComplexTypeName=>"ApiDefinitionType",
775
+ :SchemaLocation=>
776
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
777
+ {:MediaType=>"application/vnd.vmware.admin.vshieldmanager+xml",
778
+ :ComplexTypeName=>"ShieldManagerType",
779
+ :SchemaLocation=>
780
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
781
+ {:MediaType=>"application/vnd.vmware.admin.blockingTaskList+xml",
782
+ :ComplexTypeName=>"ReferencesType",
783
+ :SchemaLocation=>
784
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
785
+ {:MediaType=>"application/vnd.vmware.vcloud.vmPendingAnswer+xml",
786
+ :ComplexTypeName=>"VmQuestionAnswerType",
787
+ :SchemaLocation=>
788
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
789
+ {:MediaType=>"application/vnd.vmware.vcloud.rasdItemsList+xml",
790
+ :ComplexTypeName=>"RasdItemsListType",
791
+ :SchemaLocation=>
792
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
793
+ {:MediaType=>"application/vnd.vmware.admin.generalSettings+xml",
794
+ :ComplexTypeName=>"GeneralSettingsType",
795
+ :SchemaLocation=>
796
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
797
+ {:MediaType=>"application/vnd.vmware.admin.group+xml",
798
+ :ComplexTypeName=>"GroupType",
799
+ :SchemaLocation=>
800
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
801
+ {:MediaType=>"application/vnd.vmware.vcloud.controlAccess+xml",
802
+ :ComplexTypeName=>"ControlAccessParamsType",
803
+ :SchemaLocation=>
804
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
805
+ {:MediaType=>"application/vnd.vmware.admin.user+xml",
806
+ :ComplexTypeName=>"UserType",
807
+ :SchemaLocation=>
808
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
809
+ {:MediaType=>"application/vnd.vmware.admin.vmwvirtualcenter+xml",
810
+ :ComplexTypeName=>"VimServerType",
811
+ :SchemaLocation=>
812
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
813
+ {:MediaType=>"application/vnd.vmware.admin.strandedItem+xml",
814
+ :ComplexTypeName=>"StrandedItemType",
815
+ :SchemaLocation=>
816
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
817
+ {:MediaType=>"application/vnd.vmware.vcloud.leaseSettingsSection+xml",
818
+ :ComplexTypeName=>"LeaseSettingsSectionType",
819
+ :SchemaLocation=>
820
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
821
+ {:MediaType=>
822
+ "application/vnd.vmware.admin.organizationEmailSettings+xml",
823
+ :ComplexTypeName=>"OrgEmailSettingsType",
824
+ :SchemaLocation=>
825
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
826
+ {:MediaType=>"application/vnd.vmware.vcloud.cloneVAppParams+xml",
827
+ :ComplexTypeName=>"CloneVAppParamsType",
828
+ :SchemaLocation=>
829
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
830
+ {:MediaType=>"application/vnd.vmware.vcloud.task+xml",
831
+ :ComplexTypeName=>"TaskType",
832
+ :SchemaLocation=>
833
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
834
+ {:MediaType=>"application/vnd.vmware.admin.vAppLeaseSettings+xml",
835
+ :ComplexTypeName=>"OrgLeaseSettingsType",
836
+ :SchemaLocation=>
837
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
838
+ {:MediaType=>"application/vnd.vmware.admin.role+xml",
839
+ :ComplexTypeName=>"RoleType",
840
+ :SchemaLocation=>
841
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
842
+ {:MediaType=>"application/vnd.vmware.admin.vmwProviderVdcReferences+xml",
843
+ :ComplexTypeName=>"VMWProviderVdcReferencesType",
844
+ :SchemaLocation=>
845
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
846
+ {:MediaType=>"application/vnd.vmware.vcloud.customizationSection+xml",
847
+ :ComplexTypeName=>"CustomizationSectionType",
848
+ :SchemaLocation=>
849
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
850
+ {:MediaType=>"application/vnd.vmware.admin.service+xml",
851
+ :ComplexTypeName=>"ServiceType",
852
+ :SchemaLocation=>
853
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
854
+ {:MediaType=>"application/vnd.vmware.vcloud.relocateVmParams+xml",
855
+ :ComplexTypeName=>"RelocateParamsType",
856
+ :SchemaLocation=>
857
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
858
+ {:MediaType=>"application/vnd.vmware.admin.rights+xml",
859
+ :ComplexTypeName=>"RightRefsType",
860
+ :SchemaLocation=>
861
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
862
+ {:MediaType=>
863
+ "application/vnd.vmware.admin.vmwExternalNetworkReferences+xml",
864
+ :ComplexTypeName=>"VMWExternalNetworkReferencesType",
865
+ :SchemaLocation=>
866
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
867
+ {:MediaType=>"application/vnd.vmware.vcloud.disk+xml",
868
+ :ComplexTypeName=>"DiskType",
869
+ :SchemaLocation=>
870
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
871
+ {:MediaType=>"application/vnd.vmware.admin.kerberosSettings+xml",
872
+ :ComplexTypeName=>"KerberosSettingsType",
873
+ :SchemaLocation=>
874
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
875
+ {:MediaType=>"application/vnd.vmware.admin.operationLimitsSettings+xml",
876
+ :ComplexTypeName=>"OrgOperationLimitsSettingsType",
877
+ :SchemaLocation=>
878
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
879
+ {:MediaType=>"application/vnd.vmware.admin.host+xml",
880
+ :ComplexTypeName=>"HostType",
881
+ :SchemaLocation=>
882
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
883
+ {:MediaType=>"application/vnd.vmware.vcloud.catalogItem+xml",
884
+ :ComplexTypeName=>"CatalogItemType",
885
+ :SchemaLocation=>
886
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
887
+ {:MediaType=>"application/vnd.vmware.admin.entityReferences+xml",
888
+ :ComplexTypeName=>"EntityReferencesType",
889
+ :SchemaLocation=>
890
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
891
+ {:MediaType=>"application/vnd.vmware.vcloud.vdc+xml",
892
+ :ComplexTypeName=>"VdcType",
893
+ :SchemaLocation=>
894
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
895
+ {:MediaType=>"application/vnd.vmware.admin.catalog+xml",
896
+ :ComplexTypeName=>"AdminCatalogType",
897
+ :SchemaLocation=>
898
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
899
+ {:MediaType=>"application/vnd.vmware.vcloud.recomposeVAppParams+xml",
900
+ :ComplexTypeName=>"RecomposeVAppParamsType",
901
+ :SchemaLocation=>
902
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
903
+ {:MediaType=>"application/vnd.vmware.admin.orgVdcNetwork+xml",
904
+ :ComplexTypeName=>"OrgVdcNetworkType",
905
+ :SchemaLocation=>
906
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
907
+ {:MediaType=>"application/vnd.vmware.admin.providervdc+xml",
908
+ :ComplexTypeName=>"ProviderVdcType",
909
+ :SchemaLocation=>
910
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
911
+ {:MediaType=>
912
+ "application/vnd.vmware.admin.blockingTaskUpdateProgressOperationParams+xml",
913
+ :ComplexTypeName=>"BlockingTaskUpdateProgressParamsType",
914
+ :SchemaLocation=>
915
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
916
+ {:MediaType=>"application/vnd.vmware.admin.vdcReferences+xml",
917
+ :ComplexTypeName=>"VdcReferencesType",
918
+ :SchemaLocation=>
919
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
920
+ {:MediaType=>
921
+ "application/vnd.vmware.admin.systemPasswordPolicySettings+xml",
922
+ :ComplexTypeName=>"SystemPasswordPolicySettingsType",
923
+ :SchemaLocation=>
924
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
925
+ {:MediaType=>"application/vnd.vmware.vcloud.vApp+xml",
926
+ :ComplexTypeName=>"VAppType",
927
+ :SchemaLocation=>
928
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
929
+ {:MediaType=>"application/vnd.vmware.admin.vmwprovidervdc+xml",
930
+ :ComplexTypeName=>"VMWProviderVdcType",
931
+ :SchemaLocation=>
932
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
933
+ {:MediaType=>"application/vnd.vmware.vcloud.vms+xml",
934
+ :ComplexTypeName=>"VmsType",
935
+ :SchemaLocation=>
936
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
937
+ {:MediaType=>"application/vnd.vmware.admin.orgSettings+xml",
938
+ :ComplexTypeName=>"OrgSettingsType",
939
+ :SchemaLocation=>
940
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
941
+ {:MediaType=>"application/vnd.vmware.admin.apiFilter+xml",
942
+ :ComplexTypeName=>"ApiFilterType",
943
+ :SchemaLocation=>
944
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
945
+ {:MediaType=>"application/vnd.vmware.vcloud.captureVAppParams+xml",
946
+ :ComplexTypeName=>"CaptureVAppParamsType",
947
+ :SchemaLocation=>
948
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
949
+ {:MediaType=>"application/vnd.vmware.vcloud.vmCapabilitiesSection+xml",
950
+ :ComplexTypeName=>"VmCapabilitiesType",
951
+ :SchemaLocation=>
952
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
953
+ {:MediaType=>"application/vnd.vmware.vcloud.runtimeInfoSection+xml",
954
+ :ComplexTypeName=>"RuntimeInfoSectionType",
955
+ :SchemaLocation=>
956
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
957
+ {:MediaType=>"application/vnd.vmware.admin.amqpSettingsTest+xml",
958
+ :ComplexTypeName=>"AmqpSettingsTestType",
959
+ :SchemaLocation=>
960
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
961
+ {:MediaType=>
962
+ "application/vnd.vmware.admin.importVmAsVAppTemplateParams+xml",
963
+ :ComplexTypeName=>"ImportVmAsVAppTemplateParamsType",
964
+ :SchemaLocation=>
965
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
966
+ {:MediaType=>
967
+ "application/vnd.vmware.admin.guestPersonalizationSettings+xml",
968
+ :ComplexTypeName=>"OrgGuestPersonalizationSettingsType",
969
+ :SchemaLocation=>
970
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
971
+ {:MediaType=>"application/vnd.vmware.admin.orgNetwork+xml",
972
+ :ComplexTypeName=>"OrgNetworkType",
973
+ :SchemaLocation=>
974
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
975
+ {:MediaType=>"application/vnd.vmware.admin.fileDescriptor+xml",
976
+ :ComplexTypeName=>"FileDescriptorType",
977
+ :SchemaLocation=>
978
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
979
+ {:MediaType=>
980
+ "application/vnd.vmware.vcloud.uploadVAppTemplateParams+xml",
981
+ :ComplexTypeName=>"UploadVAppTemplateParamsType",
982
+ :SchemaLocation=>
983
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
984
+ {:MediaType=>"application/vnd.vmware.admin.licensingReportList+xml",
985
+ :ComplexTypeName=>"LicensingReportListType",
986
+ :SchemaLocation=>
987
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
988
+ {:MediaType=>"application/vnd.vmware.admin.vmwNetworkPool+xml",
989
+ :ComplexTypeName=>"VMWNetworkPoolType",
990
+ :SchemaLocation=>
991
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
992
+ {:MediaType=>"application/vnd.vmware.admin.taskOperationList+xml",
993
+ :ComplexTypeName=>"TaskOperationListType",
994
+ :SchemaLocation=>
995
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
996
+ {:MediaType=>"application/vnd.vmware.admin.vSphereWebClientUrl+xml",
997
+ :ComplexTypeName=>"VSphereWebClientUrlType",
998
+ :SchemaLocation=>
999
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
1000
+ {:MediaType=>"application/vnd.vmware.vcloud.productSections+xml",
1001
+ :ComplexTypeName=>"ProductSectionListType",
1002
+ :SchemaLocation=>
1003
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
1004
+ {:MediaType=>"application/vnd.vmware.admin.blockingTaskSettings+xml",
1005
+ :ComplexTypeName=>"BlockingTaskSettingsType",
1006
+ :SchemaLocation=>
1007
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
1008
+ {:MediaType=>"application/vnd.vmware.vcloud.vAppTemplate+xml",
1009
+ :ComplexTypeName=>"VAppTemplateType",
1010
+ :SchemaLocation=>
1011
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
1012
+ {:MediaType=>
1013
+ "application/vnd.vmware.admin.organizationPasswordPolicySettings+xml",
1014
+ :ComplexTypeName=>"OrgPasswordPolicySettingsType",
1015
+ :SchemaLocation=>
1016
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
1017
+ {:MediaType=>
1018
+ "application/vnd.vmware.vcloud.mediaInsertOrEjectParams+xml",
1019
+ :ComplexTypeName=>"MediaInsertOrEjectParamsType",
1020
+ :SchemaLocation=>
1021
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
1022
+ {:MediaType=>"application/vnd.vmware.vcloud.vmPendingQuestion+xml",
1023
+ :ComplexTypeName=>"VmPendingQuestionType",
1024
+ :SchemaLocation=>
1025
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
1026
+ {:MediaType=>"application/vnd.vmware.admin.organization+xml",
1027
+ :ComplexTypeName=>"AdminOrgType",
1028
+ :SchemaLocation=>
1029
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
1030
+ {:MediaType=>"application/vnd.vmware.admin.ldapSettings+xml",
1031
+ :ComplexTypeName=>"LdapSettingsType",
1032
+ :SchemaLocation=>
1033
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
1034
+ {:MediaType=>"application/vnd.vmware.vcloud.snapshotSection+xml",
1035
+ :ComplexTypeName=>"SnapshotSectionType",
1036
+ :SchemaLocation=>
1037
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
1038
+ {:MediaType=>
1039
+ "application/vnd.vmware.admin.vAppTemplateLeaseSettings+xml",
1040
+ :ComplexTypeName=>"OrgVAppTemplateLeaseSettingsType",
1041
+ :SchemaLocation=>
1042
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
1043
+ {:MediaType=>"application/vnd.vmware.admin.importMediaParams+xml",
1044
+ :ComplexTypeName=>"ImportMediaParamsType",
1045
+ :SchemaLocation=>
1046
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
1047
+ {:MediaType=>
1048
+ "application/vnd.vmware.admin.resourcePoolSetUpdateParams+xml",
1049
+ :ComplexTypeName=>"UpdateResourcePoolSetParamsType",
1050
+ :SchemaLocation=>
1051
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
1052
+ {:MediaType=>"application/vnd.vmware.admin.licenseSettings+xml",
1053
+ :ComplexTypeName=>"LicenseType",
1054
+ :SchemaLocation=>
1055
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
1056
+ {:MediaType=>"application/vnd.vmware.admin.bundleUploadParams+xml",
1057
+ :ComplexTypeName=>"BundleUploadParamsType",
1058
+ :SchemaLocation=>
1059
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
1060
+ {:MediaType=>"application/vnd.vmware.admin.vmwNetworkPoolReferences+xml",
1061
+ :ComplexTypeName=>"VMWNetworkPoolReferencesType",
1062
+ :SchemaLocation=>
1063
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
1064
+ {:MediaType=>"application/vnd.vmware.admin.vcloud+xml",
1065
+ :ComplexTypeName=>"VCloudType",
1066
+ :SchemaLocation=>
1067
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
1068
+ {:MediaType=>"application/vnd.vmware.admin.serviceResource+xml",
1069
+ :ComplexTypeName=>"ServiceResourceType",
1070
+ :SchemaLocation=>
1071
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
1072
+ {:MediaType=>"application/vnd.vmware.vcloud.composeVAppParams+xml",
1073
+ :ComplexTypeName=>"ComposeVAppParamsType",
1074
+ :SchemaLocation=>
1075
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
1076
+ {:MediaType=>
1077
+ "application/vnd.vmware.admin.vmwProviderVdcResourcePool+xml",
1078
+ :ComplexTypeName=>"VMWProviderVdcResourcePoolSetType",
1079
+ :SchemaLocation=>
1080
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
1081
+ {:MediaType=>"application/vnd.vmware.vcloud.vm+xml",
1082
+ :ComplexTypeName=>"VmType",
1083
+ :SchemaLocation=>
1084
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
1085
+ {:MediaType=>
1086
+ "application/vnd.vmware.vcloud.guestCustomizationSection+xml",
1087
+ :ComplexTypeName=>"GuestCustomizationSectionType",
1088
+ :SchemaLocation=>
1089
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
1090
+ {:MediaType=>"application/vnd.vmware.vcloud.session+xml",
1091
+ :ComplexTypeName=>"SessionType",
1092
+ :SchemaLocation=>
1093
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
1094
+ {:MediaType=>"application/vnd.vmware.admin.pvdcStorageProfile+xml",
1095
+ :ComplexTypeName=>"ProviderVdcStorageProfileType",
1096
+ :SchemaLocation=>
1097
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
1098
+ {:MediaType=>"application/vnd.vmware.admin.vmwStorageProfiles+xml",
1099
+ :ComplexTypeName=>"VMWStorageProfilesType",
1100
+ :SchemaLocation=>
1101
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
1102
+ {:MediaType=>"application/vnd.vmware.admin.importVmAsVAppParams+xml",
1103
+ :ComplexTypeName=>"ImportVmAsVAppParamsType",
1104
+ :SchemaLocation=>
1105
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
1106
+ {:MediaType=>"application/vnd.vmware.admin.serviceLink+xml",
1107
+ :ComplexTypeName=>"ServiceLinkType",
1108
+ :SchemaLocation=>
1109
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
1110
+ {:MediaType=>"application/vnd.vmware.vcloud.enableDownloadParams+xml",
1111
+ :ComplexTypeName=>"EnableDownloadParamsType",
1112
+ :SchemaLocation=>
1113
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
1114
+ {:MediaType=>"application/vnd.vmware.vcloud.rasdItem+xml",
1115
+ :ComplexTypeName=>"RASD_Type",
1116
+ :SchemaLocation=>
1117
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
1118
+ {:MediaType=>"application/vnd.vmware.vcloud.startupSection+xml",
1119
+ :ComplexTypeName=>"StartupSection_Type",
1120
+ :SchemaLocation=>
1121
+ "http://schemas.dmtf.org/ovf/envelope/1/dsp8023_1.1.0.xsd"},
1122
+ {:MediaType=>"application/vnd.vmware.vcloud.virtualHardwareSection+xml",
1123
+ :ComplexTypeName=>"VirtualHardwareSection_Type",
1124
+ :SchemaLocation=>
1125
+ "http://schemas.dmtf.org/ovf/envelope/1/dsp8023_1.1.0.xsd"},
1126
+ {:MediaType=>"application/vnd.vmware.vcloud.operatingSystemSection+xml",
1127
+ :ComplexTypeName=>"OperatingSystemSection_Type",
1128
+ :SchemaLocation=>
1129
+ "http://schemas.dmtf.org/ovf/envelope/1/dsp8023_1.1.0.xsd"},
1130
+ {:MediaType=>"application/vnd.vmware.vcloud.networkSection+xml",
1131
+ :ComplexTypeName=>"NetworkSection_Type",
1132
+ :SchemaLocation=>
1133
+ "http://schemas.dmtf.org/ovf/envelope/1/dsp8023_1.1.0.xsd"},
1134
+ {:MediaType=>"application/vnd.vmware.vcloud.vAppNetwork+xml",
1135
+ :ComplexTypeName=>"VAppNetworkType",
1136
+ :SchemaLocation=>
1137
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
1138
+ {:MediaType=>"application/vnd.vmware.vcloud.network+xml",
1139
+ :ComplexTypeName=>"NetworkType",
1140
+ :SchemaLocation=>
1141
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
1142
+ {:MediaType=>"application/vnd.vmware.vcloud.orgNetwork+xml",
1143
+ :ComplexTypeName=>"OrgNetworkType",
1144
+ :SchemaLocation=>
1145
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
1146
+ {:MediaType=>"application/vnd.vmware.admin.vmwexternalnet+xml",
1147
+ :ComplexTypeName=>"VMWExternalNetworkType",
1148
+ :SchemaLocation=>
1149
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"}]}]}
1150
+
1151
+ Excon::Response.new(
1152
+ :body => body,
1153
+ :headers => {'Content-Type' => 'text/xml'},
1154
+ :status => 200
1155
+ )
1156
+ end
1157
+ end
1158
+ end
1159
+ end
1160
+ end