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

17 lines
417 B
Python
Raw Normal View History

2025-06-06 08:20:45 +03:00
import dynamix_sdk.base as _base
import dynamix_sdk.api._nested as _nested
2026-09-18 16:06:25 +07:00
class CloudapiComputeChangeIpImpl(_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,
2025-06-30 15:09:41 +03:00
net_type: _nested.NetTypeForChangeIP,
net_id: int,
ip_addr: str,
2026-09-18 16:06:25 +07:00
async_mode: bool = False,
) -> bool | str:
raise NotImplementedError