2025-06-06 08:20:45 +03:00
|
|
|
import dynamix_sdk.base as _base
|
|
|
|
|
from dynamix_sdk.api import _nested
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class CloudapiComputeAffinityRelationsResultModel(
|
|
|
|
|
_nested.AffinityRelationsAPIResultNM,
|
|
|
|
|
):
|
|
|
|
|
pass
|
|
|
|
|
|
|
|
|
|
|
2026-09-18 16:06:25 +07:00
|
|
|
class CloudapiComputeAffinityRelationsImpl(
|
|
|
|
|
_base.APIFunctionImpl
|
2025-06-06 08:20:45 +03:00
|
|
|
):
|
2026-09-18 16:06:25 +07:00
|
|
|
http_method = _base.HTTPMethod.POST
|
|
|
|
|
|
|
|
|
|
def __call__(
|
2025-06-06 08:20:45 +03:00
|
|
|
self,
|
|
|
|
|
*,
|
|
|
|
|
vm_id: int,
|
|
|
|
|
) -> CloudapiComputeAffinityRelationsResultModel:
|
2026-09-18 16:06:25 +07:00
|
|
|
raise NotImplementedError
|