nutanix_vmm 0.2.1 → 0.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (707) hide show
  1. checksums.yaml +4 -4
  2. data/.openapi-config.json +9 -0
  3. data/.openapi-generator/FILES +2074 -0
  4. data/.openapi-generator/VERSION +1 -0
  5. data/.openapi-generator-ignore +28 -0
  6. data/.rspec +2 -0
  7. data/.rubocop.yml +148 -0
  8. data/.whitesource +3 -0
  9. data/CHANGELOG.md +6 -0
  10. data/lib/nutanix_vmm/version.rb +1 -1
  11. metadata +9 -1386
  12. data/Gemfile +0 -9
  13. data/bin/console +0 -15
  14. data/bin/openapi-generate +0 -30
  15. data/bin/openapi-generate-ruby-post-process +0 -6
  16. data/nutanix_vmm.gemspec +0 -39
  17. data/openapi-generator-cli-7.17.0.jar +0 -0
  18. data/pkg/nutanix_vmm-0.1.0.gem +0 -0
  19. data/pkg/nutanix_vmm-0.2.0.gem +0 -0
  20. data/spec/api/esxi_stats_api_spec.rb +0 -108
  21. data/spec/api/esxi_vm_api_spec.rb +0 -290
  22. data/spec/api/image_placement_policies_api_spec.rb +0 -132
  23. data/spec/api/image_rate_limit_policies_api_spec.rb +0 -119
  24. data/spec/api/images_api_spec.rb +0 -128
  25. data/spec/api/stats_api_spec.rb +0 -108
  26. data/spec/api/templates_api_spec.rb +0 -218
  27. data/spec/api/vm_anti_affinity_policies_api_spec.rb +0 -145
  28. data/spec/api/vm_api_spec.rb +0 -911
  29. data/spec/api/vm_host_affinity_policies_api_spec.rb +0 -132
  30. data/spec/models/assign_ip_by_id202_response_spec.rb +0 -42
  31. data/spec/models/assign_ip_by_id4_xx_response_spec.rb +0 -42
  32. data/spec/models/assign_vm_owner202_response1_spec.rb +0 -42
  33. data/spec/models/assign_vm_owner202_response_spec.rb +0 -42
  34. data/spec/models/assign_vm_owner4_xx_response1_spec.rb +0 -42
  35. data/spec/models/assign_vm_owner4_xx_response_spec.rb +0 -42
  36. data/spec/models/associate_categories202_response1_spec.rb +0 -42
  37. data/spec/models/associate_categories202_response_spec.rb +0 -42
  38. data/spec/models/associate_categories4_xx_response1_spec.rb +0 -42
  39. data/spec/models/associate_categories4_xx_response_spec.rb +0 -42
  40. data/spec/models/cancel_guest_update202_response_spec.rb +0 -42
  41. data/spec/models/cancel_guest_update4_xx_response_spec.rb +0 -42
  42. data/spec/models/clone_vm202_response_spec.rb +0 -42
  43. data/spec/models/clone_vm4_xx_response_spec.rb +0 -42
  44. data/spec/models/common_v10_config_flag_spec.rb +0 -42
  45. data/spec/models/common_v10_config_ipv4_address_spec.rb +0 -42
  46. data/spec/models/common_v10_config_kv_pair_spec.rb +0 -42
  47. data/spec/models/common_v10_config_kv_pair_value_spec.rb +0 -32
  48. data/spec/models/common_v10_config_map_of_string_wrapper_spec.rb +0 -36
  49. data/spec/models/common_v10_config_message_severity_spec.rb +0 -30
  50. data/spec/models/common_v10_config_message_spec.rb +0 -54
  51. data/spec/models/common_v10_config_tenant_aware_model_spec.rb +0 -36
  52. data/spec/models/common_v10_response_api_link_spec.rb +0 -42
  53. data/spec/models/common_v10_response_api_response_metadata_spec.rb +0 -60
  54. data/spec/models/common_v10_response_externalizable_abstract_model_spec.rb +0 -48
  55. data/spec/models/common_v10_stats_down_sampling_operator_spec.rb +0 -30
  56. data/spec/models/complete_guest_update202_response_spec.rb +0 -42
  57. data/spec/models/complete_guest_update4_xx_response_spec.rb +0 -42
  58. data/spec/models/create_cd_rom202_response_spec.rb +0 -42
  59. data/spec/models/create_cd_rom4_xx_response_spec.rb +0 -42
  60. data/spec/models/create_disk202_response_spec.rb +0 -42
  61. data/spec/models/create_disk4_xx_response_spec.rb +0 -42
  62. data/spec/models/create_gpu202_response_spec.rb +0 -42
  63. data/spec/models/create_gpu4_xx_response_spec.rb +0 -42
  64. data/spec/models/create_image202_response_spec.rb +0 -42
  65. data/spec/models/create_image4_xx_response_spec.rb +0 -42
  66. data/spec/models/create_nic202_response_spec.rb +0 -42
  67. data/spec/models/create_nic4_xx_response_spec.rb +0 -42
  68. data/spec/models/create_pcie_device202_response_spec.rb +0 -42
  69. data/spec/models/create_pcie_device4_xx_response_spec.rb +0 -42
  70. data/spec/models/create_placement_policy202_response_spec.rb +0 -42
  71. data/spec/models/create_placement_policy4_xx_response_spec.rb +0 -42
  72. data/spec/models/create_rate_limit_policy202_response_spec.rb +0 -42
  73. data/spec/models/create_rate_limit_policy4_xx_response_spec.rb +0 -42
  74. data/spec/models/create_serial_port202_response_spec.rb +0 -42
  75. data/spec/models/create_serial_port4_xx_response_spec.rb +0 -42
  76. data/spec/models/create_template202_response_spec.rb +0 -42
  77. data/spec/models/create_template4_xx_response_spec.rb +0 -42
  78. data/spec/models/create_vm202_response_spec.rb +0 -42
  79. data/spec/models/create_vm4_xx_response_spec.rb +0 -42
  80. data/spec/models/create_vm_anti_affinity_policy202_response_spec.rb +0 -42
  81. data/spec/models/create_vm_anti_affinity_policy4_xx_response_spec.rb +0 -42
  82. data/spec/models/create_vm_host_affinity_policy202_response_spec.rb +0 -42
  83. data/spec/models/create_vm_host_affinity_policy4_xx_response_spec.rb +0 -42
  84. data/spec/models/cross_cluster_migrate_vm202_response_spec.rb +0 -42
  85. data/spec/models/cross_cluster_migrate_vm4_xx_response_spec.rb +0 -42
  86. data/spec/models/customize_guest_vm202_response_spec.rb +0 -42
  87. data/spec/models/customize_guest_vm4_xx_response_spec.rb +0 -42
  88. data/spec/models/dataprotection_v40_common_base_recovery_point_spec.rb +0 -84
  89. data/spec/models/dataprotection_v40_common_recovery_point_status_spec.rb +0 -30
  90. data/spec/models/dataprotection_v40_common_recovery_point_type_spec.rb +0 -30
  91. data/spec/models/delete_cd_rom_by_id202_response_spec.rb +0 -42
  92. data/spec/models/delete_cd_rom_by_id4_xx_response_spec.rb +0 -42
  93. data/spec/models/delete_disk_by_id202_response_spec.rb +0 -42
  94. data/spec/models/delete_disk_by_id4_xx_response_spec.rb +0 -42
  95. data/spec/models/delete_gpu_by_id202_response_spec.rb +0 -42
  96. data/spec/models/delete_gpu_by_id4_xx_response_spec.rb +0 -42
  97. data/spec/models/delete_image_by_id202_response_spec.rb +0 -42
  98. data/spec/models/delete_image_by_id4_xx_response_spec.rb +0 -42
  99. data/spec/models/delete_legacy_vm_anti_affinity_policy_by_id202_response_spec.rb +0 -42
  100. data/spec/models/delete_legacy_vm_anti_affinity_policy_by_id4_xx_response_spec.rb +0 -42
  101. data/spec/models/delete_nic_by_id202_response_spec.rb +0 -42
  102. data/spec/models/delete_nic_by_id4_xx_response_spec.rb +0 -42
  103. data/spec/models/delete_pcie_device_by_id202_response_spec.rb +0 -42
  104. data/spec/models/delete_pcie_device_by_id4_xx_response_spec.rb +0 -42
  105. data/spec/models/delete_placement_policy_by_id202_response_spec.rb +0 -42
  106. data/spec/models/delete_placement_policy_by_id4_xx_response_spec.rb +0 -42
  107. data/spec/models/delete_rate_limit_policy_by_id202_response_spec.rb +0 -42
  108. data/spec/models/delete_rate_limit_policy_by_id4_xx_response_spec.rb +0 -42
  109. data/spec/models/delete_serial_port_by_id202_response_spec.rb +0 -42
  110. data/spec/models/delete_serial_port_by_id4_xx_response_spec.rb +0 -42
  111. data/spec/models/delete_template_by_id202_response_spec.rb +0 -42
  112. data/spec/models/delete_template_by_id4_xx_response_spec.rb +0 -42
  113. data/spec/models/delete_template_version_by_id202_response_spec.rb +0 -42
  114. data/spec/models/delete_template_version_by_id4_xx_response_spec.rb +0 -42
  115. data/spec/models/delete_vm_anti_affinity_policy_by_id202_response_spec.rb +0 -42
  116. data/spec/models/delete_vm_anti_affinity_policy_by_id4_xx_response_spec.rb +0 -42
  117. data/spec/models/delete_vm_by_id202_response_spec.rb +0 -42
  118. data/spec/models/delete_vm_by_id4_xx_response_spec.rb +0 -42
  119. data/spec/models/delete_vm_host_affinity_policy_by_id202_response_spec.rb +0 -42
  120. data/spec/models/delete_vm_host_affinity_policy_by_id4_xx_response_spec.rb +0 -42
  121. data/spec/models/deploy_template202_response_spec.rb +0 -42
  122. data/spec/models/deploy_template4_xx_response_spec.rb +0 -42
  123. data/spec/models/disassociate_categories202_response1_spec.rb +0 -42
  124. data/spec/models/disassociate_categories202_response_spec.rb +0 -42
  125. data/spec/models/disassociate_categories4_xx_response1_spec.rb +0 -42
  126. data/spec/models/disassociate_categories4_xx_response_spec.rb +0 -42
  127. data/spec/models/eject_cd_rom_by_id202_response_spec.rb +0 -42
  128. data/spec/models/eject_cd_rom_by_id4_xx_response_spec.rb +0 -42
  129. data/spec/models/get_cd_rom_by_id200_response_spec.rb +0 -42
  130. data/spec/models/get_cd_rom_by_id4_xx_response_spec.rb +0 -42
  131. data/spec/models/get_disk_by_id200_response_spec.rb +0 -42
  132. data/spec/models/get_disk_by_id4_xx_response_spec.rb +0 -42
  133. data/spec/models/get_disk_stats_by_id200_response1_spec.rb +0 -42
  134. data/spec/models/get_disk_stats_by_id200_response_spec.rb +0 -42
  135. data/spec/models/get_disk_stats_by_id4_xx_response1_spec.rb +0 -42
  136. data/spec/models/get_disk_stats_by_id4_xx_response_spec.rb +0 -42
  137. data/spec/models/get_file_by_image_id4_xx_response_spec.rb +0 -42
  138. data/spec/models/get_gpu_by_id200_response_spec.rb +0 -42
  139. data/spec/models/get_gpu_by_id4_xx_response_spec.rb +0 -42
  140. data/spec/models/get_guest_tools_by_id200_response_spec.rb +0 -42
  141. data/spec/models/get_guest_tools_by_id4_xx_response_spec.rb +0 -42
  142. data/spec/models/get_image_by_id200_response_spec.rb +0 -42
  143. data/spec/models/get_image_by_id4_xx_response_spec.rb +0 -42
  144. data/spec/models/get_nic_by_id200_response_spec.rb +0 -42
  145. data/spec/models/get_nic_by_id4_xx_response_spec.rb +0 -42
  146. data/spec/models/get_nic_stats_by_id200_response1_spec.rb +0 -42
  147. data/spec/models/get_nic_stats_by_id200_response_spec.rb +0 -42
  148. data/spec/models/get_nic_stats_by_id4_xx_response1_spec.rb +0 -42
  149. data/spec/models/get_nic_stats_by_id4_xx_response_spec.rb +0 -42
  150. data/spec/models/get_nutanix_guest_tools_by_id200_response_spec.rb +0 -42
  151. data/spec/models/get_nutanix_guest_tools_by_id4_xx_response_spec.rb +0 -42
  152. data/spec/models/get_pcie_device_by_id200_response_spec.rb +0 -42
  153. data/spec/models/get_pcie_device_by_id4_xx_response_spec.rb +0 -42
  154. data/spec/models/get_placement_policy_by_id200_response_spec.rb +0 -42
  155. data/spec/models/get_placement_policy_by_id4_xx_response_spec.rb +0 -42
  156. data/spec/models/get_rate_limit_policy_by_id200_response_spec.rb +0 -42
  157. data/spec/models/get_rate_limit_policy_by_id4_xx_response_spec.rb +0 -42
  158. data/spec/models/get_serial_port_by_id200_response_spec.rb +0 -42
  159. data/spec/models/get_serial_port_by_id4_xx_response_spec.rb +0 -42
  160. data/spec/models/get_template_by_id200_response_spec.rb +0 -42
  161. data/spec/models/get_template_by_id4_xx_response_spec.rb +0 -42
  162. data/spec/models/get_template_version_by_id200_response_spec.rb +0 -42
  163. data/spec/models/get_template_version_by_id4_xx_response_spec.rb +0 -42
  164. data/spec/models/get_vm_anti_affinity_policy_by_id200_response_spec.rb +0 -42
  165. data/spec/models/get_vm_anti_affinity_policy_by_id4_xx_response_spec.rb +0 -42
  166. data/spec/models/get_vm_by_id200_response1_spec.rb +0 -42
  167. data/spec/models/get_vm_by_id200_response_spec.rb +0 -42
  168. data/spec/models/get_vm_by_id4_xx_response1_spec.rb +0 -42
  169. data/spec/models/get_vm_by_id4_xx_response_spec.rb +0 -42
  170. data/spec/models/get_vm_host_affinity_policy_by_id200_response_spec.rb +0 -42
  171. data/spec/models/get_vm_host_affinity_policy_by_id4_xx_response_spec.rb +0 -42
  172. data/spec/models/get_vm_stats_by_id200_response1_spec.rb +0 -42
  173. data/spec/models/get_vm_stats_by_id200_response_spec.rb +0 -42
  174. data/spec/models/get_vm_stats_by_id4_xx_response1_spec.rb +0 -42
  175. data/spec/models/get_vm_stats_by_id4_xx_response_spec.rb +0 -42
  176. data/spec/models/iam_v40_authn_buckets_access_key_spec.rb +0 -114
  177. data/spec/models/iam_v40_authn_buckets_access_key_status_type_spec.rb +0 -30
  178. data/spec/models/iam_v40_authn_creation_type_spec.rb +0 -30
  179. data/spec/models/iam_v40_authn_user_spec.rb +0 -180
  180. data/spec/models/iam_v40_authn_user_status_type_spec.rb +0 -30
  181. data/spec/models/iam_v40_authn_user_type_spec.rb +0 -30
  182. data/spec/models/import_image202_response_spec.rb +0 -42
  183. data/spec/models/import_image4_xx_response_spec.rb +0 -42
  184. data/spec/models/initiate_guest_update202_response_spec.rb +0 -42
  185. data/spec/models/initiate_guest_update4_xx_response_spec.rb +0 -42
  186. data/spec/models/insert_cd_rom_by_id202_response_spec.rb +0 -42
  187. data/spec/models/insert_cd_rom_by_id4_xx_response_spec.rb +0 -42
  188. data/spec/models/insert_nutanix_guest_tools202_response_spec.rb +0 -42
  189. data/spec/models/insert_nutanix_guest_tools4_xx_response_spec.rb +0 -42
  190. data/spec/models/insert_vm_guest_tools202_response_spec.rb +0 -42
  191. data/spec/models/insert_vm_guest_tools4_xx_response_spec.rb +0 -42
  192. data/spec/models/install_nutanix_guest_tools202_response_spec.rb +0 -42
  193. data/spec/models/install_nutanix_guest_tools4_xx_response_spec.rb +0 -42
  194. data/spec/models/install_vm_guest_tools202_response_spec.rb +0 -42
  195. data/spec/models/install_vm_guest_tools4_xx_response_spec.rb +0 -42
  196. data/spec/models/list_cd_roms_by_vm_id200_response_spec.rb +0 -42
  197. data/spec/models/list_cd_roms_by_vm_id4_xx_response_spec.rb +0 -42
  198. data/spec/models/list_disks_by_vm_id200_response_spec.rb +0 -42
  199. data/spec/models/list_disks_by_vm_id4_xx_response_spec.rb +0 -42
  200. data/spec/models/list_effective_rate_limit_policies200_response_spec.rb +0 -42
  201. data/spec/models/list_effective_rate_limit_policies4_xx_response_spec.rb +0 -42
  202. data/spec/models/list_gpus_by_vm_id200_response_spec.rb +0 -42
  203. data/spec/models/list_gpus_by_vm_id4_xx_response_spec.rb +0 -42
  204. data/spec/models/list_images200_response_spec.rb +0 -42
  205. data/spec/models/list_images4_xx_response_spec.rb +0 -42
  206. data/spec/models/list_legacy_vm_anti_affinity_policies200_response_spec.rb +0 -42
  207. data/spec/models/list_legacy_vm_anti_affinity_policies4_xx_response_spec.rb +0 -42
  208. data/spec/models/list_nics_by_vm_id200_response_spec.rb +0 -42
  209. data/spec/models/list_nics_by_vm_id4_xx_response_spec.rb +0 -42
  210. data/spec/models/list_pcie_devices_by_vm_id200_response_spec.rb +0 -42
  211. data/spec/models/list_pcie_devices_by_vm_id4_xx_response_spec.rb +0 -42
  212. data/spec/models/list_placement_policies200_response_spec.rb +0 -42
  213. data/spec/models/list_placement_policies4_xx_response_spec.rb +0 -42
  214. data/spec/models/list_rate_limit_policies200_response_spec.rb +0 -42
  215. data/spec/models/list_rate_limit_policies4_xx_response_spec.rb +0 -42
  216. data/spec/models/list_serial_ports_by_vm_id200_response_spec.rb +0 -42
  217. data/spec/models/list_serial_ports_by_vm_id4_xx_response_spec.rb +0 -42
  218. data/spec/models/list_template_versions200_response_spec.rb +0 -42
  219. data/spec/models/list_template_versions4_xx_response_spec.rb +0 -42
  220. data/spec/models/list_templates200_response_spec.rb +0 -42
  221. data/spec/models/list_templates4_xx_response_spec.rb +0 -42
  222. data/spec/models/list_vm_anti_affinity_policies200_response_spec.rb +0 -42
  223. data/spec/models/list_vm_anti_affinity_policies4_xx_response_spec.rb +0 -42
  224. data/spec/models/list_vm_anti_affinity_policy_vm_compliance_states200_response_spec.rb +0 -42
  225. data/spec/models/list_vm_anti_affinity_policy_vm_compliance_states4_xx_response_spec.rb +0 -42
  226. data/spec/models/list_vm_host_affinity_policies200_response_spec.rb +0 -42
  227. data/spec/models/list_vm_host_affinity_policies4_xx_response_spec.rb +0 -42
  228. data/spec/models/list_vm_host_affinity_policy_vm_compliance_states200_response_spec.rb +0 -42
  229. data/spec/models/list_vm_host_affinity_policy_vm_compliance_states4_xx_response_spec.rb +0 -42
  230. data/spec/models/list_vm_stats200_response1_spec.rb +0 -42
  231. data/spec/models/list_vm_stats200_response_spec.rb +0 -42
  232. data/spec/models/list_vm_stats4_xx_response1_spec.rb +0 -42
  233. data/spec/models/list_vm_stats4_xx_response_spec.rb +0 -42
  234. data/spec/models/list_vms200_response1_spec.rb +0 -42
  235. data/spec/models/list_vms200_response_spec.rb +0 -42
  236. data/spec/models/list_vms4_xx_response1_spec.rb +0 -42
  237. data/spec/models/list_vms4_xx_response_spec.rb +0 -42
  238. data/spec/models/migrate_nic_by_id202_response_spec.rb +0 -42
  239. data/spec/models/migrate_nic_by_id4_xx_response_spec.rb +0 -42
  240. data/spec/models/migrate_vm_disks202_response_spec.rb +0 -42
  241. data/spec/models/migrate_vm_disks4_xx_response_spec.rb +0 -42
  242. data/spec/models/migrate_vm_to_host202_response_spec.rb +0 -42
  243. data/spec/models/migrate_vm_to_host4_xx_response_spec.rb +0 -42
  244. data/spec/models/power_cycle_vm202_response_spec.rb +0 -42
  245. data/spec/models/power_cycle_vm4_xx_response_spec.rb +0 -42
  246. data/spec/models/power_off_vm202_response1_spec.rb +0 -42
  247. data/spec/models/power_off_vm202_response_spec.rb +0 -42
  248. data/spec/models/power_off_vm4_xx_response1_spec.rb +0 -42
  249. data/spec/models/power_off_vm4_xx_response_spec.rb +0 -42
  250. data/spec/models/power_on_vm202_response1_spec.rb +0 -42
  251. data/spec/models/power_on_vm202_response_spec.rb +0 -42
  252. data/spec/models/power_on_vm4_xx_response1_spec.rb +0 -42
  253. data/spec/models/power_on_vm4_xx_response_spec.rb +0 -42
  254. data/spec/models/prism_v40_config_task_reference_spec.rb +0 -36
  255. data/spec/models/publish_template202_response_spec.rb +0 -42
  256. data/spec/models/publish_template4_xx_response_spec.rb +0 -42
  257. data/spec/models/re_enforce_vm_host_affinity_policy_by_id202_response_spec.rb +0 -42
  258. data/spec/models/re_enforce_vm_host_affinity_policy_by_id4_xx_response_spec.rb +0 -42
  259. data/spec/models/reboot_guest_vm202_response_spec.rb +0 -42
  260. data/spec/models/reboot_guest_vm4_xx_response_spec.rb +0 -42
  261. data/spec/models/reboot_vm202_response_spec.rb +0 -42
  262. data/spec/models/reboot_vm4_xx_response_spec.rb +0 -42
  263. data/spec/models/release_ip_by_id202_response_spec.rb +0 -42
  264. data/spec/models/release_ip_by_id4_xx_response_spec.rb +0 -42
  265. data/spec/models/reset_vm202_response1_spec.rb +0 -42
  266. data/spec/models/reset_vm202_response_spec.rb +0 -42
  267. data/spec/models/reset_vm4_xx_response1_spec.rb +0 -42
  268. data/spec/models/reset_vm4_xx_response_spec.rb +0 -42
  269. data/spec/models/resume_placement_policy202_response_spec.rb +0 -42
  270. data/spec/models/resume_placement_policy4_xx_response_spec.rb +0 -42
  271. data/spec/models/revert_vm202_response1_spec.rb +0 -42
  272. data/spec/models/revert_vm202_response_spec.rb +0 -42
  273. data/spec/models/revert_vm4_xx_response1_spec.rb +0 -42
  274. data/spec/models/revert_vm4_xx_response_spec.rb +0 -42
  275. data/spec/models/shutdown_guest_vm202_response_spec.rb +0 -42
  276. data/spec/models/shutdown_guest_vm4_xx_response_spec.rb +0 -42
  277. data/spec/models/shutdown_vm202_response_spec.rb +0 -42
  278. data/spec/models/shutdown_vm4_xx_response_spec.rb +0 -42
  279. data/spec/models/suspend_placement_policy202_response_spec.rb +0 -42
  280. data/spec/models/suspend_placement_policy4_xx_response_spec.rb +0 -42
  281. data/spec/models/suspend_vm202_response_spec.rb +0 -42
  282. data/spec/models/suspend_vm4_xx_response_spec.rb +0 -42
  283. data/spec/models/uninstall_nutanix_guest_tools202_response_spec.rb +0 -42
  284. data/spec/models/uninstall_nutanix_guest_tools4_xx_response_spec.rb +0 -42
  285. data/spec/models/uninstall_vm_guest_tools202_response_spec.rb +0 -42
  286. data/spec/models/uninstall_vm_guest_tools4_xx_response_spec.rb +0 -42
  287. data/spec/models/update_disk_by_id202_response_spec.rb +0 -42
  288. data/spec/models/update_disk_by_id4_xx_response_spec.rb +0 -42
  289. data/spec/models/update_guest_tools_by_id202_response_spec.rb +0 -42
  290. data/spec/models/update_guest_tools_by_id4_xx_response_spec.rb +0 -42
  291. data/spec/models/update_image_by_id202_response_spec.rb +0 -42
  292. data/spec/models/update_image_by_id4_xx_response_spec.rb +0 -42
  293. data/spec/models/update_nic_by_id202_response_spec.rb +0 -42
  294. data/spec/models/update_nic_by_id4_xx_response_spec.rb +0 -42
  295. data/spec/models/update_nutanix_guest_tools_by_id202_response_spec.rb +0 -42
  296. data/spec/models/update_nutanix_guest_tools_by_id4_xx_response_spec.rb +0 -42
  297. data/spec/models/update_placement_policy_by_id202_response_spec.rb +0 -42
  298. data/spec/models/update_placement_policy_by_id4_xx_response_spec.rb +0 -42
  299. data/spec/models/update_rate_limit_policy_by_id202_response_spec.rb +0 -42
  300. data/spec/models/update_rate_limit_policy_by_id4_xx_response_spec.rb +0 -42
  301. data/spec/models/update_serial_port_by_id202_response_spec.rb +0 -42
  302. data/spec/models/update_serial_port_by_id4_xx_response_spec.rb +0 -42
  303. data/spec/models/update_template_by_id202_response_spec.rb +0 -42
  304. data/spec/models/update_template_by_id4_xx_response_spec.rb +0 -42
  305. data/spec/models/update_vm_anti_affinity_policy_by_id202_response_spec.rb +0 -42
  306. data/spec/models/update_vm_anti_affinity_policy_by_id4_xx_response_spec.rb +0 -42
  307. data/spec/models/update_vm_by_id202_response_spec.rb +0 -42
  308. data/spec/models/update_vm_by_id4_xx_response_spec.rb +0 -42
  309. data/spec/models/update_vm_host_affinity_policy_by_id202_response_spec.rb +0 -42
  310. data/spec/models/update_vm_host_affinity_policy_by_id4_xx_response_spec.rb +0 -42
  311. data/spec/models/upgrade_nutanix_guest_tools202_response_spec.rb +0 -42
  312. data/spec/models/upgrade_nutanix_guest_tools4_xx_response_spec.rb +0 -42
  313. data/spec/models/upgrade_vm_guest_tools202_response_spec.rb +0 -42
  314. data/spec/models/upgrade_vm_guest_tools4_xx_response_spec.rb +0 -42
  315. data/spec/models/version_of_a_template_version_source_spec.rb +0 -36
  316. data/spec/models/virtual_disk_image_checksum_spec.rb +0 -36
  317. data/spec/models/virtual_disk_image_source_spec.rb +0 -36
  318. data/spec/models/vmm_v40_ahv_config_adsf_disk_migration_plan_spec.rb +0 -42
  319. data/spec/models/vmm_v40_ahv_config_adsf_volume_group_reference_spec.rb +0 -36
  320. data/spec/models/vmm_v40_ahv_config_adsfvm_storage_config_spec.rb +0 -42
  321. data/spec/models/vmm_v40_ahv_config_all_disks_migration_plan_spec.rb +0 -36
  322. data/spec/models/vmm_v40_ahv_config_apc_config_spec.rb +0 -42
  323. data/spec/models/vmm_v40_ahv_config_assign_ip_api_response_spec.rb +0 -42
  324. data/spec/models/vmm_v40_ahv_config_assign_ip_params_spec.rb +0 -36
  325. data/spec/models/vmm_v40_ahv_config_assign_vm_owner_api_response_spec.rb +0 -42
  326. data/spec/models/vmm_v40_ahv_config_associate_categories_api_response_spec.rb +0 -42
  327. data/spec/models/vmm_v40_ahv_config_associate_vm_categories_params_spec.rb +0 -36
  328. data/spec/models/vmm_v40_ahv_config_availability_zone_reference_spec.rb +0 -36
  329. data/spec/models/vmm_v40_ahv_config_boot_device_disk_spec.rb +0 -36
  330. data/spec/models/vmm_v40_ahv_config_boot_device_nic_spec.rb +0 -36
  331. data/spec/models/vmm_v40_ahv_config_boot_device_type_spec.rb +0 -30
  332. data/spec/models/vmm_v40_ahv_config_category_reference_spec.rb +0 -36
  333. data/spec/models/vmm_v40_ahv_config_cd_rom_address_spec.rb +0 -42
  334. data/spec/models/vmm_v40_ahv_config_cd_rom_bus_type_spec.rb +0 -30
  335. data/spec/models/vmm_v40_ahv_config_cd_rom_insert_params_spec.rb +0 -36
  336. data/spec/models/vmm_v40_ahv_config_cd_rom_spec.rb +0 -66
  337. data/spec/models/vmm_v40_ahv_config_clone_override_params_boot_config_spec.rb +0 -32
  338. data/spec/models/vmm_v40_ahv_config_clone_override_params_spec.rb +0 -78
  339. data/spec/models/vmm_v40_ahv_config_clone_vm_api_response_spec.rb +0 -42
  340. data/spec/models/vmm_v40_ahv_config_cloud_init_cloud_init_script_spec.rb +0 -32
  341. data/spec/models/vmm_v40_ahv_config_cloud_init_data_source_type_spec.rb +0 -30
  342. data/spec/models/vmm_v40_ahv_config_cloud_init_spec.rb +0 -48
  343. data/spec/models/vmm_v40_ahv_config_cluster_reference_spec.rb +0 -36
  344. data/spec/models/vmm_v40_ahv_config_cpu_feature_spec.rb +0 -30
  345. data/spec/models/vmm_v40_ahv_config_cpu_model_reference_spec.rb +0 -42
  346. data/spec/models/vmm_v40_ahv_config_create_cd_rom_api_response_spec.rb +0 -42
  347. data/spec/models/vmm_v40_ahv_config_create_disk_api_response_spec.rb +0 -42
  348. data/spec/models/vmm_v40_ahv_config_create_gpu_api_response_spec.rb +0 -42
  349. data/spec/models/vmm_v40_ahv_config_create_nic_api_response_spec.rb +0 -42
  350. data/spec/models/vmm_v40_ahv_config_create_pcie_device_api_response_spec.rb +0 -42
  351. data/spec/models/vmm_v40_ahv_config_create_serial_port_api_response_spec.rb +0 -42
  352. data/spec/models/vmm_v40_ahv_config_create_vm_api_response_spec.rb +0 -42
  353. data/spec/models/vmm_v40_ahv_config_credential_spec.rb +0 -42
  354. data/spec/models/vmm_v40_ahv_config_cross_cluster_migrate_vm_api_response_spec.rb +0 -42
  355. data/spec/models/vmm_v40_ahv_config_custom_key_values_spec.rb +0 -36
  356. data/spec/models/vmm_v40_ahv_config_customize_guest_vm_api_response_spec.rb +0 -42
  357. data/spec/models/vmm_v40_ahv_config_data_source_reference_spec.rb +0 -32
  358. data/spec/models/vmm_v40_ahv_config_data_source_spec.rb +0 -36
  359. data/spec/models/vmm_v40_ahv_config_delete_cd_rom_api_response_spec.rb +0 -42
  360. data/spec/models/vmm_v40_ahv_config_delete_disk_api_response_spec.rb +0 -42
  361. data/spec/models/vmm_v40_ahv_config_delete_gpu_api_response_spec.rb +0 -42
  362. data/spec/models/vmm_v40_ahv_config_delete_nic_api_response_spec.rb +0 -42
  363. data/spec/models/vmm_v40_ahv_config_delete_pcie_device_api_response_spec.rb +0 -42
  364. data/spec/models/vmm_v40_ahv_config_delete_serial_port_api_response_spec.rb +0 -42
  365. data/spec/models/vmm_v40_ahv_config_delete_vm_api_response_spec.rb +0 -42
  366. data/spec/models/vmm_v40_ahv_config_disassociate_categories_api_response_spec.rb +0 -42
  367. data/spec/models/vmm_v40_ahv_config_disassociate_vm_categories_params_spec.rb +0 -36
  368. data/spec/models/vmm_v40_ahv_config_disk_address_spec.rb +0 -42
  369. data/spec/models/vmm_v40_ahv_config_disk_all_of_backing_info_spec.rb +0 -36
  370. data/spec/models/vmm_v40_ahv_config_disk_bus_type_spec.rb +0 -30
  371. data/spec/models/vmm_v40_ahv_config_disk_migration_params_migrate_disks_spec.rb +0 -32
  372. data/spec/models/vmm_v40_ahv_config_disk_migration_params_spec.rb +0 -36
  373. data/spec/models/vmm_v40_ahv_config_disk_spec.rb +0 -60
  374. data/spec/models/vmm_v40_ahv_config_eject_cd_rom_api_response_spec.rb +0 -42
  375. data/spec/models/vmm_v40_ahv_config_emulated_nic_model_spec.rb +0 -30
  376. data/spec/models/vmm_v40_ahv_config_emulated_nic_spec.rb +0 -54
  377. data/spec/models/vmm_v40_ahv_config_get_cd_rom_api_response_data_spec.rb +0 -32
  378. data/spec/models/vmm_v40_ahv_config_get_cd_rom_api_response_spec.rb +0 -42
  379. data/spec/models/vmm_v40_ahv_config_get_disk_api_response_data_spec.rb +0 -32
  380. data/spec/models/vmm_v40_ahv_config_get_disk_api_response_spec.rb +0 -42
  381. data/spec/models/vmm_v40_ahv_config_get_gpu_api_response_data_spec.rb +0 -32
  382. data/spec/models/vmm_v40_ahv_config_get_gpu_api_response_spec.rb +0 -42
  383. data/spec/models/vmm_v40_ahv_config_get_guest_tools_api_response_data_spec.rb +0 -32
  384. data/spec/models/vmm_v40_ahv_config_get_guest_tools_api_response_spec.rb +0 -42
  385. data/spec/models/vmm_v40_ahv_config_get_nic_api_response_data_spec.rb +0 -32
  386. data/spec/models/vmm_v40_ahv_config_get_nic_api_response_spec.rb +0 -42
  387. data/spec/models/vmm_v40_ahv_config_get_pcie_device_api_response_data_spec.rb +0 -32
  388. data/spec/models/vmm_v40_ahv_config_get_pcie_device_api_response_spec.rb +0 -42
  389. data/spec/models/vmm_v40_ahv_config_get_serial_port_api_response_data_spec.rb +0 -32
  390. data/spec/models/vmm_v40_ahv_config_get_serial_port_api_response_spec.rb +0 -42
  391. data/spec/models/vmm_v40_ahv_config_get_vm_api_response_data_spec.rb +0 -32
  392. data/spec/models/vmm_v40_ahv_config_get_vm_api_response_spec.rb +0 -42
  393. data/spec/models/vmm_v40_ahv_config_gpu_mode_spec.rb +0 -30
  394. data/spec/models/vmm_v40_ahv_config_gpu_spec.rb +0 -102
  395. data/spec/models/vmm_v40_ahv_config_gpu_vendor_spec.rb +0 -30
  396. data/spec/models/vmm_v40_ahv_config_guest_customization_params_config_spec.rb +0 -32
  397. data/spec/models/vmm_v40_ahv_config_guest_customization_params_spec.rb +0 -36
  398. data/spec/models/vmm_v40_ahv_config_guest_power_options_spec.rb +0 -36
  399. data/spec/models/vmm_v40_ahv_config_guest_power_state_transition_config_spec.rb +0 -42
  400. data/spec/models/vmm_v40_ahv_config_guest_tools_insert_config_spec.rb +0 -42
  401. data/spec/models/vmm_v40_ahv_config_guest_tools_install_config_spec.rb +0 -48
  402. data/spec/models/vmm_v40_ahv_config_guest_tools_spec.rb +0 -90
  403. data/spec/models/vmm_v40_ahv_config_guest_tools_upgrade_config_spec.rb +0 -36
  404. data/spec/models/vmm_v40_ahv_config_host_reference_spec.rb +0 -36
  405. data/spec/models/vmm_v40_ahv_config_image_reference_spec.rb +0 -36
  406. data/spec/models/vmm_v40_ahv_config_insert_cd_rom_api_response_spec.rb +0 -42
  407. data/spec/models/vmm_v40_ahv_config_insert_vm_guest_tools_api_response_spec.rb +0 -42
  408. data/spec/models/vmm_v40_ahv_config_install_type_spec.rb +0 -30
  409. data/spec/models/vmm_v40_ahv_config_install_vm_guest_tools_api_response_spec.rb +0 -42
  410. data/spec/models/vmm_v40_ahv_config_ipv4_config_spec.rb +0 -48
  411. data/spec/models/vmm_v40_ahv_config_ipv4_info_spec.rb +0 -36
  412. data/spec/models/vmm_v40_ahv_config_iso_type_spec.rb +0 -30
  413. data/spec/models/vmm_v40_ahv_config_legacy_boot_boot_device_spec.rb +0 -32
  414. data/spec/models/vmm_v40_ahv_config_legacy_boot_spec.rb +0 -42
  415. data/spec/models/vmm_v40_ahv_config_list_cd_roms_api_response_data_spec.rb +0 -32
  416. data/spec/models/vmm_v40_ahv_config_list_cd_roms_api_response_spec.rb +0 -42
  417. data/spec/models/vmm_v40_ahv_config_list_disks_api_response_data_spec.rb +0 -32
  418. data/spec/models/vmm_v40_ahv_config_list_disks_api_response_spec.rb +0 -42
  419. data/spec/models/vmm_v40_ahv_config_list_gpus_api_response_data_spec.rb +0 -32
  420. data/spec/models/vmm_v40_ahv_config_list_gpus_api_response_spec.rb +0 -42
  421. data/spec/models/vmm_v40_ahv_config_list_nics_api_response_data_spec.rb +0 -32
  422. data/spec/models/vmm_v40_ahv_config_list_nics_api_response_spec.rb +0 -42
  423. data/spec/models/vmm_v40_ahv_config_list_pcie_devices_api_response_data_spec.rb +0 -32
  424. data/spec/models/vmm_v40_ahv_config_list_pcie_devices_api_response_spec.rb +0 -42
  425. data/spec/models/vmm_v40_ahv_config_list_serial_ports_api_response_data_spec.rb +0 -32
  426. data/spec/models/vmm_v40_ahv_config_list_serial_ports_api_response_spec.rb +0 -42
  427. data/spec/models/vmm_v40_ahv_config_list_vms_api_response_data_spec.rb +0 -32
  428. data/spec/models/vmm_v40_ahv_config_list_vms_api_response_spec.rb +0 -42
  429. data/spec/models/vmm_v40_ahv_config_machine_type_spec.rb +0 -30
  430. data/spec/models/vmm_v40_ahv_config_migrate_disk_reference_spec.rb +0 -36
  431. data/spec/models/vmm_v40_ahv_config_migrate_nic_api_response_spec.rb +0 -42
  432. data/spec/models/vmm_v40_ahv_config_migrate_nic_config_spec.rb +0 -48
  433. data/spec/models/vmm_v40_ahv_config_migrate_nic_type_spec.rb +0 -30
  434. data/spec/models/vmm_v40_ahv_config_migrate_vm_disks_api_response_spec.rb +0 -42
  435. data/spec/models/vmm_v40_ahv_config_migrate_vm_to_host_api_response_spec.rb +0 -42
  436. data/spec/models/vmm_v40_ahv_config_migration_plans_spec.rb +0 -36
  437. data/spec/models/vmm_v40_ahv_config_network_function_chain_reference_spec.rb +0 -36
  438. data/spec/models/vmm_v40_ahv_config_network_function_nic_type_spec.rb +0 -30
  439. data/spec/models/vmm_v40_ahv_config_ngt_capability_spec.rb +0 -30
  440. data/spec/models/vmm_v40_ahv_config_nic_network_info_spec.rb +0 -84
  441. data/spec/models/vmm_v40_ahv_config_nic_spec.rb +0 -60
  442. data/spec/models/vmm_v40_ahv_config_nic_type_spec.rb +0 -30
  443. data/spec/models/vmm_v40_ahv_config_nvram_device_spec.rb +0 -36
  444. data/spec/models/vmm_v40_ahv_config_owner_reference_spec.rb +0 -36
  445. data/spec/models/vmm_v40_ahv_config_ownership_info_spec.rb +0 -36
  446. data/spec/models/vmm_v40_ahv_config_pcie_device_info_spec.rb +0 -36
  447. data/spec/models/vmm_v40_ahv_config_pcie_device_reference_spec.rb +0 -36
  448. data/spec/models/vmm_v40_ahv_config_pcie_device_spec.rb +0 -60
  449. data/spec/models/vmm_v40_ahv_config_policy_reference_spec.rb +0 -36
  450. data/spec/models/vmm_v40_ahv_config_power_cycle_vm_api_response_spec.rb +0 -42
  451. data/spec/models/vmm_v40_ahv_config_power_off_vm_api_response_spec.rb +0 -42
  452. data/spec/models/vmm_v40_ahv_config_power_on_vm_api_response_spec.rb +0 -42
  453. data/spec/models/vmm_v40_ahv_config_power_state_spec.rb +0 -30
  454. data/spec/models/vmm_v40_ahv_config_protection_policy_state_spec.rb +0 -36
  455. data/spec/models/vmm_v40_ahv_config_protection_type_spec.rb +0 -30
  456. data/spec/models/vmm_v40_ahv_config_qos_config_spec.rb +0 -36
  457. data/spec/models/vmm_v40_ahv_config_reboot_preference_schedule_spec.rb +0 -36
  458. data/spec/models/vmm_v40_ahv_config_reboot_preference_spec.rb +0 -42
  459. data/spec/models/vmm_v40_ahv_config_reboot_vm_api_response_spec.rb +0 -42
  460. data/spec/models/vmm_v40_ahv_config_release_ip_api_response_spec.rb +0 -42
  461. data/spec/models/vmm_v40_ahv_config_reset_vm_api_response_spec.rb +0 -42
  462. data/spec/models/vmm_v40_ahv_config_revert_params_spec.rb +0 -36
  463. data/spec/models/vmm_v40_ahv_config_revert_vm_api_response_spec.rb +0 -42
  464. data/spec/models/vmm_v40_ahv_config_sbdf_spec.rb +0 -54
  465. data/spec/models/vmm_v40_ahv_config_schedule_type_spec.rb +0 -30
  466. data/spec/models/vmm_v40_ahv_config_serial_port_spec.rb +0 -60
  467. data/spec/models/vmm_v40_ahv_config_shutdown_vm_api_response_spec.rb +0 -42
  468. data/spec/models/vmm_v40_ahv_config_subnet_reference_spec.rb +0 -36
  469. data/spec/models/vmm_v40_ahv_config_sysprep_spec.rb +0 -42
  470. data/spec/models/vmm_v40_ahv_config_sysprep_sysprep_script_spec.rb +0 -32
  471. data/spec/models/vmm_v40_ahv_config_uefi_boot_boot_device_spec.rb +0 -32
  472. data/spec/models/vmm_v40_ahv_config_uefi_boot_spec.rb +0 -54
  473. data/spec/models/vmm_v40_ahv_config_unattendxml_spec.rb +0 -36
  474. data/spec/models/vmm_v40_ahv_config_uninstall_vm_guest_tools_api_response_spec.rb +0 -42
  475. data/spec/models/vmm_v40_ahv_config_update_disk_api_response_spec.rb +0 -42
  476. data/spec/models/vmm_v40_ahv_config_update_guest_tools_api_response_spec.rb +0 -42
  477. data/spec/models/vmm_v40_ahv_config_update_nic_api_response_spec.rb +0 -42
  478. data/spec/models/vmm_v40_ahv_config_update_serial_port_api_response_spec.rb +0 -42
  479. data/spec/models/vmm_v40_ahv_config_update_vm_api_response_spec.rb +0 -42
  480. data/spec/models/vmm_v40_ahv_config_upgrade_vm_guest_tools_api_response_spec.rb +0 -42
  481. data/spec/models/vmm_v40_ahv_config_userdata_spec.rb +0 -36
  482. data/spec/models/vmm_v40_ahv_config_vlan_mode_spec.rb +0 -30
  483. data/spec/models/vmm_v40_ahv_config_vm_all_of_boot_config_spec.rb +0 -36
  484. data/spec/models/vmm_v40_ahv_config_vm_cross_cluster_migrate_overrides_spec.rb +0 -36
  485. data/spec/models/vmm_v40_ahv_config_vm_cross_cluster_migrate_params_spec.rb +0 -54
  486. data/spec/models/vmm_v40_ahv_config_vm_disk_container_reference_spec.rb +0 -36
  487. data/spec/models/vmm_v40_ahv_config_vm_disk_reference_spec.rb +0 -48
  488. data/spec/models/vmm_v40_ahv_config_vm_disk_spec.rb +0 -66
  489. data/spec/models/vmm_v40_ahv_config_vm_disk_storage_config_spec.rb +0 -36
  490. data/spec/models/vmm_v40_ahv_config_vm_migrate_to_host_params_spec.rb +0 -36
  491. data/spec/models/vmm_v40_ahv_config_vm_recovery_point_spec.rb +0 -90
  492. data/spec/models/vmm_v40_ahv_config_vm_reference_spec.rb +0 -36
  493. data/spec/models/vmm_v40_ahv_config_vm_source_reference_entity_type_spec.rb +0 -30
  494. data/spec/models/vmm_v40_ahv_config_vm_source_reference_spec.rb +0 -42
  495. data/spec/models/vmm_v40_ahv_config_vm_spec.rb +0 -324
  496. data/spec/models/vmm_v40_ahv_config_vtpm_config_spec.rb +0 -42
  497. data/spec/models/vmm_v40_ahv_policies_category_reference_spec.rb +0 -36
  498. data/spec/models/vmm_v40_ahv_policies_cluster_reference_spec.rb +0 -36
  499. data/spec/models/vmm_v40_ahv_policies_conflicting_legacy_vm_anti_affinity_policy_spec.rb +0 -36
  500. data/spec/models/vmm_v40_ahv_policies_conflicting_vm_anti_affinity_policy_spec.rb +0 -36
  501. data/spec/models/vmm_v40_ahv_policies_conflicting_vm_host_affinity_policy_spec.rb +0 -36
  502. data/spec/models/vmm_v40_ahv_policies_create_vm_anti_affinity_policy_api_response_spec.rb +0 -42
  503. data/spec/models/vmm_v40_ahv_policies_create_vm_host_affinity_policy_api_response_spec.rb +0 -42
  504. data/spec/models/vmm_v40_ahv_policies_delete_legacy_vm_anti_affinity_policy_api_response_spec.rb +0 -42
  505. data/spec/models/vmm_v40_ahv_policies_delete_vm_anti_affinity_policy_api_response_spec.rb +0 -42
  506. data/spec/models/vmm_v40_ahv_policies_delete_vm_host_affinity_policy_api_response_spec.rb +0 -42
  507. data/spec/models/vmm_v40_ahv_policies_get_vm_anti_affinity_policy_api_response_data_spec.rb +0 -32
  508. data/spec/models/vmm_v40_ahv_policies_get_vm_anti_affinity_policy_api_response_spec.rb +0 -42
  509. data/spec/models/vmm_v40_ahv_policies_get_vm_host_affinity_policy_api_response_data_spec.rb +0 -32
  510. data/spec/models/vmm_v40_ahv_policies_get_vm_host_affinity_policy_api_response_spec.rb +0 -42
  511. data/spec/models/vmm_v40_ahv_policies_host_reference_spec.rb +0 -36
  512. data/spec/models/vmm_v40_ahv_policies_legacy_vm_anti_affinity_policy_spec.rb +0 -66
  513. data/spec/models/vmm_v40_ahv_policies_list_legacy_vm_anti_affinity_policies_api_response_data_spec.rb +0 -32
  514. data/spec/models/vmm_v40_ahv_policies_list_legacy_vm_anti_affinity_policies_api_response_spec.rb +0 -42
  515. data/spec/models/vmm_v40_ahv_policies_list_vm_anti_affinity_policies_api_response_data_spec.rb +0 -32
  516. data/spec/models/vmm_v40_ahv_policies_list_vm_anti_affinity_policies_api_response_spec.rb +0 -42
  517. data/spec/models/vmm_v40_ahv_policies_list_vm_anti_affinity_policy_vm_compliance_states_api_response_data_spec.rb +0 -32
  518. data/spec/models/vmm_v40_ahv_policies_list_vm_anti_affinity_policy_vm_compliance_states_api_response_spec.rb +0 -42
  519. data/spec/models/vmm_v40_ahv_policies_list_vm_host_affinity_policies_api_response_data_spec.rb +0 -32
  520. data/spec/models/vmm_v40_ahv_policies_list_vm_host_affinity_policies_api_response_spec.rb +0 -42
  521. data/spec/models/vmm_v40_ahv_policies_list_vm_host_affinity_policy_vm_compliance_states_api_response_data_spec.rb +0 -32
  522. data/spec/models/vmm_v40_ahv_policies_list_vm_host_affinity_policy_vm_compliance_states_api_response_spec.rb +0 -42
  523. data/spec/models/vmm_v40_ahv_policies_non_compliant_vm_anti_affinity_policy_non_compliance_reason_spec.rb +0 -32
  524. data/spec/models/vmm_v40_ahv_policies_non_compliant_vm_anti_affinity_policy_spec.rb +0 -36
  525. data/spec/models/vmm_v40_ahv_policies_non_compliant_vm_host_affinity_policy_non_compliance_reason_spec.rb +0 -32
  526. data/spec/models/vmm_v40_ahv_policies_non_compliant_vm_host_affinity_policy_spec.rb +0 -36
  527. data/spec/models/vmm_v40_ahv_policies_pe_not_capable_for_vm_host_affinity_policy_spec.rb +0 -36
  528. data/spec/models/vmm_v40_ahv_policies_re_enforce_vm_host_affinity_policy_api_response_spec.rb +0 -42
  529. data/spec/models/vmm_v40_ahv_policies_update_vm_anti_affinity_policy_api_response_spec.rb +0 -42
  530. data/spec/models/vmm_v40_ahv_policies_update_vm_host_affinity_policy_api_response_spec.rb +0 -42
  531. data/spec/models/vmm_v40_ahv_policies_user_reference_spec.rb +0 -36
  532. data/spec/models/vmm_v40_ahv_policies_vm_anti_affinity_policy_spec.rb +0 -108
  533. data/spec/models/vmm_v40_ahv_policies_vm_anti_affinity_policy_vm_compliance_state_all_of_compliance_status_spec.rb +0 -36
  534. data/spec/models/vmm_v40_ahv_policies_vm_anti_affinity_policy_vm_compliance_state_spec.rb +0 -72
  535. data/spec/models/vmm_v40_ahv_policies_vm_host_affinity_policy_spec.rb +0 -120
  536. data/spec/models/vmm_v40_ahv_policies_vm_host_affinity_policy_vm_compliance_state_all_of_compliance_status_spec.rb +0 -36
  537. data/spec/models/vmm_v40_ahv_policies_vm_host_affinity_policy_vm_compliance_state_spec.rb +0 -72
  538. data/spec/models/vmm_v40_ahv_policies_vm_reference_spec.rb +0 -36
  539. data/spec/models/vmm_v40_ahv_stats_get_disk_stats_api_response_data_spec.rb +0 -32
  540. data/spec/models/vmm_v40_ahv_stats_get_disk_stats_api_response_spec.rb +0 -42
  541. data/spec/models/vmm_v40_ahv_stats_get_nic_stats_api_response_data_spec.rb +0 -32
  542. data/spec/models/vmm_v40_ahv_stats_get_nic_stats_api_response_spec.rb +0 -42
  543. data/spec/models/vmm_v40_ahv_stats_get_vm_stats_api_response_data_spec.rb +0 -32
  544. data/spec/models/vmm_v40_ahv_stats_get_vm_stats_api_response_spec.rb +0 -42
  545. data/spec/models/vmm_v40_ahv_stats_list_vm_stats_api_response_data_spec.rb +0 -32
  546. data/spec/models/vmm_v40_ahv_stats_list_vm_stats_api_response_spec.rb +0 -42
  547. data/spec/models/vmm_v40_ahv_stats_vm_disk_stats_spec.rb +0 -60
  548. data/spec/models/vmm_v40_ahv_stats_vm_disk_stats_tuple_spec.rb +0 -198
  549. data/spec/models/vmm_v40_ahv_stats_vm_nic_stats_spec.rb +0 -60
  550. data/spec/models/vmm_v40_ahv_stats_vm_nic_stats_tuple_spec.rb +0 -48
  551. data/spec/models/vmm_v40_ahv_stats_vm_stats_spec.rb +0 -54
  552. data/spec/models/vmm_v40_ahv_stats_vm_stats_tuple_spec.rb +0 -534
  553. data/spec/models/vmm_v40_content_cancel_guest_update_api_response_spec.rb +0 -42
  554. data/spec/models/vmm_v40_content_complete_guest_update_api_response_spec.rb +0 -42
  555. data/spec/models/vmm_v40_content_complete_guest_update_spec_spec.rb +0 -48
  556. data/spec/models/vmm_v40_content_compliance_status_spec.rb +0 -30
  557. data/spec/models/vmm_v40_content_create_image_api_response_data_spec.rb +0 -32
  558. data/spec/models/vmm_v40_content_create_image_api_response_spec.rb +0 -42
  559. data/spec/models/vmm_v40_content_create_template_api_response_spec.rb +0 -42
  560. data/spec/models/vmm_v40_content_delete_image_api_response_spec.rb +0 -42
  561. data/spec/models/vmm_v40_content_delete_template_api_response_spec.rb +0 -42
  562. data/spec/models/vmm_v40_content_delete_template_version_api_response_spec.rb +0 -42
  563. data/spec/models/vmm_v40_content_deploy_template_api_response_spec.rb +0 -42
  564. data/spec/models/vmm_v40_content_enforcement_mode_spec.rb +0 -30
  565. data/spec/models/vmm_v40_content_get_image_api_response_data_spec.rb +0 -32
  566. data/spec/models/vmm_v40_content_get_image_api_response_spec.rb +0 -42
  567. data/spec/models/vmm_v40_content_get_image_file_api_response_data_spec.rb +0 -32
  568. data/spec/models/vmm_v40_content_get_image_file_api_response_spec.rb +0 -42
  569. data/spec/models/vmm_v40_content_get_template_api_response_data_spec.rb +0 -32
  570. data/spec/models/vmm_v40_content_get_template_api_response_spec.rb +0 -42
  571. data/spec/models/vmm_v40_content_get_template_version_api_response_data_spec.rb +0 -32
  572. data/spec/models/vmm_v40_content_get_template_version_api_response_spec.rb +0 -42
  573. data/spec/models/vmm_v40_content_guest_update_status_spec.rb +0 -36
  574. data/spec/models/vmm_v40_content_image_import_config_spec.rb +0 -42
  575. data/spec/models/vmm_v40_content_image_placement_status_spec.rb +0 -66
  576. data/spec/models/vmm_v40_content_image_sha1_checksum_spec.rb +0 -36
  577. data/spec/models/vmm_v40_content_image_sha256_checksum_spec.rb +0 -36
  578. data/spec/models/vmm_v40_content_image_spec.rb +0 -120
  579. data/spec/models/vmm_v40_content_image_type_spec.rb +0 -30
  580. data/spec/models/vmm_v40_content_import_image_api_response_spec.rb +0 -42
  581. data/spec/models/vmm_v40_content_initiate_guest_update_api_response_spec.rb +0 -42
  582. data/spec/models/vmm_v40_content_initiate_guest_update_spec_spec.rb +0 -36
  583. data/spec/models/vmm_v40_content_list_images_api_response_data_spec.rb +0 -32
  584. data/spec/models/vmm_v40_content_list_images_api_response_spec.rb +0 -42
  585. data/spec/models/vmm_v40_content_list_template_versions_api_response_data_spec.rb +0 -32
  586. data/spec/models/vmm_v40_content_list_template_versions_api_response_spec.rb +0 -42
  587. data/spec/models/vmm_v40_content_list_templates_api_response_data_spec.rb +0 -32
  588. data/spec/models/vmm_v40_content_list_templates_api_response_spec.rb +0 -42
  589. data/spec/models/vmm_v40_content_objects_lite_source_spec.rb +0 -36
  590. data/spec/models/vmm_v40_content_publish_template_api_response_spec.rb +0 -42
  591. data/spec/models/vmm_v40_content_template_deployment_spec.rb +0 -54
  592. data/spec/models/vmm_v40_content_template_publish_spec_spec.rb +0 -36
  593. data/spec/models/vmm_v40_content_template_spec.rb +0 -96
  594. data/spec/models/vmm_v40_content_template_user_spec.rb +0 -180
  595. data/spec/models/vmm_v40_content_template_version_reference_spec.rb +0 -42
  596. data/spec/models/vmm_v40_content_template_version_spec_spec.rb +0 -102
  597. data/spec/models/vmm_v40_content_template_vm_reference_spec.rb +0 -42
  598. data/spec/models/vmm_v40_content_update_image_api_response_spec.rb +0 -42
  599. data/spec/models/vmm_v40_content_update_template_api_response_spec.rb +0 -42
  600. data/spec/models/vmm_v40_content_url_basic_auth_spec.rb +0 -42
  601. data/spec/models/vmm_v40_content_url_source_spec.rb +0 -48
  602. data/spec/models/vmm_v40_content_vm_config_override_spec.rb +0 -72
  603. data/spec/models/vmm_v40_content_vm_disk_source_spec.rb +0 -36
  604. data/spec/models/vmm_v40_error_app_message_spec.rb +0 -66
  605. data/spec/models/vmm_v40_error_error_response_error_spec.rb +0 -32
  606. data/spec/models/vmm_v40_error_error_response_spec.rb +0 -36
  607. data/spec/models/vmm_v40_error_message_severity_spec.rb +0 -30
  608. data/spec/models/vmm_v40_error_schema_validation_error_message_spec.rb +0 -48
  609. data/spec/models/vmm_v40_error_schema_validation_error_spec.rb +0 -60
  610. data/spec/models/vmm_v40_esxi_config_adapter_type_spec.rb +0 -30
  611. data/spec/models/vmm_v40_esxi_config_assign_vm_owner_api_response_spec.rb +0 -42
  612. data/spec/models/vmm_v40_esxi_config_associate_categories_api_response_spec.rb +0 -42
  613. data/spec/models/vmm_v40_esxi_config_associate_vm_categories_params_spec.rb +0 -36
  614. data/spec/models/vmm_v40_esxi_config_category_reference_spec.rb +0 -36
  615. data/spec/models/vmm_v40_esxi_config_cd_rom_address_spec.rb +0 -42
  616. data/spec/models/vmm_v40_esxi_config_cd_rom_backing_info_spec.rb +0 -42
  617. data/spec/models/vmm_v40_esxi_config_cd_rom_bus_type_spec.rb +0 -30
  618. data/spec/models/vmm_v40_esxi_config_cd_rom_spec.rb +0 -60
  619. data/spec/models/vmm_v40_esxi_config_cluster_reference_spec.rb +0 -36
  620. data/spec/models/vmm_v40_esxi_config_disassociate_categories_api_response_spec.rb +0 -42
  621. data/spec/models/vmm_v40_esxi_config_disassociate_vm_categories_params_spec.rb +0 -36
  622. data/spec/models/vmm_v40_esxi_config_disk_address_spec.rb +0 -42
  623. data/spec/models/vmm_v40_esxi_config_disk_bus_type_spec.rb +0 -30
  624. data/spec/models/vmm_v40_esxi_config_disk_spec.rb +0 -60
  625. data/spec/models/vmm_v40_esxi_config_get_nutanix_guest_tools_api_response_data_spec.rb +0 -32
  626. data/spec/models/vmm_v40_esxi_config_get_nutanix_guest_tools_api_response_spec.rb +0 -42
  627. data/spec/models/vmm_v40_esxi_config_get_vm_api_response_data_spec.rb +0 -32
  628. data/spec/models/vmm_v40_esxi_config_get_vm_api_response_spec.rb +0 -42
  629. data/spec/models/vmm_v40_esxi_config_host_reference_spec.rb +0 -36
  630. data/spec/models/vmm_v40_esxi_config_insert_nutanix_guest_tools_api_response_spec.rb +0 -42
  631. data/spec/models/vmm_v40_esxi_config_install_nutanix_guest_tools_api_response_spec.rb +0 -42
  632. data/spec/models/vmm_v40_esxi_config_ip_address_info_spec.rb +0 -42
  633. data/spec/models/vmm_v40_esxi_config_list_vms_api_response_data_spec.rb +0 -32
  634. data/spec/models/vmm_v40_esxi_config_list_vms_api_response_spec.rb +0 -42
  635. data/spec/models/vmm_v40_esxi_config_nic_backing_info_spec.rb +0 -48
  636. data/spec/models/vmm_v40_esxi_config_nic_network_info_spec.rb +0 -42
  637. data/spec/models/vmm_v40_esxi_config_nic_spec.rb +0 -60
  638. data/spec/models/vmm_v40_esxi_config_nutanix_credential_spec.rb +0 -42
  639. data/spec/models/vmm_v40_esxi_config_nutanix_guest_tools_capability_spec.rb +0 -30
  640. data/spec/models/vmm_v40_esxi_config_nutanix_guest_tools_insert_config_spec.rb +0 -36
  641. data/spec/models/vmm_v40_esxi_config_nutanix_guest_tools_install_config_spec.rb +0 -48
  642. data/spec/models/vmm_v40_esxi_config_nutanix_guest_tools_spec.rb +0 -90
  643. data/spec/models/vmm_v40_esxi_config_nutanix_guest_tools_upgrade_config_spec.rb +0 -36
  644. data/spec/models/vmm_v40_esxi_config_nutanix_reboot_preference_schedule_spec.rb +0 -36
  645. data/spec/models/vmm_v40_esxi_config_nutanix_reboot_preference_spec.rb +0 -42
  646. data/spec/models/vmm_v40_esxi_config_nutanix_schedule_type_spec.rb +0 -30
  647. data/spec/models/vmm_v40_esxi_config_owner_reference_entity_type_spec.rb +0 -30
  648. data/spec/models/vmm_v40_esxi_config_owner_reference_spec.rb +0 -42
  649. data/spec/models/vmm_v40_esxi_config_ownership_info_spec.rb +0 -36
  650. data/spec/models/vmm_v40_esxi_config_port_group_info_spec.rb +0 -36
  651. data/spec/models/vmm_v40_esxi_config_power_off_vm_api_response_spec.rb +0 -42
  652. data/spec/models/vmm_v40_esxi_config_power_on_vm_api_response_spec.rb +0 -42
  653. data/spec/models/vmm_v40_esxi_config_power_state_spec.rb +0 -30
  654. data/spec/models/vmm_v40_esxi_config_reboot_guest_os_api_response_spec.rb +0 -42
  655. data/spec/models/vmm_v40_esxi_config_reset_vm_api_response_spec.rb +0 -42
  656. data/spec/models/vmm_v40_esxi_config_revert_params_spec.rb +0 -36
  657. data/spec/models/vmm_v40_esxi_config_revert_vm_api_response_spec.rb +0 -42
  658. data/spec/models/vmm_v40_esxi_config_shutdown_vm_api_response_spec.rb +0 -42
  659. data/spec/models/vmm_v40_esxi_config_suspend_vm_api_response_spec.rb +0 -42
  660. data/spec/models/vmm_v40_esxi_config_uninstall_nutanix_guest_tools_api_response_spec.rb +0 -42
  661. data/spec/models/vmm_v40_esxi_config_update_nutanix_guest_tools_api_response_spec.rb +0 -42
  662. data/spec/models/vmm_v40_esxi_config_upgrade_nutanix_guest_tools_api_response_spec.rb +0 -42
  663. data/spec/models/vmm_v40_esxi_config_vm_disk_container_reference_spec.rb +0 -36
  664. data/spec/models/vmm_v40_esxi_config_vm_disk_spec.rb +0 -48
  665. data/spec/models/vmm_v40_esxi_config_vm_disk_storage_config_spec.rb +0 -36
  666. data/spec/models/vmm_v40_esxi_config_vm_spec.rb +0 -144
  667. data/spec/models/vmm_v40_esxi_stats_get_disk_stats_api_response_data_spec.rb +0 -32
  668. data/spec/models/vmm_v40_esxi_stats_get_disk_stats_api_response_spec.rb +0 -42
  669. data/spec/models/vmm_v40_esxi_stats_get_nic_stats_api_response_data_spec.rb +0 -32
  670. data/spec/models/vmm_v40_esxi_stats_get_nic_stats_api_response_spec.rb +0 -42
  671. data/spec/models/vmm_v40_esxi_stats_get_vm_stats_api_response_data_spec.rb +0 -32
  672. data/spec/models/vmm_v40_esxi_stats_get_vm_stats_api_response_spec.rb +0 -42
  673. data/spec/models/vmm_v40_esxi_stats_list_vm_stats_api_response_data_spec.rb +0 -32
  674. data/spec/models/vmm_v40_esxi_stats_list_vm_stats_api_response_spec.rb +0 -42
  675. data/spec/models/vmm_v40_esxi_stats_vm_disk_stats_spec.rb +0 -60
  676. data/spec/models/vmm_v40_esxi_stats_vm_disk_stats_tuple_spec.rb +0 -186
  677. data/spec/models/vmm_v40_esxi_stats_vm_nic_stats_spec.rb +0 -60
  678. data/spec/models/vmm_v40_esxi_stats_vm_nic_stats_tuple_spec.rb +0 -48
  679. data/spec/models/vmm_v40_esxi_stats_vm_stats_spec.rb +0 -54
  680. data/spec/models/vmm_v40_esxi_stats_vm_stats_tuple_spec.rb +0 -354
  681. data/spec/models/vmm_v40_images_config_create_placement_policy_api_response_spec.rb +0 -42
  682. data/spec/models/vmm_v40_images_config_create_rate_limit_policy_api_response_spec.rb +0 -42
  683. data/spec/models/vmm_v40_images_config_delete_placement_policy_api_response_spec.rb +0 -42
  684. data/spec/models/vmm_v40_images_config_delete_rate_limit_policy_api_response_spec.rb +0 -42
  685. data/spec/models/vmm_v40_images_config_effective_rate_limit_policy_spec.rb +0 -60
  686. data/spec/models/vmm_v40_images_config_enforcement_state_spec.rb +0 -30
  687. data/spec/models/vmm_v40_images_config_filter_match_type_spec.rb +0 -30
  688. data/spec/models/vmm_v40_images_config_filter_spec.rb +0 -42
  689. data/spec/models/vmm_v40_images_config_get_placement_policy_api_response_data_spec.rb +0 -32
  690. data/spec/models/vmm_v40_images_config_get_placement_policy_api_response_spec.rb +0 -42
  691. data/spec/models/vmm_v40_images_config_get_rate_limit_policy_api_response_data_spec.rb +0 -32
  692. data/spec/models/vmm_v40_images_config_get_rate_limit_policy_api_response_spec.rb +0 -42
  693. data/spec/models/vmm_v40_images_config_list_effective_rate_limit_policies_api_response_data_spec.rb +0 -32
  694. data/spec/models/vmm_v40_images_config_list_effective_rate_limit_policies_api_response_spec.rb +0 -42
  695. data/spec/models/vmm_v40_images_config_list_placement_policies_api_response_data_spec.rb +0 -32
  696. data/spec/models/vmm_v40_images_config_list_placement_policies_api_response_spec.rb +0 -42
  697. data/spec/models/vmm_v40_images_config_list_rate_limit_policies_api_response_data_spec.rb +0 -32
  698. data/spec/models/vmm_v40_images_config_list_rate_limit_policies_api_response_spec.rb +0 -42
  699. data/spec/models/vmm_v40_images_config_placement_policy_spec.rb +0 -102
  700. data/spec/models/vmm_v40_images_config_placement_type_spec.rb +0 -30
  701. data/spec/models/vmm_v40_images_config_rate_limit_policy_spec.rb +0 -96
  702. data/spec/models/vmm_v40_images_config_resume_placement_policy_api_response_spec.rb +0 -42
  703. data/spec/models/vmm_v40_images_config_suspend_placement_policy_api_response_spec.rb +0 -42
  704. data/spec/models/vmm_v40_images_config_suspend_placement_policy_config_spec.rb +0 -36
  705. data/spec/models/vmm_v40_images_config_update_placement_policy_api_response_spec.rb +0 -42
  706. data/spec/models/vmm_v40_images_config_update_rate_limit_policy_api_response_spec.rb +0 -42
  707. data/spec/spec_helper.rb +0 -111
