From d2ea70df8457f8046c7cfbd3b4e889e67120e60d Mon Sep 17 00:00:00 2001 From: sdk-team Date: Mon, 23 Dec 2024 02:26:51 +0000 Subject: [PATCH] Generated 2020-06-16 for Alb. --- aliyun-python-sdk-alb/ChangeLog.txt | 3 +++ aliyun-python-sdk-alb/aliyunsdkalb/__init__.py | 2 +- .../aliyunsdkalb/request/v20200616/CreateListenerRequest.py | 4 ++++ .../request/v20200616/UpdateListenerAttributeRequest.py | 4 ++++ 4 files changed, 12 insertions(+), 1 deletion(-) diff --git a/aliyun-python-sdk-alb/ChangeLog.txt b/aliyun-python-sdk-alb/ChangeLog.txt index 79a226b572..ecedb408a3 100644 --- a/aliyun-python-sdk-alb/ChangeLog.txt +++ b/aliyun-python-sdk-alb/ChangeLog.txt @@ -1,3 +1,6 @@ +2024-12-23 Version: 1.0.22 +- Generated 2020-06-16 for `Alb`. + 2024-12-11 Version: 1.0.21 - Support fromData for UpdateRulesAttribute and Createrules diff --git a/aliyun-python-sdk-alb/aliyunsdkalb/__init__.py b/aliyun-python-sdk-alb/aliyunsdkalb/__init__.py index e2c5205c82..b5d6b8f43d 100644 --- a/aliyun-python-sdk-alb/aliyunsdkalb/__init__.py +++ b/aliyun-python-sdk-alb/aliyunsdkalb/__init__.py @@ -1 +1 @@ -__version__ = '1.0.21' \ No newline at end of file +__version__ = '1.0.22' \ No newline at end of file diff --git a/aliyun-python-sdk-alb/aliyunsdkalb/request/v20200616/CreateListenerRequest.py b/aliyun-python-sdk-alb/aliyunsdkalb/request/v20200616/CreateListenerRequest.py index 3880b7f44e..05da875add 100644 --- a/aliyun-python-sdk-alb/aliyunsdkalb/request/v20200616/CreateListenerRequest.py +++ b/aliyun-python-sdk-alb/aliyunsdkalb/request/v20200616/CreateListenerRequest.py @@ -109,6 +109,10 @@ def set_XForwardedForConfig(self, XForwardedForConfig): # Struct self.add_query_param('XForwardedForConfig.XForwardedForClientSourceIpsEnabled', XForwardedForConfig.get('XForwardedForClientSourceIpsEnabled')) if XForwardedForConfig.get('XForwardedForClientCertIssuerDNEnabled') is not None: self.add_query_param('XForwardedForConfig.XForwardedForClientCertIssuerDNEnabled', XForwardedForConfig.get('XForwardedForClientCertIssuerDNEnabled')) + if XForwardedForConfig.get('XForwardedForHostEnabled') is not None: + self.add_query_param('XForwardedForConfig.XForwardedForHostEnabled', XForwardedForConfig.get('XForwardedForHostEnabled')) + if XForwardedForConfig.get('XForwardedForProcessingMode') is not None: + self.add_query_param('XForwardedForConfig.XForwardedForProcessingMode', XForwardedForConfig.get('XForwardedForProcessingMode')) if XForwardedForConfig.get('XForwardedForClientCertFingerprintEnabled') is not None: self.add_query_param('XForwardedForConfig.XForwardedForClientCertFingerprintEnabled', XForwardedForConfig.get('XForwardedForClientCertFingerprintEnabled')) if XForwardedForConfig.get('XForwardedForClientCertIssuerDNAlias') is not None: diff --git a/aliyun-python-sdk-alb/aliyunsdkalb/request/v20200616/UpdateListenerAttributeRequest.py b/aliyun-python-sdk-alb/aliyunsdkalb/request/v20200616/UpdateListenerAttributeRequest.py index aa3e4fa790..4fff3f0d29 100644 --- a/aliyun-python-sdk-alb/aliyunsdkalb/request/v20200616/UpdateListenerAttributeRequest.py +++ b/aliyun-python-sdk-alb/aliyunsdkalb/request/v20200616/UpdateListenerAttributeRequest.py @@ -100,6 +100,10 @@ def set_XForwardedForConfig(self, XForwardedForConfig): # Struct self.add_query_param('XForwardedForConfig.XForwardedForClientSourceIpsEnabled', XForwardedForConfig.get('XForwardedForClientSourceIpsEnabled')) if XForwardedForConfig.get('XForwardedForClientCertIssuerDNEnabled') is not None: self.add_query_param('XForwardedForConfig.XForwardedForClientCertIssuerDNEnabled', XForwardedForConfig.get('XForwardedForClientCertIssuerDNEnabled')) + if XForwardedForConfig.get('XForwardedForHostEnabled') is not None: + self.add_query_param('XForwardedForConfig.XForwardedForHostEnabled', XForwardedForConfig.get('XForwardedForHostEnabled')) + if XForwardedForConfig.get('XForwardedForProcessingMode') is not None: + self.add_query_param('XForwardedForConfig.XForwardedForProcessingMode', XForwardedForConfig.get('XForwardedForProcessingMode')) if XForwardedForConfig.get('XForwardedForClientCertFingerprintEnabled') is not None: self.add_query_param('XForwardedForConfig.XForwardedForClientCertFingerprintEnabled', XForwardedForConfig.get('XForwardedForClientCertFingerprintEnabled')) if XForwardedForConfig.get('XForwardedForClientCertIssuerDNAlias') is not None: