huaweicloudsdkelb 3.1.104__py2.py3-none-any.whl → 3.1.106__py2.py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (142) hide show
  1. huaweicloudsdkelb/v3/__init__.py +29 -0
  2. huaweicloudsdkelb/v3/elb_async_client.py +171 -34
  3. huaweicloudsdkelb/v3/elb_client.py +171 -34
  4. huaweicloudsdkelb/v3/model/__init__.py +29 -0
  5. huaweicloudsdkelb/v3/model/availability_zone.py +3 -3
  6. huaweicloudsdkelb/v3/model/batch_add_available_zones_response.py +6 -6
  7. huaweicloudsdkelb/v3/model/batch_create_members_option.py +3 -3
  8. huaweicloudsdkelb/v3/model/batch_delete_ip_list_option.py +3 -3
  9. huaweicloudsdkelb/v3/model/batch_delete_ip_list_request.py +3 -3
  10. huaweicloudsdkelb/v3/model/batch_delete_ip_list_response.py +3 -3
  11. huaweicloudsdkelb/v3/model/batch_member.py +67 -9
  12. huaweicloudsdkelb/v3/model/batch_update_member.py +67 -9
  13. huaweicloudsdkelb/v3/model/batch_update_priority_request_body.py +3 -3
  14. huaweicloudsdkelb/v3/model/certificate_info.py +93 -6
  15. huaweicloudsdkelb/v3/model/change_loadbalancer_charge_mode_request_body.py +3 -3
  16. huaweicloudsdkelb/v3/model/connection_drain.py +3 -3
  17. huaweicloudsdkelb/v3/model/count_preoccupy_ip_num_request.py +6 -6
  18. huaweicloudsdkelb/v3/model/create_certificate_option.py +5 -4
  19. huaweicloudsdkelb/v3/model/create_certificate_private_key_echo_request.py +111 -0
  20. huaweicloudsdkelb/v3/model/create_certificate_private_key_echo_request_body.py +114 -0
  21. huaweicloudsdkelb/v3/model/create_certificate_private_key_echo_response.py +145 -0
  22. huaweicloudsdkelb/v3/model/create_fixted_response_config.py +78 -3
  23. huaweicloudsdkelb/v3/model/create_health_monitor_option.py +9 -9
  24. huaweicloudsdkelb/v3/model/create_insert_header_config.py +170 -0
  25. huaweicloudsdkelb/v3/model/create_insert_headers_config.py +114 -0
  26. huaweicloudsdkelb/v3/model/create_ip_group_ip_option.py +6 -6
  27. huaweicloudsdkelb/v3/model/create_ip_group_option.py +15 -15
  28. huaweicloudsdkelb/v3/model/create_ip_group_response.py +3 -3
  29. huaweicloudsdkelb/v3/model/create_l7_policy_option.py +61 -7
  30. huaweicloudsdkelb/v3/model/create_l7_policy_rule_option.py +6 -6
  31. huaweicloudsdkelb/v3/model/create_listener_ip_group_option.py +3 -3
  32. huaweicloudsdkelb/v3/model/create_listener_option.py +33 -33
  33. huaweicloudsdkelb/v3/model/create_load_balancer_bandwidth_option.py +18 -18
  34. huaweicloudsdkelb/v3/model/create_load_balancer_option.py +76 -105
  35. huaweicloudsdkelb/v3/model/create_load_balancer_public_ip_option.py +12 -12
  36. huaweicloudsdkelb/v3/model/create_load_balancer_response.py +6 -6
  37. huaweicloudsdkelb/v3/model/create_loadbalancer_autoscaling_option.py +6 -6
  38. huaweicloudsdkelb/v3/model/create_master_slave_health_monitor_option.py +6 -6
  39. huaweicloudsdkelb/v3/model/create_master_slave_member_option.py +3 -3
  40. huaweicloudsdkelb/v3/model/create_master_slave_pool_option.py +6 -6
  41. huaweicloudsdkelb/v3/model/create_member_option.py +6 -6
  42. huaweicloudsdkelb/v3/model/create_pool_option.py +84 -30
  43. huaweicloudsdkelb/v3/model/create_redirect_pools_config.py +143 -0
  44. huaweicloudsdkelb/v3/model/create_redirect_pools_extend_config.py +81 -6
  45. huaweicloudsdkelb/v3/model/create_redirect_pools_sticky_session_config.py +144 -0
  46. huaweicloudsdkelb/v3/model/create_redirect_url_config.py +53 -3
  47. huaweicloudsdkelb/v3/model/create_remove_header_config.py +114 -0
  48. huaweicloudsdkelb/v3/model/create_remove_headers_config.py +114 -0
  49. huaweicloudsdkelb/v3/model/create_rewrite_url_config.py +9 -9
  50. huaweicloudsdkelb/v3/model/create_rule_option.py +6 -6
  51. huaweicloudsdkelb/v3/model/create_traffic_limit_config.py +173 -0
  52. huaweicloudsdkelb/v3/model/delete_ip_group_request.py +3 -3
  53. huaweicloudsdkelb/v3/model/fixted_response_config.py +78 -3
  54. huaweicloudsdkelb/v3/model/flavor.py +79 -21
  55. huaweicloudsdkelb/v3/model/health_monitor.py +9 -9
  56. huaweicloudsdkelb/v3/model/insert_header_config.py +170 -0
  57. huaweicloudsdkelb/v3/model/insert_headers_config.py +114 -0
  58. huaweicloudsdkelb/v3/model/ip_group.py +119 -90
  59. huaweicloudsdkelb/v3/model/ip_group_ip.py +3 -3
  60. huaweicloudsdkelb/v3/model/ip_info.py +6 -6
  61. huaweicloudsdkelb/v3/model/l7_policy.py +67 -13
  62. huaweicloudsdkelb/v3/model/l7_rule.py +15 -15
  63. huaweicloudsdkelb/v3/model/list_all_members_request.py +3 -3
  64. huaweicloudsdkelb/v3/model/list_all_members_response.py +4 -4
  65. huaweicloudsdkelb/v3/model/list_certificates_request.py +64 -6
  66. huaweicloudsdkelb/v3/model/list_flavors_request.py +21 -21
  67. huaweicloudsdkelb/v3/model/list_flavors_response.py +6 -6
  68. huaweicloudsdkelb/v3/model/list_health_monitors_request.py +12 -12
  69. huaweicloudsdkelb/v3/model/list_ip_groups_request.py +53 -24
  70. huaweicloudsdkelb/v3/model/list_ip_groups_response.py +6 -6
  71. huaweicloudsdkelb/v3/model/list_l7_policies_request.py +3 -3
  72. huaweicloudsdkelb/v3/model/list_l7_rules_request.py +3 -3
  73. huaweicloudsdkelb/v3/model/list_listeners_request.py +24 -24
  74. huaweicloudsdkelb/v3/model/list_load_balancers_request.py +30 -30
  75. huaweicloudsdkelb/v3/model/list_logtanks_request.py +3 -3
  76. huaweicloudsdkelb/v3/model/list_master_slave_pools_request.py +6 -6
  77. huaweicloudsdkelb/v3/model/list_members_request.py +3 -3
  78. huaweicloudsdkelb/v3/model/list_pools_request.py +105 -18
  79. huaweicloudsdkelb/v3/model/list_security_policies_request.py +3 -3
  80. huaweicloudsdkelb/v3/model/listener.py +27 -27
  81. huaweicloudsdkelb/v3/model/listener_ref.py +3 -3
  82. huaweicloudsdkelb/v3/model/load_balancer.py +27 -27
  83. huaweicloudsdkelb/v3/model/load_balancer_status_policy.py +3 -3
  84. huaweicloudsdkelb/v3/model/master_slave_health_monitor.py +6 -6
  85. huaweicloudsdkelb/v3/model/master_slave_member.py +3 -3
  86. huaweicloudsdkelb/v3/model/master_slave_pool.py +15 -15
  87. huaweicloudsdkelb/v3/model/member.py +13 -158
  88. huaweicloudsdkelb/v3/model/member_info.py +656 -0
  89. huaweicloudsdkelb/v3/model/page_info.py +9 -9
  90. huaweicloudsdkelb/v3/model/pool.py +110 -27
  91. huaweicloudsdkelb/v3/model/pool_health.py +115 -0
  92. huaweicloudsdkelb/v3/model/prepaid_create_option.py +12 -12
  93. huaweicloudsdkelb/v3/model/quota.py +12 -12
  94. huaweicloudsdkelb/v3/model/quota_info.py +3 -3
  95. huaweicloudsdkelb/v3/model/redirect_pools_config.py +144 -0
  96. huaweicloudsdkelb/v3/model/redirect_pools_extend_config.py +81 -6
  97. huaweicloudsdkelb/v3/model/redirect_pools_sticky_session_config.py +144 -0
  98. huaweicloudsdkelb/v3/model/redirect_url_config.py +65 -9
  99. huaweicloudsdkelb/v3/model/remove_header_config.py +114 -0
  100. huaweicloudsdkelb/v3/model/remove_headers_config.py +114 -0
  101. huaweicloudsdkelb/v3/model/rewrite_url_config.py +9 -9
  102. huaweicloudsdkelb/v3/model/session_persistence.py +6 -6
  103. huaweicloudsdkelb/v3/model/show_certificate_private_key_echo_request.py +84 -0
  104. huaweicloudsdkelb/v3/model/show_certificate_private_key_echo_response.py +145 -0
  105. huaweicloudsdkelb/v3/model/show_flavor_request.py +3 -3
  106. huaweicloudsdkelb/v3/model/show_flavor_response.py +3 -3
  107. huaweicloudsdkelb/v3/model/show_ip_group_request.py +3 -3
  108. huaweicloudsdkelb/v3/model/show_ip_group_response.py +3 -3
  109. huaweicloudsdkelb/v3/model/traffic_limit_config.py +173 -0
  110. huaweicloudsdkelb/v3/model/upadate_ip_group_ip_option.py +6 -6
  111. huaweicloudsdkelb/v3/model/update_certificate_option.py +3 -3
  112. huaweicloudsdkelb/v3/model/update_fixted_response_config.py +78 -3
  113. huaweicloudsdkelb/v3/model/update_health_monitor_option.py +9 -9
  114. huaweicloudsdkelb/v3/model/update_insert_header_config.py +170 -0
  115. huaweicloudsdkelb/v3/model/update_insert_headers_config.py +114 -0
  116. huaweicloudsdkelb/v3/model/update_ip_group_option.py +9 -9
  117. huaweicloudsdkelb/v3/model/update_ip_group_request.py +3 -3
  118. huaweicloudsdkelb/v3/model/update_ip_group_response.py +3 -3
  119. huaweicloudsdkelb/v3/model/update_ip_list_option.py +9 -9
  120. huaweicloudsdkelb/v3/model/update_ip_list_request.py +3 -3
  121. huaweicloudsdkelb/v3/model/update_ip_list_response.py +3 -3
  122. huaweicloudsdkelb/v3/model/update_l7_policy_option.py +58 -4
  123. huaweicloudsdkelb/v3/model/update_l7_rule_option.py +3 -3
  124. huaweicloudsdkelb/v3/model/update_listener_ip_group_option.py +6 -6
  125. huaweicloudsdkelb/v3/model/update_listener_option.py +24 -24
  126. huaweicloudsdkelb/v3/model/update_load_balancer_option.py +24 -24
  127. huaweicloudsdkelb/v3/model/update_load_balancer_response.py +6 -6
  128. huaweicloudsdkelb/v3/model/update_pool_option.py +37 -12
  129. huaweicloudsdkelb/v3/model/update_pool_session_persistence_option.py +6 -6
  130. huaweicloudsdkelb/v3/model/update_redirect_pools_config.py +143 -0
  131. huaweicloudsdkelb/v3/model/update_redirect_pools_extend_config.py +81 -6
  132. huaweicloudsdkelb/v3/model/update_redirect_pools_sticky_session_config.py +144 -0
  133. huaweicloudsdkelb/v3/model/update_redirect_url_config.py +53 -3
  134. huaweicloudsdkelb/v3/model/update_remove_header_config.py +114 -0
  135. huaweicloudsdkelb/v3/model/update_remove_headers_config.py +114 -0
  136. huaweicloudsdkelb/v3/model/update_rewrite_url_config.py +173 -0
  137. huaweicloudsdkelb/v3/model/update_traffic_limit_config.py +173 -0
  138. {huaweicloudsdkelb-3.1.104.dist-info → huaweicloudsdkelb-3.1.106.dist-info}/METADATA +2 -2
  139. {huaweicloudsdkelb-3.1.104.dist-info → huaweicloudsdkelb-3.1.106.dist-info}/RECORD +142 -113
  140. {huaweicloudsdkelb-3.1.104.dist-info → huaweicloudsdkelb-3.1.106.dist-info}/LICENSE +0 -0
  141. {huaweicloudsdkelb-3.1.104.dist-info → huaweicloudsdkelb-3.1.106.dist-info}/WHEEL +0 -0
  142. {huaweicloudsdkelb-3.1.104.dist-info → huaweicloudsdkelb-3.1.106.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,114 @@
1
+ # coding: utf-8
2
+
3
+ import six
4
+
5
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
6
+
7
+
8
+ class UpdateInsertHeadersConfig:
9
+
10
+ """
11
+ Attributes:
12
+ openapi_types (dict): The key is attribute name
13
+ and the value is attribute type.
14
+ attribute_map (dict): The key is attribute name
15
+ and the value is json key in definition.
16
+ """
17
+ sensitive_list = []
18
+
19
+ openapi_types = {
20
+ 'configs': 'list[UpdateInsertHeaderConfig]'
21
+ }
22
+
23
+ attribute_map = {
24
+ 'configs': 'configs'
25
+ }
26
+
27
+ def __init__(self, configs=None):
28
+ """UpdateInsertHeadersConfig
29
+
30
+ The model defined in huaweicloud sdk
31
+
32
+ :param configs: 要添加请求头参数列表。
33
+ :type configs: list[:class:`huaweicloudsdkelb.v3.UpdateInsertHeaderConfig`]
34
+ """
35
+
36
+
37
+
38
+ self._configs = None
39
+ self.discriminator = None
40
+
41
+ self.configs = configs
42
+
43
+ @property
44
+ def configs(self):
45
+ """Gets the configs of this UpdateInsertHeadersConfig.
46
+
47
+ 要添加请求头参数列表。
48
+
49
+ :return: The configs of this UpdateInsertHeadersConfig.
50
+ :rtype: list[:class:`huaweicloudsdkelb.v3.UpdateInsertHeaderConfig`]
51
+ """
52
+ return self._configs
53
+
54
+ @configs.setter
55
+ def configs(self, configs):
56
+ """Sets the configs of this UpdateInsertHeadersConfig.
57
+
58
+ 要添加请求头参数列表。
59
+
60
+ :param configs: The configs of this UpdateInsertHeadersConfig.
61
+ :type configs: list[:class:`huaweicloudsdkelb.v3.UpdateInsertHeaderConfig`]
62
+ """
63
+ self._configs = configs
64
+
65
+ def to_dict(self):
66
+ """Returns the model properties as a dict"""
67
+ result = {}
68
+
69
+ for attr, _ in six.iteritems(self.openapi_types):
70
+ value = getattr(self, attr)
71
+ if isinstance(value, list):
72
+ result[attr] = list(map(
73
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
74
+ value
75
+ ))
76
+ elif hasattr(value, "to_dict"):
77
+ result[attr] = value.to_dict()
78
+ elif isinstance(value, dict):
79
+ result[attr] = dict(map(
80
+ lambda item: (item[0], item[1].to_dict())
81
+ if hasattr(item[1], "to_dict") else item,
82
+ value.items()
83
+ ))
84
+ else:
85
+ if attr in self.sensitive_list:
86
+ result[attr] = "****"
87
+ else:
88
+ result[attr] = value
89
+
90
+ return result
91
+
92
+ def to_str(self):
93
+ """Returns the string representation of the model"""
94
+ import simplejson as json
95
+ if six.PY2:
96
+ import sys
97
+ reload(sys)
98
+ sys.setdefaultencoding("utf-8")
99
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
100
+
101
+ def __repr__(self):
102
+ """For `print`"""
103
+ return self.to_str()
104
+
105
+ def __eq__(self, other):
106
+ """Returns true if both objects are equal"""
107
+ if not isinstance(other, UpdateInsertHeadersConfig):
108
+ return False
109
+
110
+ return self.__dict__ == other.__dict__
111
+
112
+ def __ne__(self, other):
113
+ """Returns true if both objects are not equal"""
114
+ return not self == other
@@ -33,11 +33,11 @@ class UpdateIpGroupOption:
33
33
 
34
34
  The model defined in huaweicloud sdk
35
35
 
36
- :param description: IP地址组的描述信息
36
+ :param description: 参数解释:IP地址组的描述信息
37
37
  :type description: str
38
- :param name: IP地址组的名称
38
+ :param name: 参数解释:IP地址组的名称
39
39
  :type name: str
40
- :param ip_list: IP地址组中包含的IP列表。
40
+ :param ip_list: 参数解释:IP地址组中包含的IP列表。
41
41
  :type ip_list: list[:class:`huaweicloudsdkelb.v3.UpadateIpGroupIpOption`]
42
42
  """
43
43
 
@@ -59,7 +59,7 @@ class UpdateIpGroupOption:
59
59
  def description(self):
60
60
  """Gets the description of this UpdateIpGroupOption.
61
61
 
62
- IP地址组的描述信息
62
+ 参数解释:IP地址组的描述信息
63
63
 
64
64
  :return: The description of this UpdateIpGroupOption.
65
65
  :rtype: str
@@ -70,7 +70,7 @@ class UpdateIpGroupOption:
70
70
  def description(self, description):
71
71
  """Sets the description of this UpdateIpGroupOption.
72
72
 
73
- IP地址组的描述信息
73
+ 参数解释:IP地址组的描述信息
74
74
 
75
75
  :param description: The description of this UpdateIpGroupOption.
76
76
  :type description: str
@@ -81,7 +81,7 @@ class UpdateIpGroupOption:
81
81
  def name(self):
82
82
  """Gets the name of this UpdateIpGroupOption.
83
83
 
84
- IP地址组的名称
84
+ 参数解释:IP地址组的名称
85
85
 
86
86
  :return: The name of this UpdateIpGroupOption.
87
87
  :rtype: str
@@ -92,7 +92,7 @@ class UpdateIpGroupOption:
92
92
  def name(self, name):
93
93
  """Sets the name of this UpdateIpGroupOption.
94
94
 
95
- IP地址组的名称
95
+ 参数解释:IP地址组的名称
96
96
 
97
97
  :param name: The name of this UpdateIpGroupOption.
98
98
  :type name: str
@@ -103,7 +103,7 @@ class UpdateIpGroupOption:
103
103
  def ip_list(self):
104
104
  """Gets the ip_list of this UpdateIpGroupOption.
105
105
 
106
- IP地址组中包含的IP列表。
106
+ 参数解释:IP地址组中包含的IP列表。
107
107
 
108
108
  :return: The ip_list of this UpdateIpGroupOption.
109
109
  :rtype: list[:class:`huaweicloudsdkelb.v3.UpadateIpGroupIpOption`]
@@ -114,7 +114,7 @@ class UpdateIpGroupOption:
114
114
  def ip_list(self, ip_list):
115
115
  """Sets the ip_list of this UpdateIpGroupOption.
116
116
 
117
- IP地址组中包含的IP列表。
117
+ 参数解释:IP地址组中包含的IP列表。
118
118
 
119
119
  :param ip_list: The ip_list of this UpdateIpGroupOption.
120
120
  :type ip_list: list[:class:`huaweicloudsdkelb.v3.UpadateIpGroupIpOption`]
@@ -31,7 +31,7 @@ class UpdateIpGroupRequest:
31
31
 
32
32
  The model defined in huaweicloud sdk
33
33
 
34
- :param ipgroup_id: 待更新的IP地址组的ID。
34
+ :param ipgroup_id: 参数解释:待更新的IP地址组的ID。
35
35
  :type ipgroup_id: str
36
36
  :param body: Body of the UpdateIpGroupRequest
37
37
  :type body: :class:`huaweicloudsdkelb.v3.UpdateIpGroupRequestBody`
@@ -51,7 +51,7 @@ class UpdateIpGroupRequest:
51
51
  def ipgroup_id(self):
52
52
  """Gets the ipgroup_id of this UpdateIpGroupRequest.
53
53
 
54
- 待更新的IP地址组的ID。
54
+ 参数解释:待更新的IP地址组的ID。
55
55
 
56
56
  :return: The ipgroup_id of this UpdateIpGroupRequest.
57
57
  :rtype: str
@@ -62,7 +62,7 @@ class UpdateIpGroupRequest:
62
62
  def ipgroup_id(self, ipgroup_id):
63
63
  """Sets the ipgroup_id of this UpdateIpGroupRequest.
64
64
 
65
- 待更新的IP地址组的ID。
65
+ 参数解释:待更新的IP地址组的ID。
66
66
 
67
67
  :param ipgroup_id: The ipgroup_id of this UpdateIpGroupRequest.
68
68
  :type ipgroup_id: str
@@ -34,7 +34,7 @@ class UpdateIpGroupResponse(SdkResponse):
34
34
 
35
35
  :param ipgroup:
36
36
  :type ipgroup: :class:`huaweicloudsdkelb.v3.IpGroup`
37
- :param request_id: 请求ID。 注:自动生成 。
37
+ :param request_id: 参数解释:请求ID。 注:自动生成 。
38
38
  :type request_id: str
39
39
  """
40
40
 
@@ -71,7 +71,7 @@ class UpdateIpGroupResponse(SdkResponse):
71
71
  def request_id(self):
72
72
  """Gets the request_id of this UpdateIpGroupResponse.
73
73
 
74
- 请求ID。 注:自动生成 。
74
+ 参数解释:请求ID。 注:自动生成 。
75
75
 
76
76
  :return: The request_id of this UpdateIpGroupResponse.
77
77
  :rtype: str
@@ -82,7 +82,7 @@ class UpdateIpGroupResponse(SdkResponse):
82
82
  def request_id(self, request_id):
83
83
  """Sets the request_id of this UpdateIpGroupResponse.
84
84
 
85
- 请求ID。 注:自动生成 。
85
+ 参数解释:请求ID。 注:自动生成 。
86
86
 
87
87
  :param request_id: The request_id of this UpdateIpGroupResponse.
88
88
  :type request_id: str
@@ -33,11 +33,11 @@ class UpdateIpListOption:
33
33
 
34
34
  The model defined in huaweicloud sdk
35
35
 
36
- :param name: IP地址组的名称
36
+ :param name: 参数解释:IP地址组的名称
37
37
  :type name: str
38
- :param ip_list: IP地址组中包含的IP列表。
38
+ :param ip_list: 参数解释:IP地址组中包含的IP列表。
39
39
  :type ip_list: list[:class:`huaweicloudsdkelb.v3.UpadateIpGroupIpOption`]
40
- :param description: IP地址组的描述信息
40
+ :param description: 参数解释:IP地址组的描述信息
41
41
  :type description: str
42
42
  """
43
43
 
@@ -59,7 +59,7 @@ class UpdateIpListOption:
59
59
  def name(self):
60
60
  """Gets the name of this UpdateIpListOption.
61
61
 
62
- IP地址组的名称
62
+ 参数解释:IP地址组的名称
63
63
 
64
64
  :return: The name of this UpdateIpListOption.
65
65
  :rtype: str
@@ -70,7 +70,7 @@ class UpdateIpListOption:
70
70
  def name(self, name):
71
71
  """Sets the name of this UpdateIpListOption.
72
72
 
73
- IP地址组的名称
73
+ 参数解释:IP地址组的名称
74
74
 
75
75
  :param name: The name of this UpdateIpListOption.
76
76
  :type name: str
@@ -81,7 +81,7 @@ class UpdateIpListOption:
81
81
  def ip_list(self):
82
82
  """Gets the ip_list of this UpdateIpListOption.
83
83
 
84
- IP地址组中包含的IP列表。
84
+ 参数解释:IP地址组中包含的IP列表。
85
85
 
86
86
  :return: The ip_list of this UpdateIpListOption.
87
87
  :rtype: list[:class:`huaweicloudsdkelb.v3.UpadateIpGroupIpOption`]
@@ -92,7 +92,7 @@ class UpdateIpListOption:
92
92
  def ip_list(self, ip_list):
93
93
  """Sets the ip_list of this UpdateIpListOption.
94
94
 
95
- IP地址组中包含的IP列表。
95
+ 参数解释:IP地址组中包含的IP列表。
96
96
 
97
97
  :param ip_list: The ip_list of this UpdateIpListOption.
98
98
  :type ip_list: list[:class:`huaweicloudsdkelb.v3.UpadateIpGroupIpOption`]
@@ -103,7 +103,7 @@ class UpdateIpListOption:
103
103
  def description(self):
104
104
  """Gets the description of this UpdateIpListOption.
105
105
 
106
- IP地址组的描述信息
106
+ 参数解释:IP地址组的描述信息
107
107
 
108
108
  :return: The description of this UpdateIpListOption.
109
109
  :rtype: str
@@ -114,7 +114,7 @@ class UpdateIpListOption:
114
114
  def description(self, description):
115
115
  """Sets the description of this UpdateIpListOption.
116
116
 
117
- IP地址组的描述信息
117
+ 参数解释:IP地址组的描述信息
118
118
 
119
119
  :param description: The description of this UpdateIpListOption.
120
120
  :type description: str
@@ -31,7 +31,7 @@ class UpdateIpListRequest:
31
31
 
32
32
  The model defined in huaweicloud sdk
33
33
 
34
- :param ipgroup_id: IP地址组ID。
34
+ :param ipgroup_id: 参数解释:IP地址组ID。
35
35
  :type ipgroup_id: str
36
36
  :param body: Body of the UpdateIpListRequest
37
37
  :type body: :class:`huaweicloudsdkelb.v3.UpdateIpListRequestBody`
@@ -51,7 +51,7 @@ class UpdateIpListRequest:
51
51
  def ipgroup_id(self):
52
52
  """Gets the ipgroup_id of this UpdateIpListRequest.
53
53
 
54
- IP地址组ID。
54
+ 参数解释:IP地址组ID。
55
55
 
56
56
  :return: The ipgroup_id of this UpdateIpListRequest.
57
57
  :rtype: str
@@ -62,7 +62,7 @@ class UpdateIpListRequest:
62
62
  def ipgroup_id(self, ipgroup_id):
63
63
  """Sets the ipgroup_id of this UpdateIpListRequest.
64
64
 
65
- IP地址组ID。
65
+ 参数解释:IP地址组ID。
66
66
 
67
67
  :param ipgroup_id: The ipgroup_id of this UpdateIpListRequest.
68
68
  :type ipgroup_id: str
@@ -34,7 +34,7 @@ class UpdateIpListResponse(SdkResponse):
34
34
 
35
35
  :param ipgroup:
36
36
  :type ipgroup: :class:`huaweicloudsdkelb.v3.IpGroup`
37
- :param request_id: 请求ID。 注:自动生成 。
37
+ :param request_id: 参数解释:请求ID。 注:自动生成 。
38
38
  :type request_id: str
39
39
  """
40
40
 
@@ -71,7 +71,7 @@ class UpdateIpListResponse(SdkResponse):
71
71
  def request_id(self):
72
72
  """Gets the request_id of this UpdateIpListResponse.
73
73
 
74
- 请求ID。 注:自动生成 。
74
+ 参数解释:请求ID。 注:自动生成 。
75
75
 
76
76
  :return: The request_id of this UpdateIpListResponse.
77
77
  :rtype: str
@@ -82,7 +82,7 @@ class UpdateIpListResponse(SdkResponse):
82
82
  def request_id(self, request_id):
83
83
  """Sets the request_id of this UpdateIpListResponse.
84
84
 
85
- 请求ID。 注:自动生成 。
85
+ 参数解释:请求ID。 注:自动生成 。
86
86
 
87
87
  :param request_id: The request_id of this UpdateIpListResponse.
88
88
  :type request_id: str
@@ -22,6 +22,8 @@ class UpdateL7PolicyOption:
22
22
  'name': 'str',
23
23
  'redirect_listener_id': 'str',
24
24
  'redirect_pool_id': 'str',
25
+ 'redirect_pools_config': 'list[UpdateRedirectPoolsConfig]',
26
+ 'redirect_pools_sticky_session_config': 'UpdateRedirectPoolsStickySessionConfig',
25
27
  'redirect_url_config': 'UpdateRedirectUrlConfig',
26
28
  'fixed_response_config': 'UpdateFixtedResponseConfig',
27
29
  'redirect_pools_extend_config': 'UpdateRedirectPoolsExtendConfig',
@@ -35,6 +37,8 @@ class UpdateL7PolicyOption:
35
37
  'name': 'name',
36
38
  'redirect_listener_id': 'redirect_listener_id',
37
39
  'redirect_pool_id': 'redirect_pool_id',
40
+ 'redirect_pools_config': 'redirect_pools_config',
41
+ 'redirect_pools_sticky_session_config': 'redirect_pools_sticky_session_config',
38
42
  'redirect_url_config': 'redirect_url_config',
39
43
  'fixed_response_config': 'fixed_response_config',
40
44
  'redirect_pools_extend_config': 'redirect_pools_extend_config',
@@ -42,7 +46,7 @@ class UpdateL7PolicyOption:
42
46
  'priority': 'priority'
43
47
  }
