huaweicloudsdkelb 3.1.105__py2.py3-none-any.whl → 3.1.107__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.105.dist-info → huaweicloudsdkelb-3.1.107.dist-info}/METADATA +2 -2
  139. {huaweicloudsdkelb-3.1.105.dist-info → huaweicloudsdkelb-3.1.107.dist-info}/RECORD +142 -113
  140. {huaweicloudsdkelb-3.1.105.dist-info → huaweicloudsdkelb-3.1.107.dist-info}/LICENSE +0 -0
  141. {huaweicloudsdkelb-3.1.105.dist-info → huaweicloudsdkelb-3.1.107.dist-info}/WHEEL +0 -0
  142. {huaweicloudsdkelb-3.1.105.dist-info → huaweicloudsdkelb-3.1.107.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,170 @@
1
+ # coding: utf-8
2
+
3
+ import six
4
+
5
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
6
+
7
+
8
+ class InsertHeaderConfig:
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
+ 'key': 'str',
21
+ 'value_type': 'str',
22
+ 'value': 'str'
23
+ }
24
+
25
+ attribute_map = {
26
+ 'key': 'key',
27
+ 'value_type': 'value_type',
28
+ 'value': 'value'
29
+ }
30
+
31
+ def __init__(self, key=None, value_type=None, value=None):
32
+ """InsertHeaderConfig
33
+
34
+ The model defined in huaweicloud sdk
35
+
36
+ :param key: 支持1-40个字符(不区分大小写)。 支持字母a-z,数字,短划线-和下划线_。 key不能是以下字符: connection、upgrade、content-length、transfer-encoding、keep-alive、te、host、cookie、remoteip、authority、x-forwarded-host、x-forwarded-for、x-forwarded-for-port、x-forwarded-tls-certificate-id、x-forwarded-tls-protocol、x-forwarded-tls-cipher、x-forwarded-elb-ip、x-forwarded-port、x-forwarded-elb-id、x-forwarded-elb-vip、x-real-ip、x-forwarded-proto、x-nuwa-trace-ne-in、x-nuwa-trace-ne-out。
37
+ :type key: str
38
+ :param value_type: 可选值:USER_DEFINED,REFERENCE_HEADER,SYSTEM_DEFINED。
39
+ :type value_type: str
40
+ :param value: header值。当value_type为SYSTEM_DEFINED时,value只可从CLIENT-PORT,CLIENT-IP, ELB-PROTOCOL, ELB-ID, ELB-PORT, ELB-EIP, ELB-VIP中取值。 取值范围:1-128个字符, 支持ascii码值32<=ch<=127范围内可打印字符,*和英文问号?。不能以空格开头或结尾。
41
+ :type value: str
42
+ """
43
+
44
+
45
+
46
+ self._key = None
47
+ self._value_type = None
48
+ self._value = None
49
+ self.discriminator = None
50
+
51
+ self.key = key
52
+ self.value_type = value_type
53
+ self.value = value
54
+
55
+ @property
56
+ def key(self):
57
+ """Gets the key of this InsertHeaderConfig.
58
+
59
+ 支持1-40个字符(不区分大小写)。 支持字母a-z,数字,短划线-和下划线_。 key不能是以下字符: connection、upgrade、content-length、transfer-encoding、keep-alive、te、host、cookie、remoteip、authority、x-forwarded-host、x-forwarded-for、x-forwarded-for-port、x-forwarded-tls-certificate-id、x-forwarded-tls-protocol、x-forwarded-tls-cipher、x-forwarded-elb-ip、x-forwarded-port、x-forwarded-elb-id、x-forwarded-elb-vip、x-real-ip、x-forwarded-proto、x-nuwa-trace-ne-in、x-nuwa-trace-ne-out。
60
+
61
+ :return: The key of this InsertHeaderConfig.
62
+ :rtype: str
63
+ """
64
+ return self._key
65
+
66
+ @key.setter
67
+ def key(self, key):
68
+ """Sets the key of this InsertHeaderConfig.
69
+
70
+ 支持1-40个字符(不区分大小写)。 支持字母a-z,数字,短划线-和下划线_。 key不能是以下字符: connection、upgrade、content-length、transfer-encoding、keep-alive、te、host、cookie、remoteip、authority、x-forwarded-host、x-forwarded-for、x-forwarded-for-port、x-forwarded-tls-certificate-id、x-forwarded-tls-protocol、x-forwarded-tls-cipher、x-forwarded-elb-ip、x-forwarded-port、x-forwarded-elb-id、x-forwarded-elb-vip、x-real-ip、x-forwarded-proto、x-nuwa-trace-ne-in、x-nuwa-trace-ne-out。
71
+
72
+ :param key: The key of this InsertHeaderConfig.
73
+ :type key: str
74
+ """
75
+ self._key = key
76
+
77
+ @property
78
+ def value_type(self):
79
+ """Gets the value_type of this InsertHeaderConfig.
80
+
81
+ 可选值:USER_DEFINED,REFERENCE_HEADER,SYSTEM_DEFINED。
82
+
83
+ :return: The value_type of this InsertHeaderConfig.
84
+ :rtype: str
85
+ """
86
+ return self._value_type
87
+
88
+ @value_type.setter
89
+ def value_type(self, value_type):
90
+ """Sets the value_type of this InsertHeaderConfig.
91
+
92
+ 可选值:USER_DEFINED,REFERENCE_HEADER,SYSTEM_DEFINED。
93
+
94
+ :param value_type: The value_type of this InsertHeaderConfig.
95
+ :type value_type: str
96
+ """
97
+ self._value_type = value_type
98
+
99
+ @property
100
+ def value(self):
101
+ """Gets the value of this InsertHeaderConfig.
102
+
103
+ header值。当value_type为SYSTEM_DEFINED时,value只可从CLIENT-PORT,CLIENT-IP, ELB-PROTOCOL, ELB-ID, ELB-PORT, ELB-EIP, ELB-VIP中取值。 取值范围:1-128个字符, 支持ascii码值32<=ch<=127范围内可打印字符,*和英文问号?。不能以空格开头或结尾。
104
+
105
+ :return: The value of this InsertHeaderConfig.
106
+ :rtype: str
107
+ """
108
+ return self._value
109
+
110
+ @value.setter
111
+ def value(self, value):
112
+ """Sets the value of this InsertHeaderConfig.
113
+
114
+ header值。当value_type为SYSTEM_DEFINED时,value只可从CLIENT-PORT,CLIENT-IP, ELB-PROTOCOL, ELB-ID, ELB-PORT, ELB-EIP, ELB-VIP中取值。 取值范围:1-128个字符, 支持ascii码值32<=ch<=127范围内可打印字符,*和英文问号?。不能以空格开头或结尾。
115
+
116
+ :param value: The value of this InsertHeaderConfig.
117
+ :type value: str
118
+ """
119
+ self._value = value
120
+
121
+ def to_dict(self):
122
+ """Returns the model properties as a dict"""
123
+ result = {}
124
+
125
+ for attr, _ in six.iteritems(self.openapi_types):
126
+ value = getattr(self, attr)
127
+ if isinstance(value, list):
128
+ result[attr] = list(map(
129
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
130
+ value
131
+ ))
132
+ elif hasattr(value, "to_dict"):
133
+ result[attr] = value.to_dict()
134
+ elif isinstance(value, dict):
135
+ result[attr] = dict(map(
136
+ lambda item: (item[0], item[1].to_dict())
137
+ if hasattr(item[1], "to_dict") else item,
138
+ value.items()
139
+ ))
140
+ else:
141
+ if attr in self.sensitive_list:
142
+ result[attr] = "****"
143
+ else:
144
+ result[attr] = value
145
+
146
+ return result
147
+
148
+ def to_str(self):
149
+ """Returns the string representation of the model"""
150
+ import simplejson as json
151
+ if six.PY2:
152
+ import sys
153
+ reload(sys)
154
+ sys.setdefaultencoding("utf-8")
155
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
156
+
157
+ def __repr__(self):
158
+ """For `print`"""
159
+ return self.to_str()
160
+
161
+ def __eq__(self, other):
162
+ """Returns true if both objects are equal"""
163
+ if not isinstance(other, InsertHeaderConfig):
164
+ return False
165
+
166
+ return self.__dict__ == other.__dict__
167
+
168
+ def __ne__(self, other):
169
+ """Returns true if both objects are not equal"""
170
+ return not self == other
@@ -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 InsertHeadersConfig:
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[InsertHeaderConfig]'
21
+ }
22
+
23
+ attribute_map = {
24
+ 'configs': 'configs'
25
+ }
26
+
27
+ def __init__(self, configs=None):
28
+ """InsertHeadersConfig
29
+
30
+ The model defined in huaweicloud sdk
31
+
32
+ :param configs: 要添加请求头参数列表。
33
+ :type configs: list[:class:`huaweicloudsdkelb.v3.InsertHeaderConfig`]
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 InsertHeadersConfig.
46
+
47
+ 要添加请求头参数列表。
48
+
49
+ :return: The configs of this InsertHeadersConfig.
50
+ :rtype: list[:class:`huaweicloudsdkelb.v3.InsertHeaderConfig`]
51
+ """
52
+ return self._configs
53
+
54
+ @configs.setter
55
+ def configs(self, configs):
56
+ """Sets the configs of this InsertHeadersConfig.
57
+
58
+ 要添加请求头参数列表。
59
+
60
+ :param configs: The configs of this InsertHeadersConfig.
61
+ :type configs: list[:class:`huaweicloudsdkelb.v3.InsertHeaderConfig`]
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, InsertHeadersConfig):
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
@@ -17,142 +17,149 @@ class IpGroup:
17
17
  sensitive_list = []
18
18
 
19
19
  openapi_types = {
20
- 'created_at': 'str',
21
- 'description': 'str',
22
20
  'id': 'str',
21
+ 'name': 'str',
22
+ 'description': 'str',
23
23
  'ip_list': 'list[IpInfo]',
24
24
  'listeners': 'list[ListenerRef]',
25
- 'name': 'str',
26
25
  'project_id': 'str',
26
+ 'enterprise_project_id': 'str',
27
+ 'created_at': 'str',
27
28
  'updated_at': 'str'
28
29
  }
29
30
 
30
31
  attribute_map = {
31
- 'created_at': 'created_at',
32
- 'description': 'description',
33
32
  'id': 'id',
33
+ 'name': 'name',
34
+ 'description': 'description',
34
35
  'ip_list': 'ip_list',
35
36
  'listeners': 'listeners',
36
- 'name': 'name',
37
37
  'project_id': 'project_id',
38
+ 'enterprise_project_id': 'enterprise_project_id',
39
+ 'created_at': 'created_at',
38
40
  'updated_at': 'updated_at'
39
41
  }
40
42
 
41
- def __init__(self, created_at=None, description=None, id=None, ip_list=None, listeners=None, name=None, project_id=None, updated_at=None):
43
+ def __init__(self, id=None, name=None, description=None, ip_list=None, listeners=None, project_id=None, enterprise_project_id=None, created_at=None, updated_at=None):
42
44
  """IpGroup
