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

20 lines
527 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 CloudapiComputeCloneImpl(_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,
force: bool = False,
2025-11-25 18:09:46 +03:00
storage_policy_id: int,
2025-06-06 08:20:45 +03:00
snapshot_timestamp: int | None = None,
snapshot_name: str | None = None,
2025-11-25 18:09:46 +03:00
sep_pool_name: str | None = None,
sep_id: int | None = None,
2026-09-18 16:06:25 +07:00
async_mode: bool = True,
) -> str | int:
raise NotImplementedError