@@ -1,132 +0,0 @@
1
- =begin
2
- #Nutanix Virtual Machine Management APIs
3
-
4
- #Manage the life-cycle of virtual machines hosted on Nutanix
5
-
6
- The version of the OpenAPI document: 4.0
7
-
8
- Generated by: https://openapi-generator.tech
9
- Generator version: 7.17.0
10
-
11
- =end
12
-
13
- require 'spec_helper'
14
- require 'json'
15
-
16
- # Unit tests for NutanixVmm::ImagePlacementPoliciesApi
17
- # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
- # Please update as you see appropriate
19
- describe 'ImagePlacementPoliciesApi' do
20
- before do
21
- # run before each test
22
- @api_instance = NutanixVmm::ImagePlacementPoliciesApi.new
23
- end
24
-
25
- after do
26
- # run after each test
27
- end
28
-
29
- describe 'test an instance of ImagePlacementPoliciesApi' do
30
- it 'should create an instance of ImagePlacementPoliciesApi' do
31
- expect(@api_instance).to be_instance_of(NutanixVmm::ImagePlacementPoliciesApi)
32
- end
33
- end
34
-
35
- # unit tests for create_placement_policy
36
- # Create an image placement policy
37
- # Creates an image placement policy using the provided request body. The name, placement type, cluster entity filter and image entity filter are mandatory fields for creating an image placement policy.
38
- # @param ntnx_request_id A unique identifier that is associated with each request. The provided value must be opaque and preferably in Universal Unique Identifier (UUID) format. This identifier is also used as an idempotence token for safely retrying requests in case of network errors. All the supported Nutanix API clients add this auto-generated request identifier to each request.
39
- # @param vmm_v40_images_config_placement_policy Request to create an image placement policy.
40
- # @param [Hash] opts the optional parameters
41
- # @return [CreatePlacementPolicy202Response]
42
- describe 'create_placement_policy test' do
43
- it 'should work' do
44
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
45
- end
46
- end
47
-
48
- # unit tests for delete_placement_policy_by_id
49
- # Delete an image placement policy
50
- # Deletes the image placement policy with the given external identifier.
51
- # @param ext_id The external identifier of image placement policy.
52
- # @param [Hash] opts the optional parameters
53
- # @return [DeletePlacementPolicyById202Response]
54
- describe 'delete_placement_policy_by_id test' do
55
- it 'should work' do
56
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
57
- end
58
- end
59
-
60
- # unit tests for get_placement_policy_by_id
61
- # Get an image placement policy
62
- # Retrieves the image placement policy details for the provided external identifier.
63
- # @param ext_id The external identifier of image placement policy.
64
- # @param [Hash] opts the optional parameters
65
- # @return [GetPlacementPolicyById200Response]
66
- describe 'get_placement_policy_by_id test' do
67
- it 'should work' do
68
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
69
- end
70
- end
71
-
72
- # unit tests for list_placement_policies
73
- # List image placement policies
74
- # Lists image placement policies created in Prism Central, along with details such as name, description, and so on. This API supports operations such as filtering, sorting, selection, and pagination.
75
- # @param [Hash] opts the optional parameters
76
- # @option opts [Integer] :page A URL query parameter that specifies the page number of the result set. It must be a positive integer between 0 and the maximum number of pages that are available for that resource. Any number out of this range might lead to no results.
77
- # @option opts [Integer] :limit A URL query parameter that specifies the total number of records returned in the result set. Must be a positive integer between 1 and 100. Any number out of this range will lead to a validation error. If the limit is not provided, a default value of 50 records will be returned in the result set.
78
- # @option opts [String] :filter A URL query parameter that allows clients to filter a collection of resources. The expression specified with $filter is evaluated for each resource in the collection, and only items where the expression evaluates to true are included in the response. Expression specified with the $filter must conform to the [OData V4.01](https://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html) URL conventions. For example, filter '$filter=name eq 'karbon-ntnx-1.0' would filter the result on cluster name 'karbon-ntnx1.0', filter '$filter=startswith(name, 'C')' would filter on cluster name starting with 'C'. The filter can be applied to the following fields: - description - enforcementState - name
79
- # @option opts [String] :orderby A URL query parameter that allows clients to specify the sort criteria for the returned list of objects. Resources can be sorted in ascending order using asc or descending order using desc. If asc or desc are not specified, the resources will be sorted in ascending order by default. For example, '$orderby=templateName desc' would get all templates sorted by templateName in descending order. The orderby can be applied to the following fields: - description - enforcementState - name
80
- # @option opts [String] :select A URL query parameter that allows clients to request a specific set of properties for each entity or complex type. Expression specified with the $select must conform to the [OData V4.01](https://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html) URL conventions. If a $select expression consists of a single select item that is an asterisk (i.e., *), then all properties on the matching resource will be returned. - createTime - description - enforcementState - extId - lastUpdateTime - links - name - ownerExtId - placementType - tenantId
81
- # @return [ListPlacementPolicies200Response]
82
- describe 'list_placement_policies test' do
83
- it 'should work' do
84
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
85
- end
86
- end
87
-
88
- # unit tests for resume_placement_policy
89
- # Resume an image placement policy
90
- # Resumes a suspended image placement policy. A suspended image placement policy is one that is not being considered for enforcement.
91
- # @param ext_id The external identifier of image placement policy.
92
- # @param if_match The If-Match request header makes the request conditional. When not provided the server will respond with an HTTP 428 (Precondition Required) response code indicating that the server requires the request to be conditional. The server will allow successful completion of PUT and PATCH operations, if the resource matches the ETag value returned to the response of a GET operation. If the conditional does not match, then an HTTP 412 (Precondition Failed) response
93
- # @param ntnx_request_id A unique identifier that is associated with each request. The provided value must be opaque and preferably in Universal Unique Identifier (UUID) format. This identifier is also used as an idempotence token for safely retrying requests in case of network errors. All the supported Nutanix API clients add this auto-generated request identifier to each request.
94
- # @param [Hash] opts the optional parameters
95
- # @return [ResumePlacementPolicy202Response]
96
- describe 'resume_placement_policy test' do
97
- it 'should work' do
98
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
99
- end
100
- end
101
-
102
- # unit tests for suspend_placement_policy
103
- # Suspend an image placement policy
104
- # Suspends an active image placement policy. An active image placement policy is considered for enforcement.
105
- # @param ext_id The external identifier of image placement policy.
106
- # @param if_match The If-Match request header makes the request conditional. When not provided the server will respond with an HTTP 428 (Precondition Required) response code indicating that the server requires the request to be conditional. The server will allow successful completion of PUT and PATCH operations, if the resource matches the ETag value returned to the response of a GET operation. If the conditional does not match, then an HTTP 412 (Precondition Failed) response
107
- # @param ntnx_request_id A unique identifier that is associated with each request. The provided value must be opaque and preferably in Universal Unique Identifier (UUID) format. This identifier is also used as an idempotence token for safely retrying requests in case of network errors. All the supported Nutanix API clients add this auto-generated request identifier to each request.
108
- # @param vmm_v40_images_config_suspend_placement_policy_config
109
- # @param [Hash] opts the optional parameters
110
- # @return [SuspendPlacementPolicy202Response]
111
- describe 'suspend_placement_policy test' do
112
- it 'should work' do
113
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
114
- end
115
- end
116
-
117
- # unit tests for update_placement_policy_by_id
118
- # Update an image placement policy
119
- # Updates the image placement policy using the provided request body with the given external identifier. It is always recommended to perform a GET operation on a resource before performing a PUT operation to ensure the correct ETag is used.
120
- # @param ext_id The external identifier of image placement policy.
121
- # @param if_match The If-Match request header makes the request conditional. When not provided, the server will respond with an HTTP-428 (Precondition Required) response code indicating that the server requires the request to be conditional. The server will allow the successful completion of PUT and PATCH operations, if the resource matches the ETag value returned to the response of a GET operation. If the conditional does not match, then an HTTP-412 (Precondition Failed) response will be returned.
122
- # @param ntnx_request_id A unique identifier that is associated with each request. The provided value must be opaque and preferably in Universal Unique Identifier (UUID) format. This identifier is also used as an idempotence token for safely retrying requests in case of network errors. All the supported Nutanix API clients add this auto-generated request identifier to each request.
123
- # @param vmm_v40_images_config_placement_policy Updated image placement policy request.
124
- # @param [Hash] opts the optional parameters
125
- # @return [UpdatePlacementPolicyById202Response]
126
- describe 'update_placement_policy_by_id test' do
127
- it 'should work' do
128
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
129
- end
130
- end
131
-
132
- end
@@ -1,119 +0,0 @@
1
- =begin
2
- #Nutanix Virtual Machine Management APIs
3
-
4
- #Manage the life-cycle of virtual machines hosted on Nutanix
5
-
6
- The version of the OpenAPI document: 4.0
7
-
8
- Generated by: https://openapi-generator.tech
9
- Generator version: 7.17.0
10
-
11
- =end
12
-
13
- require 'spec_helper'
14
- require 'json'
15
-
16
- # Unit tests for NutanixVmm::ImageRateLimitPoliciesApi
17
- # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
- # Please update as you see appropriate
19
- describe 'ImageRateLimitPoliciesApi' do
20
- before do
21
- # run before each test
22
- @api_instance = NutanixVmm::ImageRateLimitPoliciesApi.new
23
- end
24
-
25
- after do
26
- # run after each test
27
- end
28
-
29
- describe 'test an instance of ImageRateLimitPoliciesApi' do
30
- it 'should create an instance of ImageRateLimitPoliciesApi' do
31
- expect(@api_instance).to be_instance_of(NutanixVmm::ImageRateLimitPoliciesApi)
32
- end
33
- end
34
-
35
- # unit tests for create_rate_limit_policy
36
- # Create an image rate limit policy
37
- # Creates an image rate limit policy using the provided request body. The name, rate limit Kbps and cluster entity filter are mandatory fields for creating an image rate limit.
38
- # @param ntnx_request_id A unique identifier that is associated with each request. The provided value must be opaque and preferably in Universal Unique Identifier (UUID) format. This identifier is also used as an idempotence token for safely retrying requests in case of network errors. All the supported Nutanix API clients add this auto-generated request identifier to each request.
39
- # @param vmm_v40_images_config_rate_limit_policy Request to create an image rate limit policy.
40
- # @param [Hash] opts the optional parameters
41
- # @return [CreateRateLimitPolicy202Response]
42
- describe 'create_rate_limit_policy test' do
43
- it 'should work' do
44
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
45
- end
46
- end
47
-
48
- # unit tests for delete_rate_limit_policy_by_id
49
- # Delete an image rate limit policy
50
- # Deletes the image rate limit policy with the given external identifier.
51
- # @param ext_id The external identifier of image rate limit policy.
52
- # @param [Hash] opts the optional parameters
53
- # @return [DeleteRateLimitPolicyById202Response]
54
- describe 'delete_rate_limit_policy_by_id test' do
55
- it 'should work' do
56
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
57
- end
58
- end
59
-
60
- # unit tests for get_rate_limit_policy_by_id
61
- # Get an image rate limit policy
62
- # Retrieves an image rate limit policy details for the provided external identifier.
63
- # @param ext_id The external identifier of image rate limit policy.
64
- # @param [Hash] opts the optional parameters
65
- # @return [GetRateLimitPolicyById200Response]
66
- describe 'get_rate_limit_policy_by_id test' do
67
- it 'should work' do
68
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
69
- end
70
- end
71
-
72
- # unit tests for list_effective_rate_limit_policies
73
- # Resolve the effective rate limit for Prism Elements
74
- # The effective rate limit for the Prism Elements. If no rate limit applies to a particular cluster, no entry is returned for that cluster. The API supports operations such as filtering, sorting, selection, and pagination.
75
- # @param [Hash] opts the optional parameters
76
- # @option opts [Integer] :page A URL query parameter that specifies the page number of the result set. It must be a positive integer between 0 and the maximum number of pages that are available for that resource. Any number out of this range might lead to no results.
77
- # @option opts [Integer] :limit A URL query parameter that specifies the total number of records returned in the result set. Must be a positive integer between 1 and 100. Any number out of this range will lead to a validation error. If the limit is not provided, a default value of 50 records will be returned in the result set.
78
- # @option opts [String] :filter A URL query parameter that allows clients to filter a collection of resources. The expression specified with $filter is evaluated for each resource in the collection, and only items where the expression evaluates to true are included in the response. Expression specified with the $filter must conform to the [OData V4.01](https://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html) URL conventions. For example, filter '$filter=name eq 'karbon-ntnx-1.0' would filter the result on cluster name 'karbon-ntnx1.0', filter '$filter=startswith(name, 'C')' would filter on cluster name starting with 'C'. The filter can be applied to the following fields: - clusterExtId
79
- # @option opts [String] :orderby A URL query parameter that allows clients to specify the sort criteria for the returned list of objects. Resources can be sorted in ascending order using asc or descending order using desc. If asc or desc are not specified, the resources will be sorted in ascending order by default. For example, '$orderby=templateName desc' would get all templates sorted by templateName in descending order. The orderby can be applied to the following fields: - clusterExtId
80
- # @option opts [String] :select A URL query parameter that allows clients to request a specific set of properties for each entity or complex type. Expression specified with the $select must conform to the [OData V4.01](https://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html) URL conventions. If a $select expression consists of a single select item that is an asterisk (i.e., *), then all properties on the matching resource will be returned. - clusterExtId - links - rateLimitExtId - tenantId
81
- # @return [ListEffectiveRateLimitPolicies200Response]
82
- describe 'list_effective_rate_limit_policies test' do
83
- it 'should work' do
84
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
85
- end
86
- end
87
-
88
- # unit tests for list_rate_limit_policies
89
- # List image rate limit policies
90
- # Lists image rate limit policies created on Prism Central along with other details such as, name, description and so on. This API supports operations such as filtering, sorting, selection, and pagination.
91
- # @param [Hash] opts the optional parameters
92
- # @option opts [Integer] :page A URL query parameter that specifies the page number of the result set. It must be a positive integer between 0 and the maximum number of pages that are available for that resource. Any number out of this range might lead to no results.
93
- # @option opts [Integer] :limit A URL query parameter that specifies the total number of records returned in the result set. Must be a positive integer between 1 and 100. Any number out of this range will lead to a validation error. If the limit is not provided, a default value of 50 records will be returned in the result set.
94
- # @option opts [String] :filter A URL query parameter that allows clients to filter a collection of resources. The expression specified with $filter is evaluated for each resource in the collection, and only items where the expression evaluates to true are included in the response. Expression specified with the $filter must conform to the [OData V4.01](https://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html) URL conventions. For example, filter '$filter=name eq 'karbon-ntnx-1.0' would filter the result on cluster name 'karbon-ntnx1.0', filter '$filter=startswith(name, 'C')' would filter on cluster name starting with 'C'. The filter can be applied to the following fields: - description - name - rateLimitKbps
95
- # @option opts [String] :orderby A URL query parameter that allows clients to specify the sort criteria for the returned list of objects. Resources can be sorted in ascending order using asc or descending order using desc. If asc or desc are not specified, the resources will be sorted in ascending order by default. For example, '$orderby=templateName desc' would get all templates sorted by templateName in descending order. The orderby can be applied to the following fields: - description - lastUpdateTime - name - rateLimitKbps
96
- # @option opts [String] :select A URL query parameter that allows clients to request a specific set of properties for each entity or complex type. Expression specified with the $select must conform to the [OData V4.01](https://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html) URL conventions. If a $select expression consists of a single select item that is an asterisk (i.e., *), then all properties on the matching resource will be returned. - createTime - description - extId - lastUpdateTime - links - name - ownerExtId - rateLimitKbps - tenantId
97
- # @return [ListRateLimitPolicies200Response]
98
- describe 'list_rate_limit_policies test' do
99
- it 'should work' do
100
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
101
- end
102
- end
103
-
104
- # unit tests for update_rate_limit_policy_by_id
105
- # Update the image rate limit policy
106
- # Updates the image rate limit policy using the provided request body with the given external identifier. It is always recommended to perform a GET operation on a resource before performing a PUT operation to ensure the correct ETag is used.
107
- # @param ext_id The external identifier of image rate limit policy.
108
- # @param if_match The If-Match request header makes the request conditional. When not provided, the server will respond with an HTTP-428 (Precondition Required) response code indicating that the server requires the request to be conditional. The server will allow the successful completion of PUT and PATCH operations, if the resource matches the ETag value returned to the response of a GET operation. If the conditional does not match, then an HTTP-412 (Precondition Failed) response will be returned.
109
- # @param ntnx_request_id A unique identifier that is associated with each request. The provided value must be opaque and preferably in Universal Unique Identifier (UUID) format. This identifier is also used as an idempotence token for safely retrying requests in case of network errors. All the supported Nutanix API clients add this auto-generated request identifier to each request.
110
- # @param vmm_v40_images_config_rate_limit_policy Updated image rate limit policy request.
111
- # @param [Hash] opts the optional parameters
112
- # @return [UpdateRateLimitPolicyById202Response]
113
- describe 'update_rate_limit_policy_by_id test' do
114
- it 'should work' do
115
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
116
- end
117
- end
118
-
119
- end
@@ -1,128 +0,0 @@
1
- =begin
2
- #Nutanix Virtual Machine Management APIs
3
-
4
- #Manage the life-cycle of virtual machines hosted on Nutanix
5
-
6
- The version of the OpenAPI document: 4.0
7
-
8
- Generated by: https://openapi-generator.tech
9
- Generator version: 7.17.0
10
-
11
- =end
12
-
13
- require 'spec_helper'
14
- require 'json'
15
-
16
- # Unit tests for NutanixVmm::ImagesApi
17
- # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
- # Please update as you see appropriate
19
- describe 'ImagesApi' do
20
- before do
21
- # run before each test
22
- @api_instance = NutanixVmm::ImagesApi.new
23
- end
24
-
25
- after do
26
- # run after each test
27
- end
28
-
29
- describe 'test an instance of ImagesApi' do
30
- it 'should create an instance of ImagesApi' do
31
- expect(@api_instance).to be_instance_of(NutanixVmm::ImagesApi)
32
- end
33
- end
34
-
35
- # unit tests for create_image
36
- # Create an image
37
- # Creates an image using the provided request body. The name, type and source are mandatory fields to create an image.
38
- # @param ntnx_request_id A unique identifier that is associated with each request. The provided value must be opaque and preferably in Universal Unique Identifier (UUID) format. This identifier is also used as an idempotence token for safely retrying requests in case of network errors. All the supported Nutanix API clients add this auto-generated request identifier to each request.
39
- # @param vmm_v40_content_image Request to create an image.
40
- # @param [Hash] opts the optional parameters
41
- # @return [CreateImage202Response]
42
- describe 'create_image test' do
43
- it 'should work' do
44
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
45
- end
46
- end
47
-
48
- # unit tests for delete_image_by_id
49
- # Delete an image
50
- # Deletes the image with the given external identifier.
51
- # @param ext_id The external identifier of an image.
52
- # @param [Hash] opts the optional parameters
53
- # @return [DeleteImageById202Response]
54
- describe 'delete_image_by_id test' do
55
- it 'should work' do
56
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
57
- end
58
- end
59
-
60
- # unit tests for get_file_by_image_id
61
- # Download an image
62
- # Downloads the image with the given external identifier.
63
- # @param image_ext_id The external identifier of an image.
64
- # @param [Hash] opts the optional parameters
65
- # @return [nil]
66
- describe 'get_file_by_image_id test' do
67
- it 'should work' do
68
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
69
- end
70
- end
71
-
72
- # unit tests for get_image_by_id
73
- # Get an image
74
- # Retrieves the image details for the provided external identifier.
75
- # @param ext_id The external identifier of an image.
76
- # @param [Hash] opts the optional parameters
77
- # @return [GetImageById200Response]
78
- describe 'get_image_by_id test' do
79
- it 'should work' do
80
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
81
- end
82
- end
83
-
84
- # unit tests for import_image
85
- # Import images from Prism Element
86
- # Imports images owned by a registered Prism Element cluster into the current Prism Central.
87
- # @param ntnx_request_id A unique identifier that is associated with each request. The provided value must be opaque and preferably in Universal Unique Identifier (UUID) format. This identifier is also used as an idempotence token for safely retrying requests in case of network errors. All the supported Nutanix API clients add this auto-generated request identifier to each request.
88
- # @param vmm_v40_content_image_import_config Reference to the Prism Element cluster and its images to be imported.
89
- # @param [Hash] opts the optional parameters
90
- # @return [ImportImage202Response]
91
- describe 'import_image test' do
92
- it 'should work' do
93
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
94
- end
95
- end
96
-
97
- # unit tests for list_images
98
- # List images
99
- # Lists images owned by Prism Central, along with image details such as name, description, type, and so on. This API supports operation such as filtering, sorting, selection, and pagination.
100
- # @param [Hash] opts the optional parameters
101
- # @option opts [Integer] :page A URL query parameter that specifies the page number of the result set. It must be a positive integer between 0 and the maximum number of pages that are available for that resource. Any number out of this range might lead to no results.
102
- # @option opts [Integer] :limit A URL query parameter that specifies the total number of records returned in the result set. Must be a positive integer between 1 and 100. Any number out of this range will lead to a validation error. If the limit is not provided, a default value of 50 records will be returned in the result set.
103
- # @option opts [String] :filter A URL query parameter that allows clients to filter a collection of resources. The expression specified with $filter is evaluated for each resource in the collection, and only items where the expression evaluates to true are included in the response. Expression specified with the $filter must conform to the [OData V4.01](https://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html) URL conventions. For example, filter '$filter=name eq 'karbon-ntnx-1.0' would filter the result on cluster name 'karbon-ntnx1.0', filter '$filter=startswith(name, 'C')' would filter on cluster name starting with 'C'. The filter can be applied to the following fields: - description - name - sizeBytes - type
104
- # @option opts [String] :orderby A URL query parameter that allows clients to specify the sort criteria for the returned list of objects. Resources can be sorted in ascending order using asc or descending order using desc. If asc or desc are not specified, the resources will be sorted in ascending order by default. For example, '$orderby=templateName desc' would get all templates sorted by templateName in descending order. The orderby can be applied to the following fields: - description - lastUpdateTime - name - sizeBytes - type
105
- # @option opts [String] :select A URL query parameter that allows clients to request a specific set of properties for each entity or complex type. Expression specified with the $select must conform to the [OData V4.01](https://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html) URL conventions. If a $select expression consists of a single select item that is an asterisk (i.e., *), then all properties on the matching resource will be returned. - categoryExtIds - clusterLocationExtIds - createTime - description - extId - lastUpdateTime - links - name - ownerExtId - sizeBytes - tenantId - type
106
- # @return [ListImages200Response]
107
- describe 'list_images test' do
108
- it 'should work' do
109
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
110
- end
111
- end
112
-
113
- # unit tests for update_image_by_id
114
- # Update an image
115
- # Updates the image with the given external identifier. It is always recommended to perform a GET operation on a resource before performing a PUT operation to ensure that the correct ETag is used.
116
- # @param ext_id The external identifier of an image.
117
- # @param if_match The If-Match request header makes the request conditional. When not provided, the server will respond with an HTTP-428 (Precondition Required) response code indicating that the server requires the request to be conditional. The server will allow the successful completion of PUT and PATCH operations, if the resource matches the ETag value returned to the response of a GET operation. If the conditional does not match, then an HTTP-412 (Precondition Failed) response will be returned.
118
- # @param ntnx_request_id A unique identifier that is associated with each request. The provided value must be opaque and preferably in Universal Unique Identifier (UUID) format. This identifier is also used as an idempotence token for safely retrying requests in case of network errors. All the supported Nutanix API clients add this auto-generated request identifier to each request.
119
- # @param vmm_v40_content_image Updated image request.
120
- # @param [Hash] opts the optional parameters
121
- # @return [UpdateImageById202Response]
122
- describe 'update_image_by_id test' do
123
- it 'should work' do
124
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
125
- end
126
- end
127
-
128
- end
@@ -1,108 +0,0 @@
1
- =begin
2
- #Nutanix Virtual Machine Management APIs
3
-
4
- #Manage the life-cycle of virtual machines hosted on Nutanix
5
-
6
- The version of the OpenAPI document: 4.0
7
-
8
- Generated by: https://openapi-generator.tech
9
- Generator version: 7.17.0
10
-
11
- =end
12
-
13
- require 'spec_helper'
14
- require 'json'
15
-
16
- # Unit tests for NutanixVmm::StatsApi
17
- # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
- # Please update as you see appropriate
19
- describe 'StatsApi' do
20
- before do
21
- # run before each test
22
- @api_instance = NutanixVmm::StatsApi.new
23
- end
24
-
25
- after do
26
- # run after each test
27
- end
28
-
29
- describe 'test an instance of StatsApi' do
30
- it 'should create an instance of StatsApi' do
31
- expect(@api_instance).to be_instance_of(NutanixVmm::StatsApi)
32
- end
33
- end
34
-
35
- # unit tests for get_disk_stats_by_id
36
- # Get the stats for the specified VM disk
37
- # Fetches the stats for the specified VM disk. Users can fetch the stats by specifying the following params in the request query: 1) '$select': comma-separated attributes with the prefix 'stats/', e.g. 'stats/checkScore'. 2) '$startTime': the start time for which stats should be reported, e.g. '2023-01-01T12:00:00.000-08:00'; 3) '$endTime': the end time for which stats should be reported; 4) '$samplingInterval': the sampling interval in seconds at which statistical data should be collected; 5) '$statType': the down-sampling operator to use while performing down-sampling on stats data
38
- # @param vm_ext_id This field specifies the VM external ID when retrieving the stats for a given VM Disk.
39
- # @param ext_id This field specifies the VM external ID when retrieving the stats for a given VM Disk.
40
- # @param start_time The start time of the period for which stats should be reported. The value should be in extended ISO-8601 format. For example, start time of 2022-04-23T01:23:45.678+09:00 would consider all stats starting at 1:23:45.678 on the 23rd of April 2022. Details around ISO-8601 format can be found at https://www.iso.org/standard/70907.html
41
- # @param end_time The end time of the period for which stats should be reported. The value should be in extended ISO-8601 format. For example, end time of 2022-04-23T013:23:45.678+09:00 would consider all stats till 13:23:45 .678 on the 23rd of April 2022. Details around ISO-8601 format can be found at https://www.iso.org/standard/70907.html
42
- # @param [Hash] opts the optional parameters
43
- # @option opts [Integer] :sampling_interval The sampling interval in seconds at which statistical data should be collected. For example, if you want performance statistics every 30 seconds, then provide the value as 30.
44
- # @option opts [CommonV10StatsDownSamplingOperator] :stat_type
45
- # @option opts [String] :select A URL query parameter that allows clients to request a specific set of properties for each entity or complex type. Expression specified with the $select must conform to the [OData V4.01](https://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html) URL conventions. If a $select expression consists of a single select item that is an asterisk (i.e., *), then all properties on the matching resource will be returned. - extId - links - stats - tenantId - vmExtId
46
- # @return [GetDiskStatsById200Response1]
47
- describe 'get_disk_stats_by_id test' do
48
- it 'should work' do
49
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
50
- end
51
- end
52
-
53
- # unit tests for get_nic_stats_by_id
54
- # Get the stats for the specified VM NIC
55
- # Fetches the stats for the specified VM NIC. Users can fetch the stats by specifying the following params in the request query: 1) '$select': comma-separated attributes with the prefix 'stats/', e.g. 'stats/checkScore'. 2) '$startTime': the start time for which stats should be reported, e.g. '2023-01-01T12:00:00.000-08:00'; 3) '$endTime': the end time for which stats should be reported; 4) '$samplingInterval': the sampling interval in seconds at which statistical data should be collected; 5) '$statType': the down-sampling operator to use while performing down-sampling on stats data
56
- # @param vm_ext_id This field specifies the VM external ID when retrieving the stats for a given VM NIC.
57
- # @param ext_id This field specifies the external ID of the VM NIC when retrieving stats for a given VM NIC.
58
- # @param start_time The start time of the period for which stats should be reported. The value should be in extended ISO-8601 format. For example, start time of 2022-04-23T01:23:45.678+09:00 would consider all stats starting at 1:23:45.678 on the 23rd of April 2022. Details around ISO-8601 format can be found at https://www.iso.org/standard/70907.html
59
- # @param end_time The end time of the period for which stats should be reported. The value should be in extended ISO-8601 format. For example, end time of 2022-04-23T013:23:45.678+09:00 would consider all stats till 13:23:45 .678 on the 23rd of April 2022. Details around ISO-8601 format can be found at https://www.iso.org/standard/70907.html
60
- # @param [Hash] opts the optional parameters
61
- # @option opts [Integer] :sampling_interval The sampling interval in seconds at which statistical data should be collected. For example, if you want performance statistics every 30 seconds, then provide the value as 30.
62
- # @option opts [CommonV10StatsDownSamplingOperator] :stat_type
63
- # @option opts [String] :select A URL query parameter that allows clients to request a specific set of properties for each entity or complex type. Expression specified with the $select must conform to the [OData V4.01](https://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html) URL conventions. If a $select expression consists of a single select item that is an asterisk (i.e., *), then all properties on the matching resource will be returned. - extId - links - stats - tenantId - vmExtId
64
- # @return [GetNicStatsById200Response1]
65
- describe 'get_nic_stats_by_id test' do
66
- it 'should work' do
67
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
68
- end
69
- end
70
-
71
- # unit tests for get_vm_stats_by_id
72
- # Get VM stats for a given VM
73
- # Get VM stats for a given VM. Users can fetch the stats by specifying the following params in the request query: 1) '$select': comma-separated attributes with the prefix 'stats/', e.g. 'stats/checkScore'. 2) '$startTime': the start time for which stats should be reported, e.g. '2023-01-01T12:00:00.000-08:00'; 3) '$endTime': the end time for which stats should be reported; 4) '$samplingInterval': the sampling interval in seconds at which statistical data should be collected; 5) '$statType': the down-sampling operator to use while performing down-sampling on stats data
74
- # @param ext_id Retrieve statistics for the VM with the specified external ID.
75
- # @param start_time The start time of the period for which stats should be reported. The value should be in extended ISO-8601 format. For example, start time of 2022-04-23T01:23:45.678+09:00 would consider all stats starting at 1:23:45.678 on the 23rd of April 2022. Details around ISO-8601 format can be found at https://www.iso.org/standard/70907.html
76
- # @param end_time The end time of the period for which stats should be reported. The value should be in extended ISO-8601 format. For example, end time of 2022-04-23T013:23:45.678+09:00 would consider all stats till 13:23:45 .678 on the 23rd of April 2022. Details around ISO-8601 format can be found at https://www.iso.org/standard/70907.html
77
- # @param [Hash] opts the optional parameters
78
- # @option opts [Integer] :sampling_interval The sampling interval in seconds at which statistical data should be collected. For example, if you want performance statistics every 30 seconds, then provide the value as 30.
79
- # @option opts [CommonV10StatsDownSamplingOperator] :stat_type
80
- # @option opts [String] :select A URL query parameter that allows clients to request a specific set of properties for each entity or complex type. Expression specified with the $select must conform to the [OData V4.01](https://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html) URL conventions. If a $select expression consists of a single select item that is an asterisk (i.e., *), then all properties on the matching resource will be returned. - extId - links - stats - tenantId
81
- # @return [GetVmStatsById200Response1]
82
- describe 'get_vm_stats_by_id test' do
83
- it 'should work' do
84
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
85
- end
86
- end
87
-
88
- # unit tests for list_vm_stats
89
- # List VM stats for all VMs
90
- # List VM stats for all VMs. Users can fetch the stats by specifying the following params in the request query: 1) '$select': comma-separated attributes with the prefix 'stats/', e.g. 'stats/controllerNumIo,stats/hypervisorNumIo'. 2) '$startTime': the start time for which stats should be reported, e.g. '2023-01-01T12:00:00.000-08:00'; 3) '$endTime': the end time for which stats should be reported; 4) '$samplingInterval': the sampling interval in seconds at which statistical data should be collected; 5) '$statType': the down-sampling operator to use while performing down-sampling on stats data; 6) '$orderby'; 7) '$page'; 8) '$limit'; and 9) '$filter': the OData filter to use, e.g. 'stats/hypervisorCpuUsagePpm gt 100000 and stats/guestMemoryUsagePpm lt 2000000.'
91
- # @param start_time The start time of the period for which stats should be reported. The value should be in extended ISO-8601 format. For example, start time of 2022-04-23T01:23:45.678+09:00 would consider all stats starting at 1:23:45.678 on the 23rd of April 2022. Details around ISO-8601 format can be found at https://www.iso.org/standard/70907.html
92
- # @param end_time The end time of the period for which stats should be reported. The value should be in extended ISO-8601 format. For example, end time of 2022-04-23T013:23:45.678+09:00 would consider all stats till 13:23:45 .678 on the 23rd of April 2022. Details around ISO-8601 format can be found at https://www.iso.org/standard/70907.html
93
- # @param [Hash] opts the optional parameters
94
- # @option opts [Integer] :sampling_interval The sampling interval in seconds at which statistical data should be collected. For example, if you want performance statistics every 30 seconds, then provide the value as 30.
95
- # @option opts [CommonV10StatsDownSamplingOperator] :stat_type
96
- # @option opts [Integer] :page A URL query parameter that specifies the page number of the result set. It must be a positive integer between 0 and the maximum number of pages that are available for that resource. Any number out of this range might lead to no results.
97
- # @option opts [Integer] :limit A URL query parameter that specifies the total number of records returned in the result set. Must be a positive integer between 1 and 100. Any number out of this range will lead to a validation error. If the limit is not provided, a default value of 50 records will be returned in the result set.
98
- # @option opts [String] :filter A URL query parameter that allows clients to filter a collection of resources. The expression specified with $filter is evaluated for each resource in the collection, and only items where the expression evaluates to true are included in the response. Expression specified with the $filter must conform to the [OData V4.01](https://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html) URL conventions. For example, filter '$filter=name eq 'karbon-ntnx-1.0' would filter the result on cluster name 'karbon-ntnx1.0', filter '$filter=startswith(name, 'C')' would filter on cluster name starting with 'C'. The filter can be applied to the following fields: - stats/checkScore - stats/cluster - stats/controllerAvgIoLatencyMicros - stats/controllerAvgReadIoLatencyMicros - stats/controllerAvgReadIoSizeKb - stats/controllerAvgWriteIoLatencyMicros - stats/controllerAvgWriteIoSizeKb - stats/controllerIoBandwidthKbps - stats/controllerNumIo - stats/controllerNumIops - stats/controllerNumRandomIo - stats/controllerNumReadIo - stats/controllerNumReadIops - stats/controllerNumSeqIo - stats/controllerNumWriteIo - stats/controllerNumWriteIops - stats/controllerOplogDrainDestHddBytes - stats/controllerOplogDrainDestSsdBytes - stats/controllerRandomIoPpm - stats/controllerReadIoBandwidthKbps - stats/controllerReadIoPpm - stats/controllerReadSourceEstoreHddLocalBytes - stats/controllerReadSourceEstoreHddRemoteBytes - stats/controllerReadSourceEstoreSsdLocalBytes - stats/controllerReadSourceEstoreSsdRemoteBytes - stats/controllerReadSourceOplogBytes - stats/controllerSeqIoPpm - stats/controllerSharedUsageBytes - stats/controllerSnapshotUsageBytes - stats/controllerStorageTierSsdUsageBytes - stats/controllerTimespanMicros - stats/controllerTotalIoSizeKb - stats/controllerTotalIoTimeMicros - stats/controllerTotalReadIoSizeKb - stats/controllerTotalReadIoTimeMicros - stats/controllerTotalTransformedUsageBytes - stats/controllerUserBytes - stats/controllerWriteDestEstoreHddBytes - stats/controllerWriteDestEstoreSsdBytes - stats/controllerWriteIoBandwidthKbps - stats/controllerWriteIoPpm - stats/controllerWss120SecondReadMb - stats/controllerWss120SecondUnionMb - stats/controllerWss120SecondWriteMb - stats/controllerWss3600SecondReadMb - stats/controllerWss3600SecondUnionMb - stats/controllerWss3600SecondWriteMb - stats/diskCapacityBytes - stats/diskUsagePpm - stats/frameBufferUsagePpm - stats/gpuUsagePpm - stats/guestMemoryUsagePpm - stats/hypervisorAvgIoLatencyMicros - stats/hypervisorCpuReadyTimePpm - stats/hypervisorCpuUsagePpm - stats/hypervisorIoBandwidthKbps - stats/hypervisorMemoryBalloonReclaimTargetBytes - stats/hypervisorMemoryBalloonReclaimedBytes - stats/hypervisorMemoryUsagePpm - stats/hypervisorNumIo - stats/hypervisorNumIops - stats/hypervisorNumReadIo - stats/hypervisorNumReadIops - stats/hypervisorNumReceivePacketsDropped - stats/hypervisorNumReceivedBytes - stats/hypervisorNumTransmitPacketsDropped - stats/hypervisorNumTransmittedBytes - stats/hypervisorNumWriteIo - stats/hypervisorNumWriteIops - stats/hypervisorReadIoBandwidthKbps - stats/hypervisorSwapInRateKbps - stats/hypervisorSwapOutRateKbps - stats/hypervisorTimespanMicros - stats/hypervisorTotalIoSizeKb - stats/hypervisorTotalIoTimeMicros - stats/hypervisorTotalReadIoSizeKb - stats/hypervisorType - stats/hypervisorVmRunningTimeUsecs - stats/hypervisorWriteIoBandwidthKbps - stats/memoryReservedBytes - stats/memoryUsageBytes - stats/memoryUsagePpm - stats/numVcpusUsedPpm
99
- # @option opts [String] :orderby A URL query parameter that allows clients to specify the sort criteria for the returned list of objects. Resources can be sorted in ascending order using asc or descending order using desc. If asc or desc are not specified, the resources will be sorted in ascending order by default. For example, '$orderby=templateName desc' would get all templates sorted by templateName in descending order. The orderby can be applied to the following fields: - stats/checkScore - stats/controllerAvgIoLatencyMicros - stats/controllerAvgReadIoLatencyMicros - stats/controllerAvgReadIoSizeKb - stats/controllerAvgWriteIoLatencyMicros - stats/controllerAvgWriteIoSizeKb - stats/controllerIoBandwidthKbps - stats/controllerNumIo - stats/controllerNumIops - stats/controllerNumRandomIo - stats/controllerNumReadIo - stats/controllerNumReadIops - stats/controllerNumSeqIo - stats/controllerNumWriteIo - stats/controllerNumWriteIops - stats/controllerOplogDrainDestHddBytes - stats/controllerOplogDrainDestSsdBytes - stats/controllerRandomIoPpm - stats/controllerReadIoBandwidthKbps - stats/controllerReadIoPpm - stats/controllerReadSourceEstoreHddLocalBytes - stats/controllerReadSourceEstoreHddRemoteBytes - stats/controllerReadSourceEstoreSsdLocalBytes - stats/controllerReadSourceEstoreSsdRemoteBytes - stats/controllerReadSourceOplogBytes - stats/controllerSeqIoPpm - stats/controllerSharedUsageBytes - stats/controllerSnapshotUsageBytes - stats/controllerStorageTierSsdUsageBytes - stats/controllerTimespanMicros - stats/controllerTotalIoSizeKb - stats/controllerTotalIoTimeMicros - stats/controllerTotalReadIoSizeKb - stats/controllerTotalReadIoTimeMicros - stats/controllerTotalTransformedUsageBytes - stats/controllerUserBytes - stats/controllerWriteDestEstoreHddBytes - stats/controllerWriteDestEstoreSsdBytes - stats/controllerWriteIoBandwidthKbps - stats/controllerWriteIoPpm - stats/controllerWss120SecondReadMb - stats/controllerWss120SecondUnionMb - stats/controllerWss120SecondWriteMb - stats/controllerWss3600SecondReadMb - stats/controllerWss3600SecondUnionMb - stats/controllerWss3600SecondWriteMb - stats/diskCapacityBytes - stats/diskUsagePpm - stats/frameBufferUsagePpm - stats/gpuUsagePpm - stats/guestMemoryUsagePpm - stats/hypervisorAvgIoLatencyMicros - stats/hypervisorCpuReadyTimePpm - stats/hypervisorCpuUsagePpm - stats/hypervisorIoBandwidthKbps - stats/hypervisorMemoryBalloonReclaimTargetBytes - stats/hypervisorMemoryBalloonReclaimedBytes - stats/hypervisorMemoryUsagePpm - stats/hypervisorNumIo - stats/hypervisorNumIops - stats/hypervisorNumReadIo - stats/hypervisorNumReadIops - stats/hypervisorNumReceivePacketsDropped - stats/hypervisorNumReceivedBytes - stats/hypervisorNumTransmitPacketsDropped - stats/hypervisorNumTransmittedBytes - stats/hypervisorNumWriteIo - stats/hypervisorNumWriteIops - stats/hypervisorReadIoBandwidthKbps - stats/hypervisorSwapInRateKbps - stats/hypervisorSwapOutRateKbps - stats/hypervisorTimespanMicros - stats/hypervisorTotalIoSizeKb - stats/hypervisorTotalIoTimeMicros - stats/hypervisorTotalReadIoSizeKb - stats/hypervisorVmRunningTimeUsecs - stats/hypervisorWriteIoBandwidthKbps - stats/memoryReservedBytes - stats/memoryUsageBytes - stats/memoryUsagePpm - stats/numVcpusUsedPpm
100
- # @option opts [String] :select A URL query parameter that allows clients to request a specific set of properties for each entity or complex type. Expression specified with the $select must conform to the [OData V4.01](https://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html) URL conventions. If a $select expression consists of a single select item that is an asterisk (i.e., *), then all properties on the matching resource will be returned. - extId - links - stats - tenantId
101
- # @return [ListVmStats200Response1]
102
- describe 'list_vm_stats test' do
103
- it 'should work' do
104
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
105
- end
106
- end
107
-
108
- end