You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
932 B
29 lines
932 B
|
5 months ago
|
import dynamix_sdk.base as _base
|
||
|
|
import dynamix_sdk.api._nested as _nested
|
||
|
|
|
||
|
|
|
||
|
|
class CloudapiKvmx86CreateBlankResultInt(_base.BaseAPIResultInt):
|
||
|
|
pass
|
||
|
|
|
||
|
|
|
||
|
|
class CloudapiKvmx86CreateBlankProtocol(_base.BasePostAPIFunctionProtocol):
|
||
|
|
def create_blank(
|
||
|
|
self,
|
||
|
|
*,
|
||
|
|
cpu_count: int,
|
||
|
|
name: str,
|
||
|
|
ram_size_mb: int,
|
||
|
|
rg_id: int,
|
||
|
|
boot_disk_size_gb: None | int = None,
|
||
|
|
chipset: _nested.Chipset = _nested.Chipset.i440fx,
|
||
|
|
data_disks: None | list[_nested.DiskAPIParamsNM] = None,
|
||
|
|
description: None | str = None,
|
||
|
|
driver: _nested.Driver = _nested.Driver.KVM_X86,
|
||
|
|
interfaces: None | list[_nested.InterfaceAPIParamsNM] = None,
|
||
|
|
preferred_cpu_cores: None | list[int] = None,
|
||
|
|
sep_id: None | int = None,
|
||
|
|
sep_pool_name: None | str = None,
|
||
|
|
without_boot_disk: bool = False,
|
||
|
|
) -> CloudapiKvmx86CreateBlankResultInt:
|
||
|
|
...
|