43
45
 
44
46
  The model defined in huaweicloud sdk
45
47
 
46
- :param created_at: IP地址组的创建时间。
47
- :type created_at: str
48
- :param description: IP地址组的描述信息。
49
- :type description: str
50
- :param id: IP地址组的ID。
48
+ :param id: 参数解释:IP地址组的ID。
51
49
  :type id: str
52
- :param ip_list: IP地址组中包含的IP或网段列表。[]表示任意IP。
50
+ :param name: 参数解释:IP地址组的名称。
51
+ :type name: str
52
+ :param description: 参数解释:IP地址组的描述信息。
53
+ :type description: str
54
+ :param ip_list: 参数解释:IP地址组中包含的IP或网段列表。[]表示任意IP。
53
55
  :type ip_list: list[:class:`huaweicloudsdkelb.v3.IpInfo`]
54
- :param listeners: IP地址组关联的监听器的ID列表。
56
+ :param listeners: 参数解释:与IP地址组关联的监听器的ID列表。
55
57
  :type listeners: list[:class:`huaweicloudsdkelb.v3.ListenerRef`]
56
- :param name: IP地址组的名称。
57
- :type name: str
58
- :param project_id: IP地址组的项目ID。
58
+ :param project_id: 参数解释:IP地址组的项目ID。
59
59
  :type project_id: str
