ModifyListenerAttribute
1. API Description
This API (ModifyListenerAttribute) is used to modify the listener configurations.
2. Input Parameters
The following request parameter list only provides API request parameters.
listenerId
Yes
String
The listener ID.
listenerName
No
String
Listener name.
This parameter can contain up to 64 characters. Only letters, numbers, - and periods (.) are supported.
protocol
No
String
Listening protocols.
Available values:
TCP UDP
backendProtocol
No
String
Backend forwarding protocol.
Available values:
TCP UDP
scheduler
No
String
Scheduling algorithm. Available values:
wrr (default): Weighted round robin, the higher the weight value of the backend server, the higher the probability of being polled. rr : Round robin, distribute external requests to backend servers in the order of access.
3. Output Parameters
requestId
String
The unique request ID, which is returned for each request.
RequestId is required for locating a problem.
4. Code Example
Modify listener configurations.
5. Developer Resources
Zenlayer Cloud API 2.0 integrates SDKs,to make it easier for you to call APIs. More programming languages will be supported.
6. Error Codes
The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.
HTTP Status Code
Error Code
Description
Last updated