44
48
 
45
- def __init__(self, admin_state_up=None, description=None, name=None, redirect_listener_id=None, redirect_pool_id=None, redirect_url_config=None, fixed_response_config=None, redirect_pools_extend_config=None, rules=None, priority=None):
49
+ def __init__(self, admin_state_up=None, description=None, name=None, redirect_listener_id=None, redirect_pool_id=None, redirect_pools_config=None, redirect_pools_sticky_session_config=None, redirect_url_config=None, fixed_response_config=None, redirect_pools_extend_config=None, rules=None, priority=None):
46
50
  """UpdateL7PolicyOption
47
51
 
48
52
  The model defined in huaweicloud sdk
@@ -57,6 +61,10 @@ class UpdateL7PolicyOption:
57
61
  :type redirect_listener_id: str
58
62
  :param redirect_pool_id: 转发到pool的ID。 使用说明: - 指定的pool不能是listener的default_pool。不能是其他listener的l7policy使用的pool。 - 当action为REDIRECT_TO_POOL时为必选字段,不能更新为空或null。 当action为REDIRECT_TO_LISTENER时,不可指定。
59
63
  :type redirect_pool_id: str
64
+ :param redirect_pools_config: 转发到多个主机组列表。一个policy最多配置5个pool。
65
+ :type redirect_pools_config: list[:class:`huaweicloudsdkelb.v3.UpdateRedirectPoolsConfig`]
66
+ :param redirect_pools_sticky_session_config:
67
+ :type redirect_pools_sticky_session_config: :class:`huaweicloudsdkelb.v3.UpdateRedirectPoolsStickySessionConfig`
60
68
  :param redirect_url_config:
61
69
  :type redirect_url_config: :class:`huaweicloudsdkelb.v3.UpdateRedirectUrlConfig`
62
70
  :param fixed_response_config:
@@ -65,7 +73,7 @@ class UpdateL7PolicyOption:
65
73
  :type redirect_pools_extend_config: :class:`huaweicloudsdkelb.v3.UpdateRedirectPoolsExtendConfig`
66
74
  :param rules: 转发策略关联的转发规则对象。 详细参考表l7rule字段说明。rules列表中最多含有10个rule规则 (若rule中包含conditions字段,一条condition算一个规则), 且列表中type为HOST_NAME,PATH,METHOD,SOURCE_IP的rule不能重复,至多指定一条。
67
75
  :type rules: list[:class:`huaweicloudsdkelb.v3.CreateRuleOption`]
68
- :param priority: 转发策略的优先级。数字越小表示优先级越高,同一监听器下不允许重复。 当监听器的高级转发策略功能(enhance_l7policy_enable)开启后才会生效,未开启传入该字段会报错。 当action为REDIRECT_TO_LISTENER时,仅支持指定为0,优先级最高。 当关联的listener没有开启enhance_l7policy_enable,按原有policy的排序逻辑,自动排序。 各域名之间优先级独立,相同域名下,按path的compare_type排序, 精确>前缀>正则,匹配类型相同时,path的长度越长优先级越高。 若policy下只有域名rule,没有路径rule,默认path为前缀匹配/。 当关联的listener开启了enhance_l7policy_enable,且不传该字段, 则新创建的转发策略的优先级的值为:同一监听器下已有转发策略的优先级的最大值+1。 因此,若当前已有转发策略的优先级的最大值是10000,新创建会因超出取值范围10000而失败。 此时可通过传入指定priority,或调整原有policy的优先级来避免错误。 若监听器下没有转发策略,则新建的转发策略的优先级为1。 [共享型负载均衡器下的转发策略不支持该字段。 ](tag:hws,hws_hk,ocb,ctc,g42,tm,cmcc,hk_g42,hws_ocb,fcs,dt,hk_tm) [不支持该字段,请勿使用。](tag:hcso_dt) [荷兰region不支持该字段,请勿使用。](tag:dt)
76
+ :param priority: 转发策略的优先级。数字越小表示优先级越高,同一监听器下不允许重复。 当监听器的高级转发策略功能(enhance_l7policy_enable)开启后才会生效,未开启传入该字段会报错。 当action为REDIRECT_TO_LISTENER时,仅支持指定为0,优先级最高。 当关联的listener没有开启enhance_l7policy_enable,按原有policy的排序逻辑,自动排序。 各域名之间优先级独立,相同域名下,按path的compare_type排序, 精确>前缀>正则,匹配类型相同时,path的长度越长优先级越高。 若policy下只有域名rule,没有路径rule,默认path为前缀匹配/。 当关联的listener开启了enhance_l7policy_enable,且不传该字段, 则新创建的转发策略的优先级的值为:同一监听器下已有转发策略的优先级的最大值+1。 因此,若当前已有转发策略的优先级的最大值是10000,新创建会因超出取值范围10000而失败。 此时可通过传入指定priority,或调整原有policy的优先级来避免错误。 若监听器下没有转发策略,则新建的转发策略的优先级为1。 [共享型负载均衡器下的转发策略不支持该字段。 ](tag:hws,hws_hk,ocb,ctc,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,fcs,dt,hk_tm) [不支持该字段,请勿使用。](tag:hcso_dt) [荷兰region不支持该字段,请勿使用。](tag:dt,dt_test)
69
77
  :type priority: int
70
78
  """
