1.0.1
This commit is contained in:
27
src/dynamix_sdk/api/cloudapi/lb/backend_update.py
Normal file
27
src/dynamix_sdk/api/cloudapi/lb/backend_update.py
Normal file
@@ -0,0 +1,27 @@
|
||||
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:
|
||||
...
|
||||
Reference in New Issue
Block a user