Files
dynamix-python-sdk/src/dynamix_sdk/api/cloudapi/lb/backend_update.py

28 lines
705 B
Python
Raw Normal View History

2025-06-06 08:20:45 +03:00
import dynamix_sdk.base as _base
from dynamix_sdk.api import _nested
class CloudapiLbBackendUpdateResultBool(_base.BaseAPIResultBool):
pass
class CloudapiLbBackendUpdateProtocol(_base.BasePostAPIFunctionProtocol):
def backend_update(
self,
*,
lb_id: int,
backend_name: str,
inter: int = 5000,
algorithm: _nested.LBBackendAlgorithm = (
_nested.LBBackendAlgorithm.ROUNDROBIN
),
downinter: int = 1000,
rise: int = 2,
fall: int = 2,
slowstart: int = 60000,
maxconn: int = 250,
maxqueue: int = 256,
weight: int = 256,
) -> CloudapiLbBackendUpdateResultBool:
...