I am using kubernetes python client and I want to write a method to list/get custom objects like VirtualMachine or VirtualMachineInstance. I tried with the method client.CustomObjectsApi().list_cluster_custom_object()
but it requires 3 necessary parameters, group, version and plural. I tried with the same method for kubevirt object and I got the expected result. But for the case of VirtualMachine or VirtualMachineInstance, I am not sure what should be the plural parameter. I tried different keywords using hit and trial method but failed to get any output.
I am not sure what I am getting wrong here. Either the VirtualMachine/VirtualMachineInstance aren't custom objects or there is something else I am getting all wrong together. Can someone please help me here?