24 lines
639 B
Python
24 lines
639 B
Python
import dynamix_sdk.base as _base
|
|
|
|
|
|
class CloudapiComputeDiskAddImpl(_base.APIFunctionImpl):
|
|
http_method = _base.HTTPMethod.POST
|
|
|
|
def __call__(
|
|
self,
|
|
*,
|
|
vm_id: int,
|
|
name: str,
|
|
disk_size_gb: int,
|
|
storage_policy_id: int,
|
|
sep_id: int | None = None,
|
|
sep_pool_name: str | None = None,
|
|
description: str | None = None,
|
|
image_id: int | None = None,
|
|
pci_slot_num_hex: str | None = None,
|
|
bus_num_hex: str | None = None,
|
|
async_mode: bool = False,
|
|
read_only_mode: bool = False,
|
|
) -> int | str:
|
|
raise NotImplementedError
|