71
79
 
@@ -76,6 +84,8 @@ class UpdateL7PolicyOption:
76
84
  self._name = None
77
85
  self._redirect_listener_id = None
78
86
  self._redirect_pool_id = None
87
+ self._redirect_pools_config = None
88
+ self._redirect_pools_sticky_session_config = None
79
89
  self._redirect_url_config = None
80
90
  self._fixed_response_config = None
81
91
  self._redirect_pools_extend_config = None
@@ -93,6 +103,10 @@ class UpdateL7PolicyOption:
93
103
  self.redirect_listener_id = redirect_listener_id
94
104
  if redirect_pool_id is not None:
95
105
  self.redirect_pool_id = redirect_pool_id
106
+ if redirect_pools_config is not None:
107
+ self.redirect_pools_config = redirect_pools_config
108
+ if redirect_pools_sticky_session_config is not None:
109
+ self.redirect_pools_sticky_session_config = redirect_pools_sticky_session_config
96
110
  if redirect_url_config is not None:
97
111
  self.redirect_url_config = redirect_url_config
98
112
  if fixed_response_config is not None:
@@ -214,6 +228,46 @@ class UpdateL7PolicyOption:
214
228
  """
215
229
  self._redirect_pool_id = redirect_pool_id
216
230
 
231
+ @property
232
+ def redirect_pools_config(self):
233
+ """Gets the redirect_pools_config of this UpdateL7PolicyOption.
234
+
235
+ 转发到多个主机组列表。一个policy最多配置5个pool。
236
+
237
+ :return: The redirect_pools_config of this UpdateL7PolicyOption.
238
+ :rtype: list[:class:`huaweicloudsdkelb.v3.UpdateRedirectPoolsConfig`]
239
+ """
240
+ return self._redirect_pools_config
241
+
242
+ @redirect_pools_config.setter
243
+ def redirect_pools_config(self, redirect_pools_config):
244
+ """Sets the redirect_pools_config of this UpdateL7PolicyOption.
245
+
246
+ 转发到多个主机组列表。一个policy最多配置5个pool。
247
+
248
+ :param redirect_pools_config: The redirect_pools_config of this UpdateL7PolicyOption.
249
+ :type redirect_pools_config: list[:class:`huaweicloudsdkelb.v3.UpdateRedirectPoolsConfig`]
250
+ """
251
+ self._redirect_pools_config = redirect_pools_config
252
+
253
+ @property
254
+ def redirect_pools_sticky_session_config(self):
255
+ """Gets the redirect_pools_sticky_session_config of this UpdateL7PolicyOption.
256
+
257
+ :return: The redirect_pools_sticky_session_config of this UpdateL7PolicyOption.
258
+ :rtype: :class:`huaweicloudsdkelb.v3.UpdateRedirectPoolsStickySessionConfig`
259
+ """
260
+ return self._redirect_pools_sticky_session_config
261
+
262
+ @redirect_pools_sticky_session_config.setter
263
+ def redirect_pools_sticky_session_config(self, redirect_pools_sticky_session_config):
264
+ """Sets the redirect_pools_sticky_session_config of this UpdateL7PolicyOption.
265
+
266
+ :param redirect_pools_sticky_session_config: The redirect_pools_sticky_session_config of this UpdateL7PolicyOption.
267
+ :type redirect_pools_sticky_session_config: :class:`huaweicloudsdkelb.v3.UpdateRedirectPoolsStickySessionConfig`
268
+ """
269
+ self._redirect_pools_sticky_session_config = redirect_pools_sticky_session_config
270
+
217
271
  @property
218
272
  def redirect_url_config(self):
219
273
  """Gets the redirect_url_config of this UpdateL7PolicyOption.
