Skip to content

Commit ed68bb3

Browse files
committed
Update modify_loadbalancer_listener_attributes
Add param `server_certificate_id`
1 parent 70bf59b commit ed68bb3

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

qingcloud/iaas/connection.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2385,6 +2385,7 @@ def modify_loadbalancer_listener_attributes(self, loadbalancer_listener,
23852385
healthy_check_method=None,
23862386
healthy_check_option=None,
23872387
session_sticky=None,
2388+
server_certificate_id=None,
23882389
**ignore):
23892390
""" Modify load balancer listener attributes
23902391
@param loadbalancer_listener: the ID of listener.
@@ -2396,11 +2397,13 @@ def modify_loadbalancer_listener_attributes(self, loadbalancer_listener,
23962397
Example: if you need X-Forwarded-For and QC-LB-IP in http header,
23972398
then forwardfor should be HEADER_X_FORWARD_FOR | HEADER_QC_LB_IP.
23982399
@param description: the description of the listener.
2400+
@param server_certificate_id: the ID of server certificate.
23992401
"""
24002402
action = const.ACTION_MODIFY_LOADBALANCER_LISTENER_ATTRIBUTES
24012403
valid_keys = ['loadbalancer_listener', 'loadbalancer_listener_name',
24022404
'balance_mode', 'forwardfor', 'healthy_check_method',
2403-
'healthy_check_option', 'session_sticky']
2405+
'healthy_check_option', 'session_sticky',
2406+
'server_certificate_id']
24042407
body = filter_out_none(locals(), valid_keys)
24052408
if not self.req_checker.check_params(body,
24062409
required_params=[

0 commit comments

Comments
 (0)