2025-07-21 20:27:59 +07:00
|
|
|
import dynamix_sdk.base as _base
|
|
|
|
|
import dynamix_sdk.api._nested as _nested
|
|
|
|
|
|
|
|
|
|
|
2026-10-30 17:01:06 +03:00
|
|
|
class CloudapiK8sListResultModel(_base.ResultModel):
|
2025-11-25 18:09:46 +03:00
|
|
|
data: list[_nested.K8sAPIResultNM]
|
2025-07-21 20:27:59 +07:00
|
|
|
entry_count: int
|
|
|
|
|
|
|
|
|
|
|
2026-09-18 16:06:25 +07:00
|
|
|
class CloudapiK8sListImpl(_base.APIFunctionImpl):
|
|
|
|
|
http_method = _base.HTTPMethod.POST
|
|
|
|
|
|
|
|
|
|
def __call__(
|
2025-07-21 20:27:59 +07:00
|
|
|
self,
|
|
|
|
|
*,
|
|
|
|
|
bservice_id: int | None = None,
|
|
|
|
|
id: int | None = None,
|
|
|
|
|
include_deleted: bool = False,
|
|
|
|
|
ip_addr: str | None = None,
|
|
|
|
|
lb_id: int | None = None,
|
|
|
|
|
name: str | None = None,
|
2026-09-18 16:06:25 +07:00
|
|
|
page_number: int = 1,
|
|
|
|
|
page_size: int = 100,
|
2025-07-21 20:27:59 +07:00
|
|
|
rg_id: int | None = None,
|
|
|
|
|
sort_by: str | None = None,
|
|
|
|
|
status: _nested.K8sStatus | None = None,
|
2025-11-25 18:09:46 +03:00
|
|
|
zone_id: int | None = None,
|
2025-07-21 20:27:59 +07:00
|
|
|
tech_status: _nested.K8sTechStatus | None = None,
|
|
|
|
|
) -> CloudapiK8sListResultModel:
|
2026-09-18 16:06:25 +07:00
|
|
|
raise NotImplementedError
|