kubevirt 0.2.0 → 0.3.0
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 +1195 -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 +21 -1
- data/README.md +75 -31
- data/docs/DefaultApi.md +1461 -112
- data/docs/K8sIoApiCoreV1PersistentVolumeClaimSpec.md +1 -1
- data/docs/K8sIoApiCoreV1PodAntiAffinity.md +1 -1
- data/docs/K8sIoApimachineryPkgApisMetaV1Condition.md +26 -0
- data/docs/V1ChangedBlockTrackingStatus.md +2 -0
- data/docs/V1ClaimRequest.md +20 -0
- data/docs/V1Condition.md +24 -0
- data/docs/V1ConfidentialComputeConfiguration.md +18 -0
- data/docs/V1ContainerPathVolumeSource.md +20 -0
- data/docs/V1DeveloperConfiguration.md +3 -1
- data/docs/V1DomainSpec.md +2 -0
- data/docs/V1DowntimeTuningOptions.md +24 -0
- data/docs/V1ExperimentalMigrationOptions.md +22 -0
- data/docs/V1FeatureHyperv.md +1 -1
- data/docs/V1GPU.md +2 -2
- data/docs/V1HostDevice.md +2 -2
- data/docs/V1HypervisorConfiguration.md +18 -0
- data/docs/V1Interface.md +5 -1
- data/docs/V1KubeVirtConfiguration.md +11 -1
- data/docs/V1KubeVirtSpec.md +1 -1
- data/docs/V1MediatedDevicesConfiguration.md +2 -0
- data/docs/V1Memory.md +3 -1
- data/docs/V1MemoryStatus.md +3 -1
- data/docs/V1MigrationConfiguration.md +5 -1
- data/docs/V1Network.md +3 -1
- data/docs/V1PersistentReservationConfiguration.md +18 -0
- data/docs/V1PortRange.md +22 -0
- data/docs/V1ReservedOverhead.md +20 -0
- data/docs/V1StallDetectorOptions.md +32 -0
- data/docs/V1SyNICTimer.md +1 -1
- data/docs/V1TDXAttestationConfiguration.md +20 -0
- data/docs/V1TDXConfiguration.md +18 -0
- data/docs/V1TLBFlush.md +22 -0
- data/docs/V1UtilityVolume.md +24 -0
- data/docs/V1VMIMConfigurationOptions.md +48 -0
- data/docs/V1VirtTemplateDeployment.md +18 -0
- data/docs/{V1beta1VirtualMachineExport.md → V1VirtualMachineExport.md} +4 -4
- data/docs/V1VirtualMachineExportBackup.md +20 -0
- data/docs/V1VirtualMachineExportBackupEndpoint.md +20 -0
- data/docs/V1VirtualMachineExportLink.md +24 -0
- data/docs/V1VirtualMachineExportLinks.md +20 -0
- data/docs/{V1beta1VirtualMachineExportList.md → V1VirtualMachineExportList.md} +3 -3
- data/docs/{V1beta1VirtualMachineExportManifest.md → V1VirtualMachineExportManifest.md} +2 -2
- data/docs/{V1beta1VirtualMachineExportSpec.md → V1VirtualMachineExportSpec.md} +2 -2
- data/docs/{V1beta1VirtualMachineExportStatus.md → V1VirtualMachineExportStatus.md} +4 -4
- data/docs/{V1beta1VirtualMachineExportVolume.md → V1VirtualMachineExportVolume.md} +3 -3
- data/docs/{V1beta1VirtualMachineExportVolumeFormat.md → V1VirtualMachineExportVolumeFormat.md} +2 -2
- data/docs/V1VirtualMachineInstanceBackupStatus.md +34 -0
- data/docs/V1VirtualMachineInstanceBackupVolumeInfo.md +18 -0
- data/docs/V1VirtualMachineInstanceMigrationState.md +3 -1
- data/docs/V1VirtualMachineInstanceResourceClaim.md +22 -0
- data/docs/V1VirtualMachineInstanceSpec.md +5 -1
- data/docs/V1VirtualMachineInstanceStatus.md +0 -2
- data/docs/V1VirtualMachineSpec.md +1 -1
- data/docs/V1Volume.md +2 -0
- data/docs/V1alpha1BackupCheckpoint.md +22 -0
- data/docs/V1alpha1BackupOptions.md +40 -0
- data/docs/V1alpha1BackupVolumeInfo.md +22 -0
- data/docs/V1alpha1MigrationPolicySpec.md +4 -0
- data/docs/V1alpha1VirtualMachineBackup.md +26 -0
- data/docs/V1alpha1VirtualMachineBackupList.md +24 -0
- data/docs/V1alpha1VirtualMachineBackupSpec.md +30 -0
- data/docs/V1alpha1VirtualMachineBackupStatus.md +28 -0
- data/docs/V1beta1DataVolumeSourceImageIO.md +2 -0
- data/docs/V1beta1DevicePreferences.md +2 -0
- data/docs/V1beta1VirtualMachineCloneSpec.md +3 -1
- data/docs/V1beta1VirtualMachinePreferenceSpec.md +2 -0
- data/lib/kubevirt/api/default_api.rb +1628 -268
- data/lib/kubevirt/api_client.rb +7 -3
- data/lib/kubevirt/api_error.rb +1 -1
- data/lib/kubevirt/api_model_base.rb +1 -1
- data/lib/kubevirt/configuration.rb +1 -1
- data/lib/kubevirt/models/k8s_io_api_core_v1_affinity.rb +1 -1
- data/lib/kubevirt/models/k8s_io_api_core_v1_downward_api_volume_file.rb +1 -1
- data/lib/kubevirt/models/k8s_io_api_core_v1_exec_action.rb +1 -1
- data/lib/kubevirt/models/k8s_io_api_core_v1_http_get_action.rb +1 -1
- data/lib/kubevirt/models/k8s_io_api_core_v1_http_header.rb +1 -1
- data/lib/kubevirt/models/k8s_io_api_core_v1_local_object_reference.rb +1 -1
- data/lib/kubevirt/models/k8s_io_api_core_v1_node_affinity.rb +1 -1
- data/lib/kubevirt/models/k8s_io_api_core_v1_node_selector.rb +1 -1
- data/lib/kubevirt/models/k8s_io_api_core_v1_node_selector_requirement.rb +1 -1
- data/lib/kubevirt/models/k8s_io_api_core_v1_node_selector_term.rb +1 -1
- data/lib/kubevirt/models/k8s_io_api_core_v1_object_field_selector.rb +1 -1
- data/lib/kubevirt/models/k8s_io_api_core_v1_persistent_volume_claim_spec.rb +2 -2
- data/lib/kubevirt/models/k8s_io_api_core_v1_persistent_volume_claim_volume_source.rb +1 -1
- data/lib/kubevirt/models/k8s_io_api_core_v1_pod_affinity.rb +1 -1
- data/lib/kubevirt/models/k8s_io_api_core_v1_pod_affinity_term.rb +1 -1
- data/lib/kubevirt/models/k8s_io_api_core_v1_pod_anti_affinity.rb +2 -2
- data/lib/kubevirt/models/k8s_io_api_core_v1_pod_dns_config.rb +1 -1
- data/lib/kubevirt/models/k8s_io_api_core_v1_pod_dns_config_option.rb +1 -1
- data/lib/kubevirt/models/k8s_io_api_core_v1_preferred_scheduling_term.rb +1 -1
- data/lib/kubevirt/models/k8s_io_api_core_v1_resource_field_selector.rb +1 -1
- data/lib/kubevirt/models/k8s_io_api_core_v1_tcp_socket_action.rb +1 -1
- data/lib/kubevirt/models/k8s_io_api_core_v1_toleration.rb +1 -1
- data/lib/kubevirt/models/k8s_io_api_core_v1_topology_spread_constraint.rb +1 -1
- data/lib/kubevirt/models/k8s_io_api_core_v1_typed_local_object_reference.rb +1 -1
- data/lib/kubevirt/models/k8s_io_api_core_v1_typed_object_reference.rb +1 -1
- data/lib/kubevirt/models/k8s_io_api_core_v1_volume_resource_requirements.rb +1 -1
- data/lib/kubevirt/models/k8s_io_api_core_v1_weighted_pod_affinity_term.rb +1 -1
- data/lib/kubevirt/models/k8s_io_apimachinery_pkg_apis_meta_v1_api_group.rb +1 -1
- data/lib/kubevirt/models/k8s_io_apimachinery_pkg_apis_meta_v1_api_group_list.rb +1 -1
- data/lib/kubevirt/models/k8s_io_apimachinery_pkg_apis_meta_v1_api_resource.rb +1 -1
- data/lib/kubevirt/models/k8s_io_apimachinery_pkg_apis_meta_v1_api_resource_list.rb +1 -1
- data/lib/kubevirt/models/k8s_io_apimachinery_pkg_apis_meta_v1_condition.rb +257 -0
- data/lib/kubevirt/models/k8s_io_apimachinery_pkg_apis_meta_v1_delete_options.rb +1 -1
- data/lib/kubevirt/models/k8s_io_apimachinery_pkg_apis_meta_v1_group_version_for_discovery.rb +1 -1
- data/lib/kubevirt/models/k8s_io_apimachinery_pkg_apis_meta_v1_label_selector.rb +1 -1
- data/lib/kubevirt/models/k8s_io_apimachinery_pkg_apis_meta_v1_label_selector_requirement.rb +1 -1
- data/lib/kubevirt/models/k8s_io_apimachinery_pkg_apis_meta_v1_list_meta.rb +1 -1
- data/lib/kubevirt/models/k8s_io_apimachinery_pkg_apis_meta_v1_managed_fields_entry.rb +1 -1
- data/lib/kubevirt/models/k8s_io_apimachinery_pkg_apis_meta_v1_object_meta.rb +1 -1
- data/lib/kubevirt/models/k8s_io_apimachinery_pkg_apis_meta_v1_owner_reference.rb +1 -1
- data/lib/kubevirt/models/k8s_io_apimachinery_pkg_apis_meta_v1_preconditions.rb +1 -1
- data/lib/kubevirt/models/k8s_io_apimachinery_pkg_apis_meta_v1_root_paths.rb +1 -1
- data/lib/kubevirt/models/k8s_io_apimachinery_pkg_apis_meta_v1_server_address_by_client_cidr.rb +1 -1
- data/lib/kubevirt/models/k8s_io_apimachinery_pkg_apis_meta_v1_status.rb +1 -1
- data/lib/kubevirt/models/k8s_io_apimachinery_pkg_apis_meta_v1_status_cause.rb +1 -1
- data/lib/kubevirt/models/k8s_io_apimachinery_pkg_apis_meta_v1_status_details.rb +1 -1
- data/lib/kubevirt/models/k8s_io_apimachinery_pkg_apis_meta_v1_watch_event.rb +1 -1
- data/lib/kubevirt/models/v1_access_credential.rb +1 -1
- data/lib/kubevirt/models/v1_access_credential_secret_source.rb +1 -1
- data/lib/kubevirt/models/v1_acpi.rb +1 -1
- data/lib/kubevirt/models/v1_add_volume_options.rb +1 -1
- data/lib/kubevirt/models/v1_arch_configuration.rb +1 -1
- data/lib/kubevirt/models/v1_arch_specific_configuration.rb +1 -1
- data/lib/kubevirt/models/v1_bios.rb +1 -1
- data/lib/kubevirt/models/v1_block_size.rb +1 -1
- data/lib/kubevirt/models/v1_bootloader.rb +1 -1
- data/lib/kubevirt/models/v1_cd_rom_target.rb +1 -1
- data/lib/kubevirt/models/v1_cert_config.rb +1 -1
- data/lib/kubevirt/models/v1_changed_block_tracking_selectors.rb +1 -1
- data/lib/kubevirt/models/v1_changed_block_tracking_status.rb +11 -2
- data/lib/kubevirt/models/v1_chassis.rb +1 -1
- data/lib/kubevirt/models/{v1_device_status.rb → v1_claim_request.rb} +19 -24
- data/lib/kubevirt/models/v1_clock.rb +1 -1
- data/lib/kubevirt/models/v1_clock_offset.rb +1 -1
- data/lib/kubevirt/models/v1_clock_offset_utc.rb +1 -1
- data/lib/kubevirt/models/v1_cloud_init_config_drive_source.rb +1 -1
- data/lib/kubevirt/models/v1_cloud_init_no_cloud_source.rb +1 -1
- data/lib/kubevirt/models/v1_common_instancetypes_deployment.rb +1 -1
- data/lib/kubevirt/models/v1_component_config.rb +1 -1
- data/lib/kubevirt/models/v1_condition.rb +209 -0
- data/lib/kubevirt/models/v1_confidential_compute_configuration.rb +147 -0
- data/lib/kubevirt/models/v1_config_map_volume_source.rb +1 -1
- data/lib/kubevirt/models/v1_container_disk_info.rb +1 -1
- data/lib/kubevirt/models/v1_container_disk_source.rb +1 -1
- data/lib/kubevirt/models/v1_container_path_volume_source.rb +176 -0
- data/lib/kubevirt/models/v1_controller_revision_ref.rb +1 -1
- data/lib/kubevirt/models/v1_cpu.rb +1 -1
- data/lib/kubevirt/models/v1_cpu_feature.rb +1 -1
- data/lib/kubevirt/models/v1_cpu_topology.rb +1 -1
- data/lib/kubevirt/models/v1_custom_block_size.rb +1 -1
- data/lib/kubevirt/models/v1_custom_profile.rb +1 -1
- data/lib/kubevirt/models/v1_customize_components.rb +1 -1
- data/lib/kubevirt/models/v1_customize_components_patch.rb +1 -1
- data/lib/kubevirt/models/v1_data_volume_source.rb +1 -1
- data/lib/kubevirt/models/v1_data_volume_template_spec.rb +1 -1
- data/lib/kubevirt/models/v1_developer_configuration.rb +15 -3
- data/lib/kubevirt/models/v1_devices.rb +1 -1
- data/lib/kubevirt/models/v1_dhcp_options.rb +1 -1
- data/lib/kubevirt/models/v1_dhcp_private_options.rb +1 -1
- data/lib/kubevirt/models/v1_diag288_watchdog.rb +1 -1
- data/lib/kubevirt/models/v1_disk.rb +1 -1
- data/lib/kubevirt/models/v1_disk_io_threads.rb +1 -1
- data/lib/kubevirt/models/v1_disk_target.rb +1 -1
- data/lib/kubevirt/models/v1_disk_verification.rb +1 -1
- data/lib/kubevirt/models/v1_domain_memory_dump_info.rb +1 -1
- data/lib/kubevirt/models/v1_domain_spec.rb +12 -2
- data/lib/kubevirt/models/v1_downtime_tuning_options.rb +179 -0
- data/lib/kubevirt/models/v1_downward_api_volume_source.rb +1 -1
- data/lib/kubevirt/models/v1_efi.rb +1 -1
- data/lib/kubevirt/models/v1_empty_disk_source.rb +1 -1
- data/lib/kubevirt/models/v1_ephemeral_volume_source.rb +1 -1
- data/lib/kubevirt/models/v1_evacuate_cancel_options.rb +1 -1
- data/lib/kubevirt/models/v1_experimental_migration_options.rb +167 -0
- data/lib/kubevirt/models/v1_feature_apic.rb +1 -1
- data/lib/kubevirt/models/v1_feature_hyperv.rb +2 -2
- data/lib/kubevirt/models/v1_feature_kvm.rb +1 -1
- data/lib/kubevirt/models/v1_feature_spinlocks.rb +1 -1
- data/lib/kubevirt/models/v1_feature_state.rb +1 -1
- data/lib/kubevirt/models/v1_feature_vendor_id.rb +1 -1
- data/lib/kubevirt/models/v1_features.rb +1 -1
- data/lib/kubevirt/models/v1_filesystem.rb +1 -1
- data/lib/kubevirt/models/v1_firmware.rb +1 -1
- data/lib/kubevirt/models/v1_flags.rb +1 -1
- data/lib/kubevirt/models/v1_freeze_unfreeze_timeout.rb +1 -1
- data/lib/kubevirt/models/v1_generation_status.rb +1 -1
- data/lib/kubevirt/models/v1_gpu.rb +3 -3
- data/lib/kubevirt/models/v1_guest_agent_command_info.rb +1 -1
- data/lib/kubevirt/models/v1_host_device.rb +3 -3
- data/lib/kubevirt/models/v1_host_disk.rb +1 -1
- data/lib/kubevirt/models/v1_hotplug_volume_source.rb +1 -1
- data/lib/kubevirt/models/v1_hotplug_volume_status.rb +1 -1
- data/lib/kubevirt/models/v1_hpet_timer.rb +1 -1
- data/lib/kubevirt/models/v1_hugepages.rb +1 -1
- data/lib/kubevirt/models/v1_hyper_v_passthrough.rb +1 -1
- data/lib/kubevirt/models/v1_hyperv_timer.rb +1 -1
- data/lib/kubevirt/models/v1_hypervisor_configuration.rb +149 -0
- data/lib/kubevirt/models/v1_i6300_esb_watchdog.rb +1 -1
- data/lib/kubevirt/models/v1_initrd_info.rb +1 -1
- data/lib/kubevirt/models/v1_input.rb +1 -1
- data/lib/kubevirt/models/v1_instancetype_configuration.rb +1 -1
- data/lib/kubevirt/models/v1_instancetype_matcher.rb +1 -1
- data/lib/kubevirt/models/v1_instancetype_status_ref.rb +1 -1
- data/lib/kubevirt/models/v1_interface.rb +25 -3
- data/lib/kubevirt/models/v1_interface_binding_migration.rb +1 -1
- data/lib/kubevirt/models/v1_interface_binding_plugin.rb +1 -1
- data/lib/kubevirt/models/v1_kernel_boot.rb +1 -1
- data/lib/kubevirt/models/v1_kernel_boot_container.rb +1 -1
- data/lib/kubevirt/models/v1_kernel_boot_status.rb +1 -1
- data/lib/kubevirt/models/v1_kernel_info.rb +1 -1
- data/lib/kubevirt/models/v1_ksm_configuration.rb +1 -1
- data/lib/kubevirt/models/v1_kube_virt.rb +1 -1
- data/lib/kubevirt/models/v1_kube_virt_certificate_rotate_strategy.rb +1 -1
- data/lib/kubevirt/models/v1_kube_virt_condition.rb +1 -1
- data/lib/kubevirt/models/v1_kube_virt_configuration.rb +52 -3
- data/lib/kubevirt/models/v1_kube_virt_list.rb +1 -1
- data/lib/kubevirt/models/v1_kube_virt_self_sign_configuration.rb +1 -1
- data/lib/kubevirt/models/v1_kube_virt_spec.rb +2 -2
- data/lib/kubevirt/models/v1_kube_virt_status.rb +1 -1
- data/lib/kubevirt/models/v1_kube_virt_workload_update_strategy.rb +1 -1
- data/lib/kubevirt/models/v1_kvm_timer.rb +1 -1
- data/lib/kubevirt/models/v1_launch_security.rb +1 -1
- data/lib/kubevirt/models/v1_live_update_configuration.rb +1 -1
- data/lib/kubevirt/models/v1_log_verbosity.rb +1 -1
- data/lib/kubevirt/models/v1_lun_target.rb +1 -1
- data/lib/kubevirt/models/v1_machine.rb +1 -1
- data/lib/kubevirt/models/v1_mediated_devices_configuration.rb +12 -2
- data/lib/kubevirt/models/v1_mediated_host_device.rb +1 -1
- data/lib/kubevirt/models/v1_memory.rb +14 -5
- data/lib/kubevirt/models/v1_memory_dump_volume_source.rb +1 -1
- data/lib/kubevirt/models/v1_memory_status.rb +15 -5
- data/lib/kubevirt/models/v1_migrate_options.rb +1 -1
- data/lib/kubevirt/models/v1_migration_configuration.rb +25 -5
- data/lib/kubevirt/models/v1_multus_network.rb +1 -1
- data/lib/kubevirt/models/v1_network.rb +14 -5
- data/lib/kubevirt/models/v1_network_configuration.rb +1 -1
- data/lib/kubevirt/models/v1_node_mediated_device_types_config.rb +1 -1
- data/lib/kubevirt/models/v1_node_placement.rb +1 -1
- data/lib/kubevirt/models/v1_numa.rb +1 -1
- data/lib/kubevirt/models/v1_object_graph_node.rb +1 -1
- data/lib/kubevirt/models/v1_object_graph_options.rb +1 -1
- data/lib/kubevirt/models/v1_panic_device.rb +1 -1
- data/lib/kubevirt/models/v1_pause_options.rb +1 -1
- data/lib/kubevirt/models/v1_pci_host_device.rb +1 -1
- data/lib/kubevirt/models/v1_permitted_host_devices.rb +1 -1
- data/lib/kubevirt/models/v1_persistent_reservation_configuration.rb +148 -0
- data/lib/kubevirt/models/v1_persistent_volume_claim_info.rb +1 -1
- data/lib/kubevirt/models/v1_persistent_volume_claim_volume_source.rb +1 -1
- data/lib/kubevirt/models/v1_pit_timer.rb +1 -1
- data/lib/kubevirt/models/v1_plugin_binding.rb +1 -1
- data/lib/kubevirt/models/v1_pod_network.rb +1 -1
- data/lib/kubevirt/models/v1_port.rb +1 -1
- data/lib/kubevirt/models/v1_port_range.rb +220 -0
- data/lib/kubevirt/models/v1_preference_matcher.rb +1 -1
- data/lib/kubevirt/models/v1_probe.rb +1 -1
- data/lib/kubevirt/models/v1_qemu_guest_agent_ssh_public_key_access_credential_propagation.rb +1 -1
- data/lib/kubevirt/models/v1_rate_limiter.rb +1 -1
- data/lib/kubevirt/models/v1_realtime.rb +1 -1
- data/lib/kubevirt/models/v1_reloadable_component_configuration.rb +1 -1
- data/lib/kubevirt/models/v1_remove_volume_options.rb +1 -1
- data/lib/kubevirt/models/v1_reserved_overhead.rb +158 -0
- data/lib/kubevirt/models/v1_resource_requirements.rb +1 -1
- data/lib/kubevirt/models/v1_resource_requirements_without_claims.rb +1 -1
- data/lib/kubevirt/models/v1_rest_client_configuration.rb +1 -1
- data/lib/kubevirt/models/v1_restart_options.rb +1 -1
- data/lib/kubevirt/models/v1_rtc_timer.rb +1 -1
- data/lib/kubevirt/models/v1_seccomp_configuration.rb +1 -1
- data/lib/kubevirt/models/v1_secret_volume_source.rb +1 -1
- data/lib/kubevirt/models/v1_service_account_volume_source.rb +1 -1
- data/lib/kubevirt/models/v1_sev.rb +1 -1
- data/lib/kubevirt/models/v1_sev_measurement_info.rb +1 -1
- data/lib/kubevirt/models/v1_sev_platform_info.rb +1 -1
- data/lib/kubevirt/models/v1_sev_policy.rb +1 -1
- data/lib/kubevirt/models/v1_sev_secret_options.rb +1 -1
- data/lib/kubevirt/models/v1_sev_session_options.rb +1 -1
- data/lib/kubevirt/models/v1_sm_bios_configuration.rb +1 -1
- data/lib/kubevirt/models/v1_sound_device.rb +1 -1
- data/lib/kubevirt/models/v1_ssh_public_key_access_credential.rb +1 -1
- data/lib/kubevirt/models/v1_ssh_public_key_access_credential_propagation_method.rb +1 -1
- data/lib/kubevirt/models/v1_ssh_public_key_access_credential_source.rb +1 -1
- data/lib/kubevirt/models/v1_stall_detector_options.rb +218 -0
- data/lib/kubevirt/models/v1_start_options.rb +1 -1
- data/lib/kubevirt/models/v1_stop_options.rb +1 -1
- data/lib/kubevirt/models/v1_storage_migrated_volume_info.rb +1 -1
- data/lib/kubevirt/models/v1_support_container_resources.rb +1 -1
- data/lib/kubevirt/models/v1_sy_nic_timer.rb +2 -1
- data/lib/kubevirt/models/v1_sysprep_source.rb +1 -1
- data/lib/kubevirt/models/v1_tdx_attestation_configuration.rb +159 -0
- data/lib/kubevirt/models/{v1_device_attribute.rb → v1_tdx_configuration.rb} +11 -23
- data/lib/kubevirt/models/v1_timer.rb +1 -1
- data/lib/kubevirt/models/v1_tlb_flush.rb +166 -0
- data/lib/kubevirt/models/v1_tls_configuration.rb +1 -1
- data/lib/kubevirt/models/v1_token_bucket_rate_limiter.rb +1 -1
- data/lib/kubevirt/models/v1_topology_hints.rb +1 -1
- data/lib/kubevirt/models/v1_tpm_device.rb +1 -1
- data/lib/kubevirt/models/v1_unpause_options.rb +1 -1
- data/lib/kubevirt/models/v1_usb_host_device.rb +1 -1
- data/lib/kubevirt/models/v1_usb_selector.rb +1 -1
- data/lib/kubevirt/models/v1_user_password_access_credential.rb +1 -1
- data/lib/kubevirt/models/v1_user_password_access_credential_propagation_method.rb +1 -1
- data/lib/kubevirt/models/v1_user_password_access_credential_source.rb +1 -1
- data/lib/kubevirt/models/v1_utility_volume.rb +212 -0
- data/lib/kubevirt/models/v1_vgpu_display_options.rb +1 -1
- data/lib/kubevirt/models/v1_vgpu_options.rb +1 -1
- data/lib/kubevirt/models/v1_video_device.rb +1 -1
- data/lib/kubevirt/models/v1_virt_template_deployment.rb +148 -0
- data/lib/kubevirt/models/v1_virtual_machine.rb +1 -1
- data/lib/kubevirt/models/v1_virtual_machine_condition.rb +1 -1
- data/lib/kubevirt/models/{v1beta1_virtual_machine_export.rb → v1_virtual_machine_export.rb} +6 -6
- data/lib/kubevirt/models/{v1_device_status_info.rb → v1_virtual_machine_export_backup.rb} +15 -12
- data/lib/kubevirt/models/v1_virtual_machine_export_backup_endpoint.rb +193 -0
- data/lib/kubevirt/models/{v1beta1_virtual_machine_export_link.rb → v1_virtual_machine_export_link.rb} +19 -7
- data/lib/kubevirt/models/{v1beta1_virtual_machine_export_links.rb → v1_virtual_machine_export_links.rb} +6 -6
- data/lib/kubevirt/models/{v1beta1_virtual_machine_export_list.rb → v1_virtual_machine_export_list.rb} +5 -5
- data/lib/kubevirt/models/{v1beta1_virtual_machine_export_manifest.rb → v1_virtual_machine_export_manifest.rb} +4 -4
- data/lib/kubevirt/models/{v1beta1_virtual_machine_export_spec.rb → v1_virtual_machine_export_spec.rb} +4 -4
- data/lib/kubevirt/models/{v1beta1_virtual_machine_export_status.rb → v1_virtual_machine_export_status.rb} +6 -6
- data/lib/kubevirt/models/{v1beta1_virtual_machine_export_volume.rb → v1_virtual_machine_export_volume.rb} +5 -5
- data/lib/kubevirt/models/{v1beta1_virtual_machine_export_volume_format.rb → v1_virtual_machine_export_volume_format.rb} +4 -4
- data/lib/kubevirt/models/v1_virtual_machine_instance.rb +1 -1
- data/lib/kubevirt/models/v1_virtual_machine_instance_backup_status.rb +231 -0
- data/lib/kubevirt/models/v1_virtual_machine_instance_backup_volume_info.rb +166 -0
- data/lib/kubevirt/models/v1_virtual_machine_instance_condition.rb +1 -1
- data/lib/kubevirt/models/v1_virtual_machine_instance_file_system.rb +1 -1
- data/lib/kubevirt/models/v1_virtual_machine_instance_file_system_disk.rb +1 -1
- data/lib/kubevirt/models/v1_virtual_machine_instance_file_system_info.rb +1 -1
- data/lib/kubevirt/models/v1_virtual_machine_instance_file_system_list.rb +1 -1
- data/lib/kubevirt/models/v1_virtual_machine_instance_guest_agent_info.rb +1 -1
- data/lib/kubevirt/models/v1_virtual_machine_instance_guest_os_info.rb +1 -1
- data/lib/kubevirt/models/v1_virtual_machine_instance_guest_os_user.rb +1 -1
- data/lib/kubevirt/models/v1_virtual_machine_instance_guest_os_user_list.rb +1 -1
- data/lib/kubevirt/models/v1_virtual_machine_instance_list.rb +1 -1
- data/lib/kubevirt/models/v1_virtual_machine_instance_migration.rb +1 -1
- data/lib/kubevirt/models/v1_virtual_machine_instance_migration_condition.rb +1 -1
- data/lib/kubevirt/models/v1_virtual_machine_instance_migration_list.rb +1 -1
- data/lib/kubevirt/models/v1_virtual_machine_instance_migration_phase_transition_timestamp.rb +1 -1
- data/lib/kubevirt/models/v1_virtual_machine_instance_migration_source.rb +1 -1
- data/lib/kubevirt/models/v1_virtual_machine_instance_migration_source_state.rb +1 -1
- data/lib/kubevirt/models/v1_virtual_machine_instance_migration_spec.rb +1 -1
- data/lib/kubevirt/models/v1_virtual_machine_instance_migration_state.rb +13 -3
- data/lib/kubevirt/models/v1_virtual_machine_instance_migration_status.rb +1 -1
- data/lib/kubevirt/models/v1_virtual_machine_instance_migration_target.rb +1 -1
- data/lib/kubevirt/models/v1_virtual_machine_instance_migration_target_state.rb +1 -1
- data/lib/kubevirt/models/v1_virtual_machine_instance_network_interface.rb +1 -1
- data/lib/kubevirt/models/v1_virtual_machine_instance_phase_transition_timestamp.rb +1 -1
- data/lib/kubevirt/models/v1_virtual_machine_instance_preset.rb +1 -1
- data/lib/kubevirt/models/v1_virtual_machine_instance_preset_list.rb +1 -1
- data/lib/kubevirt/models/v1_virtual_machine_instance_preset_spec.rb +1 -1
- data/lib/kubevirt/models/v1_virtual_machine_instance_profile.rb +1 -1
- data/lib/kubevirt/models/v1_virtual_machine_instance_replica_set.rb +1 -1
- data/lib/kubevirt/models/v1_virtual_machine_instance_replica_set_condition.rb +1 -1
- data/lib/kubevirt/models/v1_virtual_machine_instance_replica_set_list.rb +1 -1
- data/lib/kubevirt/models/v1_virtual_machine_instance_replica_set_spec.rb +1 -1
- data/lib/kubevirt/models/v1_virtual_machine_instance_replica_set_status.rb +1 -1
- data/lib/kubevirt/models/{k8s_io_api_core_v1_pod_resource_claim.rb → v1_virtual_machine_instance_resource_claim.rb} +7 -8
- data/lib/kubevirt/models/v1_virtual_machine_instance_spec.rb +26 -4
- data/lib/kubevirt/models/v1_virtual_machine_instance_status.rb +2 -11
- data/lib/kubevirt/models/v1_virtual_machine_instance_template_spec.rb +1 -1
- data/lib/kubevirt/models/v1_virtual_machine_list.rb +1 -1
- data/lib/kubevirt/models/v1_virtual_machine_memory_dump_request.rb +1 -1
- data/lib/kubevirt/models/v1_virtual_machine_options.rb +1 -1
- data/lib/kubevirt/models/v1_virtual_machine_spec.rb +2 -2
- data/lib/kubevirt/models/v1_virtual_machine_start_failure.rb +1 -1
- data/lib/kubevirt/models/v1_virtual_machine_state_change_request.rb +1 -1
- data/lib/kubevirt/models/v1_virtual_machine_status.rb +1 -1
- data/lib/kubevirt/models/v1_virtual_machine_volume_request.rb +1 -1
- data/lib/kubevirt/models/v1_vmim_configuration_options.rb +298 -0
- data/lib/kubevirt/models/v1_volume.rb +11 -2
- data/lib/kubevirt/models/v1_volume_migration_state.rb +1 -1
- data/lib/kubevirt/models/v1_volume_snapshot_status.rb +1 -1
- data/lib/kubevirt/models/v1_volume_status.rb +1 -1
- data/lib/kubevirt/models/v1_volume_update_state.rb +1 -1
- data/lib/kubevirt/models/v1_watchdog.rb +1 -1
- data/lib/kubevirt/models/{v1_device_resource_claim_status.rb → v1alpha1_backup_checkpoint.rb} +21 -20
- data/lib/kubevirt/models/v1alpha1_backup_options.rb +248 -0
- data/lib/kubevirt/models/v1alpha1_backup_volume_info.rb +186 -0
- data/lib/kubevirt/models/v1alpha1_migration_policy.rb +1 -1
- data/lib/kubevirt/models/v1alpha1_migration_policy_list.rb +1 -1
- data/lib/kubevirt/models/v1alpha1_migration_policy_spec.rb +20 -2
- data/lib/kubevirt/models/v1alpha1_selectors.rb +1 -1
- data/lib/kubevirt/models/v1alpha1_virtual_machine_backup.rb +203 -0
- data/lib/kubevirt/models/v1alpha1_virtual_machine_backup_list.rb +213 -0
- data/lib/kubevirt/models/v1alpha1_virtual_machine_backup_spec.rb +225 -0
- data/lib/kubevirt/models/v1alpha1_virtual_machine_backup_status.rb +202 -0
- data/lib/kubevirt/models/v1beta1_clock_preferences.rb +1 -1
- data/lib/kubevirt/models/v1beta1_condition.rb +1 -1
- data/lib/kubevirt/models/v1beta1_cpu_instancetype.rb +1 -1
- data/lib/kubevirt/models/v1beta1_cpu_preference_requirement.rb +1 -1
- data/lib/kubevirt/models/v1beta1_cpu_preferences.rb +1 -1
- data/lib/kubevirt/models/v1beta1_data_volume_checkpoint.rb +1 -1
- data/lib/kubevirt/models/v1beta1_data_volume_source.rb +1 -1
- data/lib/kubevirt/models/v1beta1_data_volume_source_gcs.rb +1 -1
- data/lib/kubevirt/models/v1beta1_data_volume_source_http.rb +1 -1
- data/lib/kubevirt/models/v1beta1_data_volume_source_image_io.rb +12 -2
- data/lib/kubevirt/models/v1beta1_data_volume_source_pvc.rb +1 -1
- data/lib/kubevirt/models/v1beta1_data_volume_source_ref.rb +1 -1
- data/lib/kubevirt/models/v1beta1_data_volume_source_registry.rb +1 -1
- data/lib/kubevirt/models/v1beta1_data_volume_source_s3.rb +1 -1
- data/lib/kubevirt/models/v1beta1_data_volume_source_snapshot.rb +1 -1
- data/lib/kubevirt/models/v1beta1_data_volume_source_vddk.rb +1 -1
- data/lib/kubevirt/models/v1beta1_data_volume_spec.rb +1 -1
- data/lib/kubevirt/models/v1beta1_device_preferences.rb +12 -2
- data/lib/kubevirt/models/v1beta1_error.rb +1 -1
- data/lib/kubevirt/models/v1beta1_feature_preferences.rb +1 -1
- data/lib/kubevirt/models/v1beta1_firmware_preferences.rb +1 -1
- data/lib/kubevirt/models/v1beta1_machine_preferences.rb +1 -1
- data/lib/kubevirt/models/v1beta1_memory_instancetype.rb +1 -1
- data/lib/kubevirt/models/v1beta1_memory_preference_requirement.rb +1 -1
- data/lib/kubevirt/models/v1beta1_persistent_volume_claim.rb +1 -1
- data/lib/kubevirt/models/v1beta1_platform_options.rb +1 -1
- data/lib/kubevirt/models/v1beta1_preference_requirements.rb +1 -1
- data/lib/kubevirt/models/v1beta1_snapshot_volumes_lists.rb +1 -1
- data/lib/kubevirt/models/v1beta1_source_indication.rb +1 -1
- data/lib/kubevirt/models/v1beta1_source_spec.rb +1 -1
- data/lib/kubevirt/models/v1beta1_spread_options.rb +1 -1
- data/lib/kubevirt/models/v1beta1_storage_spec.rb +1 -1
- data/lib/kubevirt/models/v1beta1_virtual_machine.rb +1 -1
- data/lib/kubevirt/models/v1beta1_virtual_machine_clone.rb +1 -1
- data/lib/kubevirt/models/v1beta1_virtual_machine_clone_list.rb +1 -1
- data/lib/kubevirt/models/v1beta1_virtual_machine_clone_spec.rb +15 -5
- data/lib/kubevirt/models/v1beta1_virtual_machine_clone_status.rb +1 -1
- data/lib/kubevirt/models/v1beta1_virtual_machine_clone_template_filters.rb +1 -1
- data/lib/kubevirt/models/v1beta1_virtual_machine_cluster_instancetype.rb +1 -1
- data/lib/kubevirt/models/v1beta1_virtual_machine_cluster_instancetype_list.rb +1 -1
- data/lib/kubevirt/models/v1beta1_virtual_machine_cluster_preference.rb +1 -1
- data/lib/kubevirt/models/v1beta1_virtual_machine_cluster_preference_list.rb +1 -1
- data/lib/kubevirt/models/v1beta1_virtual_machine_instancetype.rb +1 -1
- data/lib/kubevirt/models/v1beta1_virtual_machine_instancetype_list.rb +1 -1
- data/lib/kubevirt/models/v1beta1_virtual_machine_instancetype_spec.rb +1 -1
- data/lib/kubevirt/models/v1beta1_virtual_machine_pool.rb +1 -1
- data/lib/kubevirt/models/v1beta1_virtual_machine_pool_autohealing_strategy.rb +1 -1
- data/lib/kubevirt/models/v1beta1_virtual_machine_pool_condition.rb +1 -1
- data/lib/kubevirt/models/v1beta1_virtual_machine_pool_list.rb +1 -1
- data/lib/kubevirt/models/v1beta1_virtual_machine_pool_name_generation.rb +1 -1
- data/lib/kubevirt/models/v1beta1_virtual_machine_pool_opportunistic_scale_in_strategy.rb +1 -1
- data/lib/kubevirt/models/v1beta1_virtual_machine_pool_proactive_scale_in_strategy.rb +1 -1
- data/lib/kubevirt/models/v1beta1_virtual_machine_pool_proactive_update_strategy.rb +1 -1
- data/lib/kubevirt/models/v1beta1_virtual_machine_pool_scale_in_strategy.rb +1 -1
- data/lib/kubevirt/models/v1beta1_virtual_machine_pool_selection_policy.rb +1 -1
- data/lib/kubevirt/models/v1beta1_virtual_machine_pool_selectors.rb +1 -1
- data/lib/kubevirt/models/v1beta1_virtual_machine_pool_spec.rb +1 -1
- data/lib/kubevirt/models/v1beta1_virtual_machine_pool_status.rb +1 -1
- data/lib/kubevirt/models/v1beta1_virtual_machine_pool_update_strategy.rb +1 -1
- data/lib/kubevirt/models/v1beta1_virtual_machine_preference.rb +1 -1
- data/lib/kubevirt/models/v1beta1_virtual_machine_preference_list.rb +1 -1
- data/lib/kubevirt/models/v1beta1_virtual_machine_preference_spec.rb +11 -2
- data/lib/kubevirt/models/v1beta1_virtual_machine_restore.rb +1 -1
- data/lib/kubevirt/models/v1beta1_virtual_machine_restore_list.rb +1 -1
- data/lib/kubevirt/models/v1beta1_virtual_machine_restore_spec.rb +1 -1
- data/lib/kubevirt/models/v1beta1_virtual_machine_restore_status.rb +1 -1
- data/lib/kubevirt/models/v1beta1_virtual_machine_snapshot.rb +1 -1
- data/lib/kubevirt/models/v1beta1_virtual_machine_snapshot_content.rb +1 -1
- data/lib/kubevirt/models/v1beta1_virtual_machine_snapshot_content_list.rb +1 -1
- data/lib/kubevirt/models/v1beta1_virtual_machine_snapshot_content_spec.rb +1 -1
- data/lib/kubevirt/models/v1beta1_virtual_machine_snapshot_content_status.rb +1 -1
- data/lib/kubevirt/models/v1beta1_virtual_machine_snapshot_list.rb +1 -1
- data/lib/kubevirt/models/v1beta1_virtual_machine_snapshot_spec.rb +1 -1
- data/lib/kubevirt/models/v1beta1_virtual_machine_snapshot_status.rb +1 -1
- data/lib/kubevirt/models/v1beta1_virtual_machine_template_spec.rb +1 -1
- data/lib/kubevirt/models/v1beta1_volume_backup.rb +1 -1
- data/lib/kubevirt/models/v1beta1_volume_preferences.rb +1 -1
- data/lib/kubevirt/models/v1beta1_volume_restore.rb +1 -1
- data/lib/kubevirt/models/v1beta1_volume_restore_override.rb +1 -1
- data/lib/kubevirt/models/v1beta1_volume_snapshot_status.rb +1 -1
- data/lib/kubevirt/version.rb +2 -2
- data/lib/kubevirt.rb +40 -15
- metadata +87 -775
- data/Gemfile +0 -9
- data/bin/console +0 -15
- data/bin/openapi-generate +0 -20
- data/docs/K8sIoApiCoreV1PodResourceClaim.md +0 -22
- data/docs/V1DeviceAttribute.md +0 -20
- data/docs/V1DeviceResourceClaimStatus.md +0 -22
- data/docs/V1DeviceStatus.md +0 -20
- data/docs/V1DeviceStatusInfo.md +0 -20
- data/docs/V1beta1VirtualMachineExportLink.md +0 -22
- data/docs/V1beta1VirtualMachineExportLinks.md +0 -20
- data/kubevirt.gemspec +0 -39
- data/openapi-generator-cli-7.16.0.jar +0 -0
- data/spec/api/default_api_spec.rb +0 -3898
- data/spec/models/k8s_io_api_core_v1_affinity_spec.rb +0 -48
- data/spec/models/k8s_io_api_core_v1_downward_api_volume_file_spec.rb +0 -54
- data/spec/models/k8s_io_api_core_v1_exec_action_spec.rb +0 -36
- data/spec/models/k8s_io_api_core_v1_http_get_action_spec.rb +0 -58
- data/spec/models/k8s_io_api_core_v1_http_header_spec.rb +0 -42
- data/spec/models/k8s_io_api_core_v1_local_object_reference_spec.rb +0 -36
- data/spec/models/k8s_io_api_core_v1_node_affinity_spec.rb +0 -42
- data/spec/models/k8s_io_api_core_v1_node_selector_requirement_spec.rb +0 -52
- data/spec/models/k8s_io_api_core_v1_node_selector_spec.rb +0 -36
- data/spec/models/k8s_io_api_core_v1_node_selector_term_spec.rb +0 -42
- data/spec/models/k8s_io_api_core_v1_object_field_selector_spec.rb +0 -42
- data/spec/models/k8s_io_api_core_v1_persistent_volume_claim_spec_spec.rb +0 -92
- data/spec/models/k8s_io_api_core_v1_persistent_volume_claim_volume_source_spec.rb +0 -42
- data/spec/models/k8s_io_api_core_v1_pod_affinity_spec.rb +0 -42
- data/spec/models/k8s_io_api_core_v1_pod_affinity_term_spec.rb +0 -66
- data/spec/models/k8s_io_api_core_v1_pod_anti_affinity_spec.rb +0 -42
- data/spec/models/k8s_io_api_core_v1_pod_dns_config_option_spec.rb +0 -42
- data/spec/models/k8s_io_api_core_v1_pod_dns_config_spec.rb +0 -48
- data/spec/models/k8s_io_api_core_v1_pod_resource_claim_spec.rb +0 -48
- data/spec/models/k8s_io_api_core_v1_preferred_scheduling_term_spec.rb +0 -42
- data/spec/models/k8s_io_api_core_v1_resource_field_selector_spec.rb +0 -48
- data/spec/models/k8s_io_api_core_v1_tcp_socket_action_spec.rb +0 -36
- data/spec/models/k8s_io_api_core_v1_toleration_spec.rb +0 -68
- data/spec/models/k8s_io_api_core_v1_topology_spread_constraint_spec.rb +0 -90
- data/spec/models/k8s_io_api_core_v1_typed_local_object_reference_spec.rb +0 -48
- data/spec/models/k8s_io_api_core_v1_typed_object_reference_spec.rb +0 -54
- data/spec/models/k8s_io_api_core_v1_volume_resource_requirements_spec.rb +0 -42
- data/spec/models/k8s_io_api_core_v1_weighted_pod_affinity_term_spec.rb +0 -42
- data/spec/models/k8s_io_apimachinery_pkg_apis_meta_v1_api_group_list_spec.rb +0 -48
- data/spec/models/k8s_io_apimachinery_pkg_apis_meta_v1_api_group_spec.rb +0 -66
- data/spec/models/k8s_io_apimachinery_pkg_apis_meta_v1_api_resource_list_spec.rb +0 -54
- data/spec/models/k8s_io_apimachinery_pkg_apis_meta_v1_api_resource_spec.rb +0 -90
- data/spec/models/k8s_io_apimachinery_pkg_apis_meta_v1_delete_options_spec.rb +0 -78
- data/spec/models/k8s_io_apimachinery_pkg_apis_meta_v1_group_version_for_discovery_spec.rb +0 -42
- data/spec/models/k8s_io_apimachinery_pkg_apis_meta_v1_label_selector_requirement_spec.rb +0 -48
- data/spec/models/k8s_io_apimachinery_pkg_apis_meta_v1_label_selector_spec.rb +0 -42
- data/spec/models/k8s_io_apimachinery_pkg_apis_meta_v1_list_meta_spec.rb +0 -54
- data/spec/models/k8s_io_apimachinery_pkg_apis_meta_v1_managed_fields_entry_spec.rb +0 -72
- data/spec/models/k8s_io_apimachinery_pkg_apis_meta_v1_object_meta_spec.rb +0 -114
- data/spec/models/k8s_io_apimachinery_pkg_apis_meta_v1_owner_reference_spec.rb +0 -66
- data/spec/models/k8s_io_apimachinery_pkg_apis_meta_v1_preconditions_spec.rb +0 -42
- data/spec/models/k8s_io_apimachinery_pkg_apis_meta_v1_root_paths_spec.rb +0 -36
- data/spec/models/k8s_io_apimachinery_pkg_apis_meta_v1_server_address_by_client_cidr_spec.rb +0 -42
- data/spec/models/k8s_io_apimachinery_pkg_apis_meta_v1_status_cause_spec.rb +0 -48
- data/spec/models/k8s_io_apimachinery_pkg_apis_meta_v1_status_details_spec.rb +0 -66
- data/spec/models/k8s_io_apimachinery_pkg_apis_meta_v1_status_spec.rb +0 -78
- data/spec/models/k8s_io_apimachinery_pkg_apis_meta_v1_watch_event_spec.rb +0 -42
- data/spec/models/v1_access_credential_secret_source_spec.rb +0 -36
- data/spec/models/v1_access_credential_spec.rb +0 -42
- data/spec/models/v1_acpi_spec.rb +0 -42
- data/spec/models/v1_add_volume_options_spec.rb +0 -54
- data/spec/models/v1_arch_configuration_spec.rb +0 -60
- data/spec/models/v1_arch_specific_configuration_spec.rb +0 -48
- data/spec/models/v1_bios_spec.rb +0 -36
- data/spec/models/v1_block_size_spec.rb +0 -42
- data/spec/models/v1_bootloader_spec.rb +0 -42
- data/spec/models/v1_cd_rom_target_spec.rb +0 -48
- data/spec/models/v1_cert_config_spec.rb +0 -42
- data/spec/models/v1_changed_block_tracking_selectors_spec.rb +0 -42
- data/spec/models/v1_changed_block_tracking_status_spec.rb +0 -36
- data/spec/models/v1_chassis_spec.rb +0 -60
- data/spec/models/v1_clock_offset_spec.rb +0 -42
- data/spec/models/v1_clock_offset_utc_spec.rb +0 -36
- data/spec/models/v1_clock_spec.rb +0 -48
- data/spec/models/v1_cloud_init_config_drive_source_spec.rb +0 -66
- data/spec/models/v1_cloud_init_no_cloud_source_spec.rb +0 -66
- data/spec/models/v1_common_instancetypes_deployment_spec.rb +0 -36
- data/spec/models/v1_component_config_spec.rb +0 -42
- data/spec/models/v1_config_map_volume_source_spec.rb +0 -48
- data/spec/models/v1_container_disk_info_spec.rb +0 -36
- data/spec/models/v1_container_disk_source_spec.rb +0 -58
- data/spec/models/v1_controller_revision_ref_spec.rb +0 -36
- data/spec/models/v1_cpu_feature_spec.rb +0 -42
- data/spec/models/v1_cpu_spec.rb +0 -90
- data/spec/models/v1_cpu_topology_spec.rb +0 -48
- data/spec/models/v1_custom_block_size_spec.rb +0 -48
- data/spec/models/v1_custom_profile_spec.rb +0 -42
- data/spec/models/v1_customize_components_patch_spec.rb +0 -54
- data/spec/models/v1_customize_components_spec.rb +0 -42
- data/spec/models/v1_data_volume_source_spec.rb +0 -42
- data/spec/models/v1_data_volume_template_spec_spec.rb +0 -60
- data/spec/models/v1_developer_configuration_spec.rb +0 -96
- data/spec/models/v1_device_attribute_spec.rb +0 -42
- data/spec/models/v1_device_resource_claim_status_spec.rb +0 -48
- data/spec/models/v1_device_status_info_spec.rb +0 -42
- data/spec/models/v1_device_status_spec.rb +0 -42
- data/spec/models/v1_devices_spec.rb +0 -180
- data/spec/models/v1_dhcp_options_spec.rb +0 -54
- data/spec/models/v1_dhcp_private_options_spec.rb +0 -42
- data/spec/models/v1_diag288_watchdog_spec.rb +0 -36
- data/spec/models/v1_disk_io_threads_spec.rb +0 -36
- data/spec/models/v1_disk_spec.rb +0 -114
- data/spec/models/v1_disk_target_spec.rb +0 -48
- data/spec/models/v1_disk_verification_spec.rb +0 -36
- data/spec/models/v1_domain_memory_dump_info_spec.rb +0 -54
- data/spec/models/v1_domain_spec_spec.rb +0 -102
- data/spec/models/v1_downward_api_volume_source_spec.rb +0 -42
- data/spec/models/v1_efi_spec.rb +0 -42
- data/spec/models/v1_empty_disk_source_spec.rb +0 -36
- data/spec/models/v1_ephemeral_volume_source_spec.rb +0 -36
- data/spec/models/v1_evacuate_cancel_options_spec.rb +0 -54
- data/spec/models/v1_feature_apic_spec.rb +0 -42
- data/spec/models/v1_feature_hyperv_spec.rb +0 -114
- data/spec/models/v1_feature_kvm_spec.rb +0 -36
- data/spec/models/v1_feature_spinlocks_spec.rb +0 -42
- data/spec/models/v1_feature_state_spec.rb +0 -36
- data/spec/models/v1_feature_vendor_id_spec.rb +0 -42
- data/spec/models/v1_features_spec.rb +0 -72
- data/spec/models/v1_filesystem_spec.rb +0 -42
- data/spec/models/v1_firmware_spec.rb +0 -60
- data/spec/models/v1_flags_spec.rb +0 -48
- data/spec/models/v1_freeze_unfreeze_timeout_spec.rb +0 -36
- data/spec/models/v1_generation_status_spec.rb +0 -66
- data/spec/models/v1_gpu_spec.rb +0 -66
- data/spec/models/v1_guest_agent_command_info_spec.rb +0 -42
- data/spec/models/v1_host_device_spec.rb +0 -60
- data/spec/models/v1_host_disk_spec.rb +0 -54
- data/spec/models/v1_hotplug_volume_source_spec.rb +0 -42
- data/spec/models/v1_hotplug_volume_status_spec.rb +0 -42
- data/spec/models/v1_hpet_timer_spec.rb +0 -42
- data/spec/models/v1_hugepages_spec.rb +0 -36
- data/spec/models/v1_hyper_v_passthrough_spec.rb +0 -36
- data/spec/models/v1_hyperv_timer_spec.rb +0 -36
- data/spec/models/v1_i6300_esb_watchdog_spec.rb +0 -36
- data/spec/models/v1_initrd_info_spec.rb +0 -36
- data/spec/models/v1_input_spec.rb +0 -48
- data/spec/models/v1_instancetype_configuration_spec.rb +0 -36
- data/spec/models/v1_instancetype_matcher_spec.rb +0 -60
- data/spec/models/v1_instancetype_status_ref_spec.rb +0 -60
- data/spec/models/v1_interface_binding_migration_spec.rb +0 -36
- data/spec/models/v1_interface_binding_plugin_spec.rb +0 -66
- data/spec/models/v1_interface_spec.rb +0 -132
- data/spec/models/v1_kernel_boot_container_spec.rb +0 -64
- data/spec/models/v1_kernel_boot_spec.rb +0 -42
- data/spec/models/v1_kernel_boot_status_spec.rb +0 -42
- data/spec/models/v1_kernel_info_spec.rb +0 -36
- data/spec/models/v1_ksm_configuration_spec.rb +0 -36
- data/spec/models/v1_kube_virt_certificate_rotate_strategy_spec.rb +0 -36
- data/spec/models/v1_kube_virt_condition_spec.rb +0 -54
- data/spec/models/v1_kube_virt_configuration_spec.rb +0 -262
- data/spec/models/v1_kube_virt_list_spec.rb +0 -54
- data/spec/models/v1_kube_virt_self_sign_configuration_spec.rb +0 -60
- data/spec/models/v1_kube_virt_spec.rb +0 -60
- data/spec/models/v1_kube_virt_spec_spec.rb +0 -142
- data/spec/models/v1_kube_virt_status_spec.rb +0 -126
- data/spec/models/v1_kube_virt_workload_update_strategy_spec.rb +0 -48
- data/spec/models/v1_kvm_timer_spec.rb +0 -36
- data/spec/models/v1_launch_security_spec.rb +0 -48
- data/spec/models/v1_live_update_configuration_spec.rb +0 -48
- data/spec/models/v1_log_verbosity_spec.rb +0 -72
- data/spec/models/v1_lun_target_spec.rb +0 -48
- data/spec/models/v1_machine_spec.rb +0 -36
- data/spec/models/v1_mediated_devices_configuration_spec.rb +0 -48
- data/spec/models/v1_mediated_host_device_spec.rb +0 -48
- data/spec/models/v1_memory_dump_volume_source_spec.rb +0 -48
- data/spec/models/v1_memory_spec.rb +0 -48
- data/spec/models/v1_memory_status_spec.rb +0 -48
- data/spec/models/v1_migrate_options_spec.rb +0 -54
- data/spec/models/v1_migration_configuration_spec.rb +0 -108
- data/spec/models/v1_multus_network_spec.rb +0 -42
- data/spec/models/v1_network_configuration_spec.rb +0 -54
- data/spec/models/v1_network_spec.rb +0 -48
- data/spec/models/v1_node_mediated_device_types_config_spec.rb +0 -48
- data/spec/models/v1_node_placement_spec.rb +0 -48
- data/spec/models/v1_numa_spec.rb +0 -36
- data/spec/models/v1_object_graph_node_spec.rb +0 -66
- data/spec/models/v1_object_graph_options_spec.rb +0 -42
- data/spec/models/v1_panic_device_spec.rb +0 -36
- data/spec/models/v1_pause_options_spec.rb +0 -48
- data/spec/models/v1_pci_host_device_spec.rb +0 -48
- data/spec/models/v1_permitted_host_devices_spec.rb +0 -48
- data/spec/models/v1_persistent_volume_claim_info_spec.rb +0 -80
- data/spec/models/v1_persistent_volume_claim_volume_source_spec.rb +0 -48
- data/spec/models/v1_pit_timer_spec.rb +0 -42
- data/spec/models/v1_plugin_binding_spec.rb +0 -36
- data/spec/models/v1_pod_network_spec.rb +0 -42
- data/spec/models/v1_port_spec.rb +0 -48
- data/spec/models/v1_preference_matcher_spec.rb +0 -60
- data/spec/models/v1_probe_spec.rb +0 -84
- data/spec/models/v1_qemu_guest_agent_ssh_public_key_access_credential_propagation_spec.rb +0 -36
- data/spec/models/v1_rate_limiter_spec.rb +0 -36
- data/spec/models/v1_realtime_spec.rb +0 -36
- data/spec/models/v1_reloadable_component_configuration_spec.rb +0 -36
- data/spec/models/v1_remove_volume_options_spec.rb +0 -42
- data/spec/models/v1_resource_requirements_spec.rb +0 -48
- data/spec/models/v1_resource_requirements_without_claims_spec.rb +0 -42
- data/spec/models/v1_rest_client_configuration_spec.rb +0 -36
- data/spec/models/v1_restart_options_spec.rb +0 -54
- data/spec/models/v1_rtc_timer_spec.rb +0 -48
- data/spec/models/v1_seccomp_configuration_spec.rb +0 -36
- data/spec/models/v1_secret_volume_source_spec.rb +0 -48
- data/spec/models/v1_service_account_volume_source_spec.rb +0 -36
- data/spec/models/v1_sev_measurement_info_spec.rb +0 -78
- data/spec/models/v1_sev_platform_info_spec.rb +0 -54
- data/spec/models/v1_sev_policy_spec.rb +0 -36
- data/spec/models/v1_sev_secret_options_spec.rb +0 -42
- data/spec/models/v1_sev_session_options_spec.rb +0 -42
- data/spec/models/v1_sev_spec.rb +0 -54
- data/spec/models/v1_sm_bios_configuration_spec.rb +0 -60
- data/spec/models/v1_sound_device_spec.rb +0 -42
- data/spec/models/v1_ssh_public_key_access_credential_propagation_method_spec.rb +0 -48
- data/spec/models/v1_ssh_public_key_access_credential_source_spec.rb +0 -36
- data/spec/models/v1_ssh_public_key_access_credential_spec.rb +0 -42
- data/spec/models/v1_start_options_spec.rb +0 -54
- data/spec/models/v1_stop_options_spec.rb +0 -54
- data/spec/models/v1_storage_migrated_volume_info_spec.rb +0 -48
- data/spec/models/v1_support_container_resources_spec.rb +0 -42
- data/spec/models/v1_sy_nic_timer_spec.rb +0 -42
- data/spec/models/v1_sysprep_source_spec.rb +0 -42
- data/spec/models/v1_timer_spec.rb +0 -60
- data/spec/models/v1_tls_configuration_spec.rb +0 -42
- data/spec/models/v1_token_bucket_rate_limiter_spec.rb +0 -42
- data/spec/models/v1_topology_hints_spec.rb +0 -36
- data/spec/models/v1_tpm_device_spec.rb +0 -42
- data/spec/models/v1_unpause_options_spec.rb +0 -48
- data/spec/models/v1_usb_host_device_spec.rb +0 -48
- data/spec/models/v1_usb_selector_spec.rb +0 -42
- data/spec/models/v1_user_password_access_credential_propagation_method_spec.rb +0 -36
- data/spec/models/v1_user_password_access_credential_source_spec.rb +0 -36
- data/spec/models/v1_user_password_access_credential_spec.rb +0 -42
- data/spec/models/v1_vgpu_display_options_spec.rb +0 -42
- data/spec/models/v1_vgpu_options_spec.rb +0 -36
- data/spec/models/v1_video_device_spec.rb +0 -36
- data/spec/models/v1_virtual_machine_condition_spec.rb +0 -54
- data/spec/models/v1_virtual_machine_instance_condition_spec.rb +0 -54
- data/spec/models/v1_virtual_machine_instance_file_system_disk_spec.rb +0 -42
- data/spec/models/v1_virtual_machine_instance_file_system_info_spec.rb +0 -36
- data/spec/models/v1_virtual_machine_instance_file_system_list_spec.rb +0 -54
- data/spec/models/v1_virtual_machine_instance_file_system_spec.rb +0 -66
- data/spec/models/v1_virtual_machine_instance_guest_agent_info_spec.rb +0 -90
- data/spec/models/v1_virtual_machine_instance_guest_os_info_spec.rb +0 -78
- data/spec/models/v1_virtual_machine_instance_guest_os_user_list_spec.rb +0 -54
- data/spec/models/v1_virtual_machine_instance_guest_os_user_spec.rb +0 -48
- data/spec/models/v1_virtual_machine_instance_list_spec.rb +0 -54
- data/spec/models/v1_virtual_machine_instance_migration_condition_spec.rb +0 -54
- data/spec/models/v1_virtual_machine_instance_migration_list_spec.rb +0 -54
- data/spec/models/v1_virtual_machine_instance_migration_phase_transition_timestamp_spec.rb +0 -42
- data/spec/models/v1_virtual_machine_instance_migration_source_spec.rb +0 -42
- data/spec/models/v1_virtual_machine_instance_migration_source_state_spec.rb +0 -90
- data/spec/models/v1_virtual_machine_instance_migration_spec.rb +0 -60
- data/spec/models/v1_virtual_machine_instance_migration_spec_spec.rb +0 -60
- data/spec/models/v1_virtual_machine_instance_migration_state_spec.rb +0 -192
- data/spec/models/v1_virtual_machine_instance_migration_status_spec.rb +0 -60
- data/spec/models/v1_virtual_machine_instance_migration_target_spec.rb +0 -36
- data/spec/models/v1_virtual_machine_instance_migration_target_state_spec.rb +0 -126
- data/spec/models/v1_virtual_machine_instance_network_interface_spec.rb +0 -84
- data/spec/models/v1_virtual_machine_instance_phase_transition_timestamp_spec.rb +0 -42
- data/spec/models/v1_virtual_machine_instance_preset_list_spec.rb +0 -54
- data/spec/models/v1_virtual_machine_instance_preset_spec.rb +0 -54
- data/spec/models/v1_virtual_machine_instance_preset_spec_spec.rb +0 -42
- data/spec/models/v1_virtual_machine_instance_profile_spec.rb +0 -36
- data/spec/models/v1_virtual_machine_instance_replica_set_condition_spec.rb +0 -54
- data/spec/models/v1_virtual_machine_instance_replica_set_list_spec.rb +0 -54
- data/spec/models/v1_virtual_machine_instance_replica_set_spec.rb +0 -60
- data/spec/models/v1_virtual_machine_instance_replica_set_spec_spec.rb +0 -54
- data/spec/models/v1_virtual_machine_instance_replica_set_status_spec.rb +0 -54
- data/spec/models/v1_virtual_machine_instance_spec.rb +0 -60
- data/spec/models/v1_virtual_machine_instance_spec_spec.rb +0 -160
- data/spec/models/v1_virtual_machine_instance_status_spec.rb +0 -202
- data/spec/models/v1_virtual_machine_instance_template_spec_spec.rb +0 -42
- data/spec/models/v1_virtual_machine_list_spec.rb +0 -54
- data/spec/models/v1_virtual_machine_memory_dump_request_spec.rb +0 -72
- data/spec/models/v1_virtual_machine_options_spec.rb +0 -42
- data/spec/models/v1_virtual_machine_spec.rb +0 -60
- data/spec/models/v1_virtual_machine_spec_spec.rb +0 -72
- data/spec/models/v1_virtual_machine_start_failure_spec.rb +0 -48
- data/spec/models/v1_virtual_machine_state_change_request_spec.rb +0 -48
- data/spec/models/v1_virtual_machine_status_spec.rb +0 -138
- data/spec/models/v1_virtual_machine_volume_request_spec.rb +0 -42
- data/spec/models/v1_volume_migration_state_spec.rb +0 -36
- data/spec/models/v1_volume_snapshot_status_spec.rb +0 -48
- data/spec/models/v1_volume_spec.rb +0 -126
- data/spec/models/v1_volume_status_spec.rb +0 -90
- data/spec/models/v1_volume_update_state_spec.rb +0 -36
- data/spec/models/v1_watchdog_spec.rb +0 -48
- data/spec/models/v1alpha1_migration_policy_list_spec.rb +0 -54
- data/spec/models/v1alpha1_migration_policy_spec.rb +0 -60
- data/spec/models/v1alpha1_migration_policy_spec_spec.rb +0 -66
- data/spec/models/v1alpha1_selectors_spec.rb +0 -42
- data/spec/models/v1beta1_clock_preferences_spec.rb +0 -42
- data/spec/models/v1beta1_condition_spec.rb +0 -54
- data/spec/models/v1beta1_cpu_instancetype_spec.rb +0 -72
- data/spec/models/v1beta1_cpu_preference_requirement_spec.rb +0 -36
- data/spec/models/v1beta1_cpu_preferences_spec.rb +0 -48
- data/spec/models/v1beta1_data_volume_checkpoint_spec.rb +0 -42
- data/spec/models/v1beta1_data_volume_source_gcs_spec.rb +0 -42
- data/spec/models/v1beta1_data_volume_source_http_spec.rb +0 -60
- data/spec/models/v1beta1_data_volume_source_image_io_spec.rb +0 -54
- data/spec/models/v1beta1_data_volume_source_pvc_spec.rb +0 -42
- data/spec/models/v1beta1_data_volume_source_ref_spec.rb +0 -48
- data/spec/models/v1beta1_data_volume_source_registry_spec.rb +0 -66
- data/spec/models/v1beta1_data_volume_source_s3_spec.rb +0 -48
- data/spec/models/v1beta1_data_volume_source_snapshot_spec.rb +0 -42
- data/spec/models/v1beta1_data_volume_source_spec.rb +0 -90
- data/spec/models/v1beta1_data_volume_source_vddk_spec.rb +0 -72
- data/spec/models/v1beta1_data_volume_spec_spec.rb +0 -84
- data/spec/models/v1beta1_device_preferences_spec.rb +0 -180
- data/spec/models/v1beta1_error_spec.rb +0 -42
- data/spec/models/v1beta1_feature_preferences_spec.rb +0 -66
- data/spec/models/v1beta1_firmware_preferences_spec.rb +0 -60
- data/spec/models/v1beta1_machine_preferences_spec.rb +0 -36
- data/spec/models/v1beta1_memory_instancetype_spec.rb +0 -54
- data/spec/models/v1beta1_memory_preference_requirement_spec.rb +0 -36
- data/spec/models/v1beta1_persistent_volume_claim_spec.rb +0 -42
- data/spec/models/v1beta1_platform_options_spec.rb +0 -36
- data/spec/models/v1beta1_preference_requirements_spec.rb +0 -48
- data/spec/models/v1beta1_snapshot_volumes_lists_spec.rb +0 -42
- data/spec/models/v1beta1_source_indication_spec.rb +0 -42
- data/spec/models/v1beta1_source_spec_spec.rb +0 -36
- data/spec/models/v1beta1_spread_options_spec.rb +0 -42
- data/spec/models/v1beta1_storage_spec_spec.rb +0 -86
- data/spec/models/v1beta1_virtual_machine_clone_list_spec.rb +0 -54
- data/spec/models/v1beta1_virtual_machine_clone_spec.rb +0 -60
- data/spec/models/v1beta1_virtual_machine_clone_spec_spec.rb +0 -78
- data/spec/models/v1beta1_virtual_machine_clone_status_spec.rb +0 -66
- data/spec/models/v1beta1_virtual_machine_clone_template_filters_spec.rb +0 -42
- data/spec/models/v1beta1_virtual_machine_cluster_instancetype_list_spec.rb +0 -54
- data/spec/models/v1beta1_virtual_machine_cluster_instancetype_spec.rb +0 -54
- data/spec/models/v1beta1_virtual_machine_cluster_preference_list_spec.rb +0 -54
- data/spec/models/v1beta1_virtual_machine_cluster_preference_spec.rb +0 -54
- data/spec/models/v1beta1_virtual_machine_export_link_spec.rb +0 -48
- data/spec/models/v1beta1_virtual_machine_export_links_spec.rb +0 -42
- data/spec/models/v1beta1_virtual_machine_export_list_spec.rb +0 -54
- data/spec/models/v1beta1_virtual_machine_export_manifest_spec.rb +0 -42
- data/spec/models/v1beta1_virtual_machine_export_spec.rb +0 -60
- data/spec/models/v1beta1_virtual_machine_export_spec_spec.rb +0 -48
- data/spec/models/v1beta1_virtual_machine_export_status_spec.rb +0 -72
- data/spec/models/v1beta1_virtual_machine_export_volume_format_spec.rb +0 -42
- data/spec/models/v1beta1_virtual_machine_export_volume_spec.rb +0 -42
- data/spec/models/v1beta1_virtual_machine_instancetype_list_spec.rb +0 -54
- data/spec/models/v1beta1_virtual_machine_instancetype_spec.rb +0 -54
- data/spec/models/v1beta1_virtual_machine_instancetype_spec_spec.rb +0 -90
- data/spec/models/v1beta1_virtual_machine_pool_autohealing_strategy_spec.rb +0 -42
- data/spec/models/v1beta1_virtual_machine_pool_condition_spec.rb +0 -54
- data/spec/models/v1beta1_virtual_machine_pool_list_spec.rb +0 -54
- data/spec/models/v1beta1_virtual_machine_pool_name_generation_spec.rb +0 -42
- data/spec/models/v1beta1_virtual_machine_pool_opportunistic_scale_in_strategy_spec.rb +0 -36
- data/spec/models/v1beta1_virtual_machine_pool_proactive_scale_in_strategy_spec.rb +0 -42
- data/spec/models/v1beta1_virtual_machine_pool_proactive_update_strategy_spec.rb +0 -36
- data/spec/models/v1beta1_virtual_machine_pool_scale_in_strategy_spec.rb +0 -48
- data/spec/models/v1beta1_virtual_machine_pool_selection_policy_spec.rb +0 -42
- data/spec/models/v1beta1_virtual_machine_pool_selectors_spec.rb +0 -42
- data/spec/models/v1beta1_virtual_machine_pool_spec.rb +0 -60
- data/spec/models/v1beta1_virtual_machine_pool_spec_spec.rb +0 -84
- data/spec/models/v1beta1_virtual_machine_pool_status_spec.rb +0 -54
- data/spec/models/v1beta1_virtual_machine_pool_update_strategy_spec.rb +0 -48
- data/spec/models/v1beta1_virtual_machine_preference_list_spec.rb +0 -54
- data/spec/models/v1beta1_virtual_machine_preference_spec.rb +0 -54
- data/spec/models/v1beta1_virtual_machine_preference_spec_spec.rb +0 -108
- data/spec/models/v1beta1_virtual_machine_restore_list_spec.rb +0 -54
- data/spec/models/v1beta1_virtual_machine_restore_spec.rb +0 -60
- data/spec/models/v1beta1_virtual_machine_restore_spec_spec.rb +0 -72
- data/spec/models/v1beta1_virtual_machine_restore_status_spec.rb +0 -60
- data/spec/models/v1beta1_virtual_machine_snapshot_content_list_spec.rb +0 -54
- data/spec/models/v1beta1_virtual_machine_snapshot_content_spec.rb +0 -60
- data/spec/models/v1beta1_virtual_machine_snapshot_content_spec_spec.rb +0 -48
- data/spec/models/v1beta1_virtual_machine_snapshot_content_status_spec.rb +0 -54
- data/spec/models/v1beta1_virtual_machine_snapshot_list_spec.rb +0 -54
- data/spec/models/v1beta1_virtual_machine_snapshot_spec.rb +0 -60
- data/spec/models/v1beta1_virtual_machine_snapshot_spec_spec.rb +0 -48
- data/spec/models/v1beta1_virtual_machine_snapshot_status_spec.rb +0 -90
- data/spec/models/v1beta1_virtual_machine_spec.rb +0 -48
- data/spec/models/v1beta1_virtual_machine_template_spec_spec.rb +0 -42
- data/spec/models/v1beta1_volume_backup_spec.rb +0 -48
- data/spec/models/v1beta1_volume_preferences_spec.rb +0 -36
- data/spec/models/v1beta1_volume_restore_override_spec.rb +0 -54
- data/spec/models/v1beta1_volume_restore_spec.rb +0 -54
- data/spec/models/v1beta1_volume_snapshot_status_spec.rb +0 -54
- data/spec/spec_helper.rb +0 -111
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: 1.0.0
|
|
7
7
|
Contact: kubevirt-dev@googlegroups.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.
|
|
9
|
+
Generator version: 7.24.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -113,7 +113,7 @@ module Kubevirt
|
|
|
113
113
|
fail ArgumentError, "Missing the required parameter 'body' when calling DefaultApi.create_namespaced_kube_virt"
|
|
114
114
|
end
|
|
115
115
|
# resource path
|
|
116
|
-
local_var_path = '/apis/kubevirt.io/v1/namespaces/{namespace}/kubevirt'.sub('{
|
|
116
|
+
local_var_path = '/apis/kubevirt.io/v1/namespaces/{namespace}/kubevirt'.sub('{namespace}', CGI.escape(namespace.to_s))
|
|
117
117
|
|
|
118
118
|
# query parameters
|
|
119
119
|
query_params = opts[:query_params] || {}
|
|
@@ -185,7 +185,7 @@ module Kubevirt
|
|
|
185
185
|
fail ArgumentError, "Missing the required parameter 'body' when calling DefaultApi.create_namespaced_virtual_machine"
|
|
186
186
|
end
|
|
187
187
|
# resource path
|
|
188
|
-
local_var_path = '/apis/kubevirt.io/v1/namespaces/{namespace}/virtualmachines'.sub('{
|
|
188
|
+
local_var_path = '/apis/kubevirt.io/v1/namespaces/{namespace}/virtualmachines'.sub('{namespace}', CGI.escape(namespace.to_s))
|
|
189
189
|
|
|
190
190
|
# query parameters
|
|
191
191
|
query_params = opts[:query_params] || {}
|
|
@@ -229,11 +229,83 @@ module Kubevirt
|
|
|
229
229
|
return data, status_code, headers
|
|
230
230
|
end
|
|
231
231
|
|
|
232
|
+
# Create a VirtualMachineBackup object.
|
|
233
|
+
# @param namespace [String] Object name and auth scope, such as for teams and projects
|
|
234
|
+
# @param body [V1alpha1VirtualMachineBackup]
|
|
235
|
+
# @param [Hash] opts the optional parameters
|
|
236
|
+
# @return [V1alpha1VirtualMachineBackup]
|
|
237
|
+
def create_namespaced_virtual_machine_backup(namespace, body, opts = {})
|
|
238
|
+
data, _status_code, _headers = create_namespaced_virtual_machine_backup_with_http_info(namespace, body, opts)
|
|
239
|
+
data
|
|
240
|
+
end
|
|
241
|
+
|
|
242
|
+
# Create a VirtualMachineBackup object.
|
|
243
|
+
# @param namespace [String] Object name and auth scope, such as for teams and projects
|
|
244
|
+
# @param body [V1alpha1VirtualMachineBackup]
|
|
245
|
+
# @param [Hash] opts the optional parameters
|
|
246
|
+
# @return [Array<(V1alpha1VirtualMachineBackup, Integer, Hash)>] V1alpha1VirtualMachineBackup data, response status code and response headers
|
|
247
|
+
def create_namespaced_virtual_machine_backup_with_http_info(namespace, body, opts = {})
|
|
248
|
+
if @api_client.config.debugging
|
|
249
|
+
@api_client.config.logger.debug 'Calling API: DefaultApi.create_namespaced_virtual_machine_backup ...'
|
|
250
|
+
end
|
|
251
|
+
# verify the required parameter 'namespace' is set
|
|
252
|
+
if @api_client.config.client_side_validation && namespace.nil?
|
|
253
|
+
fail ArgumentError, "Missing the required parameter 'namespace' when calling DefaultApi.create_namespaced_virtual_machine_backup"
|
|
254
|
+
end
|
|
255
|
+
# verify the required parameter 'body' is set
|
|
256
|
+
if @api_client.config.client_side_validation && body.nil?
|
|
257
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling DefaultApi.create_namespaced_virtual_machine_backup"
|
|
258
|
+
end
|
|
259
|
+
# resource path
|
|
260
|
+
local_var_path = '/apis/backup.kubevirt.io/v1alpha1/namespaces/{namespace}/virtualmachinebackups'.sub('{namespace}', CGI.escape(namespace.to_s))
|
|
261
|
+
|
|
262
|
+
# query parameters
|
|
263
|
+
query_params = opts[:query_params] || {}
|
|
264
|
+
|
|
265
|
+
# header parameters
|
|
266
|
+
header_params = opts[:header_params] || {}
|
|
267
|
+
# HTTP header 'Accept' (if needed)
|
|
268
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml']) unless header_params['Accept']
|
|
269
|
+
# HTTP header 'Content-Type'
|
|
270
|
+
content_type = @api_client.select_header_content_type(['application/json', 'application/yaml'])
|
|
271
|
+
if !content_type.nil?
|
|
272
|
+
header_params['Content-Type'] = content_type
|
|
273
|
+
end
|
|
274
|
+
|
|
275
|
+
# form parameters
|
|
276
|
+
form_params = opts[:form_params] || {}
|
|
277
|
+
|
|
278
|
+
# http body (model)
|
|
279
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
|
280
|
+
|
|
281
|
+
# return_type
|
|
282
|
+
return_type = opts[:debug_return_type] || 'V1alpha1VirtualMachineBackup'
|
|
283
|
+
|
|
284
|
+
# auth_names
|
|
285
|
+
auth_names = opts[:debug_auth_names] || []
|
|
286
|
+
|
|
287
|
+
new_options = opts.merge(
|
|
288
|
+
:operation => :"DefaultApi.create_namespaced_virtual_machine_backup",
|
|
289
|
+
:header_params => header_params,
|
|
290
|
+
:query_params => query_params,
|
|
291
|
+
:form_params => form_params,
|
|
292
|
+
:body => post_body,
|
|
293
|
+
:auth_names => auth_names,
|
|
294
|
+
:return_type => return_type
|
|
295
|
+
)
|
|
296
|
+
|
|
297
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
298
|
+
if @api_client.config.debugging
|
|
299
|
+
@api_client.config.logger.debug "API called: DefaultApi#create_namespaced_virtual_machine_backup\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
300
|
+
end
|
|
301
|
+
return data, status_code, headers
|
|
302
|
+
end
|
|
303
|
+
|
|
232
304
|
# Create a VirtualMachineExport object.
|
|
233
305
|
# @param namespace [String] Object name and auth scope, such as for teams and projects
|
|
234
|
-
# @param body [
|
|
306
|
+
# @param body [V1VirtualMachineExport]
|
|
235
307
|
# @param [Hash] opts the optional parameters
|
|
236
|
-
# @return [
|
|
308
|
+
# @return [V1VirtualMachineExport]
|
|
237
309
|
def create_namespaced_virtual_machine_export(namespace, body, opts = {})
|
|
238
310
|
data, _status_code, _headers = create_namespaced_virtual_machine_export_with_http_info(namespace, body, opts)
|
|
239
311
|
data
|
|
@@ -241,9 +313,9 @@ module Kubevirt
|
|
|
241
313
|
|
|
242
314
|
# Create a VirtualMachineExport object.
|
|
243
315
|
# @param namespace [String] Object name and auth scope, such as for teams and projects
|
|
244
|
-
# @param body [
|
|
316
|
+
# @param body [V1VirtualMachineExport]
|
|
245
317
|
# @param [Hash] opts the optional parameters
|
|
246
|
-
# @return [Array<(
|
|
318
|
+
# @return [Array<(V1VirtualMachineExport, Integer, Hash)>] V1VirtualMachineExport data, response status code and response headers
|
|
247
319
|
def create_namespaced_virtual_machine_export_with_http_info(namespace, body, opts = {})
|
|
248
320
|
if @api_client.config.debugging
|
|
249
321
|
@api_client.config.logger.debug 'Calling API: DefaultApi.create_namespaced_virtual_machine_export ...'
|
|
@@ -257,7 +329,7 @@ module Kubevirt
|
|
|
257
329
|
fail ArgumentError, "Missing the required parameter 'body' when calling DefaultApi.create_namespaced_virtual_machine_export"
|
|
258
330
|
end
|
|
259
331
|
# resource path
|
|
260
|
-
local_var_path = '/apis/export.kubevirt.io/
|
|
332
|
+
local_var_path = '/apis/export.kubevirt.io/v1/namespaces/{namespace}/virtualmachineexports'.sub('{namespace}', CGI.escape(namespace.to_s))
|
|
261
333
|
|
|
262
334
|
# query parameters
|
|
263
335
|
query_params = opts[:query_params] || {}
|
|
@@ -279,7 +351,7 @@ module Kubevirt
|
|
|
279
351
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
|
280
352
|
|
|
281
353
|
# return_type
|
|
282
|
-
return_type = opts[:debug_return_type] || '
|
|
354
|
+
return_type = opts[:debug_return_type] || 'V1VirtualMachineExport'
|
|
283
355
|
|
|
284
356
|
# auth_names
|
|
285
357
|
auth_names = opts[:debug_auth_names] || []
|
|
@@ -329,7 +401,7 @@ module Kubevirt
|
|
|
329
401
|
fail ArgumentError, "Missing the required parameter 'body' when calling DefaultApi.create_namespaced_virtual_machine_instance"
|
|
330
402
|
end
|
|
331
403
|
# resource path
|
|
332
|
-
local_var_path = '/apis/kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstances'.sub('{
|
|
404
|
+
local_var_path = '/apis/kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstances'.sub('{namespace}', CGI.escape(namespace.to_s))
|
|
333
405
|
|
|
334
406
|
# query parameters
|
|
335
407
|
query_params = opts[:query_params] || {}
|
|
@@ -401,7 +473,7 @@ module Kubevirt
|
|
|
401
473
|
fail ArgumentError, "Missing the required parameter 'body' when calling DefaultApi.create_namespaced_virtual_machine_instance_migration"
|
|
402
474
|
end
|
|
403
475
|
# resource path
|
|
404
|
-
local_var_path = '/apis/kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstancemigrations'.sub('{
|
|
476
|
+
local_var_path = '/apis/kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstancemigrations'.sub('{namespace}', CGI.escape(namespace.to_s))
|
|
405
477
|
|
|
406
478
|
# query parameters
|
|
407
479
|
query_params = opts[:query_params] || {}
|
|
@@ -473,7 +545,7 @@ module Kubevirt
|
|
|
473
545
|
fail ArgumentError, "Missing the required parameter 'body' when calling DefaultApi.create_namespaced_virtual_machine_instance_preset"
|
|
474
546
|
end
|
|
475
547
|
# resource path
|
|
476
|
-
local_var_path = '/apis/kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstancepresets'.sub('{
|
|
548
|
+
local_var_path = '/apis/kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstancepresets'.sub('{namespace}', CGI.escape(namespace.to_s))
|
|
477
549
|
|
|
478
550
|
# query parameters
|
|
479
551
|
query_params = opts[:query_params] || {}
|
|
@@ -545,7 +617,7 @@ module Kubevirt
|
|
|
545
617
|
fail ArgumentError, "Missing the required parameter 'body' when calling DefaultApi.create_namespaced_virtual_machine_instance_replica_set"
|
|
546
618
|
end
|
|
547
619
|
# resource path
|
|
548
|
-
local_var_path = '/apis/kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstancereplicasets'.sub('{
|
|
620
|
+
local_var_path = '/apis/kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstancereplicasets'.sub('{namespace}', CGI.escape(namespace.to_s))
|
|
549
621
|
|
|
550
622
|
# query parameters
|
|
551
623
|
query_params = opts[:query_params] || {}
|
|
@@ -617,7 +689,7 @@ module Kubevirt
|
|
|
617
689
|
fail ArgumentError, "Missing the required parameter 'body' when calling DefaultApi.create_namespaced_virtual_machine_instancetype"
|
|
618
690
|
end
|
|
619
691
|
# resource path
|
|
620
|
-
local_var_path = '/apis/instancetype.kubevirt.io/v1beta1/namespaces/{namespace}/virtualmachineinstancetypes'.sub('{
|
|
692
|
+
local_var_path = '/apis/instancetype.kubevirt.io/v1beta1/namespaces/{namespace}/virtualmachineinstancetypes'.sub('{namespace}', CGI.escape(namespace.to_s))
|
|
621
693
|
|
|
622
694
|
# query parameters
|
|
623
695
|
query_params = opts[:query_params] || {}
|
|
@@ -689,7 +761,7 @@ module Kubevirt
|
|
|
689
761
|
fail ArgumentError, "Missing the required parameter 'body' when calling DefaultApi.create_namespaced_virtual_machine_pool"
|
|
690
762
|
end
|
|
691
763
|
# resource path
|
|
692
|
-
local_var_path = '/apis/pool.kubevirt.io/v1beta1/namespaces/{namespace}/virtualmachinepools'.sub('{
|
|
764
|
+
local_var_path = '/apis/pool.kubevirt.io/v1beta1/namespaces/{namespace}/virtualmachinepools'.sub('{namespace}', CGI.escape(namespace.to_s))
|
|
693
765
|
|
|
694
766
|
# query parameters
|
|
695
767
|
query_params = opts[:query_params] || {}
|
|
@@ -761,7 +833,7 @@ module Kubevirt
|
|
|
761
833
|
fail ArgumentError, "Missing the required parameter 'body' when calling DefaultApi.create_namespaced_virtual_machine_preference"
|
|
762
834
|
end
|
|
763
835
|
# resource path
|
|
764
|
-
local_var_path = '/apis/instancetype.kubevirt.io/v1beta1/namespaces/{namespace}/virtualmachinepreferences'.sub('{
|
|
836
|
+
local_var_path = '/apis/instancetype.kubevirt.io/v1beta1/namespaces/{namespace}/virtualmachinepreferences'.sub('{namespace}', CGI.escape(namespace.to_s))
|
|
765
837
|
|
|
766
838
|
# query parameters
|
|
767
839
|
query_params = opts[:query_params] || {}
|
|
@@ -833,7 +905,7 @@ module Kubevirt
|
|
|
833
905
|
fail ArgumentError, "Missing the required parameter 'body' when calling DefaultApi.create_namespaced_virtual_machine_restore"
|
|
834
906
|
end
|
|
835
907
|
# resource path
|
|
836
|
-
local_var_path = '/apis/snapshot.kubevirt.io/v1beta1/namespaces/{namespace}/virtualmachinerestores'.sub('{
|
|
908
|
+
local_var_path = '/apis/snapshot.kubevirt.io/v1beta1/namespaces/{namespace}/virtualmachinerestores'.sub('{namespace}', CGI.escape(namespace.to_s))
|
|
837
909
|
|
|
838
910
|
# query parameters
|
|
839
911
|
query_params = opts[:query_params] || {}
|
|
@@ -905,7 +977,7 @@ module Kubevirt
|
|
|
905
977
|
fail ArgumentError, "Missing the required parameter 'body' when calling DefaultApi.create_namespaced_virtual_machine_snapshot"
|
|
906
978
|
end
|
|
907
979
|
# resource path
|
|
908
|
-
local_var_path = '/apis/snapshot.kubevirt.io/v1beta1/namespaces/{namespace}/virtualmachinesnapshots'.sub('{
|
|
980
|
+
local_var_path = '/apis/snapshot.kubevirt.io/v1beta1/namespaces/{namespace}/virtualmachinesnapshots'.sub('{namespace}', CGI.escape(namespace.to_s))
|
|
909
981
|
|
|
910
982
|
# query parameters
|
|
911
983
|
query_params = opts[:query_params] || {}
|
|
@@ -977,7 +1049,7 @@ module Kubevirt
|
|
|
977
1049
|
fail ArgumentError, "Missing the required parameter 'body' when calling DefaultApi.create_namespaced_virtual_machine_snapshot_content"
|
|
978
1050
|
end
|
|
979
1051
|
# resource path
|
|
980
|
-
local_var_path = '/apis/snapshot.kubevirt.io/v1beta1/namespaces/{namespace}/virtualmachinesnapshotcontents'.sub('{
|
|
1052
|
+
local_var_path = '/apis/snapshot.kubevirt.io/v1beta1/namespaces/{namespace}/virtualmachinesnapshotcontents'.sub('{namespace}', CGI.escape(namespace.to_s))
|
|
981
1053
|
|
|
982
1054
|
# query parameters
|
|
983
1055
|
query_params = opts[:query_params] || {}
|
|
@@ -1456,6 +1528,85 @@ module Kubevirt
|
|
|
1456
1528
|
return data, status_code, headers
|
|
1457
1529
|
end
|
|
1458
1530
|
|
|
1531
|
+
# Delete a collection of VirtualMachineBackup objects.
|
|
1532
|
+
# @param [Hash] opts the optional parameters
|
|
1533
|
+
# @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
|
|
1534
|
+
# @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything.
|
|
1535
|
+
# @option opts [Boolean] :include_uninitialized If true, partially initialized resources are included in the response.
|
|
1536
|
+
# @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything
|
|
1537
|
+
# @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.
|
|
1538
|
+
# @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.
|
|
1539
|
+
# @option opts [Integer] :timeout_seconds TimeoutSeconds for the list/watch call.
|
|
1540
|
+
# @option opts [Boolean] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
|
|
1541
|
+
# @return [K8sIoApimachineryPkgApisMetaV1Status]
|
|
1542
|
+
def delete_collection_namespaced_virtual_machine_backup(opts = {})
|
|
1543
|
+
data, _status_code, _headers = delete_collection_namespaced_virtual_machine_backup_with_http_info(opts)
|
|
1544
|
+
data
|
|
1545
|
+
end
|
|
1546
|
+
|
|
1547
|
+
# Delete a collection of VirtualMachineBackup objects.
|
|
1548
|
+
# @param [Hash] opts the optional parameters
|
|
1549
|
+
# @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
|
|
1550
|
+
# @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything.
|
|
1551
|
+
# @option opts [Boolean] :include_uninitialized If true, partially initialized resources are included in the response.
|
|
1552
|
+
# @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything
|
|
1553
|
+
# @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.
|
|
1554
|
+
# @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.
|
|
1555
|
+
# @option opts [Integer] :timeout_seconds TimeoutSeconds for the list/watch call.
|
|
1556
|
+
# @option opts [Boolean] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
|
|
1557
|
+
# @return [Array<(K8sIoApimachineryPkgApisMetaV1Status, Integer, Hash)>] K8sIoApimachineryPkgApisMetaV1Status data, response status code and response headers
|
|
1558
|
+
def delete_collection_namespaced_virtual_machine_backup_with_http_info(opts = {})
|
|
1559
|
+
if @api_client.config.debugging
|
|
1560
|
+
@api_client.config.logger.debug 'Calling API: DefaultApi.delete_collection_namespaced_virtual_machine_backup ...'
|
|
1561
|
+
end
|
|
1562
|
+
# resource path
|
|
1563
|
+
local_var_path = '/apis/backup.kubevirt.io/v1alpha1/namespaces/{namespace}/virtualmachinebackups'
|
|
1564
|
+
|
|
1565
|
+
# query parameters
|
|
1566
|
+
query_params = opts[:query_params] || {}
|
|
1567
|
+
query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil?
|
|
1568
|
+
query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil?
|
|
1569
|
+
query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil?
|
|
1570
|
+
query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil?
|
|
1571
|
+
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
1572
|
+
query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil?
|
|
1573
|
+
query_params[:'timeoutSeconds'] = opts[:'timeout_seconds'] if !opts[:'timeout_seconds'].nil?
|
|
1574
|
+
query_params[:'watch'] = opts[:'watch'] if !opts[:'watch'].nil?
|
|
1575
|
+
|
|
1576
|
+
# header parameters
|
|
1577
|
+
header_params = opts[:header_params] || {}
|
|
1578
|
+
# HTTP header 'Accept' (if needed)
|
|
1579
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml']) unless header_params['Accept']
|
|
1580
|
+
|
|
1581
|
+
# form parameters
|
|
1582
|
+
form_params = opts[:form_params] || {}
|
|
1583
|
+
|
|
1584
|
+
# http body (model)
|
|
1585
|
+
post_body = opts[:debug_body]
|
|
1586
|
+
|
|
1587
|
+
# return_type
|
|
1588
|
+
return_type = opts[:debug_return_type] || 'K8sIoApimachineryPkgApisMetaV1Status'
|
|
1589
|
+
|
|
1590
|
+
# auth_names
|
|
1591
|
+
auth_names = opts[:debug_auth_names] || []
|
|
1592
|
+
|
|
1593
|
+
new_options = opts.merge(
|
|
1594
|
+
:operation => :"DefaultApi.delete_collection_namespaced_virtual_machine_backup",
|
|
1595
|
+
:header_params => header_params,
|
|
1596
|
+
:query_params => query_params,
|
|
1597
|
+
:form_params => form_params,
|
|
1598
|
+
:body => post_body,
|
|
1599
|
+
:auth_names => auth_names,
|
|
1600
|
+
:return_type => return_type
|
|
1601
|
+
)
|
|
1602
|
+
|
|
1603
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
|
|
1604
|
+
if @api_client.config.debugging
|
|
1605
|
+
@api_client.config.logger.debug "API called: DefaultApi#delete_collection_namespaced_virtual_machine_backup\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1606
|
+
end
|
|
1607
|
+
return data, status_code, headers
|
|
1608
|
+
end
|
|
1609
|
+
|
|
1459
1610
|
# Delete a collection of VirtualMachineExport objects.
|
|
1460
1611
|
# @param [Hash] opts the optional parameters
|
|
1461
1612
|
# @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
|
|
@@ -1488,7 +1639,7 @@ module Kubevirt
|
|
|
1488
1639
|
@api_client.config.logger.debug 'Calling API: DefaultApi.delete_collection_namespaced_virtual_machine_export ...'
|
|
1489
1640
|
end
|
|
1490
1641
|
# resource path
|
|
1491
|
-
local_var_path = '/apis/export.kubevirt.io/
|
|
1642
|
+
local_var_path = '/apis/export.kubevirt.io/v1/namespaces/{namespace}/virtualmachineexports'
|
|
1492
1643
|
|
|
1493
1644
|
# query parameters
|
|
1494
1645
|
query_params = opts[:query_params] || {}
|
|
@@ -2596,7 +2747,7 @@ module Kubevirt
|
|
|
2596
2747
|
fail ArgumentError, "Missing the required parameter 'body' when calling DefaultApi.delete_migration_policy"
|
|
2597
2748
|
end
|
|
2598
2749
|
# resource path
|
|
2599
|
-
local_var_path = '/apis/migrations.kubevirt.io/v1alpha1/migrationpolicies/{name}'.sub('{
|
|
2750
|
+
local_var_path = '/apis/migrations.kubevirt.io/v1alpha1/migrationpolicies/{name}'.sub('{name}', CGI.escape(name.to_s))
|
|
2600
2751
|
|
|
2601
2752
|
# query parameters
|
|
2602
2753
|
query_params = opts[:query_params] || {}
|
|
@@ -2683,7 +2834,7 @@ module Kubevirt
|
|
|
2683
2834
|
fail ArgumentError, "Missing the required parameter 'body' when calling DefaultApi.delete_namespaced_kube_virt"
|
|
2684
2835
|
end
|
|
2685
2836
|
# resource path
|
|
2686
|
-
local_var_path = '/apis/kubevirt.io/v1/namespaces/{namespace}/kubevirt/{name}'.sub('{
|
|
2837
|
+
local_var_path = '/apis/kubevirt.io/v1/namespaces/{namespace}/kubevirt/{name}'.sub('{name}', CGI.escape(name.to_s)).sub('{namespace}', CGI.escape(namespace.to_s))
|
|
2687
2838
|
|
|
2688
2839
|
# query parameters
|
|
2689
2840
|
query_params = opts[:query_params] || {}
|
|
@@ -2770,7 +2921,7 @@ module Kubevirt
|
|
|
2770
2921
|
fail ArgumentError, "Missing the required parameter 'body' when calling DefaultApi.delete_namespaced_virtual_machine"
|
|
2771
2922
|
end
|
|
2772
2923
|
# resource path
|
|
2773
|
-
local_var_path = '/apis/kubevirt.io/v1/namespaces/{namespace}/virtualmachines/{name}'.sub('{
|
|
2924
|
+
local_var_path = '/apis/kubevirt.io/v1/namespaces/{namespace}/virtualmachines/{name}'.sub('{name}', CGI.escape(name.to_s)).sub('{namespace}', CGI.escape(namespace.to_s))
|
|
2774
2925
|
|
|
2775
2926
|
# query parameters
|
|
2776
2927
|
query_params = opts[:query_params] || {}
|
|
@@ -2817,6 +2968,93 @@ module Kubevirt
|
|
|
2817
2968
|
return data, status_code, headers
|
|
2818
2969
|
end
|
|
2819
2970
|
|
|
2971
|
+
# Delete a VirtualMachineBackup object.
|
|
2972
|
+
# @param name [String] Name of the resource
|
|
2973
|
+
# @param namespace [String] Object name and auth scope, such as for teams and projects
|
|
2974
|
+
# @param body [K8sIoApimachineryPkgApisMetaV1DeleteOptions]
|
|
2975
|
+
# @param [Hash] opts the optional parameters
|
|
2976
|
+
# @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.
|
|
2977
|
+
# @option opts [Boolean] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.
|
|
2978
|
+
# @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.
|
|
2979
|
+
# @return [K8sIoApimachineryPkgApisMetaV1Status]
|
|
2980
|
+
def delete_namespaced_virtual_machine_backup(name, namespace, body, opts = {})
|
|
2981
|
+
data, _status_code, _headers = delete_namespaced_virtual_machine_backup_with_http_info(name, namespace, body, opts)
|
|
2982
|
+
data
|
|
2983
|
+
end
|
|
2984
|
+
|
|
2985
|
+
# Delete a VirtualMachineBackup object.
|
|
2986
|
+
# @param name [String] Name of the resource
|
|
2987
|
+
# @param namespace [String] Object name and auth scope, such as for teams and projects
|
|
2988
|
+
# @param body [K8sIoApimachineryPkgApisMetaV1DeleteOptions]
|
|
2989
|
+
# @param [Hash] opts the optional parameters
|
|
2990
|
+
# @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.
|
|
2991
|
+
# @option opts [Boolean] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.
|
|
2992
|
+
# @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.
|
|
2993
|
+
# @return [Array<(K8sIoApimachineryPkgApisMetaV1Status, Integer, Hash)>] K8sIoApimachineryPkgApisMetaV1Status data, response status code and response headers
|
|
2994
|
+
def delete_namespaced_virtual_machine_backup_with_http_info(name, namespace, body, opts = {})
|
|
2995
|
+
if @api_client.config.debugging
|
|
2996
|
+
@api_client.config.logger.debug 'Calling API: DefaultApi.delete_namespaced_virtual_machine_backup ...'
|
|
2997
|
+
end
|
|
2998
|
+
# verify the required parameter 'name' is set
|
|
2999
|
+
if @api_client.config.client_side_validation && name.nil?
|
|
3000
|
+
fail ArgumentError, "Missing the required parameter 'name' when calling DefaultApi.delete_namespaced_virtual_machine_backup"
|
|
3001
|
+
end
|
|
3002
|
+
# verify the required parameter 'namespace' is set
|
|
3003
|
+
if @api_client.config.client_side_validation && namespace.nil?
|
|
3004
|
+
fail ArgumentError, "Missing the required parameter 'namespace' when calling DefaultApi.delete_namespaced_virtual_machine_backup"
|
|
3005
|
+
end
|
|
3006
|
+
# verify the required parameter 'body' is set
|
|
3007
|
+
if @api_client.config.client_side_validation && body.nil?
|
|
3008
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling DefaultApi.delete_namespaced_virtual_machine_backup"
|
|
3009
|
+
end
|
|
3010
|
+
# resource path
|
|
3011
|
+
local_var_path = '/apis/backup.kubevirt.io/v1alpha1/namespaces/{namespace}/virtualmachinebackups/{name}'.sub('{name}', CGI.escape(name.to_s)).sub('{namespace}', CGI.escape(namespace.to_s))
|
|
3012
|
+
|
|
3013
|
+
# query parameters
|
|
3014
|
+
query_params = opts[:query_params] || {}
|
|
3015
|
+
query_params[:'gracePeriodSeconds'] = opts[:'grace_period_seconds'] if !opts[:'grace_period_seconds'].nil?
|
|
3016
|
+
query_params[:'orphanDependents'] = opts[:'orphan_dependents'] if !opts[:'orphan_dependents'].nil?
|
|
3017
|
+
query_params[:'propagationPolicy'] = opts[:'propagation_policy'] if !opts[:'propagation_policy'].nil?
|
|
3018
|
+
|
|
3019
|
+
# header parameters
|
|
3020
|
+
header_params = opts[:header_params] || {}
|
|
3021
|
+
# HTTP header 'Accept' (if needed)
|
|
3022
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml']) unless header_params['Accept']
|
|
3023
|
+
# HTTP header 'Content-Type'
|
|
3024
|
+
content_type = @api_client.select_header_content_type(['application/json', 'application/yaml'])
|
|
3025
|
+
if !content_type.nil?
|
|
3026
|
+
header_params['Content-Type'] = content_type
|
|
3027
|
+
end
|
|
3028
|
+
|
|
3029
|
+
# form parameters
|
|
3030
|
+
form_params = opts[:form_params] || {}
|
|
3031
|
+
|
|
3032
|
+
# http body (model)
|
|
3033
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
|
3034
|
+
|
|
3035
|
+
# return_type
|
|
3036
|
+
return_type = opts[:debug_return_type] || 'K8sIoApimachineryPkgApisMetaV1Status'
|
|
3037
|
+
|
|
3038
|
+
# auth_names
|
|
3039
|
+
auth_names = opts[:debug_auth_names] || []
|
|
3040
|
+
|
|
3041
|
+
new_options = opts.merge(
|
|
3042
|
+
:operation => :"DefaultApi.delete_namespaced_virtual_machine_backup",
|
|
3043
|
+
:header_params => header_params,
|
|
3044
|
+
:query_params => query_params,
|
|
3045
|
+
:form_params => form_params,
|
|
3046
|
+
:body => post_body,
|
|
3047
|
+
:auth_names => auth_names,
|
|
3048
|
+
:return_type => return_type
|
|
3049
|
+
)
|
|
3050
|
+
|
|
3051
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
|
|
3052
|
+
if @api_client.config.debugging
|
|
3053
|
+
@api_client.config.logger.debug "API called: DefaultApi#delete_namespaced_virtual_machine_backup\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
3054
|
+
end
|
|
3055
|
+
return data, status_code, headers
|
|
3056
|
+
end
|
|
3057
|
+
|
|
2820
3058
|
# Delete a VirtualMachineExport object.
|
|
2821
3059
|
# @param name [String] Name of the resource
|
|
2822
3060
|
# @param namespace [String] Object name and auth scope, such as for teams and projects
|
|
@@ -2857,7 +3095,7 @@ module Kubevirt
|
|
|
2857
3095
|
fail ArgumentError, "Missing the required parameter 'body' when calling DefaultApi.delete_namespaced_virtual_machine_export"
|
|
2858
3096
|
end
|
|
2859
3097
|
# resource path
|
|
2860
|
-
local_var_path = '/apis/export.kubevirt.io/
|
|
3098
|
+
local_var_path = '/apis/export.kubevirt.io/v1/namespaces/{namespace}/virtualmachineexports/{name}'.sub('{name}', CGI.escape(name.to_s)).sub('{namespace}', CGI.escape(namespace.to_s))
|
|
2861
3099
|
|
|
2862
3100
|
# query parameters
|
|
2863
3101
|
query_params = opts[:query_params] || {}
|
|
@@ -2944,7 +3182,7 @@ module Kubevirt
|
|
|
2944
3182
|
fail ArgumentError, "Missing the required parameter 'body' when calling DefaultApi.delete_namespaced_virtual_machine_instance"
|
|
2945
3183
|
end
|
|
2946
3184
|
# resource path
|
|
2947
|
-
local_var_path = '/apis/kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstances/{name}'.sub('{
|
|
3185
|
+
local_var_path = '/apis/kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstances/{name}'.sub('{name}', CGI.escape(name.to_s)).sub('{namespace}', CGI.escape(namespace.to_s))
|
|
2948
3186
|
|
|
2949
3187
|
# query parameters
|
|
2950
3188
|
query_params = opts[:query_params] || {}
|
|
@@ -3031,7 +3269,7 @@ module Kubevirt
|
|
|
3031
3269
|
fail ArgumentError, "Missing the required parameter 'body' when calling DefaultApi.delete_namespaced_virtual_machine_instance_migration"
|
|
3032
3270
|
end
|
|
3033
3271
|
# resource path
|
|
3034
|
-
local_var_path = '/apis/kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstancemigrations/{name}'.sub('{
|
|
3272
|
+
local_var_path = '/apis/kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstancemigrations/{name}'.sub('{name}', CGI.escape(name.to_s)).sub('{namespace}', CGI.escape(namespace.to_s))
|
|
3035
3273
|
|
|
3036
3274
|
# query parameters
|
|
3037
3275
|
query_params = opts[:query_params] || {}
|
|
@@ -3118,7 +3356,7 @@ module Kubevirt
|
|
|
3118
3356
|
fail ArgumentError, "Missing the required parameter 'body' when calling DefaultApi.delete_namespaced_virtual_machine_instance_preset"
|
|
3119
3357
|
end
|
|
3120
3358
|
# resource path
|
|
3121
|
-
local_var_path = '/apis/kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstancepresets/{name}'.sub('{
|
|
3359
|
+
local_var_path = '/apis/kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstancepresets/{name}'.sub('{name}', CGI.escape(name.to_s)).sub('{namespace}', CGI.escape(namespace.to_s))
|
|
3122
3360
|
|
|
3123
3361
|
# query parameters
|
|
3124
3362
|
query_params = opts[:query_params] || {}
|
|
@@ -3205,7 +3443,7 @@ module Kubevirt
|
|
|
3205
3443
|
fail ArgumentError, "Missing the required parameter 'body' when calling DefaultApi.delete_namespaced_virtual_machine_instance_replica_set"
|
|
3206
3444
|
end
|
|
3207
3445
|
# resource path
|
|
3208
|
-
local_var_path = '/apis/kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstancereplicasets/{name}'.sub('{
|
|
3446
|
+
local_var_path = '/apis/kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstancereplicasets/{name}'.sub('{name}', CGI.escape(name.to_s)).sub('{namespace}', CGI.escape(namespace.to_s))
|
|
3209
3447
|
|
|
3210
3448
|
# query parameters
|
|
3211
3449
|
query_params = opts[:query_params] || {}
|
|
@@ -3292,7 +3530,7 @@ module Kubevirt
|
|
|
3292
3530
|
fail ArgumentError, "Missing the required parameter 'body' when calling DefaultApi.delete_namespaced_virtual_machine_instancetype"
|
|
3293
3531
|
end
|
|
3294
3532
|
# resource path
|
|
3295
|
-
local_var_path = '/apis/instancetype.kubevirt.io/v1beta1/namespaces/{namespace}/virtualmachineinstancetypes/{name}'.sub('{
|
|
3533
|
+
local_var_path = '/apis/instancetype.kubevirt.io/v1beta1/namespaces/{namespace}/virtualmachineinstancetypes/{name}'.sub('{name}', CGI.escape(name.to_s)).sub('{namespace}', CGI.escape(namespace.to_s))
|
|
3296
3534
|
|
|
3297
3535
|
# query parameters
|
|
3298
3536
|
query_params = opts[:query_params] || {}
|
|
@@ -3379,7 +3617,7 @@ module Kubevirt
|
|
|
3379
3617
|
fail ArgumentError, "Missing the required parameter 'body' when calling DefaultApi.delete_namespaced_virtual_machine_pool"
|
|
3380
3618
|
end
|
|
3381
3619
|
# resource path
|
|
3382
|
-
local_var_path = '/apis/pool.kubevirt.io/v1beta1/namespaces/{namespace}/virtualmachinepools/{name}'.sub('{
|
|
3620
|
+
local_var_path = '/apis/pool.kubevirt.io/v1beta1/namespaces/{namespace}/virtualmachinepools/{name}'.sub('{name}', CGI.escape(name.to_s)).sub('{namespace}', CGI.escape(namespace.to_s))
|
|
3383
3621
|
|
|
3384
3622
|
# query parameters
|
|
3385
3623
|
query_params = opts[:query_params] || {}
|
|
@@ -3466,7 +3704,7 @@ module Kubevirt
|
|
|
3466
3704
|
fail ArgumentError, "Missing the required parameter 'body' when calling DefaultApi.delete_namespaced_virtual_machine_preference"
|
|
3467
3705
|
end
|
|
3468
3706
|
# resource path
|
|
3469
|
-
local_var_path = '/apis/instancetype.kubevirt.io/v1beta1/namespaces/{namespace}/virtualmachinepreferences/{name}'.sub('{
|
|
3707
|
+
local_var_path = '/apis/instancetype.kubevirt.io/v1beta1/namespaces/{namespace}/virtualmachinepreferences/{name}'.sub('{name}', CGI.escape(name.to_s)).sub('{namespace}', CGI.escape(namespace.to_s))
|
|
3470
3708
|
|
|
3471
3709
|
# query parameters
|
|
3472
3710
|
query_params = opts[:query_params] || {}
|
|
@@ -3553,7 +3791,7 @@ module Kubevirt
|
|
|
3553
3791
|
fail ArgumentError, "Missing the required parameter 'body' when calling DefaultApi.delete_namespaced_virtual_machine_restore"
|
|
3554
3792
|
end
|
|
3555
3793
|
# resource path
|
|
3556
|
-
local_var_path = '/apis/snapshot.kubevirt.io/v1beta1/namespaces/{namespace}/virtualmachinerestores/{name}'.sub('{
|
|
3794
|
+
local_var_path = '/apis/snapshot.kubevirt.io/v1beta1/namespaces/{namespace}/virtualmachinerestores/{name}'.sub('{name}', CGI.escape(name.to_s)).sub('{namespace}', CGI.escape(namespace.to_s))
|
|
3557
3795
|
|
|
3558
3796
|
# query parameters
|
|
3559
3797
|
query_params = opts[:query_params] || {}
|
|
@@ -3640,7 +3878,7 @@ module Kubevirt
|
|
|
3640
3878
|
fail ArgumentError, "Missing the required parameter 'body' when calling DefaultApi.delete_namespaced_virtual_machine_snapshot"
|
|
3641
3879
|
end
|
|
3642
3880
|
# resource path
|
|
3643
|
-
local_var_path = '/apis/snapshot.kubevirt.io/v1beta1/namespaces/{namespace}/virtualmachinesnapshots/{name}'.sub('{
|
|
3881
|
+
local_var_path = '/apis/snapshot.kubevirt.io/v1beta1/namespaces/{namespace}/virtualmachinesnapshots/{name}'.sub('{name}', CGI.escape(name.to_s)).sub('{namespace}', CGI.escape(namespace.to_s))
|
|
3644
3882
|
|
|
3645
3883
|
# query parameters
|
|
3646
3884
|
query_params = opts[:query_params] || {}
|
|
@@ -3727,7 +3965,7 @@ module Kubevirt
|
|
|
3727
3965
|
fail ArgumentError, "Missing the required parameter 'body' when calling DefaultApi.delete_namespaced_virtual_machine_snapshot_content"
|
|
3728
3966
|
end
|
|
3729
3967
|
# resource path
|
|
3730
|
-
local_var_path = '/apis/snapshot.kubevirt.io/v1beta1/namespaces/{namespace}/virtualmachinesnapshotcontents/{name}'.sub('{
|
|
3968
|
+
local_var_path = '/apis/snapshot.kubevirt.io/v1beta1/namespaces/{namespace}/virtualmachinesnapshotcontents/{name}'.sub('{name}', CGI.escape(name.to_s)).sub('{namespace}', CGI.escape(namespace.to_s))
|
|
3731
3969
|
|
|
3732
3970
|
# query parameters
|
|
3733
3971
|
query_params = opts[:query_params] || {}
|
|
@@ -3808,7 +4046,7 @@ module Kubevirt
|
|
|
3808
4046
|
fail ArgumentError, "Missing the required parameter 'body' when calling DefaultApi.delete_virtual_machine_clone"
|
|
3809
4047
|
end
|
|
3810
4048
|
# resource path
|
|
3811
|
-
local_var_path = '/apis/clone.kubevirt.io/v1beta1/virtualmachineclones/{name}'.sub('{
|
|
4049
|
+
local_var_path = '/apis/clone.kubevirt.io/v1beta1/virtualmachineclones/{name}'.sub('{name}', CGI.escape(name.to_s))
|
|
3812
4050
|
|
|
3813
4051
|
# query parameters
|
|
3814
4052
|
query_params = opts[:query_params] || {}
|
|
@@ -3889,7 +4127,7 @@ module Kubevirt
|
|
|
3889
4127
|
fail ArgumentError, "Missing the required parameter 'body' when calling DefaultApi.delete_virtual_machine_cluster_instancetype"
|
|
3890
4128
|
end
|
|
3891
4129
|
# resource path
|
|
3892
|
-
local_var_path = '/apis/instancetype.kubevirt.io/v1beta1/virtualmachineclusterinstancetypes/{name}'.sub('{
|
|
4130
|
+
local_var_path = '/apis/instancetype.kubevirt.io/v1beta1/virtualmachineclusterinstancetypes/{name}'.sub('{name}', CGI.escape(name.to_s))
|
|
3893
4131
|
|
|
3894
4132
|
# query parameters
|
|
3895
4133
|
query_params = opts[:query_params] || {}
|
|
@@ -3970,7 +4208,7 @@ module Kubevirt
|
|
|
3970
4208
|
fail ArgumentError, "Missing the required parameter 'body' when calling DefaultApi.delete_virtual_machine_cluster_preference"
|
|
3971
4209
|
end
|
|
3972
4210
|
# resource path
|
|
3973
|
-
local_var_path = '/apis/instancetype.kubevirt.io/v1beta1/virtualmachineclusterpreferences/{name}'.sub('{
|
|
4211
|
+
local_var_path = '/apis/instancetype.kubevirt.io/v1beta1/virtualmachineclusterpreferences/{name}'.sub('{name}', CGI.escape(name.to_s))
|
|
3974
4212
|
|
|
3975
4213
|
# query parameters
|
|
3976
4214
|
query_params = opts[:query_params] || {}
|
|
@@ -4020,17 +4258,17 @@ module Kubevirt
|
|
|
4020
4258
|
# Health endpoint
|
|
4021
4259
|
# @param [Hash] opts the optional parameters
|
|
4022
4260
|
# @return [nil]
|
|
4023
|
-
def
|
|
4024
|
-
|
|
4261
|
+
def func17(opts = {})
|
|
4262
|
+
func17_with_http_info(opts)
|
|
4025
4263
|
nil
|
|
4026
4264
|
end
|
|
4027
4265
|
|
|
4028
4266
|
# Health endpoint
|
|
4029
4267
|
# @param [Hash] opts the optional parameters
|
|
4030
4268
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
4031
|
-
def
|
|
4269
|
+
def func17_with_http_info(opts = {})
|
|
4032
4270
|
if @api_client.config.debugging
|
|
4033
|
-
@api_client.config.logger.debug 'Calling API: DefaultApi.
|
|
4271
|
+
@api_client.config.logger.debug 'Calling API: DefaultApi.func17 ...'
|
|
4034
4272
|
end
|
|
4035
4273
|
# resource path
|
|
4036
4274
|
local_var_path = '/healthz'
|
|
@@ -4054,7 +4292,7 @@ module Kubevirt
|
|
|
4054
4292
|
auth_names = opts[:debug_auth_names] || []
|
|
4055
4293
|
|
|
4056
4294
|
new_options = opts.merge(
|
|
4057
|
-
:operation => :"DefaultApi.
|
|
4295
|
+
:operation => :"DefaultApi.func17",
|
|
4058
4296
|
:header_params => header_params,
|
|
4059
4297
|
:query_params => query_params,
|
|
4060
4298
|
:form_params => form_params,
|
|
@@ -4065,7 +4303,7 @@ module Kubevirt
|
|
|
4065
4303
|
|
|
4066
4304
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
4067
4305
|
if @api_client.config.debugging
|
|
4068
|
-
@api_client.config.logger.debug "API called: DefaultApi#
|
|
4306
|
+
@api_client.config.logger.debug "API called: DefaultApi#func17\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
4069
4307
|
end
|
|
4070
4308
|
return data, status_code, headers
|
|
4071
4309
|
end
|
|
@@ -4121,6 +4359,61 @@ module Kubevirt
|
|
|
4121
4359
|
return data, status_code, headers
|
|
4122
4360
|
end
|
|
4123
4361
|
|
|
4362
|
+
# Get a KubeVirt API group
|
|
4363
|
+
# @param [Hash] opts the optional parameters
|
|
4364
|
+
# @return [K8sIoApimachineryPkgApisMetaV1APIGroup]
|
|
4365
|
+
def get_api_group_backup_kubevirt_io(opts = {})
|
|
4366
|
+
data, _status_code, _headers = get_api_group_backup_kubevirt_io_with_http_info(opts)
|
|
4367
|
+
data
|
|
4368
|
+
end
|
|
4369
|
+
|
|
4370
|
+
# Get a KubeVirt API group
|
|
4371
|
+
# @param [Hash] opts the optional parameters
|
|
4372
|
+
# @return [Array<(K8sIoApimachineryPkgApisMetaV1APIGroup, Integer, Hash)>] K8sIoApimachineryPkgApisMetaV1APIGroup data, response status code and response headers
|
|
4373
|
+
def get_api_group_backup_kubevirt_io_with_http_info(opts = {})
|
|
4374
|
+
if @api_client.config.debugging
|
|
4375
|
+
@api_client.config.logger.debug 'Calling API: DefaultApi.get_api_group_backup_kubevirt_io ...'
|
|
4376
|
+
end
|
|
4377
|
+
# resource path
|
|
4378
|
+
local_var_path = '/apis/backup.kubevirt.io/'
|
|
4379
|
+
|
|
4380
|
+
# query parameters
|
|
4381
|
+
query_params = opts[:query_params] || {}
|
|
4382
|
+
|
|
4383
|
+
# header parameters
|
|
4384
|
+
header_params = opts[:header_params] || {}
|
|
4385
|
+
# HTTP header 'Accept' (if needed)
|
|
4386
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
4387
|
+
|
|
4388
|
+
# form parameters
|
|
4389
|
+
form_params = opts[:form_params] || {}
|
|
4390
|
+
|
|
4391
|
+
# http body (model)
|
|
4392
|
+
post_body = opts[:debug_body]
|
|
4393
|
+
|
|
4394
|
+
# return_type
|
|
4395
|
+
return_type = opts[:debug_return_type] || 'K8sIoApimachineryPkgApisMetaV1APIGroup'
|
|
4396
|
+
|
|
4397
|
+
# auth_names
|
|
4398
|
+
auth_names = opts[:debug_auth_names] || []
|
|
4399
|
+
|
|
4400
|
+
new_options = opts.merge(
|
|
4401
|
+
:operation => :"DefaultApi.get_api_group_backup_kubevirt_io",
|
|
4402
|
+
:header_params => header_params,
|
|
4403
|
+
:query_params => query_params,
|
|
4404
|
+
:form_params => form_params,
|
|
4405
|
+
:body => post_body,
|
|
4406
|
+
:auth_names => auth_names,
|
|
4407
|
+
:return_type => return_type
|
|
4408
|
+
)
|
|
4409
|
+
|
|
4410
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
4411
|
+
if @api_client.config.debugging
|
|
4412
|
+
@api_client.config.logger.debug "API called: DefaultApi#get_api_group_backup_kubevirt_io\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
4413
|
+
end
|
|
4414
|
+
return data, status_code, headers
|
|
4415
|
+
end
|
|
4416
|
+
|
|
4124
4417
|
# Get a KubeVirt API group
|
|
4125
4418
|
# @param [Hash] opts the optional parameters
|
|
4126
4419
|
# @return [K8sIoApimachineryPkgApisMetaV1APIGroup]
|
|
@@ -4564,20 +4857,20 @@ module Kubevirt
|
|
|
4564
4857
|
# Get KubeVirt API Resources
|
|
4565
4858
|
# @param [Hash] opts the optional parameters
|
|
4566
4859
|
# @return [K8sIoApimachineryPkgApisMetaV1APIResourceList]
|
|
4567
|
-
def
|
|
4568
|
-
data, _status_code, _headers =
|
|
4860
|
+
def get_api_resources_backup_kubevirt_io_v1alpha1(opts = {})
|
|
4861
|
+
data, _status_code, _headers = get_api_resources_backup_kubevirt_io_v1alpha1_with_http_info(opts)
|
|
4569
4862
|
data
|
|
4570
4863
|
end
|
|
4571
4864
|
|
|
4572
4865
|
# Get KubeVirt API Resources
|
|
4573
4866
|
# @param [Hash] opts the optional parameters
|
|
4574
4867
|
# @return [Array<(K8sIoApimachineryPkgApisMetaV1APIResourceList, Integer, Hash)>] K8sIoApimachineryPkgApisMetaV1APIResourceList data, response status code and response headers
|
|
4575
|
-
def
|
|
4868
|
+
def get_api_resources_backup_kubevirt_io_v1alpha1_with_http_info(opts = {})
|
|
4576
4869
|
if @api_client.config.debugging
|
|
4577
|
-
@api_client.config.logger.debug 'Calling API: DefaultApi.
|
|
4870
|
+
@api_client.config.logger.debug 'Calling API: DefaultApi.get_api_resources_backup_kubevirt_io_v1alpha1 ...'
|
|
4578
4871
|
end
|
|
4579
4872
|
# resource path
|
|
4580
|
-
local_var_path = '/apis/
|
|
4873
|
+
local_var_path = '/apis/backup.kubevirt.io/v1alpha1/'
|
|
4581
4874
|
|
|
4582
4875
|
# query parameters
|
|
4583
4876
|
query_params = opts[:query_params] || {}
|
|
@@ -4600,7 +4893,7 @@ module Kubevirt
|
|
|
4600
4893
|
auth_names = opts[:debug_auth_names] || []
|
|
4601
4894
|
|
|
4602
4895
|
new_options = opts.merge(
|
|
4603
|
-
:operation => :"DefaultApi.
|
|
4896
|
+
:operation => :"DefaultApi.get_api_resources_backup_kubevirt_io_v1alpha1",
|
|
4604
4897
|
:header_params => header_params,
|
|
4605
4898
|
:query_params => query_params,
|
|
4606
4899
|
:form_params => form_params,
|
|
@@ -4611,7 +4904,7 @@ module Kubevirt
|
|
|
4611
4904
|
|
|
4612
4905
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
4613
4906
|
if @api_client.config.debugging
|
|
4614
|
-
@api_client.config.logger.debug "API called: DefaultApi#
|
|
4907
|
+
@api_client.config.logger.debug "API called: DefaultApi#get_api_resources_backup_kubevirt_io_v1alpha1\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
4615
4908
|
end
|
|
4616
4909
|
return data, status_code, headers
|
|
4617
4910
|
end
|
|
@@ -4619,20 +4912,75 @@ module Kubevirt
|
|
|
4619
4912
|
# Get KubeVirt API Resources
|
|
4620
4913
|
# @param [Hash] opts the optional parameters
|
|
4621
4914
|
# @return [K8sIoApimachineryPkgApisMetaV1APIResourceList]
|
|
4622
|
-
def
|
|
4623
|
-
data, _status_code, _headers =
|
|
4915
|
+
def get_api_resources_clone_kubevirt_io_v1beta1(opts = {})
|
|
4916
|
+
data, _status_code, _headers = get_api_resources_clone_kubevirt_io_v1beta1_with_http_info(opts)
|
|
4917
|
+
data
|
|
4918
|
+
end
|
|
4919
|
+
|
|
4920
|
+
# Get KubeVirt API Resources
|
|
4921
|
+
# @param [Hash] opts the optional parameters
|
|
4922
|
+
# @return [Array<(K8sIoApimachineryPkgApisMetaV1APIResourceList, Integer, Hash)>] K8sIoApimachineryPkgApisMetaV1APIResourceList data, response status code and response headers
|
|
4923
|
+
def get_api_resources_clone_kubevirt_io_v1beta1_with_http_info(opts = {})
|
|
4924
|
+
if @api_client.config.debugging
|
|
4925
|
+
@api_client.config.logger.debug 'Calling API: DefaultApi.get_api_resources_clone_kubevirt_io_v1beta1 ...'
|
|
4926
|
+
end
|
|
4927
|
+
# resource path
|
|
4928
|
+
local_var_path = '/apis/clone.kubevirt.io/v1beta1/'
|
|
4929
|
+
|
|
4930
|
+
# query parameters
|
|
4931
|
+
query_params = opts[:query_params] || {}
|
|
4932
|
+
|
|
4933
|
+
# header parameters
|
|
4934
|
+
header_params = opts[:header_params] || {}
|
|
4935
|
+
# HTTP header 'Accept' (if needed)
|
|
4936
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
4937
|
+
|
|
4938
|
+
# form parameters
|
|
4939
|
+
form_params = opts[:form_params] || {}
|
|
4940
|
+
|
|
4941
|
+
# http body (model)
|
|
4942
|
+
post_body = opts[:debug_body]
|
|
4943
|
+
|
|
4944
|
+
# return_type
|
|
4945
|
+
return_type = opts[:debug_return_type] || 'K8sIoApimachineryPkgApisMetaV1APIResourceList'
|
|
4946
|
+
|
|
4947
|
+
# auth_names
|
|
4948
|
+
auth_names = opts[:debug_auth_names] || []
|
|
4949
|
+
|
|
4950
|
+
new_options = opts.merge(
|
|
4951
|
+
:operation => :"DefaultApi.get_api_resources_clone_kubevirt_io_v1beta1",
|
|
4952
|
+
:header_params => header_params,
|
|
4953
|
+
:query_params => query_params,
|
|
4954
|
+
:form_params => form_params,
|
|
4955
|
+
:body => post_body,
|
|
4956
|
+
:auth_names => auth_names,
|
|
4957
|
+
:return_type => return_type
|
|
4958
|
+
)
|
|
4959
|
+
|
|
4960
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
4961
|
+
if @api_client.config.debugging
|
|
4962
|
+
@api_client.config.logger.debug "API called: DefaultApi#get_api_resources_clone_kubevirt_io_v1beta1\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
4963
|
+
end
|
|
4964
|
+
return data, status_code, headers
|
|
4965
|
+
end
|
|
4966
|
+
|
|
4967
|
+
# Get KubeVirt API Resources
|
|
4968
|
+
# @param [Hash] opts the optional parameters
|
|
4969
|
+
# @return [K8sIoApimachineryPkgApisMetaV1APIResourceList]
|
|
4970
|
+
def get_api_resources_export_kubevirt_io_v1(opts = {})
|
|
4971
|
+
data, _status_code, _headers = get_api_resources_export_kubevirt_io_v1_with_http_info(opts)
|
|
4624
4972
|
data
|
|
4625
4973
|
end
|
|
4626
4974
|
|
|
4627
4975
|
# Get KubeVirt API Resources
|
|
4628
4976
|
# @param [Hash] opts the optional parameters
|
|
4629
4977
|
# @return [Array<(K8sIoApimachineryPkgApisMetaV1APIResourceList, Integer, Hash)>] K8sIoApimachineryPkgApisMetaV1APIResourceList data, response status code and response headers
|
|
4630
|
-
def
|
|
4978
|
+
def get_api_resources_export_kubevirt_io_v1_with_http_info(opts = {})
|
|
4631
4979
|
if @api_client.config.debugging
|
|
4632
|
-
@api_client.config.logger.debug 'Calling API: DefaultApi.
|
|
4980
|
+
@api_client.config.logger.debug 'Calling API: DefaultApi.get_api_resources_export_kubevirt_io_v1 ...'
|
|
4633
4981
|
end
|
|
4634
4982
|
# resource path
|
|
4635
|
-
local_var_path = '/apis/export.kubevirt.io/
|
|
4983
|
+
local_var_path = '/apis/export.kubevirt.io/v1/'
|
|
4636
4984
|
|
|
4637
4985
|
# query parameters
|
|
4638
4986
|
query_params = opts[:query_params] || {}
|
|
@@ -4655,7 +5003,7 @@ module Kubevirt
|
|
|
4655
5003
|
auth_names = opts[:debug_auth_names] || []
|
|
4656
5004
|
|
|
4657
5005
|
new_options = opts.merge(
|
|
4658
|
-
:operation => :"DefaultApi.
|
|
5006
|
+
:operation => :"DefaultApi.get_api_resources_export_kubevirt_io_v1",
|
|
4659
5007
|
:header_params => header_params,
|
|
4660
5008
|
:query_params => query_params,
|
|
4661
5009
|
:form_params => form_params,
|
|
@@ -4666,7 +5014,7 @@ module Kubevirt
|
|
|
4666
5014
|
|
|
4667
5015
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
4668
5016
|
if @api_client.config.debugging
|
|
4669
|
-
@api_client.config.logger.debug "API called: DefaultApi#
|
|
5017
|
+
@api_client.config.logger.debug "API called: DefaultApi#get_api_resources_export_kubevirt_io_v1\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
4670
5018
|
end
|
|
4671
5019
|
return data, status_code, headers
|
|
4672
5020
|
end
|
|
@@ -4946,6 +5294,169 @@ module Kubevirt
|
|
|
4946
5294
|
return data, status_code, headers
|
|
4947
5295
|
end
|
|
4948
5296
|
|
|
5297
|
+
# Get OpenAPI v3 discovery
|
|
5298
|
+
# @param [Hash] opts the optional parameters
|
|
5299
|
+
# @return [nil]
|
|
5300
|
+
def get_open_apiv3_discovery(opts = {})
|
|
5301
|
+
get_open_apiv3_discovery_with_http_info(opts)
|
|
5302
|
+
nil
|
|
5303
|
+
end
|
|
5304
|
+
|
|
5305
|
+
# Get OpenAPI v3 discovery
|
|
5306
|
+
# @param [Hash] opts the optional parameters
|
|
5307
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
5308
|
+
def get_open_apiv3_discovery_with_http_info(opts = {})
|
|
5309
|
+
if @api_client.config.debugging
|
|
5310
|
+
@api_client.config.logger.debug 'Calling API: DefaultApi.get_open_apiv3_discovery ...'
|
|
5311
|
+
end
|
|
5312
|
+
# resource path
|
|
5313
|
+
local_var_path = '/openapi/v3'
|
|
5314
|
+
|
|
5315
|
+
# query parameters
|
|
5316
|
+
query_params = opts[:query_params] || {}
|
|
5317
|
+
|
|
5318
|
+
# header parameters
|
|
5319
|
+
header_params = opts[:header_params] || {}
|
|
5320
|
+
|
|
5321
|
+
# form parameters
|
|
5322
|
+
form_params = opts[:form_params] || {}
|
|
5323
|
+
|
|
5324
|
+
# http body (model)
|
|
5325
|
+
post_body = opts[:debug_body]
|
|
5326
|
+
|
|
5327
|
+
# return_type
|
|
5328
|
+
return_type = opts[:debug_return_type]
|
|
5329
|
+
|
|
5330
|
+
# auth_names
|
|
5331
|
+
auth_names = opts[:debug_auth_names] || []
|
|
5332
|
+
|
|
5333
|
+
new_options = opts.merge(
|
|
5334
|
+
:operation => :"DefaultApi.get_open_apiv3_discovery",
|
|
5335
|
+
:header_params => header_params,
|
|
5336
|
+
:query_params => query_params,
|
|
5337
|
+
:form_params => form_params,
|
|
5338
|
+
:body => post_body,
|
|
5339
|
+
:auth_names => auth_names,
|
|
5340
|
+
:return_type => return_type
|
|
5341
|
+
)
|
|
5342
|
+
|
|
5343
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
5344
|
+
if @api_client.config.debugging
|
|
5345
|
+
@api_client.config.logger.debug "API called: DefaultApi#get_open_apiv3_discovery\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
5346
|
+
end
|
|
5347
|
+
return data, status_code, headers
|
|
5348
|
+
end
|
|
5349
|
+
|
|
5350
|
+
# Get OpenAPI v3 specification for subresources.kubevirt.io/v1
|
|
5351
|
+
# @param [Hash] opts the optional parameters
|
|
5352
|
+
# @return [String]
|
|
5353
|
+
def get_open_apiv3_spec_subresources_kubevirt_io_v1(opts = {})
|
|
5354
|
+
data, _status_code, _headers = get_open_apiv3_spec_subresources_kubevirt_io_v1_with_http_info(opts)
|
|
5355
|
+
data
|
|
5356
|
+
end
|
|
5357
|
+
|
|
5358
|
+
# Get OpenAPI v3 specification for subresources.kubevirt.io/v1
|
|
5359
|
+
# @param [Hash] opts the optional parameters
|
|
5360
|
+
# @return [Array<(String, Integer, Hash)>] String data, response status code and response headers
|
|
5361
|
+
def get_open_apiv3_spec_subresources_kubevirt_io_v1_with_http_info(opts = {})
|
|
5362
|
+
if @api_client.config.debugging
|
|
5363
|
+
@api_client.config.logger.debug 'Calling API: DefaultApi.get_open_apiv3_spec_subresources_kubevirt_io_v1 ...'
|
|
5364
|
+
end
|
|
5365
|
+
# resource path
|
|
5366
|
+
local_var_path = '/openapi/v3/apis/subresources.kubevirt.io/v1'
|
|
5367
|
+
|
|
5368
|
+
# query parameters
|
|
5369
|
+
query_params = opts[:query_params] || {}
|
|
5370
|
+
|
|
5371
|
+
# header parameters
|
|
5372
|
+
header_params = opts[:header_params] || {}
|
|
5373
|
+
# HTTP header 'Accept' (if needed)
|
|
5374
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
5375
|
+
|
|
5376
|
+
# form parameters
|
|
5377
|
+
form_params = opts[:form_params] || {}
|
|
5378
|
+
|
|
5379
|
+
# http body (model)
|
|
5380
|
+
post_body = opts[:debug_body]
|
|
5381
|
+
|
|
5382
|
+
# return_type
|
|
5383
|
+
return_type = opts[:debug_return_type] || 'String'
|
|
5384
|
+
|
|
5385
|
+
# auth_names
|
|
5386
|
+
auth_names = opts[:debug_auth_names] || []
|
|
5387
|
+
|
|
5388
|
+
new_options = opts.merge(
|
|
5389
|
+
:operation => :"DefaultApi.get_open_apiv3_spec_subresources_kubevirt_io_v1",
|
|
5390
|
+
:header_params => header_params,
|
|
5391
|
+
:query_params => query_params,
|
|
5392
|
+
:form_params => form_params,
|
|
5393
|
+
:body => post_body,
|
|
5394
|
+
:auth_names => auth_names,
|
|
5395
|
+
:return_type => return_type
|
|
5396
|
+
)
|
|
5397
|
+
|
|
5398
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
5399
|
+
if @api_client.config.debugging
|
|
5400
|
+
@api_client.config.logger.debug "API called: DefaultApi#get_open_apiv3_spec_subresources_kubevirt_io_v1\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
5401
|
+
end
|
|
5402
|
+
return data, status_code, headers
|
|
5403
|
+
end
|
|
5404
|
+
|
|
5405
|
+
# Get OpenAPI v3 specification for subresources.kubevirt.io/v1alpha3
|
|
5406
|
+
# @param [Hash] opts the optional parameters
|
|
5407
|
+
# @return [String]
|
|
5408
|
+
def get_open_apiv3_spec_subresources_kubevirt_io_v1alpha3(opts = {})
|
|
5409
|
+
data, _status_code, _headers = get_open_apiv3_spec_subresources_kubevirt_io_v1alpha3_with_http_info(opts)
|
|
5410
|
+
data
|
|
5411
|
+
end
|
|
5412
|
+
|
|
5413
|
+
# Get OpenAPI v3 specification for subresources.kubevirt.io/v1alpha3
|
|
5414
|
+
# @param [Hash] opts the optional parameters
|
|
5415
|
+
# @return [Array<(String, Integer, Hash)>] String data, response status code and response headers
|
|
5416
|
+
def get_open_apiv3_spec_subresources_kubevirt_io_v1alpha3_with_http_info(opts = {})
|
|
5417
|
+
if @api_client.config.debugging
|
|
5418
|
+
@api_client.config.logger.debug 'Calling API: DefaultApi.get_open_apiv3_spec_subresources_kubevirt_io_v1alpha3 ...'
|
|
5419
|
+
end
|
|
5420
|
+
# resource path
|
|
5421
|
+
local_var_path = '/openapi/v3/apis/subresources.kubevirt.io/v1alpha3'
|
|
5422
|
+
|
|
5423
|
+
# query parameters
|
|
5424
|
+
query_params = opts[:query_params] || {}
|
|
5425
|
+
|
|
5426
|
+
# header parameters
|
|
5427
|
+
header_params = opts[:header_params] || {}
|
|
5428
|
+
# HTTP header 'Accept' (if needed)
|
|
5429
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
5430
|
+
|
|
5431
|
+
# form parameters
|
|
5432
|
+
form_params = opts[:form_params] || {}
|
|
5433
|
+
|
|
5434
|
+
# http body (model)
|
|
5435
|
+
post_body = opts[:debug_body]
|
|
5436
|
+
|
|
5437
|
+
# return_type
|
|
5438
|
+
return_type = opts[:debug_return_type] || 'String'
|
|
5439
|
+
|
|
5440
|
+
# auth_names
|
|
5441
|
+
auth_names = opts[:debug_auth_names] || []
|
|
5442
|
+
|
|
5443
|
+
new_options = opts.merge(
|
|
5444
|
+
:operation => :"DefaultApi.get_open_apiv3_spec_subresources_kubevirt_io_v1alpha3",
|
|
5445
|
+
:header_params => header_params,
|
|
5446
|
+
:query_params => query_params,
|
|
5447
|
+
:form_params => form_params,
|
|
5448
|
+
:body => post_body,
|
|
5449
|
+
:auth_names => auth_names,
|
|
5450
|
+
:return_type => return_type
|
|
5451
|
+
)
|
|
5452
|
+
|
|
5453
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
5454
|
+
if @api_client.config.debugging
|
|
5455
|
+
@api_client.config.logger.debug "API called: DefaultApi#get_open_apiv3_spec_subresources_kubevirt_io_v1alpha3\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
5456
|
+
end
|
|
5457
|
+
return data, status_code, headers
|
|
5458
|
+
end
|
|
5459
|
+
|
|
4949
5460
|
# Get KubeVirt API root paths
|
|
4950
5461
|
# @param [Hash] opts the optional parameters
|
|
4951
5462
|
# @return [K8sIoApimachineryPkgApisMetaV1RootPaths]
|
|
@@ -5356,7 +5867,7 @@ module Kubevirt
|
|
|
5356
5867
|
fail ArgumentError, "Missing the required parameter 'namespace' when calling DefaultApi.list_namespaced_kube_virt"
|
|
5357
5868
|
end
|
|
5358
5869
|
# resource path
|
|
5359
|
-
local_var_path = '/apis/kubevirt.io/v1/namespaces/{namespace}/kubevirt'.sub('{
|
|
5870
|
+
local_var_path = '/apis/kubevirt.io/v1/namespaces/{namespace}/kubevirt'.sub('{namespace}', CGI.escape(namespace.to_s))
|
|
5360
5871
|
|
|
5361
5872
|
# query parameters
|
|
5362
5873
|
query_params = opts[:query_params] || {}
|
|
@@ -5441,7 +5952,7 @@ module Kubevirt
|
|
|
5441
5952
|
fail ArgumentError, "Missing the required parameter 'namespace' when calling DefaultApi.list_namespaced_virtual_machine"
|
|
5442
5953
|
end
|
|
5443
5954
|
# resource path
|
|
5444
|
-
local_var_path = '/apis/kubevirt.io/v1/namespaces/{namespace}/virtualmachines'.sub('{
|
|
5955
|
+
local_var_path = '/apis/kubevirt.io/v1/namespaces/{namespace}/virtualmachines'.sub('{namespace}', CGI.escape(namespace.to_s))
|
|
5445
5956
|
|
|
5446
5957
|
# query parameters
|
|
5447
5958
|
query_params = opts[:query_params] || {}
|
|
@@ -5488,6 +5999,91 @@ module Kubevirt
|
|
|
5488
5999
|
return data, status_code, headers
|
|
5489
6000
|
end
|
|
5490
6001
|
|
|
6002
|
+
# Get a list of VirtualMachineBackup objects.
|
|
6003
|
+
# @param namespace [String] Object name and auth scope, such as for teams and projects
|
|
6004
|
+
# @param [Hash] opts the optional parameters
|
|
6005
|
+
# @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
|
|
6006
|
+
# @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything.
|
|
6007
|
+
# @option opts [Boolean] :include_uninitialized If true, partially initialized resources are included in the response.
|
|
6008
|
+
# @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything
|
|
6009
|
+
# @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.
|
|
6010
|
+
# @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.
|
|
6011
|
+
# @option opts [Integer] :timeout_seconds TimeoutSeconds for the list/watch call.
|
|
6012
|
+
# @option opts [Boolean] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
|
|
6013
|
+
# @return [V1alpha1VirtualMachineBackupList]
|
|
6014
|
+
def list_namespaced_virtual_machine_backup(namespace, opts = {})
|
|
6015
|
+
data, _status_code, _headers = list_namespaced_virtual_machine_backup_with_http_info(namespace, opts)
|
|
6016
|
+
data
|
|
6017
|
+
end
|
|
6018
|
+
|
|
6019
|
+
# Get a list of VirtualMachineBackup objects.
|
|
6020
|
+
# @param namespace [String] Object name and auth scope, such as for teams and projects
|
|
6021
|
+
# @param [Hash] opts the optional parameters
|
|
6022
|
+
# @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
|
|
6023
|
+
# @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything.
|
|
6024
|
+
# @option opts [Boolean] :include_uninitialized If true, partially initialized resources are included in the response.
|
|
6025
|
+
# @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything
|
|
6026
|
+
# @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.
|
|
6027
|
+
# @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.
|
|
6028
|
+
# @option opts [Integer] :timeout_seconds TimeoutSeconds for the list/watch call.
|
|
6029
|
+
# @option opts [Boolean] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
|
|
6030
|
+
# @return [Array<(V1alpha1VirtualMachineBackupList, Integer, Hash)>] V1alpha1VirtualMachineBackupList data, response status code and response headers
|
|
6031
|
+
def list_namespaced_virtual_machine_backup_with_http_info(namespace, opts = {})
|
|
6032
|
+
if @api_client.config.debugging
|
|
6033
|
+
@api_client.config.logger.debug 'Calling API: DefaultApi.list_namespaced_virtual_machine_backup ...'
|
|
6034
|
+
end
|
|
6035
|
+
# verify the required parameter 'namespace' is set
|
|
6036
|
+
if @api_client.config.client_side_validation && namespace.nil?
|
|
6037
|
+
fail ArgumentError, "Missing the required parameter 'namespace' when calling DefaultApi.list_namespaced_virtual_machine_backup"
|
|
6038
|
+
end
|
|
6039
|
+
# resource path
|
|
6040
|
+
local_var_path = '/apis/backup.kubevirt.io/v1alpha1/namespaces/{namespace}/virtualmachinebackups'.sub('{namespace}', CGI.escape(namespace.to_s))
|
|
6041
|
+
|
|
6042
|
+
# query parameters
|
|
6043
|
+
query_params = opts[:query_params] || {}
|
|
6044
|
+
query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil?
|
|
6045
|
+
query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil?
|
|
6046
|
+
query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil?
|
|
6047
|
+
query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil?
|
|
6048
|
+
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
6049
|
+
query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil?
|
|
6050
|
+
query_params[:'timeoutSeconds'] = opts[:'timeout_seconds'] if !opts[:'timeout_seconds'].nil?
|
|
6051
|
+
query_params[:'watch'] = opts[:'watch'] if !opts[:'watch'].nil?
|
|
6052
|
+
|
|
6053
|
+
# header parameters
|
|
6054
|
+
header_params = opts[:header_params] || {}
|
|
6055
|
+
# HTTP header 'Accept' (if needed)
|
|
6056
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/json;stream=watch']) unless header_params['Accept']
|
|
6057
|
+
|
|
6058
|
+
# form parameters
|
|
6059
|
+
form_params = opts[:form_params] || {}
|
|
6060
|
+
|
|
6061
|
+
# http body (model)
|
|
6062
|
+
post_body = opts[:debug_body]
|
|
6063
|
+
|
|
6064
|
+
# return_type
|
|
6065
|
+
return_type = opts[:debug_return_type] || 'V1alpha1VirtualMachineBackupList'
|
|
6066
|
+
|
|
6067
|
+
# auth_names
|
|
6068
|
+
auth_names = opts[:debug_auth_names] || []
|
|
6069
|
+
|
|
6070
|
+
new_options = opts.merge(
|
|
6071
|
+
:operation => :"DefaultApi.list_namespaced_virtual_machine_backup",
|
|
6072
|
+
:header_params => header_params,
|
|
6073
|
+
:query_params => query_params,
|
|
6074
|
+
:form_params => form_params,
|
|
6075
|
+
:body => post_body,
|
|
6076
|
+
:auth_names => auth_names,
|
|
6077
|
+
:return_type => return_type
|
|
6078
|
+
)
|
|
6079
|
+
|
|
6080
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
6081
|
+
if @api_client.config.debugging
|
|
6082
|
+
@api_client.config.logger.debug "API called: DefaultApi#list_namespaced_virtual_machine_backup\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
6083
|
+
end
|
|
6084
|
+
return data, status_code, headers
|
|
6085
|
+
end
|
|
6086
|
+
|
|
5491
6087
|
# Get a list of VirtualMachineExport objects.
|
|
5492
6088
|
# @param namespace [String] Object name and auth scope, such as for teams and projects
|
|
5493
6089
|
# @param [Hash] opts the optional parameters
|
|
@@ -5499,7 +6095,7 @@ module Kubevirt
|
|
|
5499
6095
|
# @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.
|
|
5500
6096
|
# @option opts [Integer] :timeout_seconds TimeoutSeconds for the list/watch call.
|
|
5501
6097
|
# @option opts [Boolean] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
|
|
5502
|
-
# @return [
|
|
6098
|
+
# @return [V1VirtualMachineExportList]
|
|
5503
6099
|
def list_namespaced_virtual_machine_export(namespace, opts = {})
|
|
5504
6100
|
data, _status_code, _headers = list_namespaced_virtual_machine_export_with_http_info(namespace, opts)
|
|
5505
6101
|
data
|
|
@@ -5516,7 +6112,7 @@ module Kubevirt
|
|
|
5516
6112
|
# @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.
|
|
5517
6113
|
# @option opts [Integer] :timeout_seconds TimeoutSeconds for the list/watch call.
|
|
5518
6114
|
# @option opts [Boolean] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
|
|
5519
|
-
# @return [Array<(
|
|
6115
|
+
# @return [Array<(V1VirtualMachineExportList, Integer, Hash)>] V1VirtualMachineExportList data, response status code and response headers
|
|
5520
6116
|
def list_namespaced_virtual_machine_export_with_http_info(namespace, opts = {})
|
|
5521
6117
|
if @api_client.config.debugging
|
|
5522
6118
|
@api_client.config.logger.debug 'Calling API: DefaultApi.list_namespaced_virtual_machine_export ...'
|
|
@@ -5526,7 +6122,7 @@ module Kubevirt
|
|
|
5526
6122
|
fail ArgumentError, "Missing the required parameter 'namespace' when calling DefaultApi.list_namespaced_virtual_machine_export"
|
|
5527
6123
|
end
|
|
5528
6124
|
# resource path
|
|
5529
|
-
local_var_path = '/apis/export.kubevirt.io/
|
|
6125
|
+
local_var_path = '/apis/export.kubevirt.io/v1/namespaces/{namespace}/virtualmachineexports'.sub('{namespace}', CGI.escape(namespace.to_s))
|
|
5530
6126
|
|
|
5531
6127
|
# query parameters
|
|
5532
6128
|
query_params = opts[:query_params] || {}
|
|
@@ -5551,7 +6147,7 @@ module Kubevirt
|
|
|
5551
6147
|
post_body = opts[:debug_body]
|
|
5552
6148
|
|
|
5553
6149
|
# return_type
|
|
5554
|
-
return_type = opts[:debug_return_type] || '
|
|
6150
|
+
return_type = opts[:debug_return_type] || 'V1VirtualMachineExportList'
|
|
5555
6151
|
|
|
5556
6152
|
# auth_names
|
|
5557
6153
|
auth_names = opts[:debug_auth_names] || []
|
|
@@ -5611,7 +6207,7 @@ module Kubevirt
|
|
|
5611
6207
|
fail ArgumentError, "Missing the required parameter 'namespace' when calling DefaultApi.list_namespaced_virtual_machine_instance"
|
|
5612
6208
|
end
|
|
5613
6209
|
# resource path
|
|
5614
|
-
local_var_path = '/apis/kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstances'.sub('{
|
|
6210
|
+
local_var_path = '/apis/kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstances'.sub('{namespace}', CGI.escape(namespace.to_s))
|
|
5615
6211
|
|
|
5616
6212
|
# query parameters
|
|
5617
6213
|
query_params = opts[:query_params] || {}
|
|
@@ -5696,7 +6292,7 @@ module Kubevirt
|
|
|
5696
6292
|
fail ArgumentError, "Missing the required parameter 'namespace' when calling DefaultApi.list_namespaced_virtual_machine_instance_migration"
|
|
5697
6293
|
end
|
|
5698
6294
|
# resource path
|
|
5699
|
-
local_var_path = '/apis/kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstancemigrations'.sub('{
|
|
6295
|
+
local_var_path = '/apis/kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstancemigrations'.sub('{namespace}', CGI.escape(namespace.to_s))
|
|
5700
6296
|
|
|
5701
6297
|
# query parameters
|
|
5702
6298
|
query_params = opts[:query_params] || {}
|
|
@@ -5781,7 +6377,7 @@ module Kubevirt
|
|
|
5781
6377
|
fail ArgumentError, "Missing the required parameter 'namespace' when calling DefaultApi.list_namespaced_virtual_machine_instance_preset"
|
|
5782
6378
|
end
|
|
5783
6379
|
# resource path
|
|
5784
|
-
local_var_path = '/apis/kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstancepresets'.sub('{
|
|
6380
|
+
local_var_path = '/apis/kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstancepresets'.sub('{namespace}', CGI.escape(namespace.to_s))
|
|
5785
6381
|
|
|
5786
6382
|
# query parameters
|
|
5787
6383
|
query_params = opts[:query_params] || {}
|
|
@@ -5866,7 +6462,7 @@ module Kubevirt
|
|
|
5866
6462
|
fail ArgumentError, "Missing the required parameter 'namespace' when calling DefaultApi.list_namespaced_virtual_machine_instance_replica_set"
|
|
5867
6463
|
end
|
|
5868
6464
|
# resource path
|
|
5869
|
-
local_var_path = '/apis/kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstancereplicasets'.sub('{
|
|
6465
|
+
local_var_path = '/apis/kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstancereplicasets'.sub('{namespace}', CGI.escape(namespace.to_s))
|
|
5870
6466
|
|
|
5871
6467
|
# query parameters
|
|
5872
6468
|
query_params = opts[:query_params] || {}
|
|
@@ -5951,7 +6547,7 @@ module Kubevirt
|
|
|
5951
6547
|
fail ArgumentError, "Missing the required parameter 'namespace' when calling DefaultApi.list_namespaced_virtual_machine_instancetype"
|
|
5952
6548
|
end
|
|
5953
6549
|
# resource path
|
|
5954
|
-
local_var_path = '/apis/instancetype.kubevirt.io/v1beta1/namespaces/{namespace}/virtualmachineinstancetypes'.sub('{
|
|
6550
|
+
local_var_path = '/apis/instancetype.kubevirt.io/v1beta1/namespaces/{namespace}/virtualmachineinstancetypes'.sub('{namespace}', CGI.escape(namespace.to_s))
|
|
5955
6551
|
|
|
5956
6552
|
# query parameters
|
|
5957
6553
|
query_params = opts[:query_params] || {}
|
|
@@ -6036,7 +6632,7 @@ module Kubevirt
|
|
|
6036
6632
|
fail ArgumentError, "Missing the required parameter 'namespace' when calling DefaultApi.list_namespaced_virtual_machine_pool"
|
|
6037
6633
|
end
|
|
6038
6634
|
# resource path
|
|
6039
|
-
local_var_path = '/apis/pool.kubevirt.io/v1beta1/namespaces/{namespace}/virtualmachinepools'.sub('{
|
|
6635
|
+
local_var_path = '/apis/pool.kubevirt.io/v1beta1/namespaces/{namespace}/virtualmachinepools'.sub('{namespace}', CGI.escape(namespace.to_s))
|
|
6040
6636
|
|
|
6041
6637
|
# query parameters
|
|
6042
6638
|
query_params = opts[:query_params] || {}
|
|
@@ -6121,7 +6717,7 @@ module Kubevirt
|
|
|
6121
6717
|
fail ArgumentError, "Missing the required parameter 'namespace' when calling DefaultApi.list_namespaced_virtual_machine_preference"
|
|
6122
6718
|
end
|
|
6123
6719
|
# resource path
|
|
6124
|
-
local_var_path = '/apis/instancetype.kubevirt.io/v1beta1/namespaces/{namespace}/virtualmachinepreferences'.sub('{
|
|
6720
|
+
local_var_path = '/apis/instancetype.kubevirt.io/v1beta1/namespaces/{namespace}/virtualmachinepreferences'.sub('{namespace}', CGI.escape(namespace.to_s))
|
|
6125
6721
|
|
|
6126
6722
|
# query parameters
|
|
6127
6723
|
query_params = opts[:query_params] || {}
|
|
@@ -6206,7 +6802,7 @@ module Kubevirt
|
|
|
6206
6802
|
fail ArgumentError, "Missing the required parameter 'namespace' when calling DefaultApi.list_namespaced_virtual_machine_restore"
|
|
6207
6803
|
end
|
|
6208
6804
|
# resource path
|
|
6209
|
-
local_var_path = '/apis/snapshot.kubevirt.io/v1beta1/namespaces/{namespace}/virtualmachinerestores'.sub('{
|
|
6805
|
+
local_var_path = '/apis/snapshot.kubevirt.io/v1beta1/namespaces/{namespace}/virtualmachinerestores'.sub('{namespace}', CGI.escape(namespace.to_s))
|
|
6210
6806
|
|
|
6211
6807
|
# query parameters
|
|
6212
6808
|
query_params = opts[:query_params] || {}
|
|
@@ -6291,7 +6887,7 @@ module Kubevirt
|
|
|
6291
6887
|
fail ArgumentError, "Missing the required parameter 'namespace' when calling DefaultApi.list_namespaced_virtual_machine_snapshot"
|
|
6292
6888
|
end
|
|
6293
6889
|
# resource path
|
|
6294
|
-
local_var_path = '/apis/snapshot.kubevirt.io/v1beta1/namespaces/{namespace}/virtualmachinesnapshots'.sub('{
|
|
6890
|
+
local_var_path = '/apis/snapshot.kubevirt.io/v1beta1/namespaces/{namespace}/virtualmachinesnapshots'.sub('{namespace}', CGI.escape(namespace.to_s))
|
|
6295
6891
|
|
|
6296
6892
|
# query parameters
|
|
6297
6893
|
query_params = opts[:query_params] || {}
|
|
@@ -6376,7 +6972,7 @@ module Kubevirt
|
|
|
6376
6972
|
fail ArgumentError, "Missing the required parameter 'namespace' when calling DefaultApi.list_namespaced_virtual_machine_snapshot_content"
|
|
6377
6973
|
end
|
|
6378
6974
|
# resource path
|
|
6379
|
-
local_var_path = '/apis/snapshot.kubevirt.io/v1beta1/namespaces/{namespace}/virtualmachinesnapshotcontents'.sub('{
|
|
6975
|
+
local_var_path = '/apis/snapshot.kubevirt.io/v1beta1/namespaces/{namespace}/virtualmachinesnapshotcontents'.sub('{namespace}', CGI.escape(namespace.to_s))
|
|
6380
6976
|
|
|
6381
6977
|
# query parameters
|
|
6382
6978
|
query_params = opts[:query_params] || {}
|
|
@@ -6423,6 +7019,85 @@ module Kubevirt
|
|
|
6423
7019
|
return data, status_code, headers
|
|
6424
7020
|
end
|
|
6425
7021
|
|
|
7022
|
+
# Get a list of all VirtualMachineBackup objects.
|
|
7023
|
+
# @param [Hash] opts the optional parameters
|
|
7024
|
+
# @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
|
|
7025
|
+
# @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything.
|
|
7026
|
+
# @option opts [Boolean] :include_uninitialized If true, partially initialized resources are included in the response.
|
|
7027
|
+
# @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything
|
|
7028
|
+
# @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.
|
|
7029
|
+
# @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.
|
|
7030
|
+
# @option opts [Integer] :timeout_seconds TimeoutSeconds for the list/watch call.
|
|
7031
|
+
# @option opts [Boolean] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
|
|
7032
|
+
# @return [V1alpha1VirtualMachineBackupList]
|
|
7033
|
+
def list_virtual_machine_backup_for_all_namespaces(opts = {})
|
|
7034
|
+
data, _status_code, _headers = list_virtual_machine_backup_for_all_namespaces_with_http_info(opts)
|
|
7035
|
+
data
|
|
7036
|
+
end
|
|
7037
|
+
|
|
7038
|
+
# Get a list of all VirtualMachineBackup objects.
|
|
7039
|
+
# @param [Hash] opts the optional parameters
|
|
7040
|
+
# @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
|
|
7041
|
+
# @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything.
|
|
7042
|
+
# @option opts [Boolean] :include_uninitialized If true, partially initialized resources are included in the response.
|
|
7043
|
+
# @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything
|
|
7044
|
+
# @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.
|
|
7045
|
+
# @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.
|
|
7046
|
+
# @option opts [Integer] :timeout_seconds TimeoutSeconds for the list/watch call.
|
|
7047
|
+
# @option opts [Boolean] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
|
|
7048
|
+
# @return [Array<(V1alpha1VirtualMachineBackupList, Integer, Hash)>] V1alpha1VirtualMachineBackupList data, response status code and response headers
|
|
7049
|
+
def list_virtual_machine_backup_for_all_namespaces_with_http_info(opts = {})
|
|
7050
|
+
if @api_client.config.debugging
|
|
7051
|
+
@api_client.config.logger.debug 'Calling API: DefaultApi.list_virtual_machine_backup_for_all_namespaces ...'
|
|
7052
|
+
end
|
|
7053
|
+
# resource path
|
|
7054
|
+
local_var_path = '/apis/backup.kubevirt.io/v1alpha1/virtualmachinebackups'
|
|
7055
|
+
|
|
7056
|
+
# query parameters
|
|
7057
|
+
query_params = opts[:query_params] || {}
|
|
7058
|
+
query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil?
|
|
7059
|
+
query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil?
|
|
7060
|
+
query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil?
|
|
7061
|
+
query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil?
|
|
7062
|
+
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
7063
|
+
query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil?
|
|
7064
|
+
query_params[:'timeoutSeconds'] = opts[:'timeout_seconds'] if !opts[:'timeout_seconds'].nil?
|
|
7065
|
+
query_params[:'watch'] = opts[:'watch'] if !opts[:'watch'].nil?
|
|
7066
|
+
|
|
7067
|
+
# header parameters
|
|
7068
|
+
header_params = opts[:header_params] || {}
|
|
7069
|
+
# HTTP header 'Accept' (if needed)
|
|
7070
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/json;stream=watch']) unless header_params['Accept']
|
|
7071
|
+
|
|
7072
|
+
# form parameters
|
|
7073
|
+
form_params = opts[:form_params] || {}
|
|
7074
|
+
|
|
7075
|
+
# http body (model)
|
|
7076
|
+
post_body = opts[:debug_body]
|
|
7077
|
+
|
|
7078
|
+
# return_type
|
|
7079
|
+
return_type = opts[:debug_return_type] || 'V1alpha1VirtualMachineBackupList'
|
|
7080
|
+
|
|
7081
|
+
# auth_names
|
|
7082
|
+
auth_names = opts[:debug_auth_names] || []
|
|
7083
|
+
|
|
7084
|
+
new_options = opts.merge(
|
|
7085
|
+
:operation => :"DefaultApi.list_virtual_machine_backup_for_all_namespaces",
|
|
7086
|
+
:header_params => header_params,
|
|
7087
|
+
:query_params => query_params,
|
|
7088
|
+
:form_params => form_params,
|
|
7089
|
+
:body => post_body,
|
|
7090
|
+
:auth_names => auth_names,
|
|
7091
|
+
:return_type => return_type
|
|
7092
|
+
)
|
|
7093
|
+
|
|
7094
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
7095
|
+
if @api_client.config.debugging
|
|
7096
|
+
@api_client.config.logger.debug "API called: DefaultApi#list_virtual_machine_backup_for_all_namespaces\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
7097
|
+
end
|
|
7098
|
+
return data, status_code, headers
|
|
7099
|
+
end
|
|
7100
|
+
|
|
6426
7101
|
# Get a list of VirtualMachineClone objects.
|
|
6427
7102
|
# @param [Hash] opts the optional parameters
|
|
6428
7103
|
# @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
|
|
@@ -6670,7 +7345,7 @@ module Kubevirt
|
|
|
6670
7345
|
# @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.
|
|
6671
7346
|
# @option opts [Integer] :timeout_seconds TimeoutSeconds for the list/watch call.
|
|
6672
7347
|
# @option opts [Boolean] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
|
|
6673
|
-
# @return [
|
|
7348
|
+
# @return [V1VirtualMachineExportList]
|
|
6674
7349
|
def list_virtual_machine_export_for_all_namespaces(opts = {})
|
|
6675
7350
|
data, _status_code, _headers = list_virtual_machine_export_for_all_namespaces_with_http_info(opts)
|
|
6676
7351
|
data
|
|
@@ -6686,13 +7361,13 @@ module Kubevirt
|
|
|
6686
7361
|
# @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.
|
|
6687
7362
|
# @option opts [Integer] :timeout_seconds TimeoutSeconds for the list/watch call.
|
|
6688
7363
|
# @option opts [Boolean] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
|
|
6689
|
-
# @return [Array<(
|
|
7364
|
+
# @return [Array<(V1VirtualMachineExportList, Integer, Hash)>] V1VirtualMachineExportList data, response status code and response headers
|
|
6690
7365
|
def list_virtual_machine_export_for_all_namespaces_with_http_info(opts = {})
|
|
6691
7366
|
if @api_client.config.debugging
|
|
6692
7367
|
@api_client.config.logger.debug 'Calling API: DefaultApi.list_virtual_machine_export_for_all_namespaces ...'
|
|
6693
7368
|
end
|
|
6694
7369
|
# resource path
|
|
6695
|
-
local_var_path = '/apis/export.kubevirt.io/
|
|
7370
|
+
local_var_path = '/apis/export.kubevirt.io/v1/virtualmachineexports'
|
|
6696
7371
|
|
|
6697
7372
|
# query parameters
|
|
6698
7373
|
query_params = opts[:query_params] || {}
|
|
@@ -6717,7 +7392,7 @@ module Kubevirt
|
|
|
6717
7392
|
post_body = opts[:debug_body]
|
|
6718
7393
|
|
|
6719
7394
|
# return_type
|
|
6720
|
-
return_type = opts[:debug_return_type] || '
|
|
7395
|
+
return_type = opts[:debug_return_type] || 'V1VirtualMachineExportList'
|
|
6721
7396
|
|
|
6722
7397
|
# auth_names
|
|
6723
7398
|
auth_names = opts[:debug_auth_names] || []
|
|
@@ -7636,7 +8311,7 @@ module Kubevirt
|
|
|
7636
8311
|
fail ArgumentError, "Missing the required parameter 'body' when calling DefaultApi.patch_migration_policy"
|
|
7637
8312
|
end
|
|
7638
8313
|
# resource path
|
|
7639
|
-
local_var_path = '/apis/migrations.kubevirt.io/v1alpha1/migrationpolicies/{name}'.sub('{
|
|
8314
|
+
local_var_path = '/apis/migrations.kubevirt.io/v1alpha1/migrationpolicies/{name}'.sub('{name}', CGI.escape(name.to_s))
|
|
7640
8315
|
|
|
7641
8316
|
# query parameters
|
|
7642
8317
|
query_params = opts[:query_params] || {}
|
|
@@ -7714,7 +8389,7 @@ module Kubevirt
|
|
|
7714
8389
|
fail ArgumentError, "Missing the required parameter 'body' when calling DefaultApi.patch_namespaced_kube_virt"
|
|
7715
8390
|
end
|
|
7716
8391
|
# resource path
|
|
7717
|
-
local_var_path = '/apis/kubevirt.io/v1/namespaces/{namespace}/kubevirt/{name}'.sub('{
|
|
8392
|
+
local_var_path = '/apis/kubevirt.io/v1/namespaces/{namespace}/kubevirt/{name}'.sub('{name}', CGI.escape(name.to_s)).sub('{namespace}', CGI.escape(namespace.to_s))
|
|
7718
8393
|
|
|
7719
8394
|
# query parameters
|
|
7720
8395
|
query_params = opts[:query_params] || {}
|
|
@@ -7792,7 +8467,7 @@ module Kubevirt
|
|
|
7792
8467
|
fail ArgumentError, "Missing the required parameter 'body' when calling DefaultApi.patch_namespaced_virtual_machine"
|
|
7793
8468
|
end
|
|
7794
8469
|
# resource path
|
|
7795
|
-
local_var_path = '/apis/kubevirt.io/v1/namespaces/{namespace}/virtualmachines/{name}'.sub('{
|
|
8470
|
+
local_var_path = '/apis/kubevirt.io/v1/namespaces/{namespace}/virtualmachines/{name}'.sub('{name}', CGI.escape(name.to_s)).sub('{namespace}', CGI.escape(namespace.to_s))
|
|
7796
8471
|
|
|
7797
8472
|
# query parameters
|
|
7798
8473
|
query_params = opts[:query_params] || {}
|
|
@@ -7836,12 +8511,90 @@ module Kubevirt
|
|
|
7836
8511
|
return data, status_code, headers
|
|
7837
8512
|
end
|
|
7838
8513
|
|
|
8514
|
+
# Patch a VirtualMachineBackup object.
|
|
8515
|
+
# @param name [String] Name of the resource
|
|
8516
|
+
# @param namespace [String] Object name and auth scope, such as for teams and projects
|
|
8517
|
+
# @param body [Object]
|
|
8518
|
+
# @param [Hash] opts the optional parameters
|
|
8519
|
+
# @return [V1alpha1VirtualMachineBackup]
|
|
8520
|
+
def patch_namespaced_virtual_machine_backup(name, namespace, body, opts = {})
|
|
8521
|
+
data, _status_code, _headers = patch_namespaced_virtual_machine_backup_with_http_info(name, namespace, body, opts)
|
|
8522
|
+
data
|
|
8523
|
+
end
|
|
8524
|
+
|
|
8525
|
+
# Patch a VirtualMachineBackup object.
|
|
8526
|
+
# @param name [String] Name of the resource
|
|
8527
|
+
# @param namespace [String] Object name and auth scope, such as for teams and projects
|
|
8528
|
+
# @param body [Object]
|
|
8529
|
+
# @param [Hash] opts the optional parameters
|
|
8530
|
+
# @return [Array<(V1alpha1VirtualMachineBackup, Integer, Hash)>] V1alpha1VirtualMachineBackup data, response status code and response headers
|
|
8531
|
+
def patch_namespaced_virtual_machine_backup_with_http_info(name, namespace, body, opts = {})
|
|
8532
|
+
if @api_client.config.debugging
|
|
8533
|
+
@api_client.config.logger.debug 'Calling API: DefaultApi.patch_namespaced_virtual_machine_backup ...'
|
|
8534
|
+
end
|
|
8535
|
+
# verify the required parameter 'name' is set
|
|
8536
|
+
if @api_client.config.client_side_validation && name.nil?
|
|
8537
|
+
fail ArgumentError, "Missing the required parameter 'name' when calling DefaultApi.patch_namespaced_virtual_machine_backup"
|
|
8538
|
+
end
|
|
8539
|
+
# verify the required parameter 'namespace' is set
|
|
8540
|
+
if @api_client.config.client_side_validation && namespace.nil?
|
|
8541
|
+
fail ArgumentError, "Missing the required parameter 'namespace' when calling DefaultApi.patch_namespaced_virtual_machine_backup"
|
|
8542
|
+
end
|
|
8543
|
+
# verify the required parameter 'body' is set
|
|
8544
|
+
if @api_client.config.client_side_validation && body.nil?
|
|
8545
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling DefaultApi.patch_namespaced_virtual_machine_backup"
|
|
8546
|
+
end
|
|
8547
|
+
# resource path
|
|
8548
|
+
local_var_path = '/apis/backup.kubevirt.io/v1alpha1/namespaces/{namespace}/virtualmachinebackups/{name}'.sub('{name}', CGI.escape(name.to_s)).sub('{namespace}', CGI.escape(namespace.to_s))
|
|
8549
|
+
|
|
8550
|
+
# query parameters
|
|
8551
|
+
query_params = opts[:query_params] || {}
|
|
8552
|
+
|
|
8553
|
+
# header parameters
|
|
8554
|
+
header_params = opts[:header_params] || {}
|
|
8555
|
+
# HTTP header 'Accept' (if needed)
|
|
8556
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
8557
|
+
# HTTP header 'Content-Type'
|
|
8558
|
+
content_type = @api_client.select_header_content_type(['application/json-patch+json', 'application/merge-patch+json'])
|
|
8559
|
+
if !content_type.nil?
|
|
8560
|
+
header_params['Content-Type'] = content_type
|
|
8561
|
+
end
|
|
8562
|
+
|
|
8563
|
+
# form parameters
|
|
8564
|
+
form_params = opts[:form_params] || {}
|
|
8565
|
+
|
|
8566
|
+
# http body (model)
|
|
8567
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
|
8568
|
+
|
|
8569
|
+
# return_type
|
|
8570
|
+
return_type = opts[:debug_return_type] || 'V1alpha1VirtualMachineBackup'
|
|
8571
|
+
|
|
8572
|
+
# auth_names
|
|
8573
|
+
auth_names = opts[:debug_auth_names] || []
|
|
8574
|
+
|
|
8575
|
+
new_options = opts.merge(
|
|
8576
|
+
:operation => :"DefaultApi.patch_namespaced_virtual_machine_backup",
|
|
8577
|
+
:header_params => header_params,
|
|
8578
|
+
:query_params => query_params,
|
|
8579
|
+
:form_params => form_params,
|
|
8580
|
+
:body => post_body,
|
|
8581
|
+
:auth_names => auth_names,
|
|
8582
|
+
:return_type => return_type
|
|
8583
|
+
)
|
|
8584
|
+
|
|
8585
|
+
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
|
|
8586
|
+
if @api_client.config.debugging
|
|
8587
|
+
@api_client.config.logger.debug "API called: DefaultApi#patch_namespaced_virtual_machine_backup\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
8588
|
+
end
|
|
8589
|
+
return data, status_code, headers
|
|
8590
|
+
end
|
|
8591
|
+
|
|
7839
8592
|
# Patch a VirtualMachineExport object.
|
|
7840
8593
|
# @param name [String] Name of the resource
|
|
7841
8594
|
# @param namespace [String] Object name and auth scope, such as for teams and projects
|
|
7842
8595
|
# @param body [Object]
|
|
7843
8596
|
# @param [Hash] opts the optional parameters
|
|
7844
|
-
# @return [
|
|
8597
|
+
# @return [V1VirtualMachineExport]
|
|
7845
8598
|
def patch_namespaced_virtual_machine_export(name, namespace, body, opts = {})
|
|
7846
8599
|
data, _status_code, _headers = patch_namespaced_virtual_machine_export_with_http_info(name, namespace, body, opts)
|
|
7847
8600
|
data
|
|
@@ -7852,7 +8605,7 @@ module Kubevirt
|
|
|
7852
8605
|
# @param namespace [String] Object name and auth scope, such as for teams and projects
|
|
7853
8606
|
# @param body [Object]
|
|
7854
8607
|
# @param [Hash] opts the optional parameters
|
|
7855
|
-
# @return [Array<(
|
|
8608
|
+
# @return [Array<(V1VirtualMachineExport, Integer, Hash)>] V1VirtualMachineExport data, response status code and response headers
|
|
7856
8609
|
def patch_namespaced_virtual_machine_export_with_http_info(name, namespace, body, opts = {})
|
|
7857
8610
|
if @api_client.config.debugging
|
|
7858
8611
|
@api_client.config.logger.debug 'Calling API: DefaultApi.patch_namespaced_virtual_machine_export ...'
|
|
@@ -7870,7 +8623,7 @@ module Kubevirt
|
|
|
7870
8623
|
fail ArgumentError, "Missing the required parameter 'body' when calling DefaultApi.patch_namespaced_virtual_machine_export"
|
|
7871
8624
|
end
|
|
7872
8625
|
# resource path
|
|
7873
|
-
local_var_path = '/apis/export.kubevirt.io/
|
|
8626
|
+
local_var_path = '/apis/export.kubevirt.io/v1/namespaces/{namespace}/virtualmachineexports/{name}'.sub('{name}', CGI.escape(name.to_s)).sub('{namespace}', CGI.escape(namespace.to_s))
|
|
7874
8627
|
|
|
7875
8628
|
# query parameters
|
|
7876
8629
|
query_params = opts[:query_params] || {}
|
|
@@ -7892,7 +8645,7 @@ module Kubevirt
|
|
|
7892
8645
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
|
7893
8646
|
|
|
7894
8647
|
# return_type
|
|
7895
|
-
return_type = opts[:debug_return_type] || '
|
|
8648
|
+
return_type = opts[:debug_return_type] || 'V1VirtualMachineExport'
|
|
7896
8649
|
|
|
7897
8650
|
# auth_names
|
|
7898
8651
|
auth_names = opts[:debug_auth_names] || []
|
|
@@ -7948,7 +8701,7 @@ module Kubevirt
|
|
|
7948
8701
|
fail ArgumentError, "Missing the required parameter 'body' when calling DefaultApi.patch_namespaced_virtual_machine_instance"
|
|
7949
8702
|
end
|
|
7950
8703
|
# resource path
|
|
7951
|
-
local_var_path = '/apis/kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstances/{name}'.sub('{
|
|
8704
|
+
local_var_path = '/apis/kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstances/{name}'.sub('{name}', CGI.escape(name.to_s)).sub('{namespace}', CGI.escape(namespace.to_s))
|
|
7952
8705
|
|
|
7953
8706
|
# query parameters
|
|
7954
8707
|
query_params = opts[:query_params] || {}
|
|
@@ -8026,7 +8779,7 @@ module Kubevirt
|
|
|
8026
8779
|
fail ArgumentError, "Missing the required parameter 'body' when calling DefaultApi.patch_namespaced_virtual_machine_instance_migration"
|
|
8027
8780
|
end
|
|
8028
8781
|
# resource path
|
|
8029
|
-
local_var_path = '/apis/kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstancemigrations/{name}'.sub('{
|
|
8782
|
+
local_var_path = '/apis/kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstancemigrations/{name}'.sub('{name}', CGI.escape(name.to_s)).sub('{namespace}', CGI.escape(namespace.to_s))
|
|
8030
8783
|
|
|
8031
8784
|
# query parameters
|
|
8032
8785
|
query_params = opts[:query_params] || {}
|
|
@@ -8104,7 +8857,7 @@ module Kubevirt
|
|
|
8104
8857
|
fail ArgumentError, "Missing the required parameter 'body' when calling DefaultApi.patch_namespaced_virtual_machine_instance_preset"
|
|
8105
8858
|
end
|
|
8106
8859
|
# resource path
|
|
8107
|
-
local_var_path = '/apis/kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstancepresets/{name}'.sub('{
|
|
8860
|
+
local_var_path = '/apis/kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstancepresets/{name}'.sub('{name}', CGI.escape(name.to_s)).sub('{namespace}', CGI.escape(namespace.to_s))
|
|
8108
8861
|
|
|
8109
8862
|
# query parameters
|
|
8110
8863
|
query_params = opts[:query_params] || {}
|
|
@@ -8182,7 +8935,7 @@ module Kubevirt
|
|
|
8182
8935
|
fail ArgumentError, "Missing the required parameter 'body' when calling DefaultApi.patch_namespaced_virtual_machine_instance_replica_set"
|
|
8183
8936
|
end
|
|
8184
8937
|
# resource path
|
|
8185
|
-
local_var_path = '/apis/kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstancereplicasets/{name}'.sub('{
|
|
8938
|
+
local_var_path = '/apis/kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstancereplicasets/{name}'.sub('{name}', CGI.escape(name.to_s)).sub('{namespace}', CGI.escape(namespace.to_s))
|
|
8186
8939
|
|
|
8187
8940
|
# query parameters
|
|
8188
8941
|
query_params = opts[:query_params] || {}
|
|
@@ -8260,7 +9013,7 @@ module Kubevirt
|
|
|
8260
9013
|
fail ArgumentError, "Missing the required parameter 'body' when calling DefaultApi.patch_namespaced_virtual_machine_instancetype"
|
|
8261
9014
|
end
|
|
8262
9015
|
# resource path
|
|
8263
|
-
local_var_path = '/apis/instancetype.kubevirt.io/v1beta1/namespaces/{namespace}/virtualmachineinstancetypes/{name}'.sub('{
|
|
9016
|
+
local_var_path = '/apis/instancetype.kubevirt.io/v1beta1/namespaces/{namespace}/virtualmachineinstancetypes/{name}'.sub('{name}', CGI.escape(name.to_s)).sub('{namespace}', CGI.escape(namespace.to_s))
|
|
8264
9017
|
|
|
8265
9018
|
# query parameters
|
|
8266
9019
|
query_params = opts[:query_params] || {}
|
|
@@ -8338,7 +9091,7 @@ module Kubevirt
|
|
|
8338
9091
|
fail ArgumentError, "Missing the required parameter 'body' when calling DefaultApi.patch_namespaced_virtual_machine_pool"
|
|
8339
9092
|
end
|
|
8340
9093
|
# resource path
|
|
8341
|
-
local_var_path = '/apis/pool.kubevirt.io/v1beta1/namespaces/{namespace}/virtualmachinepools/{name}'.sub('{
|
|
9094
|
+
local_var_path = '/apis/pool.kubevirt.io/v1beta1/namespaces/{namespace}/virtualmachinepools/{name}'.sub('{name}', CGI.escape(name.to_s)).sub('{namespace}', CGI.escape(namespace.to_s))
|
|
8342
9095
|
|
|
8343
9096
|
# query parameters
|
|
8344
9097
|
query_params = opts[:query_params] || {}
|
|
@@ -8416,7 +9169,7 @@ module Kubevirt
|
|
|
8416
9169
|
fail ArgumentError, "Missing the required parameter 'body' when calling DefaultApi.patch_namespaced_virtual_machine_preference"
|
|
8417
9170
|
end
|
|
8418
9171
|
# resource path
|
|
8419
|
-
local_var_path = '/apis/instancetype.kubevirt.io/v1beta1/namespaces/{namespace}/virtualmachinepreferences/{name}'.sub('{
|
|
9172
|
+
local_var_path = '/apis/instancetype.kubevirt.io/v1beta1/namespaces/{namespace}/virtualmachinepreferences/{name}'.sub('{name}', CGI.escape(name.to_s)).sub('{namespace}', CGI.escape(namespace.to_s))
|
|
8420
9173
|
|
|
8421
9174
|
# query parameters
|
|
8422
9175
|
query_params = opts[:query_params] || {}
|
|
@@ -8494,7 +9247,7 @@ module Kubevirt
|
|
|
8494
9247
|
fail ArgumentError, "Missing the required parameter 'body' when calling DefaultApi.patch_namespaced_virtual_machine_restore"
|
|
8495
9248
|
end
|
|
8496
9249
|
# resource path
|
|
8497
|
-
local_var_path = '/apis/snapshot.kubevirt.io/v1beta1/namespaces/{namespace}/virtualmachinerestores/{name}'.sub('{
|
|
9250
|
+
local_var_path = '/apis/snapshot.kubevirt.io/v1beta1/namespaces/{namespace}/virtualmachinerestores/{name}'.sub('{name}', CGI.escape(name.to_s)).sub('{namespace}', CGI.escape(namespace.to_s))
|
|
8498
9251
|
|
|
8499
9252
|
# query parameters
|
|
8500
9253
|
query_params = opts[:query_params] || {}
|
|
@@ -8572,7 +9325,7 @@ module Kubevirt
|
|
|
8572
9325
|
fail ArgumentError, "Missing the required parameter 'body' when calling DefaultApi.patch_namespaced_virtual_machine_snapshot"
|
|
8573
9326
|
end
|
|
8574
9327
|
# resource path
|
|
8575
|
-
local_var_path = '/apis/snapshot.kubevirt.io/v1beta1/namespaces/{namespace}/virtualmachinesnapshots/{name}'.sub('{
|
|
9328
|
+
local_var_path = '/apis/snapshot.kubevirt.io/v1beta1/namespaces/{namespace}/virtualmachinesnapshots/{name}'.sub('{name}', CGI.escape(name.to_s)).sub('{namespace}', CGI.escape(namespace.to_s))
|
|
8576
9329
|
|
|
8577
9330
|
# query parameters
|
|
8578
9331
|
query_params = opts[:query_params] || {}
|
|
@@ -8650,7 +9403,7 @@ module Kubevirt
|
|
|
8650
9403
|
fail ArgumentError, "Missing the required parameter 'body' when calling DefaultApi.patch_namespaced_virtual_machine_snapshot_content"
|
|
8651
9404
|
end
|
|
8652
9405
|
# resource path
|
|
8653
|
-
local_var_path = '/apis/snapshot.kubevirt.io/v1beta1/namespaces/{namespace}/virtualmachinesnapshotcontents/{name}'.sub('{
|
|
9406
|
+
local_var_path = '/apis/snapshot.kubevirt.io/v1beta1/namespaces/{namespace}/virtualmachinesnapshotcontents/{name}'.sub('{name}', CGI.escape(name.to_s)).sub('{namespace}', CGI.escape(namespace.to_s))
|
|
8654
9407
|
|
|
8655
9408
|
# query parameters
|
|
8656
9409
|
query_params = opts[:query_params] || {}
|
|
@@ -8722,7 +9475,7 @@ module Kubevirt
|
|
|
8722
9475
|
fail ArgumentError, "Missing the required parameter 'body' when calling DefaultApi.patch_virtual_machine_clone"
|
|
8723
9476
|
end
|
|
8724
9477
|
# resource path
|
|
8725
|
-
local_var_path = '/apis/clone.kubevirt.io/v1beta1/virtualmachineclones/{name}'.sub('{
|
|
9478
|
+
local_var_path = '/apis/clone.kubevirt.io/v1beta1/virtualmachineclones/{name}'.sub('{name}', CGI.escape(name.to_s))
|
|
8726
9479
|
|
|
8727
9480
|
# query parameters
|
|
8728
9481
|
query_params = opts[:query_params] || {}
|
|
@@ -8794,7 +9547,7 @@ module Kubevirt
|
|
|
8794
9547
|
fail ArgumentError, "Missing the required parameter 'body' when calling DefaultApi.patch_virtual_machine_cluster_instancetype"
|
|
8795
9548
|
end
|
|
8796
9549
|
# resource path
|
|
8797
|
-
local_var_path = '/apis/instancetype.kubevirt.io/v1beta1/virtualmachineclusterinstancetypes/{name}'.sub('{
|
|
9550
|
+
local_var_path = '/apis/instancetype.kubevirt.io/v1beta1/virtualmachineclusterinstancetypes/{name}'.sub('{name}', CGI.escape(name.to_s))
|
|
8798
9551
|
|
|
8799
9552
|
# query parameters
|
|
8800
9553
|
query_params = opts[:query_params] || {}
|
|
@@ -8866,7 +9619,7 @@ module Kubevirt
|
|
|
8866
9619
|
fail ArgumentError, "Missing the required parameter 'body' when calling DefaultApi.patch_virtual_machine_cluster_preference"
|
|
8867
9620
|
end
|
|
8868
9621
|
# resource path
|
|
8869
|
-
local_var_path = '/apis/instancetype.kubevirt.io/v1beta1/virtualmachineclusterpreferences/{name}'.sub('{
|
|
9622
|
+
local_var_path = '/apis/instancetype.kubevirt.io/v1beta1/virtualmachineclusterpreferences/{name}'.sub('{name}', CGI.escape(name.to_s))
|
|
8870
9623
|
|
|
8871
9624
|
# query parameters
|
|
8872
9625
|
query_params = opts[:query_params] || {}
|
|
@@ -8936,7 +9689,7 @@ module Kubevirt
|
|
|
8936
9689
|
fail ArgumentError, "Missing the required parameter 'name' when calling DefaultApi.read_migration_policy"
|
|
8937
9690
|
end
|
|
8938
9691
|
# resource path
|
|
8939
|
-
local_var_path = '/apis/migrations.kubevirt.io/v1alpha1/migrationpolicies/{name}'.sub('{
|
|
9692
|
+
local_var_path = '/apis/migrations.kubevirt.io/v1alpha1/migrationpolicies/{name}'.sub('{name}', CGI.escape(name.to_s))
|
|
8940
9693
|
|
|
8941
9694
|
# query parameters
|
|
8942
9695
|
query_params = opts[:query_params] || {}
|
|
@@ -9009,7 +9762,7 @@ module Kubevirt
|
|
|
9009
9762
|
fail ArgumentError, "Missing the required parameter 'namespace' when calling DefaultApi.read_namespaced_kube_virt"
|
|
9010
9763
|
end
|
|
9011
9764
|
# resource path
|
|
9012
|
-
local_var_path = '/apis/kubevirt.io/v1/namespaces/{namespace}/kubevirt/{name}'.sub('{
|
|
9765
|
+
local_var_path = '/apis/kubevirt.io/v1/namespaces/{namespace}/kubevirt/{name}'.sub('{name}', CGI.escape(name.to_s)).sub('{namespace}', CGI.escape(namespace.to_s))
|
|
9013
9766
|
|
|
9014
9767
|
# query parameters
|
|
9015
9768
|
query_params = opts[:query_params] || {}
|
|
@@ -9068,21 +9821,94 @@ module Kubevirt
|
|
|
9068
9821
|
# @param [Hash] opts the optional parameters
|
|
9069
9822
|
# @option opts [Boolean] :exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'.
|
|
9070
9823
|
# @option opts [Boolean] :export Should this value be exported. Export strips fields that a user can not specify.
|
|
9071
|
-
# @return [Array<(V1VirtualMachine, Integer, Hash)>] V1VirtualMachine data, response status code and response headers
|
|
9072
|
-
def read_namespaced_virtual_machine_with_http_info(name, namespace, opts = {})
|
|
9824
|
+
# @return [Array<(V1VirtualMachine, Integer, Hash)>] V1VirtualMachine data, response status code and response headers
|
|
9825
|
+
def read_namespaced_virtual_machine_with_http_info(name, namespace, opts = {})
|
|
9826
|
+
if @api_client.config.debugging
|
|
9827
|
+
@api_client.config.logger.debug 'Calling API: DefaultApi.read_namespaced_virtual_machine ...'
|
|
9828
|
+
end
|
|
9829
|
+
# verify the required parameter 'name' is set
|
|
9830
|
+
if @api_client.config.client_side_validation && name.nil?
|
|
9831
|
+
fail ArgumentError, "Missing the required parameter 'name' when calling DefaultApi.read_namespaced_virtual_machine"
|
|
9832
|
+
end
|
|
9833
|
+
# verify the required parameter 'namespace' is set
|
|
9834
|
+
if @api_client.config.client_side_validation && namespace.nil?
|
|
9835
|
+
fail ArgumentError, "Missing the required parameter 'namespace' when calling DefaultApi.read_namespaced_virtual_machine"
|
|
9836
|
+
end
|
|
9837
|
+
# resource path
|
|
9838
|
+
local_var_path = '/apis/kubevirt.io/v1/namespaces/{namespace}/virtualmachines/{name}'.sub('{name}', CGI.escape(name.to_s)).sub('{namespace}', CGI.escape(namespace.to_s))
|
|
9839
|
+
|
|
9840
|
+
# query parameters
|
|
9841
|
+
query_params = opts[:query_params] || {}
|
|
9842
|
+
query_params[:'exact'] = opts[:'exact'] if !opts[:'exact'].nil?
|
|
9843
|
+
query_params[:'export'] = opts[:'export'] if !opts[:'export'].nil?
|
|
9844
|
+
|
|
9845
|
+
# header parameters
|
|
9846
|
+
header_params = opts[:header_params] || {}
|
|
9847
|
+
# HTTP header 'Accept' (if needed)
|
|
9848
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/json;stream=watch']) unless header_params['Accept']
|
|
9849
|
+
|
|
9850
|
+
# form parameters
|
|
9851
|
+
form_params = opts[:form_params] || {}
|
|
9852
|
+
|
|
9853
|
+
# http body (model)
|
|
9854
|
+
post_body = opts[:debug_body]
|
|
9855
|
+
|
|
9856
|
+
# return_type
|
|
9857
|
+
return_type = opts[:debug_return_type] || 'V1VirtualMachine'
|
|
9858
|
+
|
|
9859
|
+
# auth_names
|
|
9860
|
+
auth_names = opts[:debug_auth_names] || []
|
|
9861
|
+
|
|
9862
|
+
new_options = opts.merge(
|
|
9863
|
+
:operation => :"DefaultApi.read_namespaced_virtual_machine",
|
|
9864
|
+
:header_params => header_params,
|
|
9865
|
+
:query_params => query_params,
|
|
9866
|
+
:form_params => form_params,
|
|
9867
|
+
:body => post_body,
|
|
9868
|
+
:auth_names => auth_names,
|
|
9869
|
+
:return_type => return_type
|
|
9870
|
+
)
|
|
9871
|
+
|
|
9872
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
9873
|
+
if @api_client.config.debugging
|
|
9874
|
+
@api_client.config.logger.debug "API called: DefaultApi#read_namespaced_virtual_machine\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
9875
|
+
end
|
|
9876
|
+
return data, status_code, headers
|
|
9877
|
+
end
|
|
9878
|
+
|
|
9879
|
+
# Get a VirtualMachineBackup object.
|
|
9880
|
+
# @param name [String] Name of the resource
|
|
9881
|
+
# @param namespace [String] Object name and auth scope, such as for teams and projects
|
|
9882
|
+
# @param [Hash] opts the optional parameters
|
|
9883
|
+
# @option opts [Boolean] :exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'.
|
|
9884
|
+
# @option opts [Boolean] :export Should this value be exported. Export strips fields that a user can not specify.
|
|
9885
|
+
# @return [V1alpha1VirtualMachineBackup]
|
|
9886
|
+
def read_namespaced_virtual_machine_backup(name, namespace, opts = {})
|
|
9887
|
+
data, _status_code, _headers = read_namespaced_virtual_machine_backup_with_http_info(name, namespace, opts)
|
|
9888
|
+
data
|
|
9889
|
+
end
|
|
9890
|
+
|
|
9891
|
+
# Get a VirtualMachineBackup object.
|
|
9892
|
+
# @param name [String] Name of the resource
|
|
9893
|
+
# @param namespace [String] Object name and auth scope, such as for teams and projects
|
|
9894
|
+
# @param [Hash] opts the optional parameters
|
|
9895
|
+
# @option opts [Boolean] :exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'.
|
|
9896
|
+
# @option opts [Boolean] :export Should this value be exported. Export strips fields that a user can not specify.
|
|
9897
|
+
# @return [Array<(V1alpha1VirtualMachineBackup, Integer, Hash)>] V1alpha1VirtualMachineBackup data, response status code and response headers
|
|
9898
|
+
def read_namespaced_virtual_machine_backup_with_http_info(name, namespace, opts = {})
|
|
9073
9899
|
if @api_client.config.debugging
|
|
9074
|
-
@api_client.config.logger.debug 'Calling API: DefaultApi.
|
|
9900
|
+
@api_client.config.logger.debug 'Calling API: DefaultApi.read_namespaced_virtual_machine_backup ...'
|
|
9075
9901
|
end
|
|
9076
9902
|
# verify the required parameter 'name' is set
|
|
9077
9903
|
if @api_client.config.client_side_validation && name.nil?
|
|
9078
|
-
fail ArgumentError, "Missing the required parameter 'name' when calling DefaultApi.
|
|
9904
|
+
fail ArgumentError, "Missing the required parameter 'name' when calling DefaultApi.read_namespaced_virtual_machine_backup"
|
|
9079
9905
|
end
|
|
9080
9906
|
# verify the required parameter 'namespace' is set
|
|
9081
9907
|
if @api_client.config.client_side_validation && namespace.nil?
|
|
9082
|
-
fail ArgumentError, "Missing the required parameter 'namespace' when calling DefaultApi.
|
|
9908
|
+
fail ArgumentError, "Missing the required parameter 'namespace' when calling DefaultApi.read_namespaced_virtual_machine_backup"
|
|
9083
9909
|
end
|
|
9084
9910
|
# resource path
|
|
9085
|
-
local_var_path = '/apis/kubevirt.io/
|
|
9911
|
+
local_var_path = '/apis/backup.kubevirt.io/v1alpha1/namespaces/{namespace}/virtualmachinebackups/{name}'.sub('{name}', CGI.escape(name.to_s)).sub('{namespace}', CGI.escape(namespace.to_s))
|
|
9086
9912
|
|
|
9087
9913
|
# query parameters
|
|
9088
9914
|
query_params = opts[:query_params] || {}
|
|
@@ -9101,13 +9927,13 @@ module Kubevirt
|
|
|
9101
9927
|
post_body = opts[:debug_body]
|
|
9102
9928
|
|
|
9103
9929
|
# return_type
|
|
9104
|
-
return_type = opts[:debug_return_type] || '
|
|
9930
|
+
return_type = opts[:debug_return_type] || 'V1alpha1VirtualMachineBackup'
|
|
9105
9931
|
|
|
9106
9932
|
# auth_names
|
|
9107
9933
|
auth_names = opts[:debug_auth_names] || []
|
|
9108
9934
|
|
|
9109
9935
|
new_options = opts.merge(
|
|
9110
|
-
:operation => :"DefaultApi.
|
|
9936
|
+
:operation => :"DefaultApi.read_namespaced_virtual_machine_backup",
|
|
9111
9937
|
:header_params => header_params,
|
|
9112
9938
|
:query_params => query_params,
|
|
9113
9939
|
:form_params => form_params,
|
|
@@ -9118,7 +9944,7 @@ module Kubevirt
|
|
|
9118
9944
|
|
|
9119
9945
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
9120
9946
|
if @api_client.config.debugging
|
|
9121
|
-
@api_client.config.logger.debug "API called: DefaultApi#
|
|
9947
|
+
@api_client.config.logger.debug "API called: DefaultApi#read_namespaced_virtual_machine_backup\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
9122
9948
|
end
|
|
9123
9949
|
return data, status_code, headers
|
|
9124
9950
|
end
|
|
@@ -9129,7 +9955,7 @@ module Kubevirt
|
|
|
9129
9955
|
# @param [Hash] opts the optional parameters
|
|
9130
9956
|
# @option opts [Boolean] :exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'.
|
|
9131
9957
|
# @option opts [Boolean] :export Should this value be exported. Export strips fields that a user can not specify.
|
|
9132
|
-
# @return [
|
|
9958
|
+
# @return [V1VirtualMachineExport]
|
|
9133
9959
|
def read_namespaced_virtual_machine_export(name, namespace, opts = {})
|
|
9134
9960
|
data, _status_code, _headers = read_namespaced_virtual_machine_export_with_http_info(name, namespace, opts)
|
|
9135
9961
|
data
|
|
@@ -9141,7 +9967,7 @@ module Kubevirt
|
|
|
9141
9967
|
# @param [Hash] opts the optional parameters
|
|
9142
9968
|
# @option opts [Boolean] :exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'.
|
|
9143
9969
|
# @option opts [Boolean] :export Should this value be exported. Export strips fields that a user can not specify.
|
|
9144
|
-
# @return [Array<(
|
|
9970
|
+
# @return [Array<(V1VirtualMachineExport, Integer, Hash)>] V1VirtualMachineExport data, response status code and response headers
|
|
9145
9971
|
def read_namespaced_virtual_machine_export_with_http_info(name, namespace, opts = {})
|
|
9146
9972
|
if @api_client.config.debugging
|
|
9147
9973
|
@api_client.config.logger.debug 'Calling API: DefaultApi.read_namespaced_virtual_machine_export ...'
|
|
@@ -9155,7 +9981,7 @@ module Kubevirt
|
|
|
9155
9981
|
fail ArgumentError, "Missing the required parameter 'namespace' when calling DefaultApi.read_namespaced_virtual_machine_export"
|
|
9156
9982
|
end
|
|
9157
9983
|
# resource path
|
|
9158
|
-
local_var_path = '/apis/export.kubevirt.io/
|
|
9984
|
+
local_var_path = '/apis/export.kubevirt.io/v1/namespaces/{namespace}/virtualmachineexports/{name}'.sub('{name}', CGI.escape(name.to_s)).sub('{namespace}', CGI.escape(namespace.to_s))
|
|
9159
9985
|
|
|
9160
9986
|
# query parameters
|
|
9161
9987
|
query_params = opts[:query_params] || {}
|
|
@@ -9174,7 +10000,7 @@ module Kubevirt
|
|
|
9174
10000
|
post_body = opts[:debug_body]
|
|
9175
10001
|
|
|
9176
10002
|
# return_type
|
|
9177
|
-
return_type = opts[:debug_return_type] || '
|
|
10003
|
+
return_type = opts[:debug_return_type] || 'V1VirtualMachineExport'
|
|
9178
10004
|
|
|
9179
10005
|
# auth_names
|
|
9180
10006
|
auth_names = opts[:debug_auth_names] || []
|
|
@@ -9228,7 +10054,7 @@ module Kubevirt
|
|
|
9228
10054
|
fail ArgumentError, "Missing the required parameter 'namespace' when calling DefaultApi.read_namespaced_virtual_machine_instance"
|
|
9229
10055
|
end
|
|
9230
10056
|
# resource path
|
|
9231
|
-
local_var_path = '/apis/kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstances/{name}'.sub('{
|
|
10057
|
+
local_var_path = '/apis/kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstances/{name}'.sub('{name}', CGI.escape(name.to_s)).sub('{namespace}', CGI.escape(namespace.to_s))
|
|
9232
10058
|
|
|
9233
10059
|
# query parameters
|
|
9234
10060
|
query_params = opts[:query_params] || {}
|
|
@@ -9301,7 +10127,7 @@ module Kubevirt
|
|
|
9301
10127
|
fail ArgumentError, "Missing the required parameter 'namespace' when calling DefaultApi.read_namespaced_virtual_machine_instance_migration"
|
|
9302
10128
|
end
|
|
9303
10129
|
# resource path
|
|
9304
|
-
local_var_path = '/apis/kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstancemigrations/{name}'.sub('{
|
|
10130
|
+
local_var_path = '/apis/kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstancemigrations/{name}'.sub('{name}', CGI.escape(name.to_s)).sub('{namespace}', CGI.escape(namespace.to_s))
|
|
9305
10131
|
|
|
9306
10132
|
# query parameters
|
|
9307
10133
|
query_params = opts[:query_params] || {}
|
|
@@ -9374,7 +10200,7 @@ module Kubevirt
|
|
|
9374
10200
|
fail ArgumentError, "Missing the required parameter 'namespace' when calling DefaultApi.read_namespaced_virtual_machine_instance_preset"
|
|
9375
10201
|
end
|
|
9376
10202
|
# resource path
|
|
9377
|
-
local_var_path = '/apis/kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstancepresets/{name}'.sub('{
|
|
10203
|
+
local_var_path = '/apis/kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstancepresets/{name}'.sub('{name}', CGI.escape(name.to_s)).sub('{namespace}', CGI.escape(namespace.to_s))
|
|
9378
10204
|
|
|
9379
10205
|
# query parameters
|
|
9380
10206
|
query_params = opts[:query_params] || {}
|
|
@@ -9447,7 +10273,7 @@ module Kubevirt
|
|
|
9447
10273
|
fail ArgumentError, "Missing the required parameter 'namespace' when calling DefaultApi.read_namespaced_virtual_machine_instance_replica_set"
|
|
9448
10274
|
end
|
|
9449
10275
|
# resource path
|
|
9450
|
-
local_var_path = '/apis/kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstancereplicasets/{name}'.sub('{
|
|
10276
|
+
local_var_path = '/apis/kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstancereplicasets/{name}'.sub('{name}', CGI.escape(name.to_s)).sub('{namespace}', CGI.escape(namespace.to_s))
|
|
9451
10277
|
|
|
9452
10278
|
# query parameters
|
|
9453
10279
|
query_params = opts[:query_params] || {}
|
|
@@ -9520,7 +10346,7 @@ module Kubevirt
|
|
|
9520
10346
|
fail ArgumentError, "Missing the required parameter 'namespace' when calling DefaultApi.read_namespaced_virtual_machine_instancetype"
|
|
9521
10347
|
end
|
|
9522
10348
|
# resource path
|
|
9523
|
-
local_var_path = '/apis/instancetype.kubevirt.io/v1beta1/namespaces/{namespace}/virtualmachineinstancetypes/{name}'.sub('{
|
|
10349
|
+
local_var_path = '/apis/instancetype.kubevirt.io/v1beta1/namespaces/{namespace}/virtualmachineinstancetypes/{name}'.sub('{name}', CGI.escape(name.to_s)).sub('{namespace}', CGI.escape(namespace.to_s))
|
|
9524
10350
|
|
|
9525
10351
|
# query parameters
|
|
9526
10352
|
query_params = opts[:query_params] || {}
|
|
@@ -9593,7 +10419,7 @@ module Kubevirt
|
|
|
9593
10419
|
fail ArgumentError, "Missing the required parameter 'namespace' when calling DefaultApi.read_namespaced_virtual_machine_pool"
|
|
9594
10420
|
end
|
|
9595
10421
|
# resource path
|
|
9596
|
-
local_var_path = '/apis/pool.kubevirt.io/v1beta1/namespaces/{namespace}/virtualmachinepools/{name}'.sub('{
|
|
10422
|
+
local_var_path = '/apis/pool.kubevirt.io/v1beta1/namespaces/{namespace}/virtualmachinepools/{name}'.sub('{name}', CGI.escape(name.to_s)).sub('{namespace}', CGI.escape(namespace.to_s))
|
|
9597
10423
|
|
|
9598
10424
|
# query parameters
|
|
9599
10425
|
query_params = opts[:query_params] || {}
|
|
@@ -9666,7 +10492,7 @@ module Kubevirt
|
|
|
9666
10492
|
fail ArgumentError, "Missing the required parameter 'namespace' when calling DefaultApi.read_namespaced_virtual_machine_preference"
|
|
9667
10493
|
end
|
|
9668
10494
|
# resource path
|
|
9669
|
-
local_var_path = '/apis/instancetype.kubevirt.io/v1beta1/namespaces/{namespace}/virtualmachinepreferences/{name}'.sub('{
|
|
10495
|
+
local_var_path = '/apis/instancetype.kubevirt.io/v1beta1/namespaces/{namespace}/virtualmachinepreferences/{name}'.sub('{name}', CGI.escape(name.to_s)).sub('{namespace}', CGI.escape(namespace.to_s))
|
|
9670
10496
|
|
|
9671
10497
|
# query parameters
|
|
9672
10498
|
query_params = opts[:query_params] || {}
|
|
@@ -9739,7 +10565,7 @@ module Kubevirt
|
|
|
9739
10565
|
fail ArgumentError, "Missing the required parameter 'namespace' when calling DefaultApi.read_namespaced_virtual_machine_restore"
|
|
9740
10566
|
end
|
|
9741
10567
|
# resource path
|
|
9742
|
-
local_var_path = '/apis/snapshot.kubevirt.io/v1beta1/namespaces/{namespace}/virtualmachinerestores/{name}'.sub('{
|
|
10568
|
+
local_var_path = '/apis/snapshot.kubevirt.io/v1beta1/namespaces/{namespace}/virtualmachinerestores/{name}'.sub('{name}', CGI.escape(name.to_s)).sub('{namespace}', CGI.escape(namespace.to_s))
|
|
9743
10569
|
|
|
9744
10570
|
# query parameters
|
|
9745
10571
|
query_params = opts[:query_params] || {}
|
|
@@ -9812,7 +10638,7 @@ module Kubevirt
|
|
|
9812
10638
|
fail ArgumentError, "Missing the required parameter 'namespace' when calling DefaultApi.read_namespaced_virtual_machine_snapshot"
|
|
9813
10639
|
end
|
|
9814
10640
|
# resource path
|
|
9815
|
-
local_var_path = '/apis/snapshot.kubevirt.io/v1beta1/namespaces/{namespace}/virtualmachinesnapshots/{name}'.sub('{
|
|
10641
|
+
local_var_path = '/apis/snapshot.kubevirt.io/v1beta1/namespaces/{namespace}/virtualmachinesnapshots/{name}'.sub('{name}', CGI.escape(name.to_s)).sub('{namespace}', CGI.escape(namespace.to_s))
|
|
9816
10642
|
|
|
9817
10643
|
# query parameters
|
|
9818
10644
|
query_params = opts[:query_params] || {}
|
|
@@ -9885,7 +10711,7 @@ module Kubevirt
|
|
|
9885
10711
|
fail ArgumentError, "Missing the required parameter 'namespace' when calling DefaultApi.read_namespaced_virtual_machine_snapshot_content"
|
|
9886
10712
|
end
|
|
9887
10713
|
# resource path
|
|
9888
|
-
local_var_path = '/apis/snapshot.kubevirt.io/v1beta1/namespaces/{namespace}/virtualmachinesnapshotcontents/{name}'.sub('{
|
|
10714
|
+
local_var_path = '/apis/snapshot.kubevirt.io/v1beta1/namespaces/{namespace}/virtualmachinesnapshotcontents/{name}'.sub('{name}', CGI.escape(name.to_s)).sub('{namespace}', CGI.escape(namespace.to_s))
|
|
9889
10715
|
|
|
9890
10716
|
# query parameters
|
|
9891
10717
|
query_params = opts[:query_params] || {}
|
|
@@ -9952,7 +10778,7 @@ module Kubevirt
|
|
|
9952
10778
|
fail ArgumentError, "Missing the required parameter 'name' when calling DefaultApi.read_virtual_machine_clone"
|
|
9953
10779
|
end
|
|
9954
10780
|
# resource path
|
|
9955
|
-
local_var_path = '/apis/clone.kubevirt.io/v1beta1/virtualmachineclones/{name}'.sub('{
|
|
10781
|
+
local_var_path = '/apis/clone.kubevirt.io/v1beta1/virtualmachineclones/{name}'.sub('{name}', CGI.escape(name.to_s))
|
|
9956
10782
|
|
|
9957
10783
|
# query parameters
|
|
9958
10784
|
query_params = opts[:query_params] || {}
|
|
@@ -10019,7 +10845,7 @@ module Kubevirt
|
|
|
10019
10845
|
fail ArgumentError, "Missing the required parameter 'name' when calling DefaultApi.read_virtual_machine_cluster_instancetype"
|
|
10020
10846
|
end
|
|
10021
10847
|
# resource path
|
|
10022
|
-
local_var_path = '/apis/instancetype.kubevirt.io/v1beta1/virtualmachineclusterinstancetypes/{name}'.sub('{
|
|
10848
|
+
local_var_path = '/apis/instancetype.kubevirt.io/v1beta1/virtualmachineclusterinstancetypes/{name}'.sub('{name}', CGI.escape(name.to_s))
|
|
10023
10849
|
|
|
10024
10850
|
# query parameters
|
|
10025
10851
|
query_params = opts[:query_params] || {}
|
|
@@ -10086,7 +10912,7 @@ module Kubevirt
|
|
|
10086
10912
|
fail ArgumentError, "Missing the required parameter 'name' when calling DefaultApi.read_virtual_machine_cluster_preference"
|
|
10087
10913
|
end
|
|
10088
10914
|
# resource path
|
|
10089
|
-
local_var_path = '/apis/instancetype.kubevirt.io/v1beta1/virtualmachineclusterpreferences/{name}'.sub('{
|
|
10915
|
+
local_var_path = '/apis/instancetype.kubevirt.io/v1beta1/virtualmachineclusterpreferences/{name}'.sub('{name}', CGI.escape(name.to_s))
|
|
10090
10916
|
|
|
10091
10917
|
# query parameters
|
|
10092
10918
|
query_params = opts[:query_params] || {}
|
|
@@ -10155,7 +10981,7 @@ module Kubevirt
|
|
|
10155
10981
|
fail ArgumentError, "Missing the required parameter 'body' when calling DefaultApi.replace_migration_policy"
|
|
10156
10982
|
end
|
|
10157
10983
|
# resource path
|
|
10158
|
-
local_var_path = '/apis/migrations.kubevirt.io/v1alpha1/migrationpolicies/{name}'.sub('{
|
|
10984
|
+
local_var_path = '/apis/migrations.kubevirt.io/v1alpha1/migrationpolicies/{name}'.sub('{name}', CGI.escape(name.to_s))
|
|
10159
10985
|
|
|
10160
10986
|
# query parameters
|
|
10161
10987
|
query_params = opts[:query_params] || {}
|
|
@@ -10233,7 +11059,7 @@ module Kubevirt
|
|
|
10233
11059
|
fail ArgumentError, "Missing the required parameter 'body' when calling DefaultApi.replace_namespaced_kube_virt"
|
|
10234
11060
|
end
|
|
10235
11061
|
# resource path
|
|
10236
|
-
local_var_path = '/apis/kubevirt.io/v1/namespaces/{namespace}/kubevirt/{name}'.sub('{
|
|
11062
|
+
local_var_path = '/apis/kubevirt.io/v1/namespaces/{namespace}/kubevirt/{name}'.sub('{name}', CGI.escape(name.to_s)).sub('{namespace}', CGI.escape(namespace.to_s))
|
|
10237
11063
|
|
|
10238
11064
|
# query parameters
|
|
10239
11065
|
query_params = opts[:query_params] || {}
|
|
@@ -10311,7 +11137,7 @@ module Kubevirt
|
|
|
10311
11137
|
fail ArgumentError, "Missing the required parameter 'body' when calling DefaultApi.replace_namespaced_virtual_machine"
|
|
10312
11138
|
end
|
|
10313
11139
|
# resource path
|
|
10314
|
-
local_var_path = '/apis/kubevirt.io/v1/namespaces/{namespace}/virtualmachines/{name}'.sub('{
|
|
11140
|
+
local_var_path = '/apis/kubevirt.io/v1/namespaces/{namespace}/virtualmachines/{name}'.sub('{name}', CGI.escape(name.to_s)).sub('{namespace}', CGI.escape(namespace.to_s))
|
|
10315
11141
|
|
|
10316
11142
|
# query parameters
|
|
10317
11143
|
query_params = opts[:query_params] || {}
|
|
@@ -10355,12 +11181,90 @@ module Kubevirt
|
|
|
10355
11181
|
return data, status_code, headers
|
|
10356
11182
|
end
|
|
10357
11183
|
|
|
11184
|
+
# Update a VirtualMachineBackup object.
|
|
11185
|
+
# @param name [String] Name of the resource
|
|
11186
|
+
# @param namespace [String] Object name and auth scope, such as for teams and projects
|
|
11187
|
+
# @param body [V1alpha1VirtualMachineBackup]
|
|
11188
|
+
# @param [Hash] opts the optional parameters
|
|
11189
|
+
# @return [V1alpha1VirtualMachineBackup]
|
|
11190
|
+
def replace_namespaced_virtual_machine_backup(name, namespace, body, opts = {})
|
|
11191
|
+
data, _status_code, _headers = replace_namespaced_virtual_machine_backup_with_http_info(name, namespace, body, opts)
|
|
11192
|
+
data
|
|
11193
|
+
end
|
|
11194
|
+
|
|
11195
|
+
# Update a VirtualMachineBackup object.
|
|
11196
|
+
# @param name [String] Name of the resource
|
|
11197
|
+
# @param namespace [String] Object name and auth scope, such as for teams and projects
|
|
11198
|
+
# @param body [V1alpha1VirtualMachineBackup]
|
|
11199
|
+
# @param [Hash] opts the optional parameters
|
|
11200
|
+
# @return [Array<(V1alpha1VirtualMachineBackup, Integer, Hash)>] V1alpha1VirtualMachineBackup data, response status code and response headers
|
|
11201
|
+
def replace_namespaced_virtual_machine_backup_with_http_info(name, namespace, body, opts = {})
|
|
11202
|
+
if @api_client.config.debugging
|
|
11203
|
+
@api_client.config.logger.debug 'Calling API: DefaultApi.replace_namespaced_virtual_machine_backup ...'
|
|
11204
|
+
end
|
|
11205
|
+
# verify the required parameter 'name' is set
|
|
11206
|
+
if @api_client.config.client_side_validation && name.nil?
|
|
11207
|
+
fail ArgumentError, "Missing the required parameter 'name' when calling DefaultApi.replace_namespaced_virtual_machine_backup"
|
|
11208
|
+
end
|
|
11209
|
+
# verify the required parameter 'namespace' is set
|
|
11210
|
+
if @api_client.config.client_side_validation && namespace.nil?
|
|
11211
|
+
fail ArgumentError, "Missing the required parameter 'namespace' when calling DefaultApi.replace_namespaced_virtual_machine_backup"
|
|
11212
|
+
end
|
|
11213
|
+
# verify the required parameter 'body' is set
|
|
11214
|
+
if @api_client.config.client_side_validation && body.nil?
|
|
11215
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling DefaultApi.replace_namespaced_virtual_machine_backup"
|
|
11216
|
+
end
|
|
11217
|
+
# resource path
|
|
11218
|
+
local_var_path = '/apis/backup.kubevirt.io/v1alpha1/namespaces/{namespace}/virtualmachinebackups/{name}'.sub('{name}', CGI.escape(name.to_s)).sub('{namespace}', CGI.escape(namespace.to_s))
|
|
11219
|
+
|
|
11220
|
+
# query parameters
|
|
11221
|
+
query_params = opts[:query_params] || {}
|
|
11222
|
+
|
|
11223
|
+
# header parameters
|
|
11224
|
+
header_params = opts[:header_params] || {}
|
|
11225
|
+
# HTTP header 'Accept' (if needed)
|
|
11226
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml']) unless header_params['Accept']
|
|
11227
|
+
# HTTP header 'Content-Type'
|
|
11228
|
+
content_type = @api_client.select_header_content_type(['application/json', 'application/yaml'])
|
|
11229
|
+
if !content_type.nil?
|
|
11230
|
+
header_params['Content-Type'] = content_type
|
|
11231
|
+
end
|
|
11232
|
+
|
|
11233
|
+
# form parameters
|
|
11234
|
+
form_params = opts[:form_params] || {}
|
|
11235
|
+
|
|
11236
|
+
# http body (model)
|
|
11237
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
|
11238
|
+
|
|
11239
|
+
# return_type
|
|
11240
|
+
return_type = opts[:debug_return_type] || 'V1alpha1VirtualMachineBackup'
|
|
11241
|
+
|
|
11242
|
+
# auth_names
|
|
11243
|
+
auth_names = opts[:debug_auth_names] || []
|
|
11244
|
+
|
|
11245
|
+
new_options = opts.merge(
|
|
11246
|
+
:operation => :"DefaultApi.replace_namespaced_virtual_machine_backup",
|
|
11247
|
+
:header_params => header_params,
|
|
11248
|
+
:query_params => query_params,
|
|
11249
|
+
:form_params => form_params,
|
|
11250
|
+
:body => post_body,
|
|
11251
|
+
:auth_names => auth_names,
|
|
11252
|
+
:return_type => return_type
|
|
11253
|
+
)
|
|
11254
|
+
|
|
11255
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
|
11256
|
+
if @api_client.config.debugging
|
|
11257
|
+
@api_client.config.logger.debug "API called: DefaultApi#replace_namespaced_virtual_machine_backup\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
11258
|
+
end
|
|
11259
|
+
return data, status_code, headers
|
|
11260
|
+
end
|
|
11261
|
+
|
|
10358
11262
|
# Update a VirtualMachineExport object.
|
|
10359
11263
|
# @param name [String] Name of the resource
|
|
10360
11264
|
# @param namespace [String] Object name and auth scope, such as for teams and projects
|
|
10361
|
-
# @param body [
|
|
11265
|
+
# @param body [V1VirtualMachineExport]
|
|
10362
11266
|
# @param [Hash] opts the optional parameters
|
|
10363
|
-
# @return [
|
|
11267
|
+
# @return [V1VirtualMachineExport]
|
|
10364
11268
|
def replace_namespaced_virtual_machine_export(name, namespace, body, opts = {})
|
|
10365
11269
|
data, _status_code, _headers = replace_namespaced_virtual_machine_export_with_http_info(name, namespace, body, opts)
|
|
10366
11270
|
data
|
|
@@ -10369,9 +11273,9 @@ module Kubevirt
|
|
|
10369
11273
|
# Update a VirtualMachineExport object.
|
|
10370
11274
|
# @param name [String] Name of the resource
|
|
10371
11275
|
# @param namespace [String] Object name and auth scope, such as for teams and projects
|
|
10372
|
-
# @param body [
|
|
11276
|
+
# @param body [V1VirtualMachineExport]
|
|
10373
11277
|
# @param [Hash] opts the optional parameters
|
|
10374
|
-
# @return [Array<(
|
|
11278
|
+
# @return [Array<(V1VirtualMachineExport, Integer, Hash)>] V1VirtualMachineExport data, response status code and response headers
|
|
10375
11279
|
def replace_namespaced_virtual_machine_export_with_http_info(name, namespace, body, opts = {})
|
|
10376
11280
|
if @api_client.config.debugging
|
|
10377
11281
|
@api_client.config.logger.debug 'Calling API: DefaultApi.replace_namespaced_virtual_machine_export ...'
|
|
@@ -10389,7 +11293,7 @@ module Kubevirt
|
|
|
10389
11293
|
fail ArgumentError, "Missing the required parameter 'body' when calling DefaultApi.replace_namespaced_virtual_machine_export"
|
|
10390
11294
|
end
|
|
10391
11295
|
# resource path
|
|
10392
|
-
local_var_path = '/apis/export.kubevirt.io/
|
|
11296
|
+
local_var_path = '/apis/export.kubevirt.io/v1/namespaces/{namespace}/virtualmachineexports/{name}'.sub('{name}', CGI.escape(name.to_s)).sub('{namespace}', CGI.escape(namespace.to_s))
|
|
10393
11297
|
|
|
10394
11298
|
# query parameters
|
|
10395
11299
|
query_params = opts[:query_params] || {}
|
|
@@ -10411,7 +11315,7 @@ module Kubevirt
|
|
|
10411
11315
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
|
10412
11316
|
|
|
10413
11317
|
# return_type
|
|
10414
|
-
return_type = opts[:debug_return_type] || '
|
|
11318
|
+
return_type = opts[:debug_return_type] || 'V1VirtualMachineExport'
|
|
10415
11319
|
|
|
10416
11320
|
# auth_names
|
|
10417
11321
|
auth_names = opts[:debug_auth_names] || []
|
|
@@ -10467,7 +11371,7 @@ module Kubevirt
|
|
|
10467
11371
|
fail ArgumentError, "Missing the required parameter 'body' when calling DefaultApi.replace_namespaced_virtual_machine_instance"
|
|
10468
11372
|
end
|
|
10469
11373
|
# resource path
|
|
10470
|
-
local_var_path = '/apis/kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstances/{name}'.sub('{
|
|
11374
|
+
local_var_path = '/apis/kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstances/{name}'.sub('{name}', CGI.escape(name.to_s)).sub('{namespace}', CGI.escape(namespace.to_s))
|
|
10471
11375
|
|
|
10472
11376
|
# query parameters
|
|
10473
11377
|
query_params = opts[:query_params] || {}
|
|
@@ -10545,7 +11449,7 @@ module Kubevirt
|
|
|
10545
11449
|
fail ArgumentError, "Missing the required parameter 'body' when calling DefaultApi.replace_namespaced_virtual_machine_instance_migration"
|
|
10546
11450
|
end
|
|
10547
11451
|
# resource path
|
|
10548
|
-
local_var_path = '/apis/kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstancemigrations/{name}'.sub('{
|
|
11452
|
+
local_var_path = '/apis/kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstancemigrations/{name}'.sub('{name}', CGI.escape(name.to_s)).sub('{namespace}', CGI.escape(namespace.to_s))
|
|
10549
11453
|
|
|
10550
11454
|
# query parameters
|
|
10551
11455
|
query_params = opts[:query_params] || {}
|
|
@@ -10623,7 +11527,7 @@ module Kubevirt
|
|
|
10623
11527
|
fail ArgumentError, "Missing the required parameter 'body' when calling DefaultApi.replace_namespaced_virtual_machine_instance_preset"
|
|
10624
11528
|
end
|
|
10625
11529
|
# resource path
|
|
10626
|
-
local_var_path = '/apis/kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstancepresets/{name}'.sub('{
|
|
11530
|
+
local_var_path = '/apis/kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstancepresets/{name}'.sub('{name}', CGI.escape(name.to_s)).sub('{namespace}', CGI.escape(namespace.to_s))
|
|
10627
11531
|
|
|
10628
11532
|
# query parameters
|
|
10629
11533
|
query_params = opts[:query_params] || {}
|
|
@@ -10701,7 +11605,7 @@ module Kubevirt
|
|
|
10701
11605
|
fail ArgumentError, "Missing the required parameter 'body' when calling DefaultApi.replace_namespaced_virtual_machine_instance_replica_set"
|
|
10702
11606
|
end
|
|
10703
11607
|
# resource path
|
|
10704
|
-
local_var_path = '/apis/kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstancereplicasets/{name}'.sub('{
|
|
11608
|
+
local_var_path = '/apis/kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstancereplicasets/{name}'.sub('{name}', CGI.escape(name.to_s)).sub('{namespace}', CGI.escape(namespace.to_s))
|
|
10705
11609
|
|
|
10706
11610
|
# query parameters
|
|
10707
11611
|
query_params = opts[:query_params] || {}
|
|
@@ -10779,7 +11683,7 @@ module Kubevirt
|
|
|
10779
11683
|
fail ArgumentError, "Missing the required parameter 'body' when calling DefaultApi.replace_namespaced_virtual_machine_instancetype"
|
|
10780
11684
|
end
|
|
10781
11685
|
# resource path
|
|
10782
|
-
local_var_path = '/apis/instancetype.kubevirt.io/v1beta1/namespaces/{namespace}/virtualmachineinstancetypes/{name}'.sub('{
|
|
11686
|
+
local_var_path = '/apis/instancetype.kubevirt.io/v1beta1/namespaces/{namespace}/virtualmachineinstancetypes/{name}'.sub('{name}', CGI.escape(name.to_s)).sub('{namespace}', CGI.escape(namespace.to_s))
|
|
10783
11687
|
|
|
10784
11688
|
# query parameters
|
|
10785
11689
|
query_params = opts[:query_params] || {}
|
|
@@ -10857,7 +11761,7 @@ module Kubevirt
|
|
|
10857
11761
|
fail ArgumentError, "Missing the required parameter 'body' when calling DefaultApi.replace_namespaced_virtual_machine_pool"
|
|
10858
11762
|
end
|
|
10859
11763
|
# resource path
|
|
10860
|
-
local_var_path = '/apis/pool.kubevirt.io/v1beta1/namespaces/{namespace}/virtualmachinepools/{name}'.sub('{
|
|
11764
|
+
local_var_path = '/apis/pool.kubevirt.io/v1beta1/namespaces/{namespace}/virtualmachinepools/{name}'.sub('{name}', CGI.escape(name.to_s)).sub('{namespace}', CGI.escape(namespace.to_s))
|
|
10861
11765
|
|
|
10862
11766
|
# query parameters
|
|
10863
11767
|
query_params = opts[:query_params] || {}
|
|
@@ -10935,7 +11839,7 @@ module Kubevirt
|
|
|
10935
11839
|
fail ArgumentError, "Missing the required parameter 'body' when calling DefaultApi.replace_namespaced_virtual_machine_preference"
|
|
10936
11840
|
end
|
|
10937
11841
|
# resource path
|
|
10938
|
-
local_var_path = '/apis/instancetype.kubevirt.io/v1beta1/namespaces/{namespace}/virtualmachinepreferences/{name}'.sub('{
|
|
11842
|
+
local_var_path = '/apis/instancetype.kubevirt.io/v1beta1/namespaces/{namespace}/virtualmachinepreferences/{name}'.sub('{name}', CGI.escape(name.to_s)).sub('{namespace}', CGI.escape(namespace.to_s))
|
|
10939
11843
|
|
|
10940
11844
|
# query parameters
|
|
10941
11845
|
query_params = opts[:query_params] || {}
|
|
@@ -11013,7 +11917,7 @@ module Kubevirt
|
|
|
11013
11917
|
fail ArgumentError, "Missing the required parameter 'body' when calling DefaultApi.replace_namespaced_virtual_machine_restore"
|
|
11014
11918
|
end
|
|
11015
11919
|
# resource path
|
|
11016
|
-
local_var_path = '/apis/snapshot.kubevirt.io/v1beta1/namespaces/{namespace}/virtualmachinerestores/{name}'.sub('{
|
|
11920
|
+
local_var_path = '/apis/snapshot.kubevirt.io/v1beta1/namespaces/{namespace}/virtualmachinerestores/{name}'.sub('{name}', CGI.escape(name.to_s)).sub('{namespace}', CGI.escape(namespace.to_s))
|
|
11017
11921
|
|
|
11018
11922
|
# query parameters
|
|
11019
11923
|
query_params = opts[:query_params] || {}
|
|
@@ -11091,7 +11995,7 @@ module Kubevirt
|
|
|
11091
11995
|
fail ArgumentError, "Missing the required parameter 'body' when calling DefaultApi.replace_namespaced_virtual_machine_snapshot"
|
|
11092
11996
|
end
|
|
11093
11997
|
# resource path
|
|
11094
|
-
local_var_path = '/apis/snapshot.kubevirt.io/v1beta1/namespaces/{namespace}/virtualmachinesnapshots/{name}'.sub('{
|
|
11998
|
+
local_var_path = '/apis/snapshot.kubevirt.io/v1beta1/namespaces/{namespace}/virtualmachinesnapshots/{name}'.sub('{name}', CGI.escape(name.to_s)).sub('{namespace}', CGI.escape(namespace.to_s))
|
|
11095
11999
|
|
|
11096
12000
|
# query parameters
|
|
11097
12001
|
query_params = opts[:query_params] || {}
|
|
@@ -11169,7 +12073,7 @@ module Kubevirt
|
|
|
11169
12073
|
fail ArgumentError, "Missing the required parameter 'body' when calling DefaultApi.replace_namespaced_virtual_machine_snapshot_content"
|
|
11170
12074
|
end
|
|
11171
12075
|
# resource path
|
|
11172
|
-
local_var_path = '/apis/snapshot.kubevirt.io/v1beta1/namespaces/{namespace}/virtualmachinesnapshotcontents/{name}'.sub('{
|
|
12076
|
+
local_var_path = '/apis/snapshot.kubevirt.io/v1beta1/namespaces/{namespace}/virtualmachinesnapshotcontents/{name}'.sub('{name}', CGI.escape(name.to_s)).sub('{namespace}', CGI.escape(namespace.to_s))
|
|
11173
12077
|
|
|
11174
12078
|
# query parameters
|
|
11175
12079
|
query_params = opts[:query_params] || {}
|
|
@@ -11241,7 +12145,7 @@ module Kubevirt
|
|
|
11241
12145
|
fail ArgumentError, "Missing the required parameter 'body' when calling DefaultApi.replace_virtual_machine_clone"
|
|
11242
12146
|
end
|
|
11243
12147
|
# resource path
|
|
11244
|
-
local_var_path = '/apis/clone.kubevirt.io/v1beta1/virtualmachineclones/{name}'.sub('{
|
|
12148
|
+
local_var_path = '/apis/clone.kubevirt.io/v1beta1/virtualmachineclones/{name}'.sub('{name}', CGI.escape(name.to_s))
|
|
11245
12149
|
|
|
11246
12150
|
# query parameters
|
|
11247
12151
|
query_params = opts[:query_params] || {}
|
|
@@ -11313,7 +12217,7 @@ module Kubevirt
|
|
|
11313
12217
|
fail ArgumentError, "Missing the required parameter 'body' when calling DefaultApi.replace_virtual_machine_cluster_instancetype"
|
|
11314
12218
|
end
|
|
11315
12219
|
# resource path
|
|
11316
|
-
local_var_path = '/apis/instancetype.kubevirt.io/v1beta1/virtualmachineclusterinstancetypes/{name}'.sub('{
|
|
12220
|
+
local_var_path = '/apis/instancetype.kubevirt.io/v1beta1/virtualmachineclusterinstancetypes/{name}'.sub('{name}', CGI.escape(name.to_s))
|
|
11317
12221
|
|
|
11318
12222
|
# query parameters
|
|
11319
12223
|
query_params = opts[:query_params] || {}
|
|
@@ -11385,7 +12289,7 @@ module Kubevirt
|
|
|
11385
12289
|
fail ArgumentError, "Missing the required parameter 'body' when calling DefaultApi.replace_virtual_machine_cluster_preference"
|
|
11386
12290
|
end
|
|
11387
12291
|
# resource path
|
|
11388
|
-
local_var_path = '/apis/instancetype.kubevirt.io/v1beta1/virtualmachineclusterpreferences/{name}'.sub('{
|
|
12292
|
+
local_var_path = '/apis/instancetype.kubevirt.io/v1beta1/virtualmachineclusterpreferences/{name}'.sub('{name}', CGI.escape(name.to_s))
|
|
11389
12293
|
|
|
11390
12294
|
# query parameters
|
|
11391
12295
|
query_params = opts[:query_params] || {}
|
|
@@ -11429,6 +12333,79 @@ module Kubevirt
|
|
|
11429
12333
|
return data, status_code, headers
|
|
11430
12334
|
end
|
|
11431
12335
|
|
|
12336
|
+
# Initiate a VirtualMachineInstance backup.
|
|
12337
|
+
# @param name [String] Name of the resource
|
|
12338
|
+
# @param namespace [String] Object name and auth scope, such as for teams and projects
|
|
12339
|
+
# @param body [V1alpha1BackupOptions]
|
|
12340
|
+
# @param [Hash] opts the optional parameters
|
|
12341
|
+
# @return [String]
|
|
12342
|
+
def v1_backup(name, namespace, body, opts = {})
|
|
12343
|
+
data, _status_code, _headers = v1_backup_with_http_info(name, namespace, body, opts)
|
|
12344
|
+
data
|
|
12345
|
+
end
|
|
12346
|
+
|
|
12347
|
+
# Initiate a VirtualMachineInstance backup.
|
|
12348
|
+
# @param name [String] Name of the resource
|
|
12349
|
+
# @param namespace [String] Object name and auth scope, such as for teams and projects
|
|
12350
|
+
# @param body [V1alpha1BackupOptions]
|
|
12351
|
+
# @param [Hash] opts the optional parameters
|
|
12352
|
+
# @return [Array<(String, Integer, Hash)>] String data, response status code and response headers
|
|
12353
|
+
def v1_backup_with_http_info(name, namespace, body, opts = {})
|
|
12354
|
+
if @api_client.config.debugging
|
|
12355
|
+
@api_client.config.logger.debug 'Calling API: DefaultApi.v1_backup ...'
|
|
12356
|
+
end
|
|
12357
|
+
# verify the required parameter 'name' is set
|
|
12358
|
+
if @api_client.config.client_side_validation && name.nil?
|
|
12359
|
+
fail ArgumentError, "Missing the required parameter 'name' when calling DefaultApi.v1_backup"
|
|
12360
|
+
end
|
|
12361
|
+
# verify the required parameter 'namespace' is set
|
|
12362
|
+
if @api_client.config.client_side_validation && namespace.nil?
|
|
12363
|
+
fail ArgumentError, "Missing the required parameter 'namespace' when calling DefaultApi.v1_backup"
|
|
12364
|
+
end
|
|
12365
|
+
# verify the required parameter 'body' is set
|
|
12366
|
+
if @api_client.config.client_side_validation && body.nil?
|
|
12367
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling DefaultApi.v1_backup"
|
|
12368
|
+
end
|
|
12369
|
+
# resource path
|
|
12370
|
+
local_var_path = '/apis/subresources.kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstances/{name}/backup'.sub('{name}', CGI.escape(name.to_s)).sub('{namespace}', CGI.escape(namespace.to_s))
|
|
12371
|
+
|
|
12372
|
+
# query parameters
|
|
12373
|
+
query_params = opts[:query_params] || {}
|
|
12374
|
+
|
|
12375
|
+
# header parameters
|
|
12376
|
+
header_params = opts[:header_params] || {}
|
|
12377
|
+
# HTTP header 'Accept' (if needed)
|
|
12378
|
+
header_params['Accept'] = @api_client.select_header_accept(['*/*']) unless header_params['Accept']
|
|
12379
|
+
|
|
12380
|
+
# form parameters
|
|
12381
|
+
form_params = opts[:form_params] || {}
|
|
12382
|
+
|
|
12383
|
+
# http body (model)
|
|
12384
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
|
12385
|
+
|
|
12386
|
+
# return_type
|
|
12387
|
+
return_type = opts[:debug_return_type] || 'String'
|
|
12388
|
+
|
|
12389
|
+
# auth_names
|
|
12390
|
+
auth_names = opts[:debug_auth_names] || []
|
|
12391
|
+
|
|
12392
|
+
new_options = opts.merge(
|
|
12393
|
+
:operation => :"DefaultApi.v1_backup",
|
|
12394
|
+
:header_params => header_params,
|
|
12395
|
+
:query_params => query_params,
|
|
12396
|
+
:form_params => form_params,
|
|
12397
|
+
:body => post_body,
|
|
12398
|
+
:auth_names => auth_names,
|
|
12399
|
+
:return_type => return_type
|
|
12400
|
+
)
|
|
12401
|
+
|
|
12402
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
|
12403
|
+
if @api_client.config.debugging
|
|
12404
|
+
@api_client.config.logger.debug "API called: DefaultApi#v1_backup\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
12405
|
+
end
|
|
12406
|
+
return data, status_code, headers
|
|
12407
|
+
end
|
|
12408
|
+
|
|
11432
12409
|
# Health endpoint
|
|
11433
12410
|
# @param [Hash] opts the optional parameters
|
|
11434
12411
|
# @return [String]
|
|
@@ -11512,7 +12489,7 @@ module Kubevirt
|
|
|
11512
12489
|
fail ArgumentError, "Missing the required parameter 'namespace' when calling DefaultApi.v1_console"
|
|
11513
12490
|
end
|
|
11514
12491
|
# resource path
|
|
11515
|
-
local_var_path = '/apis/subresources.kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstances/{name}/console'.sub('{
|
|
12492
|
+
local_var_path = '/apis/subresources.kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstances/{name}/console'.sub('{name}', CGI.escape(name.to_s)).sub('{namespace}', CGI.escape(namespace.to_s))
|
|
11516
12493
|
|
|
11517
12494
|
# query parameters
|
|
11518
12495
|
query_params = opts[:query_params] || {}
|
|
@@ -11571,7 +12548,7 @@ module Kubevirt
|
|
|
11571
12548
|
fail ArgumentError, "Missing the required parameter 'namespace' when calling DefaultApi.v1_expand_spec"
|
|
11572
12549
|
end
|
|
11573
12550
|
# resource path
|
|
11574
|
-
local_var_path = '/apis/subresources.kubevirt.io/v1/namespaces/{namespace}/expand-vm-spec'.sub('{
|
|
12551
|
+
local_var_path = '/apis/subresources.kubevirt.io/v1/namespaces/{namespace}/expand-vm-spec'.sub('{namespace}', CGI.escape(namespace.to_s))
|
|
11575
12552
|
|
|
11576
12553
|
# query parameters
|
|
11577
12554
|
query_params = opts[:query_params] || {}
|
|
@@ -11638,7 +12615,7 @@ module Kubevirt
|
|
|
11638
12615
|
fail ArgumentError, "Missing the required parameter 'namespace' when calling DefaultApi.v1_filesystemlist"
|
|
11639
12616
|
end
|
|
11640
12617
|
# resource path
|
|
11641
|
-
local_var_path = '/apis/subresources.kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstances/{name}/filesystemlist'.sub('{
|
|
12618
|
+
local_var_path = '/apis/subresources.kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstances/{name}/filesystemlist'.sub('{name}', CGI.escape(name.to_s)).sub('{namespace}', CGI.escape(namespace.to_s))
|
|
11642
12619
|
|
|
11643
12620
|
# query parameters
|
|
11644
12621
|
query_params = opts[:query_params] || {}
|
|
@@ -11711,7 +12688,7 @@ module Kubevirt
|
|
|
11711
12688
|
fail ArgumentError, "Missing the required parameter 'body' when calling DefaultApi.v1_freeze"
|
|
11712
12689
|
end
|
|
11713
12690
|
# resource path
|
|
11714
|
-
local_var_path = '/apis/subresources.kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstances/{name}/freeze'.sub('{
|
|
12691
|
+
local_var_path = '/apis/subresources.kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstances/{name}/freeze'.sub('{name}', CGI.escape(name.to_s)).sub('{namespace}', CGI.escape(namespace.to_s))
|
|
11715
12692
|
|
|
11716
12693
|
# query parameters
|
|
11717
12694
|
query_params = opts[:query_params] || {}
|
|
@@ -11886,7 +12863,7 @@ module Kubevirt
|
|
|
11886
12863
|
fail ArgumentError, "Missing the required parameter 'namespace' when calling DefaultApi.v1_guestosinfo"
|
|
11887
12864
|
end
|
|
11888
12865
|
# resource path
|
|
11889
|
-
local_var_path = '/apis/subresources.kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstances/{name}/guestosinfo'.sub('{
|
|
12866
|
+
local_var_path = '/apis/subresources.kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstances/{name}/guestosinfo'.sub('{name}', CGI.escape(name.to_s)).sub('{namespace}', CGI.escape(namespace.to_s))
|
|
11890
12867
|
|
|
11891
12868
|
# query parameters
|
|
11892
12869
|
query_params = opts[:query_params] || {}
|
|
@@ -11959,7 +12936,7 @@ module Kubevirt
|
|
|
11959
12936
|
fail ArgumentError, "Missing the required parameter 'body' when calling DefaultApi.v1_memory_dump"
|
|
11960
12937
|
end
|
|
11961
12938
|
# resource path
|
|
11962
|
-
local_var_path = '/apis/subresources.kubevirt.io/v1/namespaces/{namespace}/virtualmachines/{name}/memorydump'.sub('{
|
|
12939
|
+
local_var_path = '/apis/subresources.kubevirt.io/v1/namespaces/{namespace}/virtualmachines/{name}/memorydump'.sub('{name}', CGI.escape(name.to_s)).sub('{namespace}', CGI.escape(namespace.to_s))
|
|
11963
12940
|
|
|
11964
12941
|
# query parameters
|
|
11965
12942
|
query_params = opts[:query_params] || {}
|
|
@@ -12032,7 +13009,7 @@ module Kubevirt
|
|
|
12032
13009
|
fail ArgumentError, "Missing the required parameter 'body' when calling DefaultApi.v1_migrate"
|
|
12033
13010
|
end
|
|
12034
13011
|
# resource path
|
|
12035
|
-
local_var_path = '/apis/subresources.kubevirt.io/v1/namespaces/{namespace}/virtualmachines/{name}/migrate'.sub('{
|
|
13012
|
+
local_var_path = '/apis/subresources.kubevirt.io/v1/namespaces/{namespace}/virtualmachines/{name}/migrate'.sub('{name}', CGI.escape(name.to_s)).sub('{namespace}', CGI.escape(namespace.to_s))
|
|
12036
13013
|
|
|
12037
13014
|
# query parameters
|
|
12038
13015
|
query_params = opts[:query_params] || {}
|
|
@@ -12105,7 +13082,7 @@ module Kubevirt
|
|
|
12105
13082
|
fail ArgumentError, "Missing the required parameter 'body' when calling DefaultApi.v1_pause"
|
|
12106
13083
|
end
|
|
12107
13084
|
# resource path
|
|
12108
|
-
local_var_path = '/apis/subresources.kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstances/{name}/pause'.sub('{
|
|
13085
|
+
local_var_path = '/apis/subresources.kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstances/{name}/pause'.sub('{name}', CGI.escape(name.to_s)).sub('{namespace}', CGI.escape(namespace.to_s))
|
|
12109
13086
|
|
|
12110
13087
|
# query parameters
|
|
12111
13088
|
query_params = opts[:query_params] || {}
|
|
@@ -12144,6 +13121,79 @@ module Kubevirt
|
|
|
12144
13121
|
return data, status_code, headers
|
|
12145
13122
|
end
|
|
12146
13123
|
|
|
13124
|
+
# Redefine a checkpoint for a VirtualMachineInstance.
|
|
13125
|
+
# @param name [String] Name of the resource
|
|
13126
|
+
# @param namespace [String] Object name and auth scope, such as for teams and projects
|
|
13127
|
+
# @param body [V1alpha1BackupCheckpoint]
|
|
13128
|
+
# @param [Hash] opts the optional parameters
|
|
13129
|
+
# @return [String]
|
|
13130
|
+
def v1_redefine_checkpoint(name, namespace, body, opts = {})
|
|
13131
|
+
data, _status_code, _headers = v1_redefine_checkpoint_with_http_info(name, namespace, body, opts)
|
|
13132
|
+
data
|
|
13133
|
+
end
|
|
13134
|
+
|
|
13135
|
+
# Redefine a checkpoint for a VirtualMachineInstance.
|
|
13136
|
+
# @param name [String] Name of the resource
|
|
13137
|
+
# @param namespace [String] Object name and auth scope, such as for teams and projects
|
|
13138
|
+
# @param body [V1alpha1BackupCheckpoint]
|
|
13139
|
+
# @param [Hash] opts the optional parameters
|
|
13140
|
+
# @return [Array<(String, Integer, Hash)>] String data, response status code and response headers
|
|
13141
|
+
def v1_redefine_checkpoint_with_http_info(name, namespace, body, opts = {})
|
|
13142
|
+
if @api_client.config.debugging
|
|
13143
|
+
@api_client.config.logger.debug 'Calling API: DefaultApi.v1_redefine_checkpoint ...'
|
|
13144
|
+
end
|
|
13145
|
+
# verify the required parameter 'name' is set
|
|
13146
|
+
if @api_client.config.client_side_validation && name.nil?
|
|
13147
|
+
fail ArgumentError, "Missing the required parameter 'name' when calling DefaultApi.v1_redefine_checkpoint"
|
|
13148
|
+
end
|
|
13149
|
+
# verify the required parameter 'namespace' is set
|
|
13150
|
+
if @api_client.config.client_side_validation && namespace.nil?
|
|
13151
|
+
fail ArgumentError, "Missing the required parameter 'namespace' when calling DefaultApi.v1_redefine_checkpoint"
|
|
13152
|
+
end
|
|
13153
|
+
# verify the required parameter 'body' is set
|
|
13154
|
+
if @api_client.config.client_side_validation && body.nil?
|
|
13155
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling DefaultApi.v1_redefine_checkpoint"
|
|
13156
|
+
end
|
|
13157
|
+
# resource path
|
|
13158
|
+
local_var_path = '/apis/subresources.kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstances/{name}/redefine-checkpoint'.sub('{name}', CGI.escape(name.to_s)).sub('{namespace}', CGI.escape(namespace.to_s))
|
|
13159
|
+
|
|
13160
|
+
# query parameters
|
|
13161
|
+
query_params = opts[:query_params] || {}
|
|
13162
|
+
|
|
13163
|
+
# header parameters
|
|
13164
|
+
header_params = opts[:header_params] || {}
|
|
13165
|
+
# HTTP header 'Accept' (if needed)
|
|
13166
|
+
header_params['Accept'] = @api_client.select_header_accept(['*/*']) unless header_params['Accept']
|
|
13167
|
+
|
|
13168
|
+
# form parameters
|
|
13169
|
+
form_params = opts[:form_params] || {}
|
|
13170
|
+
|
|
13171
|
+
# http body (model)
|
|
13172
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
|
13173
|
+
|
|
13174
|
+
# return_type
|
|
13175
|
+
return_type = opts[:debug_return_type] || 'String'
|
|
13176
|
+
|
|
13177
|
+
# auth_names
|
|
13178
|
+
auth_names = opts[:debug_auth_names] || []
|
|
13179
|
+
|
|
13180
|
+
new_options = opts.merge(
|
|
13181
|
+
:operation => :"DefaultApi.v1_redefine_checkpoint",
|
|
13182
|
+
:header_params => header_params,
|
|
13183
|
+
:query_params => query_params,
|
|
13184
|
+
:form_params => form_params,
|
|
13185
|
+
:body => post_body,
|
|
13186
|
+
:auth_names => auth_names,
|
|
13187
|
+
:return_type => return_type
|
|
13188
|
+
)
|
|
13189
|
+
|
|
13190
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
|
13191
|
+
if @api_client.config.debugging
|
|
13192
|
+
@api_client.config.logger.debug "API called: DefaultApi#v1_redefine_checkpoint\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
13193
|
+
end
|
|
13194
|
+
return data, status_code, headers
|
|
13195
|
+
end
|
|
13196
|
+
|
|
12147
13197
|
# Remove memory dump association.
|
|
12148
13198
|
# @param name [String] Name of the resource
|
|
12149
13199
|
# @param namespace [String] Object name and auth scope, such as for teams and projects
|
|
@@ -12172,7 +13222,7 @@ module Kubevirt
|
|
|
12172
13222
|
fail ArgumentError, "Missing the required parameter 'namespace' when calling DefaultApi.v1_remove_memory_dump"
|
|
12173
13223
|
end
|
|
12174
13224
|
# resource path
|
|
12175
|
-
local_var_path = '/apis/subresources.kubevirt.io/v1/namespaces/{namespace}/virtualmachines/{name}/removememorydump'.sub('{
|
|
13225
|
+
local_var_path = '/apis/subresources.kubevirt.io/v1/namespaces/{namespace}/virtualmachines/{name}/removememorydump'.sub('{name}', CGI.escape(name.to_s)).sub('{namespace}', CGI.escape(namespace.to_s))
|
|
12176
13226
|
|
|
12177
13227
|
# query parameters
|
|
12178
13228
|
query_params = opts[:query_params] || {}
|
|
@@ -12239,7 +13289,7 @@ module Kubevirt
|
|
|
12239
13289
|
fail ArgumentError, "Missing the required parameter 'namespace' when calling DefaultApi.v1_reset"
|
|
12240
13290
|
end
|
|
12241
13291
|
# resource path
|
|
12242
|
-
local_var_path = '/apis/subresources.kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstances/{name}/reset'.sub('{
|
|
13292
|
+
local_var_path = '/apis/subresources.kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstances/{name}/reset'.sub('{name}', CGI.escape(name.to_s)).sub('{namespace}', CGI.escape(namespace.to_s))
|
|
12243
13293
|
|
|
12244
13294
|
# query parameters
|
|
12245
13295
|
query_params = opts[:query_params] || {}
|
|
@@ -12308,7 +13358,7 @@ module Kubevirt
|
|
|
12308
13358
|
fail ArgumentError, "Missing the required parameter 'namespace' when calling DefaultApi.v1_restart"
|
|
12309
13359
|
end
|
|
12310
13360
|
# resource path
|
|
12311
|
-
local_var_path = '/apis/subresources.kubevirt.io/v1/namespaces/{namespace}/virtualmachines/{name}/restart'.sub('{
|
|
13361
|
+
local_var_path = '/apis/subresources.kubevirt.io/v1/namespaces/{namespace}/virtualmachines/{name}/restart'.sub('{name}', CGI.escape(name.to_s)).sub('{namespace}', CGI.escape(namespace.to_s))
|
|
12312
13362
|
|
|
12313
13363
|
# query parameters
|
|
12314
13364
|
query_params = opts[:query_params] || {}
|
|
@@ -12375,7 +13425,7 @@ module Kubevirt
|
|
|
12375
13425
|
fail ArgumentError, "Missing the required parameter 'namespace' when calling DefaultApi.v1_sev_fetch_cert_chain"
|
|
12376
13426
|
end
|
|
12377
13427
|
# resource path
|
|
12378
|
-
local_var_path = '/apis/subresources.kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstances/{name}/sev/fetchcertchain'.sub('{
|
|
13428
|
+
local_var_path = '/apis/subresources.kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstances/{name}/sev/fetchcertchain'.sub('{name}', CGI.escape(name.to_s)).sub('{namespace}', CGI.escape(namespace.to_s))
|
|
12379
13429
|
|
|
12380
13430
|
# query parameters
|
|
12381
13431
|
query_params = opts[:query_params] || {}
|
|
@@ -12448,7 +13498,7 @@ module Kubevirt
|
|
|
12448
13498
|
fail ArgumentError, "Missing the required parameter 'body' when calling DefaultApi.v1_sev_inject_launch_secret"
|
|
12449
13499
|
end
|
|
12450
13500
|
# resource path
|
|
12451
|
-
local_var_path = '/apis/subresources.kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstances/{name}/sev/injectlaunchsecret'.sub('{
|
|
13501
|
+
local_var_path = '/apis/subresources.kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstances/{name}/sev/injectlaunchsecret'.sub('{name}', CGI.escape(name.to_s)).sub('{namespace}', CGI.escape(namespace.to_s))
|
|
12452
13502
|
|
|
12453
13503
|
# query parameters
|
|
12454
13504
|
query_params = opts[:query_params] || {}
|
|
@@ -12515,7 +13565,7 @@ module Kubevirt
|
|
|
12515
13565
|
fail ArgumentError, "Missing the required parameter 'namespace' when calling DefaultApi.v1_sev_query_launch_measurement"
|
|
12516
13566
|
end
|
|
12517
13567
|
# resource path
|
|
12518
|
-
local_var_path = '/apis/subresources.kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstances/{name}/sev/querylaunchmeasurement'.sub('{
|
|
13568
|
+
local_var_path = '/apis/subresources.kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstances/{name}/sev/querylaunchmeasurement'.sub('{name}', CGI.escape(name.to_s)).sub('{namespace}', CGI.escape(namespace.to_s))
|
|
12519
13569
|
|
|
12520
13570
|
# query parameters
|
|
12521
13571
|
query_params = opts[:query_params] || {}
|
|
@@ -12588,7 +13638,7 @@ module Kubevirt
|
|
|
12588
13638
|
fail ArgumentError, "Missing the required parameter 'body' when calling DefaultApi.v1_sev_setup_session"
|
|
12589
13639
|
end
|
|
12590
13640
|
# resource path
|
|
12591
|
-
local_var_path = '/apis/subresources.kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstances/{name}/sev/setupsession'.sub('{
|
|
13641
|
+
local_var_path = '/apis/subresources.kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstances/{name}/sev/setupsession'.sub('{name}', CGI.escape(name.to_s)).sub('{namespace}', CGI.escape(namespace.to_s))
|
|
12592
13642
|
|
|
12593
13643
|
# query parameters
|
|
12594
13644
|
query_params = opts[:query_params] || {}
|
|
@@ -12655,7 +13705,7 @@ module Kubevirt
|
|
|
12655
13705
|
fail ArgumentError, "Missing the required parameter 'namespace' when calling DefaultApi.v1_soft_reboot"
|
|
12656
13706
|
end
|
|
12657
13707
|
# resource path
|
|
12658
|
-
local_var_path = '/apis/subresources.kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstances/{name}/softreboot'.sub('{
|
|
13708
|
+
local_var_path = '/apis/subresources.kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstances/{name}/softreboot'.sub('{name}', CGI.escape(name.to_s)).sub('{namespace}', CGI.escape(namespace.to_s))
|
|
12659
13709
|
|
|
12660
13710
|
# query parameters
|
|
12661
13711
|
query_params = opts[:query_params] || {}
|
|
@@ -12728,7 +13778,7 @@ module Kubevirt
|
|
|
12728
13778
|
fail ArgumentError, "Missing the required parameter 'body' when calling DefaultApi.v1_start"
|
|
12729
13779
|
end
|
|
12730
13780
|
# resource path
|
|
12731
|
-
local_var_path = '/apis/subresources.kubevirt.io/v1/namespaces/{namespace}/virtualmachines/{name}/start'.sub('{
|
|
13781
|
+
local_var_path = '/apis/subresources.kubevirt.io/v1/namespaces/{namespace}/virtualmachines/{name}/start'.sub('{name}', CGI.escape(name.to_s)).sub('{namespace}', CGI.escape(namespace.to_s))
|
|
12732
13782
|
|
|
12733
13783
|
# query parameters
|
|
12734
13784
|
query_params = opts[:query_params] || {}
|
|
@@ -12797,7 +13847,7 @@ module Kubevirt
|
|
|
12797
13847
|
fail ArgumentError, "Missing the required parameter 'namespace' when calling DefaultApi.v1_stop"
|
|
12798
13848
|
end
|
|
12799
13849
|
# resource path
|
|
12800
|
-
local_var_path = '/apis/subresources.kubevirt.io/v1/namespaces/{namespace}/virtualmachines/{name}/stop'.sub('{
|
|
13850
|
+
local_var_path = '/apis/subresources.kubevirt.io/v1/namespaces/{namespace}/virtualmachines/{name}/stop'.sub('{name}', CGI.escape(name.to_s)).sub('{namespace}', CGI.escape(namespace.to_s))
|
|
12801
13851
|
|
|
12802
13852
|
# query parameters
|
|
12803
13853
|
query_params = opts[:query_params] || {}
|
|
@@ -12864,7 +13914,7 @@ module Kubevirt
|
|
|
12864
13914
|
fail ArgumentError, "Missing the required parameter 'namespace' when calling DefaultApi.v1_unfreeze"
|
|
12865
13915
|
end
|
|
12866
13916
|
# resource path
|
|
12867
|
-
local_var_path = '/apis/subresources.kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstances/{name}/unfreeze'.sub('{
|
|
13917
|
+
local_var_path = '/apis/subresources.kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstances/{name}/unfreeze'.sub('{name}', CGI.escape(name.to_s)).sub('{namespace}', CGI.escape(namespace.to_s))
|
|
12868
13918
|
|
|
12869
13919
|
# query parameters
|
|
12870
13920
|
query_params = opts[:query_params] || {}
|
|
@@ -12937,7 +13987,7 @@ module Kubevirt
|
|
|
12937
13987
|
fail ArgumentError, "Missing the required parameter 'body' when calling DefaultApi.v1_unpause"
|
|
12938
13988
|
end
|
|
12939
13989
|
# resource path
|
|
12940
|
-
local_var_path = '/apis/subresources.kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstances/{name}/unpause'.sub('{
|
|
13990
|
+
local_var_path = '/apis/subresources.kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstances/{name}/unpause'.sub('{name}', CGI.escape(name.to_s)).sub('{namespace}', CGI.escape(namespace.to_s))
|
|
12941
13991
|
|
|
12942
13992
|
# query parameters
|
|
12943
13993
|
query_params = opts[:query_params] || {}
|
|
@@ -13004,7 +14054,7 @@ module Kubevirt
|
|
|
13004
14054
|
fail ArgumentError, "Missing the required parameter 'namespace' when calling DefaultApi.v1_userlist"
|
|
13005
14055
|
end
|
|
13006
14056
|
# resource path
|
|
13007
|
-
local_var_path = '/apis/subresources.kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstances/{name}/userlist'.sub('{
|
|
14057
|
+
local_var_path = '/apis/subresources.kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstances/{name}/userlist'.sub('{name}', CGI.escape(name.to_s)).sub('{namespace}', CGI.escape(namespace.to_s))
|
|
13008
14058
|
|
|
13009
14059
|
# query parameters
|
|
13010
14060
|
query_params = opts[:query_params] || {}
|
|
@@ -13124,7 +14174,7 @@ module Kubevirt
|
|
|
13124
14174
|
fail ArgumentError, "Missing the required parameter 'namespace' when calling DefaultApi.v1_vnc"
|
|
13125
14175
|
end
|
|
13126
14176
|
# resource path
|
|
13127
|
-
local_var_path = '/apis/subresources.kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstances/{name}/vnc'.sub('{
|
|
14177
|
+
local_var_path = '/apis/subresources.kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstances/{name}/vnc'.sub('{name}', CGI.escape(name.to_s)).sub('{namespace}', CGI.escape(namespace.to_s))
|
|
13128
14178
|
|
|
13129
14179
|
# query parameters
|
|
13130
14180
|
query_params = opts[:query_params] || {}
|
|
@@ -13181,22 +14231,97 @@ module Kubevirt
|
|
|
13181
14231
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
13182
14232
|
def v1_vnc_screenshot_with_http_info(name, namespace, opts = {})
|
|
13183
14233
|
if @api_client.config.debugging
|
|
13184
|
-
@api_client.config.logger.debug 'Calling API: DefaultApi.v1_vnc_screenshot ...'
|
|
14234
|
+
@api_client.config.logger.debug 'Calling API: DefaultApi.v1_vnc_screenshot ...'
|
|
14235
|
+
end
|
|
14236
|
+
# verify the required parameter 'name' is set
|
|
14237
|
+
if @api_client.config.client_side_validation && name.nil?
|
|
14238
|
+
fail ArgumentError, "Missing the required parameter 'name' when calling DefaultApi.v1_vnc_screenshot"
|
|
14239
|
+
end
|
|
14240
|
+
# verify the required parameter 'namespace' is set
|
|
14241
|
+
if @api_client.config.client_side_validation && namespace.nil?
|
|
14242
|
+
fail ArgumentError, "Missing the required parameter 'namespace' when calling DefaultApi.v1_vnc_screenshot"
|
|
14243
|
+
end
|
|
14244
|
+
# resource path
|
|
14245
|
+
local_var_path = '/apis/subresources.kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstances/{name}/vnc/screenshot'.sub('{name}', CGI.escape(name.to_s)).sub('{namespace}', CGI.escape(namespace.to_s))
|
|
14246
|
+
|
|
14247
|
+
# query parameters
|
|
14248
|
+
query_params = opts[:query_params] || {}
|
|
14249
|
+
query_params[:'moveCursor'] = opts[:'move_cursor'] if !opts[:'move_cursor'].nil?
|
|
14250
|
+
|
|
14251
|
+
# header parameters
|
|
14252
|
+
header_params = opts[:header_params] || {}
|
|
14253
|
+
|
|
14254
|
+
# form parameters
|
|
14255
|
+
form_params = opts[:form_params] || {}
|
|
14256
|
+
|
|
14257
|
+
# http body (model)
|
|
14258
|
+
post_body = opts[:debug_body]
|
|
14259
|
+
|
|
14260
|
+
# return_type
|
|
14261
|
+
return_type = opts[:debug_return_type]
|
|
14262
|
+
|
|
14263
|
+
# auth_names
|
|
14264
|
+
auth_names = opts[:debug_auth_names] || []
|
|
14265
|
+
|
|
14266
|
+
new_options = opts.merge(
|
|
14267
|
+
:operation => :"DefaultApi.v1_vnc_screenshot",
|
|
14268
|
+
:header_params => header_params,
|
|
14269
|
+
:query_params => query_params,
|
|
14270
|
+
:form_params => form_params,
|
|
14271
|
+
:body => post_body,
|
|
14272
|
+
:auth_names => auth_names,
|
|
14273
|
+
:return_type => return_type
|
|
14274
|
+
)
|
|
14275
|
+
|
|
14276
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
14277
|
+
if @api_client.config.debugging
|
|
14278
|
+
@api_client.config.logger.debug "API called: DefaultApi#v1_vnc_screenshot\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
14279
|
+
end
|
|
14280
|
+
return data, status_code, headers
|
|
14281
|
+
end
|
|
14282
|
+
|
|
14283
|
+
# Open a websocket connection forwarding traffic to the specified VirtualMachineInstance and port via VSOCK.
|
|
14284
|
+
# @param name [String] Name of the resource
|
|
14285
|
+
# @param namespace [String] Object name and auth scope, such as for teams and projects
|
|
14286
|
+
# @param port [Integer] The port which the VSOCK application listens to.
|
|
14287
|
+
# @param [Hash] opts the optional parameters
|
|
14288
|
+
# @option opts [Boolean] :tls Weather to request a TLS encrypted session from the VSOCK application.
|
|
14289
|
+
# @return [nil]
|
|
14290
|
+
def v1_vsock(name, namespace, port, opts = {})
|
|
14291
|
+
v1_vsock_with_http_info(name, namespace, port, opts)
|
|
14292
|
+
nil
|
|
14293
|
+
end
|
|
14294
|
+
|
|
14295
|
+
# Open a websocket connection forwarding traffic to the specified VirtualMachineInstance and port via VSOCK.
|
|
14296
|
+
# @param name [String] Name of the resource
|
|
14297
|
+
# @param namespace [String] Object name and auth scope, such as for teams and projects
|
|
14298
|
+
# @param port [Integer] The port which the VSOCK application listens to.
|
|
14299
|
+
# @param [Hash] opts the optional parameters
|
|
14300
|
+
# @option opts [Boolean] :tls Weather to request a TLS encrypted session from the VSOCK application.
|
|
14301
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
14302
|
+
def v1_vsock_with_http_info(name, namespace, port, opts = {})
|
|
14303
|
+
if @api_client.config.debugging
|
|
14304
|
+
@api_client.config.logger.debug 'Calling API: DefaultApi.v1_vsock ...'
|
|
13185
14305
|
end
|
|
13186
14306
|
# verify the required parameter 'name' is set
|
|
13187
14307
|
if @api_client.config.client_side_validation && name.nil?
|
|
13188
|
-
fail ArgumentError, "Missing the required parameter 'name' when calling DefaultApi.
|
|
14308
|
+
fail ArgumentError, "Missing the required parameter 'name' when calling DefaultApi.v1_vsock"
|
|
13189
14309
|
end
|
|
13190
14310
|
# verify the required parameter 'namespace' is set
|
|
13191
14311
|
if @api_client.config.client_side_validation && namespace.nil?
|
|
13192
|
-
fail ArgumentError, "Missing the required parameter 'namespace' when calling DefaultApi.
|
|
14312
|
+
fail ArgumentError, "Missing the required parameter 'namespace' when calling DefaultApi.v1_vsock"
|
|
14313
|
+
end
|
|
14314
|
+
# verify the required parameter 'port' is set
|
|
14315
|
+
if @api_client.config.client_side_validation && port.nil?
|
|
14316
|
+
fail ArgumentError, "Missing the required parameter 'port' when calling DefaultApi.v1_vsock"
|
|
13193
14317
|
end
|
|
13194
14318
|
# resource path
|
|
13195
|
-
local_var_path = '/apis/subresources.kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstances/{name}/
|
|
14319
|
+
local_var_path = '/apis/subresources.kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstances/{name}/vsock'.sub('{name}', CGI.escape(name.to_s)).sub('{namespace}', CGI.escape(namespace.to_s))
|
|
13196
14320
|
|
|
13197
14321
|
# query parameters
|
|
13198
14322
|
query_params = opts[:query_params] || {}
|
|
13199
|
-
query_params[:'
|
|
14323
|
+
query_params[:'port'] = port
|
|
14324
|
+
query_params[:'tls'] = opts[:'tls'] if !opts[:'tls'].nil?
|
|
13200
14325
|
|
|
13201
14326
|
# header parameters
|
|
13202
14327
|
header_params = opts[:header_params] || {}
|
|
@@ -13214,7 +14339,7 @@ module Kubevirt
|
|
|
13214
14339
|
auth_names = opts[:debug_auth_names] || []
|
|
13215
14340
|
|
|
13216
14341
|
new_options = opts.merge(
|
|
13217
|
-
:operation => :"DefaultApi.
|
|
14342
|
+
:operation => :"DefaultApi.v1_vsock",
|
|
13218
14343
|
:header_params => header_params,
|
|
13219
14344
|
:query_params => query_params,
|
|
13220
14345
|
:form_params => form_params,
|
|
@@ -13225,71 +14350,69 @@ module Kubevirt
|
|
|
13225
14350
|
|
|
13226
14351
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
13227
14352
|
if @api_client.config.debugging
|
|
13228
|
-
@api_client.config.logger.debug "API called: DefaultApi#
|
|
14353
|
+
@api_client.config.logger.debug "API called: DefaultApi#v1_vsock\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
13229
14354
|
end
|
|
13230
14355
|
return data, status_code, headers
|
|
13231
14356
|
end
|
|
13232
14357
|
|
|
13233
|
-
#
|
|
14358
|
+
# Initiate a VirtualMachineInstance backup.
|
|
13234
14359
|
# @param name [String] Name of the resource
|
|
13235
14360
|
# @param namespace [String] Object name and auth scope, such as for teams and projects
|
|
13236
|
-
# @param
|
|
14361
|
+
# @param body [V1alpha1BackupOptions]
|
|
13237
14362
|
# @param [Hash] opts the optional parameters
|
|
13238
|
-
# @
|
|
13239
|
-
|
|
13240
|
-
|
|
13241
|
-
|
|
13242
|
-
nil
|
|
14363
|
+
# @return [String]
|
|
14364
|
+
def v1alpha3_backup(name, namespace, body, opts = {})
|
|
14365
|
+
data, _status_code, _headers = v1alpha3_backup_with_http_info(name, namespace, body, opts)
|
|
14366
|
+
data
|
|
13243
14367
|
end
|
|
13244
14368
|
|
|
13245
|
-
#
|
|
14369
|
+
# Initiate a VirtualMachineInstance backup.
|
|
13246
14370
|
# @param name [String] Name of the resource
|
|
13247
14371
|
# @param namespace [String] Object name and auth scope, such as for teams and projects
|
|
13248
|
-
# @param
|
|
14372
|
+
# @param body [V1alpha1BackupOptions]
|
|
13249
14373
|
# @param [Hash] opts the optional parameters
|
|
13250
|
-
# @
|
|
13251
|
-
|
|
13252
|
-
def v1_vsock_with_http_info(name, namespace, port, opts = {})
|
|
14374
|
+
# @return [Array<(String, Integer, Hash)>] String data, response status code and response headers
|
|
14375
|
+
def v1alpha3_backup_with_http_info(name, namespace, body, opts = {})
|
|
13253
14376
|
if @api_client.config.debugging
|
|
13254
|
-
@api_client.config.logger.debug 'Calling API: DefaultApi.
|
|
14377
|
+
@api_client.config.logger.debug 'Calling API: DefaultApi.v1alpha3_backup ...'
|
|
13255
14378
|
end
|
|
13256
14379
|
# verify the required parameter 'name' is set
|
|
13257
14380
|
if @api_client.config.client_side_validation && name.nil?
|
|
13258
|
-
fail ArgumentError, "Missing the required parameter 'name' when calling DefaultApi.
|
|
14381
|
+
fail ArgumentError, "Missing the required parameter 'name' when calling DefaultApi.v1alpha3_backup"
|
|
13259
14382
|
end
|
|
13260
14383
|
# verify the required parameter 'namespace' is set
|
|
13261
14384
|
if @api_client.config.client_side_validation && namespace.nil?
|
|
13262
|
-
fail ArgumentError, "Missing the required parameter 'namespace' when calling DefaultApi.
|
|
14385
|
+
fail ArgumentError, "Missing the required parameter 'namespace' when calling DefaultApi.v1alpha3_backup"
|
|
13263
14386
|
end
|
|
13264
|
-
# verify the required parameter '
|
|
13265
|
-
if @api_client.config.client_side_validation &&
|
|
13266
|
-
fail ArgumentError, "Missing the required parameter '
|
|
14387
|
+
# verify the required parameter 'body' is set
|
|
14388
|
+
if @api_client.config.client_side_validation && body.nil?
|
|
14389
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling DefaultApi.v1alpha3_backup"
|
|
13267
14390
|
end
|
|
13268
14391
|
# resource path
|
|
13269
|
-
local_var_path = '/apis/subresources.kubevirt.io/
|
|
14392
|
+
local_var_path = '/apis/subresources.kubevirt.io/v1alpha3/namespaces/{namespace}/virtualmachineinstances/{name}/backup'.sub('{name}', CGI.escape(name.to_s)).sub('{namespace}', CGI.escape(namespace.to_s))
|
|
13270
14393
|
|
|
13271
14394
|
# query parameters
|
|
13272
14395
|
query_params = opts[:query_params] || {}
|
|
13273
|
-
query_params[:'port'] = port
|
|
13274
|
-
query_params[:'tls'] = opts[:'tls'] if !opts[:'tls'].nil?
|
|
13275
14396
|
|
|
13276
14397
|
# header parameters
|
|
13277
14398
|
header_params = opts[:header_params] || {}
|
|
14399
|
+
# HTTP header 'Accept' (if needed)
|
|
14400
|
+
header_params['Accept'] = @api_client.select_header_accept(['*/*']) unless header_params['Accept']
|
|
13278
14401
|
|
|
13279
14402
|
# form parameters
|
|
13280
14403
|
form_params = opts[:form_params] || {}
|
|
13281
14404
|
|
|
13282
14405
|
# http body (model)
|
|
13283
|
-
post_body = opts[:debug_body]
|
|
14406
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
|
13284
14407
|
|
|
13285
14408
|
# return_type
|
|
13286
|
-
return_type = opts[:debug_return_type]
|
|
14409
|
+
return_type = opts[:debug_return_type] || 'String'
|
|
13287
14410
|
|
|
13288
14411
|
# auth_names
|
|
13289
14412
|
auth_names = opts[:debug_auth_names] || []
|
|
13290
14413
|
|
|
13291
14414
|
new_options = opts.merge(
|
|
13292
|
-
:operation => :"DefaultApi.
|
|
14415
|
+
:operation => :"DefaultApi.v1alpha3_backup",
|
|
13293
14416
|
:header_params => header_params,
|
|
13294
14417
|
:query_params => query_params,
|
|
13295
14418
|
:form_params => form_params,
|
|
@@ -13298,9 +14421,9 @@ module Kubevirt
|
|
|
13298
14421
|
:return_type => return_type
|
|
13299
14422
|
)
|
|
13300
14423
|
|
|
13301
|
-
data, status_code, headers = @api_client.call_api(:
|
|
14424
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
|
13302
14425
|
if @api_client.config.debugging
|
|
13303
|
-
@api_client.config.logger.debug "API called: DefaultApi#
|
|
14426
|
+
@api_client.config.logger.debug "API called: DefaultApi#v1alpha3_backup\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
13304
14427
|
end
|
|
13305
14428
|
return data, status_code, headers
|
|
13306
14429
|
end
|
|
@@ -13388,7 +14511,7 @@ module Kubevirt
|
|
|
13388
14511
|
fail ArgumentError, "Missing the required parameter 'namespace' when calling DefaultApi.v1alpha3_console"
|
|
13389
14512
|
end
|
|
13390
14513
|
# resource path
|
|
13391
|
-
local_var_path = '/apis/subresources.kubevirt.io/v1alpha3/namespaces/{namespace}/virtualmachineinstances/{name}/console'.sub('{
|
|
14514
|
+
local_var_path = '/apis/subresources.kubevirt.io/v1alpha3/namespaces/{namespace}/virtualmachineinstances/{name}/console'.sub('{name}', CGI.escape(name.to_s)).sub('{namespace}', CGI.escape(namespace.to_s))
|
|
13392
14515
|
|
|
13393
14516
|
# query parameters
|
|
13394
14517
|
query_params = opts[:query_params] || {}
|
|
@@ -13447,7 +14570,7 @@ module Kubevirt
|
|
|
13447
14570
|
fail ArgumentError, "Missing the required parameter 'namespace' when calling DefaultApi.v1alpha3_expand_spec"
|
|
13448
14571
|
end
|
|
13449
14572
|
# resource path
|
|
13450
|
-
local_var_path = '/apis/subresources.kubevirt.io/v1alpha3/namespaces/{namespace}/expand-vm-spec'.sub('{
|
|
14573
|
+
local_var_path = '/apis/subresources.kubevirt.io/v1alpha3/namespaces/{namespace}/expand-vm-spec'.sub('{namespace}', CGI.escape(namespace.to_s))
|
|
13451
14574
|
|
|
13452
14575
|
# query parameters
|
|
13453
14576
|
query_params = opts[:query_params] || {}
|
|
@@ -13514,7 +14637,7 @@ module Kubevirt
|
|
|
13514
14637
|
fail ArgumentError, "Missing the required parameter 'namespace' when calling DefaultApi.v1alpha3_filesystemlist"
|
|
13515
14638
|
end
|
|
13516
14639
|
# resource path
|
|
13517
|
-
local_var_path = '/apis/subresources.kubevirt.io/v1alpha3/namespaces/{namespace}/virtualmachineinstances/{name}/filesystemlist'.sub('{
|
|
14640
|
+
local_var_path = '/apis/subresources.kubevirt.io/v1alpha3/namespaces/{namespace}/virtualmachineinstances/{name}/filesystemlist'.sub('{name}', CGI.escape(name.to_s)).sub('{namespace}', CGI.escape(namespace.to_s))
|
|
13518
14641
|
|
|
13519
14642
|
# query parameters
|
|
13520
14643
|
query_params = opts[:query_params] || {}
|
|
@@ -13587,7 +14710,7 @@ module Kubevirt
|
|
|
13587
14710
|
fail ArgumentError, "Missing the required parameter 'body' when calling DefaultApi.v1alpha3_freeze"
|
|
13588
14711
|
end
|
|
13589
14712
|
# resource path
|
|
13590
|
-
local_var_path = '/apis/subresources.kubevirt.io/v1alpha3/namespaces/{namespace}/virtualmachineinstances/{name}/freeze'.sub('{
|
|
14713
|
+
local_var_path = '/apis/subresources.kubevirt.io/v1alpha3/namespaces/{namespace}/virtualmachineinstances/{name}/freeze'.sub('{name}', CGI.escape(name.to_s)).sub('{namespace}', CGI.escape(namespace.to_s))
|
|
13591
14714
|
|
|
13592
14715
|
# query parameters
|
|
13593
14716
|
query_params = opts[:query_params] || {}
|
|
@@ -13707,7 +14830,7 @@ module Kubevirt
|
|
|
13707
14830
|
fail ArgumentError, "Missing the required parameter 'namespace' when calling DefaultApi.v1alpha3_guestosinfo"
|
|
13708
14831
|
end
|
|
13709
14832
|
# resource path
|
|
13710
|
-
local_var_path = '/apis/subresources.kubevirt.io/v1alpha3/namespaces/{namespace}/virtualmachineinstances/{name}/guestosinfo'.sub('{
|
|
14833
|
+
local_var_path = '/apis/subresources.kubevirt.io/v1alpha3/namespaces/{namespace}/virtualmachineinstances/{name}/guestosinfo'.sub('{name}', CGI.escape(name.to_s)).sub('{namespace}', CGI.escape(namespace.to_s))
|
|
13711
14834
|
|
|
13712
14835
|
# query parameters
|
|
13713
14836
|
query_params = opts[:query_params] || {}
|
|
@@ -13780,7 +14903,7 @@ module Kubevirt
|
|
|
13780
14903
|
fail ArgumentError, "Missing the required parameter 'body' when calling DefaultApi.v1alpha3_memory_dump"
|
|
13781
14904
|
end
|
|
13782
14905
|
# resource path
|
|
13783
|
-
local_var_path = '/apis/subresources.kubevirt.io/v1alpha3/namespaces/{namespace}/virtualmachines/{name}/memorydump'.sub('{
|
|
14906
|
+
local_var_path = '/apis/subresources.kubevirt.io/v1alpha3/namespaces/{namespace}/virtualmachines/{name}/memorydump'.sub('{name}', CGI.escape(name.to_s)).sub('{namespace}', CGI.escape(namespace.to_s))
|
|
13784
14907
|
|
|
13785
14908
|
# query parameters
|
|
13786
14909
|
query_params = opts[:query_params] || {}
|
|
@@ -13853,7 +14976,7 @@ module Kubevirt
|
|
|
13853
14976
|
fail ArgumentError, "Missing the required parameter 'body' when calling DefaultApi.v1alpha3_migrate"
|
|
13854
14977
|
end
|
|
13855
14978
|
# resource path
|
|
13856
|
-
local_var_path = '/apis/subresources.kubevirt.io/v1alpha3/namespaces/{namespace}/virtualmachines/{name}/migrate'.sub('{
|
|
14979
|
+
local_var_path = '/apis/subresources.kubevirt.io/v1alpha3/namespaces/{namespace}/virtualmachines/{name}/migrate'.sub('{name}', CGI.escape(name.to_s)).sub('{namespace}', CGI.escape(namespace.to_s))
|
|
13857
14980
|
|
|
13858
14981
|
# query parameters
|
|
13859
14982
|
query_params = opts[:query_params] || {}
|
|
@@ -13926,7 +15049,7 @@ module Kubevirt
|
|
|
13926
15049
|
fail ArgumentError, "Missing the required parameter 'body' when calling DefaultApi.v1alpha3_pause"
|
|
13927
15050
|
end
|
|
13928
15051
|
# resource path
|
|
13929
|
-
local_var_path = '/apis/subresources.kubevirt.io/v1alpha3/namespaces/{namespace}/virtualmachineinstances/{name}/pause'.sub('{
|
|
15052
|
+
local_var_path = '/apis/subresources.kubevirt.io/v1alpha3/namespaces/{namespace}/virtualmachineinstances/{name}/pause'.sub('{name}', CGI.escape(name.to_s)).sub('{namespace}', CGI.escape(namespace.to_s))
|
|
13930
15053
|
|
|
13931
15054
|
# query parameters
|
|
13932
15055
|
query_params = opts[:query_params] || {}
|
|
@@ -13965,6 +15088,79 @@ module Kubevirt
|
|
|
13965
15088
|
return data, status_code, headers
|
|
13966
15089
|
end
|
|
13967
15090
|
|
|
15091
|
+
# Redefine a checkpoint for a VirtualMachineInstance.
|
|
15092
|
+
# @param name [String] Name of the resource
|
|
15093
|
+
# @param namespace [String] Object name and auth scope, such as for teams and projects
|
|
15094
|
+
# @param body [V1alpha1BackupCheckpoint]
|
|
15095
|
+
# @param [Hash] opts the optional parameters
|
|
15096
|
+
# @return [String]
|
|
15097
|
+
def v1alpha3_redefine_checkpoint(name, namespace, body, opts = {})
|
|
15098
|
+
data, _status_code, _headers = v1alpha3_redefine_checkpoint_with_http_info(name, namespace, body, opts)
|
|
15099
|
+
data
|
|
15100
|
+
end
|
|
15101
|
+
|
|
15102
|
+
# Redefine a checkpoint for a VirtualMachineInstance.
|
|
15103
|
+
# @param name [String] Name of the resource
|
|
15104
|
+
# @param namespace [String] Object name and auth scope, such as for teams and projects
|
|
15105
|
+
# @param body [V1alpha1BackupCheckpoint]
|
|
15106
|
+
# @param [Hash] opts the optional parameters
|
|
15107
|
+
# @return [Array<(String, Integer, Hash)>] String data, response status code and response headers
|
|
15108
|
+
def v1alpha3_redefine_checkpoint_with_http_info(name, namespace, body, opts = {})
|
|
15109
|
+
if @api_client.config.debugging
|
|
15110
|
+
@api_client.config.logger.debug 'Calling API: DefaultApi.v1alpha3_redefine_checkpoint ...'
|
|
15111
|
+
end
|
|
15112
|
+
# verify the required parameter 'name' is set
|
|
15113
|
+
if @api_client.config.client_side_validation && name.nil?
|
|
15114
|
+
fail ArgumentError, "Missing the required parameter 'name' when calling DefaultApi.v1alpha3_redefine_checkpoint"
|
|
15115
|
+
end
|
|
15116
|
+
# verify the required parameter 'namespace' is set
|
|
15117
|
+
if @api_client.config.client_side_validation && namespace.nil?
|
|
15118
|
+
fail ArgumentError, "Missing the required parameter 'namespace' when calling DefaultApi.v1alpha3_redefine_checkpoint"
|
|
15119
|
+
end
|
|
15120
|
+
# verify the required parameter 'body' is set
|
|
15121
|
+
if @api_client.config.client_side_validation && body.nil?
|
|
15122
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling DefaultApi.v1alpha3_redefine_checkpoint"
|
|
15123
|
+
end
|
|
15124
|
+
# resource path
|
|
15125
|
+
local_var_path = '/apis/subresources.kubevirt.io/v1alpha3/namespaces/{namespace}/virtualmachineinstances/{name}/redefine-checkpoint'.sub('{name}', CGI.escape(name.to_s)).sub('{namespace}', CGI.escape(namespace.to_s))
|
|
15126
|
+
|
|
15127
|
+
# query parameters
|
|
15128
|
+
query_params = opts[:query_params] || {}
|
|
15129
|
+
|
|
15130
|
+
# header parameters
|
|
15131
|
+
header_params = opts[:header_params] || {}
|
|
15132
|
+
# HTTP header 'Accept' (if needed)
|
|
15133
|
+
header_params['Accept'] = @api_client.select_header_accept(['*/*']) unless header_params['Accept']
|
|
15134
|
+
|
|
15135
|
+
# form parameters
|
|
15136
|
+
form_params = opts[:form_params] || {}
|
|
15137
|
+
|
|
15138
|
+
# http body (model)
|
|
15139
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
|
15140
|
+
|
|
15141
|
+
# return_type
|
|
15142
|
+
return_type = opts[:debug_return_type] || 'String'
|
|
15143
|
+
|
|
15144
|
+
# auth_names
|
|
15145
|
+
auth_names = opts[:debug_auth_names] || []
|
|
15146
|
+
|
|
15147
|
+
new_options = opts.merge(
|
|
15148
|
+
:operation => :"DefaultApi.v1alpha3_redefine_checkpoint",
|
|
15149
|
+
:header_params => header_params,
|
|
15150
|
+
:query_params => query_params,
|
|
15151
|
+
:form_params => form_params,
|
|
15152
|
+
:body => post_body,
|
|
15153
|
+
:auth_names => auth_names,
|
|
15154
|
+
:return_type => return_type
|
|
15155
|
+
)
|
|
15156
|
+
|
|
15157
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
|
15158
|
+
if @api_client.config.debugging
|
|
15159
|
+
@api_client.config.logger.debug "API called: DefaultApi#v1alpha3_redefine_checkpoint\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
15160
|
+
end
|
|
15161
|
+
return data, status_code, headers
|
|
15162
|
+
end
|
|
15163
|
+
|
|
13968
15164
|
# Remove memory dump association.
|
|
13969
15165
|
# @param name [String] Name of the resource
|
|
13970
15166
|
# @param namespace [String] Object name and auth scope, such as for teams and projects
|
|
@@ -13993,7 +15189,7 @@ module Kubevirt
|
|
|
13993
15189
|
fail ArgumentError, "Missing the required parameter 'namespace' when calling DefaultApi.v1alpha3_remove_memory_dump"
|
|
13994
15190
|
end
|
|
13995
15191
|
# resource path
|
|
13996
|
-
local_var_path = '/apis/subresources.kubevirt.io/v1alpha3/namespaces/{namespace}/virtualmachines/{name}/removememorydump'.sub('{
|
|
15192
|
+
local_var_path = '/apis/subresources.kubevirt.io/v1alpha3/namespaces/{namespace}/virtualmachines/{name}/removememorydump'.sub('{name}', CGI.escape(name.to_s)).sub('{namespace}', CGI.escape(namespace.to_s))
|
|
13997
15193
|
|
|
13998
15194
|
# query parameters
|
|
13999
15195
|
query_params = opts[:query_params] || {}
|
|
@@ -14060,7 +15256,7 @@ module Kubevirt
|
|
|
14060
15256
|
fail ArgumentError, "Missing the required parameter 'namespace' when calling DefaultApi.v1alpha3_reset"
|
|
14061
15257
|
end
|
|
14062
15258
|
# resource path
|
|
14063
|
-
local_var_path = '/apis/subresources.kubevirt.io/v1alpha3/namespaces/{namespace}/virtualmachineinstances/{name}/reset'.sub('{
|
|
15259
|
+
local_var_path = '/apis/subresources.kubevirt.io/v1alpha3/namespaces/{namespace}/virtualmachineinstances/{name}/reset'.sub('{name}', CGI.escape(name.to_s)).sub('{namespace}', CGI.escape(namespace.to_s))
|
|
14064
15260
|
|
|
14065
15261
|
# query parameters
|
|
14066
15262
|
query_params = opts[:query_params] || {}
|
|
@@ -14129,7 +15325,7 @@ module Kubevirt
|
|
|
14129
15325
|
fail ArgumentError, "Missing the required parameter 'namespace' when calling DefaultApi.v1alpha3_restart"
|
|
14130
15326
|
end
|
|
14131
15327
|
# resource path
|
|
14132
|
-
local_var_path = '/apis/subresources.kubevirt.io/v1alpha3/namespaces/{namespace}/virtualmachines/{name}/restart'.sub('{
|
|
15328
|
+
local_var_path = '/apis/subresources.kubevirt.io/v1alpha3/namespaces/{namespace}/virtualmachines/{name}/restart'.sub('{name}', CGI.escape(name.to_s)).sub('{namespace}', CGI.escape(namespace.to_s))
|
|
14133
15329
|
|
|
14134
15330
|
# query parameters
|
|
14135
15331
|
query_params = opts[:query_params] || {}
|
|
@@ -14196,7 +15392,7 @@ module Kubevirt
|
|
|
14196
15392
|
fail ArgumentError, "Missing the required parameter 'namespace' when calling DefaultApi.v1alpha3_sev_fetch_cert_chain"
|
|
14197
15393
|
end
|
|
14198
15394
|
# resource path
|
|
14199
|
-
local_var_path = '/apis/subresources.kubevirt.io/v1alpha3/namespaces/{namespace}/virtualmachineinstances/{name}/sev/fetchcertchain'.sub('{
|
|
15395
|
+
local_var_path = '/apis/subresources.kubevirt.io/v1alpha3/namespaces/{namespace}/virtualmachineinstances/{name}/sev/fetchcertchain'.sub('{name}', CGI.escape(name.to_s)).sub('{namespace}', CGI.escape(namespace.to_s))
|
|
14200
15396
|
|
|
14201
15397
|
# query parameters
|
|
14202
15398
|
query_params = opts[:query_params] || {}
|
|
@@ -14269,7 +15465,7 @@ module Kubevirt
|
|
|
14269
15465
|
fail ArgumentError, "Missing the required parameter 'body' when calling DefaultApi.v1alpha3_sev_inject_launch_secret"
|
|
14270
15466
|
end
|
|
14271
15467
|
# resource path
|
|
14272
|
-
local_var_path = '/apis/subresources.kubevirt.io/v1alpha3/namespaces/{namespace}/virtualmachineinstances/{name}/sev/injectlaunchsecret'.sub('{
|
|
15468
|
+
local_var_path = '/apis/subresources.kubevirt.io/v1alpha3/namespaces/{namespace}/virtualmachineinstances/{name}/sev/injectlaunchsecret'.sub('{name}', CGI.escape(name.to_s)).sub('{namespace}', CGI.escape(namespace.to_s))
|
|
14273
15469
|
|
|
14274
15470
|
# query parameters
|
|
14275
15471
|
query_params = opts[:query_params] || {}
|
|
@@ -14336,7 +15532,7 @@ module Kubevirt
|
|
|
14336
15532
|
fail ArgumentError, "Missing the required parameter 'namespace' when calling DefaultApi.v1alpha3_sev_query_launch_measurement"
|
|
14337
15533
|
end
|
|
14338
15534
|
# resource path
|
|
14339
|
-
local_var_path = '/apis/subresources.kubevirt.io/v1alpha3/namespaces/{namespace}/virtualmachineinstances/{name}/sev/querylaunchmeasurement'.sub('{
|
|
15535
|
+
local_var_path = '/apis/subresources.kubevirt.io/v1alpha3/namespaces/{namespace}/virtualmachineinstances/{name}/sev/querylaunchmeasurement'.sub('{name}', CGI.escape(name.to_s)).sub('{namespace}', CGI.escape(namespace.to_s))
|
|
14340
15536
|
|
|
14341
15537
|
# query parameters
|
|
14342
15538
|
query_params = opts[:query_params] || {}
|
|
@@ -14409,7 +15605,7 @@ module Kubevirt
|
|
|
14409
15605
|
fail ArgumentError, "Missing the required parameter 'body' when calling DefaultApi.v1alpha3_sev_setup_session"
|
|
14410
15606
|
end
|
|
14411
15607
|
# resource path
|
|
14412
|
-
local_var_path = '/apis/subresources.kubevirt.io/v1alpha3/namespaces/{namespace}/virtualmachineinstances/{name}/sev/setupsession'.sub('{
|
|
15608
|
+
local_var_path = '/apis/subresources.kubevirt.io/v1alpha3/namespaces/{namespace}/virtualmachineinstances/{name}/sev/setupsession'.sub('{name}', CGI.escape(name.to_s)).sub('{namespace}', CGI.escape(namespace.to_s))
|
|
14413
15609
|
|
|
14414
15610
|
# query parameters
|
|
14415
15611
|
query_params = opts[:query_params] || {}
|
|
@@ -14476,7 +15672,7 @@ module Kubevirt
|
|
|
14476
15672
|
fail ArgumentError, "Missing the required parameter 'namespace' when calling DefaultApi.v1alpha3_soft_reboot"
|
|
14477
15673
|
end
|
|
14478
15674
|
# resource path
|
|
14479
|
-
local_var_path = '/apis/subresources.kubevirt.io/v1alpha3/namespaces/{namespace}/virtualmachineinstances/{name}/softreboot'.sub('{
|
|
15675
|
+
local_var_path = '/apis/subresources.kubevirt.io/v1alpha3/namespaces/{namespace}/virtualmachineinstances/{name}/softreboot'.sub('{name}', CGI.escape(name.to_s)).sub('{namespace}', CGI.escape(namespace.to_s))
|
|
14480
15676
|
|
|
14481
15677
|
# query parameters
|
|
14482
15678
|
query_params = opts[:query_params] || {}
|
|
@@ -14549,7 +15745,7 @@ module Kubevirt
|
|
|
14549
15745
|
fail ArgumentError, "Missing the required parameter 'body' when calling DefaultApi.v1alpha3_start"
|
|
14550
15746
|
end
|
|
14551
15747
|
# resource path
|
|
14552
|
-
local_var_path = '/apis/subresources.kubevirt.io/v1alpha3/namespaces/{namespace}/virtualmachines/{name}/start'.sub('{
|
|
15748
|
+
local_var_path = '/apis/subresources.kubevirt.io/v1alpha3/namespaces/{namespace}/virtualmachines/{name}/start'.sub('{name}', CGI.escape(name.to_s)).sub('{namespace}', CGI.escape(namespace.to_s))
|
|
14553
15749
|
|
|
14554
15750
|
# query parameters
|
|
14555
15751
|
query_params = opts[:query_params] || {}
|
|
@@ -14618,7 +15814,7 @@ module Kubevirt
|
|
|
14618
15814
|
fail ArgumentError, "Missing the required parameter 'namespace' when calling DefaultApi.v1alpha3_stop"
|
|
14619
15815
|
end
|
|
14620
15816
|
# resource path
|
|
14621
|
-
local_var_path = '/apis/subresources.kubevirt.io/v1alpha3/namespaces/{namespace}/virtualmachines/{name}/stop'.sub('{
|
|
15817
|
+
local_var_path = '/apis/subresources.kubevirt.io/v1alpha3/namespaces/{namespace}/virtualmachines/{name}/stop'.sub('{name}', CGI.escape(name.to_s)).sub('{namespace}', CGI.escape(namespace.to_s))
|
|
14622
15818
|
|
|
14623
15819
|
# query parameters
|
|
14624
15820
|
query_params = opts[:query_params] || {}
|
|
@@ -14685,7 +15881,7 @@ module Kubevirt
|
|
|
14685
15881
|
fail ArgumentError, "Missing the required parameter 'namespace' when calling DefaultApi.v1alpha3_unfreeze"
|
|
14686
15882
|
end
|
|
14687
15883
|
# resource path
|
|
14688
|
-
local_var_path = '/apis/subresources.kubevirt.io/v1alpha3/namespaces/{namespace}/virtualmachineinstances/{name}/unfreeze'.sub('{
|
|
15884
|
+
local_var_path = '/apis/subresources.kubevirt.io/v1alpha3/namespaces/{namespace}/virtualmachineinstances/{name}/unfreeze'.sub('{name}', CGI.escape(name.to_s)).sub('{namespace}', CGI.escape(namespace.to_s))
|
|
14689
15885
|
|
|
14690
15886
|
# query parameters
|
|
14691
15887
|
query_params = opts[:query_params] || {}
|
|
@@ -14758,7 +15954,7 @@ module Kubevirt
|
|
|
14758
15954
|
fail ArgumentError, "Missing the required parameter 'body' when calling DefaultApi.v1alpha3_unpause"
|
|
14759
15955
|
end
|
|
14760
15956
|
# resource path
|
|
14761
|
-
local_var_path = '/apis/subresources.kubevirt.io/v1alpha3/namespaces/{namespace}/virtualmachineinstances/{name}/unpause'.sub('{
|
|
15957
|
+
local_var_path = '/apis/subresources.kubevirt.io/v1alpha3/namespaces/{namespace}/virtualmachineinstances/{name}/unpause'.sub('{name}', CGI.escape(name.to_s)).sub('{namespace}', CGI.escape(namespace.to_s))
|
|
14762
15958
|
|
|
14763
15959
|
# query parameters
|
|
14764
15960
|
query_params = opts[:query_params] || {}
|
|
@@ -14825,7 +16021,7 @@ module Kubevirt
|
|
|
14825
16021
|
fail ArgumentError, "Missing the required parameter 'namespace' when calling DefaultApi.v1alpha3_userlist"
|
|
14826
16022
|
end
|
|
14827
16023
|
# resource path
|
|
14828
|
-
local_var_path = '/apis/subresources.kubevirt.io/v1alpha3/namespaces/{namespace}/virtualmachineinstances/{name}/userlist'.sub('{
|
|
16024
|
+
local_var_path = '/apis/subresources.kubevirt.io/v1alpha3/namespaces/{namespace}/virtualmachineinstances/{name}/userlist'.sub('{name}', CGI.escape(name.to_s)).sub('{namespace}', CGI.escape(namespace.to_s))
|
|
14829
16025
|
|
|
14830
16026
|
# query parameters
|
|
14831
16027
|
query_params = opts[:query_params] || {}
|
|
@@ -14945,7 +16141,7 @@ module Kubevirt
|
|
|
14945
16141
|
fail ArgumentError, "Missing the required parameter 'namespace' when calling DefaultApi.v1alpha3_vnc"
|
|
14946
16142
|
end
|
|
14947
16143
|
# resource path
|
|
14948
|
-
local_var_path = '/apis/subresources.kubevirt.io/v1alpha3/namespaces/{namespace}/virtualmachineinstances/{name}/vnc'.sub('{
|
|
16144
|
+
local_var_path = '/apis/subresources.kubevirt.io/v1alpha3/namespaces/{namespace}/virtualmachineinstances/{name}/vnc'.sub('{name}', CGI.escape(name.to_s)).sub('{namespace}', CGI.escape(namespace.to_s))
|
|
14949
16145
|
|
|
14950
16146
|
# query parameters
|
|
14951
16147
|
query_params = opts[:query_params] || {}
|
|
@@ -15013,7 +16209,7 @@ module Kubevirt
|
|
|
15013
16209
|
fail ArgumentError, "Missing the required parameter 'namespace' when calling DefaultApi.v1alpha3_vnc_screenshot"
|
|
15014
16210
|
end
|
|
15015
16211
|
# resource path
|
|
15016
|
-
local_var_path = '/apis/subresources.kubevirt.io/v1alpha3/namespaces/{namespace}/virtualmachineinstances/{name}/vnc/screenshot'.sub('{
|
|
16212
|
+
local_var_path = '/apis/subresources.kubevirt.io/v1alpha3/namespaces/{namespace}/virtualmachineinstances/{name}/vnc/screenshot'.sub('{name}', CGI.escape(name.to_s)).sub('{namespace}', CGI.escape(namespace.to_s))
|
|
15017
16213
|
|
|
15018
16214
|
# query parameters
|
|
15019
16215
|
query_params = opts[:query_params] || {}
|
|
@@ -15087,7 +16283,7 @@ module Kubevirt
|
|
|
15087
16283
|
fail ArgumentError, "Missing the required parameter 'port' when calling DefaultApi.v1alpha3_vsock"
|
|
15088
16284
|
end
|
|
15089
16285
|
# resource path
|
|
15090
|
-
local_var_path = '/apis/subresources.kubevirt.io/v1alpha3/namespaces/{namespace}/virtualmachineinstances/{name}/vsock'.sub('{
|
|
16286
|
+
local_var_path = '/apis/subresources.kubevirt.io/v1alpha3/namespaces/{namespace}/virtualmachineinstances/{name}/vsock'.sub('{name}', CGI.escape(name.to_s)).sub('{namespace}', CGI.escape(namespace.to_s))
|
|
15091
16287
|
|
|
15092
16288
|
# query parameters
|
|
15093
16289
|
query_params = opts[:query_params] || {}
|
|
@@ -15362,7 +16558,7 @@ module Kubevirt
|
|
|
15362
16558
|
fail ArgumentError, "Missing the required parameter 'namespace' when calling DefaultApi.v1alpha3usbredir"
|
|
15363
16559
|
end
|
|
15364
16560
|
# resource path
|
|
15365
|
-
local_var_path = '/apis/subresources.kubevirt.io/v1alpha3/namespaces/{namespace}/virtualmachineinstances/{name}/usbredir'.sub('{
|
|
16561
|
+
local_var_path = '/apis/subresources.kubevirt.io/v1alpha3/namespaces/{namespace}/virtualmachineinstances/{name}/usbredir'.sub('{name}', CGI.escape(name.to_s)).sub('{namespace}', CGI.escape(namespace.to_s))
|
|
15366
16562
|
|
|
15367
16563
|
# query parameters
|
|
15368
16564
|
query_params = opts[:query_params] || {}
|
|
@@ -15433,7 +16629,7 @@ module Kubevirt
|
|
|
15433
16629
|
fail ArgumentError, "Missing the required parameter 'body' when calling DefaultApi.v1alpha3vm_addvolume"
|
|
15434
16630
|
end
|
|
15435
16631
|
# resource path
|
|
15436
|
-
local_var_path = '/apis/subresources.kubevirt.io/v1alpha3/namespaces/{namespace}/virtualmachines/{name}/addvolume'.sub('{
|
|
16632
|
+
local_var_path = '/apis/subresources.kubevirt.io/v1alpha3/namespaces/{namespace}/virtualmachines/{name}/addvolume'.sub('{name}', CGI.escape(name.to_s)).sub('{namespace}', CGI.escape(namespace.to_s))
|
|
15437
16633
|
|
|
15438
16634
|
# query parameters
|
|
15439
16635
|
query_params = opts[:query_params] || {}
|
|
@@ -15506,7 +16702,7 @@ module Kubevirt
|
|
|
15506
16702
|
fail ArgumentError, "Missing the required parameter 'body' when calling DefaultApi.v1alpha3vm_evacuatecancel"
|
|
15507
16703
|
end
|
|
15508
16704
|
# resource path
|
|
15509
|
-
local_var_path = '/apis/subresources.kubevirt.io/v1alpha3/namespaces/{namespace}/virtualmachines/{name}/evacuate/cancel'.sub('{
|
|
16705
|
+
local_var_path = '/apis/subresources.kubevirt.io/v1alpha3/namespaces/{namespace}/virtualmachines/{name}/evacuate/cancel'.sub('{name}', CGI.escape(name.to_s)).sub('{namespace}', CGI.escape(namespace.to_s))
|
|
15510
16706
|
|
|
15511
16707
|
# query parameters
|
|
15512
16708
|
query_params = opts[:query_params] || {}
|
|
@@ -15573,7 +16769,7 @@ module Kubevirt
|
|
|
15573
16769
|
fail ArgumentError, "Missing the required parameter 'namespace' when calling DefaultApi.v1alpha3vm_expand_spec"
|
|
15574
16770
|
end
|
|
15575
16771
|
# resource path
|
|
15576
|
-
local_var_path = '/apis/subresources.kubevirt.io/v1alpha3/namespaces/{namespace}/virtualmachines/{name}/expand-spec'.sub('{
|
|
16772
|
+
local_var_path = '/apis/subresources.kubevirt.io/v1alpha3/namespaces/{namespace}/virtualmachines/{name}/expand-spec'.sub('{name}', CGI.escape(name.to_s)).sub('{namespace}', CGI.escape(namespace.to_s))
|
|
15577
16773
|
|
|
15578
16774
|
# query parameters
|
|
15579
16775
|
query_params = opts[:query_params] || {}
|
|
@@ -15646,7 +16842,7 @@ module Kubevirt
|
|
|
15646
16842
|
fail ArgumentError, "Missing the required parameter 'body' when calling DefaultApi.v1alpha3vm_objectgraph"
|
|
15647
16843
|
end
|
|
15648
16844
|
# resource path
|
|
15649
|
-
local_var_path = '/apis/subresources.kubevirt.io/v1alpha3/namespaces/{namespace}/virtualmachines/{name}/objectgraph'.sub('{
|
|
16845
|
+
local_var_path = '/apis/subresources.kubevirt.io/v1alpha3/namespaces/{namespace}/virtualmachines/{name}/objectgraph'.sub('{name}', CGI.escape(name.to_s)).sub('{namespace}', CGI.escape(namespace.to_s))
|
|
15650
16846
|
|
|
15651
16847
|
# query parameters
|
|
15652
16848
|
query_params = opts[:query_params] || {}
|
|
@@ -15724,7 +16920,7 @@ module Kubevirt
|
|
|
15724
16920
|
fail ArgumentError, "Missing the required parameter 'port' when calling DefaultApi.v1alpha3vm_port_forward"
|
|
15725
16921
|
end
|
|
15726
16922
|
# resource path
|
|
15727
|
-
local_var_path = '/apis/subresources.kubevirt.io/v1alpha3/namespaces/{namespace}/virtualmachines/{name}/portforward/{port}'.sub('{
|
|
16923
|
+
local_var_path = '/apis/subresources.kubevirt.io/v1alpha3/namespaces/{namespace}/virtualmachines/{name}/portforward/{port}'.sub('{name}', CGI.escape(name.to_s)).sub('{namespace}', CGI.escape(namespace.to_s)).sub('{port}', CGI.escape(port.to_s))
|
|
15728
16924
|
|
|
15729
16925
|
# query parameters
|
|
15730
16926
|
query_params = opts[:query_params] || {}
|
|
@@ -15801,7 +16997,7 @@ module Kubevirt
|
|
|
15801
16997
|
fail ArgumentError, "Missing the required parameter 'protocol' when calling DefaultApi.v1alpha3vm_port_forward_with_protocol"
|
|
15802
16998
|
end
|
|
15803
16999
|
# resource path
|
|
15804
|
-
local_var_path = '/apis/subresources.kubevirt.io/v1alpha3/namespaces/{namespace}/virtualmachines/{name}/portforward/{port}/{protocol}'.sub('{
|
|
17000
|
+
local_var_path = '/apis/subresources.kubevirt.io/v1alpha3/namespaces/{namespace}/virtualmachines/{name}/portforward/{port}/{protocol}'.sub('{name}', CGI.escape(name.to_s)).sub('{namespace}', CGI.escape(namespace.to_s)).sub('{port}', CGI.escape(port.to_s)).sub('{protocol}', CGI.escape(protocol.to_s))
|
|
15805
17001
|
|
|
15806
17002
|
# query parameters
|
|
15807
17003
|
query_params = opts[:query_params] || {}
|
|
@@ -15872,7 +17068,7 @@ module Kubevirt
|
|
|
15872
17068
|
fail ArgumentError, "Missing the required parameter 'body' when calling DefaultApi.v1alpha3vm_removevolume"
|
|
15873
17069
|
end
|
|
15874
17070
|
# resource path
|
|
15875
|
-
local_var_path = '/apis/subresources.kubevirt.io/v1alpha3/namespaces/{namespace}/virtualmachines/{name}/removevolume'.sub('{
|
|
17071
|
+
local_var_path = '/apis/subresources.kubevirt.io/v1alpha3/namespaces/{namespace}/virtualmachines/{name}/removevolume'.sub('{name}', CGI.escape(name.to_s)).sub('{namespace}', CGI.escape(namespace.to_s))
|
|
15876
17072
|
|
|
15877
17073
|
# query parameters
|
|
15878
17074
|
query_params = opts[:query_params] || {}
|
|
@@ -15945,7 +17141,7 @@ module Kubevirt
|
|
|
15945
17141
|
fail ArgumentError, "Missing the required parameter 'body' when calling DefaultApi.v1alpha3vmi_addvolume"
|
|
15946
17142
|
end
|
|
15947
17143
|
# resource path
|
|
15948
|
-
local_var_path = '/apis/subresources.kubevirt.io/v1alpha3/namespaces/{namespace}/virtualmachineinstances/{name}/addvolume'.sub('{
|
|
17144
|
+
local_var_path = '/apis/subresources.kubevirt.io/v1alpha3/namespaces/{namespace}/virtualmachineinstances/{name}/addvolume'.sub('{name}', CGI.escape(name.to_s)).sub('{namespace}', CGI.escape(namespace.to_s))
|
|
15949
17145
|
|
|
15950
17146
|
# query parameters
|
|
15951
17147
|
query_params = opts[:query_params] || {}
|
|
@@ -16018,7 +17214,7 @@ module Kubevirt
|
|
|
16018
17214
|
fail ArgumentError, "Missing the required parameter 'body' when calling DefaultApi.v1alpha3vmi_evacuatecancel"
|
|
16019
17215
|
end
|
|
16020
17216
|
# resource path
|
|
16021
|
-
local_var_path = '/apis/subresources.kubevirt.io/v1alpha3/namespaces/{namespace}/virtualmachineinstances/{name}/evacuate/cancel'.sub('{
|
|
17217
|
+
local_var_path = '/apis/subresources.kubevirt.io/v1alpha3/namespaces/{namespace}/virtualmachineinstances/{name}/evacuate/cancel'.sub('{name}', CGI.escape(name.to_s)).sub('{namespace}', CGI.escape(namespace.to_s))
|
|
16022
17218
|
|
|
16023
17219
|
# query parameters
|
|
16024
17220
|
query_params = opts[:query_params] || {}
|
|
@@ -16091,7 +17287,7 @@ module Kubevirt
|
|
|
16091
17287
|
fail ArgumentError, "Missing the required parameter 'body' when calling DefaultApi.v1alpha3vmi_objectgraph"
|
|
16092
17288
|
end
|
|
16093
17289
|
# resource path
|
|
16094
|
-
local_var_path = '/apis/subresources.kubevirt.io/v1alpha3/namespaces/{namespace}/virtualmachineinstances/{name}/objectgraph'.sub('{
|
|
17290
|
+
local_var_path = '/apis/subresources.kubevirt.io/v1alpha3/namespaces/{namespace}/virtualmachineinstances/{name}/objectgraph'.sub('{name}', CGI.escape(name.to_s)).sub('{namespace}', CGI.escape(namespace.to_s))
|
|
16095
17291
|
|
|
16096
17292
|
# query parameters
|
|
16097
17293
|
query_params = opts[:query_params] || {}
|
|
@@ -16169,7 +17365,7 @@ module Kubevirt
|
|
|
16169
17365
|
fail ArgumentError, "Missing the required parameter 'port' when calling DefaultApi.v1alpha3vmi_port_forward"
|
|
16170
17366
|
end
|
|
16171
17367
|
# resource path
|
|
16172
|
-
local_var_path = '/apis/subresources.kubevirt.io/v1alpha3/namespaces/{namespace}/virtualmachineinstances/{name}/portforward/{port}'.sub('{
|
|
17368
|
+
local_var_path = '/apis/subresources.kubevirt.io/v1alpha3/namespaces/{namespace}/virtualmachineinstances/{name}/portforward/{port}'.sub('{name}', CGI.escape(name.to_s)).sub('{namespace}', CGI.escape(namespace.to_s)).sub('{port}', CGI.escape(port.to_s))
|
|
16173
17369
|
|
|
16174
17370
|
# query parameters
|
|
16175
17371
|
query_params = opts[:query_params] || {}
|
|
@@ -16246,7 +17442,7 @@ module Kubevirt
|
|
|
16246
17442
|
fail ArgumentError, "Missing the required parameter 'protocol' when calling DefaultApi.v1alpha3vmi_port_forward_with_protocol"
|
|
16247
17443
|
end
|
|
16248
17444
|
# resource path
|
|
16249
|
-
local_var_path = '/apis/subresources.kubevirt.io/v1alpha3/namespaces/{namespace}/virtualmachineinstances/{name}/portforward/{port}/{protocol}'.sub('{
|
|
17445
|
+
local_var_path = '/apis/subresources.kubevirt.io/v1alpha3/namespaces/{namespace}/virtualmachineinstances/{name}/portforward/{port}/{protocol}'.sub('{name}', CGI.escape(name.to_s)).sub('{namespace}', CGI.escape(namespace.to_s)).sub('{port}', CGI.escape(port.to_s)).sub('{protocol}', CGI.escape(protocol.to_s))
|
|
16250
17446
|
|
|
16251
17447
|
# query parameters
|
|
16252
17448
|
query_params = opts[:query_params] || {}
|
|
@@ -16317,7 +17513,7 @@ module Kubevirt
|
|
|
16317
17513
|
fail ArgumentError, "Missing the required parameter 'body' when calling DefaultApi.v1alpha3vmi_removevolume"
|
|
16318
17514
|
end
|
|
16319
17515
|
# resource path
|
|
16320
|
-
local_var_path = '/apis/subresources.kubevirt.io/v1alpha3/namespaces/{namespace}/virtualmachineinstances/{name}/removevolume'.sub('{
|
|
17516
|
+
local_var_path = '/apis/subresources.kubevirt.io/v1alpha3/namespaces/{namespace}/virtualmachineinstances/{name}/removevolume'.sub('{name}', CGI.escape(name.to_s)).sub('{namespace}', CGI.escape(namespace.to_s))
|
|
16321
17517
|
|
|
16322
17518
|
# query parameters
|
|
16323
17519
|
query_params = opts[:query_params] || {}
|
|
@@ -16592,7 +17788,7 @@ module Kubevirt
|
|
|
16592
17788
|
fail ArgumentError, "Missing the required parameter 'namespace' when calling DefaultApi.v1usbredir"
|
|
16593
17789
|
end
|
|
16594
17790
|
# resource path
|
|
16595
|
-
local_var_path = '/apis/subresources.kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstances/{name}/usbredir'.sub('{
|
|
17791
|
+
local_var_path = '/apis/subresources.kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstances/{name}/usbredir'.sub('{name}', CGI.escape(name.to_s)).sub('{namespace}', CGI.escape(namespace.to_s))
|
|
16596
17792
|
|
|
16597
17793
|
# query parameters
|
|
16598
17794
|
query_params = opts[:query_params] || {}
|
|
@@ -16663,7 +17859,7 @@ module Kubevirt
|
|
|
16663
17859
|
fail ArgumentError, "Missing the required parameter 'body' when calling DefaultApi.v1vm_addvolume"
|
|
16664
17860
|
end
|
|
16665
17861
|
# resource path
|
|
16666
|
-
local_var_path = '/apis/subresources.kubevirt.io/v1/namespaces/{namespace}/virtualmachines/{name}/addvolume'.sub('{
|
|
17862
|
+
local_var_path = '/apis/subresources.kubevirt.io/v1/namespaces/{namespace}/virtualmachines/{name}/addvolume'.sub('{name}', CGI.escape(name.to_s)).sub('{namespace}', CGI.escape(namespace.to_s))
|
|
16667
17863
|
|
|
16668
17864
|
# query parameters
|
|
16669
17865
|
query_params = opts[:query_params] || {}
|
|
@@ -16736,7 +17932,7 @@ module Kubevirt
|
|
|
16736
17932
|
fail ArgumentError, "Missing the required parameter 'body' when calling DefaultApi.v1vm_evacuatecancel"
|
|
16737
17933
|
end
|
|
16738
17934
|
# resource path
|
|
16739
|
-
local_var_path = '/apis/subresources.kubevirt.io/v1/namespaces/{namespace}/virtualmachines/{name}/evacuate/cancel'.sub('{
|
|
17935
|
+
local_var_path = '/apis/subresources.kubevirt.io/v1/namespaces/{namespace}/virtualmachines/{name}/evacuate/cancel'.sub('{name}', CGI.escape(name.to_s)).sub('{namespace}', CGI.escape(namespace.to_s))
|
|
16740
17936
|
|
|
16741
17937
|
# query parameters
|
|
16742
17938
|
query_params = opts[:query_params] || {}
|
|
@@ -16803,7 +17999,7 @@ module Kubevirt
|
|
|
16803
17999
|
fail ArgumentError, "Missing the required parameter 'namespace' when calling DefaultApi.v1vm_expand_spec"
|
|
16804
18000
|
end
|
|
16805
18001
|
# resource path
|
|
16806
|
-
local_var_path = '/apis/subresources.kubevirt.io/v1/namespaces/{namespace}/virtualmachines/{name}/expand-spec'.sub('{
|
|
18002
|
+
local_var_path = '/apis/subresources.kubevirt.io/v1/namespaces/{namespace}/virtualmachines/{name}/expand-spec'.sub('{name}', CGI.escape(name.to_s)).sub('{namespace}', CGI.escape(namespace.to_s))
|
|
16807
18003
|
|
|
16808
18004
|
# query parameters
|
|
16809
18005
|
query_params = opts[:query_params] || {}
|
|
@@ -16876,7 +18072,7 @@ module Kubevirt
|
|
|
16876
18072
|
fail ArgumentError, "Missing the required parameter 'body' when calling DefaultApi.v1vm_objectgraph"
|
|
16877
18073
|
end
|
|
16878
18074
|
# resource path
|
|
16879
|
-
local_var_path = '/apis/subresources.kubevirt.io/v1/namespaces/{namespace}/virtualmachines/{name}/objectgraph'.sub('{
|
|
18075
|
+
local_var_path = '/apis/subresources.kubevirt.io/v1/namespaces/{namespace}/virtualmachines/{name}/objectgraph'.sub('{name}', CGI.escape(name.to_s)).sub('{namespace}', CGI.escape(namespace.to_s))
|
|
16880
18076
|
|
|
16881
18077
|
# query parameters
|
|
16882
18078
|
query_params = opts[:query_params] || {}
|
|
@@ -16954,7 +18150,7 @@ module Kubevirt
|
|
|
16954
18150
|
fail ArgumentError, "Missing the required parameter 'port' when calling DefaultApi.v1vm_port_forward"
|
|
16955
18151
|
end
|
|
16956
18152
|
# resource path
|
|
16957
|
-
local_var_path = '/apis/subresources.kubevirt.io/v1/namespaces/{namespace}/virtualmachines/{name}/portforward/{port}'.sub('{
|
|
18153
|
+
local_var_path = '/apis/subresources.kubevirt.io/v1/namespaces/{namespace}/virtualmachines/{name}/portforward/{port}'.sub('{name}', CGI.escape(name.to_s)).sub('{namespace}', CGI.escape(namespace.to_s)).sub('{port}', CGI.escape(port.to_s))
|
|
16958
18154
|
|
|
16959
18155
|
# query parameters
|
|
16960
18156
|
query_params = opts[:query_params] || {}
|
|
@@ -17031,7 +18227,7 @@ module Kubevirt
|
|
|
17031
18227
|
fail ArgumentError, "Missing the required parameter 'protocol' when calling DefaultApi.v1vm_port_forward_with_protocol"
|
|
17032
18228
|
end
|
|
17033
18229
|
# resource path
|
|
17034
|
-
local_var_path = '/apis/subresources.kubevirt.io/v1/namespaces/{namespace}/virtualmachines/{name}/portforward/{port}/{protocol}'.sub('{
|
|
18230
|
+
local_var_path = '/apis/subresources.kubevirt.io/v1/namespaces/{namespace}/virtualmachines/{name}/portforward/{port}/{protocol}'.sub('{name}', CGI.escape(name.to_s)).sub('{namespace}', CGI.escape(namespace.to_s)).sub('{port}', CGI.escape(port.to_s)).sub('{protocol}', CGI.escape(protocol.to_s))
|
|
17035
18231
|
|
|
17036
18232
|
# query parameters
|
|
17037
18233
|
query_params = opts[:query_params] || {}
|
|
@@ -17102,7 +18298,7 @@ module Kubevirt
|
|
|
17102
18298
|
fail ArgumentError, "Missing the required parameter 'body' when calling DefaultApi.v1vm_removevolume"
|
|
17103
18299
|
end
|
|
17104
18300
|
# resource path
|
|
17105
|
-
local_var_path = '/apis/subresources.kubevirt.io/v1/namespaces/{namespace}/virtualmachines/{name}/removevolume'.sub('{
|
|
18301
|
+
local_var_path = '/apis/subresources.kubevirt.io/v1/namespaces/{namespace}/virtualmachines/{name}/removevolume'.sub('{name}', CGI.escape(name.to_s)).sub('{namespace}', CGI.escape(namespace.to_s))
|
|
17106
18302
|
|
|
17107
18303
|
# query parameters
|
|
17108
18304
|
query_params = opts[:query_params] || {}
|
|
@@ -17175,7 +18371,7 @@ module Kubevirt
|
|
|
17175
18371
|
fail ArgumentError, "Missing the required parameter 'body' when calling DefaultApi.v1vmi_addvolume"
|
|
17176
18372
|
end
|
|
17177
18373
|
# resource path
|
|
17178
|
-
local_var_path = '/apis/subresources.kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstances/{name}/addvolume'.sub('{
|
|
18374
|
+
local_var_path = '/apis/subresources.kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstances/{name}/addvolume'.sub('{name}', CGI.escape(name.to_s)).sub('{namespace}', CGI.escape(namespace.to_s))
|
|
17179
18375
|
|
|
17180
18376
|
# query parameters
|
|
17181
18377
|
query_params = opts[:query_params] || {}
|
|
@@ -17248,7 +18444,7 @@ module Kubevirt
|
|
|
17248
18444
|
fail ArgumentError, "Missing the required parameter 'body' when calling DefaultApi.v1vmi_evacuatecancel"
|
|
17249
18445
|
end
|
|
17250
18446
|
# resource path
|
|
17251
|
-
local_var_path = '/apis/subresources.kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstances/{name}/evacuate/cancel'.sub('{
|
|
18447
|
+
local_var_path = '/apis/subresources.kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstances/{name}/evacuate/cancel'.sub('{name}', CGI.escape(name.to_s)).sub('{namespace}', CGI.escape(namespace.to_s))
|
|
17252
18448
|
|
|
17253
18449
|
# query parameters
|
|
17254
18450
|
query_params = opts[:query_params] || {}
|
|
@@ -17321,7 +18517,7 @@ module Kubevirt
|
|
|
17321
18517
|
fail ArgumentError, "Missing the required parameter 'body' when calling DefaultApi.v1vmi_objectgraph"
|
|
17322
18518
|
end
|
|
17323
18519
|
# resource path
|
|
17324
|
-
local_var_path = '/apis/subresources.kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstances/{name}/objectgraph'.sub('{
|
|
18520
|
+
local_var_path = '/apis/subresources.kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstances/{name}/objectgraph'.sub('{name}', CGI.escape(name.to_s)).sub('{namespace}', CGI.escape(namespace.to_s))
|
|
17325
18521
|
|
|
17326
18522
|
# query parameters
|
|
17327
18523
|
query_params = opts[:query_params] || {}
|
|
@@ -17399,7 +18595,7 @@ module Kubevirt
|
|
|
17399
18595
|
fail ArgumentError, "Missing the required parameter 'port' when calling DefaultApi.v1vmi_port_forward"
|
|
17400
18596
|
end
|
|
17401
18597
|
# resource path
|
|
17402
|
-
local_var_path = '/apis/subresources.kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstances/{name}/portforward/{port}'.sub('{
|
|
18598
|
+
local_var_path = '/apis/subresources.kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstances/{name}/portforward/{port}'.sub('{name}', CGI.escape(name.to_s)).sub('{namespace}', CGI.escape(namespace.to_s)).sub('{port}', CGI.escape(port.to_s))
|
|
17403
18599
|
|
|
17404
18600
|
# query parameters
|
|
17405
18601
|
query_params = opts[:query_params] || {}
|
|
@@ -17476,7 +18672,7 @@ module Kubevirt
|
|
|
17476
18672
|
fail ArgumentError, "Missing the required parameter 'protocol' when calling DefaultApi.v1vmi_port_forward_with_protocol"
|
|
17477
18673
|
end
|
|
17478
18674
|
# resource path
|
|
17479
|
-
local_var_path = '/apis/subresources.kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstances/{name}/portforward/{port}/{protocol}'.sub('{
|
|
18675
|
+
local_var_path = '/apis/subresources.kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstances/{name}/portforward/{port}/{protocol}'.sub('{name}', CGI.escape(name.to_s)).sub('{namespace}', CGI.escape(namespace.to_s)).sub('{port}', CGI.escape(port.to_s)).sub('{protocol}', CGI.escape(protocol.to_s))
|
|
17480
18676
|
|
|
17481
18677
|
# query parameters
|
|
17482
18678
|
query_params = opts[:query_params] || {}
|
|
@@ -17547,7 +18743,7 @@ module Kubevirt
|
|
|
17547
18743
|
fail ArgumentError, "Missing the required parameter 'body' when calling DefaultApi.v1vmi_removevolume"
|
|
17548
18744
|
end
|
|
17549
18745
|
# resource path
|
|
17550
|
-
local_var_path = '/apis/subresources.kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstances/{name}/removevolume'.sub('{
|
|
18746
|
+
local_var_path = '/apis/subresources.kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstances/{name}/removevolume'.sub('{name}', CGI.escape(name.to_s)).sub('{namespace}', CGI.escape(namespace.to_s))
|
|
17551
18747
|
|
|
17552
18748
|
# query parameters
|
|
17553
18749
|
query_params = opts[:query_params] || {}
|
|
@@ -17782,7 +18978,7 @@ module Kubevirt
|
|
|
17782
18978
|
fail ArgumentError, "Missing the required parameter 'namespace' when calling DefaultApi.watch_namespaced_kube_virt"
|
|
17783
18979
|
end
|
|
17784
18980
|
# resource path
|
|
17785
|
-
local_var_path = '/apis/kubevirt.io/v1/watch/namespaces/{namespace}/kubevirt'.sub('{
|
|
18981
|
+
local_var_path = '/apis/kubevirt.io/v1/watch/namespaces/{namespace}/kubevirt'.sub('{namespace}', CGI.escape(namespace.to_s))
|
|
17786
18982
|
|
|
17787
18983
|
# query parameters
|
|
17788
18984
|
query_params = opts[:query_params] || {}
|
|
@@ -17867,7 +19063,7 @@ module Kubevirt
|
|
|
17867
19063
|
fail ArgumentError, "Missing the required parameter 'namespace' when calling DefaultApi.watch_namespaced_virtual_machine"
|
|
17868
19064
|
end
|
|
17869
19065
|
# resource path
|
|
17870
|
-
local_var_path = '/apis/kubevirt.io/v1/watch/namespaces/{namespace}/virtualmachines'.sub('{
|
|
19066
|
+
local_var_path = '/apis/kubevirt.io/v1/watch/namespaces/{namespace}/virtualmachines'.sub('{namespace}', CGI.escape(namespace.to_s))
|
|
17871
19067
|
|
|
17872
19068
|
# query parameters
|
|
17873
19069
|
query_params = opts[:query_params] || {}
|
|
@@ -17914,6 +19110,91 @@ module Kubevirt
|
|
|
17914
19110
|
return data, status_code, headers
|
|
17915
19111
|
end
|
|
17916
19112
|
|
|
19113
|
+
# Watch a VirtualMachineBackup object.
|
|
19114
|
+
# @param namespace [String] Object name and auth scope, such as for teams and projects
|
|
19115
|
+
# @param [Hash] opts the optional parameters
|
|
19116
|
+
# @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
|
|
19117
|
+
# @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything.
|
|
19118
|
+
# @option opts [Boolean] :include_uninitialized If true, partially initialized resources are included in the response.
|
|
19119
|
+
# @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything
|
|
19120
|
+
# @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.
|
|
19121
|
+
# @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.
|
|
19122
|
+
# @option opts [Integer] :timeout_seconds TimeoutSeconds for the list/watch call.
|
|
19123
|
+
# @option opts [Boolean] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
|
|
19124
|
+
# @return [K8sIoApimachineryPkgApisMetaV1WatchEvent]
|
|
19125
|
+
def watch_namespaced_virtual_machine_backup(namespace, opts = {})
|
|
19126
|
+
data, _status_code, _headers = watch_namespaced_virtual_machine_backup_with_http_info(namespace, opts)
|
|
19127
|
+
data
|
|
19128
|
+
end
|
|
19129
|
+
|
|
19130
|
+
# Watch a VirtualMachineBackup object.
|
|
19131
|
+
# @param namespace [String] Object name and auth scope, such as for teams and projects
|
|
19132
|
+
# @param [Hash] opts the optional parameters
|
|
19133
|
+
# @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
|
|
19134
|
+
# @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything.
|
|
19135
|
+
# @option opts [Boolean] :include_uninitialized If true, partially initialized resources are included in the response.
|
|
19136
|
+
# @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything
|
|
19137
|
+
# @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.
|
|
19138
|
+
# @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.
|
|
19139
|
+
# @option opts [Integer] :timeout_seconds TimeoutSeconds for the list/watch call.
|
|
19140
|
+
# @option opts [Boolean] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
|
|
19141
|
+
# @return [Array<(K8sIoApimachineryPkgApisMetaV1WatchEvent, Integer, Hash)>] K8sIoApimachineryPkgApisMetaV1WatchEvent data, response status code and response headers
|
|
19142
|
+
def watch_namespaced_virtual_machine_backup_with_http_info(namespace, opts = {})
|
|
19143
|
+
if @api_client.config.debugging
|
|
19144
|
+
@api_client.config.logger.debug 'Calling API: DefaultApi.watch_namespaced_virtual_machine_backup ...'
|
|
19145
|
+
end
|
|
19146
|
+
# verify the required parameter 'namespace' is set
|
|
19147
|
+
if @api_client.config.client_side_validation && namespace.nil?
|
|
19148
|
+
fail ArgumentError, "Missing the required parameter 'namespace' when calling DefaultApi.watch_namespaced_virtual_machine_backup"
|
|
19149
|
+
end
|
|
19150
|
+
# resource path
|
|
19151
|
+
local_var_path = '/apis/backup.kubevirt.io/v1alpha1/watch/namespaces/{namespace}/virtualmachinebackups'.sub('{namespace}', CGI.escape(namespace.to_s))
|
|
19152
|
+
|
|
19153
|
+
# query parameters
|
|
19154
|
+
query_params = opts[:query_params] || {}
|
|
19155
|
+
query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil?
|
|
19156
|
+
query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil?
|
|
19157
|
+
query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil?
|
|
19158
|
+
query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil?
|
|
19159
|
+
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
19160
|
+
query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil?
|
|
19161
|
+
query_params[:'timeoutSeconds'] = opts[:'timeout_seconds'] if !opts[:'timeout_seconds'].nil?
|
|
19162
|
+
query_params[:'watch'] = opts[:'watch'] if !opts[:'watch'].nil?
|
|
19163
|
+
|
|
19164
|
+
# header parameters
|
|
19165
|
+
header_params = opts[:header_params] || {}
|
|
19166
|
+
# HTTP header 'Accept' (if needed)
|
|
19167
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
19168
|
+
|
|
19169
|
+
# form parameters
|
|
19170
|
+
form_params = opts[:form_params] || {}
|
|
19171
|
+
|
|
19172
|
+
# http body (model)
|
|
19173
|
+
post_body = opts[:debug_body]
|
|
19174
|
+
|
|
19175
|
+
# return_type
|
|
19176
|
+
return_type = opts[:debug_return_type] || 'K8sIoApimachineryPkgApisMetaV1WatchEvent'
|
|
19177
|
+
|
|
19178
|
+
# auth_names
|
|
19179
|
+
auth_names = opts[:debug_auth_names] || []
|
|
19180
|
+
|
|
19181
|
+
new_options = opts.merge(
|
|
19182
|
+
:operation => :"DefaultApi.watch_namespaced_virtual_machine_backup",
|
|
19183
|
+
:header_params => header_params,
|
|
19184
|
+
:query_params => query_params,
|
|
19185
|
+
:form_params => form_params,
|
|
19186
|
+
:body => post_body,
|
|
19187
|
+
:auth_names => auth_names,
|
|
19188
|
+
:return_type => return_type
|
|
19189
|
+
)
|
|
19190
|
+
|
|
19191
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
19192
|
+
if @api_client.config.debugging
|
|
19193
|
+
@api_client.config.logger.debug "API called: DefaultApi#watch_namespaced_virtual_machine_backup\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
19194
|
+
end
|
|
19195
|
+
return data, status_code, headers
|
|
19196
|
+
end
|
|
19197
|
+
|
|
17917
19198
|
# Watch a VirtualMachineExport object.
|
|
17918
19199
|
# @param namespace [String] Object name and auth scope, such as for teams and projects
|
|
17919
19200
|
# @param [Hash] opts the optional parameters
|
|
@@ -17952,7 +19233,7 @@ module Kubevirt
|
|
|
17952
19233
|
fail ArgumentError, "Missing the required parameter 'namespace' when calling DefaultApi.watch_namespaced_virtual_machine_export"
|
|
17953
19234
|
end
|
|
17954
19235
|
# resource path
|
|
17955
|
-
local_var_path = '/apis/export.kubevirt.io/
|
|
19236
|
+
local_var_path = '/apis/export.kubevirt.io/v1/watch/namespaces/{namespace}/virtualmachineexports'.sub('{namespace}', CGI.escape(namespace.to_s))
|
|
17956
19237
|
|
|
17957
19238
|
# query parameters
|
|
17958
19239
|
query_params = opts[:query_params] || {}
|
|
@@ -18037,7 +19318,7 @@ module Kubevirt
|
|
|
18037
19318
|
fail ArgumentError, "Missing the required parameter 'namespace' when calling DefaultApi.watch_namespaced_virtual_machine_instance"
|
|
18038
19319
|
end
|
|
18039
19320
|
# resource path
|
|
18040
|
-
local_var_path = '/apis/kubevirt.io/v1/watch/namespaces/{namespace}/virtualmachineinstances'.sub('{
|
|
19321
|
+
local_var_path = '/apis/kubevirt.io/v1/watch/namespaces/{namespace}/virtualmachineinstances'.sub('{namespace}', CGI.escape(namespace.to_s))
|
|
18041
19322
|
|
|
18042
19323
|
# query parameters
|
|
18043
19324
|
query_params = opts[:query_params] || {}
|
|
@@ -18122,7 +19403,7 @@ module Kubevirt
|
|
|
18122
19403
|
fail ArgumentError, "Missing the required parameter 'namespace' when calling DefaultApi.watch_namespaced_virtual_machine_instance_migration"
|
|
18123
19404
|
end
|
|
18124
19405
|
# resource path
|
|
18125
|
-
local_var_path = '/apis/kubevirt.io/v1/watch/namespaces/{namespace}/virtualmachineinstancemigrations'.sub('{
|
|
19406
|
+
local_var_path = '/apis/kubevirt.io/v1/watch/namespaces/{namespace}/virtualmachineinstancemigrations'.sub('{namespace}', CGI.escape(namespace.to_s))
|
|
18126
19407
|
|
|
18127
19408
|
# query parameters
|
|
18128
19409
|
query_params = opts[:query_params] || {}
|
|
@@ -18207,7 +19488,7 @@ module Kubevirt
|
|
|
18207
19488
|
fail ArgumentError, "Missing the required parameter 'namespace' when calling DefaultApi.watch_namespaced_virtual_machine_instance_preset"
|
|
18208
19489
|
end
|
|
18209
19490
|
# resource path
|
|
18210
|
-
local_var_path = '/apis/kubevirt.io/v1/watch/namespaces/{namespace}/virtualmachineinstancepresets'.sub('{
|
|
19491
|
+
local_var_path = '/apis/kubevirt.io/v1/watch/namespaces/{namespace}/virtualmachineinstancepresets'.sub('{namespace}', CGI.escape(namespace.to_s))
|
|
18211
19492
|
|
|
18212
19493
|
# query parameters
|
|
18213
19494
|
query_params = opts[:query_params] || {}
|
|
@@ -18292,7 +19573,7 @@ module Kubevirt
|
|
|
18292
19573
|
fail ArgumentError, "Missing the required parameter 'namespace' when calling DefaultApi.watch_namespaced_virtual_machine_instance_replica_set"
|
|
18293
19574
|
end
|
|
18294
19575
|
# resource path
|
|
18295
|
-
local_var_path = '/apis/kubevirt.io/v1/watch/namespaces/{namespace}/virtualmachineinstancereplicasets'.sub('{
|
|
19576
|
+
local_var_path = '/apis/kubevirt.io/v1/watch/namespaces/{namespace}/virtualmachineinstancereplicasets'.sub('{namespace}', CGI.escape(namespace.to_s))
|
|
18296
19577
|
|
|
18297
19578
|
# query parameters
|
|
18298
19579
|
query_params = opts[:query_params] || {}
|
|
@@ -18377,7 +19658,7 @@ module Kubevirt
|
|
|
18377
19658
|
fail ArgumentError, "Missing the required parameter 'namespace' when calling DefaultApi.watch_namespaced_virtual_machine_instancetype"
|
|
18378
19659
|
end
|
|
18379
19660
|
# resource path
|
|
18380
|
-
local_var_path = '/apis/instancetype.kubevirt.io/v1beta1/watch/namespaces/{namespace}/virtualmachineinstancetypes'.sub('{
|
|
19661
|
+
local_var_path = '/apis/instancetype.kubevirt.io/v1beta1/watch/namespaces/{namespace}/virtualmachineinstancetypes'.sub('{namespace}', CGI.escape(namespace.to_s))
|
|
18381
19662
|
|
|
18382
19663
|
# query parameters
|
|
18383
19664
|
query_params = opts[:query_params] || {}
|
|
@@ -18462,7 +19743,7 @@ module Kubevirt
|
|
|
18462
19743
|
fail ArgumentError, "Missing the required parameter 'namespace' when calling DefaultApi.watch_namespaced_virtual_machine_pool"
|
|
18463
19744
|
end
|
|
18464
19745
|
# resource path
|
|
18465
|
-
local_var_path = '/apis/pool.kubevirt.io/v1beta1/watch/namespaces/{namespace}/virtualmachinepools'.sub('{
|
|
19746
|
+
local_var_path = '/apis/pool.kubevirt.io/v1beta1/watch/namespaces/{namespace}/virtualmachinepools'.sub('{namespace}', CGI.escape(namespace.to_s))
|
|
18466
19747
|
|
|
18467
19748
|
# query parameters
|
|
18468
19749
|
query_params = opts[:query_params] || {}
|
|
@@ -18547,7 +19828,7 @@ module Kubevirt
|
|
|
18547
19828
|
fail ArgumentError, "Missing the required parameter 'namespace' when calling DefaultApi.watch_namespaced_virtual_machine_preference"
|
|
18548
19829
|
end
|
|
18549
19830
|
# resource path
|
|
18550
|
-
local_var_path = '/apis/instancetype.kubevirt.io/v1beta1/watch/namespaces/{namespace}/virtualmachinepreferences'.sub('{
|
|
19831
|
+
local_var_path = '/apis/instancetype.kubevirt.io/v1beta1/watch/namespaces/{namespace}/virtualmachinepreferences'.sub('{namespace}', CGI.escape(namespace.to_s))
|
|
18551
19832
|
|
|
18552
19833
|
# query parameters
|
|
18553
19834
|
query_params = opts[:query_params] || {}
|
|
@@ -18632,7 +19913,7 @@ module Kubevirt
|
|
|
18632
19913
|
fail ArgumentError, "Missing the required parameter 'namespace' when calling DefaultApi.watch_namespaced_virtual_machine_restore"
|
|
18633
19914
|
end
|
|
18634
19915
|
# resource path
|
|
18635
|
-
local_var_path = '/apis/snapshot.kubevirt.io/v1beta1/watch/namespaces/{namespace}/virtualmachinerestores'.sub('{
|
|
19916
|
+
local_var_path = '/apis/snapshot.kubevirt.io/v1beta1/watch/namespaces/{namespace}/virtualmachinerestores'.sub('{namespace}', CGI.escape(namespace.to_s))
|
|
18636
19917
|
|
|
18637
19918
|
# query parameters
|
|
18638
19919
|
query_params = opts[:query_params] || {}
|
|
@@ -18717,7 +19998,7 @@ module Kubevirt
|
|
|
18717
19998
|
fail ArgumentError, "Missing the required parameter 'namespace' when calling DefaultApi.watch_namespaced_virtual_machine_snapshot"
|
|
18718
19999
|
end
|
|
18719
20000
|
# resource path
|
|
18720
|
-
local_var_path = '/apis/snapshot.kubevirt.io/v1beta1/watch/namespaces/{namespace}/virtualmachinesnapshots'.sub('{
|
|
20001
|
+
local_var_path = '/apis/snapshot.kubevirt.io/v1beta1/watch/namespaces/{namespace}/virtualmachinesnapshots'.sub('{namespace}', CGI.escape(namespace.to_s))
|
|
18721
20002
|
|
|
18722
20003
|
# query parameters
|
|
18723
20004
|
query_params = opts[:query_params] || {}
|
|
@@ -18802,7 +20083,7 @@ module Kubevirt
|
|
|
18802
20083
|
fail ArgumentError, "Missing the required parameter 'namespace' when calling DefaultApi.watch_namespaced_virtual_machine_snapshot_content"
|
|
18803
20084
|
end
|
|
18804
20085
|
# resource path
|
|
18805
|
-
local_var_path = '/apis/snapshot.kubevirt.io/v1beta1/watch/namespaces/{namespace}/virtualmachinesnapshotcontents'.sub('{
|
|
20086
|
+
local_var_path = '/apis/snapshot.kubevirt.io/v1beta1/watch/namespaces/{namespace}/virtualmachinesnapshotcontents'.sub('{namespace}', CGI.escape(namespace.to_s))
|
|
18806
20087
|
|
|
18807
20088
|
# query parameters
|
|
18808
20089
|
query_params = opts[:query_params] || {}
|
|
@@ -18849,6 +20130,85 @@ module Kubevirt
|
|
|
18849
20130
|
return data, status_code, headers
|
|
18850
20131
|
end
|
|
18851
20132
|
|
|
20133
|
+
# Watch a VirtualMachineBackupList object.
|
|
20134
|
+
# @param [Hash] opts the optional parameters
|
|
20135
|
+
# @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
|
|
20136
|
+
# @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything.
|
|
20137
|
+
# @option opts [Boolean] :include_uninitialized If true, partially initialized resources are included in the response.
|
|
20138
|
+
# @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything
|
|
20139
|
+
# @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.
|
|
20140
|
+
# @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.
|
|
20141
|
+
# @option opts [Integer] :timeout_seconds TimeoutSeconds for the list/watch call.
|
|
20142
|
+
# @option opts [Boolean] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
|
|
20143
|
+
# @return [K8sIoApimachineryPkgApisMetaV1WatchEvent]
|
|
20144
|
+
def watch_virtual_machine_backup_list_for_all_namespaces(opts = {})
|
|
20145
|
+
data, _status_code, _headers = watch_virtual_machine_backup_list_for_all_namespaces_with_http_info(opts)
|
|
20146
|
+
data
|
|
20147
|
+
end
|
|
20148
|
+
|
|
20149
|
+
# Watch a VirtualMachineBackupList object.
|
|
20150
|
+
# @param [Hash] opts the optional parameters
|
|
20151
|
+
# @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
|
|
20152
|
+
# @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything.
|
|
20153
|
+
# @option opts [Boolean] :include_uninitialized If true, partially initialized resources are included in the response.
|
|
20154
|
+
# @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything
|
|
20155
|
+
# @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.
|
|
20156
|
+
# @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.
|
|
20157
|
+
# @option opts [Integer] :timeout_seconds TimeoutSeconds for the list/watch call.
|
|
20158
|
+
# @option opts [Boolean] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
|
|
20159
|
+
# @return [Array<(K8sIoApimachineryPkgApisMetaV1WatchEvent, Integer, Hash)>] K8sIoApimachineryPkgApisMetaV1WatchEvent data, response status code and response headers
|
|
20160
|
+
def watch_virtual_machine_backup_list_for_all_namespaces_with_http_info(opts = {})
|
|
20161
|
+
if @api_client.config.debugging
|
|
20162
|
+
@api_client.config.logger.debug 'Calling API: DefaultApi.watch_virtual_machine_backup_list_for_all_namespaces ...'
|
|
20163
|
+
end
|
|
20164
|
+
# resource path
|
|
20165
|
+
local_var_path = '/apis/backup.kubevirt.io/v1alpha1/watch/virtualmachinebackups'
|
|
20166
|
+
|
|
20167
|
+
# query parameters
|
|
20168
|
+
query_params = opts[:query_params] || {}
|
|
20169
|
+
query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil?
|
|
20170
|
+
query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil?
|
|
20171
|
+
query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil?
|
|
20172
|
+
query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil?
|
|
20173
|
+
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
20174
|
+
query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil?
|
|
20175
|
+
query_params[:'timeoutSeconds'] = opts[:'timeout_seconds'] if !opts[:'timeout_seconds'].nil?
|
|
20176
|
+
query_params[:'watch'] = opts[:'watch'] if !opts[:'watch'].nil?
|
|
20177
|
+
|
|
20178
|
+
# header parameters
|
|
20179
|
+
header_params = opts[:header_params] || {}
|
|
20180
|
+
# HTTP header 'Accept' (if needed)
|
|
20181
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
20182
|
+
|
|
20183
|
+
# form parameters
|
|
20184
|
+
form_params = opts[:form_params] || {}
|
|
20185
|
+
|
|
20186
|
+
# http body (model)
|
|
20187
|
+
post_body = opts[:debug_body]
|
|
20188
|
+
|
|
20189
|
+
# return_type
|
|
20190
|
+
return_type = opts[:debug_return_type] || 'K8sIoApimachineryPkgApisMetaV1WatchEvent'
|
|
20191
|
+
|
|
20192
|
+
# auth_names
|
|
20193
|
+
auth_names = opts[:debug_auth_names] || []
|
|
20194
|
+
|
|
20195
|
+
new_options = opts.merge(
|
|
20196
|
+
:operation => :"DefaultApi.watch_virtual_machine_backup_list_for_all_namespaces",
|
|
20197
|
+
:header_params => header_params,
|
|
20198
|
+
:query_params => query_params,
|
|
20199
|
+
:form_params => form_params,
|
|
20200
|
+
:body => post_body,
|
|
20201
|
+
:auth_names => auth_names,
|
|
20202
|
+
:return_type => return_type
|
|
20203
|
+
)
|
|
20204
|
+
|
|
20205
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
20206
|
+
if @api_client.config.debugging
|
|
20207
|
+
@api_client.config.logger.debug "API called: DefaultApi#watch_virtual_machine_backup_list_for_all_namespaces\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
20208
|
+
end
|
|
20209
|
+
return data, status_code, headers
|
|
20210
|
+
end
|
|
20211
|
+
|
|
18852
20212
|
# Watch a VirtualMachineCloneList object.
|
|
18853
20213
|
# @param [Hash] opts the optional parameters
|
|
18854
20214
|
# @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
|
|
@@ -19118,7 +20478,7 @@ module Kubevirt
|
|
|
19118
20478
|
@api_client.config.logger.debug 'Calling API: DefaultApi.watch_virtual_machine_export_list_for_all_namespaces ...'
|
|
19119
20479
|
end
|
|
19120
20480
|
# resource path
|
|
19121
|
-
local_var_path = '/apis/export.kubevirt.io/
|
|
20481
|
+
local_var_path = '/apis/export.kubevirt.io/v1/watch/virtualmachineexports'
|
|
19122
20482
|
|
|
19123
20483
|
# query parameters
|
|
19124
20484
|
query_params = opts[:query_params] || {}
|