huaweicloudsdkelb 3.1.108__py2.py3-none-any.whl → 3.1.110__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.
- huaweicloudsdkelb/v3/elb_async_client.py +1 -1
- huaweicloudsdkelb/v3/elb_client.py +1 -1
- huaweicloudsdkelb/v3/model/autoscaling_ref.py +6 -6
- huaweicloudsdkelb/v3/model/availability_zone.py +15 -15
- huaweicloudsdkelb/v3/model/bandwidth_ref.py +3 -3
- huaweicloudsdkelb/v3/model/batch_create_members_option.py +6 -6
- huaweicloudsdkelb/v3/model/batch_create_members_request.py +3 -3
- huaweicloudsdkelb/v3/model/batch_delete_members_request.py +3 -3
- huaweicloudsdkelb/v3/model/batch_member.py +6 -6
- huaweicloudsdkelb/v3/model/batch_update_members_option.py +3 -3
- huaweicloudsdkelb/v3/model/batch_update_members_request.py +3 -3
- huaweicloudsdkelb/v3/model/batch_update_policies_priority_request_body.py +3 -3
- huaweicloudsdkelb/v3/model/batch_update_priority_request_body.py +6 -6
- huaweicloudsdkelb/v3/model/create_fixted_response_config.py +9 -9
- huaweicloudsdkelb/v3/model/create_health_monitor_option.py +12 -12
- huaweicloudsdkelb/v3/model/create_insert_header_config.py +9 -9
- huaweicloudsdkelb/v3/model/create_insert_headers_config.py +3 -3
- huaweicloudsdkelb/v3/model/create_ip_group_ip_option.py +3 -3
- huaweicloudsdkelb/v3/model/create_l7_policy_option.py +39 -39
- huaweicloudsdkelb/v3/model/create_l7_policy_response.py +3 -3
- huaweicloudsdkelb/v3/model/create_l7_policy_rule_option.py +21 -21
- huaweicloudsdkelb/v3/model/create_l7_rule_request.py +3 -3
- huaweicloudsdkelb/v3/model/create_l7_rule_response.py +3 -3
- huaweicloudsdkelb/v3/model/create_listener_ip_group_option.py +9 -9
- huaweicloudsdkelb/v3/model/create_listener_option.py +84 -84
- huaweicloudsdkelb/v3/model/create_listener_quic_config_option.py +6 -6
- huaweicloudsdkelb/v3/model/create_listener_response.py +3 -3
- huaweicloudsdkelb/v3/model/create_load_balancer_bandwidth_option.py +6 -6
- huaweicloudsdkelb/v3/model/create_load_balancer_option.py +45 -45
- huaweicloudsdkelb/v3/model/create_load_balancer_public_ip_option.py +3 -3
- huaweicloudsdkelb/v3/model/create_load_balancer_response.py +9 -9
- huaweicloudsdkelb/v3/model/create_loadbalancer_autoscaling_option.py +3 -3
- huaweicloudsdkelb/v3/model/create_master_slave_health_monitor_option.py +3 -3
- huaweicloudsdkelb/v3/model/create_member_option.py +21 -21
- huaweicloudsdkelb/v3/model/create_member_request.py +3 -3
- huaweicloudsdkelb/v3/model/create_member_response.py +3 -3
- huaweicloudsdkelb/v3/model/create_pool_option.py +12 -12
- huaweicloudsdkelb/v3/model/create_pool_session_persistence_option.py +3 -3
- huaweicloudsdkelb/v3/model/create_redirect_pools_config.py +6 -6
- huaweicloudsdkelb/v3/model/create_redirect_pools_extend_config.py +3 -3
- huaweicloudsdkelb/v3/model/create_redirect_pools_sticky_session_config.py +6 -6
- huaweicloudsdkelb/v3/model/create_redirect_url_config.py +18 -18
- huaweicloudsdkelb/v3/model/create_remove_header_config.py +3 -3
- huaweicloudsdkelb/v3/model/create_remove_headers_config.py +3 -3
- huaweicloudsdkelb/v3/model/create_rewrite_url_config.py +9 -9
- huaweicloudsdkelb/v3/model/create_rule_condition.py +6 -6
- huaweicloudsdkelb/v3/model/create_rule_option.py +24 -24
- huaweicloudsdkelb/v3/model/create_traffic_limit_config.py +9 -9
- huaweicloudsdkelb/v3/model/delete_l7_policy_request.py +3 -3
- huaweicloudsdkelb/v3/model/delete_master_slave_pool_request.py +3 -3
- huaweicloudsdkelb/v3/model/delete_member_request.py +3 -3
- huaweicloudsdkelb/v3/model/delete_pool_request.py +3 -3
- huaweicloudsdkelb/v3/model/eip_info.py +9 -9
- huaweicloudsdkelb/v3/model/fixted_response_config.py +9 -9
- huaweicloudsdkelb/v3/model/flavor.py +6 -6
- huaweicloudsdkelb/v3/model/flavor_info.py +18 -18
- huaweicloudsdkelb/v3/model/global_eip_info.py +9 -9
- huaweicloudsdkelb/v3/model/health_monitor.py +12 -12
- huaweicloudsdkelb/v3/model/insert_header_config.py +9 -9
- huaweicloudsdkelb/v3/model/insert_headers_config.py +3 -3
- huaweicloudsdkelb/v3/model/l7_policy.py +51 -51
- huaweicloudsdkelb/v3/model/l7_rule.py +36 -36
- huaweicloudsdkelb/v3/model/list_availability_zones_request.py +3 -3
- huaweicloudsdkelb/v3/model/list_availability_zones_response.py +38 -9
- huaweicloudsdkelb/v3/model/list_flavors_request.py +9 -9
- huaweicloudsdkelb/v3/model/list_health_monitors_request.py +9 -9
- huaweicloudsdkelb/v3/model/list_l7_policies_request.py +48 -48
- huaweicloudsdkelb/v3/model/list_l7_policies_response.py +6 -6
- huaweicloudsdkelb/v3/model/list_l7_rules_request.py +3 -3
- huaweicloudsdkelb/v3/model/list_l7_rules_response.py +6 -6
- huaweicloudsdkelb/v3/model/list_listeners_request.py +9 -9
- huaweicloudsdkelb/v3/model/list_listeners_response.py +6 -6
- huaweicloudsdkelb/v3/model/list_load_balancers_request.py +6 -6
- huaweicloudsdkelb/v3/model/list_master_slave_pools_request.py +3 -3
- huaweicloudsdkelb/v3/model/list_members_request.py +3 -3
- huaweicloudsdkelb/v3/model/list_pools_request.py +3 -3
- huaweicloudsdkelb/v3/model/listener.py +96 -96
- huaweicloudsdkelb/v3/model/listener_insert_headers.py +27 -27
- huaweicloudsdkelb/v3/model/listener_ip_group.py +9 -9
- huaweicloudsdkelb/v3/model/listener_quic_config.py +6 -6
- huaweicloudsdkelb/v3/model/load_balancer.py +129 -129
- huaweicloudsdkelb/v3/model/load_balancer_ref.py +3 -3
- huaweicloudsdkelb/v3/model/load_balancer_status_pool.py +3 -3
- huaweicloudsdkelb/v3/model/logtank.py +3 -3
- huaweicloudsdkelb/v3/model/master_slave_health_monitor.py +6 -6
- huaweicloudsdkelb/v3/model/member.py +45 -45
- huaweicloudsdkelb/v3/model/member_info.py +6 -6
- huaweicloudsdkelb/v3/model/member_status.py +6 -6
- huaweicloudsdkelb/v3/model/pool.py +6 -6
- huaweicloudsdkelb/v3/model/pool_ref.py +3 -3
- huaweicloudsdkelb/v3/model/prepaid_create_option.py +3 -3
- huaweicloudsdkelb/v3/model/public_ip_info.py +9 -9
- huaweicloudsdkelb/v3/model/quota.py +3 -3
- huaweicloudsdkelb/v3/model/redirect_pools_config.py +6 -6
- huaweicloudsdkelb/v3/model/redirect_pools_extend_config.py +3 -3
- huaweicloudsdkelb/v3/model/redirect_pools_sticky_session_config.py +6 -6
- huaweicloudsdkelb/v3/model/redirect_url_config.py +18 -18
- huaweicloudsdkelb/v3/model/remove_header_config.py +3 -3
- huaweicloudsdkelb/v3/model/remove_headers_config.py +3 -3
- huaweicloudsdkelb/v3/model/rewrite_url_config.py +9 -9
- huaweicloudsdkelb/v3/model/rule_condition.py +6 -6
- huaweicloudsdkelb/v3/model/rule_ref.py +3 -3
- huaweicloudsdkelb/v3/model/show_l7_policy_request.py +3 -3
- huaweicloudsdkelb/v3/model/show_l7_policy_response.py +3 -3
- huaweicloudsdkelb/v3/model/show_l7_rule_response.py +3 -3
- huaweicloudsdkelb/v3/model/show_listener_response.py +3 -3
- huaweicloudsdkelb/v3/model/show_load_balancer_response.py +3 -3
- huaweicloudsdkelb/v3/model/show_load_balancer_status_response.py +3 -3
- huaweicloudsdkelb/v3/model/show_master_slave_pool_request.py +3 -3
- huaweicloudsdkelb/v3/model/show_member_request.py +3 -3
- huaweicloudsdkelb/v3/model/show_pool_request.py +3 -3
- huaweicloudsdkelb/v3/model/tag.py +6 -6
- huaweicloudsdkelb/v3/model/traffic_limit_config.py +9 -9
- huaweicloudsdkelb/v3/model/upadate_ip_group_ip_option.py +3 -3
- huaweicloudsdkelb/v3/model/update_fixted_response_config.py +9 -9
- huaweicloudsdkelb/v3/model/update_health_monitor_option.py +12 -12
- huaweicloudsdkelb/v3/model/update_insert_header_config.py +9 -9
- huaweicloudsdkelb/v3/model/update_insert_headers_config.py +3 -3
- huaweicloudsdkelb/v3/model/update_l7_policy_option.py +24 -24
- huaweicloudsdkelb/v3/model/update_l7_policy_request.py +3 -3
- huaweicloudsdkelb/v3/model/update_l7_policy_response.py +3 -3
- huaweicloudsdkelb/v3/model/update_l7_rule_option.py +18 -18
- huaweicloudsdkelb/v3/model/update_l7_rule_response.py +3 -3
- huaweicloudsdkelb/v3/model/update_listener_ip_group_option.py +9 -9
- huaweicloudsdkelb/v3/model/update_listener_option.py +66 -66
- huaweicloudsdkelb/v3/model/update_listener_quic_config_option.py +6 -6
- huaweicloudsdkelb/v3/model/update_listener_response.py +3 -3
- huaweicloudsdkelb/v3/model/update_load_balancer_option.py +48 -48
- huaweicloudsdkelb/v3/model/update_load_balancer_response.py +9 -9
- huaweicloudsdkelb/v3/model/update_loadbalancer_autoscaling_option.py +6 -6
- huaweicloudsdkelb/v3/model/update_member_option.py +3 -3
- huaweicloudsdkelb/v3/model/update_member_request.py +3 -3
- huaweicloudsdkelb/v3/model/update_pool_option.py +9 -9
- huaweicloudsdkelb/v3/model/update_pool_request.py +3 -3
- huaweicloudsdkelb/v3/model/update_pool_session_persistence_option.py +3 -3
- huaweicloudsdkelb/v3/model/update_redirect_pools_config.py +6 -6
- huaweicloudsdkelb/v3/model/update_redirect_pools_extend_config.py +3 -3
- huaweicloudsdkelb/v3/model/update_redirect_pools_sticky_session_config.py +6 -6
- huaweicloudsdkelb/v3/model/update_redirect_url_config.py +18 -18
- huaweicloudsdkelb/v3/model/update_remove_header_config.py +3 -3
- huaweicloudsdkelb/v3/model/update_remove_headers_config.py +3 -3
- huaweicloudsdkelb/v3/model/update_rewrite_url_config.py +9 -9
- huaweicloudsdkelb/v3/model/update_rule_condition.py +6 -6
- huaweicloudsdkelb/v3/model/update_traffic_limit_config.py +9 -9
- {huaweicloudsdkelb-3.1.108.dist-info → huaweicloudsdkelb-3.1.110.dist-info}/METADATA +2 -2
- {huaweicloudsdkelb-3.1.108.dist-info → huaweicloudsdkelb-3.1.110.dist-info}/RECORD +149 -149
- {huaweicloudsdkelb-3.1.108.dist-info → huaweicloudsdkelb-3.1.110.dist-info}/WHEEL +1 -1
- {huaweicloudsdkelb-3.1.108.dist-info → huaweicloudsdkelb-3.1.110.dist-info}/LICENSE +0 -0
- {huaweicloudsdkelb-3.1.108.dist-info → huaweicloudsdkelb-3.1.110.dist-info}/top_level.txt +0 -0
@@ -51,29 +51,29 @@ class L7Rule:
|
|
51
51
|
|
52
52
|
The model defined in huaweicloud sdk
|
53
53
|
|
54
|
-
:param admin_state_up:
|
54
|
+
:param admin_state_up: 参数解释:转发规则的管理状,固定为true。 不支持该字段,请勿使用。
|
55
55
|
:type admin_state_up: bool
|
56
|
-
:param compare_type:
|
56
|
+
:param compare_type: 参数解释:转发规则的匹配方式。 取值范围:type为HOST_NAME时可以为EQUAL_TO。type为PATH时可以为REGEX,STARTS_WITH,EQUAL_TO。
|
57
57
|
:type compare_type: str
|
58
|
-
:param key:
|
58
|
+
:param key: 参数解释:匹配内容的键值。 [约束限制:type为HOST_NAME和PATH时,该字段不生效。 ](tag:hws,hws_hk,ocb,ctc,hcs,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,fcs,dt) [不支持该字段,请勿使用。](tag:hcso_dt)
|
59
59
|
:type key: str
|
60
|
-
:param project_id:
|
60
|
+
:param project_id: 参数解释:转发规则所在的项目ID。
|
61
61
|
:type project_id: str
|
62
|
-
:param type:
|
62
|
+
:param type: 参数解释:转发规则类别。 约束限制: - 一个l7policy下创建的l7rule的HOST_NAME,PATH,METHOD,SOURCE_IP不能重复。 HEADER、QUERY_STRING支持重复的rule配置。 取值范围: - HOST_NAME:匹配域名。 - PATH:匹配请求路径。 - METHOD:匹配请求方法。 - HEADER:匹配请求头。 - QUERY_STRING:匹配请求查询参数。 - SOURCE_IP:匹配请求源IP地址。 - COOKIE: 匹配cookie信息。 [只支持取值为HOST_NAME,PATH。](tag:hcso_dt)
|
63
63
|
:type type: str
|
64
|
-
:param value:
|
64
|
+
:param value: 参数解释:匹配内容的值。 约束限制:仅当conditions空时该字段生效。 取值范围: - 当type为HOST_NAME时,字符串只能包含英文字母、数字、-.*,必须以字母、数字或*开头。若域名中包含*,则*只能出现在开头且必须以*.开始。当*开头时表示通配0~任一个字符。 - 当type为PATH时,当转发规则的compare_type为STARTS_WITH、EQUAL_TO时,字符串只能包含英文字母、数字、_~';@^-%#&$.*+?,=!:|\\/()\\[\\]{},且必须以/开头。 - 当type为METHOD、SOURCE_IP、HEADER, QUERY_STRING时,该字段无意义,使用condition_pair来指定key,value。
|
65
65
|
:type value: str
|
66
|
-
:param provisioning_status: provisioning
|
66
|
+
:param provisioning_status: 参数解释:provisioning状态。该字段无效,默认为ACTIVE。 取值范围:ACTIVE、PENDING_CREATE 或者ERROR。
|
67
67
|
:type provisioning_status: str
|
68
|
-
:param invert:
|
68
|
+
:param invert: 参数解释:是否反向匹配。 约束限制:固定为false。该字段能更新但不会生效。
|
69
69
|
:type invert: bool
|
70
|
-
:param id:
|
70
|
+
:param id: 参数解释:规则ID。
|
71
71
|
:type id: str
|
72
|
-
:param conditions:
|
72
|
+
:param conditions: 参数解释:转发规则的匹配条件。 约束限制: - 当监听器的高级转发策略功能(enhance_l7policy_enable)开启后才会生效。 - 若转发规则配置了conditions,字段key、字段value的值无意义。 - 同一个rule内的conditions列表中所有key必须相同,value不允许重复。 [不支持该字段,请勿使用。](tag:hcso_dt) [荷兰region不支持该字段,请勿使用。](tag:dt,dt_test)
|
73
73
|
:type conditions: list[:class:`huaweicloudsdkelb.v3.RuleCondition`]
|
74
|
-
:param created_at:
|
74
|
+
:param created_at: 参数解释:创建时间。 取值范围:格式:yyyy-MM-dd'T'HH:mm:ss'Z',UTC时区。 [注意:独享型实例的历史数据以及共享型实例下的资源,不返回该字段。 ](tag:hws,hws_hk,ocb,ctc,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,fcs,dt,hk_tm)
|
75
75
|
:type created_at: str
|
76
|
-
:param updated_at:
|
76
|
+
:param updated_at: 参数解释:更新时间。 取值范围:格式:yyyy-MM-dd'T'HH:mm:ss'Z',UTC时区。 [注意:独享型实例的历史数据以及共享型实例下的资源,不返回该字段。 ](tag:hws,hws_hk,ocb,ctc,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,fcs,dt,hk_tm)
|
77
77
|
:type updated_at: str
|
78
78
|
"""
|
79
79
|
|
@@ -112,7 +112,7 @@ class L7Rule:
|
|
112
112
|
def admin_state_up(self):
|
113
113
|
"""Gets the admin_state_up of this L7Rule.
|
114
114
|
|
115
|
-
|
115
|
+
参数解释:转发规则的管理状,固定为true。 不支持该字段,请勿使用。
|
116
116
|
|
117
117
|
:return: The admin_state_up of this L7Rule.
|
118
118
|
:rtype: bool
|
@@ -123,7 +123,7 @@ class L7Rule:
|
|
123
123
|
def admin_state_up(self, admin_state_up):
|
124
124
|
"""Sets the admin_state_up of this L7Rule.
|
125
125
|
|
126
|
-
|
126
|
+
参数解释:转发规则的管理状,固定为true。 不支持该字段,请勿使用。
|
127
127
|
|
128
128
|
:param admin_state_up: The admin_state_up of this L7Rule.
|
129
129
|
:type admin_state_up: bool
|
@@ -134,7 +134,7 @@ class L7Rule:
|
|
134
134
|
def compare_type(self):
|
135
135
|
"""Gets the compare_type of this L7Rule.
|
136
136
|
|
137
|
-
|
137
|
+
参数解释:转发规则的匹配方式。 取值范围:type为HOST_NAME时可以为EQUAL_TO。type为PATH时可以为REGEX,STARTS_WITH,EQUAL_TO。
|
138
138
|
|
139
139
|
:return: The compare_type of this L7Rule.
|
140
140
|
:rtype: str
|
@@ -145,7 +145,7 @@ class L7Rule:
|
|
145
145
|
def compare_type(self, compare_type):
|
146
146
|
"""Sets the compare_type of this L7Rule.
|
147
147
|
|
148
|
-
|
148
|
+
参数解释:转发规则的匹配方式。 取值范围:type为HOST_NAME时可以为EQUAL_TO。type为PATH时可以为REGEX,STARTS_WITH,EQUAL_TO。
|
149
149
|
|
150
150
|
:param compare_type: The compare_type of this L7Rule.
|
151
151
|
:type compare_type: str
|
@@ -156,7 +156,7 @@ class L7Rule:
|
|
156
156
|
def key(self):
|
157
157
|
"""Gets the key of this L7Rule.
|
158
158
|
|
159
|
-
|
159
|
+
参数解释:匹配内容的键值。 [约束限制:type为HOST_NAME和PATH时,该字段不生效。 ](tag:hws,hws_hk,ocb,ctc,hcs,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,fcs,dt) [不支持该字段,请勿使用。](tag:hcso_dt)
|
160
160
|
|
161
161
|
:return: The key of this L7Rule.
|
162
162
|
:rtype: str
|
@@ -167,7 +167,7 @@ class L7Rule:
|
|
167
167
|
def key(self, key):
|
168
168
|
"""Sets the key of this L7Rule.
|
169
169
|
|
170
|
-
|
170
|
+
参数解释:匹配内容的键值。 [约束限制:type为HOST_NAME和PATH时,该字段不生效。 ](tag:hws,hws_hk,ocb,ctc,hcs,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,fcs,dt) [不支持该字段,请勿使用。](tag:hcso_dt)
|
171
171
|
|
172
172
|
:param key: The key of this L7Rule.
|
173
173
|
:type key: str
|
@@ -178,7 +178,7 @@ class L7Rule:
|
|
178
178
|
def project_id(self):
|
179
179
|
"""Gets the project_id of this L7Rule.
|
180
180
|
|
181
|
-
|
181
|
+
参数解释:转发规则所在的项目ID。
|
182
182
|
|
183
183
|
:return: The project_id of this L7Rule.
|
184
184
|
:rtype: str
|
@@ -189,7 +189,7 @@ class L7Rule:
|
|
189
189
|
def project_id(self, project_id):
|
190
190
|
"""Sets the project_id of this L7Rule.
|
191
191
|
|
192
|
-
|
192
|
+
参数解释:转发规则所在的项目ID。
|
193
193
|
|
194
194
|
:param project_id: The project_id of this L7Rule.
|
195
195
|
:type project_id: str
|
@@ -200,7 +200,7 @@ class L7Rule:
|
|
200
200
|
def type(self):
|
201
201
|
"""Gets the type of this L7Rule.
|
202
202
|
|
203
|
-
|
203
|
+
参数解释:转发规则类别。 约束限制: - 一个l7policy下创建的l7rule的HOST_NAME,PATH,METHOD,SOURCE_IP不能重复。 HEADER、QUERY_STRING支持重复的rule配置。 取值范围: - HOST_NAME:匹配域名。 - PATH:匹配请求路径。 - METHOD:匹配请求方法。 - HEADER:匹配请求头。 - QUERY_STRING:匹配请求查询参数。 - SOURCE_IP:匹配请求源IP地址。 - COOKIE: 匹配cookie信息。 [只支持取值为HOST_NAME,PATH。](tag:hcso_dt)
|
204
204
|
|
205
205
|
:return: The type of this L7Rule.
|
206
206
|
:rtype: str
|
@@ -211,7 +211,7 @@ class L7Rule:
|
|
211
211
|
def type(self, type):
|
212
212
|
"""Sets the type of this L7Rule.
|
213
213
|
|
214
|
-
|
214
|
+
参数解释:转发规则类别。 约束限制: - 一个l7policy下创建的l7rule的HOST_NAME,PATH,METHOD,SOURCE_IP不能重复。 HEADER、QUERY_STRING支持重复的rule配置。 取值范围: - HOST_NAME:匹配域名。 - PATH:匹配请求路径。 - METHOD:匹配请求方法。 - HEADER:匹配请求头。 - QUERY_STRING:匹配请求查询参数。 - SOURCE_IP:匹配请求源IP地址。 - COOKIE: 匹配cookie信息。 [只支持取值为HOST_NAME,PATH。](tag:hcso_dt)
|
215
215
|
|
216
216
|
:param type: The type of this L7Rule.
|
217
217
|
:type type: str
|
@@ -222,7 +222,7 @@ class L7Rule:
|
|
222
222
|
def value(self):
|
223
223
|
"""Gets the value of this L7Rule.
|
224
224
|
|
225
|
-
|
225
|
+
参数解释:匹配内容的值。 约束限制:仅当conditions空时该字段生效。 取值范围: - 当type为HOST_NAME时,字符串只能包含英文字母、数字、-.*,必须以字母、数字或*开头。若域名中包含*,则*只能出现在开头且必须以*.开始。当*开头时表示通配0~任一个字符。 - 当type为PATH时,当转发规则的compare_type为STARTS_WITH、EQUAL_TO时,字符串只能包含英文字母、数字、_~';@^-%#&$.*+?,=!:|\\/()\\[\\]{},且必须以/开头。 - 当type为METHOD、SOURCE_IP、HEADER, QUERY_STRING时,该字段无意义,使用condition_pair来指定key,value。
|
226
226
|
|
227
227
|
:return: The value of this L7Rule.
|
228
228
|
:rtype: str
|
@@ -233,7 +233,7 @@ class L7Rule:
|
|
233
233
|
def value(self, value):
|
234
234
|
"""Sets the value of this L7Rule.
|
235
235
|
|
236
|
-
|
236
|
+
参数解释:匹配内容的值。 约束限制:仅当conditions空时该字段生效。 取值范围: - 当type为HOST_NAME时,字符串只能包含英文字母、数字、-.*,必须以字母、数字或*开头。若域名中包含*,则*只能出现在开头且必须以*.开始。当*开头时表示通配0~任一个字符。 - 当type为PATH时,当转发规则的compare_type为STARTS_WITH、EQUAL_TO时,字符串只能包含英文字母、数字、_~';@^-%#&$.*+?,=!:|\\/()\\[\\]{},且必须以/开头。 - 当type为METHOD、SOURCE_IP、HEADER, QUERY_STRING时,该字段无意义,使用condition_pair来指定key,value。
|
237
237
|
|
238
238
|
:param value: The value of this L7Rule.
|
239
239
|
:type value: str
|
@@ -244,7 +244,7 @@ class L7Rule:
|
|
244
244
|
def provisioning_status(self):
|
245
245
|
"""Gets the provisioning_status of this L7Rule.
|
246
246
|
|
247
|
-
provisioning
|
247
|
+
参数解释:provisioning状态。该字段无效,默认为ACTIVE。 取值范围:ACTIVE、PENDING_CREATE 或者ERROR。
|
248
248
|
|
249
249
|
:return: The provisioning_status of this L7Rule.
|
250
250
|
:rtype: str
|
@@ -255,7 +255,7 @@ class L7Rule:
|
|
255
255
|
def provisioning_status(self, provisioning_status):
|
256
256
|
"""Sets the provisioning_status of this L7Rule.
|
257
257
|
|
258
|
-
provisioning
|
258
|
+
参数解释:provisioning状态。该字段无效,默认为ACTIVE。 取值范围:ACTIVE、PENDING_CREATE 或者ERROR。
|
259
259
|
|
260
260
|
:param provisioning_status: The provisioning_status of this L7Rule.
|
261
261
|
:type provisioning_status: str
|
@@ -266,7 +266,7 @@ class L7Rule:
|
|
266
266
|
def invert(self):
|
267
267
|
"""Gets the invert of this L7Rule.
|
268
268
|
|
269
|
-
|
269
|
+
参数解释:是否反向匹配。 约束限制:固定为false。该字段能更新但不会生效。
|
270
270
|
|
271
271
|
:return: The invert of this L7Rule.
|
272
272
|
:rtype: bool
|
@@ -277,7 +277,7 @@ class L7Rule:
|
|
277
277
|
def invert(self, invert):
|
278
278
|
"""Sets the invert of this L7Rule.
|
279
279
|
|
280
|
-
|
280
|
+
参数解释:是否反向匹配。 约束限制:固定为false。该字段能更新但不会生效。
|
281
281
|
|
282
282
|
:param invert: The invert of this L7Rule.
|
283
283
|
:type invert: bool
|
@@ -288,7 +288,7 @@ class L7Rule:
|
|
288
288
|
def id(self):
|
289
289
|
"""Gets the id of this L7Rule.
|
290
290
|
|
291
|
-
|
291
|
+
参数解释:规则ID。
|
292
292
|
|
293
293
|
:return: The id of this L7Rule.
|
294
294
|
:rtype: str
|
@@ -299,7 +299,7 @@ class L7Rule:
|
|
299
299
|
def id(self, id):
|
300
300
|
"""Sets the id of this L7Rule.
|
301
301
|
|
302
|
-
|
302
|
+
参数解释:规则ID。
|
303
303
|
|
304
304
|
:param id: The id of this L7Rule.
|
305
305
|
:type id: str
|
@@ -310,7 +310,7 @@ class L7Rule:
|
|
310
310
|
def conditions(self):
|
311
311
|
"""Gets the conditions of this L7Rule.
|
312
312
|
|
313
|
-
|
313
|
+
参数解释:转发规则的匹配条件。 约束限制: - 当监听器的高级转发策略功能(enhance_l7policy_enable)开启后才会生效。 - 若转发规则配置了conditions,字段key、字段value的值无意义。 - 同一个rule内的conditions列表中所有key必须相同,value不允许重复。 [不支持该字段,请勿使用。](tag:hcso_dt) [荷兰region不支持该字段,请勿使用。](tag:dt,dt_test)
|
314
314
|
|
315
315
|
:return: The conditions of this L7Rule.
|
316
316
|
:rtype: list[:class:`huaweicloudsdkelb.v3.RuleCondition`]
|
@@ -321,7 +321,7 @@ class L7Rule:
|
|
321
321
|
def conditions(self, conditions):
|
322
322
|
"""Sets the conditions of this L7Rule.
|
323
323
|
|
324
|
-
|
324
|
+
参数解释:转发规则的匹配条件。 约束限制: - 当监听器的高级转发策略功能(enhance_l7policy_enable)开启后才会生效。 - 若转发规则配置了conditions,字段key、字段value的值无意义。 - 同一个rule内的conditions列表中所有key必须相同,value不允许重复。 [不支持该字段,请勿使用。](tag:hcso_dt) [荷兰region不支持该字段,请勿使用。](tag:dt,dt_test)
|
325
325
|
|
326
326
|
:param conditions: The conditions of this L7Rule.
|
327
327
|
:type conditions: list[:class:`huaweicloudsdkelb.v3.RuleCondition`]
|
@@ -332,7 +332,7 @@ class L7Rule:
|
|
332
332
|
def created_at(self):
|
333
333
|
"""Gets the created_at of this L7Rule.
|
334
334
|
|
335
|
-
|
335
|
+
参数解释:创建时间。 取值范围:格式:yyyy-MM-dd'T'HH:mm:ss'Z',UTC时区。 [注意:独享型实例的历史数据以及共享型实例下的资源,不返回该字段。 ](tag:hws,hws_hk,ocb,ctc,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,fcs,dt,hk_tm)
|
336
336
|
|
337
337
|
:return: The created_at of this L7Rule.
|
338
338
|
:rtype: str
|
@@ -343,7 +343,7 @@ class L7Rule:
|
|
343
343
|
def created_at(self, created_at):
|
344
344
|
"""Sets the created_at of this L7Rule.
|
345
345
|
|
346
|
-
|
346
|
+
参数解释:创建时间。 取值范围:格式:yyyy-MM-dd'T'HH:mm:ss'Z',UTC时区。 [注意:独享型实例的历史数据以及共享型实例下的资源,不返回该字段。 ](tag:hws,hws_hk,ocb,ctc,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,fcs,dt,hk_tm)
|
347
347
|
|
348
348
|
:param created_at: The created_at of this L7Rule.
|
349
349
|
:type created_at: str
|
@@ -354,7 +354,7 @@ class L7Rule:
|
|
354
354
|
def updated_at(self):
|
355
355
|
"""Gets the updated_at of this L7Rule.
|
356
356
|
|
357
|
-
|
357
|
+
参数解释:更新时间。 取值范围:格式:yyyy-MM-dd'T'HH:mm:ss'Z',UTC时区。 [注意:独享型实例的历史数据以及共享型实例下的资源,不返回该字段。 ](tag:hws,hws_hk,ocb,ctc,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,fcs,dt,hk_tm)
|
358
358
|
|
359
359
|
:return: The updated_at of this L7Rule.
|
360
360
|
:rtype: str
|
@@ -365,7 +365,7 @@ class L7Rule:
|
|
365
365
|
def updated_at(self, updated_at):
|
366
366
|
"""Sets the updated_at of this L7Rule.
|
367
367
|
|
368
|
-
|
368
|
+
参数解释:更新时间。 取值范围:格式:yyyy-MM-dd'T'HH:mm:ss'Z',UTC时区。 [注意:独享型实例的历史数据以及共享型实例下的资源,不返回该字段。 ](tag:hws,hws_hk,ocb,ctc,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,fcs,dt,hk_tm)
|
369
369
|
|
370
370
|
:param updated_at: The updated_at of this L7Rule.
|
371
371
|
:type updated_at: str
|
@@ -29,7 +29,7 @@ class ListAvailabilityZonesRequest:
|
|
29
29
|
|
30
30
|
The model defined in huaweicloud sdk
|
31
31
|
|
32
|
-
:param public_border_group: AZ组。
|
32
|
+
:param public_border_group: 参数解释:AZ组。
|
33
33
|
:type public_border_group: str
|
34
34
|
"""
|
35
35
|
|
@@ -45,7 +45,7 @@ class ListAvailabilityZonesRequest:
|
|
45
45
|
def public_border_group(self):
|
46
46
|
"""Gets the public_border_group of this ListAvailabilityZonesRequest.
|
47
47
|
|
48
|
-
AZ组。
|
48
|
+
参数解释:AZ组。
|
49
49
|
|
50
50
|
:return: The public_border_group of this ListAvailabilityZonesRequest.
|
51
51
|
:rtype: str
|
@@ -56,7 +56,7 @@ class ListAvailabilityZonesRequest:
|
|
56
56
|
def public_border_group(self, public_border_group):
|
57
57
|
"""Sets the public_border_group of this ListAvailabilityZonesRequest.
|
58
58
|
|
59
|
-
AZ组。
|
59
|
+
参数解释:AZ组。
|
60
60
|
|
61
61
|
:param public_border_group: The public_border_group of this ListAvailabilityZonesRequest.
|
62
62
|
:type public_border_group: str
|
@@ -19,41 +19,48 @@ class ListAvailabilityZonesResponse(SdkResponse):
|
|
19
19
|
|
20
20
|
openapi_types = {
|
21
21
|
'request_id': 'str',
|
22
|
-
'availability_zones': 'list[list[AvailabilityZone]]'
|
22
|
+
'availability_zones': 'list[list[AvailabilityZone]]',
|
23
|
+
'spec_code': 'str'
|
23
24
|
}
|
24
25
|
|
25
26
|
attribute_map = {
|
26
27
|
'request_id': 'request_id',
|
27
|
-
'availability_zones': 'availability_zones'
|
28
|
+
'availability_zones': 'availability_zones',
|
29
|
+
'spec_code': 'spec_code'
|
28
30
|
}
|
29
31
|
|
30
|
-
def __init__(self, request_id=None, availability_zones=None):
|
32
|
+
def __init__(self, request_id=None, availability_zones=None, spec_code=None):
|
31
33
|
"""ListAvailabilityZonesResponse
|
32
34
|
|
33
35
|
The model defined in huaweicloud sdk
|
34
36
|
|
35
|
-
:param request_id:
|
37
|
+
:param request_id: 参数解释:请求ID。 注:自动生成。
|
36
38
|
:type request_id: str
|
37
|
-
:param availability_zones:
|
39
|
+
:param availability_zones: 参数解释:返回创建LB时可使用的可用区集合列表。如:[[az1,az2],[az2,az3]] ,则在创建LB时,只能从其中的一个子列表中选择一个或多个可用区,不能跨列表选择。在上述例子中,不能选择az1和az3。
|
38
40
|
:type availability_zones: list[list[AvailabilityZone]]
|
41
|
+
:param spec_code: 可用区的产品编码,仅边缘场景有效。
|
42
|
+
:type spec_code: str
|
39
43
|
"""
|
40
44
|
|
41
45
|
super(ListAvailabilityZonesResponse, self).__init__()
|
42
46
|
|
43
47
|
self._request_id = None
|
44
48
|
self._availability_zones = None
|
49
|
+
self._spec_code = None
|
45
50
|
self.discriminator = None
|
46
51
|
|
47
52
|
if request_id is not None:
|
48
53
|
self.request_id = request_id
|
49
54
|
if availability_zones is not None:
|
50
55
|
self.availability_zones = availability_zones
|
56
|
+
if spec_code is not None:
|
57
|
+
self.spec_code = spec_code
|
51
58
|
|
52
59
|
@property
|
53
60
|
def request_id(self):
|
54
61
|
"""Gets the request_id of this ListAvailabilityZonesResponse.
|
55
62
|
|
56
|
-
|
63
|
+
参数解释:请求ID。 注:自动生成。
|
57
64
|
|
58
65
|
:return: The request_id of this ListAvailabilityZonesResponse.
|
59
66
|
:rtype: str
|
@@ -64,7 +71,7 @@ class ListAvailabilityZonesResponse(SdkResponse):
|
|
64
71
|
def request_id(self, request_id):
|
65
72
|
"""Sets the request_id of this ListAvailabilityZonesResponse.
|
66
73
|
|
67
|
-
|
74
|
+
参数解释:请求ID。 注:自动生成。
|
68
75
|
|
69
76
|
:param request_id: The request_id of this ListAvailabilityZonesResponse.
|
70
77
|
:type request_id: str
|
@@ -75,7 +82,7 @@ class ListAvailabilityZonesResponse(SdkResponse):
|
|
75
82
|
def availability_zones(self):
|
76
83
|
"""Gets the availability_zones of this ListAvailabilityZonesResponse.
|
77
84
|
|
78
|
-
|
85
|
+
参数解释:返回创建LB时可使用的可用区集合列表。如:[[az1,az2],[az2,az3]] ,则在创建LB时,只能从其中的一个子列表中选择一个或多个可用区,不能跨列表选择。在上述例子中,不能选择az1和az3。
|
79
86
|
|
80
87
|
:return: The availability_zones of this ListAvailabilityZonesResponse.
|
81
88
|
:rtype: list[list[AvailabilityZone]]
|
@@ -86,13 +93,35 @@ class ListAvailabilityZonesResponse(SdkResponse):
|
|
86
93
|
def availability_zones(self, availability_zones):
|
87
94
|
"""Sets the availability_zones of this ListAvailabilityZonesResponse.
|
88
95
|
|
89
|
-
|
96
|
+
参数解释:返回创建LB时可使用的可用区集合列表。如:[[az1,az2],[az2,az3]] ,则在创建LB时,只能从其中的一个子列表中选择一个或多个可用区,不能跨列表选择。在上述例子中,不能选择az1和az3。
|
90
97
|
|
91
98
|
:param availability_zones: The availability_zones of this ListAvailabilityZonesResponse.
|
92
99
|
:type availability_zones: list[list[AvailabilityZone]]
|
93
100
|
"""
|
94
101
|
self._availability_zones = availability_zones
|
95
102
|
|
103
|
+
@property
|
104
|
+
def spec_code(self):
|
105
|
+
"""Gets the spec_code of this ListAvailabilityZonesResponse.
|
106
|
+
|
107
|
+
可用区的产品编码,仅边缘场景有效。
|
108
|
+
|
109
|
+
:return: The spec_code of this ListAvailabilityZonesResponse.
|
110
|
+
:rtype: str
|
111
|
+
"""
|
112
|
+
return self._spec_code
|
113
|
+
|
114
|
+
@spec_code.setter
|
115
|
+
def spec_code(self, spec_code):
|
116
|
+
"""Sets the spec_code of this ListAvailabilityZonesResponse.
|
117
|
+
|
118
|
+
可用区的产品编码,仅边缘场景有效。
|
119
|
+
|
120
|
+
:param spec_code: The spec_code of this ListAvailabilityZonesResponse.
|
121
|
+
:type spec_code: str
|
122
|
+
"""
|
123
|
+
self._spec_code = spec_code
|
124
|
+
|
96
125
|
def to_dict(self):
|
97
126
|
"""Returns the model properties as a dict"""
|
98
127
|
result = {}
|
@@ -45,13 +45,13 @@ class ListFlavorsRequest:
|
|
45
45
|
:type marker: str
|
46
46
|
:param limit: 参数解释:每页返回的个数。 取值范围:0-2000 默认取值:2000
|
47
47
|
:type limit: int
|
48
|
-
:param page_reverse: 参数解释:是否反向查询。
|
48
|
+
:param page_reverse: 参数解释:是否反向查询。 约束限制: - 必须与limit一起使用。 - 当page_reverse=true时,若要查询上一页,marker取值为当前页返回值的previous_marker。 取值范围: - true:查询上一页。 - false:查询下一页,默认。
|
49
49
|
:type page_reverse: bool
|
50
50
|
:param id: 参数解释:规格ID。 支持多值查询,查询条件格式:*id=xxx&id=xxx*。
|
51
51
|
:type id: list[str]
|
52
|
-
:param name: 参数解释:规格名称。
|
52
|
+
:param name: 参数解释:规格名称。 支持多值查询,查询条件格式:*name=xxx&name=xxx*。
|
53
53
|
:type name: list[str]
|
54
|
-
:param type: 参数解释:规格类别。
|
54
|
+
:param type: 参数解释:规格类别。 取值范围: - L4和L7 表示四层网络型和七层应用型flavor。 [- gateway 表示网关型LB的flavor,目前只支持弹性计费类型。当前仅支持欧洲局点。](tag:hws_eu) - L4_elastic和L7_elastic 表示弹性扩缩容实例的下限规格。 - L4_elastic_max、L7_elastic_max[和gateway_elastic_max](tag:hws_eu) 表示弹性扩缩容实例的上限规格。 支持多值查询,查询条件格式:*type=xxx&type=xxx*。
|
55
55
|
:type type: list[str]
|
56
56
|
:param shared: 参数解释:是否查询公共规格。 取值范围:true表示公共规格,所有租户可见。false表示私有规格,为当前租户所有。
|
57
57
|
:type shared: bool
|
@@ -131,7 +131,7 @@ class ListFlavorsRequest:
|
|
131
131
|
def page_reverse(self):
|
132
132
|
"""Gets the page_reverse of this ListFlavorsRequest.
|
133
133
|
|
134
|
-
参数解释:是否反向查询。
|
134
|
+
参数解释:是否反向查询。 约束限制: - 必须与limit一起使用。 - 当page_reverse=true时,若要查询上一页,marker取值为当前页返回值的previous_marker。 取值范围: - true:查询上一页。 - false:查询下一页,默认。
|
135
135
|
|
136
136
|
:return: The page_reverse of this ListFlavorsRequest.
|
137
137
|
:rtype: bool
|
@@ -142,7 +142,7 @@ class ListFlavorsRequest:
|
|
142
142
|
def page_reverse(self, page_reverse):
|
143
143
|
"""Sets the page_reverse of this ListFlavorsRequest.
|
144
144
|
|
145
|
-
参数解释:是否反向查询。
|
145
|
+
参数解释:是否反向查询。 约束限制: - 必须与limit一起使用。 - 当page_reverse=true时,若要查询上一页,marker取值为当前页返回值的previous_marker。 取值范围: - true:查询上一页。 - false:查询下一页,默认。
|
146
146
|
|
147
147
|
:param page_reverse: The page_reverse of this ListFlavorsRequest.
|
148
148
|
:type page_reverse: bool
|
@@ -175,7 +175,7 @@ class ListFlavorsRequest:
|
|
175
175
|
def name(self):
|
176
176
|
"""Gets the name of this ListFlavorsRequest.
|
177
177
|
|
178
|
-
参数解释:规格名称。
|
178
|
+
参数解释:规格名称。 支持多值查询,查询条件格式:*name=xxx&name=xxx*。
|
179
179
|
|
180
180
|
:return: The name of this ListFlavorsRequest.
|
181
181
|
:rtype: list[str]
|
@@ -186,7 +186,7 @@ class ListFlavorsRequest:
|
|
186
186
|
def name(self, name):
|
187
187
|
"""Sets the name of this ListFlavorsRequest.
|
188
188
|
|
189
|
-
参数解释:规格名称。
|
189
|
+
参数解释:规格名称。 支持多值查询,查询条件格式:*name=xxx&name=xxx*。
|
190
190
|
|
191
191
|
:param name: The name of this ListFlavorsRequest.
|
192
192
|
:type name: list[str]
|
@@ -197,7 +197,7 @@ class ListFlavorsRequest:
|
|
197
197
|
def type(self):
|
198
198
|
"""Gets the type of this ListFlavorsRequest.
|
199
199
|
|
200
|
-
参数解释:规格类别。
|
200
|
+
参数解释:规格类别。 取值范围: - L4和L7 表示四层网络型和七层应用型flavor。 [- gateway 表示网关型LB的flavor,目前只支持弹性计费类型。当前仅支持欧洲局点。](tag:hws_eu) - L4_elastic和L7_elastic 表示弹性扩缩容实例的下限规格。 - L4_elastic_max、L7_elastic_max[和gateway_elastic_max](tag:hws_eu) 表示弹性扩缩容实例的上限规格。 支持多值查询,查询条件格式:*type=xxx&type=xxx*。
|
201
201
|
|
202
202
|
:return: The type of this ListFlavorsRequest.
|
203
203
|
:rtype: list[str]
|
@@ -208,7 +208,7 @@ class ListFlavorsRequest:
|
|
208
208
|
def type(self, type):
|
209
209
|
"""Sets the type of this ListFlavorsRequest.
|
210
210
|
|
211
|
-
参数解释:规格类别。
|
211
|
+
参数解释:规格类别。 取值范围: - L4和L7 表示四层网络型和七层应用型flavor。 [- gateway 表示网关型LB的flavor,目前只支持弹性计费类型。当前仅支持欧洲局点。](tag:hws_eu) - L4_elastic和L7_elastic 表示弹性扩缩容实例的下限规格。 - L4_elastic_max、L7_elastic_max[和gateway_elastic_max](tag:hws_eu) 表示弹性扩缩容实例的上限规格。 支持多值查询,查询条件格式:*type=xxx&type=xxx*。
|
212
212
|
|
213
213
|
:param type: The type of this ListFlavorsRequest.
|
214
214
|
:type type: list[str]
|
@@ -79,15 +79,15 @@ class ListHealthMonitorsRequest:
|
|
79
79
|
:type delay: list[int]
|
80
80
|
:param max_retries: 健康检查连续成功多少次后,将后端服务器的健康检查状态由OFFLINE判定为ONLINE。取值范围:1-10。 支持多值查询,查询条件格式:*******max_retries=xxx&max_retries=xxx*******。
|
81
81
|
:type max_retries: list[int]
|
82
|
-
:param admin_state_up:
|
82
|
+
:param admin_state_up: 参数解释:健康检查的管理状态。 取值范围: - true:表示开启健康检查。 - false表示关闭健康检查。
|
83
83
|
:type admin_state_up: bool
|
84
84
|
:param max_retries_down: 健康检查连续失败多少次后,将后端服务器的健康检查状态由ONLINE判定为OFFLINE。取值范围:1-10。 支持多值查询,查询条件格式:******max_retries_down=xxx&max_retries_down=xxx******。
|
85
85
|
:type max_retries_down: list[int]
|
86
86
|
:param timeout: 一次健康检查请求的超时时间。
|
87
87
|
:type timeout: int
|
88
|
-
:param type: 健康检查请求协议。 取值:TCP、UDP_CONNECT、HTTP、HTTPS、TLS和
|
88
|
+
:param type: 健康检查请求协议。 取值:TCP、UDP_CONNECT、HTTP、HTTPS、TLS和gRPC。 支持多值查询,查询条件格式:*****type=xxx&type=xxx*****。
|
89
89
|
:type type: list[str]
|
90
|
-
:param expected_codes: 期望响应状态码。 取值: - 单值:单个返回码,例如200。 - 列表:多个特定返回码,例如200,202。 - 区间:一个返回码区间,例如200-204。 默认值:200。 仅支持HTTP/HTTPS/
|
90
|
+
:param expected_codes: 期望响应状态码。 取值: - 单值:单个返回码,例如200。 - 列表:多个特定返回码,例如200,202。 - 区间:一个返回码区间,例如200-204。 默认值:200。 仅支持HTTP/HTTPS/gRPC设置该字段,其他协议设置不会生效。 支持多值查询,查询条件格式:****expected_codes=xxx&expected_codes=xxx****。
|
91
91
|
:type expected_codes: list[str]
|
92
92
|
:param url_path: 健康检查测试member健康时发送的http请求路径。默认为“/”。 使用说明:以“/”开头。当type为HTTP/HTTPS时生效。 支持多值查询,查询条件格式:***url_path=xxx&url_path=xxx***。
|
93
93
|
:type url_path: list[str]
|
@@ -355,7 +355,7 @@ class ListHealthMonitorsRequest:
|
|
355
355
|
def admin_state_up(self):
|
356
356
|
"""Gets the admin_state_up of this ListHealthMonitorsRequest.
|
357
357
|
|
358
|
-
|
358
|
+
参数解释:健康检查的管理状态。 取值范围: - true:表示开启健康检查。 - false表示关闭健康检查。
|
359
359
|
|
360
360
|
:return: The admin_state_up of this ListHealthMonitorsRequest.
|
361
361
|
:rtype: bool
|
@@ -366,7 +366,7 @@ class ListHealthMonitorsRequest:
|
|
366
366
|
def admin_state_up(self, admin_state_up):
|
367
367
|
"""Sets the admin_state_up of this ListHealthMonitorsRequest.
|
368
368
|
|
369
|
-
|
369
|
+
参数解释:健康检查的管理状态。 取值范围: - true:表示开启健康检查。 - false表示关闭健康检查。
|
370
370
|
|
371
371
|
:param admin_state_up: The admin_state_up of this ListHealthMonitorsRequest.
|
372
372
|
:type admin_state_up: bool
|
@@ -421,7 +421,7 @@ class ListHealthMonitorsRequest:
|
|
421
421
|
def type(self):
|
422
422
|
"""Gets the type of this ListHealthMonitorsRequest.
|
423
423
|
|
424
|
-
健康检查请求协议。 取值:TCP、UDP_CONNECT、HTTP、HTTPS、TLS和
|
424
|
+
健康检查请求协议。 取值:TCP、UDP_CONNECT、HTTP、HTTPS、TLS和gRPC。 支持多值查询,查询条件格式:*****type=xxx&type=xxx*****。
|
425
425
|
|
426
426
|
:return: The type of this ListHealthMonitorsRequest.
|
427
427
|
:rtype: list[str]
|
@@ -432,7 +432,7 @@ class ListHealthMonitorsRequest:
|
|
432
432
|
def type(self, type):
|
433
433
|
"""Sets the type of this ListHealthMonitorsRequest.
|
434
434
|
|
435
|
-
健康检查请求协议。 取值:TCP、UDP_CONNECT、HTTP、HTTPS、TLS和
|
435
|
+
健康检查请求协议。 取值:TCP、UDP_CONNECT、HTTP、HTTPS、TLS和gRPC。 支持多值查询,查询条件格式:*****type=xxx&type=xxx*****。
|
436
436
|
|
437
437
|
:param type: The type of this ListHealthMonitorsRequest.
|
438
438
|
:type type: list[str]
|
@@ -443,7 +443,7 @@ class ListHealthMonitorsRequest:
|
|
443
443
|
def expected_codes(self):
|
444
444
|
"""Gets the expected_codes of this ListHealthMonitorsRequest.
|
445
445
|
|
446
|
-
期望响应状态码。 取值: - 单值:单个返回码,例如200。 - 列表:多个特定返回码,例如200,202。 - 区间:一个返回码区间,例如200-204。 默认值:200。 仅支持HTTP/HTTPS/
|
446
|
+
期望响应状态码。 取值: - 单值:单个返回码,例如200。 - 列表:多个特定返回码,例如200,202。 - 区间:一个返回码区间,例如200-204。 默认值:200。 仅支持HTTP/HTTPS/gRPC设置该字段,其他协议设置不会生效。 支持多值查询,查询条件格式:****expected_codes=xxx&expected_codes=xxx****。
|
447
447
|
|
448
448
|
:return: The expected_codes of this ListHealthMonitorsRequest.
|
449
449
|
:rtype: list[str]
|
@@ -454,7 +454,7 @@ class ListHealthMonitorsRequest:
|
|
454
454
|
def expected_codes(self, expected_codes):
|
455
455
|
"""Sets the expected_codes of this ListHealthMonitorsRequest.
|
456
456
|
|
457
|
-
期望响应状态码。 取值: - 单值:单个返回码,例如200。 - 列表:多个特定返回码,例如200,202。 - 区间:一个返回码区间,例如200-204。 默认值:200。 仅支持HTTP/HTTPS/
|
457
|
+
期望响应状态码。 取值: - 单值:单个返回码,例如200。 - 列表:多个特定返回码,例如200,202。 - 区间:一个返回码区间,例如200-204。 默认值:200。 仅支持HTTP/HTTPS/gRPC设置该字段,其他协议设置不会生效。 支持多值查询,查询条件格式:****expected_codes=xxx&expected_codes=xxx****。
|
458
458
|
|
459
459
|
:param expected_codes: The expected_codes of this ListHealthMonitorsRequest.
|
460
460
|
:type expected_codes: list[str]
|