60
- :param updated_at: IP地址组的更新时间。
60
+ :param enterprise_project_id: 参数解释:IP地址组所在的企业项目ID。 [不支持该字段,请勿使用。](tag:dt,dt_test,hcso_dt)
61
+ :type enterprise_project_id: str
62
+ :param created_at: 参数解释:IP地址组的创建时间。
63
+ :type created_at: str
64
+ :param updated_at: 参数解释:IP地址组的更新时间。
61
65
  :type updated_at: str
62
66
  """
63
67
 
64
68
 
65
69
 
66
- self._created_at = None
67
- self._description = None
68
70
  self._id = None
71
+ self._name = None
72
+ self._description = None
69
73
  self._ip_list = None
70
74
  self._listeners = None
71
- self._name = None
72
75
  self._project_id = None
76
+ self._enterprise_project_id = None
77
+ self._created_at = None
73
78
  self._updated_at = None
74
79
  self.discriminator = None
75
80
 
76
- self.created_at = created_at
77
- self.description = description
78
81
  self.id = id
82
+ self.name = name
83
+ self.description = description
79
84
  self.ip_list = ip_list
80
85
  self.listeners = listeners
81
- self.name = name
82
86
  self.project_id = project_id
87
+ if enterprise_project_id is not None:
88
+ self.enterprise_project_id = enterprise_project_id
89
+ self.created_at = created_at
83
90
  self.updated_at = updated_at
84
91
 
85
92
  @property
86
- def created_at(self):
87
- """Gets the created_at of this IpGroup.
93
+ def id(self):
94
+ """Gets the id of this IpGroup.
88
95
 
89
- IP地址组的创建时间。
96
+ 参数解释:IP地址组的ID。
90
97
 
91
- :return: The created_at of this IpGroup.
98
+ :return: The id of this IpGroup.
92
99
  :rtype: str
93
100
  """
