1.0.0
This commit is contained in:
37
src/dynamix_sdk/api/cloudapi/kvmx86/create.py
Normal file
37
src/dynamix_sdk/api/cloudapi/kvmx86/create.py
Normal file
@@ -0,0 +1,37 @@
|
||||
import dynamix_sdk.base as _base
|
||||
import dynamix_sdk.api._nested as _nested
|
||||
|
||||
|
||||
class CloudapiKvmx86CreateResultInt(_base.BaseAPIResultInt):
|
||||
pass
|
||||
|
||||
|
||||
class CloudapiKvmx86CreateProtocol(_base.BasePostAPIFunctionProtocol):
|
||||
def create(
|
||||
self,
|
||||
*,
|
||||
cpu: int,
|
||||
name: str,
|
||||
ram: int,
|
||||
rg_id: int,
|
||||
boot_disk_size: None | int = None,
|
||||
chipset: _nested.Chipset = _nested.Chipset.i440fx,
|
||||
ci_user_data: None | dict = None,
|
||||
cpu_pin: bool = False,
|
||||
custom_fields: None | str = None,
|
||||
data_disks: None | list[_nested.DiskAPIParamsNM] = None,
|
||||
description: None | str = None,
|
||||
driver: _nested.Driver = _nested.Driver.KVM_X86,
|
||||
hp_backed: bool = False,
|
||||
image_id: None | int = None,
|
||||
interfaces: None | list[_nested.InterfaceAPIParamsNM] = None,
|
||||
ipa_type: None | str = None,
|
||||
numa_affinity: _nested.NumaAffinity = _nested.NumaAffinity.none,
|
||||
preferred_cpu_cores: None | list[int] = None,
|
||||
sep_id: None | int = None,
|
||||
sep_pool_name: None | str = None,
|
||||
start: bool = True,
|
||||
system_name: None | str = None,
|
||||
without_boot_disk: bool = False,
|
||||
) -> CloudapiKvmx86CreateResultInt:
|
||||
...
|
||||
Reference in New Issue
Block a user