@@ -294,7 +348,7 @@ class UpdateL7PolicyOption:
294
348
  def priority(self):
295
349
  """Gets the priority of this UpdateL7PolicyOption.
296
350
 
297
- 转发策略的优先级。数字越小表示优先级越高,同一监听器下不允许重复。 当监听器的高级转发策略功能(enhance_l7policy_enable)开启后才会生效,未开启传入该字段会报错。 当action为REDIRECT_TO_LISTENER时,仅支持指定为0,优先级最高。 当关联的listener没有开启enhance_l7policy_enable,按原有policy的排序逻辑,自动排序。 各域名之间优先级独立,相同域名下,按path的compare_type排序, 精确>前缀>正则,匹配类型相同时,path的长度越长优先级越高。 若policy下只有域名rule,没有路径rule,默认path为前缀匹配/。 当关联的listener开启了enhance_l7policy_enable,且不传该字段, 则新创建的转发策略的优先级的值为:同一监听器下已有转发策略的优先级的最大值+1。 因此,若当前已有转发策略的优先级的最大值是10000,新创建会因超出取值范围10000而失败。 此时可通过传入指定priority,或调整原有policy的优先级来避免错误。 若监听器下没有转发策略,则新建的转发策略的优先级为1。 [共享型负载均衡器下的转发策略不支持该字段。 ](tag:hws,hws_hk,ocb,ctc,g42,tm,cmcc,hk_g42,hws_ocb,fcs,dt,hk_tm) [不支持该字段,请勿使用。](tag:hcso_dt) [荷兰region不支持该字段,请勿使用。](tag:dt)
351
+ 转发策略的优先级。数字越小表示优先级越高,同一监听器下不允许重复。 当监听器的高级转发策略功能(enhance_l7policy_enable)开启后才会生效,未开启传入该字段会报错。 当action为REDIRECT_TO_LISTENER时,仅支持指定为0,优先级最高。 当关联的listener没有开启enhance_l7policy_enable,按原有policy的排序逻辑,自动排序。 各域名之间优先级独立,相同域名下,按path的compare_type排序, 精确>前缀>正则,匹配类型相同时,path的长度越长优先级越高。 若policy下只有域名rule,没有路径rule,默认path为前缀匹配/。 当关联的listener开启了enhance_l7policy_enable,且不传该字段, 则新创建的转发策略的优先级的值为:同一监听器下已有转发策略的优先级的最大值+1。 因此,若当前已有转发策略的优先级的最大值是10000,新创建会因超出取值范围10000而失败。 此时可通过传入指定priority,或调整原有policy的优先级来避免错误。 若监听器下没有转发策略,则新建的转发策略的优先级为1。 [共享型负载均衡器下的转发策略不支持该字段。 ](tag:hws,hws_hk,ocb,ctc,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,fcs,dt,hk_tm) [不支持该字段,请勿使用。](tag:hcso_dt) [荷兰region不支持该字段,请勿使用。](tag:dt,dt_test)
298
352
 
299
353
  :return: The priority of this UpdateL7PolicyOption.
300
354
  :rtype: int
@@ -305,7 +359,7 @@ class UpdateL7PolicyOption:
305
359
  def priority(self, priority):
306
360
  """Sets the priority of this UpdateL7PolicyOption.