94
- return self._created_at
101
+ return self._id
95
102
 
96
- @created_at.setter
97
- def created_at(self, created_at):
98
- """Sets the created_at of this IpGroup.
103
+ @id.setter
104
+ def id(self, id):
105
+ """Sets the id of this IpGroup.
99
106
 
100
- IP地址组的创建时间。
107
+ 参数解释:IP地址组的ID。
101
108
 
102
- :param created_at: The created_at of this IpGroup.
103
- :type created_at: str
109
+ :param id: The id of this IpGroup.
110
+ :type id: str
104
111
  """
105
- self._created_at = created_at
112
+ self._id = id
106
113
 
107
114
  @property
108
- def description(self):
109
- """Gets the description of this IpGroup.
115
+ def name(self):
116
+ """Gets the name of this IpGroup.
110
117
 
111
- IP地址组的描述信息。
118
+ 参数解释:IP地址组的名称。
112
119
 
113
- :return: The description of this IpGroup.
120
+ :return: The name of this IpGroup.
114
121
  :rtype: str
115
122
  """
116
- return self._description
123
+ return self._name
117
124
 
118
- @description.setter
119
- def description(self, description):
120
- """Sets the description of this IpGroup.
125
+ @name.setter
126
+ def name(self, name):
127
+ """Sets the name of this IpGroup.
121
128
 
122
- IP地址组的描述信息。
129
+ 参数解释:IP地址组的名称。
123
130
 
