nutanix_vmm 0.2.0 → 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 +14 -0
- data/lib/nutanix_vmm/models/common_v10_config_message_severity.rb +3 -3
- data/lib/nutanix_vmm/models/common_v10_stats_down_sampling_operator.rb +3 -3
- data/lib/nutanix_vmm/models/dataprotection_v40_common_recovery_point_status.rb +3 -3
- data/lib/nutanix_vmm/models/dataprotection_v40_common_recovery_point_type.rb +3 -3
- data/lib/nutanix_vmm/models/iam_v40_authn_buckets_access_key_status_type.rb +3 -3
- data/lib/nutanix_vmm/models/iam_v40_authn_creation_type.rb +3 -3
- data/lib/nutanix_vmm/models/iam_v40_authn_user_status_type.rb +3 -3
- data/lib/nutanix_vmm/models/iam_v40_authn_user_type.rb +3 -3
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_boot_device_type.rb +3 -3
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_cd_rom_bus_type.rb +3 -3
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_cloud_init_data_source_type.rb +3 -3
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_cpu_feature.rb +3 -3
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_disk_bus_type.rb +3 -3
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_emulated_nic_model.rb +3 -3
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_gpu_mode.rb +3 -3
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_gpu_vendor.rb +3 -3
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_install_type.rb +3 -3
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_iso_type.rb +3 -3
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_machine_type.rb +3 -3
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_migrate_nic_type.rb +3 -3
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_network_function_nic_type.rb +3 -3
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_ngt_capability.rb +3 -3
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_nic_type.rb +3 -3
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_power_state.rb +3 -3
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_protection_type.rb +3 -3
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_schedule_type.rb +3 -3
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_vlan_mode.rb +3 -3
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_vm_source_reference_entity_type.rb +3 -3
- data/lib/nutanix_vmm/models/vmm_v40_content_compliance_status.rb +3 -3
- data/lib/nutanix_vmm/models/vmm_v40_content_enforcement_mode.rb +3 -3
- data/lib/nutanix_vmm/models/vmm_v40_content_image_type.rb +3 -3
- data/lib/nutanix_vmm/models/vmm_v40_error_message_severity.rb +3 -3
- data/lib/nutanix_vmm/models/vmm_v40_esxi_config_adapter_type.rb +3 -3
- data/lib/nutanix_vmm/models/vmm_v40_esxi_config_cd_rom_bus_type.rb +3 -3
- data/lib/nutanix_vmm/models/vmm_v40_esxi_config_disk_bus_type.rb +3 -3
- data/lib/nutanix_vmm/models/vmm_v40_esxi_config_nutanix_guest_tools_capability.rb +3 -3
- data/lib/nutanix_vmm/models/vmm_v40_esxi_config_nutanix_schedule_type.rb +3 -3
- data/lib/nutanix_vmm/models/vmm_v40_esxi_config_owner_reference_entity_type.rb +3 -3
- data/lib/nutanix_vmm/models/vmm_v40_esxi_config_power_state.rb +3 -3
- data/lib/nutanix_vmm/models/vmm_v40_images_config_enforcement_state.rb +3 -3
- data/lib/nutanix_vmm/models/vmm_v40_images_config_filter_match_type.rb +3 -3
- data/lib/nutanix_vmm/models/vmm_v40_images_config_placement_type.rb +3 -3
- data/lib/nutanix_vmm/version.rb +1 -1
- metadata +9 -1383
- data/Gemfile +0 -9
- data/bin/console +0 -15
- data/bin/openapi-generate +0 -26
- data/nutanix_vmm.gemspec +0 -39
- data/pkg/nutanix_vmm-0.1.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
data/Gemfile
DELETED
data/bin/console
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env ruby
|
|
2
|
-
# frozen_string_literal: true
|
|
3
|
-
|
|
4
|
-
require "bundler/setup"
|
|
5
|
-
require "nutanix_vmm"
|
|
6
|
-
|
|
7
|
-
# You can add fixtures and/or initialization code here to make experimenting
|
|
8
|
-
# with your gem easier. You can also use a different console, if you like.
|
|
9
|
-
|
|
10
|
-
# (If you use this, don't forget to add pry to your Gemfile!)
|
|
11
|
-
# require "pry"
|
|
12
|
-
# Pry.start
|
|
13
|
-
|
|
14
|
-
require "irb"
|
|
15
|
-
IRB.start(__FILE__)
|
data/bin/openapi-generate
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
#!/bin/bash
|
|
2
|
-
|
|
3
|
-
if [ -z "$INPUT_SPEC_VERSION" ]; then
|
|
4
|
-
echo "ERROR: INPUT_SPEC_VERSION must be set"
|
|
5
|
-
exit 1
|
|
6
|
-
fi
|
|
7
|
-
|
|
8
|
-
if [ -z "$OPENAPI_GENERATOR_JAR" ]; then
|
|
9
|
-
# Detect the latest version of the openapi-generator-cli package
|
|
10
|
-
version=`wget https://repo1.maven.org/maven2/org/openapitools/openapi-generator-cli/maven-metadata.xml -O - 2>/dev/null | xq -x "//metadata/versioning/latest"`
|
|
11
|
-
OPENAPI_GENERATOR_JAR=openapi-generator-cli-$version.jar
|
|
12
|
-
|
|
13
|
-
# Download the openapi-generator-cli jar if we don't already have it locally
|
|
14
|
-
if [ ! -f "$OPENAPI_GENERATOR_JAR" ]; then
|
|
15
|
-
echo "Downloading '$OPENAPI_GENERATOR_JAR'..."
|
|
16
|
-
wget https://repo1.maven.org/maven2/org/openapitools/openapi-generator-cli/$version/$OPENAPI_GENERATOR_JAR
|
|
17
|
-
fi
|
|
18
|
-
fi
|
|
19
|
-
|
|
20
|
-
# Clear out any existing files in paths that are autogenerated to prevent deleted files
|
|
21
|
-
# from remaining after running the generate
|
|
22
|
-
rm -rf ./docs ./lib ./spec
|
|
23
|
-
|
|
24
|
-
# Generate the gem from the current openapi-spec
|
|
25
|
-
input_spec=https://developers.nutanix.com/api/v1/namespaces/vmm/versions/$INPUT_SPEC_VERSION/yaml
|
|
26
|
-
java -jar $OPENAPI_GENERATOR_JAR generate --input-spec $input_spec --skip-validate-spec --generator-name ruby --config .openapi-config.json
|
data/nutanix_vmm.gemspec
DELETED
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
# -*- encoding: utf-8 -*-
|
|
2
|
-
|
|
3
|
-
=begin
|
|
4
|
-
#Nutanix Virtual Machine Management APIs
|
|
5
|
-
|
|
6
|
-
#Manage the life-cycle of virtual machines hosted on Nutanix
|
|
7
|
-
|
|
8
|
-
The version of the OpenAPI document: 4.0
|
|
9
|
-
|
|
10
|
-
Generated by: https://openapi-generator.tech
|
|
11
|
-
Generator version: 7.9.0
|
|
12
|
-
|
|
13
|
-
=end
|
|
14
|
-
|
|
15
|
-
$:.push File.expand_path("../lib", __FILE__)
|
|
16
|
-
require "nutanix_vmm/version"
|
|
17
|
-
|
|
18
|
-
Gem::Specification.new do |s|
|
|
19
|
-
s.name = "nutanix_vmm"
|
|
20
|
-
s.version = NutanixVmm::VERSION
|
|
21
|
-
s.platform = Gem::Platform::RUBY
|
|
22
|
-
s.authors = ["ManageIQ Developers"]
|
|
23
|
-
s.email = [""]
|
|
24
|
-
s.homepage = "https://openapi-generator.tech"
|
|
25
|
-
s.summary = "Nutanix VMM API"
|
|
26
|
-
s.description = "Ruby gem for Nutanix Virtual Machine Management APIs"
|
|
27
|
-
s.license = "Apache-2.0"
|
|
28
|
-
s.required_ruby_version = ">= 2.7"
|
|
29
|
-
s.metadata = {}
|
|
30
|
-
|
|
31
|
-
s.add_runtime_dependency 'typhoeus', '~> 1.0', '>= 1.0.1'
|
|
32
|
-
|
|
33
|
-
s.add_development_dependency 'rspec', '~> 3.6', '>= 3.6.0'
|
|
34
|
-
|
|
35
|
-
s.files = `find *`.split("\n").uniq.sort.select { |f| !f.empty? }
|
|
36
|
-
s.test_files = `find spec/*`.split("\n")
|
|
37
|
-
s.executables = []
|
|
38
|
-
s.require_paths = ["lib"]
|
|
39
|
-
end
|
data/pkg/nutanix_vmm-0.1.0.gem
DELETED
|
Binary file
|
|
@@ -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::EsxiStatsApi
|
|
17
|
-
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
18
|
-
# Please update as you see appropriate
|
|
19
|
-
describe 'EsxiStatsApi' do
|
|
20
|
-
before do
|
|
21
|
-
# run before each test
|
|
22
|
-
@api_instance = NutanixVmm::EsxiStatsApi.new
|
|
23
|
-
end
|
|
24
|
-
|
|
25
|
-
after do
|
|
26
|
-
# run after each test
|
|
27
|
-
end
|
|
28
|
-
|
|
29
|
-
describe 'test an instance of EsxiStatsApi' do
|
|
30
|
-
it 'should create an instance of EsxiStatsApi' do
|
|
31
|
-
expect(@api_instance).to be_instance_of(NutanixVmm::EsxiStatsApi)
|
|
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 [GetDiskStatsById200Response]
|
|
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 [GetNicStatsById200Response]
|
|
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 [GetVmStatsById200Response]
|
|
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/controllerRandomIoPpm - stats/controllerReadIoBandwidthKbps - stats/controllerReadIoPpm - stats/controllerSeqIoPpm - stats/controllerStorageTierSsdUsageBytes - stats/controllerTimespanMicros - stats/controllerTotalIoSizeKb - stats/controllerTotalIoTimeMicros - stats/controllerTotalReadIoSizeKb - stats/controllerTotalReadIoTimeMicros - stats/controllerTotalTransformedUsageBytes - stats/controllerUserBytes - stats/controllerWriteIoBandwidthKbps - stats/controllerWriteIoPpm - stats/hypervisorAvgIoLatencyMicros - stats/hypervisorCpuReadyTimePpm - stats/hypervisorCpuUsagePpm - stats/hypervisorIoBandwidthKbps - stats/hypervisorMemoryUsagePpm - stats/hypervisorNumIo - stats/hypervisorNumIops - stats/hypervisorNumReadIo - stats/hypervisorNumReadIops - stats/hypervisorNumReceivedBytes - stats/hypervisorNumTransmittedBytes - stats/hypervisorNumWriteIo - stats/hypervisorNumWriteIops - stats/hypervisorReadIoBandwidthKbps - stats/hypervisorSwapInRateKbps - stats/hypervisorSwapOutRateKbps - stats/hypervisorTimespanMicros - stats/hypervisorTotalIoSizeKb - stats/hypervisorTotalIoTimeMicros - stats/hypervisorTotalReadIoSizeKb - stats/hypervisorType - stats/hypervisorWriteIoBandwidthKbps - stats/memoryUsagePpm
|
|
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/controllerRandomIoPpm - stats/controllerReadIoBandwidthKbps - stats/controllerReadIoPpm - stats/controllerSeqIoPpm - stats/controllerStorageTierSsdUsageBytes - stats/controllerTimespanMicros - stats/controllerTotalIoSizeKb - stats/controllerTotalIoTimeMicros - stats/controllerTotalReadIoSizeKb - stats/controllerTotalReadIoTimeMicros - stats/controllerTotalTransformedUsageBytes - stats/controllerUserBytes - stats/controllerWriteIoBandwidthKbps - stats/controllerWriteIoPpm - stats/hypervisorAvgIoLatencyMicros - stats/hypervisorCpuReadyTimePpm - stats/hypervisorCpuUsagePpm - stats/hypervisorIoBandwidthKbps - stats/hypervisorMemoryUsagePpm - stats/hypervisorNumIo - stats/hypervisorNumIops - stats/hypervisorNumReadIo - stats/hypervisorNumReadIops - stats/hypervisorNumReceivedBytes - stats/hypervisorNumTransmittedBytes - stats/hypervisorNumWriteIo - stats/hypervisorNumWriteIops - stats/hypervisorReadIoBandwidthKbps - stats/hypervisorSwapInRateKbps - stats/hypervisorSwapOutRateKbps - stats/hypervisorTimespanMicros - stats/hypervisorTotalIoSizeKb - stats/hypervisorTotalIoTimeMicros - stats/hypervisorTotalReadIoSizeKb - stats/hypervisorWriteIoBandwidthKbps - stats/memoryUsagePpm
|
|
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 [ListVmStats200Response]
|
|
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
|
|
@@ -1,290 +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::EsxiVmApi
|
|
17
|
-
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
18
|
-
# Please update as you see appropriate
|
|
19
|
-
describe 'EsxiVmApi' do
|
|
20
|
-
before do
|
|
21
|
-
# run before each test
|
|
22
|
-
@api_instance = NutanixVmm::EsxiVmApi.new
|
|
23
|
-
end
|
|
24
|
-
|
|
25
|
-
after do
|
|
26
|
-
# run after each test
|
|
27
|
-
end
|
|
28
|
-
|
|
29
|
-
describe 'test an instance of EsxiVmApi' do
|
|
30
|
-
it 'should create an instance of EsxiVmApi' do
|
|
31
|
-
expect(@api_instance).to be_instance_of(NutanixVmm::EsxiVmApi)
|
|
32
|
-
end
|
|
33
|
-
end
|
|
34
|
-
|
|
35
|
-
# unit tests for assign_vm_owner
|
|
36
|
-
# Assign owner of a VM
|
|
37
|
-
# Assign the owner of a virtual machine.
|
|
38
|
-
# @param ext_id The globally unique identifier of an instance of type UUID.
|
|
39
|
-
# @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.
|
|
40
|
-
# @param vmm_v40_esxi_config_ownership_info
|
|
41
|
-
# @param [Hash] opts the optional parameters
|
|
42
|
-
# @return [AssignVmOwner202Response]
|
|
43
|
-
describe 'assign_vm_owner test' do
|
|
44
|
-
it 'should work' do
|
|
45
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
46
|
-
end
|
|
47
|
-
end
|
|
48
|
-
|
|
49
|
-
# unit tests for associate_categories
|
|
50
|
-
# Associate categories to a VM
|
|
51
|
-
# Associate categories to a virtual machine.
|
|
52
|
-
# @param ext_id The globally unique identifier of an instance of type UUID.
|
|
53
|
-
# @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.
|
|
54
|
-
# @param vmm_v40_esxi_config_associate_vm_categories_params
|
|
55
|
-
# @param [Hash] opts the optional parameters
|
|
56
|
-
# @return [AssociateCategories202Response]
|
|
57
|
-
describe 'associate_categories test' do
|
|
58
|
-
it 'should work' do
|
|
59
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
60
|
-
end
|
|
61
|
-
end
|
|
62
|
-
|
|
63
|
-
# unit tests for disassociate_categories
|
|
64
|
-
# Disassociate categories from a VM
|
|
65
|
-
# Disassociate categories from a virtual machine.
|
|
66
|
-
# @param ext_id The globally unique identifier of an instance of type UUID.
|
|
67
|
-
# @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.
|
|
68
|
-
# @param vmm_v40_esxi_config_disassociate_vm_categories_params
|
|
69
|
-
# @param [Hash] opts the optional parameters
|
|
70
|
-
# @return [DisassociateCategories202Response]
|
|
71
|
-
describe 'disassociate_categories test' do
|
|
72
|
-
it 'should work' do
|
|
73
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
74
|
-
end
|
|
75
|
-
end
|
|
76
|
-
|
|
77
|
-
# unit tests for get_nutanix_guest_tools_by_id
|
|
78
|
-
# Get VM NGT configuration
|
|
79
|
-
# Retrieves the Nutanix Guest Tools configuration for a virtual machine.
|
|
80
|
-
# @param ext_id A globally unique identifier of a VM of type UUID.
|
|
81
|
-
# @param [Hash] opts the optional parameters
|
|
82
|
-
# @return [GetNutanixGuestToolsById200Response]
|
|
83
|
-
describe 'get_nutanix_guest_tools_by_id test' do
|
|
84
|
-
it 'should work' do
|
|
85
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
86
|
-
end
|
|
87
|
-
end
|
|
88
|
-
|
|
89
|
-
# unit tests for get_vm_by_id
|
|
90
|
-
# Get VM configuration details
|
|
91
|
-
# Retrieves configuration details for a virtual machine.
|
|
92
|
-
# @param ext_id The globally unique identifier of an instance of type UUID.
|
|
93
|
-
# @param [Hash] opts the optional parameters
|
|
94
|
-
# @return [GetVmById200Response]
|
|
95
|
-
describe 'get_vm_by_id test' do
|
|
96
|
-
it 'should work' do
|
|
97
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
98
|
-
end
|
|
99
|
-
end
|
|
100
|
-
|
|
101
|
-
# unit tests for insert_nutanix_guest_tools
|
|
102
|
-
# Insert NGT ISO into an available CD-ROM for a VM
|
|
103
|
-
# Inserts the Nutanix Guest Tools installation and configuration ISO into a virtual machine.
|
|
104
|
-
# @param ext_id A globally unique identifier of a VM of type UUID.
|
|
105
|
-
# @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
|
|
106
|
-
# @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.
|
|
107
|
-
# @param vmm_v40_esxi_config_nutanix_guest_tools_insert_config
|
|
108
|
-
# @param [Hash] opts the optional parameters
|
|
109
|
-
# @return [InsertNutanixGuestTools202Response]
|
|
110
|
-
describe 'insert_nutanix_guest_tools test' do
|
|
111
|
-
it 'should work' do
|
|
112
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
113
|
-
end
|
|
114
|
-
end
|
|
115
|
-
|
|
116
|
-
# unit tests for install_nutanix_guest_tools
|
|
117
|
-
# Install NGT in a VM
|
|
118
|
-
# Installs Nutanix Guest Tools in a Virtual Machine by using the provided credentials.
|
|
119
|
-
# @param ext_id A globally unique identifier of a VM of type UUID.
|
|
120
|
-
# @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
|
|
121
|
-
# @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.
|
|
122
|
-
# @param vmm_v40_esxi_config_nutanix_guest_tools_install_config
|
|
123
|
-
# @param [Hash] opts the optional parameters
|
|
124
|
-
# @return [InstallNutanixGuestTools202Response]
|
|
125
|
-
describe 'install_nutanix_guest_tools test' do
|
|
126
|
-
it 'should work' do
|
|
127
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
128
|
-
end
|
|
129
|
-
end
|
|
130
|
-
|
|
131
|
-
# unit tests for list_vms
|
|
132
|
-
# List VMs
|
|
133
|
-
# Lists the Virtual Machines defined on the system. List of Virtual Machines can be further filtered out using various filtering options.
|
|
134
|
-
# @param [Hash] opts the optional parameters
|
|
135
|
-
# @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.
|
|
136
|
-
# @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.
|
|
137
|
-
# @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: - cluster/extId - guestOsName - host/extId - memorySizeBytes - name - numCoresPerSocket - numCpus - powerState - virtualHardwareVersion
|
|
138
|
-
# @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: - guestOsName - memorySizeBytes - name - numCoresPerSocket - numCpus - virtualHardwareVersion
|
|
139
|
-
# @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. - categories - cdRoms - cluster/extId - description - disks - extId - guestOsName - host/extId - links - memorySizeBytes - name - nics - numCoresPerSocket - numCpus - nutanixGuestTools/availableVersion - nutanixGuestTools/capabilities - nutanixGuestTools/guestOsVersion - nutanixGuestTools/isEnabled - nutanixGuestTools/isInstalled - nutanixGuestTools/isIsoInserted - nutanixGuestTools/isReachable - nutanixGuestTools/isVmMobilityDriversInstalled - nutanixGuestTools/isVssSnapshotCapable - nutanixGuestTools/version - ownershipInfo/owner - powerState - tenantId - virtualHardwareVersion
|
|
140
|
-
# @return [ListVms200Response]
|
|
141
|
-
describe 'list_vms test' do
|
|
142
|
-
it 'should work' do
|
|
143
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
144
|
-
end
|
|
145
|
-
end
|
|
146
|
-
|
|
147
|
-
# unit tests for power_off_vm
|
|
148
|
-
# Force power off a VM
|
|
149
|
-
# Forceably shuts down a virtual machine which is equivalent to removing the power cable. Note: The forced shutdown may result in data loss if any operations are in progress during the shutdown.
|
|
150
|
-
# @param ext_id A globally unique identifier of a VM of type UUID.
|
|
151
|
-
# @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
|
|
152
|
-
# @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.
|
|
153
|
-
# @param [Hash] opts the optional parameters
|
|
154
|
-
# @return [PowerOffVm202Response]
|
|
155
|
-
describe 'power_off_vm test' do
|
|
156
|
-
it 'should work' do
|
|
157
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
158
|
-
end
|
|
159
|
-
end
|
|
160
|
-
|
|
161
|
-
# unit tests for power_on_vm
|
|
162
|
-
# Power on or resume a VM
|
|
163
|
-
# Powers a Virtual Machine on or resumes it from the suspended state.
|
|
164
|
-
# @param ext_id A globally unique identifier of a VM of type UUID.
|
|
165
|
-
# @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
|
|
166
|
-
# @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.
|
|
167
|
-
# @param [Hash] opts the optional parameters
|
|
168
|
-
# @return [PowerOnVm202Response]
|
|
169
|
-
describe 'power_on_vm test' do
|
|
170
|
-
it 'should work' do
|
|
171
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
172
|
-
end
|
|
173
|
-
end
|
|
174
|
-
|
|
175
|
-
# unit tests for reboot_guest_vm
|
|
176
|
-
# Issue an ESXi guest OS reboot command
|
|
177
|
-
# Issues a command to reboot ESXi guest OS. This operation requires ESXi tools installed.
|
|
178
|
-
# @param ext_id A globally unique identifier of a VM of type UUID.
|
|
179
|
-
# @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
|
|
180
|
-
# @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.
|
|
181
|
-
# @param [Hash] opts the optional parameters
|
|
182
|
-
# @return [RebootGuestVm202Response]
|
|
183
|
-
describe 'reboot_guest_vm test' do
|
|
184
|
-
it 'should work' do
|
|
185
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
186
|
-
end
|
|
187
|
-
end
|
|
188
|
-
|
|
189
|
-
# unit tests for reset_vm
|
|
190
|
-
# Reset an ESXi VM by sequentially powering it off and on
|
|
191
|
-
# Sequentially performs the power off and power on operations; any operation between these actions will fail.
|
|
192
|
-
# @param ext_id A globally unique identifier of a VM of type UUID.
|
|
193
|
-
# @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
|
|
194
|
-
# @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.
|
|
195
|
-
# @param [Hash] opts the optional parameters
|
|
196
|
-
# @return [ResetVm202Response]
|
|
197
|
-
describe 'reset_vm test' do
|
|
198
|
-
it 'should work' do
|
|
199
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
200
|
-
end
|
|
201
|
-
end
|
|
202
|
-
|
|
203
|
-
# unit tests for revert_vm
|
|
204
|
-
# Revert the ESXi VM.
|
|
205
|
-
# Revert VM identified by {extId}. This does an in-place VM restore from a specified VM Recovery Point.
|
|
206
|
-
# @param ext_id A globally unique identifier of a VM of type UUID.
|
|
207
|
-
# @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
|
|
208
|
-
# @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.
|
|
209
|
-
# @param vmm_v40_esxi_config_revert_params Input for the VM revert operation. Specify the VM Recovery Point ID to which the VM would be reverted.
|
|
210
|
-
# @param [Hash] opts the optional parameters
|
|
211
|
-
# @return [RevertVm202Response]
|
|
212
|
-
describe 'revert_vm test' do
|
|
213
|
-
it 'should work' do
|
|
214
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
215
|
-
end
|
|
216
|
-
end
|
|
217
|
-
|
|
218
|
-
# unit tests for shutdown_guest_vm
|
|
219
|
-
# Shut down services on ESXi guest OS
|
|
220
|
-
# Issues a command to the ESXi guest OS to perform a clean shut down of services running on it. This operation requires ESXi tools to be installed.
|
|
221
|
-
# @param ext_id A globally unique identifier of a VM of type UUID.
|
|
222
|
-
# @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
|
|
223
|
-
# @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.
|
|
224
|
-
# @param [Hash] opts the optional parameters
|
|
225
|
-
# @return [ShutdownGuestVm202Response]
|
|
226
|
-
describe 'shutdown_guest_vm test' do
|
|
227
|
-
it 'should work' do
|
|
228
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
229
|
-
end
|
|
230
|
-
end
|
|
231
|
-
|
|
232
|
-
# unit tests for suspend_vm
|
|
233
|
-
# Pause/Suspend virtual machine execution
|
|
234
|
-
# Pause/Suspend execution in an ESXi virtual machine.
|
|
235
|
-
# @param ext_id A globally unique identifier of a VM of type UUID.
|
|
236
|
-
# @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
|
|
237
|
-
# @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.
|
|
238
|
-
# @param [Hash] opts the optional parameters
|
|
239
|
-
# @return [SuspendVm202Response]
|
|
240
|
-
describe 'suspend_vm test' do
|
|
241
|
-
it 'should work' do
|
|
242
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
243
|
-
end
|
|
244
|
-
end
|
|
245
|
-
|
|
246
|
-
# unit tests for uninstall_nutanix_guest_tools
|
|
247
|
-
# Uninstall NGT from a VM
|
|
248
|
-
# Trigger an in-guest uninstallation of Nutanix Guest Tools.
|
|
249
|
-
# @param ext_id A globally unique identifier of a VM of type UUID.
|
|
250
|
-
# @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
|
|
251
|
-
# @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.
|
|
252
|
-
# @param [Hash] opts the optional parameters
|
|
253
|
-
# @return [UninstallNutanixGuestTools202Response]
|
|
254
|
-
describe 'uninstall_nutanix_guest_tools test' do
|
|
255
|
-
it 'should work' do
|
|
256
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
257
|
-
end
|
|
258
|
-
end
|
|
259
|
-
|
|
260
|
-
# unit tests for update_nutanix_guest_tools_by_id
|
|
261
|
-
# Update NGT configuration for a VM
|
|
262
|
-
# Updates the Nutanix Guest Tools configuration for a virtual machine.
|
|
263
|
-
# @param ext_id A globally unique identifier of a VM of type UUID.
|
|
264
|
-
# @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.
|
|
265
|
-
# @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.
|
|
266
|
-
# @param vmm_v40_esxi_config_nutanix_guest_tools
|
|
267
|
-
# @param [Hash] opts the optional parameters
|
|
268
|
-
# @return [UpdateNutanixGuestToolsById202Response]
|
|
269
|
-
describe 'update_nutanix_guest_tools_by_id test' do
|
|
270
|
-
it 'should work' do
|
|
271
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
272
|
-
end
|
|
273
|
-
end
|
|
274
|
-
|
|
275
|
-
# unit tests for upgrade_nutanix_guest_tools
|
|
276
|
-
# Upgrade NGT inside a VM
|
|
277
|
-
# Trigger an in-guest upgrade of Nutanix Guest Tools.
|
|
278
|
-
# @param ext_id A globally unique identifier of a VM of type UUID.
|
|
279
|
-
# @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
|
|
280
|
-
# @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.
|
|
281
|
-
# @param vmm_v40_esxi_config_nutanix_guest_tools_upgrade_config
|
|
282
|
-
# @param [Hash] opts the optional parameters
|
|
283
|
-
# @return [UpgradeNutanixGuestTools202Response]
|
|
284
|
-
describe 'upgrade_nutanix_guest_tools test' do
|
|
285
|
-
it 'should work' do
|
|
286
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
287
|
-
end
|
|
288
|
-
end
|
|
289
|
-
|
|
290
|
-
end
|