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.
- checksums.yaml +4 -4
- data/.openapi-config.json +9 -0
- data/.openapi-generator/FILES +2074 -0
- data/.openapi-generator/VERSION +1 -0
- data/.openapi-generator-ignore +28 -0
- data/.rspec +2 -0
- data/.rubocop.yml +148 -0
- data/.whitesource +3 -0
- data/CHANGELOG.md +6 -0
- data/lib/nutanix_vmm/version.rb +1 -1
- metadata +9 -1386
- data/Gemfile +0 -9
- data/bin/console +0 -15
- data/bin/openapi-generate +0 -30
- data/bin/openapi-generate-ruby-post-process +0 -6
- data/nutanix_vmm.gemspec +0 -39
- data/openapi-generator-cli-7.17.0.jar +0 -0
- data/pkg/nutanix_vmm-0.1.0.gem +0 -0
- data/pkg/nutanix_vmm-0.2.0.gem +0 -0
- data/spec/api/esxi_stats_api_spec.rb +0 -108
- data/spec/api/esxi_vm_api_spec.rb +0 -290
- data/spec/api/image_placement_policies_api_spec.rb +0 -132
- data/spec/api/image_rate_limit_policies_api_spec.rb +0 -119
- data/spec/api/images_api_spec.rb +0 -128
- data/spec/api/stats_api_spec.rb +0 -108
- data/spec/api/templates_api_spec.rb +0 -218
- data/spec/api/vm_anti_affinity_policies_api_spec.rb +0 -145
- data/spec/api/vm_api_spec.rb +0 -911
- data/spec/api/vm_host_affinity_policies_api_spec.rb +0 -132
- data/spec/models/assign_ip_by_id202_response_spec.rb +0 -42
- data/spec/models/assign_ip_by_id4_xx_response_spec.rb +0 -42
- data/spec/models/assign_vm_owner202_response1_spec.rb +0 -42
- data/spec/models/assign_vm_owner202_response_spec.rb +0 -42
- data/spec/models/assign_vm_owner4_xx_response1_spec.rb +0 -42
- data/spec/models/assign_vm_owner4_xx_response_spec.rb +0 -42
- data/spec/models/associate_categories202_response1_spec.rb +0 -42
- data/spec/models/associate_categories202_response_spec.rb +0 -42
- data/spec/models/associate_categories4_xx_response1_spec.rb +0 -42
- data/spec/models/associate_categories4_xx_response_spec.rb +0 -42
- data/spec/models/cancel_guest_update202_response_spec.rb +0 -42
- data/spec/models/cancel_guest_update4_xx_response_spec.rb +0 -42
- data/spec/models/clone_vm202_response_spec.rb +0 -42
- data/spec/models/clone_vm4_xx_response_spec.rb +0 -42
- data/spec/models/common_v10_config_flag_spec.rb +0 -42
- data/spec/models/common_v10_config_ipv4_address_spec.rb +0 -42
- data/spec/models/common_v10_config_kv_pair_spec.rb +0 -42
- data/spec/models/common_v10_config_kv_pair_value_spec.rb +0 -32
- data/spec/models/common_v10_config_map_of_string_wrapper_spec.rb +0 -36
- data/spec/models/common_v10_config_message_severity_spec.rb +0 -30
- data/spec/models/common_v10_config_message_spec.rb +0 -54
- data/spec/models/common_v10_config_tenant_aware_model_spec.rb +0 -36
- data/spec/models/common_v10_response_api_link_spec.rb +0 -42
- data/spec/models/common_v10_response_api_response_metadata_spec.rb +0 -60
- data/spec/models/common_v10_response_externalizable_abstract_model_spec.rb +0 -48
- data/spec/models/common_v10_stats_down_sampling_operator_spec.rb +0 -30
- data/spec/models/complete_guest_update202_response_spec.rb +0 -42
- data/spec/models/complete_guest_update4_xx_response_spec.rb +0 -42
- data/spec/models/create_cd_rom202_response_spec.rb +0 -42
- data/spec/models/create_cd_rom4_xx_response_spec.rb +0 -42
- data/spec/models/create_disk202_response_spec.rb +0 -42
- data/spec/models/create_disk4_xx_response_spec.rb +0 -42
- data/spec/models/create_gpu202_response_spec.rb +0 -42
- data/spec/models/create_gpu4_xx_response_spec.rb +0 -42
- data/spec/models/create_image202_response_spec.rb +0 -42
- data/spec/models/create_image4_xx_response_spec.rb +0 -42
- data/spec/models/create_nic202_response_spec.rb +0 -42
- data/spec/models/create_nic4_xx_response_spec.rb +0 -42
- data/spec/models/create_pcie_device202_response_spec.rb +0 -42
- data/spec/models/create_pcie_device4_xx_response_spec.rb +0 -42
- data/spec/models/create_placement_policy202_response_spec.rb +0 -42
- data/spec/models/create_placement_policy4_xx_response_spec.rb +0 -42
- data/spec/models/create_rate_limit_policy202_response_spec.rb +0 -42
- data/spec/models/create_rate_limit_policy4_xx_response_spec.rb +0 -42
- data/spec/models/create_serial_port202_response_spec.rb +0 -42
- data/spec/models/create_serial_port4_xx_response_spec.rb +0 -42
- data/spec/models/create_template202_response_spec.rb +0 -42
- data/spec/models/create_template4_xx_response_spec.rb +0 -42
- data/spec/models/create_vm202_response_spec.rb +0 -42
- data/spec/models/create_vm4_xx_response_spec.rb +0 -42
- data/spec/models/create_vm_anti_affinity_policy202_response_spec.rb +0 -42
- data/spec/models/create_vm_anti_affinity_policy4_xx_response_spec.rb +0 -42
- data/spec/models/create_vm_host_affinity_policy202_response_spec.rb +0 -42
- data/spec/models/create_vm_host_affinity_policy4_xx_response_spec.rb +0 -42
- data/spec/models/cross_cluster_migrate_vm202_response_spec.rb +0 -42
- data/spec/models/cross_cluster_migrate_vm4_xx_response_spec.rb +0 -42
- data/spec/models/customize_guest_vm202_response_spec.rb +0 -42
- data/spec/models/customize_guest_vm4_xx_response_spec.rb +0 -42
- data/spec/models/dataprotection_v40_common_base_recovery_point_spec.rb +0 -84
- data/spec/models/dataprotection_v40_common_recovery_point_status_spec.rb +0 -30
- data/spec/models/dataprotection_v40_common_recovery_point_type_spec.rb +0 -30
- data/spec/models/delete_cd_rom_by_id202_response_spec.rb +0 -42
- data/spec/models/delete_cd_rom_by_id4_xx_response_spec.rb +0 -42
- data/spec/models/delete_disk_by_id202_response_spec.rb +0 -42
- data/spec/models/delete_disk_by_id4_xx_response_spec.rb +0 -42
- data/spec/models/delete_gpu_by_id202_response_spec.rb +0 -42
- data/spec/models/delete_gpu_by_id4_xx_response_spec.rb +0 -42
- data/spec/models/delete_image_by_id202_response_spec.rb +0 -42
- data/spec/models/delete_image_by_id4_xx_response_spec.rb +0 -42
- data/spec/models/delete_legacy_vm_anti_affinity_policy_by_id202_response_spec.rb +0 -42
- data/spec/models/delete_legacy_vm_anti_affinity_policy_by_id4_xx_response_spec.rb +0 -42
- data/spec/models/delete_nic_by_id202_response_spec.rb +0 -42
- data/spec/models/delete_nic_by_id4_xx_response_spec.rb +0 -42
- data/spec/models/delete_pcie_device_by_id202_response_spec.rb +0 -42
- data/spec/models/delete_pcie_device_by_id4_xx_response_spec.rb +0 -42
- data/spec/models/delete_placement_policy_by_id202_response_spec.rb +0 -42
- data/spec/models/delete_placement_policy_by_id4_xx_response_spec.rb +0 -42
- data/spec/models/delete_rate_limit_policy_by_id202_response_spec.rb +0 -42
- data/spec/models/delete_rate_limit_policy_by_id4_xx_response_spec.rb +0 -42
- data/spec/models/delete_serial_port_by_id202_response_spec.rb +0 -42
- data/spec/models/delete_serial_port_by_id4_xx_response_spec.rb +0 -42
- data/spec/models/delete_template_by_id202_response_spec.rb +0 -42
- data/spec/models/delete_template_by_id4_xx_response_spec.rb +0 -42
- data/spec/models/delete_template_version_by_id202_response_spec.rb +0 -42
- data/spec/models/delete_template_version_by_id4_xx_response_spec.rb +0 -42
- data/spec/models/delete_vm_anti_affinity_policy_by_id202_response_spec.rb +0 -42
- data/spec/models/delete_vm_anti_affinity_policy_by_id4_xx_response_spec.rb +0 -42
- data/spec/models/delete_vm_by_id202_response_spec.rb +0 -42
- data/spec/models/delete_vm_by_id4_xx_response_spec.rb +0 -42
- data/spec/models/delete_vm_host_affinity_policy_by_id202_response_spec.rb +0 -42
- data/spec/models/delete_vm_host_affinity_policy_by_id4_xx_response_spec.rb +0 -42
- data/spec/models/deploy_template202_response_spec.rb +0 -42
- data/spec/models/deploy_template4_xx_response_spec.rb +0 -42
- data/spec/models/disassociate_categories202_response1_spec.rb +0 -42
- data/spec/models/disassociate_categories202_response_spec.rb +0 -42
- data/spec/models/disassociate_categories4_xx_response1_spec.rb +0 -42
- data/spec/models/disassociate_categories4_xx_response_spec.rb +0 -42
- data/spec/models/eject_cd_rom_by_id202_response_spec.rb +0 -42
- data/spec/models/eject_cd_rom_by_id4_xx_response_spec.rb +0 -42
- data/spec/models/get_cd_rom_by_id200_response_spec.rb +0 -42
- data/spec/models/get_cd_rom_by_id4_xx_response_spec.rb +0 -42
- data/spec/models/get_disk_by_id200_response_spec.rb +0 -42
- data/spec/models/get_disk_by_id4_xx_response_spec.rb +0 -42
- data/spec/models/get_disk_stats_by_id200_response1_spec.rb +0 -42
- data/spec/models/get_disk_stats_by_id200_response_spec.rb +0 -42
- data/spec/models/get_disk_stats_by_id4_xx_response1_spec.rb +0 -42
- data/spec/models/get_disk_stats_by_id4_xx_response_spec.rb +0 -42
- data/spec/models/get_file_by_image_id4_xx_response_spec.rb +0 -42
- data/spec/models/get_gpu_by_id200_response_spec.rb +0 -42
- data/spec/models/get_gpu_by_id4_xx_response_spec.rb +0 -42
- data/spec/models/get_guest_tools_by_id200_response_spec.rb +0 -42
- data/spec/models/get_guest_tools_by_id4_xx_response_spec.rb +0 -42
- data/spec/models/get_image_by_id200_response_spec.rb +0 -42
- data/spec/models/get_image_by_id4_xx_response_spec.rb +0 -42
- data/spec/models/get_nic_by_id200_response_spec.rb +0 -42
- data/spec/models/get_nic_by_id4_xx_response_spec.rb +0 -42
- data/spec/models/get_nic_stats_by_id200_response1_spec.rb +0 -42
- data/spec/models/get_nic_stats_by_id200_response_spec.rb +0 -42
- data/spec/models/get_nic_stats_by_id4_xx_response1_spec.rb +0 -42
- data/spec/models/get_nic_stats_by_id4_xx_response_spec.rb +0 -42
- data/spec/models/get_nutanix_guest_tools_by_id200_response_spec.rb +0 -42
- data/spec/models/get_nutanix_guest_tools_by_id4_xx_response_spec.rb +0 -42
- data/spec/models/get_pcie_device_by_id200_response_spec.rb +0 -42
- data/spec/models/get_pcie_device_by_id4_xx_response_spec.rb +0 -42
- data/spec/models/get_placement_policy_by_id200_response_spec.rb +0 -42
- data/spec/models/get_placement_policy_by_id4_xx_response_spec.rb +0 -42
- data/spec/models/get_rate_limit_policy_by_id200_response_spec.rb +0 -42
- data/spec/models/get_rate_limit_policy_by_id4_xx_response_spec.rb +0 -42
- data/spec/models/get_serial_port_by_id200_response_spec.rb +0 -42
- data/spec/models/get_serial_port_by_id4_xx_response_spec.rb +0 -42
- data/spec/models/get_template_by_id200_response_spec.rb +0 -42
- data/spec/models/get_template_by_id4_xx_response_spec.rb +0 -42
- data/spec/models/get_template_version_by_id200_response_spec.rb +0 -42
- data/spec/models/get_template_version_by_id4_xx_response_spec.rb +0 -42
- data/spec/models/get_vm_anti_affinity_policy_by_id200_response_spec.rb +0 -42
- data/spec/models/get_vm_anti_affinity_policy_by_id4_xx_response_spec.rb +0 -42
- data/spec/models/get_vm_by_id200_response1_spec.rb +0 -42
- data/spec/models/get_vm_by_id200_response_spec.rb +0 -42
- data/spec/models/get_vm_by_id4_xx_response1_spec.rb +0 -42
- data/spec/models/get_vm_by_id4_xx_response_spec.rb +0 -42
- data/spec/models/get_vm_host_affinity_policy_by_id200_response_spec.rb +0 -42
- data/spec/models/get_vm_host_affinity_policy_by_id4_xx_response_spec.rb +0 -42
- data/spec/models/get_vm_stats_by_id200_response1_spec.rb +0 -42
- data/spec/models/get_vm_stats_by_id200_response_spec.rb +0 -42
- data/spec/models/get_vm_stats_by_id4_xx_response1_spec.rb +0 -42
- data/spec/models/get_vm_stats_by_id4_xx_response_spec.rb +0 -42
- data/spec/models/iam_v40_authn_buckets_access_key_spec.rb +0 -114
- data/spec/models/iam_v40_authn_buckets_access_key_status_type_spec.rb +0 -30
- data/spec/models/iam_v40_authn_creation_type_spec.rb +0 -30
- data/spec/models/iam_v40_authn_user_spec.rb +0 -180
- data/spec/models/iam_v40_authn_user_status_type_spec.rb +0 -30
- data/spec/models/iam_v40_authn_user_type_spec.rb +0 -30
- data/spec/models/import_image202_response_spec.rb +0 -42
- data/spec/models/import_image4_xx_response_spec.rb +0 -42
- data/spec/models/initiate_guest_update202_response_spec.rb +0 -42
- data/spec/models/initiate_guest_update4_xx_response_spec.rb +0 -42
- data/spec/models/insert_cd_rom_by_id202_response_spec.rb +0 -42
- data/spec/models/insert_cd_rom_by_id4_xx_response_spec.rb +0 -42
- data/spec/models/insert_nutanix_guest_tools202_response_spec.rb +0 -42
- data/spec/models/insert_nutanix_guest_tools4_xx_response_spec.rb +0 -42
- data/spec/models/insert_vm_guest_tools202_response_spec.rb +0 -42
- data/spec/models/insert_vm_guest_tools4_xx_response_spec.rb +0 -42
- data/spec/models/install_nutanix_guest_tools202_response_spec.rb +0 -42
- data/spec/models/install_nutanix_guest_tools4_xx_response_spec.rb +0 -42
- data/spec/models/install_vm_guest_tools202_response_spec.rb +0 -42
- data/spec/models/install_vm_guest_tools4_xx_response_spec.rb +0 -42
- data/spec/models/list_cd_roms_by_vm_id200_response_spec.rb +0 -42
- data/spec/models/list_cd_roms_by_vm_id4_xx_response_spec.rb +0 -42
- data/spec/models/list_disks_by_vm_id200_response_spec.rb +0 -42
- data/spec/models/list_disks_by_vm_id4_xx_response_spec.rb +0 -42
- data/spec/models/list_effective_rate_limit_policies200_response_spec.rb +0 -42
- data/spec/models/list_effective_rate_limit_policies4_xx_response_spec.rb +0 -42
- data/spec/models/list_gpus_by_vm_id200_response_spec.rb +0 -42
- data/spec/models/list_gpus_by_vm_id4_xx_response_spec.rb +0 -42
- data/spec/models/list_images200_response_spec.rb +0 -42
- data/spec/models/list_images4_xx_response_spec.rb +0 -42
- data/spec/models/list_legacy_vm_anti_affinity_policies200_response_spec.rb +0 -42
- data/spec/models/list_legacy_vm_anti_affinity_policies4_xx_response_spec.rb +0 -42
- data/spec/models/list_nics_by_vm_id200_response_spec.rb +0 -42
- data/spec/models/list_nics_by_vm_id4_xx_response_spec.rb +0 -42
- data/spec/models/list_pcie_devices_by_vm_id200_response_spec.rb +0 -42
- data/spec/models/list_pcie_devices_by_vm_id4_xx_response_spec.rb +0 -42
- data/spec/models/list_placement_policies200_response_spec.rb +0 -42
- data/spec/models/list_placement_policies4_xx_response_spec.rb +0 -42
- data/spec/models/list_rate_limit_policies200_response_spec.rb +0 -42
- data/spec/models/list_rate_limit_policies4_xx_response_spec.rb +0 -42
- data/spec/models/list_serial_ports_by_vm_id200_response_spec.rb +0 -42
- data/spec/models/list_serial_ports_by_vm_id4_xx_response_spec.rb +0 -42
- data/spec/models/list_template_versions200_response_spec.rb +0 -42
- data/spec/models/list_template_versions4_xx_response_spec.rb +0 -42
- data/spec/models/list_templates200_response_spec.rb +0 -42
- data/spec/models/list_templates4_xx_response_spec.rb +0 -42
- data/spec/models/list_vm_anti_affinity_policies200_response_spec.rb +0 -42
- data/spec/models/list_vm_anti_affinity_policies4_xx_response_spec.rb +0 -42
- data/spec/models/list_vm_anti_affinity_policy_vm_compliance_states200_response_spec.rb +0 -42
- data/spec/models/list_vm_anti_affinity_policy_vm_compliance_states4_xx_response_spec.rb +0 -42
- data/spec/models/list_vm_host_affinity_policies200_response_spec.rb +0 -42
- data/spec/models/list_vm_host_affinity_policies4_xx_response_spec.rb +0 -42
- data/spec/models/list_vm_host_affinity_policy_vm_compliance_states200_response_spec.rb +0 -42
- data/spec/models/list_vm_host_affinity_policy_vm_compliance_states4_xx_response_spec.rb +0 -42
- data/spec/models/list_vm_stats200_response1_spec.rb +0 -42
- data/spec/models/list_vm_stats200_response_spec.rb +0 -42
- data/spec/models/list_vm_stats4_xx_response1_spec.rb +0 -42
- data/spec/models/list_vm_stats4_xx_response_spec.rb +0 -42
- data/spec/models/list_vms200_response1_spec.rb +0 -42
- data/spec/models/list_vms200_response_spec.rb +0 -42
- data/spec/models/list_vms4_xx_response1_spec.rb +0 -42
- data/spec/models/list_vms4_xx_response_spec.rb +0 -42
- data/spec/models/migrate_nic_by_id202_response_spec.rb +0 -42
- data/spec/models/migrate_nic_by_id4_xx_response_spec.rb +0 -42
- data/spec/models/migrate_vm_disks202_response_spec.rb +0 -42
- data/spec/models/migrate_vm_disks4_xx_response_spec.rb +0 -42
- data/spec/models/migrate_vm_to_host202_response_spec.rb +0 -42
- data/spec/models/migrate_vm_to_host4_xx_response_spec.rb +0 -42
- data/spec/models/power_cycle_vm202_response_spec.rb +0 -42
- data/spec/models/power_cycle_vm4_xx_response_spec.rb +0 -42
- data/spec/models/power_off_vm202_response1_spec.rb +0 -42
- data/spec/models/power_off_vm202_response_spec.rb +0 -42
- data/spec/models/power_off_vm4_xx_response1_spec.rb +0 -42
- data/spec/models/power_off_vm4_xx_response_spec.rb +0 -42
- data/spec/models/power_on_vm202_response1_spec.rb +0 -42
- data/spec/models/power_on_vm202_response_spec.rb +0 -42
- data/spec/models/power_on_vm4_xx_response1_spec.rb +0 -42
- data/spec/models/power_on_vm4_xx_response_spec.rb +0 -42
- data/spec/models/prism_v40_config_task_reference_spec.rb +0 -36
- data/spec/models/publish_template202_response_spec.rb +0 -42
- data/spec/models/publish_template4_xx_response_spec.rb +0 -42
- data/spec/models/re_enforce_vm_host_affinity_policy_by_id202_response_spec.rb +0 -42
- data/spec/models/re_enforce_vm_host_affinity_policy_by_id4_xx_response_spec.rb +0 -42
- data/spec/models/reboot_guest_vm202_response_spec.rb +0 -42
- data/spec/models/reboot_guest_vm4_xx_response_spec.rb +0 -42
- data/spec/models/reboot_vm202_response_spec.rb +0 -42
- data/spec/models/reboot_vm4_xx_response_spec.rb +0 -42
- data/spec/models/release_ip_by_id202_response_spec.rb +0 -42
- data/spec/models/release_ip_by_id4_xx_response_spec.rb +0 -42
- data/spec/models/reset_vm202_response1_spec.rb +0 -42
- data/spec/models/reset_vm202_response_spec.rb +0 -42
- data/spec/models/reset_vm4_xx_response1_spec.rb +0 -42
- data/spec/models/reset_vm4_xx_response_spec.rb +0 -42
- data/spec/models/resume_placement_policy202_response_spec.rb +0 -42
- data/spec/models/resume_placement_policy4_xx_response_spec.rb +0 -42
- data/spec/models/revert_vm202_response1_spec.rb +0 -42
- data/spec/models/revert_vm202_response_spec.rb +0 -42
- data/spec/models/revert_vm4_xx_response1_spec.rb +0 -42
- data/spec/models/revert_vm4_xx_response_spec.rb +0 -42
- data/spec/models/shutdown_guest_vm202_response_spec.rb +0 -42
- data/spec/models/shutdown_guest_vm4_xx_response_spec.rb +0 -42
- data/spec/models/shutdown_vm202_response_spec.rb +0 -42
- data/spec/models/shutdown_vm4_xx_response_spec.rb +0 -42
- data/spec/models/suspend_placement_policy202_response_spec.rb +0 -42
- data/spec/models/suspend_placement_policy4_xx_response_spec.rb +0 -42
- data/spec/models/suspend_vm202_response_spec.rb +0 -42
- data/spec/models/suspend_vm4_xx_response_spec.rb +0 -42
- data/spec/models/uninstall_nutanix_guest_tools202_response_spec.rb +0 -42
- data/spec/models/uninstall_nutanix_guest_tools4_xx_response_spec.rb +0 -42
- data/spec/models/uninstall_vm_guest_tools202_response_spec.rb +0 -42
- data/spec/models/uninstall_vm_guest_tools4_xx_response_spec.rb +0 -42
- data/spec/models/update_disk_by_id202_response_spec.rb +0 -42
- data/spec/models/update_disk_by_id4_xx_response_spec.rb +0 -42
- data/spec/models/update_guest_tools_by_id202_response_spec.rb +0 -42
- data/spec/models/update_guest_tools_by_id4_xx_response_spec.rb +0 -42
- data/spec/models/update_image_by_id202_response_spec.rb +0 -42
- data/spec/models/update_image_by_id4_xx_response_spec.rb +0 -42
- data/spec/models/update_nic_by_id202_response_spec.rb +0 -42
- data/spec/models/update_nic_by_id4_xx_response_spec.rb +0 -42
- data/spec/models/update_nutanix_guest_tools_by_id202_response_spec.rb +0 -42
- data/spec/models/update_nutanix_guest_tools_by_id4_xx_response_spec.rb +0 -42
- data/spec/models/update_placement_policy_by_id202_response_spec.rb +0 -42
- data/spec/models/update_placement_policy_by_id4_xx_response_spec.rb +0 -42
- data/spec/models/update_rate_limit_policy_by_id202_response_spec.rb +0 -42
- data/spec/models/update_rate_limit_policy_by_id4_xx_response_spec.rb +0 -42
- data/spec/models/update_serial_port_by_id202_response_spec.rb +0 -42
- data/spec/models/update_serial_port_by_id4_xx_response_spec.rb +0 -42
- data/spec/models/update_template_by_id202_response_spec.rb +0 -42
- data/spec/models/update_template_by_id4_xx_response_spec.rb +0 -42
- data/spec/models/update_vm_anti_affinity_policy_by_id202_response_spec.rb +0 -42
- data/spec/models/update_vm_anti_affinity_policy_by_id4_xx_response_spec.rb +0 -42
- data/spec/models/update_vm_by_id202_response_spec.rb +0 -42
- data/spec/models/update_vm_by_id4_xx_response_spec.rb +0 -42
- data/spec/models/update_vm_host_affinity_policy_by_id202_response_spec.rb +0 -42
- data/spec/models/update_vm_host_affinity_policy_by_id4_xx_response_spec.rb +0 -42
- data/spec/models/upgrade_nutanix_guest_tools202_response_spec.rb +0 -42
- data/spec/models/upgrade_nutanix_guest_tools4_xx_response_spec.rb +0 -42
- data/spec/models/upgrade_vm_guest_tools202_response_spec.rb +0 -42
- data/spec/models/upgrade_vm_guest_tools4_xx_response_spec.rb +0 -42
- data/spec/models/version_of_a_template_version_source_spec.rb +0 -36
- data/spec/models/virtual_disk_image_checksum_spec.rb +0 -36
- data/spec/models/virtual_disk_image_source_spec.rb +0 -36
- data/spec/models/vmm_v40_ahv_config_adsf_disk_migration_plan_spec.rb +0 -42
- data/spec/models/vmm_v40_ahv_config_adsf_volume_group_reference_spec.rb +0 -36
- data/spec/models/vmm_v40_ahv_config_adsfvm_storage_config_spec.rb +0 -42
- data/spec/models/vmm_v40_ahv_config_all_disks_migration_plan_spec.rb +0 -36
- data/spec/models/vmm_v40_ahv_config_apc_config_spec.rb +0 -42
- data/spec/models/vmm_v40_ahv_config_assign_ip_api_response_spec.rb +0 -42
- data/spec/models/vmm_v40_ahv_config_assign_ip_params_spec.rb +0 -36
- data/spec/models/vmm_v40_ahv_config_assign_vm_owner_api_response_spec.rb +0 -42
- data/spec/models/vmm_v40_ahv_config_associate_categories_api_response_spec.rb +0 -42
- data/spec/models/vmm_v40_ahv_config_associate_vm_categories_params_spec.rb +0 -36
- data/spec/models/vmm_v40_ahv_config_availability_zone_reference_spec.rb +0 -36
- data/spec/models/vmm_v40_ahv_config_boot_device_disk_spec.rb +0 -36
- data/spec/models/vmm_v40_ahv_config_boot_device_nic_spec.rb +0 -36
- data/spec/models/vmm_v40_ahv_config_boot_device_type_spec.rb +0 -30
- data/spec/models/vmm_v40_ahv_config_category_reference_spec.rb +0 -36
- data/spec/models/vmm_v40_ahv_config_cd_rom_address_spec.rb +0 -42
- data/spec/models/vmm_v40_ahv_config_cd_rom_bus_type_spec.rb +0 -30
- data/spec/models/vmm_v40_ahv_config_cd_rom_insert_params_spec.rb +0 -36
- data/spec/models/vmm_v40_ahv_config_cd_rom_spec.rb +0 -66
- data/spec/models/vmm_v40_ahv_config_clone_override_params_boot_config_spec.rb +0 -32
- data/spec/models/vmm_v40_ahv_config_clone_override_params_spec.rb +0 -78
- data/spec/models/vmm_v40_ahv_config_clone_vm_api_response_spec.rb +0 -42
- data/spec/models/vmm_v40_ahv_config_cloud_init_cloud_init_script_spec.rb +0 -32
- data/spec/models/vmm_v40_ahv_config_cloud_init_data_source_type_spec.rb +0 -30
- data/spec/models/vmm_v40_ahv_config_cloud_init_spec.rb +0 -48
- data/spec/models/vmm_v40_ahv_config_cluster_reference_spec.rb +0 -36
- data/spec/models/vmm_v40_ahv_config_cpu_feature_spec.rb +0 -30
- data/spec/models/vmm_v40_ahv_config_cpu_model_reference_spec.rb +0 -42
- data/spec/models/vmm_v40_ahv_config_create_cd_rom_api_response_spec.rb +0 -42
- data/spec/models/vmm_v40_ahv_config_create_disk_api_response_spec.rb +0 -42
- data/spec/models/vmm_v40_ahv_config_create_gpu_api_response_spec.rb +0 -42
- data/spec/models/vmm_v40_ahv_config_create_nic_api_response_spec.rb +0 -42
- data/spec/models/vmm_v40_ahv_config_create_pcie_device_api_response_spec.rb +0 -42
- data/spec/models/vmm_v40_ahv_config_create_serial_port_api_response_spec.rb +0 -42
- data/spec/models/vmm_v40_ahv_config_create_vm_api_response_spec.rb +0 -42
- data/spec/models/vmm_v40_ahv_config_credential_spec.rb +0 -42
- data/spec/models/vmm_v40_ahv_config_cross_cluster_migrate_vm_api_response_spec.rb +0 -42
- data/spec/models/vmm_v40_ahv_config_custom_key_values_spec.rb +0 -36
- data/spec/models/vmm_v40_ahv_config_customize_guest_vm_api_response_spec.rb +0 -42
- data/spec/models/vmm_v40_ahv_config_data_source_reference_spec.rb +0 -32
- data/spec/models/vmm_v40_ahv_config_data_source_spec.rb +0 -36
- data/spec/models/vmm_v40_ahv_config_delete_cd_rom_api_response_spec.rb +0 -42
- data/spec/models/vmm_v40_ahv_config_delete_disk_api_response_spec.rb +0 -42
- data/spec/models/vmm_v40_ahv_config_delete_gpu_api_response_spec.rb +0 -42
- data/spec/models/vmm_v40_ahv_config_delete_nic_api_response_spec.rb +0 -42
- data/spec/models/vmm_v40_ahv_config_delete_pcie_device_api_response_spec.rb +0 -42
- data/spec/models/vmm_v40_ahv_config_delete_serial_port_api_response_spec.rb +0 -42
- data/spec/models/vmm_v40_ahv_config_delete_vm_api_response_spec.rb +0 -42
- data/spec/models/vmm_v40_ahv_config_disassociate_categories_api_response_spec.rb +0 -42
- data/spec/models/vmm_v40_ahv_config_disassociate_vm_categories_params_spec.rb +0 -36
- data/spec/models/vmm_v40_ahv_config_disk_address_spec.rb +0 -42
- data/spec/models/vmm_v40_ahv_config_disk_all_of_backing_info_spec.rb +0 -36
- data/spec/models/vmm_v40_ahv_config_disk_bus_type_spec.rb +0 -30
- data/spec/models/vmm_v40_ahv_config_disk_migration_params_migrate_disks_spec.rb +0 -32
- data/spec/models/vmm_v40_ahv_config_disk_migration_params_spec.rb +0 -36
- data/spec/models/vmm_v40_ahv_config_disk_spec.rb +0 -60
- data/spec/models/vmm_v40_ahv_config_eject_cd_rom_api_response_spec.rb +0 -42
- data/spec/models/vmm_v40_ahv_config_emulated_nic_model_spec.rb +0 -30
- data/spec/models/vmm_v40_ahv_config_emulated_nic_spec.rb +0 -54
- data/spec/models/vmm_v40_ahv_config_get_cd_rom_api_response_data_spec.rb +0 -32
- data/spec/models/vmm_v40_ahv_config_get_cd_rom_api_response_spec.rb +0 -42
- data/spec/models/vmm_v40_ahv_config_get_disk_api_response_data_spec.rb +0 -32
- data/spec/models/vmm_v40_ahv_config_get_disk_api_response_spec.rb +0 -42
- data/spec/models/vmm_v40_ahv_config_get_gpu_api_response_data_spec.rb +0 -32
- data/spec/models/vmm_v40_ahv_config_get_gpu_api_response_spec.rb +0 -42
- data/spec/models/vmm_v40_ahv_config_get_guest_tools_api_response_data_spec.rb +0 -32
- data/spec/models/vmm_v40_ahv_config_get_guest_tools_api_response_spec.rb +0 -42
- data/spec/models/vmm_v40_ahv_config_get_nic_api_response_data_spec.rb +0 -32
- data/spec/models/vmm_v40_ahv_config_get_nic_api_response_spec.rb +0 -42
- data/spec/models/vmm_v40_ahv_config_get_pcie_device_api_response_data_spec.rb +0 -32
- data/spec/models/vmm_v40_ahv_config_get_pcie_device_api_response_spec.rb +0 -42
- data/spec/models/vmm_v40_ahv_config_get_serial_port_api_response_data_spec.rb +0 -32
- data/spec/models/vmm_v40_ahv_config_get_serial_port_api_response_spec.rb +0 -42
- data/spec/models/vmm_v40_ahv_config_get_vm_api_response_data_spec.rb +0 -32
- data/spec/models/vmm_v40_ahv_config_get_vm_api_response_spec.rb +0 -42
- data/spec/models/vmm_v40_ahv_config_gpu_mode_spec.rb +0 -30
- data/spec/models/vmm_v40_ahv_config_gpu_spec.rb +0 -102
- data/spec/models/vmm_v40_ahv_config_gpu_vendor_spec.rb +0 -30
- data/spec/models/vmm_v40_ahv_config_guest_customization_params_config_spec.rb +0 -32
- data/spec/models/vmm_v40_ahv_config_guest_customization_params_spec.rb +0 -36
- data/spec/models/vmm_v40_ahv_config_guest_power_options_spec.rb +0 -36
- data/spec/models/vmm_v40_ahv_config_guest_power_state_transition_config_spec.rb +0 -42
- data/spec/models/vmm_v40_ahv_config_guest_tools_insert_config_spec.rb +0 -42
- data/spec/models/vmm_v40_ahv_config_guest_tools_install_config_spec.rb +0 -48
- data/spec/models/vmm_v40_ahv_config_guest_tools_spec.rb +0 -90
- data/spec/models/vmm_v40_ahv_config_guest_tools_upgrade_config_spec.rb +0 -36
- data/spec/models/vmm_v40_ahv_config_host_reference_spec.rb +0 -36
- data/spec/models/vmm_v40_ahv_config_image_reference_spec.rb +0 -36
- data/spec/models/vmm_v40_ahv_config_insert_cd_rom_api_response_spec.rb +0 -42
- data/spec/models/vmm_v40_ahv_config_insert_vm_guest_tools_api_response_spec.rb +0 -42
- data/spec/models/vmm_v40_ahv_config_install_type_spec.rb +0 -30
- data/spec/models/vmm_v40_ahv_config_install_vm_guest_tools_api_response_spec.rb +0 -42
- data/spec/models/vmm_v40_ahv_config_ipv4_config_spec.rb +0 -48
- data/spec/models/vmm_v40_ahv_config_ipv4_info_spec.rb +0 -36
- data/spec/models/vmm_v40_ahv_config_iso_type_spec.rb +0 -30
- data/spec/models/vmm_v40_ahv_config_legacy_boot_boot_device_spec.rb +0 -32
- data/spec/models/vmm_v40_ahv_config_legacy_boot_spec.rb +0 -42
- data/spec/models/vmm_v40_ahv_config_list_cd_roms_api_response_data_spec.rb +0 -32
- data/spec/models/vmm_v40_ahv_config_list_cd_roms_api_response_spec.rb +0 -42
- data/spec/models/vmm_v40_ahv_config_list_disks_api_response_data_spec.rb +0 -32
- data/spec/models/vmm_v40_ahv_config_list_disks_api_response_spec.rb +0 -42
- data/spec/models/vmm_v40_ahv_config_list_gpus_api_response_data_spec.rb +0 -32
- data/spec/models/vmm_v40_ahv_config_list_gpus_api_response_spec.rb +0 -42
- data/spec/models/vmm_v40_ahv_config_list_nics_api_response_data_spec.rb +0 -32
- data/spec/models/vmm_v40_ahv_config_list_nics_api_response_spec.rb +0 -42
- data/spec/models/vmm_v40_ahv_config_list_pcie_devices_api_response_data_spec.rb +0 -32
- data/spec/models/vmm_v40_ahv_config_list_pcie_devices_api_response_spec.rb +0 -42
- data/spec/models/vmm_v40_ahv_config_list_serial_ports_api_response_data_spec.rb +0 -32
- data/spec/models/vmm_v40_ahv_config_list_serial_ports_api_response_spec.rb +0 -42
- data/spec/models/vmm_v40_ahv_config_list_vms_api_response_data_spec.rb +0 -32
- data/spec/models/vmm_v40_ahv_config_list_vms_api_response_spec.rb +0 -42
- data/spec/models/vmm_v40_ahv_config_machine_type_spec.rb +0 -30
- data/spec/models/vmm_v40_ahv_config_migrate_disk_reference_spec.rb +0 -36
- data/spec/models/vmm_v40_ahv_config_migrate_nic_api_response_spec.rb +0 -42
- data/spec/models/vmm_v40_ahv_config_migrate_nic_config_spec.rb +0 -48
- data/spec/models/vmm_v40_ahv_config_migrate_nic_type_spec.rb +0 -30
- data/spec/models/vmm_v40_ahv_config_migrate_vm_disks_api_response_spec.rb +0 -42
- data/spec/models/vmm_v40_ahv_config_migrate_vm_to_host_api_response_spec.rb +0 -42
- data/spec/models/vmm_v40_ahv_config_migration_plans_spec.rb +0 -36
- data/spec/models/vmm_v40_ahv_config_network_function_chain_reference_spec.rb +0 -36
- data/spec/models/vmm_v40_ahv_config_network_function_nic_type_spec.rb +0 -30
- data/spec/models/vmm_v40_ahv_config_ngt_capability_spec.rb +0 -30
- data/spec/models/vmm_v40_ahv_config_nic_network_info_spec.rb +0 -84
- data/spec/models/vmm_v40_ahv_config_nic_spec.rb +0 -60
- data/spec/models/vmm_v40_ahv_config_nic_type_spec.rb +0 -30
- data/spec/models/vmm_v40_ahv_config_nvram_device_spec.rb +0 -36
- data/spec/models/vmm_v40_ahv_config_owner_reference_spec.rb +0 -36
- data/spec/models/vmm_v40_ahv_config_ownership_info_spec.rb +0 -36
- data/spec/models/vmm_v40_ahv_config_pcie_device_info_spec.rb +0 -36
- data/spec/models/vmm_v40_ahv_config_pcie_device_reference_spec.rb +0 -36
- data/spec/models/vmm_v40_ahv_config_pcie_device_spec.rb +0 -60
- data/spec/models/vmm_v40_ahv_config_policy_reference_spec.rb +0 -36
- data/spec/models/vmm_v40_ahv_config_power_cycle_vm_api_response_spec.rb +0 -42
- data/spec/models/vmm_v40_ahv_config_power_off_vm_api_response_spec.rb +0 -42
- data/spec/models/vmm_v40_ahv_config_power_on_vm_api_response_spec.rb +0 -42
- data/spec/models/vmm_v40_ahv_config_power_state_spec.rb +0 -30
- data/spec/models/vmm_v40_ahv_config_protection_policy_state_spec.rb +0 -36
- data/spec/models/vmm_v40_ahv_config_protection_type_spec.rb +0 -30
- data/spec/models/vmm_v40_ahv_config_qos_config_spec.rb +0 -36
- data/spec/models/vmm_v40_ahv_config_reboot_preference_schedule_spec.rb +0 -36
- data/spec/models/vmm_v40_ahv_config_reboot_preference_spec.rb +0 -42
- data/spec/models/vmm_v40_ahv_config_reboot_vm_api_response_spec.rb +0 -42
- data/spec/models/vmm_v40_ahv_config_release_ip_api_response_spec.rb +0 -42
- data/spec/models/vmm_v40_ahv_config_reset_vm_api_response_spec.rb +0 -42
- data/spec/models/vmm_v40_ahv_config_revert_params_spec.rb +0 -36
- data/spec/models/vmm_v40_ahv_config_revert_vm_api_response_spec.rb +0 -42
- data/spec/models/vmm_v40_ahv_config_sbdf_spec.rb +0 -54
- data/spec/models/vmm_v40_ahv_config_schedule_type_spec.rb +0 -30
- data/spec/models/vmm_v40_ahv_config_serial_port_spec.rb +0 -60
- data/spec/models/vmm_v40_ahv_config_shutdown_vm_api_response_spec.rb +0 -42
- data/spec/models/vmm_v40_ahv_config_subnet_reference_spec.rb +0 -36
- data/spec/models/vmm_v40_ahv_config_sysprep_spec.rb +0 -42
- data/spec/models/vmm_v40_ahv_config_sysprep_sysprep_script_spec.rb +0 -32
- data/spec/models/vmm_v40_ahv_config_uefi_boot_boot_device_spec.rb +0 -32
- data/spec/models/vmm_v40_ahv_config_uefi_boot_spec.rb +0 -54
- data/spec/models/vmm_v40_ahv_config_unattendxml_spec.rb +0 -36
- data/spec/models/vmm_v40_ahv_config_uninstall_vm_guest_tools_api_response_spec.rb +0 -42
- data/spec/models/vmm_v40_ahv_config_update_disk_api_response_spec.rb +0 -42
- data/spec/models/vmm_v40_ahv_config_update_guest_tools_api_response_spec.rb +0 -42
- data/spec/models/vmm_v40_ahv_config_update_nic_api_response_spec.rb +0 -42
- data/spec/models/vmm_v40_ahv_config_update_serial_port_api_response_spec.rb +0 -42
- data/spec/models/vmm_v40_ahv_config_update_vm_api_response_spec.rb +0 -42
- data/spec/models/vmm_v40_ahv_config_upgrade_vm_guest_tools_api_response_spec.rb +0 -42
- data/spec/models/vmm_v40_ahv_config_userdata_spec.rb +0 -36
- data/spec/models/vmm_v40_ahv_config_vlan_mode_spec.rb +0 -30
- data/spec/models/vmm_v40_ahv_config_vm_all_of_boot_config_spec.rb +0 -36
- data/spec/models/vmm_v40_ahv_config_vm_cross_cluster_migrate_overrides_spec.rb +0 -36
- data/spec/models/vmm_v40_ahv_config_vm_cross_cluster_migrate_params_spec.rb +0 -54
- data/spec/models/vmm_v40_ahv_config_vm_disk_container_reference_spec.rb +0 -36
- data/spec/models/vmm_v40_ahv_config_vm_disk_reference_spec.rb +0 -48
- data/spec/models/vmm_v40_ahv_config_vm_disk_spec.rb +0 -66
- data/spec/models/vmm_v40_ahv_config_vm_disk_storage_config_spec.rb +0 -36
- data/spec/models/vmm_v40_ahv_config_vm_migrate_to_host_params_spec.rb +0 -36
- data/spec/models/vmm_v40_ahv_config_vm_recovery_point_spec.rb +0 -90
- data/spec/models/vmm_v40_ahv_config_vm_reference_spec.rb +0 -36
- data/spec/models/vmm_v40_ahv_config_vm_source_reference_entity_type_spec.rb +0 -30
- data/spec/models/vmm_v40_ahv_config_vm_source_reference_spec.rb +0 -42
- data/spec/models/vmm_v40_ahv_config_vm_spec.rb +0 -324
- data/spec/models/vmm_v40_ahv_config_vtpm_config_spec.rb +0 -42
- data/spec/models/vmm_v40_ahv_policies_category_reference_spec.rb +0 -36
- data/spec/models/vmm_v40_ahv_policies_cluster_reference_spec.rb +0 -36
- data/spec/models/vmm_v40_ahv_policies_conflicting_legacy_vm_anti_affinity_policy_spec.rb +0 -36
- data/spec/models/vmm_v40_ahv_policies_conflicting_vm_anti_affinity_policy_spec.rb +0 -36
- data/spec/models/vmm_v40_ahv_policies_conflicting_vm_host_affinity_policy_spec.rb +0 -36
- data/spec/models/vmm_v40_ahv_policies_create_vm_anti_affinity_policy_api_response_spec.rb +0 -42
- data/spec/models/vmm_v40_ahv_policies_create_vm_host_affinity_policy_api_response_spec.rb +0 -42
- data/spec/models/vmm_v40_ahv_policies_delete_legacy_vm_anti_affinity_policy_api_response_spec.rb +0 -42
- data/spec/models/vmm_v40_ahv_policies_delete_vm_anti_affinity_policy_api_response_spec.rb +0 -42
- data/spec/models/vmm_v40_ahv_policies_delete_vm_host_affinity_policy_api_response_spec.rb +0 -42
- data/spec/models/vmm_v40_ahv_policies_get_vm_anti_affinity_policy_api_response_data_spec.rb +0 -32
- data/spec/models/vmm_v40_ahv_policies_get_vm_anti_affinity_policy_api_response_spec.rb +0 -42
- data/spec/models/vmm_v40_ahv_policies_get_vm_host_affinity_policy_api_response_data_spec.rb +0 -32
- data/spec/models/vmm_v40_ahv_policies_get_vm_host_affinity_policy_api_response_spec.rb +0 -42
- data/spec/models/vmm_v40_ahv_policies_host_reference_spec.rb +0 -36
- data/spec/models/vmm_v40_ahv_policies_legacy_vm_anti_affinity_policy_spec.rb +0 -66
- data/spec/models/vmm_v40_ahv_policies_list_legacy_vm_anti_affinity_policies_api_response_data_spec.rb +0 -32
- data/spec/models/vmm_v40_ahv_policies_list_legacy_vm_anti_affinity_policies_api_response_spec.rb +0 -42
- data/spec/models/vmm_v40_ahv_policies_list_vm_anti_affinity_policies_api_response_data_spec.rb +0 -32
- data/spec/models/vmm_v40_ahv_policies_list_vm_anti_affinity_policies_api_response_spec.rb +0 -42
- data/spec/models/vmm_v40_ahv_policies_list_vm_anti_affinity_policy_vm_compliance_states_api_response_data_spec.rb +0 -32
- data/spec/models/vmm_v40_ahv_policies_list_vm_anti_affinity_policy_vm_compliance_states_api_response_spec.rb +0 -42
- data/spec/models/vmm_v40_ahv_policies_list_vm_host_affinity_policies_api_response_data_spec.rb +0 -32
- data/spec/models/vmm_v40_ahv_policies_list_vm_host_affinity_policies_api_response_spec.rb +0 -42
- data/spec/models/vmm_v40_ahv_policies_list_vm_host_affinity_policy_vm_compliance_states_api_response_data_spec.rb +0 -32
- data/spec/models/vmm_v40_ahv_policies_list_vm_host_affinity_policy_vm_compliance_states_api_response_spec.rb +0 -42
- data/spec/models/vmm_v40_ahv_policies_non_compliant_vm_anti_affinity_policy_non_compliance_reason_spec.rb +0 -32
- data/spec/models/vmm_v40_ahv_policies_non_compliant_vm_anti_affinity_policy_spec.rb +0 -36
- data/spec/models/vmm_v40_ahv_policies_non_compliant_vm_host_affinity_policy_non_compliance_reason_spec.rb +0 -32
- data/spec/models/vmm_v40_ahv_policies_non_compliant_vm_host_affinity_policy_spec.rb +0 -36
- data/spec/models/vmm_v40_ahv_policies_pe_not_capable_for_vm_host_affinity_policy_spec.rb +0 -36
- data/spec/models/vmm_v40_ahv_policies_re_enforce_vm_host_affinity_policy_api_response_spec.rb +0 -42
- data/spec/models/vmm_v40_ahv_policies_update_vm_anti_affinity_policy_api_response_spec.rb +0 -42
- data/spec/models/vmm_v40_ahv_policies_update_vm_host_affinity_policy_api_response_spec.rb +0 -42
- data/spec/models/vmm_v40_ahv_policies_user_reference_spec.rb +0 -36
- data/spec/models/vmm_v40_ahv_policies_vm_anti_affinity_policy_spec.rb +0 -108
- data/spec/models/vmm_v40_ahv_policies_vm_anti_affinity_policy_vm_compliance_state_all_of_compliance_status_spec.rb +0 -36
- data/spec/models/vmm_v40_ahv_policies_vm_anti_affinity_policy_vm_compliance_state_spec.rb +0 -72
- data/spec/models/vmm_v40_ahv_policies_vm_host_affinity_policy_spec.rb +0 -120
- data/spec/models/vmm_v40_ahv_policies_vm_host_affinity_policy_vm_compliance_state_all_of_compliance_status_spec.rb +0 -36
- data/spec/models/vmm_v40_ahv_policies_vm_host_affinity_policy_vm_compliance_state_spec.rb +0 -72
- data/spec/models/vmm_v40_ahv_policies_vm_reference_spec.rb +0 -36
- data/spec/models/vmm_v40_ahv_stats_get_disk_stats_api_response_data_spec.rb +0 -32
- data/spec/models/vmm_v40_ahv_stats_get_disk_stats_api_response_spec.rb +0 -42
- data/spec/models/vmm_v40_ahv_stats_get_nic_stats_api_response_data_spec.rb +0 -32
- data/spec/models/vmm_v40_ahv_stats_get_nic_stats_api_response_spec.rb +0 -42
- data/spec/models/vmm_v40_ahv_stats_get_vm_stats_api_response_data_spec.rb +0 -32
- data/spec/models/vmm_v40_ahv_stats_get_vm_stats_api_response_spec.rb +0 -42
- data/spec/models/vmm_v40_ahv_stats_list_vm_stats_api_response_data_spec.rb +0 -32
- data/spec/models/vmm_v40_ahv_stats_list_vm_stats_api_response_spec.rb +0 -42
- data/spec/models/vmm_v40_ahv_stats_vm_disk_stats_spec.rb +0 -60
- data/spec/models/vmm_v40_ahv_stats_vm_disk_stats_tuple_spec.rb +0 -198
- data/spec/models/vmm_v40_ahv_stats_vm_nic_stats_spec.rb +0 -60
- data/spec/models/vmm_v40_ahv_stats_vm_nic_stats_tuple_spec.rb +0 -48
- data/spec/models/vmm_v40_ahv_stats_vm_stats_spec.rb +0 -54
- data/spec/models/vmm_v40_ahv_stats_vm_stats_tuple_spec.rb +0 -534
- data/spec/models/vmm_v40_content_cancel_guest_update_api_response_spec.rb +0 -42
- data/spec/models/vmm_v40_content_complete_guest_update_api_response_spec.rb +0 -42
- data/spec/models/vmm_v40_content_complete_guest_update_spec_spec.rb +0 -48
- data/spec/models/vmm_v40_content_compliance_status_spec.rb +0 -30
- data/spec/models/vmm_v40_content_create_image_api_response_data_spec.rb +0 -32
- data/spec/models/vmm_v40_content_create_image_api_response_spec.rb +0 -42
- data/spec/models/vmm_v40_content_create_template_api_response_spec.rb +0 -42
- data/spec/models/vmm_v40_content_delete_image_api_response_spec.rb +0 -42
- data/spec/models/vmm_v40_content_delete_template_api_response_spec.rb +0 -42
- data/spec/models/vmm_v40_content_delete_template_version_api_response_spec.rb +0 -42
- data/spec/models/vmm_v40_content_deploy_template_api_response_spec.rb +0 -42
- data/spec/models/vmm_v40_content_enforcement_mode_spec.rb +0 -30
- data/spec/models/vmm_v40_content_get_image_api_response_data_spec.rb +0 -32
- data/spec/models/vmm_v40_content_get_image_api_response_spec.rb +0 -42
- data/spec/models/vmm_v40_content_get_image_file_api_response_data_spec.rb +0 -32
- data/spec/models/vmm_v40_content_get_image_file_api_response_spec.rb +0 -42
- data/spec/models/vmm_v40_content_get_template_api_response_data_spec.rb +0 -32
- data/spec/models/vmm_v40_content_get_template_api_response_spec.rb +0 -42
- data/spec/models/vmm_v40_content_get_template_version_api_response_data_spec.rb +0 -32
- data/spec/models/vmm_v40_content_get_template_version_api_response_spec.rb +0 -42
- data/spec/models/vmm_v40_content_guest_update_status_spec.rb +0 -36
- data/spec/models/vmm_v40_content_image_import_config_spec.rb +0 -42
- data/spec/models/vmm_v40_content_image_placement_status_spec.rb +0 -66
- data/spec/models/vmm_v40_content_image_sha1_checksum_spec.rb +0 -36
- data/spec/models/vmm_v40_content_image_sha256_checksum_spec.rb +0 -36
- data/spec/models/vmm_v40_content_image_spec.rb +0 -120
- data/spec/models/vmm_v40_content_image_type_spec.rb +0 -30
- data/spec/models/vmm_v40_content_import_image_api_response_spec.rb +0 -42
- data/spec/models/vmm_v40_content_initiate_guest_update_api_response_spec.rb +0 -42
- data/spec/models/vmm_v40_content_initiate_guest_update_spec_spec.rb +0 -36
- data/spec/models/vmm_v40_content_list_images_api_response_data_spec.rb +0 -32
- data/spec/models/vmm_v40_content_list_images_api_response_spec.rb +0 -42
- data/spec/models/vmm_v40_content_list_template_versions_api_response_data_spec.rb +0 -32
- data/spec/models/vmm_v40_content_list_template_versions_api_response_spec.rb +0 -42
- data/spec/models/vmm_v40_content_list_templates_api_response_data_spec.rb +0 -32
- data/spec/models/vmm_v40_content_list_templates_api_response_spec.rb +0 -42
- data/spec/models/vmm_v40_content_objects_lite_source_spec.rb +0 -36
- data/spec/models/vmm_v40_content_publish_template_api_response_spec.rb +0 -42
- data/spec/models/vmm_v40_content_template_deployment_spec.rb +0 -54
- data/spec/models/vmm_v40_content_template_publish_spec_spec.rb +0 -36
- data/spec/models/vmm_v40_content_template_spec.rb +0 -96
- data/spec/models/vmm_v40_content_template_user_spec.rb +0 -180
- data/spec/models/vmm_v40_content_template_version_reference_spec.rb +0 -42
- data/spec/models/vmm_v40_content_template_version_spec_spec.rb +0 -102
- data/spec/models/vmm_v40_content_template_vm_reference_spec.rb +0 -42
- data/spec/models/vmm_v40_content_update_image_api_response_spec.rb +0 -42
- data/spec/models/vmm_v40_content_update_template_api_response_spec.rb +0 -42
- data/spec/models/vmm_v40_content_url_basic_auth_spec.rb +0 -42
- data/spec/models/vmm_v40_content_url_source_spec.rb +0 -48
- data/spec/models/vmm_v40_content_vm_config_override_spec.rb +0 -72
- data/spec/models/vmm_v40_content_vm_disk_source_spec.rb +0 -36
- data/spec/models/vmm_v40_error_app_message_spec.rb +0 -66
- data/spec/models/vmm_v40_error_error_response_error_spec.rb +0 -32
- data/spec/models/vmm_v40_error_error_response_spec.rb +0 -36
- data/spec/models/vmm_v40_error_message_severity_spec.rb +0 -30
- data/spec/models/vmm_v40_error_schema_validation_error_message_spec.rb +0 -48
- data/spec/models/vmm_v40_error_schema_validation_error_spec.rb +0 -60
- data/spec/models/vmm_v40_esxi_config_adapter_type_spec.rb +0 -30
- data/spec/models/vmm_v40_esxi_config_assign_vm_owner_api_response_spec.rb +0 -42
- data/spec/models/vmm_v40_esxi_config_associate_categories_api_response_spec.rb +0 -42
- data/spec/models/vmm_v40_esxi_config_associate_vm_categories_params_spec.rb +0 -36
- data/spec/models/vmm_v40_esxi_config_category_reference_spec.rb +0 -36
- data/spec/models/vmm_v40_esxi_config_cd_rom_address_spec.rb +0 -42
- data/spec/models/vmm_v40_esxi_config_cd_rom_backing_info_spec.rb +0 -42
- data/spec/models/vmm_v40_esxi_config_cd_rom_bus_type_spec.rb +0 -30
- data/spec/models/vmm_v40_esxi_config_cd_rom_spec.rb +0 -60
- data/spec/models/vmm_v40_esxi_config_cluster_reference_spec.rb +0 -36
- data/spec/models/vmm_v40_esxi_config_disassociate_categories_api_response_spec.rb +0 -42
- data/spec/models/vmm_v40_esxi_config_disassociate_vm_categories_params_spec.rb +0 -36
- data/spec/models/vmm_v40_esxi_config_disk_address_spec.rb +0 -42
- data/spec/models/vmm_v40_esxi_config_disk_bus_type_spec.rb +0 -30
- data/spec/models/vmm_v40_esxi_config_disk_spec.rb +0 -60
- data/spec/models/vmm_v40_esxi_config_get_nutanix_guest_tools_api_response_data_spec.rb +0 -32
- data/spec/models/vmm_v40_esxi_config_get_nutanix_guest_tools_api_response_spec.rb +0 -42
- data/spec/models/vmm_v40_esxi_config_get_vm_api_response_data_spec.rb +0 -32
- data/spec/models/vmm_v40_esxi_config_get_vm_api_response_spec.rb +0 -42
- data/spec/models/vmm_v40_esxi_config_host_reference_spec.rb +0 -36
- data/spec/models/vmm_v40_esxi_config_insert_nutanix_guest_tools_api_response_spec.rb +0 -42
- data/spec/models/vmm_v40_esxi_config_install_nutanix_guest_tools_api_response_spec.rb +0 -42
- data/spec/models/vmm_v40_esxi_config_ip_address_info_spec.rb +0 -42
- data/spec/models/vmm_v40_esxi_config_list_vms_api_response_data_spec.rb +0 -32
- data/spec/models/vmm_v40_esxi_config_list_vms_api_response_spec.rb +0 -42
- data/spec/models/vmm_v40_esxi_config_nic_backing_info_spec.rb +0 -48
- data/spec/models/vmm_v40_esxi_config_nic_network_info_spec.rb +0 -42
- data/spec/models/vmm_v40_esxi_config_nic_spec.rb +0 -60
- data/spec/models/vmm_v40_esxi_config_nutanix_credential_spec.rb +0 -42
- data/spec/models/vmm_v40_esxi_config_nutanix_guest_tools_capability_spec.rb +0 -30
- data/spec/models/vmm_v40_esxi_config_nutanix_guest_tools_insert_config_spec.rb +0 -36
- data/spec/models/vmm_v40_esxi_config_nutanix_guest_tools_install_config_spec.rb +0 -48
- data/spec/models/vmm_v40_esxi_config_nutanix_guest_tools_spec.rb +0 -90
- data/spec/models/vmm_v40_esxi_config_nutanix_guest_tools_upgrade_config_spec.rb +0 -36
- data/spec/models/vmm_v40_esxi_config_nutanix_reboot_preference_schedule_spec.rb +0 -36
- data/spec/models/vmm_v40_esxi_config_nutanix_reboot_preference_spec.rb +0 -42
- data/spec/models/vmm_v40_esxi_config_nutanix_schedule_type_spec.rb +0 -30
- data/spec/models/vmm_v40_esxi_config_owner_reference_entity_type_spec.rb +0 -30
- data/spec/models/vmm_v40_esxi_config_owner_reference_spec.rb +0 -42
- data/spec/models/vmm_v40_esxi_config_ownership_info_spec.rb +0 -36
- data/spec/models/vmm_v40_esxi_config_port_group_info_spec.rb +0 -36
- data/spec/models/vmm_v40_esxi_config_power_off_vm_api_response_spec.rb +0 -42
- data/spec/models/vmm_v40_esxi_config_power_on_vm_api_response_spec.rb +0 -42
- data/spec/models/vmm_v40_esxi_config_power_state_spec.rb +0 -30
- data/spec/models/vmm_v40_esxi_config_reboot_guest_os_api_response_spec.rb +0 -42
- data/spec/models/vmm_v40_esxi_config_reset_vm_api_response_spec.rb +0 -42
- data/spec/models/vmm_v40_esxi_config_revert_params_spec.rb +0 -36
- data/spec/models/vmm_v40_esxi_config_revert_vm_api_response_spec.rb +0 -42
- data/spec/models/vmm_v40_esxi_config_shutdown_vm_api_response_spec.rb +0 -42
- data/spec/models/vmm_v40_esxi_config_suspend_vm_api_response_spec.rb +0 -42
- data/spec/models/vmm_v40_esxi_config_uninstall_nutanix_guest_tools_api_response_spec.rb +0 -42
- data/spec/models/vmm_v40_esxi_config_update_nutanix_guest_tools_api_response_spec.rb +0 -42
- data/spec/models/vmm_v40_esxi_config_upgrade_nutanix_guest_tools_api_response_spec.rb +0 -42
- data/spec/models/vmm_v40_esxi_config_vm_disk_container_reference_spec.rb +0 -36
- data/spec/models/vmm_v40_esxi_config_vm_disk_spec.rb +0 -48
- data/spec/models/vmm_v40_esxi_config_vm_disk_storage_config_spec.rb +0 -36
- data/spec/models/vmm_v40_esxi_config_vm_spec.rb +0 -144
- data/spec/models/vmm_v40_esxi_stats_get_disk_stats_api_response_data_spec.rb +0 -32
- data/spec/models/vmm_v40_esxi_stats_get_disk_stats_api_response_spec.rb +0 -42
- data/spec/models/vmm_v40_esxi_stats_get_nic_stats_api_response_data_spec.rb +0 -32
- data/spec/models/vmm_v40_esxi_stats_get_nic_stats_api_response_spec.rb +0 -42
- data/spec/models/vmm_v40_esxi_stats_get_vm_stats_api_response_data_spec.rb +0 -32
- data/spec/models/vmm_v40_esxi_stats_get_vm_stats_api_response_spec.rb +0 -42
- data/spec/models/vmm_v40_esxi_stats_list_vm_stats_api_response_data_spec.rb +0 -32
- data/spec/models/vmm_v40_esxi_stats_list_vm_stats_api_response_spec.rb +0 -42
- data/spec/models/vmm_v40_esxi_stats_vm_disk_stats_spec.rb +0 -60
- data/spec/models/vmm_v40_esxi_stats_vm_disk_stats_tuple_spec.rb +0 -186
- data/spec/models/vmm_v40_esxi_stats_vm_nic_stats_spec.rb +0 -60
- data/spec/models/vmm_v40_esxi_stats_vm_nic_stats_tuple_spec.rb +0 -48
- data/spec/models/vmm_v40_esxi_stats_vm_stats_spec.rb +0 -54
- data/spec/models/vmm_v40_esxi_stats_vm_stats_tuple_spec.rb +0 -354
- data/spec/models/vmm_v40_images_config_create_placement_policy_api_response_spec.rb +0 -42
- data/spec/models/vmm_v40_images_config_create_rate_limit_policy_api_response_spec.rb +0 -42
- data/spec/models/vmm_v40_images_config_delete_placement_policy_api_response_spec.rb +0 -42
- data/spec/models/vmm_v40_images_config_delete_rate_limit_policy_api_response_spec.rb +0 -42
- data/spec/models/vmm_v40_images_config_effective_rate_limit_policy_spec.rb +0 -60
- data/spec/models/vmm_v40_images_config_enforcement_state_spec.rb +0 -30
- data/spec/models/vmm_v40_images_config_filter_match_type_spec.rb +0 -30
- data/spec/models/vmm_v40_images_config_filter_spec.rb +0 -42
- data/spec/models/vmm_v40_images_config_get_placement_policy_api_response_data_spec.rb +0 -32
- data/spec/models/vmm_v40_images_config_get_placement_policy_api_response_spec.rb +0 -42
- data/spec/models/vmm_v40_images_config_get_rate_limit_policy_api_response_data_spec.rb +0 -32
- data/spec/models/vmm_v40_images_config_get_rate_limit_policy_api_response_spec.rb +0 -42
- data/spec/models/vmm_v40_images_config_list_effective_rate_limit_policies_api_response_data_spec.rb +0 -32
- data/spec/models/vmm_v40_images_config_list_effective_rate_limit_policies_api_response_spec.rb +0 -42
- data/spec/models/vmm_v40_images_config_list_placement_policies_api_response_data_spec.rb +0 -32
- data/spec/models/vmm_v40_images_config_list_placement_policies_api_response_spec.rb +0 -42
- data/spec/models/vmm_v40_images_config_list_rate_limit_policies_api_response_data_spec.rb +0 -32
- data/spec/models/vmm_v40_images_config_list_rate_limit_policies_api_response_spec.rb +0 -42
- data/spec/models/vmm_v40_images_config_placement_policy_spec.rb +0 -102
- data/spec/models/vmm_v40_images_config_placement_type_spec.rb +0 -30
- data/spec/models/vmm_v40_images_config_rate_limit_policy_spec.rb +0 -96
- data/spec/models/vmm_v40_images_config_resume_placement_policy_api_response_spec.rb +0 -42
- data/spec/models/vmm_v40_images_config_suspend_placement_policy_api_response_spec.rb +0 -42
- data/spec/models/vmm_v40_images_config_suspend_placement_policy_config_spec.rb +0 -36
- data/spec/models/vmm_v40_images_config_update_placement_policy_api_response_spec.rb +0 -42
- data/spec/models/vmm_v40_images_config_update_rate_limit_policy_api_response_spec.rb +0 -42
- 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
|
data/spec/api/images_api_spec.rb
DELETED
|
@@ -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
|
data/spec/api/stats_api_spec.rb
DELETED
|
@@ -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
|