fog-vcloud-director 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (315) hide show
  1. checksums.yaml +7 -0
  2. data/.editorconfig +11 -0
  3. data/.gitignore +17 -0
  4. data/.hound.yml +2 -0
  5. data/.rubocop.yml +240 -0
  6. data/.ruby-gemset +1 -0
  7. data/.travis.yml +15 -0
  8. data/Gemfile +4 -0
  9. data/LICENSE.md +20 -0
  10. data/README.md +962 -0
  11. data/Rakefile +19 -0
  12. data/fog-vcloud-director.gemspec +31 -0
  13. data/lib/fog/vcloud_director.rb +1 -0
  14. data/lib/fog/vcloud_director/compute.rb +916 -0
  15. data/lib/fog/vcloud_director/core.rb +69 -0
  16. data/lib/fog/vcloud_director/generators/compute/compose_common.rb +122 -0
  17. data/lib/fog/vcloud_director/generators/compute/compose_vapp.rb +25 -0
  18. data/lib/fog/vcloud_director/generators/compute/create_snapshot.rb +25 -0
  19. data/lib/fog/vcloud_director/generators/compute/customization.rb +105 -0
  20. data/lib/fog/vcloud_director/generators/compute/disks.rb +186 -0
  21. data/lib/fog/vcloud_director/generators/compute/edge_gateway_service_configuration.rb +243 -0
  22. data/lib/fog/vcloud_director/generators/compute/instantiate_vapp_template_params.rb +30 -0
  23. data/lib/fog/vcloud_director/generators/compute/metadata.rb +104 -0
  24. data/lib/fog/vcloud_director/generators/compute/org_vdc_network.rb +88 -0
  25. data/lib/fog/vcloud_director/generators/compute/recompose_vapp.rb +34 -0
  26. data/lib/fog/vcloud_director/generators/compute/vapp.rb +28 -0
  27. data/lib/fog/vcloud_director/generators/compute/vm.rb +32 -0
  28. data/lib/fog/vcloud_director/generators/compute/vm_network.rb +119 -0
  29. data/lib/fog/vcloud_director/models/compute/catalog.rb +22 -0
  30. data/lib/fog/vcloud_director/models/compute/catalog_item.rb +30 -0
  31. data/lib/fog/vcloud_director/models/compute/catalog_items.rb +33 -0
  32. data/lib/fog/vcloud_director/models/compute/catalogs.rb +30 -0
  33. data/lib/fog/vcloud_director/models/compute/custom_field.rb +18 -0
  34. data/lib/fog/vcloud_director/models/compute/custom_fields.rb +67 -0
  35. data/lib/fog/vcloud_director/models/compute/disk.rb +53 -0
  36. data/lib/fog/vcloud_director/models/compute/disks.rb +44 -0
  37. data/lib/fog/vcloud_director/models/compute/media.rb +26 -0
  38. data/lib/fog/vcloud_director/models/compute/medias.rb +75 -0
  39. data/lib/fog/vcloud_director/models/compute/network.rb +25 -0
  40. data/lib/fog/vcloud_director/models/compute/networks.rb +62 -0
  41. data/lib/fog/vcloud_director/models/compute/organization.rb +37 -0
  42. data/lib/fog/vcloud_director/models/compute/organizations.rb +28 -0
  43. data/lib/fog/vcloud_director/models/compute/tag.rb +31 -0
  44. data/lib/fog/vcloud_director/models/compute/tags.rb +41 -0
  45. data/lib/fog/vcloud_director/models/compute/task.rb +55 -0
  46. data/lib/fog/vcloud_director/models/compute/tasks.rb +36 -0
  47. data/lib/fog/vcloud_director/models/compute/template_vm.rb +52 -0
  48. data/lib/fog/vcloud_director/models/compute/template_vms.rb +41 -0
  49. data/lib/fog/vcloud_director/models/compute/vapp.rb +144 -0
  50. data/lib/fog/vcloud_director/models/compute/vapp_template.rb +26 -0
  51. data/lib/fog/vcloud_director/models/compute/vapp_templates.rb +40 -0
  52. data/lib/fog/vcloud_director/models/compute/vapps.rb +40 -0
  53. data/lib/fog/vcloud_director/models/compute/vdc.rb +45 -0
  54. data/lib/fog/vcloud_director/models/compute/vdcs.rb +37 -0
  55. data/lib/fog/vcloud_director/models/compute/vm.rb +197 -0
  56. data/lib/fog/vcloud_director/models/compute/vm_customization.rb +40 -0
  57. data/lib/fog/vcloud_director/models/compute/vm_customizations.rb +29 -0
  58. data/lib/fog/vcloud_director/models/compute/vm_network.rb +27 -0
  59. data/lib/fog/vcloud_director/models/compute/vm_networks.rb +19 -0
  60. data/lib/fog/vcloud_director/models/compute/vms.rb +46 -0
  61. data/lib/fog/vcloud_director/parsers/compute/disks.rb +53 -0
  62. data/lib/fog/vcloud_director/parsers/compute/metadata.rb +61 -0
  63. data/lib/fog/vcloud_director/parsers/compute/network.rb +104 -0
  64. data/lib/fog/vcloud_director/parsers/compute/vm.rb +86 -0
  65. data/lib/fog/vcloud_director/parsers/compute/vm_customization.rb +55 -0
  66. data/lib/fog/vcloud_director/parsers/compute/vm_network.rb +107 -0
  67. data/lib/fog/vcloud_director/parsers/compute/vm_parser_helper.rb +62 -0
  68. data/lib/fog/vcloud_director/parsers/compute/vms.rb +68 -0
  69. data/lib/fog/vcloud_director/parsers/compute/vms_by_metadata.rb +37 -0
  70. data/lib/fog/vcloud_director/query.rb +59 -0
  71. data/lib/fog/vcloud_director/requests/compute/delete_catalog_item.rb +22 -0
  72. data/lib/fog/vcloud_director/requests/compute/delete_catalog_item_metadata_item_metadata.rb +25 -0
  73. data/lib/fog/vcloud_director/requests/compute/delete_disk.rb +60 -0
  74. data/lib/fog/vcloud_director/requests/compute/delete_disk_metadata_item_metadata.rb +25 -0
  75. data/lib/fog/vcloud_director/requests/compute/delete_logout.rb +18 -0
  76. data/lib/fog/vcloud_director/requests/compute/delete_media.rb +122 -0
  77. data/lib/fog/vcloud_director/requests/compute/delete_media_metadata_item_metadata.rb +25 -0
  78. data/lib/fog/vcloud_director/requests/compute/delete_network.rb +62 -0
  79. data/lib/fog/vcloud_director/requests/compute/delete_shadow_vm.rb +30 -0
  80. data/lib/fog/vcloud_director/requests/compute/delete_vapp.rb +59 -0
  81. data/lib/fog/vcloud_director/requests/compute/delete_vapp_metadata_item_metadata.rb +30 -0
  82. data/lib/fog/vcloud_director/requests/compute/delete_vapp_template.rb +27 -0
  83. data/lib/fog/vcloud_director/requests/compute/delete_vapp_template_metadata_item_metadata.rb +26 -0
  84. data/lib/fog/vcloud_director/requests/compute/get_allocated_ip_addresses.rb +25 -0
  85. data/lib/fog/vcloud_director/requests/compute/get_catalog.rb +63 -0
  86. data/lib/fog/vcloud_director/requests/compute/get_catalog_item.rb +48 -0
  87. data/lib/fog/vcloud_director/requests/compute/get_catalog_item_metadata.rb +25 -0
  88. data/lib/fog/vcloud_director/requests/compute/get_catalog_item_metadata_item_metadata.rb +26 -0
  89. data/lib/fog/vcloud_director/requests/compute/get_catalog_metadata.rb +25 -0
  90. data/lib/fog/vcloud_director/requests/compute/get_catalog_metadata_item_metadata.rb +26 -0
  91. data/lib/fog/vcloud_director/requests/compute/get_catalogs_from_query.rb +94 -0
  92. data/lib/fog/vcloud_director/requests/compute/get_control_access_params_catalog.rb +26 -0
  93. data/lib/fog/vcloud_director/requests/compute/get_control_access_params_vapp.rb +25 -0
  94. data/lib/fog/vcloud_director/requests/compute/get_cpu_rasd_item.rb +65 -0
  95. data/lib/fog/vcloud_director/requests/compute/get_current_session.rb +83 -0
  96. data/lib/fog/vcloud_director/requests/compute/get_disk.rb +123 -0
  97. data/lib/fog/vcloud_director/requests/compute/get_disk_metadata.rb +25 -0
  98. data/lib/fog/vcloud_director/requests/compute/get_disk_metadata_item_metadata.rb +26 -0
  99. data/lib/fog/vcloud_director/requests/compute/get_disk_owner.rb +70 -0
  100. data/lib/fog/vcloud_director/requests/compute/get_disks_from_query.rb +94 -0
  101. data/lib/fog/vcloud_director/requests/compute/get_disks_rasd_items_list.rb +90 -0
  102. data/lib/fog/vcloud_director/requests/compute/get_edge_gateway.rb +109 -0
  103. data/lib/fog/vcloud_director/requests/compute/get_entity.rb +38 -0
  104. data/lib/fog/vcloud_director/requests/compute/get_execute_query.rb +736 -0
  105. data/lib/fog/vcloud_director/requests/compute/get_groups_from_query.rb +95 -0
  106. data/lib/fog/vcloud_director/requests/compute/get_guest_customization_system_section_vapp.rb +69 -0
  107. data/lib/fog/vcloud_director/requests/compute/get_guest_customization_system_section_vapp_template.rb +25 -0
  108. data/lib/fog/vcloud_director/requests/compute/get_href.rb +21 -0
  109. data/lib/fog/vcloud_director/requests/compute/get_lease_settings_section_vapp.rb +59 -0
  110. data/lib/fog/vcloud_director/requests/compute/get_lease_settings_section_vapp_template.rb +25 -0
  111. data/lib/fog/vcloud_director/requests/compute/get_media.rb +111 -0
  112. data/lib/fog/vcloud_director/requests/compute/get_media_drives_rasd_items_list.rb +92 -0
  113. data/lib/fog/vcloud_director/requests/compute/get_media_metadata.rb +25 -0
  114. data/lib/fog/vcloud_director/requests/compute/get_media_metadata_item_metadata.rb +26 -0
  115. data/lib/fog/vcloud_director/requests/compute/get_media_owner.rb +70 -0
  116. data/lib/fog/vcloud_director/requests/compute/get_medias_from_query.rb +94 -0
  117. data/lib/fog/vcloud_director/requests/compute/get_memory_rasd_item.rb +64 -0
  118. data/lib/fog/vcloud_director/requests/compute/get_metadata.rb +41 -0
  119. data/lib/fog/vcloud_director/requests/compute/get_network.rb +67 -0
  120. data/lib/fog/vcloud_director/requests/compute/get_network_cards_items_list.rb +70 -0
  121. data/lib/fog/vcloud_director/requests/compute/get_network_complete.rb +78 -0
  122. data/lib/fog/vcloud_director/requests/compute/get_network_config_section_vapp.rb +61 -0
  123. data/lib/fog/vcloud_director/requests/compute/get_network_config_section_vapp_template.rb +25 -0
  124. data/lib/fog/vcloud_director/requests/compute/get_network_connection_system_section_vapp.rb +68 -0
  125. data/lib/fog/vcloud_director/requests/compute/get_network_connection_system_section_vapp_template.rb +25 -0
  126. data/lib/fog/vcloud_director/requests/compute/get_network_metadata.rb +25 -0
  127. data/lib/fog/vcloud_director/requests/compute/get_network_metadata_item_metadata.rb +26 -0
  128. data/lib/fog/vcloud_director/requests/compute/get_network_section_vapp.rb +25 -0
  129. data/lib/fog/vcloud_director/requests/compute/get_network_section_vapp_template.rb +25 -0
  130. data/lib/fog/vcloud_director/requests/compute/get_operating_system_section.rb +59 -0
  131. data/lib/fog/vcloud_director/requests/compute/get_org_settings.rb +38 -0
  132. data/lib/fog/vcloud_director/requests/compute/get_org_vdc_gateways.rb +83 -0
  133. data/lib/fog/vcloud_director/requests/compute/get_organization.rb +100 -0
  134. data/lib/fog/vcloud_director/requests/compute/get_organization_metadata.rb +25 -0
  135. data/lib/fog/vcloud_director/requests/compute/get_organization_metadata_item_metadata.rb +28 -0
  136. data/lib/fog/vcloud_director/requests/compute/get_organizations.rb +52 -0
  137. data/lib/fog/vcloud_director/requests/compute/get_organizations_from_query.rb +95 -0
  138. data/lib/fog/vcloud_director/requests/compute/get_product_sections_vapp.rb +25 -0
  139. data/lib/fog/vcloud_director/requests/compute/get_product_sections_vapp_template.rb +26 -0
  140. data/lib/fog/vcloud_director/requests/compute/get_request.rb +19 -0
  141. data/lib/fog/vcloud_director/requests/compute/get_runtime_info_section_type.rb +57 -0
  142. data/lib/fog/vcloud_director/requests/compute/get_serial_ports_items_list.rb +25 -0
  143. data/lib/fog/vcloud_director/requests/compute/get_shadow_vm.rb +24 -0
  144. data/lib/fog/vcloud_director/requests/compute/get_snapshot_section.rb +55 -0
  145. data/lib/fog/vcloud_director/requests/compute/get_startup_section.rb +64 -0
  146. data/lib/fog/vcloud_director/requests/compute/get_supported_systems_info.rb +239 -0
  147. data/lib/fog/vcloud_director/requests/compute/get_supported_versions.rb +1159 -0
  148. data/lib/fog/vcloud_director/requests/compute/get_task.rb +168 -0
  149. data/lib/fog/vcloud_director/requests/compute/get_task_list.rb +130 -0
  150. data/lib/fog/vcloud_director/requests/compute/get_template_vm.rb +74 -0
  151. data/lib/fog/vcloud_director/requests/compute/get_template_vms.rb +41 -0
  152. data/lib/fog/vcloud_director/requests/compute/get_thumbnail.rb +28 -0
  153. data/lib/fog/vcloud_director/requests/compute/get_users_from_query.rb +95 -0
  154. data/lib/fog/vcloud_director/requests/compute/get_vapp.rb +176 -0
  155. data/lib/fog/vcloud_director/requests/compute/get_vapp_metadata.rb +84 -0
  156. data/lib/fog/vcloud_director/requests/compute/get_vapp_metadata_item_metadata.rb +26 -0
  157. data/lib/fog/vcloud_director/requests/compute/get_vapp_ovf_descriptor.rb +24 -0
  158. data/lib/fog/vcloud_director/requests/compute/get_vapp_owner.rb +58 -0
  159. data/lib/fog/vcloud_director/requests/compute/get_vapp_template.rb +25 -0
  160. data/lib/fog/vcloud_director/requests/compute/get_vapp_template_customization_system_section.rb +25 -0
  161. data/lib/fog/vcloud_director/requests/compute/get_vapp_template_metadata.rb +25 -0
  162. data/lib/fog/vcloud_director/requests/compute/get_vapp_template_metadata_item_metadata.rb +27 -0
  163. data/lib/fog/vcloud_director/requests/compute/get_vapp_template_ovf_descriptor.rb +24 -0
  164. data/lib/fog/vcloud_director/requests/compute/get_vapp_template_owner.rb +25 -0
  165. data/lib/fog/vcloud_director/requests/compute/get_vapp_templates_from_query.rb +95 -0
  166. data/lib/fog/vcloud_director/requests/compute/get_vapps_in_lease_from_query.rb +94 -0
  167. data/lib/fog/vcloud_director/requests/compute/get_vcloud.rb +76 -0
  168. data/lib/fog/vcloud_director/requests/compute/get_vdc.rb +174 -0
  169. data/lib/fog/vcloud_director/requests/compute/get_vdc_metadata.rb +25 -0
  170. data/lib/fog/vcloud_director/requests/compute/get_vdc_metadata_item_metadata.rb +28 -0
  171. data/lib/fog/vcloud_director/requests/compute/get_vdc_storage_class.rb +83 -0
  172. data/lib/fog/vcloud_director/requests/compute/get_vdc_storage_class_metadata.rb +27 -0
  173. data/lib/fog/vcloud_director/requests/compute/get_vdc_storage_class_metadata_item_metadata.rb +25 -0
  174. data/lib/fog/vcloud_director/requests/compute/get_vdcs_from_query.rb +94 -0
  175. data/lib/fog/vcloud_director/requests/compute/get_virtual_hardware_section.rb +29 -0
  176. data/lib/fog/vcloud_director/requests/compute/get_vm.rb +74 -0
  177. data/lib/fog/vcloud_director/requests/compute/get_vm_capabilities.rb +61 -0
  178. data/lib/fog/vcloud_director/requests/compute/get_vm_compliance_results.rb +24 -0
  179. data/lib/fog/vcloud_director/requests/compute/get_vm_customization.rb +31 -0
  180. data/lib/fog/vcloud_director/requests/compute/get_vm_disks.rb +51 -0
  181. data/lib/fog/vcloud_director/requests/compute/get_vm_network.rb +56 -0
  182. data/lib/fog/vcloud_director/requests/compute/get_vm_pending_question.rb +34 -0
  183. data/lib/fog/vcloud_director/requests/compute/get_vms.rb +41 -0
  184. data/lib/fog/vcloud_director/requests/compute/get_vms_by_metadata.rb +20 -0
  185. data/lib/fog/vcloud_director/requests/compute/get_vms_disk_attached_to.rb +39 -0
  186. data/lib/fog/vcloud_director/requests/compute/get_vms_in_lease_from_query.rb +150 -0
  187. data/lib/fog/vcloud_director/requests/compute/instantiate_vapp_template.rb +173 -0
  188. data/lib/fog/vcloud_director/requests/compute/post_acquire_ticket.rb +27 -0
  189. data/lib/fog/vcloud_director/requests/compute/post_answer_vm_pending_question.rb +36 -0
  190. data/lib/fog/vcloud_director/requests/compute/post_attach_disk.rb +51 -0
  191. data/lib/fog/vcloud_director/requests/compute/post_cancel_task.rb +43 -0
  192. data/lib/fog/vcloud_director/requests/compute/post_capture_vapp.rb +70 -0
  193. data/lib/fog/vcloud_director/requests/compute/post_check_vm_compliance.rb +28 -0
  194. data/lib/fog/vcloud_director/requests/compute/post_clone_media.rb +102 -0
  195. data/lib/fog/vcloud_director/requests/compute/post_clone_vapp.rb +62 -0
  196. data/lib/fog/vcloud_director/requests/compute/post_clone_vapp_template.rb +52 -0
  197. data/lib/fog/vcloud_director/requests/compute/post_compose_vapp.rb +45 -0
  198. data/lib/fog/vcloud_director/requests/compute/post_configure_edge_gateway_services.rb +73 -0
  199. data/lib/fog/vcloud_director/requests/compute/post_consolidate_vm_vapp.rb +27 -0
  200. data/lib/fog/vcloud_director/requests/compute/post_consolidate_vm_vapp_template.rb +27 -0
  201. data/lib/fog/vcloud_director/requests/compute/post_create_catalog_item.rb +56 -0
  202. data/lib/fog/vcloud_director/requests/compute/post_create_org_vdc_network.rb +171 -0
  203. data/lib/fog/vcloud_director/requests/compute/post_create_snapshot.rb +21 -0
  204. data/lib/fog/vcloud_director/requests/compute/post_deploy_vapp.rb +51 -0
  205. data/lib/fog/vcloud_director/requests/compute/post_detach_disk.rb +39 -0
  206. data/lib/fog/vcloud_director/requests/compute/post_disable_nested_hv.rb +27 -0
  207. data/lib/fog/vcloud_director/requests/compute/post_disable_vapp_template_download.rb +24 -0
  208. data/lib/fog/vcloud_director/requests/compute/post_discard_vapp_state.rb +30 -0
  209. data/lib/fog/vcloud_director/requests/compute/post_eject_cd_rom.rb +39 -0
  210. data/lib/fog/vcloud_director/requests/compute/post_enable_nested_hv.rb +27 -0
  211. data/lib/fog/vcloud_director/requests/compute/post_enable_vapp_template_download.rb +24 -0
  212. data/lib/fog/vcloud_director/requests/compute/post_enter_maintenance_mode.rb +26 -0
  213. data/lib/fog/vcloud_director/requests/compute/post_exit_maintenance_mode.rb +22 -0
  214. data/lib/fog/vcloud_director/requests/compute/post_insert_cd_rom.rb +39 -0
  215. data/lib/fog/vcloud_director/requests/compute/post_install_vmware_tools.rb +27 -0
  216. data/lib/fog/vcloud_director/requests/compute/post_instantiate_vapp_template.rb +196 -0
  217. data/lib/fog/vcloud_director/requests/compute/post_login_session.rb +39 -0
  218. data/lib/fog/vcloud_director/requests/compute/post_power_off_vapp.rb +36 -0
  219. data/lib/fog/vcloud_director/requests/compute/post_power_on_vapp.rb +71 -0
  220. data/lib/fog/vcloud_director/requests/compute/post_reboot_vapp.rb +33 -0
  221. data/lib/fog/vcloud_director/requests/compute/post_recompose_vapp.rb +21 -0
  222. data/lib/fog/vcloud_director/requests/compute/post_reconfigure_vm.rb +118 -0
  223. data/lib/fog/vcloud_director/requests/compute/post_remove_all_snapshots.rb +27 -0
  224. data/lib/fog/vcloud_director/requests/compute/post_reset_vapp.rb +33 -0
  225. data/lib/fog/vcloud_director/requests/compute/post_revert_snapshot.rb +27 -0
  226. data/lib/fog/vcloud_director/requests/compute/post_shutdown_vapp.rb +33 -0
  227. data/lib/fog/vcloud_director/requests/compute/post_suspend_vapp.rb +33 -0
  228. data/lib/fog/vcloud_director/requests/compute/post_undeploy_vapp.rb +66 -0
  229. data/lib/fog/vcloud_director/requests/compute/post_update_catalog_item_metadata.rb +52 -0
  230. data/lib/fog/vcloud_director/requests/compute/post_update_disk_metadata.rb +52 -0
  231. data/lib/fog/vcloud_director/requests/compute/post_update_media_metadata.rb +52 -0
  232. data/lib/fog/vcloud_director/requests/compute/post_update_vapp_metadata.rb +86 -0
  233. data/lib/fog/vcloud_director/requests/compute/post_update_vapp_template_metadata.rb +52 -0
  234. data/lib/fog/vcloud_director/requests/compute/post_upgrade_hw_version.rb +28 -0
  235. data/lib/fog/vcloud_director/requests/compute/post_upload_disk.rb +133 -0
  236. data/lib/fog/vcloud_director/requests/compute/post_upload_media.rb +120 -0
  237. data/lib/fog/vcloud_director/requests/compute/post_upload_vapp_template.rb +46 -0
  238. data/lib/fog/vcloud_director/requests/compute/put_catalog_item_metadata_item_metadata.rb +50 -0
  239. data/lib/fog/vcloud_director/requests/compute/put_cpu.rb +88 -0
  240. data/lib/fog/vcloud_director/requests/compute/put_disk_metadata_item_metadata.rb +46 -0
  241. data/lib/fog/vcloud_director/requests/compute/put_disks.rb +39 -0
  242. data/lib/fog/vcloud_director/requests/compute/put_guest_customization_section_vapp.rb +141 -0
  243. data/lib/fog/vcloud_director/requests/compute/put_media_metadata_item_metadata.rb +50 -0
  244. data/lib/fog/vcloud_director/requests/compute/put_memory.rb +89 -0
  245. data/lib/fog/vcloud_director/requests/compute/put_metadata_value.rb +26 -0
  246. data/lib/fog/vcloud_director/requests/compute/put_network.rb +162 -0
  247. data/lib/fog/vcloud_director/requests/compute/put_network_connection_system_section_vapp.rb +152 -0
  248. data/lib/fog/vcloud_director/requests/compute/put_product_sections.rb +46 -0
  249. data/lib/fog/vcloud_director/requests/compute/put_vapp_metadata_item_metadata.rb +85 -0
  250. data/lib/fog/vcloud_director/requests/compute/put_vapp_name_and_description.rb +36 -0
  251. data/lib/fog/vcloud_director/requests/compute/put_vapp_template_metadata_item_metadata.rb +50 -0
  252. data/lib/fog/vcloud_director/requests/compute/put_vm.rb +72 -0
  253. data/lib/fog/vcloud_director/requests/compute/put_vm_capabilities.rb +44 -0
  254. data/lib/fog/vcloud_director/version.rb +5 -0
  255. data/spec/spec_helper.rb +15 -0
  256. data/spec/vcloud_director/generators/compute/instantiate_vapp_template_params_spec.rb +68 -0
  257. data/spec/vcloud_director/requests/compute/instantiate_vapp_template_spec.rb +78 -0
  258. data/spec/vcloud_director/spec_helper.rb +11 -0
  259. data/tasks/bundler.rake +3 -0
  260. data/tasks/console.rake +12 -0
  261. data/tasks/lint.rake +3 -0
  262. data/tasks/test.rake +13 -0
  263. data/tests/helper.rb +32 -0
  264. data/tests/helpers/collection_helper.rb +97 -0
  265. data/tests/helpers/compute/flavors_helper.rb +32 -0
  266. data/tests/helpers/compute/server_helper.rb +25 -0
  267. data/tests/helpers/compute/servers_helper.rb +10 -0
  268. data/tests/helpers/formats_helper.rb +98 -0
  269. data/tests/helpers/formats_helper_tests.rb +110 -0
  270. data/tests/helpers/mock_helper.rb +95 -0
  271. data/tests/helpers/model_helper.rb +31 -0
  272. data/tests/helpers/responds_to_helper.rb +11 -0
  273. data/tests/helpers/schema_validator_tests.rb +107 -0
  274. data/tests/helpers/succeeds_helper.rb +9 -0
  275. data/tests/lorem.txt +1 -0
  276. data/tests/vcloud_director/ensure_list_tests.rb +84 -0
  277. data/tests/vcloud_director/fixtures/test.iso +1 -0
  278. data/tests/vcloud_director/fixtures/vapp.xml +532 -0
  279. data/tests/vcloud_director/fixtures/vm.xml +213 -0
  280. data/tests/vcloud_director/generators/compute/compose_vapp_tests.rb +108 -0
  281. data/tests/vcloud_director/models/compute/catalog_items_tests.rb +42 -0
  282. data/tests/vcloud_director/models/compute/catalogs_tests.rb +40 -0
  283. data/tests/vcloud_director/models/compute/helper.rb +60 -0
  284. data/tests/vcloud_director/models/compute/media_tests.rb +58 -0
  285. data/tests/vcloud_director/models/compute/network_tests.rb +108 -0
  286. data/tests/vcloud_director/models/compute/organizations_tests.rb +18 -0
  287. data/tests/vcloud_director/models/compute/tasks_tests.rb +56 -0
  288. data/tests/vcloud_director/models/compute/vapp_life_cycle_tests.rb +93 -0
  289. data/tests/vcloud_director/models/compute/vapp_template_tests.rb +29 -0
  290. data/tests/vcloud_director/models/compute/vapp_tests.rb +61 -0
  291. data/tests/vcloud_director/models/compute/vdcs_tests.rb +54 -0
  292. data/tests/vcloud_director/models/compute/vms_tests.rb +101 -0
  293. data/tests/vcloud_director/requests/compute/admin_tests.rb +16 -0
  294. data/tests/vcloud_director/requests/compute/catalog_tests.rb +42 -0
  295. data/tests/vcloud_director/requests/compute/disk_tests.rb +178 -0
  296. data/tests/vcloud_director/requests/compute/edge_gateway_tests.rb +217 -0
  297. data/tests/vcloud_director/requests/compute/groups_tests.rb +18 -0
  298. data/tests/vcloud_director/requests/compute/helper.rb +32 -0
  299. data/tests/vcloud_director/requests/compute/media_tests.rb +195 -0
  300. data/tests/vcloud_director/requests/compute/network_tests.rb +186 -0
  301. data/tests/vcloud_director/requests/compute/organization_tests.rb +37 -0
  302. data/tests/vcloud_director/requests/compute/ovf_descriptor_tests.rb +36 -0
  303. data/tests/vcloud_director/requests/compute/query_tests.rb +99 -0
  304. data/tests/vcloud_director/requests/compute/schema_helper.rb +663 -0
  305. data/tests/vcloud_director/requests/compute/session_tests.rb +14 -0
  306. data/tests/vcloud_director/requests/compute/supported_systems_tests.rb +11 -0
  307. data/tests/vcloud_director/requests/compute/task_tests.rb +35 -0
  308. data/tests/vcloud_director/requests/compute/users_tests.rb +18 -0
  309. data/tests/vcloud_director/requests/compute/vapp_tests.rb +123 -0
  310. data/tests/vcloud_director/requests/compute/vdc_storage_profile_tests.rb +27 -0
  311. data/tests/vcloud_director/requests/compute/vdc_tests.rb +36 -0
  312. data/tests/vcloud_director/requests/compute/versions_tests.rb +13 -0
  313. data/tests/vcloud_director/requests/compute/vm_tests.rb +185 -0
  314. data/tests/watchr.rb +22 -0
  315. metadata +461 -0
