Skip to content

An auto-generated python SDK to interact with KubeVirt resources

License

Notifications You must be signed in to change notification settings

kubevirt/client-python

kubevirt-py

This is KubeVirt API an add-on for Kubernetes.

This Python package is automatically generated by the Swagger Codegen project:

Requirements.

Python 2.7 and 3.4+

Installation & Usage

pip install

If the python package is hosted on Github, you can install directly from Github

pip install git+https://github.com/kubevirt/client-python.git

(you may need to run pip with root permission: sudo pip install git+https://github.com/kubevirt/client-python.git)

Then import the package:

import kubevirt 

Setuptools

Install via Setuptools.

python setup.py install --user

(or sudo python setup.py install to install the package for all users)

Then import the package:

import kubevirt

Getting Started

Please follow the installation procedure and then run the following:

from __future__ import print_function
import time
import kubevirt
from kubevirt.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = kubevirt.DefaultApi()
body = kubevirt.V1alpha1MigrationPolicy() # V1alpha1MigrationPolicy | 

try:
    api_response = api_instance.create_migration_policy(body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->create_migration_policy: %s\n" % e)

Documentation for API Endpoints

All URIs are relative to https://localhost

Class Method HTTP request Description
DefaultApi create_migration_policy POST /apis/migrations.kubevirt.io/v1alpha1/migrationpolicies
DefaultApi create_namespaced_kube_virt POST /apis/kubevirt.io/v1/namespaces/{namespace}/kubevirt
DefaultApi create_namespaced_virtual_machine POST /apis/kubevirt.io/v1/namespaces/{namespace}/virtualmachines
DefaultApi create_namespaced_virtual_machine_export POST /apis/export.kubevirt.io/v1beta1/namespaces/{namespace}/virtualmachineexports
DefaultApi create_namespaced_virtual_machine_instance POST /apis/kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstances
DefaultApi create_namespaced_virtual_machine_instance_migration POST /apis/kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstancemigrations
DefaultApi create_namespaced_virtual_machine_instance_preset POST /apis/kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstancepresets
DefaultApi create_namespaced_virtual_machine_instance_replica_set POST /apis/kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstancereplicasets
DefaultApi create_namespaced_virtual_machine_instancetype POST /apis/instancetype.kubevirt.io/v1beta1/namespaces/{namespace}/virtualmachineinstancetypes
DefaultApi create_namespaced_virtual_machine_pool POST /apis/pool.kubevirt.io/v1alpha1/namespaces/{namespace}/virtualmachinepools
DefaultApi create_namespaced_virtual_machine_preference POST /apis/instancetype.kubevirt.io/v1beta1/namespaces/{namespace}/virtualmachinepreferences
DefaultApi create_namespaced_virtual_machine_restore POST /apis/snapshot.kubevirt.io/v1beta1/namespaces/{namespace}/virtualmachinerestores
DefaultApi create_namespaced_virtual_machine_snapshot POST /apis/snapshot.kubevirt.io/v1beta1/namespaces/{namespace}/virtualmachinesnapshots
DefaultApi create_namespaced_virtual_machine_snapshot_content POST /apis/snapshot.kubevirt.io/v1beta1/namespaces/{namespace}/virtualmachinesnapshotcontents
DefaultApi create_virtual_machine_clone POST /apis/clone.kubevirt.io/v1alpha1/virtualmachineclones
DefaultApi create_virtual_machine_cluster_instancetype POST /apis/instancetype.kubevirt.io/v1beta1/virtualmachineclusterinstancetypes
DefaultApi create_virtual_machine_cluster_preference POST /apis/instancetype.kubevirt.io/v1beta1/virtualmachineclusterpreferences
DefaultApi delete_collection_migration_policy DELETE /apis/migrations.kubevirt.io/v1alpha1/migrationpolicies
DefaultApi delete_collection_namespaced_kube_virt DELETE /apis/kubevirt.io/v1/namespaces/{namespace}/kubevirt
DefaultApi delete_collection_namespaced_virtual_machine DELETE /apis/kubevirt.io/v1/namespaces/{namespace}/virtualmachines
DefaultApi delete_collection_namespaced_virtual_machine_export DELETE /apis/export.kubevirt.io/v1beta1/namespaces/{namespace}/virtualmachineexports
DefaultApi delete_collection_namespaced_virtual_machine_instance DELETE /apis/kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstances
DefaultApi delete_collection_namespaced_virtual_machine_instance_migration DELETE /apis/kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstancemigrations
DefaultApi delete_collection_namespaced_virtual_machine_instance_preset DELETE /apis/kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstancepresets
DefaultApi delete_collection_namespaced_virtual_machine_instance_replica_set DELETE /apis/kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstancereplicasets
DefaultApi delete_collection_namespaced_virtual_machine_instancetype DELETE /apis/instancetype.kubevirt.io/v1beta1/namespaces/{namespace}/virtualmachineinstancetypes
DefaultApi delete_collection_namespaced_virtual_machine_pool DELETE /apis/pool.kubevirt.io/v1alpha1/namespaces/{namespace}/virtualmachinepools
DefaultApi delete_collection_namespaced_virtual_machine_preference DELETE /apis/instancetype.kubevirt.io/v1beta1/namespaces/{namespace}/virtualmachinepreferences
DefaultApi delete_collection_namespaced_virtual_machine_restore DELETE /apis/snapshot.kubevirt.io/v1beta1/namespaces/{namespace}/virtualmachinerestores
DefaultApi delete_collection_namespaced_virtual_machine_snapshot DELETE /apis/snapshot.kubevirt.io/v1beta1/namespaces/{namespace}/virtualmachinesnapshots
DefaultApi delete_collection_namespaced_virtual_machine_snapshot_content DELETE /apis/snapshot.kubevirt.io/v1beta1/namespaces/{namespace}/virtualmachinesnapshotcontents
DefaultApi delete_collection_virtual_machine_clone DELETE /apis/clone.kubevirt.io/v1alpha1/virtualmachineclones
DefaultApi delete_collection_virtual_machine_cluster_instancetype DELETE /apis/instancetype.kubevirt.io/v1beta1/virtualmachineclusterinstancetypes
DefaultApi delete_collection_virtual_machine_cluster_preference DELETE /apis/instancetype.kubevirt.io/v1beta1/virtualmachineclusterpreferences
DefaultApi delete_migration_policy DELETE /apis/migrations.kubevirt.io/v1alpha1/migrationpolicies/{name}
DefaultApi delete_namespaced_kube_virt DELETE /apis/kubevirt.io/v1/namespaces/{namespace}/kubevirt/{name}
DefaultApi delete_namespaced_virtual_machine DELETE /apis/kubevirt.io/v1/namespaces/{namespace}/virtualmachines/{name}
DefaultApi delete_namespaced_virtual_machine_export DELETE /apis/export.kubevirt.io/v1beta1/namespaces/{namespace}/virtualmachineexports/{name}
DefaultApi delete_namespaced_virtual_machine_instance DELETE /apis/kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstances/{name}
DefaultApi delete_namespaced_virtual_machine_instance_migration DELETE /apis/kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstancemigrations/{name}
DefaultApi delete_namespaced_virtual_machine_instance_preset DELETE /apis/kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstancepresets/{name}
DefaultApi delete_namespaced_virtual_machine_instance_replica_set DELETE /apis/kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstancereplicasets/{name}
DefaultApi delete_namespaced_virtual_machine_instancetype DELETE /apis/instancetype.kubevirt.io/v1beta1/namespaces/{namespace}/virtualmachineinstancetypes/{name}
DefaultApi delete_namespaced_virtual_machine_pool DELETE /apis/pool.kubevirt.io/v1alpha1/namespaces/{namespace}/virtualmachinepools/{name}
DefaultApi delete_namespaced_virtual_machine_preference DELETE /apis/instancetype.kubevirt.io/v1beta1/namespaces/{namespace}/virtualmachinepreferences/{name}
DefaultApi delete_namespaced_virtual_machine_restore DELETE /apis/snapshot.kubevirt.io/v1beta1/namespaces/{namespace}/virtualmachinerestores/{name}
DefaultApi delete_namespaced_virtual_machine_snapshot DELETE /apis/snapshot.kubevirt.io/v1beta1/namespaces/{namespace}/virtualmachinesnapshots/{name}
DefaultApi delete_namespaced_virtual_machine_snapshot_content DELETE /apis/snapshot.kubevirt.io/v1beta1/namespaces/{namespace}/virtualmachinesnapshotcontents/{name}
DefaultApi delete_virtual_machine_clone DELETE /apis/clone.kubevirt.io/v1alpha1/virtualmachineclones/{name}
DefaultApi delete_virtual_machine_cluster_instancetype DELETE /apis/instancetype.kubevirt.io/v1beta1/virtualmachineclusterinstancetypes/{name}
DefaultApi delete_virtual_machine_cluster_preference DELETE /apis/instancetype.kubevirt.io/v1beta1/virtualmachineclusterpreferences/{name}
DefaultApi func13 GET /healthz
DefaultApi func6 GET /openapi/v2
DefaultApi get_api_group_clone_kubevirt_io GET /apis/clone.kubevirt.io/
DefaultApi get_api_group_export_kubevirt_io GET /apis/export.kubevirt.io/
DefaultApi get_api_group_instancetype_kubevirt_io GET /apis/instancetype.kubevirt.io/
DefaultApi get_api_group_kubevirt_io GET /apis/kubevirt.io/
DefaultApi get_api_group_list GET /apis
DefaultApi get_api_group_migrations_kubevirt_io GET /apis/migrations.kubevirt.io/
DefaultApi get_api_group_pool_kubevirt_io GET /apis/pool.kubevirt.io/
DefaultApi get_api_group_snapshot_kubevirt_io GET /apis/snapshot.kubevirt.io/
DefaultApi get_api_resources_clone_kubevirt_io_v1alpha1 GET /apis/clone.kubevirt.io/v1alpha1/
DefaultApi get_api_resources_export_kubevirt_io_v1beta1 GET /apis/export.kubevirt.io/v1beta1/
DefaultApi get_api_resources_instancetype_kubevirt_io_v1beta1 GET /apis/instancetype.kubevirt.io/v1beta1/
DefaultApi get_api_resources_kubevirt_io_v1 GET /apis/kubevirt.io/v1/
DefaultApi get_api_resources_migrations_kubevirt_io_v1alpha1 GET /apis/migrations.kubevirt.io/v1alpha1/
DefaultApi get_api_resources_pool_kubevirt_io_v1alpha1 GET /apis/pool.kubevirt.io/v1alpha1/
DefaultApi get_api_resources_snapshot_kubevirt_io_v1beta1 GET /apis/snapshot.kubevirt.io/v1beta1/
DefaultApi get_root_paths GET /
DefaultApi handle_dump_profiler GET /dump-profiler
DefaultApi handle_start_profiler GET /start-profiler
DefaultApi handle_stop_profiler GET /stop-profiler
DefaultApi list_kube_virt_for_all_namespaces GET /apis/kubevirt.io/v1/kubevirt
DefaultApi list_migration_policy GET /apis/migrations.kubevirt.io/v1alpha1/migrationpolicies
DefaultApi list_namespaced_kube_virt GET /apis/kubevirt.io/v1/namespaces/{namespace}/kubevirt
DefaultApi list_namespaced_virtual_machine GET /apis/kubevirt.io/v1/namespaces/{namespace}/virtualmachines
DefaultApi list_namespaced_virtual_machine_export GET /apis/export.kubevirt.io/v1beta1/namespaces/{namespace}/virtualmachineexports
DefaultApi list_namespaced_virtual_machine_instance GET /apis/kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstances
DefaultApi list_namespaced_virtual_machine_instance_migration GET /apis/kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstancemigrations
DefaultApi list_namespaced_virtual_machine_instance_preset GET /apis/kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstancepresets
DefaultApi list_namespaced_virtual_machine_instance_replica_set GET /apis/kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstancereplicasets
DefaultApi list_namespaced_virtual_machine_instancetype GET /apis/instancetype.kubevirt.io/v1beta1/namespaces/{namespace}/virtualmachineinstancetypes
DefaultApi list_namespaced_virtual_machine_pool GET /apis/pool.kubevirt.io/v1alpha1/namespaces/{namespace}/virtualmachinepools
DefaultApi list_namespaced_virtual_machine_preference GET /apis/instancetype.kubevirt.io/v1beta1/namespaces/{namespace}/virtualmachinepreferences
DefaultApi list_namespaced_virtual_machine_restore GET /apis/snapshot.kubevirt.io/v1beta1/namespaces/{namespace}/virtualmachinerestores
DefaultApi list_namespaced_virtual_machine_snapshot GET /apis/snapshot.kubevirt.io/v1beta1/namespaces/{namespace}/virtualmachinesnapshots
DefaultApi list_namespaced_virtual_machine_snapshot_content GET /apis/snapshot.kubevirt.io/v1beta1/namespaces/{namespace}/virtualmachinesnapshotcontents
DefaultApi list_virtual_machine_clone GET /apis/clone.kubevirt.io/v1alpha1/virtualmachineclones
DefaultApi list_virtual_machine_cluster_instancetype GET /apis/instancetype.kubevirt.io/v1beta1/virtualmachineclusterinstancetypes
DefaultApi list_virtual_machine_cluster_preference GET /apis/instancetype.kubevirt.io/v1beta1/virtualmachineclusterpreferences
DefaultApi list_virtual_machine_export_for_all_namespaces GET /apis/export.kubevirt.io/v1beta1/virtualmachineexports
DefaultApi list_virtual_machine_for_all_namespaces GET /apis/kubevirt.io/v1/virtualmachines
DefaultApi list_virtual_machine_instance_for_all_namespaces GET /apis/kubevirt.io/v1/virtualmachineinstances
DefaultApi list_virtual_machine_instance_migration_for_all_namespaces GET /apis/kubevirt.io/v1/virtualmachineinstancemigrations
DefaultApi list_virtual_machine_instance_preset_for_all_namespaces GET /apis/kubevirt.io/v1/virtualmachineinstancepresets
DefaultApi list_virtual_machine_instance_replica_set_for_all_namespaces GET /apis/kubevirt.io/v1/virtualmachineinstancereplicasets
DefaultApi list_virtual_machine_instancetype_for_all_namespaces GET /apis/instancetype.kubevirt.io/v1beta1/virtualmachineinstancetypes
DefaultApi list_virtual_machine_pool_for_all_namespaces GET /apis/pool.kubevirt.io/v1alpha1/virtualmachinepools
DefaultApi list_virtual_machine_preference_for_all_namespaces GET /apis/instancetype.kubevirt.io/v1beta1/virtualmachinepreferences
DefaultApi list_virtual_machine_restore_for_all_namespaces GET /apis/snapshot.kubevirt.io/v1beta1/virtualmachinerestores
DefaultApi list_virtual_machine_snapshot_content_for_all_namespaces GET /apis/snapshot.kubevirt.io/v1beta1/virtualmachinesnapshotcontents
DefaultApi list_virtual_machine_snapshot_for_all_namespaces GET /apis/snapshot.kubevirt.io/v1beta1/virtualmachinesnapshots
DefaultApi patch_migration_policy PATCH /apis/migrations.kubevirt.io/v1alpha1/migrationpolicies/{name}
DefaultApi patch_namespaced_kube_virt PATCH /apis/kubevirt.io/v1/namespaces/{namespace}/kubevirt/{name}
DefaultApi patch_namespaced_virtual_machine PATCH /apis/kubevirt.io/v1/namespaces/{namespace}/virtualmachines/{name}
DefaultApi patch_namespaced_virtual_machine_export PATCH /apis/export.kubevirt.io/v1beta1/namespaces/{namespace}/virtualmachineexports/{name}
DefaultApi patch_namespaced_virtual_machine_instance PATCH /apis/kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstances/{name}
DefaultApi patch_namespaced_virtual_machine_instance_migration PATCH /apis/kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstancemigrations/{name}
DefaultApi patch_namespaced_virtual_machine_instance_preset PATCH /apis/kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstancepresets/{name}
DefaultApi patch_namespaced_virtual_machine_instance_replica_set PATCH /apis/kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstancereplicasets/{name}
DefaultApi patch_namespaced_virtual_machine_instancetype PATCH /apis/instancetype.kubevirt.io/v1beta1/namespaces/{namespace}/virtualmachineinstancetypes/{name}
DefaultApi patch_namespaced_virtual_machine_pool PATCH /apis/pool.kubevirt.io/v1alpha1/namespaces/{namespace}/virtualmachinepools/{name}
DefaultApi patch_namespaced_virtual_machine_preference PATCH /apis/instancetype.kubevirt.io/v1beta1/namespaces/{namespace}/virtualmachinepreferences/{name}
DefaultApi patch_namespaced_virtual_machine_restore PATCH /apis/snapshot.kubevirt.io/v1beta1/namespaces/{namespace}/virtualmachinerestores/{name}
DefaultApi patch_namespaced_virtual_machine_snapshot PATCH /apis/snapshot.kubevirt.io/v1beta1/namespaces/{namespace}/virtualmachinesnapshots/{name}
DefaultApi patch_namespaced_virtual_machine_snapshot_content PATCH /apis/snapshot.kubevirt.io/v1beta1/namespaces/{namespace}/virtualmachinesnapshotcontents/{name}
DefaultApi patch_virtual_machine_clone PATCH /apis/clone.kubevirt.io/v1alpha1/virtualmachineclones/{name}
DefaultApi patch_virtual_machine_cluster_instancetype PATCH /apis/instancetype.kubevirt.io/v1beta1/virtualmachineclusterinstancetypes/{name}
DefaultApi patch_virtual_machine_cluster_preference PATCH /apis/instancetype.kubevirt.io/v1beta1/virtualmachineclusterpreferences/{name}
DefaultApi read_migration_policy GET /apis/migrations.kubevirt.io/v1alpha1/migrationpolicies/{name}
DefaultApi read_namespaced_kube_virt GET /apis/kubevirt.io/v1/namespaces/{namespace}/kubevirt/{name}
DefaultApi read_namespaced_virtual_machine GET /apis/kubevirt.io/v1/namespaces/{namespace}/virtualmachines/{name}
DefaultApi read_namespaced_virtual_machine_export GET /apis/export.kubevirt.io/v1beta1/namespaces/{namespace}/virtualmachineexports/{name}
DefaultApi read_namespaced_virtual_machine_instance GET /apis/kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstances/{name}
DefaultApi read_namespaced_virtual_machine_instance_migration GET /apis/kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstancemigrations/{name}
DefaultApi read_namespaced_virtual_machine_instance_preset GET /apis/kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstancepresets/{name}
DefaultApi read_namespaced_virtual_machine_instance_replica_set GET /apis/kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstancereplicasets/{name}
DefaultApi read_namespaced_virtual_machine_instancetype GET /apis/instancetype.kubevirt.io/v1beta1/namespaces/{namespace}/virtualmachineinstancetypes/{name}
DefaultApi read_namespaced_virtual_machine_pool GET /apis/pool.kubevirt.io/v1alpha1/namespaces/{namespace}/virtualmachinepools/{name}
DefaultApi read_namespaced_virtual_machine_preference GET /apis/instancetype.kubevirt.io/v1beta1/namespaces/{namespace}/virtualmachinepreferences/{name}
DefaultApi read_namespaced_virtual_machine_restore GET /apis/snapshot.kubevirt.io/v1beta1/namespaces/{namespace}/virtualmachinerestores/{name}
DefaultApi read_namespaced_virtual_machine_snapshot GET /apis/snapshot.kubevirt.io/v1beta1/namespaces/{namespace}/virtualmachinesnapshots/{name}
DefaultApi read_namespaced_virtual_machine_snapshot_content GET /apis/snapshot.kubevirt.io/v1beta1/namespaces/{namespace}/virtualmachinesnapshotcontents/{name}
DefaultApi read_virtual_machine_clone GET /apis/clone.kubevirt.io/v1alpha1/virtualmachineclones/{name}
DefaultApi read_virtual_machine_cluster_instancetype GET /apis/instancetype.kubevirt.io/v1beta1/virtualmachineclusterinstancetypes/{name}
DefaultApi read_virtual_machine_cluster_preference GET /apis/instancetype.kubevirt.io/v1beta1/virtualmachineclusterpreferences/{name}
DefaultApi replace_migration_policy PUT /apis/migrations.kubevirt.io/v1alpha1/migrationpolicies/{name}
DefaultApi replace_namespaced_kube_virt PUT /apis/kubevirt.io/v1/namespaces/{namespace}/kubevirt/{name}
DefaultApi replace_namespaced_virtual_machine PUT /apis/kubevirt.io/v1/namespaces/{namespace}/virtualmachines/{name}
DefaultApi replace_namespaced_virtual_machine_export PUT /apis/export.kubevirt.io/v1beta1/namespaces/{namespace}/virtualmachineexports/{name}
DefaultApi replace_namespaced_virtual_machine_instance PUT /apis/kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstances/{name}
DefaultApi replace_namespaced_virtual_machine_instance_migration PUT /apis/kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstancemigrations/{name}
DefaultApi replace_namespaced_virtual_machine_instance_preset PUT /apis/kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstancepresets/{name}
DefaultApi replace_namespaced_virtual_machine_instance_replica_set PUT /apis/kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstancereplicasets/{name}
DefaultApi replace_namespaced_virtual_machine_instancetype PUT /apis/instancetype.kubevirt.io/v1beta1/namespaces/{namespace}/virtualmachineinstancetypes/{name}
DefaultApi replace_namespaced_virtual_machine_pool PUT /apis/pool.kubevirt.io/v1alpha1/namespaces/{namespace}/virtualmachinepools/{name}
DefaultApi replace_namespaced_virtual_machine_preference PUT /apis/instancetype.kubevirt.io/v1beta1/namespaces/{namespace}/virtualmachinepreferences/{name}
DefaultApi replace_namespaced_virtual_machine_restore PUT /apis/snapshot.kubevirt.io/v1beta1/namespaces/{namespace}/virtualmachinerestores/{name}
DefaultApi replace_namespaced_virtual_machine_snapshot PUT /apis/snapshot.kubevirt.io/v1beta1/namespaces/{namespace}/virtualmachinesnapshots/{name}
DefaultApi replace_namespaced_virtual_machine_snapshot_content PUT /apis/snapshot.kubevirt.io/v1beta1/namespaces/{namespace}/virtualmachinesnapshotcontents/{name}
DefaultApi replace_virtual_machine_clone PUT /apis/clone.kubevirt.io/v1alpha1/virtualmachineclones/{name}
DefaultApi replace_virtual_machine_cluster_instancetype PUT /apis/instancetype.kubevirt.io/v1beta1/virtualmachineclusterinstancetypes/{name}
DefaultApi replace_virtual_machine_cluster_preference PUT /apis/instancetype.kubevirt.io/v1beta1/virtualmachineclusterpreferences/{name}
DefaultApi v1_check_health GET /apis/subresources.kubevirt.io/v1/healthz
DefaultApi v1_console GET /apis/subresources.kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstances/{name}/console
DefaultApi v1_expand_spec PUT /apis/subresources.kubevirt.io/v1/namespaces/{namespace}/expand-vm-spec
DefaultApi v1_filesystemlist GET /apis/subresources.kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstances/{name}/filesystemlist
DefaultApi v1_freeze PUT /apis/subresources.kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstances/{name}/freeze
DefaultApi v1_get_sub_api_group GET /apis/subresources.kubevirt.io
DefaultApi v1_guestfs GET /apis/subresources.kubevirt.io/v1/guestfs
DefaultApi v1_guestosinfo GET /apis/subresources.kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstances/{name}/guestosinfo
DefaultApi v1_memory_dump PUT /apis/subresources.kubevirt.io/v1/namespaces/{namespace}/virtualmachines/{name}/memorydump
DefaultApi v1_migrate PUT /apis/subresources.kubevirt.io/v1/namespaces/{namespace}/virtualmachines/{name}/migrate
DefaultApi v1_pause PUT /apis/subresources.kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstances/{name}/pause
DefaultApi v1_remove_memory_dump PUT /apis/subresources.kubevirt.io/v1/namespaces/{namespace}/virtualmachines/{name}/removememorydump
DefaultApi v1_restart PUT /apis/subresources.kubevirt.io/v1/namespaces/{namespace}/virtualmachines/{name}/restart
DefaultApi v1_sev_fetch_cert_chain GET /apis/subresources.kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstances/{name}/sev/fetchcertchain
DefaultApi v1_sev_inject_launch_secret PUT /apis/subresources.kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstances/{name}/sev/injectlaunchsecret
DefaultApi v1_sev_query_launch_measurement GET /apis/subresources.kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstances/{name}/sev/querylaunchmeasurement
DefaultApi v1_sev_setup_session PUT /apis/subresources.kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstances/{name}/sev/setupsession
DefaultApi v1_soft_reboot PUT /apis/subresources.kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstances/{name}/softreboot
DefaultApi v1_start PUT /apis/subresources.kubevirt.io/v1/namespaces/{namespace}/virtualmachines/{name}/start
DefaultApi v1_stop PUT /apis/subresources.kubevirt.io/v1/namespaces/{namespace}/virtualmachines/{name}/stop
DefaultApi v1_unfreeze PUT /apis/subresources.kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstances/{name}/unfreeze
DefaultApi v1_unpause PUT /apis/subresources.kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstances/{name}/unpause
DefaultApi v1_userlist GET /apis/subresources.kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstances/{name}/userlist
DefaultApi v1_version GET /apis/subresources.kubevirt.io/v1/version
DefaultApi v1_vnc GET /apis/subresources.kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstances/{name}/vnc
DefaultApi v1_vnc_screenshot GET /apis/subresources.kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstances/{name}/vnc/screenshot
DefaultApi v1_vsock GET /apis/subresources.kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstances/{name}/vsock
DefaultApi v1alpha3_check_health GET /apis/subresources.kubevirt.io/v1alpha3/healthz
DefaultApi v1alpha3_console GET /apis/subresources.kubevirt.io/v1alpha3/namespaces/{namespace}/virtualmachineinstances/{name}/console
DefaultApi v1alpha3_expand_spec PUT /apis/subresources.kubevirt.io/v1alpha3/namespaces/{namespace}/expand-vm-spec
DefaultApi v1alpha3_filesystemlist GET /apis/subresources.kubevirt.io/v1alpha3/namespaces/{namespace}/virtualmachineinstances/{name}/filesystemlist
DefaultApi v1alpha3_freeze PUT /apis/subresources.kubevirt.io/v1alpha3/namespaces/{namespace}/virtualmachineinstances/{name}/freeze
DefaultApi v1alpha3_guestfs GET /apis/subresources.kubevirt.io/v1alpha3/guestfs
DefaultApi v1alpha3_guestosinfo GET /apis/subresources.kubevirt.io/v1alpha3/namespaces/{namespace}/virtualmachineinstances/{name}/guestosinfo
DefaultApi v1alpha3_memory_dump PUT /apis/subresources.kubevirt.io/v1alpha3/namespaces/{namespace}/virtualmachines/{name}/memorydump
DefaultApi v1alpha3_migrate PUT /apis/subresources.kubevirt.io/v1alpha3/namespaces/{namespace}/virtualmachines/{name}/migrate
DefaultApi v1alpha3_pause PUT /apis/subresources.kubevirt.io/v1alpha3/namespaces/{namespace}/virtualmachineinstances/{name}/pause
DefaultApi v1alpha3_remove_memory_dump PUT /apis/subresources.kubevirt.io/v1alpha3/namespaces/{namespace}/virtualmachines/{name}/removememorydump
DefaultApi v1alpha3_restart PUT /apis/subresources.kubevirt.io/v1alpha3/namespaces/{namespace}/virtualmachines/{name}/restart
DefaultApi v1alpha3_sev_fetch_cert_chain GET /apis/subresources.kubevirt.io/v1alpha3/namespaces/{namespace}/virtualmachineinstances/{name}/sev/fetchcertchain
DefaultApi v1alpha3_sev_inject_launch_secret PUT /apis/subresources.kubevirt.io/v1alpha3/namespaces/{namespace}/virtualmachineinstances/{name}/sev/injectlaunchsecret
DefaultApi v1alpha3_sev_query_launch_measurement GET /apis/subresources.kubevirt.io/v1alpha3/namespaces/{namespace}/virtualmachineinstances/{name}/sev/querylaunchmeasurement
DefaultApi v1alpha3_sev_setup_session PUT /apis/subresources.kubevirt.io/v1alpha3/namespaces/{namespace}/virtualmachineinstances/{name}/sev/setupsession
DefaultApi v1alpha3_soft_reboot PUT /apis/subresources.kubevirt.io/v1alpha3/namespaces/{namespace}/virtualmachineinstances/{name}/softreboot
DefaultApi v1alpha3_start PUT /apis/subresources.kubevirt.io/v1alpha3/namespaces/{namespace}/virtualmachines/{name}/start
DefaultApi v1alpha3_stop PUT /apis/subresources.kubevirt.io/v1alpha3/namespaces/{namespace}/virtualmachines/{name}/stop
DefaultApi v1alpha3_unfreeze PUT /apis/subresources.kubevirt.io/v1alpha3/namespaces/{namespace}/virtualmachineinstances/{name}/unfreeze
DefaultApi v1alpha3_unpause PUT /apis/subresources.kubevirt.io/v1alpha3/namespaces/{namespace}/virtualmachineinstances/{name}/unpause
DefaultApi v1alpha3_userlist GET /apis/subresources.kubevirt.io/v1alpha3/namespaces/{namespace}/virtualmachineinstances/{name}/userlist
DefaultApi v1alpha3_version GET /apis/subresources.kubevirt.io/v1alpha3/version
DefaultApi v1alpha3_vnc GET /apis/subresources.kubevirt.io/v1alpha3/namespaces/{namespace}/virtualmachineinstances/{name}/vnc
DefaultApi v1alpha3_vnc_screenshot GET /apis/subresources.kubevirt.io/v1alpha3/namespaces/{namespace}/virtualmachineinstances/{name}/vnc/screenshot
DefaultApi v1alpha3_vsock GET /apis/subresources.kubevirt.io/v1alpha3/namespaces/{namespace}/virtualmachineinstances/{name}/vsock
DefaultApi v1alpha3dump_cluster_profiler GET /apis/subresources.kubevirt.io/v1alpha3/dump-cluster-profiler
DefaultApi v1alpha3get_api_sub_resources GET /apis/subresources.kubevirt.io/v1alpha3/
DefaultApi v1alpha3start_cluster_profiler GET /apis/subresources.kubevirt.io/v1alpha3/start-cluster-profiler
DefaultApi v1alpha3stop_cluster_profiler GET /apis/subresources.kubevirt.io/v1alpha3/stop-cluster-profiler
DefaultApi v1alpha3usbredir GET /apis/subresources.kubevirt.io/v1alpha3/namespaces/{namespace}/virtualmachineinstances/{name}/usbredir
DefaultApi v1alpha3vm_addvolume PUT /apis/subresources.kubevirt.io/v1alpha3/namespaces/{namespace}/virtualmachines/{name}/addvolume
DefaultApi v1alpha3vm_expand_spec GET /apis/subresources.kubevirt.io/v1alpha3/namespaces/{namespace}/virtualmachines/{name}/expand-spec
DefaultApi v1alpha3vm_port_forward GET /apis/subresources.kubevirt.io/v1alpha3/namespaces/{namespace}/virtualmachines/{name}/portforward/{port}
DefaultApi v1alpha3vm_port_forward_with_protocol GET /apis/subresources.kubevirt.io/v1alpha3/namespaces/{namespace}/virtualmachines/{name}/portforward/{port}/{protocol}
DefaultApi v1alpha3vm_removevolume PUT /apis/subresources.kubevirt.io/v1alpha3/namespaces/{namespace}/virtualmachines/{name}/removevolume
DefaultApi v1alpha3vmi_addvolume PUT /apis/subresources.kubevirt.io/v1alpha3/namespaces/{namespace}/virtualmachineinstances/{name}/addvolume
DefaultApi v1alpha3vmi_port_forward GET /apis/subresources.kubevirt.io/v1alpha3/namespaces/{namespace}/virtualmachineinstances/{name}/portforward/{port}
DefaultApi v1alpha3vmi_port_forward_with_protocol GET /apis/subresources.kubevirt.io/v1alpha3/namespaces/{namespace}/virtualmachineinstances/{name}/portforward/{port}/{protocol}
DefaultApi v1alpha3vmi_removevolume PUT /apis/subresources.kubevirt.io/v1alpha3/namespaces/{namespace}/virtualmachineinstances/{name}/removevolume
DefaultApi v1dump_cluster_profiler GET /apis/subresources.kubevirt.io/v1/dump-cluster-profiler
DefaultApi v1get_api_sub_resources GET /apis/subresources.kubevirt.io/v1/
DefaultApi v1start_cluster_profiler GET /apis/subresources.kubevirt.io/v1/start-cluster-profiler
DefaultApi v1stop_cluster_profiler GET /apis/subresources.kubevirt.io/v1/stop-cluster-profiler
DefaultApi v1usbredir GET /apis/subresources.kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstances/{name}/usbredir
DefaultApi v1vm_addvolume PUT /apis/subresources.kubevirt.io/v1/namespaces/{namespace}/virtualmachines/{name}/addvolume
DefaultApi v1vm_expand_spec GET /apis/subresources.kubevirt.io/v1/namespaces/{namespace}/virtualmachines/{name}/expand-spec
DefaultApi v1vm_port_forward GET /apis/subresources.kubevirt.io/v1/namespaces/{namespace}/virtualmachines/{name}/portforward/{port}
DefaultApi v1vm_port_forward_with_protocol GET /apis/subresources.kubevirt.io/v1/namespaces/{namespace}/virtualmachines/{name}/portforward/{port}/{protocol}
DefaultApi v1vm_removevolume PUT /apis/subresources.kubevirt.io/v1/namespaces/{namespace}/virtualmachines/{name}/removevolume
DefaultApi v1vmi_addvolume PUT /apis/subresources.kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstances/{name}/addvolume
DefaultApi v1vmi_port_forward GET /apis/subresources.kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstances/{name}/portforward/{port}
DefaultApi v1vmi_port_forward_with_protocol GET /apis/subresources.kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstances/{name}/portforward/{port}/{protocol}
DefaultApi v1vmi_removevolume PUT /apis/subresources.kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstances/{name}/removevolume
DefaultApi watch_kube_virt_list_for_all_namespaces GET /apis/kubevirt.io/v1/watch/kubevirt
DefaultApi watch_migration_policy_list_for_all_namespaces GET /apis/migrations.kubevirt.io/v1alpha1/watch/migrationpolicies
DefaultApi watch_namespaced_kube_virt GET /apis/kubevirt.io/v1/watch/namespaces/{namespace}/kubevirt
DefaultApi watch_namespaced_virtual_machine GET /apis/kubevirt.io/v1/watch/namespaces/{namespace}/virtualmachines
DefaultApi watch_namespaced_virtual_machine_export GET /apis/export.kubevirt.io/v1beta1/watch/namespaces/{namespace}/virtualmachineexports
DefaultApi watch_namespaced_virtual_machine_instance GET /apis/kubevirt.io/v1/watch/namespaces/{namespace}/virtualmachineinstances
DefaultApi watch_namespaced_virtual_machine_instance_migration GET /apis/kubevirt.io/v1/watch/namespaces/{namespace}/virtualmachineinstancemigrations
DefaultApi watch_namespaced_virtual_machine_instance_preset GET /apis/kubevirt.io/v1/watch/namespaces/{namespace}/virtualmachineinstancepresets
DefaultApi watch_namespaced_virtual_machine_instance_replica_set GET /apis/kubevirt.io/v1/watch/namespaces/{namespace}/virtualmachineinstancereplicasets
DefaultApi watch_namespaced_virtual_machine_instancetype GET /apis/instancetype.kubevirt.io/v1beta1/watch/namespaces/{namespace}/virtualmachineinstancetypes
DefaultApi watch_namespaced_virtual_machine_pool GET /apis/pool.kubevirt.io/v1alpha1/watch/namespaces/{namespace}/virtualmachinepools
DefaultApi watch_namespaced_virtual_machine_preference GET /apis/instancetype.kubevirt.io/v1beta1/watch/namespaces/{namespace}/virtualmachinepreferences
DefaultApi watch_namespaced_virtual_machine_restore GET /apis/snapshot.kubevirt.io/v1beta1/watch/namespaces/{namespace}/virtualmachinerestores
DefaultApi watch_namespaced_virtual_machine_snapshot GET /apis/snapshot.kubevirt.io/v1beta1/watch/namespaces/{namespace}/virtualmachinesnapshots
DefaultApi watch_namespaced_virtual_machine_snapshot_content GET /apis/snapshot.kubevirt.io/v1beta1/watch/namespaces/{namespace}/virtualmachinesnapshotcontents
DefaultApi watch_virtual_machine_clone_list_for_all_namespaces GET /apis/clone.kubevirt.io/v1alpha1/watch/virtualmachineclones
DefaultApi watch_virtual_machine_cluster_instancetype_list_for_all_namespaces GET /apis/instancetype.kubevirt.io/v1beta1/watch/virtualmachineclusterinstancetypes
DefaultApi watch_virtual_machine_cluster_preference_list_for_all_namespaces GET /apis/instancetype.kubevirt.io/v1beta1/watch/virtualmachineclusterpreferences
DefaultApi watch_virtual_machine_export_list_for_all_namespaces GET /apis/export.kubevirt.io/v1beta1/watch/virtualmachineexports
DefaultApi watch_virtual_machine_instance_list_for_all_namespaces GET /apis/kubevirt.io/v1/watch/virtualmachineinstances
DefaultApi watch_virtual_machine_instance_migration_list_for_all_namespaces GET /apis/kubevirt.io/v1/watch/virtualmachineinstancemigrations
DefaultApi watch_virtual_machine_instance_preset_list_for_all_namespaces GET /apis/kubevirt.io/v1/watch/virtualmachineinstancepresets
DefaultApi watch_virtual_machine_instance_replica_set_list_for_all_namespaces GET /apis/kubevirt.io/v1/watch/virtualmachineinstancereplicasets
DefaultApi watch_virtual_machine_instancetype_list_for_all_namespaces GET /apis/instancetype.kubevirt.io/v1beta1/watch/virtualmachineinstancetypes
DefaultApi watch_virtual_machine_list_for_all_namespaces GET /apis/kubevirt.io/v1/watch/virtualmachines
DefaultApi watch_virtual_machine_pool_list_for_all_namespaces GET /apis/pool.kubevirt.io/v1alpha1/watch/virtualmachinepools
DefaultApi watch_virtual_machine_preference_list_for_all_namespaces GET /apis/instancetype.kubevirt.io/v1beta1/watch/virtualmachinepreferences
DefaultApi watch_virtual_machine_restore_list_for_all_namespaces GET /apis/snapshot.kubevirt.io/v1beta1/watch/virtualmachinerestores
DefaultApi watch_virtual_machine_snapshot_content_list_for_all_namespaces GET /apis/snapshot.kubevirt.io/v1beta1/watch/virtualmachinesnapshotcontents
DefaultApi watch_virtual_machine_snapshot_list_for_all_namespaces GET /apis/snapshot.kubevirt.io/v1beta1/watch/virtualmachinesnapshots

Documentation For Models

Documentation For Authorization

BearerToken

  • Type: API key
  • API key parameter name: authorization
  • Location: HTTP header

Author

[email protected]

About

An auto-generated python SDK to interact with KubeVirt resources

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages