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.

39 lines
1.3 KiB

4 months ago
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,
*,
2 months ago
cpu_count: int,
4 months ago
name: str,
2 months ago
ram_size_mb: int,
4 months ago
rg_id: int,
2 months ago
boot_disk_size_gb: None | int = None,
4 months ago
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,
6 days ago
zone_id: None | int = None,
4 months ago
) -> CloudapiKvmx86CreateResultInt:
...