307
361
 
308
- 转发策略的优先级。数字越小表示优先级越高,同一监听器下不允许重复。 当监听器的高级转发策略功能(enhance_l7policy_enable)开启后才会生效,未开启传入该字段会报错。 当action为REDIRECT_TO_LISTENER时,仅支持指定为0,优先级最高。 当关联的listener没有开启enhance_l7policy_enable,按原有policy的排序逻辑,自动排序。 各域名之间优先级独立,相同域名下,按path的compare_type排序, 精确>前缀>正则,匹配类型相同时,path的长度越长优先级越高。 若policy下只有域名rule,没有路径rule,默认path为前缀匹配/。 当关联的listener开启了enhance_l7policy_enable,且不传该字段, 则新创建的转发策略的优先级的值为:同一监听器下已有转发策略的优先级的最大值+1。 因此,若当前已有转发策略的优先级的最大值是10000,新创建会因超出取值范围10000而失败。 此时可通过传入指定priority,或调整原有policy的优先级来避免错误。 若监听器下没有转发策略,则新建的转发策略的优先级为1。 [共享型负载均衡器下的转发策略不支持该字段。 ](tag:hws,hws_hk,ocb,ctc,g42,tm,cmcc,hk_g42,hws_ocb,fcs,dt,hk_tm) [不支持该字段,请勿使用。](tag:hcso_dt) [荷兰region不支持该字段,请勿使用。](tag:dt)
362
+ 转发策略的优先级。数字越小表示优先级越高,同一监听器下不允许重复。 当监听器的高级转发策略功能(enhance_l7policy_enable)开启后才会生效,未开启传入该字段会报错。 当action为REDIRECT_TO_LISTENER时,仅支持指定为0,优先级最高。 当关联的listener没有开启enhance_l7policy_enable,按原有policy的排序逻辑,自动排序。 各域名之间优先级独立,相同域名下,按path的compare_type排序, 精确>前缀>正则,匹配类型相同时,path的长度越长优先级越高。 若policy下只有域名rule,没有路径rule,默认path为前缀匹配/。 当关联的listener开启了enhance_l7policy_enable,且不传该字段, 则新创建的转发策略的优先级的值为:同一监听器下已有转发策略的优先级的最大值+1。 因此,若当前已有转发策略的优先级的最大值是10000,新创建会因超出取值范围10000而失败。 此时可通过传入指定priority,或调整原有policy的优先级来避免错误。 若监听器下没有转发策略,则新建的转发策略的优先级为1。 [共享型负载均衡器下的转发策略不支持该字段。 ](tag:hws,hws_hk,ocb,ctc,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,fcs,dt,hk_tm) [不支持该字段,请勿使用。](tag:hcso_dt) [荷兰region不支持该字段,请勿使用。](tag:dt,dt_test)
309
363
 