124
- :param description: The description of this IpGroup.
125
- :type description: str
131
+ :param name: The name of this IpGroup.
132
+ :type name: str
126
133
  """
127
- self._description = description
134
+ self._name = name
128
135
 
129
136
  @property
130
- def id(self):
131
- """Gets the id of this IpGroup.
137
+ def description(self):
138
+ """Gets the description of this IpGroup.
132
139
 
133
- IP地址组的ID。
140
+ 参数解释:IP地址组的描述信息。
134
141
 
135
- :return: The id of this IpGroup.
142
+ :return: The description of this IpGroup.
136
143
  :rtype: str
137
144
  """
138
- return self._id
145
+ return self._description
139
146
 
140
- @id.setter
141
- def id(self, id):
142
- """Sets the id of this IpGroup.
147
+ @description.setter
148
+ def description(self, description):
149
+ """Sets the description of this IpGroup.
143
150
 
144
- IP地址组的ID。
151
+ 参数解释:IP地址组的描述信息。
145
152
 
146
- :param id: The id of this IpGroup.
147
- :type id: str
153
+ :param description: The description of this IpGroup.
154
+ :type description: str
148
155
  """
149
- self._id = id
156
+ self._description = description
150
157
 
151
158
  @property
152
159
  def ip_list(self):
153
160
  """Gets the ip_list of this IpGroup.
154
161
 
155
- IP地址组中包含的IP或网段列表。[]表示任意IP。
162
+ 参数解释:IP地址组中包含的IP或网段列表。[]表示任意IP。
156
163
 
157
164
  :return: The ip_list of this IpGroup.
158
165
  :rtype: list[:class:`huaweicloudsdkelb.v3.IpInfo`]
@@ -163,7 +170,7 @@ class IpGroup:
163
170
  def ip_list(self, ip_list):
164
171
  """Sets the ip_list of this IpGroup.
165
172
 
166
- IP地址组中包含的IP或网段列表。[]表示任意IP。
173
+ 参数解释:IP地址组中包含的IP或网段列表。[]表示任意IP。
167
174
 
168
175
  :param ip_list: The ip_list of this IpGroup.
169
176
  :type ip_list: list[:class:`huaweicloudsdkelb.v3.IpInfo`]
@@ -174,7 +181,7 @@ class IpGroup:
174
181
  def listeners(self):
175
182
  """Gets the listeners of this IpGroup.
176
183
 
177
- IP地址组关联的监听器的ID列表。
184
+ 参数解释:与IP地址组关联的监听器的ID列表。
178
185
 
179
186
  :return: The listeners of this IpGroup.
180
187
  :rtype: list[:class:`huaweicloudsdkelb.v3.ListenerRef`]
@@ -185,40 +192,18 @@ class IpGroup:
185
192
  def listeners(self, listeners):
186
193
  """Sets the listeners of this IpGroup.
187
194
 
188
- IP地址组关联的监听器的ID列表。
195
+ 参数解释:与IP地址组关联的监听器的ID列表。
189
196
 
190
197
  :param listeners: The listeners of this IpGroup.
191
198
  :type listeners: list[:class:`huaweicloudsdkelb.v3.ListenerRef`]
192
199
  """
193
200
  self._listeners = listeners
194
201
 
195
- @property
196
- def name(self):
197
- """Gets the name of this IpGroup.
198
-
199
- IP地址组的名称。
200
-
201
- :return: The name of this IpGroup.
202
- :rtype: str
203
- """
204
- return self._name
205
-
206
- @name.setter
207
- def name(self, name):
208
- """Sets the name of this IpGroup.
209
-
210
- IP地址组的名称。
211
-
212
- :param name: The name of this IpGroup.
213
- :type name: str
214
- """
215
- self._name = name
216
-
217
202
  @property
218
203
  def project_id(self):
219
204
  """Gets the project_id of this IpGroup.
220
205
 
221
- IP地址组的项目ID。
206
+ 参数解释:IP地址组的项目ID。
222
207
 
223
208
  :return: The project_id of this IpGroup.
224
209
  :rtype: str
@@ -229,18 +214,62 @@ class IpGroup:
229
214
  def project_id(self, project_id):
230
215
  """Sets the project_id of this IpGroup.
