Files
dynamix-python-sdk/src/dynamix_sdk/api/cloudapi/compute/disk_add.py
T

23 lines
639 B
Python
Raw Normal View History

2025-06-06 08:20:45 +03:00
import dynamix_sdk.base as _base
2026-09-18 16:06:25 +07:00
class CloudapiComputeDiskAddImpl(_base.APIFunctionImpl):
http_method = _base.HTTPMethod.POST
2025-06-06 08:20:45 +03:00
2026-09-18 16:06:25 +07:00
def __call__(
2025-06-06 08:20:45 +03:00
self,
*,
vm_id: int,
name: str,
disk_size_gb: int,
2025-11-25 18:09:46 +03:00
storage_policy_id: int,
2025-06-06 08:20:45 +03:00
sep_id: int | None = None,
sep_pool_name: str | None = None,
description: str | None = None,
image_id: int | None = None,
2025-11-25 18:09:46 +03:00
pci_slot_num_hex: str | None = None,
bus_num_hex: str | None = None,
2026-09-18 16:06:25 +07:00
async_mode: bool = False,
read_only_mode: bool = False,
) -> int | str:
raise NotImplementedError