310
364
  :param priority: The priority of this UpdateL7PolicyOption.
311
365
  :type priority: int
@@ -49,7 +49,7 @@ class UpdateL7RuleOption:
49
49
  :type key: str
50
50
  :param value: 匹配项的值。比如转发规则匹配类型是域名匹配,则value表示域名的值。仅当conditions空时该字段生效。 当转发规则类别type为HOST_NAME时,字符串只能包含英文字母、数字、-.\\*,必须以字母、数字或\\*开头。 若域名中包含\\*,则\\*只能出现在开头且必须以\\*.开始。当\\*开头时表示通配0~任一个字符。 当转发规则类别type为PATH时,当转发规则的compare_type为STARTS_WITH、EQUAL_TO时, 字符串只能包含英文字母、数字、_~';@^-%#&$.*+?,=!:|\\/()\\[\\]{},且必须以/开头。 当转发规则类别type为METHOD、SOURCE_IP、HEADER,QUERY_STRING时, 该字段无意义,使用conditions来指定key/value。
51
51
  :type value: str
52
- :param conditions: 转发规则的匹配条件。当监听器的高级转发策略功能(enhance_l7policy_enable)开启后才会生效。 若转发规则配置了conditions,字段key、字段value的值无意义。 同一个rule内的conditions列表中所有key必须相同,value不允许重复。 [不支持该字段,请勿使用。](tag:hcso_dt) [荷兰region不支持该字段,请勿使用。](tag:dt)
52
+ :param conditions: 转发规则的匹配条件。当监听器的高级转发策略功能(enhance_l7policy_enable)开启后才会生效。 若转发规则配置了conditions,字段key、字段value的值无意义。 同一个rule内的conditions列表中所有key必须相同,value不允许重复。 [不支持该字段,请勿使用。](tag:hcso_dt) [荷兰region不支持该字段,请勿使用。](tag:dt,dt_test)
53
53
  :type conditions: list[:class:`huaweicloudsdkelb.v3.UpdateRuleCondition`]
