update vm
This commit is contained in:
parent
49be491f25
commit
d332bfe4f1
|
@ -65,10 +65,11 @@ class DevicesDisk(BaseModel):
|
||||||
model_config = ConfigDict(from_attributes=True)
|
model_config = ConfigDict(from_attributes=True)
|
||||||
|
|
||||||
pool_id:Optional[UUID4] = Field(default=None)
|
pool_id:Optional[UUID4] = Field(default=None)
|
||||||
id:UUID4 = Field(default_factory=uuid4)
|
id:Optional[UUID4] = Field(default_factory=uuid4)
|
||||||
size:int = Field()
|
size:int = Field()
|
||||||
unit:configDom.UnitEnum = Field(default=configDom.UnitEnum.GiB)
|
unit:configDom.UnitEnum = Field(default=configDom.UnitEnum.GiB)
|
||||||
bus:configDom.DevicesDiskTarget.busEnum = Field(default=configDom.DevicesDiskTarget.busEnum.scsi)
|
bus:configDom.DevicesDiskTarget.busEnum = Field(default=configDom.DevicesDiskTarget.busEnum.scsi)
|
||||||
|
order:Optional[int] = Field(default=0)
|
||||||
|
|
||||||
class DevicesCDROMSource(BaseModel):
|
class DevicesCDROMSource(BaseModel):
|
||||||
protocol:configDom.DevicesDiskSource.protocolEnum = Field(default=configDom.DevicesDiskSource.protocolEnum.https)
|
protocol:configDom.DevicesDiskSource.protocolEnum = Field(default=configDom.DevicesDiskSource.protocolEnum.https)
|
||||||
|
|
Loading…
Reference in New Issue