18 lines
417 B
Python
18 lines
417 B
Python
import dynamix_sdk.base as _base
|
|
import dynamix_sdk.api._nested as _nested
|
|
|
|
|
|
class CloudapiComputeChangeIpImpl(_base.APIFunctionImpl):
|
|
http_method = _base.HTTPMethod.POST
|
|
|
|
def __call__(
|
|
self,
|
|
*,
|
|
vm_id: int,
|
|
net_type: _nested.NetTypeForChangeIP,
|
|
net_id: int,
|
|
ip_addr: str,
|
|
async_mode: bool = False,
|
|
) -> bool | str:
|
|
raise NotImplementedError
|