@@ -0,0 +1,1159 @@
1
+ module Fog
2
+ module Compute
3
+ class VcloudDirector
4
+ class Real
5
+ # List all supported versions.
6
+ #
7
+ # @return [Excon::Response]
8
+ # * body<~Hash>:
9
+ #
10
+ # @see http://pubs.vmware.com/vcd-55/topic/com.vmware.vcloud.api.reference.doc_55/doc/operations/GET-SupportedVersions.html
11
+ # @since vCloud API version 0.9
12
+ def get_supported_versions
13
+ @connection.request(
14
+ :expects => 200,
15
+ :idempotent => true,
16
+ :method => 'GET',
17
+ :parser => Fog::ToHashDocument.new,
18
+ :path => "#{@path}/versions"
19
+ )
20
+ end
21
+ end
22
+
23
+ class Mock
24
+ def get_supported_versions
25
+ body =
26
+ {:xmlns=>"http://www.vmware.com/vcloud/versions",
27
+ :xmlns_xsi=>xmlns_xsi,
28
+ :xsi_schemaLocation=>xsi_schema_location,
29
+ :VersionInfo=>
30
+ [{:Version=>"1.5",
31
+ :LoginUrl=>make_href("sessions"),
32
+ :MediaTypeMapping=>
33
+ [{:MediaType=>
34
+ "application/vnd.vmware.vcloud.instantiateVAppTemplateParams+xml",
35
+ :ComplexTypeName=>"InstantiateVAppTemplateParamsType",
36
+ :SchemaLocation=>
37
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
38
+ {:MediaType=>"application/vnd.vmware.admin.vmwProviderVdcReferences+xml",
39
+ :ComplexTypeName=>"VMWProviderVdcReferencesType",
40
+ :SchemaLocation=>
41
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
42
+ {:MediaType=>"application/vnd.vmware.vcloud.customizationSection+xml",
43
+ :ComplexTypeName=>"CustomizationSectionType",
44
+ :SchemaLocation=>
45
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
46
+ {:MediaType=>"application/vnd.vmware.admin.prepareHostParams+xml",
47
+ :ComplexTypeName=>"PrepareHostParamsType",
48
+ :SchemaLocation=>
49
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
50
+ {:MediaType=>"application/vnd.vmware.vcloud.relocateVmParams+xml",
51
+ :ComplexTypeName=>"RelocateParamsType",
52
+ :SchemaLocation=>
53
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
54
+ {:MediaType=>"application/vnd.vmware.vcloud.org+xml",
55
+ :ComplexTypeName=>"OrgType",
56
+ :SchemaLocation=>
57
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
58
+ {:MediaType=>
59
+ "application/vnd.vmware.admin.vmwExternalNetworkReferences+xml",
60
+ :ComplexTypeName=>"VMWExternalNetworkReferencesType",
61
+ :SchemaLocation=>
62
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
63
+ {:MediaType=>
64
+ "application/vnd.vmware.vcloud.networkConnectionSection+xml",
65
+ :ComplexTypeName=>"NetworkConnectionSectionType",
66
+ :SchemaLocation=>
67
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
68
+ {:MediaType=>"application/vnd.vmware.admin.host+xml",
69
+ :ComplexTypeName=>"HostType",
70
+ :SchemaLocation=>
71
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
72
+ {:MediaType=>"application/vnd.vmware.vcloud.catalogItem+xml",
73
+ :ComplexTypeName=>"CatalogItemType",
74
+ :SchemaLocation=>
75
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
76
+ {:MediaType=>"application/vnd.vmware.vcloud.owner+xml",
77
+ :ComplexTypeName=>"OwnerType",
78
+ :SchemaLocation=>
79
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
80
+ {:MediaType=>"application/vnd.vmware.vcloud.vdc+xml",
81
+ :ComplexTypeName=>"VdcType",
82
+ :SchemaLocation=>
83
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
84
+ {:MediaType=>"application/vnd.vmware.admin.vdc+xml",
85
+ :ComplexTypeName=>"AdminVdcType",
86
+ :SchemaLocation=>
87
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
88
+ {:MediaType=>"application/vnd.vmware.admin.catalog+xml",
89
+ :ComplexTypeName=>"AdminCatalogType",
90
+ :SchemaLocation=>
91
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
92
+ {:MediaType=>"application/vnd.vmware.vcloud.recomposeVAppParams+xml",
93
+ :ComplexTypeName=>"RecomposeVAppParamsType",
94
+ :SchemaLocation=>
95
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
96
+ {:MediaType=>
97
+ "application/vnd.vmware.admin.importVmIntoExistingVAppParams+xml",
98
+ :ComplexTypeName=>"ImportVmIntoExistingVAppParamsType",
99
+ :SchemaLocation=>
100
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
101
+ {:MediaType=>
102
+ "application/vnd.vmware.admin.taskExtensionRequestUpdateProgressOperationParams+xml",
103
+ :ComplexTypeName=>"TaskExtensionRequestUpdateProgressParamsType",
104
+ :SchemaLocation=>
105
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
106
+ {:MediaType=>"application/vnd.vmware.vcloud.catalog+xml",
107
+ :ComplexTypeName=>"CatalogType",
108
+ :SchemaLocation=>
109
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
110
+ {:MediaType=>"application/vnd.vmware.vcloud.cloneVAppTemplateParams+xml",
111
+ :ComplexTypeName=>"CloneVAppTemplateParamsType",
112
+ :SchemaLocation=>
113
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
114
+ {:MediaType=>"application/vnd.vmware.admin.providervdc+xml",
115
+ :ComplexTypeName=>"ProviderVdcType",
116
+ :SchemaLocation=>
117
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
118
+ {:MediaType=>"application/vnd.vmware.admin.vmsObjectRefsList+xml",
119
+ :ComplexTypeName=>"VmObjectRefsListType",
120
+ :SchemaLocation=>
121
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
122
+ {:MediaType=>"application/vnd.vmware.vcloud.undeployVAppParams+xml",
123
+ :ComplexTypeName=>"UndeployVAppParamsType",
124
+ :SchemaLocation=>
125
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
126
+ {:MediaType=>"application/vnd.vmware.admin.vdcReferences+xml",
127
+ :ComplexTypeName=>"VdcReferencesType",
128
+ :SchemaLocation=>
129
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
130
+ {:MediaType=>
131
+ "application/vnd.vmware.admin.systemPasswordPolicySettings+xml",
132
+ :ComplexTypeName=>"SystemPasswordPolicySettingsType",
133
+ :SchemaLocation=>
134
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
135
+ {:MediaType=>"application/vnd.vmware.vcloud.vApp+xml",
136
+ :ComplexTypeName=>"VAppType",
137
+ :SchemaLocation=>
138
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
139
+ {:MediaType=>"application/vnd.vmware.admin.taskExtensionRequest+xml",
140
+ :ComplexTypeName=>"TaskExtensionRequestType",
141
+ :SchemaLocation=>
142
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
143
+ {:MediaType=>"application/vnd.vmware.admin.vimServerNetworks+xml",
144
+ :ComplexTypeName=>"VimObjectRefListType",
145
+ :SchemaLocation=>
146
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
147
+ {:MediaType=>"application/vnd.vmware.admin.vmwprovidervdc+xml",
148
+ :ComplexTypeName=>"VMWProviderVdcType",
149
+ :SchemaLocation=>
150
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
151
+ {:MediaType=>"application/vnd.vmware.admin.orgSettings+xml",
152
+ :ComplexTypeName=>"OrgSettingsType",
153
+ :SchemaLocation=>
154
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
155
+ {:MediaType=>"application/vnd.vmware.vcloud.captureVAppParams+xml",
156
+ :ComplexTypeName=>"CaptureVAppParamsType",
157
+ :SchemaLocation=>
158
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
159
+ {:MediaType=>"application/vnd.vmware.vcloud.screenTicket+xml",
160
+ :ComplexTypeName=>"ScreenTicketType",
161
+ :SchemaLocation=>
162
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
163
+ {:MediaType=>"application/vnd.vmware.vcloud.runtimeInfoSection+xml",
164
+ :ComplexTypeName=>"RuntimeInfoSectionType",
165
+ :SchemaLocation=>
166
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
167
+ {:MediaType=>"application/vnd.vmware.vcloud.tasksList+xml",
168
+ :ComplexTypeName=>"TasksListType",
169
+ :SchemaLocation=>
170
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
171
+ {:MediaType=>"application/vnd.vmware.admin.amqpSettingsTest+xml",
172
+ :ComplexTypeName=>"AmqpSettingsTestType",
173
+ :SchemaLocation=>
174
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
175
+ {:MediaType=>"application/vnd.vmware.admin.extensionSettings+xml",
176
+ :ComplexTypeName=>"TaskExtensionSettingsType",
177
+ :SchemaLocation=>
178
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
179
+ {:MediaType=>
180
+ "application/vnd.vmware.admin.importVmAsVAppTemplateParams+xml",
181
+ :ComplexTypeName=>"ImportVmAsVAppTemplateParamsType",
182
+ :SchemaLocation=>
183
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
184
+ {:MediaType=>
185
+ "application/vnd.vmware.admin.organizationGeneralSettings+xml",
186
+ :ComplexTypeName=>"OrgGeneralSettingsType",
187
+ :SchemaLocation=>
188
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
189
+ {:MediaType=>"application/vnd.vmware.admin.registerVimServerParams+xml",
190
+ :ComplexTypeName=>"RegisterVimServerParamsType",
191
+ :SchemaLocation=>
192
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
193
+ {:MediaType=>"application/vnd.vmware.admin.network+xml",
194
+ :ComplexTypeName=>"OrgNetworkType",
195
+ :SchemaLocation=>
196
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
197
+ {:MediaType=>
198
+ "application/vnd.vmware.vcloud.uploadVAppTemplateParams+xml",
199
+ :ComplexTypeName=>"UploadVAppTemplateParamsType",
200
+ :SchemaLocation=>
201
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
202
+ {:MediaType=>"application/vnd.vmware.admin.datastore+xml",
203
+ :ComplexTypeName=>"DatastoreType",
204
+ :SchemaLocation=>
205
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
206
+ {:MediaType=>"application/vnd.vmware.vcloud.metadata+xml",
207
+ :ComplexTypeName=>"MetadataType",
208
+ :SchemaLocation=>
209
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
210
+ {:MediaType=>"application/vnd.vmware.admin.licensingReportList+xml",
211
+ :ComplexTypeName=>"LicensingReportListType",
212
+ :SchemaLocation=>
213
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
214
+ {:MediaType=>"application/vnd.vmware.admin.vmwNetworkPool+xml",
215
+ :ComplexTypeName=>"VMWNetworkPoolType",
216
+ :SchemaLocation=>
217
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
218
+ {:MediaType=>"application/vnd.vmware.admin.systemSettings+xml",
219
+ :ComplexTypeName=>"SystemSettingsType",
220
+ :SchemaLocation=>
221
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
222
+ {:MediaType=>"application/vnd.vmware.admin.vmwHostReferences+xml",
223
+ :ComplexTypeName=>"VMWHostReferencesType",
224
+ :SchemaLocation=>
225
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
226
+ {:MediaType=>
227
+ "application/vnd.vmware.admin.taskExtensionRequestOperationParams+xml",
228
+ :ComplexTypeName=>"TaskExtensionRequestOperationParamsType",
229
+ :SchemaLocation=>
230
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
231
+ {:MediaType=>"application/vnd.vmware.vcloud.metadata.value+xml",
232
+ :ComplexTypeName=>"MetadataValueType",
233
+ :SchemaLocation=>
234
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
235
+ {:MediaType=>"application/vnd.vmware.admin.taskOperationList+xml",
236
+ :ComplexTypeName=>"TaskOperationListType",
237
+ :SchemaLocation=>
238
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
239
+ {:MediaType=>"application/vnd.vmware.vcloud.media+xml",
240
+ :ComplexTypeName=>"MediaType",
241
+ :SchemaLocation=>
242
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
243
+ {:MediaType=>"application/vnd.vmware.vcloud.productSections+xml",
244
+ :ComplexTypeName=>"ProductSectionListType",
245
+ :SchemaLocation=>
246
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
247
+ {:MediaType=>"application/vnd.vmware.admin.amqpSettings+xml",
248
+ :ComplexTypeName=>"AmqpSettingsType",
249
+ :SchemaLocation=>
250
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
251
+ {:MediaType=>"application/vnd.vmware.vcloud.vAppTemplate+xml",
252
+ :ComplexTypeName=>"VAppTemplateType",
253
+ :SchemaLocation=>
254
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
255
+ {:MediaType=>"application/vnd.vmware.vcloud.deployVAppParams+xml",
256
+ :ComplexTypeName=>"DeployVAppParamsType",
257
+ :SchemaLocation=>
258
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
259
+ {:MediaType=>
260
+ "application/vnd.vmware.admin.importVmIntoExistingVAppTemplateParams+xml",
261
+ :ComplexTypeName=>"ImportVmIntoExistingVAppTemplateParamsType",
262
+ :SchemaLocation=>
263
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
264
+ {:MediaType=>"application/vnd.vmware.admin.resourcePoolList+xml",
265
+ :ComplexTypeName=>"ResourcePoolListType",
266
+ :SchemaLocation=>
267
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
268
+ {:MediaType=>"application/vnd.vmware.vcloud.networkConfigSection+xml",
269
+ :ComplexTypeName=>"NetworkConfigSectionType",
270
+ :SchemaLocation=>
271
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
272
+ {:MediaType=>
273
+ "application/vnd.vmware.admin.OrganizationVdcResourcePoolSet+xml",
274
+ :ComplexTypeName=>"OrganizationResourcePoolSetType",
275
+ :SchemaLocation=>
276
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
277
+ {:MediaType=>
278
+ "application/vnd.vmware.admin.organizationPasswordPolicySettings+xml",
279
+ :ComplexTypeName=>"OrgPasswordPolicySettingsType",
280
+ :SchemaLocation=>
281
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
282
+ {:MediaType=>"application/vnd.vmware.admin.publishCatalogParams+xml",
283
+ :ComplexTypeName=>"PublishCatalogParamsType",
284
+ :SchemaLocation=>
285
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
286
+ {:MediaType=>"application/vnd.vmware.admin.vmwExtension+xml",
287
+ :ComplexTypeName=>"VMWExtensionType",
288
+ :SchemaLocation=>
289
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
290
+ {:MediaType=>
291
+ "application/vnd.vmware.vcloud.mediaInsertOrEjectParams+xml",
292
+ :ComplexTypeName=>"MediaInsertOrEjectParamsType",
293
+ :SchemaLocation=>
294
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
295
+ {:MediaType=>"application/vnd.vmware.vcloud.vmPendingQuestion+xml",
296
+ :ComplexTypeName=>"VmPendingQuestionType",
297
+ :SchemaLocation=>
298
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
299
+ {:MediaType=>"application/vnd.vmware.admin.notificationsSettings+xml",
300
+ :ComplexTypeName=>"NotificationsSettingsType",
301
+ :SchemaLocation=>
302
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
303
+ {:MediaType=>"application/vnd.vmware.admin.ldapUserSettings+xml",
304
+ :ComplexTypeName=>"LdapUserAttributesType",
305
+ :SchemaLocation=>
306
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
307
+ {:MediaType=>"application/vnd.vmware.admin.right+xml",
308
+ :ComplexTypeName=>"RightType",
309
+ :SchemaLocation=>
310
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
311
+ {:MediaType=>"application/vnd.vmware.admin.ldapSettings+xml",
312
+ :ComplexTypeName=>"LdapSettingsType",
313
+ :SchemaLocation=>
314
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
315
+ {:MediaType=>"application/vnd.vmware.admin.organization+xml",
316
+ :ComplexTypeName=>"AdminOrgType",
317
+ :SchemaLocation=>
318
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
319
+ {:MediaType=>"application/vnd.vmware.vcloud.orgList+xml",
320
+ :ComplexTypeName=>"OrgListType",
321
+ :SchemaLocation=>
322
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
323
+ {:MediaType=>
324
+ "application/vnd.vmware.admin.vAppTemplateLeaseSettings+xml",
325
+ :ComplexTypeName=>"OrgVAppTemplateLeaseSettingsType",
326
+ :SchemaLocation=>
327
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
328
+ {:MediaType=>"application/vnd.vmware.admin.vmwVimServerReferences+xml",
329
+ :ComplexTypeName=>"VMWVimServerReferencesType",
330
+ :SchemaLocation=>
331
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
332
+ {:MediaType=>"application/vnd.vmware.admin.vmwexternalnet+xml",
333
+ :ComplexTypeName=>"VMWExternalNetworkType",
334
+ :SchemaLocation=>
335
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
336
+ {:MediaType=>"application/vnd.vmware.vcloud.entity+xml",
337
+ :ComplexTypeName=>"EntityType",
338
+ :SchemaLocation=>
339
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
340
+ {:MediaType=>"application/vnd.vmware.vcloud.cloneMediaParams+xml",
341
+ :ComplexTypeName=>"CloneMediaParamsType",
342
+ :SchemaLocation=>
343
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
344
+ {:MediaType=>"application/vnd.vmware.admin.licensingReport+xml",
345
+ :ComplexTypeName=>"LicensingReportType",
346
+ :SchemaLocation=>
347
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
348
+ {:MediaType=>"application/vnd.vmware.admin.importMediaParams+xml",
349
+ :ComplexTypeName=>"ImportMediaParamsType",
350
+ :SchemaLocation=>
351
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
352
+ {:MediaType=>
353
+ "application/vnd.vmware.admin.resourcePoolSetUpdateParams+xml",
354
+ :ComplexTypeName=>"UpdateResourcePoolSetParamsType",
355
+ :SchemaLocation=>
356
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
357
+ {:MediaType=>"application/vnd.vmware.admin.taskExtensionRequestList+xml",
358
+ :ComplexTypeName=>"ReferencesType",
359
+ :SchemaLocation=>
360
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
361
+ {:MediaType=>"application/vnd.vmware.vcloud.vmPendingAnswer+xml",
362
+ :ComplexTypeName=>"VmQuestionAnswerType",
363
+ :SchemaLocation=>
364
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
365
+ {:MediaType=>"application/vnd.vmware.vcloud.rasdItemsList+xml",
366
+ :ComplexTypeName=>"RasdItemsListType",
367
+ :SchemaLocation=>
368
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
369
+ {:MediaType=>"application/vnd.vmware.admin.generalSettings+xml",
370
+ :ComplexTypeName=>"GeneralSettingsType",
371
+ :SchemaLocation=>
372
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
373
+ {:MediaType=>"application/vnd.vmware.admin.vmwNetworkPoolReferences+xml",
374
+ :ComplexTypeName=>"VMWNetworkPoolReferencesType",
375
+ :SchemaLocation=>
376
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
377
+ {:MediaType=>"application/vnd.vmware.admin.group+xml",
378
+ :ComplexTypeName=>"GroupType",
379
+ :SchemaLocation=>
380
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
381
+ {:MediaType=>"application/vnd.vmware.vcloud.controlAccess+xml",
382
+ :ComplexTypeName=>"ControlAccessParamsType",
383
+ :SchemaLocation=>
384
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
385
+ {:MediaType=>"application/vnd.vmware.admin.ldapGroupSettings+xml",
386
+ :ComplexTypeName=>"LdapGroupAttributesType",
387
+ :SchemaLocation=>
388
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
389
+ {:MediaType=>"application/vnd.vmware.admin.user+xml",
390
+ :ComplexTypeName=>"UserType",
391
+ :SchemaLocation=>
392
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
393
+ {:MediaType=>"application/vnd.vmware.admin.vcloud+xml",
394
+ :ComplexTypeName=>"VCloudType",
395
+ :SchemaLocation=>
396
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
397
+ {:MediaType=>"application/vnd.vmware.admin.uberAdminSettings+xml",
398
+ :ComplexTypeName=>"UberAdminSettingsType",
399
+ :SchemaLocation=>
400
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
401
+ {:MediaType=>"application/vnd.vmware.admin.vmwvirtualcenter+xml",
402
+ :ComplexTypeName=>"VimServerType",
403
+ :SchemaLocation=>
404
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
405
+ {:MediaType=>"application/vnd.vmware.vcloud.leaseSettingsSection+xml",
406
+ :ComplexTypeName=>"LeaseSettingsSectionType",
407
+ :SchemaLocation=>
408
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
409
+ {:MediaType=>"application/vnd.vmware.vcloud.composeVAppParams+xml",
410
+ :ComplexTypeName=>"ComposeVAppParamsType",
411
+ :SchemaLocation=>
412
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
413
+ {:MediaType=>
414
+ "application/vnd.vmware.admin.organizationEmailSettings+xml",
415
+ :ComplexTypeName=>"OrgEmailSettingsType",
416
+ :SchemaLocation=>
417
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
418
+ {:MediaType=>"application/vnd.vmware.vcloud.vm+xml",
419
+ :ComplexTypeName=>"VmType",
420
+ :SchemaLocation=>
421
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
422
+ {:MediaType=>
423
+ "application/vnd.vmware.admin.vmwProviderVdcResourcePoolSet+xml",
424
+ :ComplexTypeName=>"VMWProviderVdcResourcePoolSetType",
425
+ :SchemaLocation=>
426
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
427
+ {:MediaType=>"application/vnd.vmware.vcloud.cloneVAppParams+xml",
428
+ :ComplexTypeName=>"CloneVAppParamsType",
429
+ :SchemaLocation=>
430
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
431
+ {:MediaType=>
432
+ "application/vnd.vmware.vcloud.guestCustomizationSection+xml",
433
+ :ComplexTypeName=>"GuestCustomizationSectionType",
434
+ :SchemaLocation=>
435
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
436
+ {:MediaType=>"application/vnd.vmware.vcloud.task+xml",
437
+ :ComplexTypeName=>"TaskType",
438
+ :SchemaLocation=>
439
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
440
+ {:MediaType=>"application/vnd.vmware.vcloud.session+xml",
441
+ :ComplexTypeName=>"SessionType",
442
+ :SchemaLocation=>
443
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
444
+ {:MediaType=>"application/vnd.vmware.admin.vAppLeaseSettings+xml",
445
+ :ComplexTypeName=>"OrgLeaseSettingsType",
446
+ :SchemaLocation=>
447
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
448
+ {:MediaType=>"application/vnd.vmware.admin.importVmAsVAppParams+xml",
449
+ :ComplexTypeName=>"ImportVmAsVAppParamsType",
450
+ :SchemaLocation=>
451
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
452
+ {:MediaType=>"application/vnd.vmware.admin.role+xml",
453
+ :ComplexTypeName=>"RoleType",
454
+ :SchemaLocation=>
455
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
456
+ {:MediaType=>"application/vnd.vmware.vcloud.rasdItem+xml",
457
+ :ComplexTypeName=>"RASD_Type",
458
+ :SchemaLocation=>
459
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
460
+ {:MediaType=>"application/vnd.vmware.vcloud.startupSection+xml",
461
+ :ComplexTypeName=>"StartupSection_Type",
462
+ :SchemaLocation=>
463
+ "http://schemas.dmtf.org/ovf/envelope/1/dsp8023_1.1.0.xsd"},
464
+ {:MediaType=>"application/vnd.vmware.vcloud.virtualHardwareSection+xml",
465
+ :ComplexTypeName=>"VirtualHardwareSection_Type",
466
+ :SchemaLocation=>
467
+ "http://schemas.dmtf.org/ovf/envelope/1/dsp8023_1.1.0.xsd"},
468
+ {:MediaType=>"application/vnd.vmware.vcloud.operatingSystemSection+xml",
469
+ :ComplexTypeName=>"OperatingSystemSection_Type",
470
+ :SchemaLocation=>
471
+ "http://schemas.dmtf.org/ovf/envelope/1/dsp8023_1.1.0.xsd"},
472
+ {:MediaType=>"application/vnd.vmware.vcloud.networkSection+xml",
473
+ :ComplexTypeName=>"NetworkSection_Type",
474
+ :SchemaLocation=>
475
+ "http://schemas.dmtf.org/ovf/envelope/1/dsp8023_1.1.0.xsd"},
476
+ {:MediaType=>"application/vnd.vmware.vcloud.vAppNetwork+xml",
477
+ :ComplexTypeName=>"VAppNetworkType",
478
+ :SchemaLocation=>
479
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
480
+ {:MediaType=>"application/vnd.vmware.vcloud.network+xml",
481
+ :ComplexTypeName=>"NetworkType",
482
+ :SchemaLocation=>
483
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
484
+ {:MediaType=>"application/vnd.vmware.vcloud.orgNetwork+xml",
485
+ :ComplexTypeName=>"OrgNetworkType",
486
+ :SchemaLocation=>
487
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
488
+ {:MediaType=>"application/vnd.vmware.admin.vmwexternalnet+xml",
489
+ :ComplexTypeName=>"VMWExternalNetworkType",
490
+ :SchemaLocation=>
491
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"}]},
492
+ {:Version=>"5.1",
493
+ :LoginUrl=>make_href("sessions"),
494
+ :MediaTypeMapping=>
495
+ [{:MediaType=>
496
+ "application/vnd.vmware.vcloud.instantiateVAppTemplateParams+xml",
497
+ :ComplexTypeName=>"InstantiateVAppTemplateParamsType",
498
+ :SchemaLocation=>
499
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
500
+ {:MediaType=>"application/vnd.vmware.admin.vmwprovidervdc+xml",
501
+ :ComplexTypeName=>"MergeParamsType",
502
+ :SchemaLocation=>
503
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
504
+ {:MediaType=>
505
+ "application/vnd.vmware.admin.organizationFederationSettings+xml",
506
+ :ComplexTypeName=>"OrgFederationSettingsType",
507
+ :SchemaLocation=>
508
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
509
+ {:MediaType=>"application/vnd.vmware.admin.emailSettings+xml",
510
+ :ComplexTypeName=>"EmailSettingsType",
511
+ :SchemaLocation=>
512
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
513
+ {:MediaType=>"application/vnd.vmware.admin.prepareHostParams+xml",
514
+ :ComplexTypeName=>"PrepareHostParamsType",
515
+ :SchemaLocation=>
516
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
517
+ {:MediaType=>"application/vnd.vmware.vcloud.org+xml",
518
+ :ComplexTypeName=>"OrgType",
519
+ :SchemaLocation=>
520
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
521
+ {:MediaType=>"application/vnd.vmware.admin.aclRule+xml",
522
+ :ComplexTypeName=>"AclRuleType",
523
+ :SchemaLocation=>
524
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
525
+ {:MediaType=>"application/vnd.vmware.admin.organizationLdapSettings+xml",
526
+ :ComplexTypeName=>"OrgLdapSettingsType",
527
+ :SchemaLocation=>
528
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
529
+ {:MediaType=>
530
+ "application/vnd.vmware.vcloud.networkConnectionSection+xml",
531
+ :ComplexTypeName=>"NetworkConnectionSectionType",
532
+ :SchemaLocation=>
533
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
534
+ {:MediaType=>"application/vnd.vmware.vcloud.owner+xml",
535
+ :ComplexTypeName=>"OwnerType",
536
+ :SchemaLocation=>
537
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
538
+ {:MediaType=>"application/vnd.vmware.admin.vdc+xml",
539
+ :ComplexTypeName=>"AdminVdcType",
540
+ :SchemaLocation=>
541
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
542
+ {:MediaType=>
543
+ "application/vnd.vmware.admin.importVmIntoExistingVAppParams+xml",
544
+ :ComplexTypeName=>"ImportVmIntoExistingVAppParamsType",
545
+ :SchemaLocation=>
546
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
547
+ {:MediaType=>"application/vnd.vmware.vcloud.catalog+xml",
548
+ :ComplexTypeName=>"CatalogType",
549
+ :SchemaLocation=>
550
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
551
+ {:MediaType=>"application/vnd.vmware.vcloud.cloneVAppTemplateParams+xml",
552
+ :ComplexTypeName=>"CloneVAppTemplateParamsType",
553
+ :SchemaLocation=>
554
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
555
+ {:MediaType=>"application/vnd.vmware.admin.createVdcParams+xml",
556
+ :ComplexTypeName=>"CreateVdcParamsType",
557
+ :SchemaLocation=>
558
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
559
+ {:MediaType=>"application/vnd.vmware.admin.vmsObjectRefsList+xml",
560
+ :ComplexTypeName=>"VmObjectRefsListType",
561
+ :SchemaLocation=>
562
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
563
+ {:MediaType=>"application/vnd.vmware.vcloud.undeployVAppParams+xml",
564
+ :ComplexTypeName=>"UndeployVAppParamsType",
565
+ :SchemaLocation=>
566
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
567
+ {:MediaType=>"application/vnd.vmware.vcloud.createSnapshotParams+xml",
568
+ :ComplexTypeName=>"CreateSnapshotParamsType",
569
+ :SchemaLocation=>
570
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
571
+ {:MediaType=>"application/vnd.vmware.admin.blockingTask+xml",
572
+ :ComplexTypeName=>"BlockingTaskType",
573
+ :SchemaLocation=>
574
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
575
+ {:MediaType=>"application/vnd.vmware.admin.vmwPvdcStorageProfile+xml",
576
+ :ComplexTypeName=>"VMWProviderVdcStorageProfileType",
577
+ :SchemaLocation=>
578
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
579
+ {:MediaType=>"application/vnd.vmware.vcloud.allocatedNetworkAddress+xml",
580
+ :ComplexTypeName=>"AllocatedIpAddressesType",
581
+ :SchemaLocation=>
582
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
583
+ {:MediaType=>"application/vnd.vmware.admin.vimServerNetworks+xml",
584
+ :ComplexTypeName=>"VimObjectRefListType",
585
+ :SchemaLocation=>
586
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
587
+ {:MediaType=>
588
+ "application/vnd.vmware.admin.blockingTaskOperationParams+xml",
589
+ :ComplexTypeName=>"BlockingTaskOperationParamsType",
590
+ :SchemaLocation=>
591
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
592
+ {:MediaType=>
593
+ "application/vnd.vmware.admin.updateProviderVdcStorageProfiles+xml",
594
+ :ComplexTypeName=>"UpdateProviderVdcStorageProfilesParamsType",
595
+ :SchemaLocation=>
596
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
597
+ {:MediaType=>"application/vnd.vmware.admin.bundleUploadSocket+xml",
598
+ :ComplexTypeName=>"BundleUploadSocketType",
599
+ :SchemaLocation=>
600
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
601
+ {:MediaType=>"application/vnd.vmware.admin.gateway+xml",
602
+ :ComplexTypeName=>"GatewayType",
603
+ :SchemaLocation=>
604
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
605
+ {:MediaType=>"application/vnd.vmware.vcloud.screenTicket+xml",
606
+ :ComplexTypeName=>"ScreenTicketType",
607
+ :SchemaLocation=>
608
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
609
+ {:MediaType=>"application/vnd.vmware.admin.resourceClassAction+xml",
610
+ :ComplexTypeName=>"ResourceClassActionType",
611
+ :SchemaLocation=>
612
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
613
+ {:MediaType=>"application/vnd.vmware.admin.event+xml",
614
+ :ComplexTypeName=>"EventType",
615
+ :SchemaLocation=>
616
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
617
+ {:MediaType=>"application/vnd.vmware.vcloud.tasksList+xml",
618
+ :ComplexTypeName=>"TasksListType",
619
+ :SchemaLocation=>
620
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
621
+ {:MediaType=>"application/vnd.vmware.admin.migrateVmParams+xml",
622
+ :ComplexTypeName=>"MigrateParamsType",
623
+ :SchemaLocation=>
624
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
625
+ {:MediaType=>"application/vnd.vmware.vcloud.diskCreateParams+xml",
626
+ :ComplexTypeName=>"DiskCreateParamsType",
627
+ :SchemaLocation=>
628
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
629
+ {:MediaType=>"application/vnd.vmware.vcloud.registerVAppParams+xml",
630
+ :ComplexTypeName=>"RegisterVAppParamsType",
631
+ :SchemaLocation=>
632
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
633
+ {:MediaType=>
634
+ "application/vnd.vmware.admin.organizationGeneralSettings+xml",
635
+ :ComplexTypeName=>"OrgGeneralSettingsType",
636
+ :SchemaLocation=>
637
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
638
+ {:MediaType=>"application/vnd.vmware.admin.registerVimServerParams+xml",
639
+ :ComplexTypeName=>"RegisterVimServerParamsType",
640
+ :SchemaLocation=>
641
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
642
+ {:MediaType=>"application/vnd.vmware.admin.datastore+xml",
643
+ :ComplexTypeName=>"DatastoreType",
644
+ :SchemaLocation=>
645
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
646
+ {:MediaType=>
647
+ "application/vnd.vmware.vcloud.diskAttachOrDetachParams+xml",
648
+ :ComplexTypeName=>"DiskAttachOrDetachParamsType",
649
+ :SchemaLocation=>
650
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
651
+ {:MediaType=>"application/vnd.vmware.admin.updateRightsParams+xml",
652
+ :ComplexTypeName=>"UpdateRightsParamsType",
653
+ :SchemaLocation=>
654
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
655
+ {:MediaType=>"application/vnd.vmware.vcloud.metadata+xml",
656
+ :ComplexTypeName=>"MetadataType",
657
+ :SchemaLocation=>
658
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
659
+ {:MediaType=>"application/vnd.vmware.admin.vdcStorageProfile+xml",
660
+ :ComplexTypeName=>"AdminVdcStorageProfileType",
661
+ :SchemaLocation=>
662
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
663
+ {:MediaType=>"application/vnd.vmware.admin.systemSettings+xml",
664
+ :ComplexTypeName=>"SystemSettingsType",
665
+ :SchemaLocation=>
666
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
667
+ {:MediaType=>"application/vnd.vmware.admin.vmwHostReferences+xml",
668
+ :ComplexTypeName=>"VMWHostReferencesType",
669
+ :SchemaLocation=>
670
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
671
+ {:MediaType=>"application/vnd.vmware.admin.userEntityRights+xml",
672
+ :ComplexTypeName=>"UserEntityRightsType",
673
+ :SchemaLocation=>
674
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
675
+ {:MediaType=>"application/vnd.vmware.vcloud.metadata.value+xml",
676
+ :ComplexTypeName=>"MetadataValueType",
677
+ :SchemaLocation=>
678
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
679
+ {:MediaType=>"application/vnd.vmware.vcloud.media+xml",
680
+ :ComplexTypeName=>"MediaType",
681
+ :SchemaLocation=>
682
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
683
+ {:MediaType=>"application/vnd.vmware.admin.brandingSettings+xml",
684
+ :ComplexTypeName=>"BrandingSettingsType",
685
+ :SchemaLocation=>
686
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
687
+ {:MediaType=>"application/vnd.vmware.admin.updateVdcStorageProfiles+xml",
688
+ :ComplexTypeName=>"UpdateVdcStorageProfilesType",
689
+ :SchemaLocation=>
690
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
691
+ {:MediaType=>"application/vnd.vmware.admin.amqpSettings+xml",
692
+ :ComplexTypeName=>"AmqpSettingsType",
693
+ :SchemaLocation=>
694
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
695
+ {:MediaType=>"application/vnd.vmware.admin.resourceClass+xml",
696
+ :ComplexTypeName=>"ResourceClassType",
697
+ :SchemaLocation=>
698
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
699
+ {:MediaType=>"application/vnd.vmware.vcloud.deployVAppParams+xml",
700
+ :ComplexTypeName=>"DeployVAppParamsType",
701
+ :SchemaLocation=>
702
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
703
+ {:MediaType=>"application/vnd.vmware.admin.resourcePoolList+xml",
704
+ :ComplexTypeName=>"ResourcePoolListType",
705
+ :SchemaLocation=>
706
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
707
+ {:MediaType=>"application/vnd.vmware.vcloud.vdcStorageProfile+xml",
708
+ :ComplexTypeName=>"VdcStorageProfileType",
709
+ :SchemaLocation=>
710
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
711
+ {:MediaType=>"application/vnd.vmware.vcloud.networkConfigSection+xml",
712
+ :ComplexTypeName=>"NetworkConfigSectionType",
713
+ :SchemaLocation=>
714
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
715
+ {:MediaType=>
716
+ "application/vnd.vmware.admin.OrganizationVdcResourcePoolSet+xml",
717
+ :ComplexTypeName=>"OrganizationResourcePoolSetType",
718
+ :SchemaLocation=>
719
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
720
+ {:MediaType=>"application/vnd.vmware.admin.createProviderVdcParams+xml",
721
+ :ComplexTypeName=>"VMWProviderVdcParamsType",
722
+ :SchemaLocation=>
723
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
724
+ {:MediaType=>"application/vnd.vmware.admin.publishCatalogParams+xml",
725
+ :ComplexTypeName=>"PublishCatalogParamsType",
726
+ :SchemaLocation=>
727
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
728
+ {:MediaType=>"application/vnd.vmware.admin.vmwExtension+xml",
729
+ :ComplexTypeName=>"VMWExtensionType",
730
+ :SchemaLocation=>
731
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
732
+ {:MediaType=>"application/vnd.vmware.admin.notificationsSettings+xml",
733
+ :ComplexTypeName=>"NotificationsSettingsType",
734
+ :SchemaLocation=>
735
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
736
+ {:MediaType=>"application/vnd.vmware.admin.right+xml",
737
+ :ComplexTypeName=>"RightType",
738
+ :SchemaLocation=>
739
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
740
+ {:MediaType=>"application/vnd.vmware.vcloud.supportedSystemsInfo+xml",
741
+ :ComplexTypeName=>"SupportedOperatingSystemsInfoType",
742
+ :SchemaLocation=>
743
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
744
+ {:MediaType=>"application/vnd.vmware.vm.complianceResult+xml",
745
+ :ComplexTypeName=>"ComplianceResultType",
746
+ :SchemaLocation=>
747
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
748
+ {:MediaType=>"application/vnd.vmware.vcloud.orgList+xml",
749
+ :ComplexTypeName=>"OrgListType",
750
+ :SchemaLocation=>
751
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
752
+ {:MediaType=>"application/vnd.vmware.admin.vmwVimServerReferences+xml",
753
+ :ComplexTypeName=>"VMWVimServerReferencesType",
754
+ :SchemaLocation=>
755
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
756
+ {:MediaType=>"application/vnd.vmware.admin.vmwexternalnet+xml",
757
+ :ComplexTypeName=>"VMWExternalNetworkType",
758
+ :SchemaLocation=>
759
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
760
+ {:MediaType=>"application/vnd.vmware.vcloud.entity+xml",
761
+ :ComplexTypeName=>"EntityType",
762
+ :SchemaLocation=>
763
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
764
+ {:MediaType=>"application/vnd.vmware.vcloud.cloneMediaParams+xml",
765
+ :ComplexTypeName=>"CloneMediaParamsType",
766
+ :SchemaLocation=>
767
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
768
+ {:MediaType=>"application/vnd.vmware.admin.licensingReport+xml",
769
+ :ComplexTypeName=>"LicensingReportType",
770
+ :SchemaLocation=>
771
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
772
+ {:MediaType=>"application/vnd.vmware.admin.apiDefinition+xml",
773
+ :ComplexTypeName=>"ApiDefinitionType",
774
+ :SchemaLocation=>
775
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
776
+ {:MediaType=>"application/vnd.vmware.admin.vshieldmanager+xml",
777
+ :ComplexTypeName=>"ShieldManagerType",
778
+ :SchemaLocation=>
779
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
780
+ {:MediaType=>"application/vnd.vmware.admin.blockingTaskList+xml",
781
+ :ComplexTypeName=>"ReferencesType",
782
+ :SchemaLocation=>
783
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
784
+ {:MediaType=>"application/vnd.vmware.vcloud.vmPendingAnswer+xml",
785
+ :ComplexTypeName=>"VmQuestionAnswerType",
786
+ :SchemaLocation=>
787
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
788
+ {:MediaType=>"application/vnd.vmware.vcloud.rasdItemsList+xml",
789
+ :ComplexTypeName=>"RasdItemsListType",
790
+ :SchemaLocation=>
791
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
792
+ {:MediaType=>"application/vnd.vmware.admin.generalSettings+xml",
793
+ :ComplexTypeName=>"GeneralSettingsType",
794
+ :SchemaLocation=>
795
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
796
+ {:MediaType=>"application/vnd.vmware.admin.group+xml",
797
+ :ComplexTypeName=>"GroupType",
798
+ :SchemaLocation=>
799
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
800
+ {:MediaType=>"application/vnd.vmware.vcloud.controlAccess+xml",
801
+ :ComplexTypeName=>"ControlAccessParamsType",
802
+ :SchemaLocation=>
803
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
804
+ {:MediaType=>"application/vnd.vmware.admin.user+xml",
805
+ :ComplexTypeName=>"UserType",
806
+ :SchemaLocation=>
807
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
808
+ {:MediaType=>"application/vnd.vmware.admin.vmwvirtualcenter+xml",
809
+ :ComplexTypeName=>"VimServerType",
810
+ :SchemaLocation=>
811
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
812
+ {:MediaType=>"application/vnd.vmware.admin.strandedItem+xml",
813
+ :ComplexTypeName=>"StrandedItemType",
814
+ :SchemaLocation=>
815
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
816
+ {:MediaType=>"application/vnd.vmware.vcloud.leaseSettingsSection+xml",
817
+ :ComplexTypeName=>"LeaseSettingsSectionType",
818
+ :SchemaLocation=>
819
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
820
+ {:MediaType=>
821
+ "application/vnd.vmware.admin.organizationEmailSettings+xml",
822
+ :ComplexTypeName=>"OrgEmailSettingsType",
823
+ :SchemaLocation=>
824
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
825
+ {:MediaType=>"application/vnd.vmware.vcloud.cloneVAppParams+xml",
826
+ :ComplexTypeName=>"CloneVAppParamsType",
827
+ :SchemaLocation=>
828
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
829
+ {:MediaType=>"application/vnd.vmware.vcloud.task+xml",
830
+ :ComplexTypeName=>"TaskType",
831
+ :SchemaLocation=>
832
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
833
+ {:MediaType=>"application/vnd.vmware.admin.vAppLeaseSettings+xml",
834
+ :ComplexTypeName=>"OrgLeaseSettingsType",
835
+ :SchemaLocation=>
836
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
837
+ {:MediaType=>"application/vnd.vmware.admin.role+xml",
838
+ :ComplexTypeName=>"RoleType",
839
+ :SchemaLocation=>
840
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
841
+ {:MediaType=>"application/vnd.vmware.admin.vmwProviderVdcReferences+xml",
842
+ :ComplexTypeName=>"VMWProviderVdcReferencesType",
843
+ :SchemaLocation=>
844
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
845
+ {:MediaType=>"application/vnd.vmware.vcloud.customizationSection+xml",
846
+ :ComplexTypeName=>"CustomizationSectionType",
847
+ :SchemaLocation=>
848
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
849
+ {:MediaType=>"application/vnd.vmware.admin.service+xml",
850
+ :ComplexTypeName=>"ServiceType",
851
+ :SchemaLocation=>
852
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
853
+ {:MediaType=>"application/vnd.vmware.vcloud.relocateVmParams+xml",
854
+ :ComplexTypeName=>"RelocateParamsType",
855
+ :SchemaLocation=>
856
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
857
+ {:MediaType=>"application/vnd.vmware.admin.rights+xml",
858
+ :ComplexTypeName=>"RightRefsType",
859
+ :SchemaLocation=>
860
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
861
+ {:MediaType=>
862
+ "application/vnd.vmware.admin.vmwExternalNetworkReferences+xml",
863
+ :ComplexTypeName=>"VMWExternalNetworkReferencesType",
864
+ :SchemaLocation=>
865
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
866
+ {:MediaType=>"application/vnd.vmware.vcloud.disk+xml",
867
+ :ComplexTypeName=>"DiskType",
868
+ :SchemaLocation=>
869
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
870
+ {:MediaType=>"application/vnd.vmware.admin.kerberosSettings+xml",
871
+ :ComplexTypeName=>"KerberosSettingsType",
872
+ :SchemaLocation=>
873
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
874
+ {:MediaType=>"application/vnd.vmware.admin.operationLimitsSettings+xml",
875
+ :ComplexTypeName=>"OrgOperationLimitsSettingsType",
876
+ :SchemaLocation=>
877
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
878
+ {:MediaType=>"application/vnd.vmware.admin.host+xml",
879
+ :ComplexTypeName=>"HostType",
880
+ :SchemaLocation=>
881
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
882
+ {:MediaType=>"application/vnd.vmware.vcloud.catalogItem+xml",
883
+ :ComplexTypeName=>"CatalogItemType",
884
+ :SchemaLocation=>
885
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
886
+ {:MediaType=>"application/vnd.vmware.admin.entityReferences+xml",
887
+ :ComplexTypeName=>"EntityReferencesType",
888
+ :SchemaLocation=>
889
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
890
+ {:MediaType=>"application/vnd.vmware.vcloud.vdc+xml",
891
+ :ComplexTypeName=>"VdcType",
892
+ :SchemaLocation=>
893
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
894
+ {:MediaType=>"application/vnd.vmware.admin.catalog+xml",
895
+ :ComplexTypeName=>"AdminCatalogType",
896
+ :SchemaLocation=>
897
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
898
+ {:MediaType=>"application/vnd.vmware.vcloud.recomposeVAppParams+xml",
899
+ :ComplexTypeName=>"RecomposeVAppParamsType",
900
+ :SchemaLocation=>
901
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
902
+ {:MediaType=>"application/vnd.vmware.admin.orgVdcNetwork+xml",
903
+ :ComplexTypeName=>"OrgVdcNetworkType",
904
+ :SchemaLocation=>
905
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
906
+ {:MediaType=>"application/vnd.vmware.admin.providervdc+xml",
907
+ :ComplexTypeName=>"ProviderVdcType",
908
+ :SchemaLocation=>
909
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
910
+ {:MediaType=>
911
+ "application/vnd.vmware.admin.blockingTaskUpdateProgressOperationParams+xml",
912
+ :ComplexTypeName=>"BlockingTaskUpdateProgressParamsType",
913
+ :SchemaLocation=>
914
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
915
+ {:MediaType=>"application/vnd.vmware.admin.vdcReferences+xml",
916
+ :ComplexTypeName=>"VdcReferencesType",
917
+ :SchemaLocation=>
918
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
919
+ {:MediaType=>
920
+ "application/vnd.vmware.admin.systemPasswordPolicySettings+xml",
921
+ :ComplexTypeName=>"SystemPasswordPolicySettingsType",
922
+ :SchemaLocation=>
923
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
924
+ {:MediaType=>"application/vnd.vmware.vcloud.vApp+xml",
925
+ :ComplexTypeName=>"VAppType",
926
+ :SchemaLocation=>
927
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
928
+ {:MediaType=>"application/vnd.vmware.admin.vmwprovidervdc+xml",
929
+ :ComplexTypeName=>"VMWProviderVdcType",
930
+ :SchemaLocation=>
931
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
932
+ {:MediaType=>"application/vnd.vmware.vcloud.vms+xml",
933
+ :ComplexTypeName=>"VmsType",
934
+ :SchemaLocation=>
935
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
936
+ {:MediaType=>"application/vnd.vmware.admin.orgSettings+xml",
937
+ :ComplexTypeName=>"OrgSettingsType",
938
+ :SchemaLocation=>
939
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
940
+ {:MediaType=>"application/vnd.vmware.admin.apiFilter+xml",
941
+ :ComplexTypeName=>"ApiFilterType",
942
+ :SchemaLocation=>
943
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
944
+ {:MediaType=>"application/vnd.vmware.vcloud.captureVAppParams+xml",
945
+ :ComplexTypeName=>"CaptureVAppParamsType",
946
+ :SchemaLocation=>
947
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
948
+ {:MediaType=>"application/vnd.vmware.vcloud.vmCapabilitiesSection+xml",
949
+ :ComplexTypeName=>"VmCapabilitiesType",
950
+ :SchemaLocation=>
951
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
952
+ {:MediaType=>"application/vnd.vmware.vcloud.runtimeInfoSection+xml",
953
+ :ComplexTypeName=>"RuntimeInfoSectionType",
954
+ :SchemaLocation=>
955
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
956
+ {:MediaType=>"application/vnd.vmware.admin.amqpSettingsTest+xml",
957
+ :ComplexTypeName=>"AmqpSettingsTestType",
958
+ :SchemaLocation=>
959
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
960
+ {:MediaType=>
961
+ "application/vnd.vmware.admin.importVmAsVAppTemplateParams+xml",
962
+ :ComplexTypeName=>"ImportVmAsVAppTemplateParamsType",
963
+ :SchemaLocation=>
964
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
965
+ {:MediaType=>
966
+ "application/vnd.vmware.admin.guestPersonalizationSettings+xml",
967
+ :ComplexTypeName=>"OrgGuestPersonalizationSettingsType",
968
+ :SchemaLocation=>
969
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
970
+ {:MediaType=>"application/vnd.vmware.admin.orgNetwork+xml",
971
+ :ComplexTypeName=>"OrgNetworkType",
972
+ :SchemaLocation=>
973
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
974
+ {:MediaType=>"application/vnd.vmware.admin.fileDescriptor+xml",
975
+ :ComplexTypeName=>"FileDescriptorType",
976
+ :SchemaLocation=>
977
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
978
+ {:MediaType=>
979
+ "application/vnd.vmware.vcloud.uploadVAppTemplateParams+xml",
980
+ :ComplexTypeName=>"UploadVAppTemplateParamsType",
981
+ :SchemaLocation=>
982
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
983
+ {:MediaType=>"application/vnd.vmware.admin.licensingReportList+xml",
984
+ :ComplexTypeName=>"LicensingReportListType",
985
+ :SchemaLocation=>
986
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
987
+ {:MediaType=>"application/vnd.vmware.admin.vmwNetworkPool+xml",
988
+ :ComplexTypeName=>"VMWNetworkPoolType",
989
+ :SchemaLocation=>
990
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
991
+ {:MediaType=>"application/vnd.vmware.admin.taskOperationList+xml",
992
+ :ComplexTypeName=>"TaskOperationListType",
993
+ :SchemaLocation=>
994
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
995
+ {:MediaType=>"application/vnd.vmware.admin.vSphereWebClientUrl+xml",
996
+ :ComplexTypeName=>"VSphereWebClientUrlType",
997
+ :SchemaLocation=>
998
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
999
+ {:MediaType=>"application/vnd.vmware.vcloud.productSections+xml",
1000
+ :ComplexTypeName=>"ProductSectionListType",
1001
+ :SchemaLocation=>
1002
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
1003
+ {:MediaType=>"application/vnd.vmware.admin.blockingTaskSettings+xml",
1004
+ :ComplexTypeName=>"BlockingTaskSettingsType",
1005
+ :SchemaLocation=>
1006
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
1007
+ {:MediaType=>"application/vnd.vmware.vcloud.vAppTemplate+xml",
1008
+ :ComplexTypeName=>"VAppTemplateType",
1009
+ :SchemaLocation=>
1010
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
1011
+ {:MediaType=>
1012
+ "application/vnd.vmware.admin.organizationPasswordPolicySettings+xml",
1013
+ :ComplexTypeName=>"OrgPasswordPolicySettingsType",
1014
+ :SchemaLocation=>
1015
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
1016
+ {:MediaType=>
1017
+ "application/vnd.vmware.vcloud.mediaInsertOrEjectParams+xml",
1018
+ :ComplexTypeName=>"MediaInsertOrEjectParamsType",
1019
+ :SchemaLocation=>
1020
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
1021
+ {:MediaType=>"application/vnd.vmware.vcloud.vmPendingQuestion+xml",
1022
+ :ComplexTypeName=>"VmPendingQuestionType",
1023
+ :SchemaLocation=>
1024
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
1025
+ {:MediaType=>"application/vnd.vmware.admin.organization+xml",
1026
+ :ComplexTypeName=>"AdminOrgType",
1027
+ :SchemaLocation=>
1028
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
1029
+ {:MediaType=>"application/vnd.vmware.admin.ldapSettings+xml",
1030
+ :ComplexTypeName=>"LdapSettingsType",
1031
+ :SchemaLocation=>
1032
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
1033
+ {:MediaType=>"application/vnd.vmware.vcloud.snapshotSection+xml",
1034
+ :ComplexTypeName=>"SnapshotSectionType",
1035
+ :SchemaLocation=>
1036
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
1037
+ {:MediaType=>
1038
+ "application/vnd.vmware.admin.vAppTemplateLeaseSettings+xml",
1039
+ :ComplexTypeName=>"OrgVAppTemplateLeaseSettingsType",
1040
+ :SchemaLocation=>
1041
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
1042
+ {:MediaType=>"application/vnd.vmware.admin.importMediaParams+xml",
1043
+ :ComplexTypeName=>"ImportMediaParamsType",
1044
+ :SchemaLocation=>
1045
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
1046
+ {:MediaType=>
1047
+ "application/vnd.vmware.admin.resourcePoolSetUpdateParams+xml",
1048
+ :ComplexTypeName=>"UpdateResourcePoolSetParamsType",
1049
+ :SchemaLocation=>
1050
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
1051
+ {:MediaType=>"application/vnd.vmware.admin.licenseSettings+xml",
1052
+ :ComplexTypeName=>"LicenseType",
1053
+ :SchemaLocation=>
1054
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
1055
+ {:MediaType=>"application/vnd.vmware.admin.bundleUploadParams+xml",
1056
+ :ComplexTypeName=>"BundleUploadParamsType",
1057
+ :SchemaLocation=>
1058
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
1059
+ {:MediaType=>"application/vnd.vmware.admin.vmwNetworkPoolReferences+xml",
1060
+ :ComplexTypeName=>"VMWNetworkPoolReferencesType",
1061
+ :SchemaLocation=>
1062
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
1063
+ {:MediaType=>"application/vnd.vmware.admin.vcloud+xml",
1064
+ :ComplexTypeName=>"VCloudType",
1065
+ :SchemaLocation=>
1066
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
1067
+ {:MediaType=>"application/vnd.vmware.admin.serviceResource+xml",
1068
+ :ComplexTypeName=>"ServiceResourceType",
1069
+ :SchemaLocation=>
1070
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
1071
+ {:MediaType=>"application/vnd.vmware.vcloud.composeVAppParams+xml",
1072
+ :ComplexTypeName=>"ComposeVAppParamsType",
1073
+ :SchemaLocation=>
1074
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
1075
+ {:MediaType=>
1076
+ "application/vnd.vmware.admin.vmwProviderVdcResourcePool+xml",
1077
+ :ComplexTypeName=>"VMWProviderVdcResourcePoolSetType",
1078
+ :SchemaLocation=>
1079
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
1080
+ {:MediaType=>"application/vnd.vmware.vcloud.vm+xml",
1081
+ :ComplexTypeName=>"VmType",
1082
+ :SchemaLocation=>
1083
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
1084
+ {:MediaType=>
1085
+ "application/vnd.vmware.vcloud.guestCustomizationSection+xml",
1086
+ :ComplexTypeName=>"GuestCustomizationSectionType",
1087
+ :SchemaLocation=>
1088
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
1089
+ {:MediaType=>"application/vnd.vmware.vcloud.session+xml",
1090
+ :ComplexTypeName=>"SessionType",
1091
+ :SchemaLocation=>
1092
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
1093
+ {:MediaType=>"application/vnd.vmware.admin.pvdcStorageProfile+xml",
1094
+ :ComplexTypeName=>"ProviderVdcStorageProfileType",
1095
+ :SchemaLocation=>
1096
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
1097
+ {:MediaType=>"application/vnd.vmware.admin.vmwStorageProfiles+xml",
1098
+ :ComplexTypeName=>"VMWStorageProfilesType",
1099
+ :SchemaLocation=>
1100
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
1101
+ {:MediaType=>"application/vnd.vmware.admin.importVmAsVAppParams+xml",
1102
+ :ComplexTypeName=>"ImportVmAsVAppParamsType",
1103
+ :SchemaLocation=>
1104
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
1105
+ {:MediaType=>"application/vnd.vmware.admin.serviceLink+xml",
1106
+ :ComplexTypeName=>"ServiceLinkType",
1107
+ :SchemaLocation=>
1108
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"},
1109
+ {:MediaType=>"application/vnd.vmware.vcloud.enableDownloadParams+xml",
1110
+ :ComplexTypeName=>"EnableDownloadParamsType",
1111
+ :SchemaLocation=>
1112
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
1113
+ {:MediaType=>"application/vnd.vmware.vcloud.rasdItem+xml",
1114
+ :ComplexTypeName=>"RASD_Type",
1115
+ :SchemaLocation=>
1116
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
1117
+ {:MediaType=>"application/vnd.vmware.vcloud.startupSection+xml",
1118
+ :ComplexTypeName=>"StartupSection_Type",
1119
+ :SchemaLocation=>
1120
+ "http://schemas.dmtf.org/ovf/envelope/1/dsp8023_1.1.0.xsd"},
1121
+ {:MediaType=>"application/vnd.vmware.vcloud.virtualHardwareSection+xml",
1122
+ :ComplexTypeName=>"VirtualHardwareSection_Type",
1123
+ :SchemaLocation=>
1124
+ "http://schemas.dmtf.org/ovf/envelope/1/dsp8023_1.1.0.xsd"},
1125
+ {:MediaType=>"application/vnd.vmware.vcloud.operatingSystemSection+xml",
1126
+ :ComplexTypeName=>"OperatingSystemSection_Type",
1127
+ :SchemaLocation=>
1128
+ "http://schemas.dmtf.org/ovf/envelope/1/dsp8023_1.1.0.xsd"},
1129
+ {:MediaType=>"application/vnd.vmware.vcloud.networkSection+xml",
1130
+ :ComplexTypeName=>"NetworkSection_Type",
1131
+ :SchemaLocation=>
1132
+ "http://schemas.dmtf.org/ovf/envelope/1/dsp8023_1.1.0.xsd"},
1133
+ {:MediaType=>"application/vnd.vmware.vcloud.vAppNetwork+xml",
1134
+ :ComplexTypeName=>"VAppNetworkType",
1135
+ :SchemaLocation=>
1136
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
1137
+ {:MediaType=>"application/vnd.vmware.vcloud.network+xml",
1138
+ :ComplexTypeName=>"NetworkType",
1139
+ :SchemaLocation=>
1140
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
1141
+ {:MediaType=>"application/vnd.vmware.vcloud.orgNetwork+xml",
1142
+ :ComplexTypeName=>"OrgNetworkType",
1143
+ :SchemaLocation=>
1144
+ "http://#{@host}#{@path}/v1.5/schema/master.xsd"},
1145
+ {:MediaType=>"application/vnd.vmware.admin.vmwexternalnet+xml",
1146
+ :ComplexTypeName=>"VMWExternalNetworkType",
1147
+ :SchemaLocation=>
1148
+ "http://#{@host}#{@path}/v1.5/schema/vmwextensions.xsd"}]}]}
1149
+
1150
+ Excon::Response.new(
1151
+ :body => body,
1152
+ :headers => {'Content-Type' => 'text/xml'},
1153
+ :status => 200
1154
+ )
1155
+ end
1156
+ end
1157
+ end
1158
+ end
1159
+ end