From 970a0c2dfff6d0d427f6a8f281729ee46a317d72 Mon Sep 17 00:00:00 2001 From: Mickael B Date: Mon, 2 Dec 2024 16:16:03 +0100 Subject: [PATCH] ajout de force stop --- deevirt_schema/api/vm.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/deevirt_schema/api/vm.py b/deevirt_schema/api/vm.py index 83d808b..2fe2d96 100644 --- a/deevirt_schema/api/vm.py +++ b/deevirt_schema/api/vm.py @@ -221,6 +221,10 @@ class VMPost(VM): class VMDelete(BaseModel): id:UUID4 = Field() +"""VM STOP""" +class VMStop(BaseModel): + force:Optional[bool] = Field(default=False) + class HardDisk(BaseModel): pass