54
54
  """
55
55
 
@@ -190,7 +190,7 @@ class UpdateL7RuleOption:
190
190
  def conditions(self):
191
191
  """Gets the conditions of this UpdateL7RuleOption.
192
192
 
193
- 转发规则的匹配条件。当监听器的高级转发策略功能(enhance_l7policy_enable)开启后才会生效。 若转发规则配置了conditions,字段key、字段value的值无意义。 同一个rule内的conditions列表中所有key必须相同,value不允许重复。 [不支持该字段,请勿使用。](tag:hcso_dt) [荷兰region不支持该字段,请勿使用。](tag:dt)
193
+ 转发规则的匹配条件。当监听器的高级转发策略功能(enhance_l7policy_enable)开启后才会生效。 若转发规则配置了conditions,字段key、字段value的值无意义。 同一个rule内的conditions列表中所有key必须相同,value不允许重复。 [不支持该字段,请勿使用。](tag:hcso_dt) [荷兰region不支持该字段,请勿使用。](tag:dt,dt_test)
194
194
 
195
195
  :return: The conditions of this UpdateL7RuleOption.
196
196
  :rtype: list[:class:`huaweicloudsdkelb.v3.UpdateRuleCondition`]
@@ -201,7 +201,7 @@ class UpdateL7RuleOption:
201
201
  def conditions(self, conditions):
