2025-11-25 18:09:46 +03:00
|
|
|
import dynamix_sdk.base as _base
|
|
|
|
|
|
|
|
|
|
|
2026-09-18 16:06:25 +07:00
|
|
|
class CloudapiComputeDiskMigrateImpl(
|
|
|
|
|
_base.APIFunctionImpl
|
2025-11-25 18:09:46 +03:00
|
|
|
):
|
2026-09-18 16:06:25 +07:00
|
|
|
http_method = _base.HTTPMethod.POST
|
|
|
|
|
|
|
|
|
|
def __call__(
|
2025-11-25 18:09:46 +03:00
|
|
|
self,
|
|
|
|
|
*,
|
|
|
|
|
vm_id: int,
|
|
|
|
|
disk_id: int,
|
|
|
|
|
target_disk_id: int,
|
|
|
|
|
mode: int = 1,
|
2026-09-18 16:06:25 +07:00
|
|
|
) -> bool:
|
|
|
|
|
raise NotImplementedError
|