231
216
 
232
- IP地址组的项目ID。
217
+ 参数解释:IP地址组的项目ID。
233
218
 
234
219
  :param project_id: The project_id of this IpGroup.
235
220
  :type project_id: str
236
221
  """
237
222
  self._project_id = project_id
238
223
 
224
+ @property
225
+ def enterprise_project_id(self):
226
+ """Gets the enterprise_project_id of this IpGroup.
227
+
228
+ 参数解释:IP地址组所在的企业项目ID。 [不支持该字段,请勿使用。](tag:dt,dt_test,hcso_dt)
229
+
230
+ :return: The enterprise_project_id of this IpGroup.
231
+ :rtype: str
232
+ """
233
+ return self._enterprise_project_id
234
+
235
+ @enterprise_project_id.setter
236
+ def enterprise_project_id(self, enterprise_project_id):
237
+ """Sets the enterprise_project_id of this IpGroup.
238
+
239
+ 参数解释:IP地址组所在的企业项目ID。 [不支持该字段,请勿使用。](tag:dt,dt_test,hcso_dt)
240
+
241
+ :param enterprise_project_id: The enterprise_project_id of this IpGroup.
242
+ :type enterprise_project_id: str
243
+ """
244
+ self._enterprise_project_id = enterprise_project_id
245
+
246
+ @property
247
+ def created_at(self):
248
+ """Gets the created_at of this IpGroup.
249
+
250
+ 参数解释:IP地址组的创建时间。
251
+
252
+ :return: The created_at of this IpGroup.
253
+ :rtype: str
254
+ """
255
+ return self._created_at
256
+
257
+ @created_at.setter
258
+ def created_at(self, created_at):
259
+ """Sets the created_at of this IpGroup.
260
+
261
+ 参数解释:IP地址组的创建时间。
262
+
263
+ :param created_at: The created_at of this IpGroup.
264
+ :type created_at: str
265
+ """
266
+ self._created_at = created_at
267
+
239
268
  @property
240
269
  def updated_at(self):
241
270
  """Gets the updated_at of this IpGroup.
242
271
 
243
- IP地址组的更新时间。
272
+ 参数解释:IP地址组的更新时间。
244
273
 
245
274
  :return: The updated_at of this IpGroup.
246
275
  :rtype: str
@@ -251,7 +280,7 @@ class IpGroup:
251
280
  def updated_at(self, updated_at):
252
281
  """Sets the updated_at of this IpGroup.
253
282
 
254
- IP地址组的更新时间。
283
+ 参数解释:IP地址组的更新时间。
255
284
 
256
285
  :param updated_at: The updated_at of this IpGroup.
257
286
  :type updated_at: str
@@ -29,7 +29,7 @@ class IpGroupIp:
29
29
 
30
30
  The model defined in huaweicloud sdk
31
31
 
32
- :param ip: IP地址,可以是具体的IP地址或者IP地址段。
32
+ :param ip: 参数解释:IP地址,可以是具体的IP地址或者IP地址段。
33
33
  :type ip: str
34
34
  """
35
35
 
@@ -44,7 +44,7 @@ class IpGroupIp:
44
44
  def ip(self):
45
45
  """Gets the ip of this IpGroupIp.
46
46
 
47
- IP地址,可以是具体的IP地址或者IP地址段。
47
+ 参数解释:IP地址,可以是具体的IP地址或者IP地址段。
48
48
 
49
49
  :return: The ip of this IpGroupIp.
50
50
  :rtype: str
@@ -55,7 +55,7 @@ class IpGroupIp:
55
55
  def ip(self, ip):
56
56
  """Sets the ip of this IpGroupIp.
57
57
 
58
- IP地址,可以是具体的IP地址或者IP地址段。
58
+ 参数解释:IP地址,可以是具体的IP地址或者IP地址段。
59
59
 
60
60
  :param ip: The ip of this IpGroupIp.
61
61
  :type ip: str