202
202
  """Sets the conditions of this UpdateL7RuleOption.
203
203
 
204
- 转发规则的匹配条件。当监听器的高级转发策略功能(enhance_l7policy_enable)开启后才会生效。 若转发规则配置了conditions,字段key、字段value的值无意义。 同一个rule内的conditions列表中所有key必须相同,value不允许重复。 [不支持该字段,请勿使用。](tag:hcso_dt) [荷兰region不支持该字段,请勿使用。](tag:dt)
204
+ 转发规则的匹配条件。当监听器的高级转发策略功能(enhance_l7policy_enable)开启后才会生效。 若转发规则配置了conditions,字段key、字段value的值无意义。 同一个rule内的conditions列表中所有key必须相同,value不允许重复。 [不支持该字段,请勿使用。](tag:hcso_dt) [荷兰region不支持该字段,请勿使用。](tag:dt,dt_test)
205
205
 
206
206
  :param conditions: The conditions of this UpdateL7RuleOption.
207
207
  :type conditions: list[:class:`huaweicloudsdkelb.v3.UpdateRuleCondition`]
@@ -33,11 +33,11 @@ class UpdateListenerIpGroupOption:
33
33
 
34
34
  The model defined in huaweicloud sdk
35
35
 
36
- :param ipgroup_id: 监听器关联的访问控制组的id。 创建时必选,更新时非必选。 指定的ipgroup必须已存在,不能指定为null,否则与enable_ipgroup冲突。
36
+ :param ipgroup_id: 监听器关联的访问控制组的id。 创建时必选,更新时非必选。 指定的ipgroup必须已存在,不能指定为null,否则与enable_ipgroup冲突。
37
37
  :type ipgroup_id: str
38
38
  :param enable_ipgroup: 访问控制组的状态。 True:开启访问控制; Flase:关闭访问控制; 开启访问控制的监听器,允许直接删除。
39
39
  :type enable_ipgroup: bool
40
- :param type: 访问控制组的类型。 white:白名单,只允许指定ip访问; black:黑名单,不允许指定ip访问;
40
+ :param type: 访问控制组的类型。 white:白名单,只允许指定ip访问; black:黑名单,不允许指定ip访问;
41
41
  :type type: str
42
42
  """
43
43
 
@@ -59,7 +59,7 @@ class UpdateListenerIpGroupOption:
59
59
  def ipgroup_id(self):
60
60
  """Gets the ipgroup_id of this UpdateListenerIpGroupOption.
61
61
 
62
- 监听器关联的访问控制组的id。 创建时必选,更新时非必选。 指定的ipgroup必须已存在,不能指定为null,否则与enable_ipgroup冲突。
62
+ 监听器关联的访问控制组的id。 创建时必选,更新时非必选。 指定的ipgroup必须已存在,不能指定为null,否则与enable_ipgroup冲突。
63
63
 
64
64
  :return: The ipgroup_id of this UpdateListenerIpGroupOption.
65
65
  :rtype: str
@@ -70,7 +70,7 @@ class UpdateListenerIpGroupOption:
70
70
  def ipgroup_id(self, ipgroup_id):
71
71
  """Sets the ipgroup_id of this UpdateListenerIpGroupOption.
72
72
 
73
- 监听器关联的访问控制组的id。 创建时必选,更新时非必选。 指定的ipgroup必须已存在,不能指定为null,否则与enable_ipgroup冲突。
73
+ 监听器关联的访问控制组的id。 创建时必选,更新时非必选。 指定的ipgroup必须已存在,不能指定为null,否则与enable_ipgroup冲突。
74
74
 
75
75
  :param ipgroup_id: The ipgroup_id of this UpdateListenerIpGroupOption.
76
76
  :type ipgroup_id: str
@@ -103,7 +103,7 @@ class UpdateListenerIpGroupOption:
103
103
  def type(self):
104
104
  """Gets the type of this UpdateListenerIpGroupOption.
105
105
 
106
- 访问控制组的类型。 white:白名单,只允许指定ip访问; black:黑名单,不允许指定ip访问;
106
+ 访问控制组的类型。 white:白名单,只允许指定ip访问; black:黑名单,不允许指定ip访问;
107
107
 
108
108
  :return: The type of this UpdateListenerIpGroupOption.
109
109
  :rtype: str
@@ -114,7 +114,7 @@ class UpdateListenerIpGroupOption:
114
114
  def type(self, type):
115
115
  """Sets the type of this UpdateListenerIpGroupOption.
116
116
 
117
- 访问控制组的类型。 white:白名单,只允许指定ip访问; black:黑名单,不允许指定ip访问;
117
+ 访问控制组的类型。 white:白名单,只允许指定ip访问; black:黑名单,不允许指定ip访问;
118
118
 
119
119
  :param type: The type of this UpdateListenerIpGroupOption.
120
120
  :type type: str