huaweicloudsdkelb 3.1.105__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.
- huaweicloudsdkelb/v3/__init__.py +29 -0
- huaweicloudsdkelb/v3/elb_async_client.py +171 -34
- huaweicloudsdkelb/v3/elb_client.py +171 -34
- huaweicloudsdkelb/v3/model/__init__.py +29 -0
- huaweicloudsdkelb/v3/model/availability_zone.py +3 -3
- huaweicloudsdkelb/v3/model/batch_add_available_zones_response.py +6 -6
- huaweicloudsdkelb/v3/model/batch_create_members_option.py +3 -3
- huaweicloudsdkelb/v3/model/batch_delete_ip_list_option.py +3 -3
- huaweicloudsdkelb/v3/model/batch_delete_ip_list_request.py +3 -3
- huaweicloudsdkelb/v3/model/batch_delete_ip_list_response.py +3 -3
- huaweicloudsdkelb/v3/model/batch_member.py +67 -9
- huaweicloudsdkelb/v3/model/batch_update_member.py +67 -9
- huaweicloudsdkelb/v3/model/batch_update_priority_request_body.py +3 -3
- huaweicloudsdkelb/v3/model/certificate_info.py +93 -6
- huaweicloudsdkelb/v3/model/change_loadbalancer_charge_mode_request_body.py +3 -3
- huaweicloudsdkelb/v3/model/connection_drain.py +3 -3
- huaweicloudsdkelb/v3/model/count_preoccupy_ip_num_request.py +6 -6
- huaweicloudsdkelb/v3/model/create_certificate_option.py +5 -4
- huaweicloudsdkelb/v3/model/create_certificate_private_key_echo_request.py +111 -0
- huaweicloudsdkelb/v3/model/create_certificate_private_key_echo_request_body.py +114 -0
- huaweicloudsdkelb/v3/model/create_certificate_private_key_echo_response.py +145 -0
- huaweicloudsdkelb/v3/model/create_fixted_response_config.py +78 -3
- huaweicloudsdkelb/v3/model/create_health_monitor_option.py +9 -9
- huaweicloudsdkelb/v3/model/create_insert_header_config.py +170 -0
- huaweicloudsdkelb/v3/model/create_insert_headers_config.py +114 -0
- huaweicloudsdkelb/v3/model/create_ip_group_ip_option.py +6 -6
- huaweicloudsdkelb/v3/model/create_ip_group_option.py +15 -15
- huaweicloudsdkelb/v3/model/create_ip_group_response.py +3 -3
- huaweicloudsdkelb/v3/model/create_l7_policy_option.py +61 -7
- huaweicloudsdkelb/v3/model/create_l7_policy_rule_option.py +6 -6
- huaweicloudsdkelb/v3/model/create_listener_ip_group_option.py +3 -3
- huaweicloudsdkelb/v3/model/create_listener_option.py +33 -33
- huaweicloudsdkelb/v3/model/create_load_balancer_bandwidth_option.py +18 -18
- huaweicloudsdkelb/v3/model/create_load_balancer_option.py +76 -105
- huaweicloudsdkelb/v3/model/create_load_balancer_public_ip_option.py +12 -12
- huaweicloudsdkelb/v3/model/create_load_balancer_response.py +6 -6
- huaweicloudsdkelb/v3/model/create_loadbalancer_autoscaling_option.py +6 -6
- huaweicloudsdkelb/v3/model/create_master_slave_health_monitor_option.py +6 -6
- huaweicloudsdkelb/v3/model/create_master_slave_member_option.py +3 -3
- huaweicloudsdkelb/v3/model/create_master_slave_pool_option.py +6 -6
- huaweicloudsdkelb/v3/model/create_member_option.py +6 -6
- huaweicloudsdkelb/v3/model/create_pool_option.py +84 -30
- huaweicloudsdkelb/v3/model/create_redirect_pools_config.py +143 -0
- huaweicloudsdkelb/v3/model/create_redirect_pools_extend_config.py +81 -6
- huaweicloudsdkelb/v3/model/create_redirect_pools_sticky_session_config.py +144 -0
- huaweicloudsdkelb/v3/model/create_redirect_url_config.py +53 -3
- huaweicloudsdkelb/v3/model/create_remove_header_config.py +114 -0
- huaweicloudsdkelb/v3/model/create_remove_headers_config.py +114 -0
- huaweicloudsdkelb/v3/model/create_rewrite_url_config.py +9 -9
- huaweicloudsdkelb/v3/model/create_rule_option.py +6 -6
- huaweicloudsdkelb/v3/model/create_traffic_limit_config.py +173 -0
- huaweicloudsdkelb/v3/model/delete_ip_group_request.py +3 -3
- huaweicloudsdkelb/v3/model/fixted_response_config.py +78 -3
- huaweicloudsdkelb/v3/model/flavor.py +79 -21
- huaweicloudsdkelb/v3/model/health_monitor.py +9 -9
- huaweicloudsdkelb/v3/model/insert_header_config.py +170 -0
- huaweicloudsdkelb/v3/model/insert_headers_config.py +114 -0
- huaweicloudsdkelb/v3/model/ip_group.py +119 -90
- huaweicloudsdkelb/v3/model/ip_group_ip.py +3 -3
- huaweicloudsdkelb/v3/model/ip_info.py +6 -6
- huaweicloudsdkelb/v3/model/l7_policy.py +67 -13
- huaweicloudsdkelb/v3/model/l7_rule.py +15 -15
- huaweicloudsdkelb/v3/model/list_all_members_request.py +3 -3
- huaweicloudsdkelb/v3/model/list_all_members_response.py +4 -4
- huaweicloudsdkelb/v3/model/list_certificates_request.py +64 -6
- huaweicloudsdkelb/v3/model/list_flavors_request.py +21 -21
- huaweicloudsdkelb/v3/model/list_flavors_response.py +6 -6
- huaweicloudsdkelb/v3/model/list_health_monitors_request.py +12 -12
- huaweicloudsdkelb/v3/model/list_ip_groups_request.py +53 -24
- huaweicloudsdkelb/v3/model/list_ip_groups_response.py +6 -6
- huaweicloudsdkelb/v3/model/list_l7_policies_request.py +3 -3
- huaweicloudsdkelb/v3/model/list_l7_rules_request.py +3 -3
- huaweicloudsdkelb/v3/model/list_listeners_request.py +24 -24
- huaweicloudsdkelb/v3/model/list_load_balancers_request.py +30 -30
- huaweicloudsdkelb/v3/model/list_logtanks_request.py +3 -3
- huaweicloudsdkelb/v3/model/list_master_slave_pools_request.py +6 -6
- huaweicloudsdkelb/v3/model/list_members_request.py +3 -3
- huaweicloudsdkelb/v3/model/list_pools_request.py +105 -18
- huaweicloudsdkelb/v3/model/list_security_policies_request.py +3 -3
- huaweicloudsdkelb/v3/model/listener.py +27 -27
- huaweicloudsdkelb/v3/model/listener_ref.py +3 -3
- huaweicloudsdkelb/v3/model/load_balancer.py +27 -27
- huaweicloudsdkelb/v3/model/load_balancer_status_policy.py +3 -3
- huaweicloudsdkelb/v3/model/master_slave_health_monitor.py +6 -6
- huaweicloudsdkelb/v3/model/master_slave_member.py +3 -3
- huaweicloudsdkelb/v3/model/master_slave_pool.py +15 -15
- huaweicloudsdkelb/v3/model/member.py +13 -158
- huaweicloudsdkelb/v3/model/member_info.py +656 -0
- huaweicloudsdkelb/v3/model/page_info.py +9 -9
- huaweicloudsdkelb/v3/model/pool.py +110 -27
- huaweicloudsdkelb/v3/model/pool_health.py +115 -0
- huaweicloudsdkelb/v3/model/prepaid_create_option.py +12 -12
- huaweicloudsdkelb/v3/model/quota.py +12 -12
- huaweicloudsdkelb/v3/model/quota_info.py +3 -3
- huaweicloudsdkelb/v3/model/redirect_pools_config.py +144 -0
- huaweicloudsdkelb/v3/model/redirect_pools_extend_config.py +81 -6
- huaweicloudsdkelb/v3/model/redirect_pools_sticky_session_config.py +144 -0
- huaweicloudsdkelb/v3/model/redirect_url_config.py +65 -9
- huaweicloudsdkelb/v3/model/remove_header_config.py +114 -0
- huaweicloudsdkelb/v3/model/remove_headers_config.py +114 -0
- huaweicloudsdkelb/v3/model/rewrite_url_config.py +9 -9
- huaweicloudsdkelb/v3/model/session_persistence.py +6 -6
- huaweicloudsdkelb/v3/model/show_certificate_private_key_echo_request.py +84 -0
- huaweicloudsdkelb/v3/model/show_certificate_private_key_echo_response.py +145 -0
- huaweicloudsdkelb/v3/model/show_flavor_request.py +3 -3
- huaweicloudsdkelb/v3/model/show_flavor_response.py +3 -3
- huaweicloudsdkelb/v3/model/show_ip_group_request.py +3 -3
- huaweicloudsdkelb/v3/model/show_ip_group_response.py +3 -3
- huaweicloudsdkelb/v3/model/traffic_limit_config.py +173 -0
- huaweicloudsdkelb/v3/model/upadate_ip_group_ip_option.py +6 -6
- huaweicloudsdkelb/v3/model/update_certificate_option.py +3 -3
- huaweicloudsdkelb/v3/model/update_fixted_response_config.py +78 -3
- huaweicloudsdkelb/v3/model/update_health_monitor_option.py +9 -9
- huaweicloudsdkelb/v3/model/update_insert_header_config.py +170 -0
- huaweicloudsdkelb/v3/model/update_insert_headers_config.py +114 -0
- huaweicloudsdkelb/v3/model/update_ip_group_option.py +9 -9
- huaweicloudsdkelb/v3/model/update_ip_group_request.py +3 -3
- huaweicloudsdkelb/v3/model/update_ip_group_response.py +3 -3
- huaweicloudsdkelb/v3/model/update_ip_list_option.py +9 -9
- huaweicloudsdkelb/v3/model/update_ip_list_request.py +3 -3
- huaweicloudsdkelb/v3/model/update_ip_list_response.py +3 -3
- huaweicloudsdkelb/v3/model/update_l7_policy_option.py +58 -4
- huaweicloudsdkelb/v3/model/update_l7_rule_option.py +3 -3
- huaweicloudsdkelb/v3/model/update_listener_ip_group_option.py +6 -6
- huaweicloudsdkelb/v3/model/update_listener_option.py +24 -24
- huaweicloudsdkelb/v3/model/update_load_balancer_option.py +24 -24
- huaweicloudsdkelb/v3/model/update_load_balancer_response.py +6 -6
- huaweicloudsdkelb/v3/model/update_pool_option.py +37 -12
- huaweicloudsdkelb/v3/model/update_pool_session_persistence_option.py +6 -6
- huaweicloudsdkelb/v3/model/update_redirect_pools_config.py +143 -0
- huaweicloudsdkelb/v3/model/update_redirect_pools_extend_config.py +81 -6
- huaweicloudsdkelb/v3/model/update_redirect_pools_sticky_session_config.py +144 -0
- huaweicloudsdkelb/v3/model/update_redirect_url_config.py +53 -3
- huaweicloudsdkelb/v3/model/update_remove_header_config.py +114 -0
- huaweicloudsdkelb/v3/model/update_remove_headers_config.py +114 -0
- huaweicloudsdkelb/v3/model/update_rewrite_url_config.py +173 -0
- huaweicloudsdkelb/v3/model/update_traffic_limit_config.py +173 -0
- {huaweicloudsdkelb-3.1.105.dist-info → huaweicloudsdkelb-3.1.106.dist-info}/METADATA +2 -2
- {huaweicloudsdkelb-3.1.105.dist-info → huaweicloudsdkelb-3.1.106.dist-info}/RECORD +142 -113
- {huaweicloudsdkelb-3.1.105.dist-info → huaweicloudsdkelb-3.1.106.dist-info}/LICENSE +0 -0
- {huaweicloudsdkelb-3.1.105.dist-info → huaweicloudsdkelb-3.1.106.dist-info}/WHEEL +0 -0
- {huaweicloudsdkelb-3.1.105.dist-info → huaweicloudsdkelb-3.1.106.dist-info}/top_level.txt +0 -0
@@ -137,7 +137,7 @@ class LoadBalancer:
|
|
137
137
|
:type name: str
|
138
138
|
:param project_id: 负载均衡器所属的项目ID。
|
139
139
|
:type project_id: str
|
140
|
-
:param vip_subnet_cidr_id: 负载均衡器所在子网的IPv4子网ID
|
140
|
+
:param vip_subnet_cidr_id: 负载均衡器所在子网的IPv4子网ID,也称为该负载均衡器实例的前端子网。
|
141
141
|
:type vip_subnet_cidr_id: str
|
142
142
|
:param vip_address: 负载均衡器的IPv4虚拟IP地址。
|
143
143
|
:type vip_address: str
|
@@ -157,7 +157,7 @@ class LoadBalancer:
|
|
157
157
|
:type eips: list[:class:`huaweicloudsdkelb.v3.EipInfo`]
|
158
158
|
:param ipv6_vip_address: 双栈类型负载均衡器的IPv6地址。 [不支持IPv6,请勿使用。](tag:dt,dt_test)
|
159
159
|
:type ipv6_vip_address: str
|
160
|
-
:param ipv6_vip_virsubnet_id: 双栈类型负载均衡器所在子网的IPv6网络ID
|
160
|
+
:param ipv6_vip_virsubnet_id: 双栈类型负载均衡器所在子网的IPv6网络ID,也称为该负载均衡器实例的前端子网。 [不支持IPv6,请勿使用。](tag:dt,dt_test)
|
161
161
|
:type ipv6_vip_virsubnet_id: str
|
162
162
|
:param ipv6_vip_port_id: 双栈类型负载均衡器的IPv6对应的port ID。 [不支持IPv6,请勿使用。](tag:dt,dt_test)
|
163
163
|
:type ipv6_vip_port_id: str
|
@@ -165,31 +165,31 @@ class LoadBalancer:
|
|
165
165
|
:type availability_zone_list: list[str]
|
166
166
|
:param enterprise_project_id: 企业项目ID。创建时不传则返回\"0\",表示资源属于default企业项目。 注:\"0\"并不是真实存在的企业项目ID,在创建、更新和查询时不能作为请求参数传入。 [不支持该字段,请勿使用](tag:dt,dt_test,hcso_dt)
|
167
167
|
:type enterprise_project_id: str
|
168
|
-
:param billing_info: 资源账单信息。 取值: - 空:按需计费。 [- 非空:包周期计费, 包周期计费billing_info字段的格式为:order_id:product_id:region_id:project_id,如: CS2107161019CDJZZ:OFFI569702121789763584: az:057ef081eb00d2732fd1c01a9be75e6f 不支持该字段,请勿使用](tag:hws_eu,g42,hk_g42,dt,dt_test,hcso_dt,hcso,fcs,fcs_vm,mix,hcso_g42,hcso_g42_b)
|
168
|
+
:param billing_info: 资源账单信息。 取值: - 空:按需计费。 [- 非空:包周期计费, 包周期计费billing_info字段的格式为:order_id:product_id:region_id:project_id,如: CS2107161019CDJZZ:OFFI569702121789763584: az:057ef081eb00d2732fd1c01a9be75e6f 不支持该字段,请勿使用](tag:hws_eu,g42,hk_g42,dt,dt_test,hcso_dt,hcso,hk_vdf,fcs,fcs_vm,mix,hcso_g42,hcso_g42_b)
|
169
169
|
:type billing_info: str
|
170
|
-
:param l4_flavor_id: 网络型规格ID。 对于弹性扩缩容实例,表示上限规格。 当传入的规格类型为L4,表示该实例为固定规格实例,按规格计费; 当传入的规格类型为L4_elastic_max,表示该实例为弹性实例,按LCU计费 [hsco场景下所有LB实例共享带宽,该字段无效,请勿使用。](tag:hcso,fcs,fcs_vm,mix,hcso_g42,hcso_g42_b)
|
170
|
+
:param l4_flavor_id: 网络型规格ID。 对于弹性扩缩容实例,表示上限规格。 当传入的规格类型为L4,表示该实例为固定规格实例,按规格计费; 当传入的规格类型为L4_elastic_max,表示该实例为弹性实例,按LCU计费 [hsco场景下所有LB实例共享带宽,该字段无效,请勿使用。](tag:hcso,hk_vdf,fcs,fcs_vm,mix,hcso_g42,hcso_g42_b)
|
171
171
|
:type l4_flavor_id: str
|
172
172
|
:param l4_scale_flavor_id: 四层弹性Flavor ID。 不支持该字段,请勿使用。
|
173
173
|
:type l4_scale_flavor_id: str
|
174
|
-
:param l7_flavor_id: 应用型ID。 对于弹性扩缩容实例,表示上限规格ID。 当传入的规格类型为L7,表示该实例为固定规格实例,按规格计费; 当传入的规格类型为L7_elastic_max,表示该实例为弹性实例,按LCU计费 [hsco场景下所有LB实例共享带宽,该字段无效,请勿使用。](tag:hcso,fcs,fcs_vm,mix,hcso_g42,hcso_g42_b)
|
174
|
+
:param l7_flavor_id: 应用型ID。 对于弹性扩缩容实例,表示上限规格ID。 当传入的规格类型为L7,表示该实例为固定规格实例,按规格计费; 当传入的规格类型为L7_elastic_max,表示该实例为弹性实例,按LCU计费 [hsco场景下所有LB实例共享带宽,该字段无效,请勿使用。](tag:hcso,hk_vdf,fcs,fcs_vm,mix,hcso_g42,hcso_g42_b)
|
175
175
|
:type l7_flavor_id: str
|
176
176
|
:param l7_scale_flavor_id: 七层弹性Flavor ID。 不支持该字段,请勿使用。
|
177
177
|
:type l7_scale_flavor_id: str
|
178
178
|
:param publicips: 负载均衡器绑定的公网IP。只支持绑定一个公网IP。 注:该字段与eips一致。
|
179
179
|
:type publicips: list[:class:`huaweicloudsdkelb.v3.PublicIpInfo`]
|
180
|
-
:param global_eips: 负载均衡器绑定的global eip。只支持绑定一个globaleip。 [不支持该字段,请勿使用。](tag:hws_eu,g42,hk_g42,dt,dt_test,hcso_dt,fcs,ctc,ocb,hws_ocb)
|
180
|
+
:param global_eips: 负载均衡器绑定的global eip。只支持绑定一个globaleip。 [不支持该字段,请勿使用。](tag:hws_eu,g42,hk_g42,dt,dt_test,hcso_dt,hk_vdf,fcs,ctc,ocb,hws_ocb)
|
181
181
|
:type global_eips: list[:class:`huaweicloudsdkelb.v3.GlobalEipInfo`]
|
182
182
|
:param elb_virsubnet_ids: 下联面子网的网络ID列表。
|
183
183
|
:type elb_virsubnet_ids: list[str]
|
184
184
|
:param elb_virsubnet_type: 下联面子网类型 - ipv4:ipv4 - dualstack:双栈
|
185
185
|
:type elb_virsubnet_type: str
|
186
|
-
:param ip_target_enable: 是否启用跨VPC后端转发。 开启跨VPC后端转发后,后端服务器组不仅支持添加云上VPC内的服务器,还支持添加其他VPC、其他公有云、云下数据中心的服务器。 使用共享VPC的实例使用此特性时,需确保共享资源所有者已开通VPC对等连接,否则通信异常。 [仅独享型负载均衡器支持该特性。 ](tag:hws,hws_hk,ocb,ctc,hcs,g42,tm,cmcc,hk_g42,hws_ocb,fcs,dt) 取值: - true:开启。 - false:不开启。 使用说明: - 开启不能关闭。 [荷兰region不支持该字段,请勿使用。](tag:dt)
|
186
|
+
:param ip_target_enable: 是否启用跨VPC后端转发。 开启跨VPC后端转发后,后端服务器组不仅支持添加云上VPC内的服务器,还支持添加其他VPC、其他公有云、云下数据中心的服务器。 使用共享VPC的实例使用此特性时,需确保共享资源所有者已开通VPC对等连接,否则通信异常。 [仅独享型负载均衡器支持该特性。 ](tag:hws,hws_hk,ocb,ctc,hcs,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,fcs,dt) 取值: - true:开启。 - false:不开启。 使用说明: - 开启不能关闭。 [荷兰region不支持该字段,请勿使用。](tag:dt,dt_test)
|
187
187
|
:type ip_target_enable: bool
|
188
188
|
:param frozen_scene: 负载均衡器的冻结场景。 [若负载均衡器有多个冻结场景,用逗号分隔。 取值: - POLICE:公安冻结场景。 - ILLEGAL:违规冻结场景。 - VERIFY:客户未实名认证冻结场景。 - PARTNER:合作伙伴冻结(合作伙伴冻结子客户资源)。 - AREAR:欠费冻结场景。](tag:hws,hws_hk) [不支持该字段,请勿使用。](tag:hws_eu,g42,hk_g42,dt,dt_test,hcso_dt,ocb,hws_ocb)
|
189
189
|
:type frozen_scene: str
|
190
190
|
:param ipv6_bandwidth:
|
191
191
|
:type ipv6_bandwidth: :class:`huaweicloudsdkelb.v3.BandwidthRef`
|
192
|
-
:param deletion_protection_enable: 是否开启删除保护。 取值: - false:不开启。 - true:开启。 >退场时需要先关闭所有资源的删除保护开关。 仅当前局点启用删除保护特性后才会返回该字段。 [不支持该字段,请勿使用。](tag:hws_eu,g42,hk_g42) [荷兰region不支持该字段,请勿使用。](tag:dt)
|
192
|
+
:param deletion_protection_enable: 是否开启删除保护。 取值: - false:不开启。 - true:开启。 >退场时需要先关闭所有资源的删除保护开关。 仅当前局点启用删除保护特性后才会返回该字段。 [不支持该字段,请勿使用。](tag:hws_eu,g42,hk_g42) [荷兰region不支持该字段,请勿使用。](tag:dt,dt_test)
|
193
193
|
:type deletion_protection_enable: bool
|
194
194
|
:param autoscaling:
|
195
195
|
:type autoscaling: :class:`huaweicloudsdkelb.v3.AutoscalingRef`
|
@@ -197,7 +197,7 @@ class LoadBalancer:
|
|
197
197
|
:type public_border_group: str
|
198
198
|
:param charge_mode: 收费模式。取值: - flavor:按规格计费 - lcu:按使用量计费
|
199
199
|
:type charge_mode: str
|
200
|
-
:param waf_failure_action: WAF故障时的流量处理策略。discard:丢弃,forward: 转发到后端(默认) 使用说明:只有绑定了waf的LB实例,该字段才会生效。 [不支持该字段,请勿使用。](tag:hws_hk,hws_eu,hws_test,hcs,hcs_sm,hcso,fcs,fcs_vm,mix,hcso_g42,hcso_g42_b,hcso_dt,dt,dt_test,ocb,ctc,cmcc,tm,sbc,g42,hws_ocb,hk_sbc,hk_tm,hk_g42)
|
200
|
+
:param waf_failure_action: WAF故障时的流量处理策略。discard:丢弃,forward: 转发到后端(默认) 使用说明:只有绑定了waf的LB实例,该字段才会生效。 [不支持该字段,请勿使用。](tag:hws_hk,hws_eu,hws_test,hcs,hcs_sm,hcso,hk_vdf,fcs,fcs_vm,mix,hcso_g42,hcso_g42_b,hcso_dt,dt,dt_test,ocb,ctc,cmcc,tm,sbc,g42,hws_ocb,hk_sbc,hk_tm,hk_g42)
|
201
201
|
:type waf_failure_action: str
|
202
202
|
:param protection_status: 修改保护状态, 取值: - nonProtection: 不保护,默认值为nonProtection - consoleProtection: 控制台修改保护
|
203
203
|
:type protection_status: str
|
@@ -537,7 +537,7 @@ class LoadBalancer:
|
|
537
537
|
def vip_subnet_cidr_id(self):
|
538
538
|
"""Gets the vip_subnet_cidr_id of this LoadBalancer.
|
539
539
|
|
540
|
-
负载均衡器所在子网的IPv4子网ID
|
540
|
+
负载均衡器所在子网的IPv4子网ID,也称为该负载均衡器实例的前端子网。
|
541
541
|
|
542
542
|
:return: The vip_subnet_cidr_id of this LoadBalancer.
|
543
543
|
:rtype: str
|
@@ -548,7 +548,7 @@ class LoadBalancer:
|
|
548
548
|
def vip_subnet_cidr_id(self, vip_subnet_cidr_id):
|
549
549
|
"""Sets the vip_subnet_cidr_id of this LoadBalancer.
|
550
550
|
|
551
|
-
负载均衡器所在子网的IPv4子网ID
|
551
|
+
负载均衡器所在子网的IPv4子网ID,也称为该负载均衡器实例的前端子网。
|
552
552
|
|
553
553
|
:param vip_subnet_cidr_id: The vip_subnet_cidr_id of this LoadBalancer.
|
554
554
|
:type vip_subnet_cidr_id: str
|
@@ -757,7 +757,7 @@ class LoadBalancer:
|
|
757
757
|
def ipv6_vip_virsubnet_id(self):
|
758
758
|
"""Gets the ipv6_vip_virsubnet_id of this LoadBalancer.
|
759
759
|
|
760
|
-
双栈类型负载均衡器所在子网的IPv6网络ID
|
760
|
+
双栈类型负载均衡器所在子网的IPv6网络ID,也称为该负载均衡器实例的前端子网。 [不支持IPv6,请勿使用。](tag:dt,dt_test)
|
761
761
|
|
762
762
|
:return: The ipv6_vip_virsubnet_id of this LoadBalancer.
|
763
763
|
:rtype: str
|
@@ -768,7 +768,7 @@ class LoadBalancer:
|
|
768
768
|
def ipv6_vip_virsubnet_id(self, ipv6_vip_virsubnet_id):
|
769
769
|
"""Sets the ipv6_vip_virsubnet_id of this LoadBalancer.
|
770
770
|
|
771
|
-
双栈类型负载均衡器所在子网的IPv6网络ID
|
771
|
+
双栈类型负载均衡器所在子网的IPv6网络ID,也称为该负载均衡器实例的前端子网。 [不支持IPv6,请勿使用。](tag:dt,dt_test)
|
772
772
|
|
773
773
|
:param ipv6_vip_virsubnet_id: The ipv6_vip_virsubnet_id of this LoadBalancer.
|
774
774
|
:type ipv6_vip_virsubnet_id: str
|
@@ -845,7 +845,7 @@ class LoadBalancer:
|
|
845
845
|
def billing_info(self):
|
846
846
|
"""Gets the billing_info of this LoadBalancer.
|
847
847
|
|
848
|
-
资源账单信息。 取值: - 空:按需计费。 [- 非空:包周期计费, 包周期计费billing_info字段的格式为:order_id:product_id:region_id:project_id,如: CS2107161019CDJZZ:OFFI569702121789763584: az:057ef081eb00d2732fd1c01a9be75e6f 不支持该字段,请勿使用](tag:hws_eu,g42,hk_g42,dt,dt_test,hcso_dt,hcso,fcs,fcs_vm,mix,hcso_g42,hcso_g42_b)
|
848
|
+
资源账单信息。 取值: - 空:按需计费。 [- 非空:包周期计费, 包周期计费billing_info字段的格式为:order_id:product_id:region_id:project_id,如: CS2107161019CDJZZ:OFFI569702121789763584: az:057ef081eb00d2732fd1c01a9be75e6f 不支持该字段,请勿使用](tag:hws_eu,g42,hk_g42,dt,dt_test,hcso_dt,hcso,hk_vdf,fcs,fcs_vm,mix,hcso_g42,hcso_g42_b)
|
849
849
|
|
850
850
|
:return: The billing_info of this LoadBalancer.
|
851
851
|
:rtype: str
|
@@ -856,7 +856,7 @@ class LoadBalancer:
|
|
856
856
|
def billing_info(self, billing_info):
|
857
857
|
"""Sets the billing_info of this LoadBalancer.
|
858
858
|
|
859
|
-
资源账单信息。 取值: - 空:按需计费。 [- 非空:包周期计费, 包周期计费billing_info字段的格式为:order_id:product_id:region_id:project_id,如: CS2107161019CDJZZ:OFFI569702121789763584: az:057ef081eb00d2732fd1c01a9be75e6f 不支持该字段,请勿使用](tag:hws_eu,g42,hk_g42,dt,dt_test,hcso_dt,hcso,fcs,fcs_vm,mix,hcso_g42,hcso_g42_b)
|
859
|
+
资源账单信息。 取值: - 空:按需计费。 [- 非空:包周期计费, 包周期计费billing_info字段的格式为:order_id:product_id:region_id:project_id,如: CS2107161019CDJZZ:OFFI569702121789763584: az:057ef081eb00d2732fd1c01a9be75e6f 不支持该字段,请勿使用](tag:hws_eu,g42,hk_g42,dt,dt_test,hcso_dt,hcso,hk_vdf,fcs,fcs_vm,mix,hcso_g42,hcso_g42_b)
|
860
860
|
|
861
861
|
:param billing_info: The billing_info of this LoadBalancer.
|
862
862
|
:type billing_info: str
|
@@ -867,7 +867,7 @@ class LoadBalancer:
|
|
867
867
|
def l4_flavor_id(self):
|
868
868
|
"""Gets the l4_flavor_id of this LoadBalancer.
|
869
869
|
|
870
|
-
网络型规格ID。 对于弹性扩缩容实例,表示上限规格。 当传入的规格类型为L4,表示该实例为固定规格实例,按规格计费; 当传入的规格类型为L4_elastic_max,表示该实例为弹性实例,按LCU计费 [hsco场景下所有LB实例共享带宽,该字段无效,请勿使用。](tag:hcso,fcs,fcs_vm,mix,hcso_g42,hcso_g42_b)
|
870
|
+
网络型规格ID。 对于弹性扩缩容实例,表示上限规格。 当传入的规格类型为L4,表示该实例为固定规格实例,按规格计费; 当传入的规格类型为L4_elastic_max,表示该实例为弹性实例,按LCU计费 [hsco场景下所有LB实例共享带宽,该字段无效,请勿使用。](tag:hcso,hk_vdf,fcs,fcs_vm,mix,hcso_g42,hcso_g42_b)
|
871
871
|
|
872
872
|
:return: The l4_flavor_id of this LoadBalancer.
|
873
873
|
:rtype: str
|
@@ -878,7 +878,7 @@ class LoadBalancer:
|
|
878
878
|
def l4_flavor_id(self, l4_flavor_id):
|
879
879
|
"""Sets the l4_flavor_id of this LoadBalancer.
|
880
880
|
|
881
|
-
网络型规格ID。 对于弹性扩缩容实例,表示上限规格。 当传入的规格类型为L4,表示该实例为固定规格实例,按规格计费; 当传入的规格类型为L4_elastic_max,表示该实例为弹性实例,按LCU计费 [hsco场景下所有LB实例共享带宽,该字段无效,请勿使用。](tag:hcso,fcs,fcs_vm,mix,hcso_g42,hcso_g42_b)
|
881
|
+
网络型规格ID。 对于弹性扩缩容实例,表示上限规格。 当传入的规格类型为L4,表示该实例为固定规格实例,按规格计费; 当传入的规格类型为L4_elastic_max,表示该实例为弹性实例,按LCU计费 [hsco场景下所有LB实例共享带宽,该字段无效,请勿使用。](tag:hcso,hk_vdf,fcs,fcs_vm,mix,hcso_g42,hcso_g42_b)
|
882
882
|
|
883
883
|
:param l4_flavor_id: The l4_flavor_id of this LoadBalancer.
|
884
884
|
:type l4_flavor_id: str
|
@@ -911,7 +911,7 @@ class LoadBalancer:
|
|
911
911
|
def l7_flavor_id(self):
|
912
912
|
"""Gets the l7_flavor_id of this LoadBalancer.
|
913
913
|
|
914
|
-
应用型ID。 对于弹性扩缩容实例,表示上限规格ID。 当传入的规格类型为L7,表示该实例为固定规格实例,按规格计费; 当传入的规格类型为L7_elastic_max,表示该实例为弹性实例,按LCU计费 [hsco场景下所有LB实例共享带宽,该字段无效,请勿使用。](tag:hcso,fcs,fcs_vm,mix,hcso_g42,hcso_g42_b)
|
914
|
+
应用型ID。 对于弹性扩缩容实例,表示上限规格ID。 当传入的规格类型为L7,表示该实例为固定规格实例,按规格计费; 当传入的规格类型为L7_elastic_max,表示该实例为弹性实例,按LCU计费 [hsco场景下所有LB实例共享带宽,该字段无效,请勿使用。](tag:hcso,hk_vdf,fcs,fcs_vm,mix,hcso_g42,hcso_g42_b)
|
915
915
|
|
916
916
|
:return: The l7_flavor_id of this LoadBalancer.
|
917
917
|
:rtype: str
|
@@ -922,7 +922,7 @@ class LoadBalancer:
|
|
922
922
|
def l7_flavor_id(self, l7_flavor_id):
|
923
923
|
"""Sets the l7_flavor_id of this LoadBalancer.
|
924
924
|
|
925
|
-
应用型ID。 对于弹性扩缩容实例,表示上限规格ID。 当传入的规格类型为L7,表示该实例为固定规格实例,按规格计费; 当传入的规格类型为L7_elastic_max,表示该实例为弹性实例,按LCU计费 [hsco场景下所有LB实例共享带宽,该字段无效,请勿使用。](tag:hcso,fcs,fcs_vm,mix,hcso_g42,hcso_g42_b)
|
925
|
+
应用型ID。 对于弹性扩缩容实例,表示上限规格ID。 当传入的规格类型为L7,表示该实例为固定规格实例,按规格计费; 当传入的规格类型为L7_elastic_max,表示该实例为弹性实例,按LCU计费 [hsco场景下所有LB实例共享带宽,该字段无效,请勿使用。](tag:hcso,hk_vdf,fcs,fcs_vm,mix,hcso_g42,hcso_g42_b)
|
926
926
|
|
927
927
|
:param l7_flavor_id: The l7_flavor_id of this LoadBalancer.
|
928
928
|
:type l7_flavor_id: str
|
@@ -977,7 +977,7 @@ class LoadBalancer:
|
|
977
977
|
def global_eips(self):
|
978
978
|
"""Gets the global_eips of this LoadBalancer.
|
979
979
|
|
980
|
-
负载均衡器绑定的global eip。只支持绑定一个globaleip。 [不支持该字段,请勿使用。](tag:hws_eu,g42,hk_g42,dt,dt_test,hcso_dt,fcs,ctc,ocb,hws_ocb)
|
980
|
+
负载均衡器绑定的global eip。只支持绑定一个globaleip。 [不支持该字段,请勿使用。](tag:hws_eu,g42,hk_g42,dt,dt_test,hcso_dt,hk_vdf,fcs,ctc,ocb,hws_ocb)
|
981
981
|
|
982
982
|
:return: The global_eips of this LoadBalancer.
|
983
983
|
:rtype: list[:class:`huaweicloudsdkelb.v3.GlobalEipInfo`]
|
@@ -988,7 +988,7 @@ class LoadBalancer:
|
|
988
988
|
def global_eips(self, global_eips):
|
989
989
|
"""Sets the global_eips of this LoadBalancer.
|
990
990
|
|
991
|
-
负载均衡器绑定的global eip。只支持绑定一个globaleip。 [不支持该字段,请勿使用。](tag:hws_eu,g42,hk_g42,dt,dt_test,hcso_dt,fcs,ctc,ocb,hws_ocb)
|
991
|
+
负载均衡器绑定的global eip。只支持绑定一个globaleip。 [不支持该字段,请勿使用。](tag:hws_eu,g42,hk_g42,dt,dt_test,hcso_dt,hk_vdf,fcs,ctc,ocb,hws_ocb)
|
992
992
|
|
993
993
|
:param global_eips: The global_eips of this LoadBalancer.
|
994
994
|
:type global_eips: list[:class:`huaweicloudsdkelb.v3.GlobalEipInfo`]
|
@@ -1043,7 +1043,7 @@ class LoadBalancer:
|
|
1043
1043
|
def ip_target_enable(self):
|
1044
1044
|
"""Gets the ip_target_enable of this LoadBalancer.
|
1045
1045
|
|
1046
|
-
是否启用跨VPC后端转发。 开启跨VPC后端转发后,后端服务器组不仅支持添加云上VPC内的服务器,还支持添加其他VPC、其他公有云、云下数据中心的服务器。 使用共享VPC的实例使用此特性时,需确保共享资源所有者已开通VPC对等连接,否则通信异常。 [仅独享型负载均衡器支持该特性。 ](tag:hws,hws_hk,ocb,ctc,hcs,g42,tm,cmcc,hk_g42,hws_ocb,fcs,dt) 取值: - true:开启。 - false:不开启。 使用说明: - 开启不能关闭。 [荷兰region不支持该字段,请勿使用。](tag:dt)
|
1046
|
+
是否启用跨VPC后端转发。 开启跨VPC后端转发后,后端服务器组不仅支持添加云上VPC内的服务器,还支持添加其他VPC、其他公有云、云下数据中心的服务器。 使用共享VPC的实例使用此特性时,需确保共享资源所有者已开通VPC对等连接,否则通信异常。 [仅独享型负载均衡器支持该特性。 ](tag:hws,hws_hk,ocb,ctc,hcs,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,fcs,dt) 取值: - true:开启。 - false:不开启。 使用说明: - 开启不能关闭。 [荷兰region不支持该字段,请勿使用。](tag:dt,dt_test)
|
1047
1047
|
|
1048
1048
|
:return: The ip_target_enable of this LoadBalancer.
|
1049
1049
|
:rtype: bool
|
@@ -1054,7 +1054,7 @@ class LoadBalancer:
|
|
1054
1054
|
def ip_target_enable(self, ip_target_enable):
|
1055
1055
|
"""Sets the ip_target_enable of this LoadBalancer.
|
1056
1056
|
|
1057
|
-
是否启用跨VPC后端转发。 开启跨VPC后端转发后,后端服务器组不仅支持添加云上VPC内的服务器,还支持添加其他VPC、其他公有云、云下数据中心的服务器。 使用共享VPC的实例使用此特性时,需确保共享资源所有者已开通VPC对等连接,否则通信异常。 [仅独享型负载均衡器支持该特性。 ](tag:hws,hws_hk,ocb,ctc,hcs,g42,tm,cmcc,hk_g42,hws_ocb,fcs,dt) 取值: - true:开启。 - false:不开启。 使用说明: - 开启不能关闭。 [荷兰region不支持该字段,请勿使用。](tag:dt)
|
1057
|
+
是否启用跨VPC后端转发。 开启跨VPC后端转发后,后端服务器组不仅支持添加云上VPC内的服务器,还支持添加其他VPC、其他公有云、云下数据中心的服务器。 使用共享VPC的实例使用此特性时,需确保共享资源所有者已开通VPC对等连接,否则通信异常。 [仅独享型负载均衡器支持该特性。 ](tag:hws,hws_hk,ocb,ctc,hcs,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,fcs,dt) 取值: - true:开启。 - false:不开启。 使用说明: - 开启不能关闭。 [荷兰region不支持该字段,请勿使用。](tag:dt,dt_test)
|
1058
1058
|
|
1059
1059
|
:param ip_target_enable: The ip_target_enable of this LoadBalancer.
|
1060
1060
|
:type ip_target_enable: bool
|
@@ -1105,7 +1105,7 @@ class LoadBalancer:
|
|
1105
1105
|
def deletion_protection_enable(self):
|
1106
1106
|
"""Gets the deletion_protection_enable of this LoadBalancer.
|
1107
1107
|
|
1108
|
-
是否开启删除保护。 取值: - false:不开启。 - true:开启。 >退场时需要先关闭所有资源的删除保护开关。 仅当前局点启用删除保护特性后才会返回该字段。 [不支持该字段,请勿使用。](tag:hws_eu,g42,hk_g42) [荷兰region不支持该字段,请勿使用。](tag:dt)
|
1108
|
+
是否开启删除保护。 取值: - false:不开启。 - true:开启。 >退场时需要先关闭所有资源的删除保护开关。 仅当前局点启用删除保护特性后才会返回该字段。 [不支持该字段,请勿使用。](tag:hws_eu,g42,hk_g42) [荷兰region不支持该字段,请勿使用。](tag:dt,dt_test)
|
1109
1109
|
|
1110
1110
|
:return: The deletion_protection_enable of this LoadBalancer.
|
1111
1111
|
:rtype: bool
|
@@ -1116,7 +1116,7 @@ class LoadBalancer:
|
|
1116
1116
|
def deletion_protection_enable(self, deletion_protection_enable):
|
1117
1117
|
"""Sets the deletion_protection_enable of this LoadBalancer.
|
1118
1118
|
|
1119
|
-
是否开启删除保护。 取值: - false:不开启。 - true:开启。 >退场时需要先关闭所有资源的删除保护开关。 仅当前局点启用删除保护特性后才会返回该字段。 [不支持该字段,请勿使用。](tag:hws_eu,g42,hk_g42) [荷兰region不支持该字段,请勿使用。](tag:dt)
|
1119
|
+
是否开启删除保护。 取值: - false:不开启。 - true:开启。 >退场时需要先关闭所有资源的删除保护开关。 仅当前局点启用删除保护特性后才会返回该字段。 [不支持该字段,请勿使用。](tag:hws_eu,g42,hk_g42) [荷兰region不支持该字段,请勿使用。](tag:dt,dt_test)
|
1120
1120
|
|
1121
1121
|
:param deletion_protection_enable: The deletion_protection_enable of this LoadBalancer.
|
1122
1122
|
:type deletion_protection_enable: bool
|
@@ -1189,7 +1189,7 @@ class LoadBalancer:
|
|
1189
1189
|
def waf_failure_action(self):
|
1190
1190
|
"""Gets the waf_failure_action of this LoadBalancer.
|
1191
1191
|
|
1192
|
-
WAF故障时的流量处理策略。discard:丢弃,forward: 转发到后端(默认) 使用说明:只有绑定了waf的LB实例,该字段才会生效。 [不支持该字段,请勿使用。](tag:hws_hk,hws_eu,hws_test,hcs,hcs_sm,hcso,fcs,fcs_vm,mix,hcso_g42,hcso_g42_b,hcso_dt,dt,dt_test,ocb,ctc,cmcc,tm,sbc,g42,hws_ocb,hk_sbc,hk_tm,hk_g42)
|
1192
|
+
WAF故障时的流量处理策略。discard:丢弃,forward: 转发到后端(默认) 使用说明:只有绑定了waf的LB实例,该字段才会生效。 [不支持该字段,请勿使用。](tag:hws_hk,hws_eu,hws_test,hcs,hcs_sm,hcso,hk_vdf,fcs,fcs_vm,mix,hcso_g42,hcso_g42_b,hcso_dt,dt,dt_test,ocb,ctc,cmcc,tm,sbc,g42,hws_ocb,hk_sbc,hk_tm,hk_g42)
|
1193
1193
|
|
1194
1194
|
:return: The waf_failure_action of this LoadBalancer.
|
1195
1195
|
:rtype: str
|
@@ -1200,7 +1200,7 @@ class LoadBalancer:
|
|
1200
1200
|
def waf_failure_action(self, waf_failure_action):
|
1201
1201
|
"""Sets the waf_failure_action of this LoadBalancer.
|
1202
1202
|
|
1203
|
-
WAF故障时的流量处理策略。discard:丢弃,forward: 转发到后端(默认) 使用说明:只有绑定了waf的LB实例,该字段才会生效。 [不支持该字段,请勿使用。](tag:hws_hk,hws_eu,hws_test,hcs,hcs_sm,hcso,fcs,fcs_vm,mix,hcso_g42,hcso_g42_b,hcso_dt,dt,dt_test,ocb,ctc,cmcc,tm,sbc,g42,hws_ocb,hk_sbc,hk_tm,hk_g42)
|
1203
|
+
WAF故障时的流量处理策略。discard:丢弃,forward: 转发到后端(默认) 使用说明:只有绑定了waf的LB实例,该字段才会生效。 [不支持该字段,请勿使用。](tag:hws_hk,hws_eu,hws_test,hcs,hcs_sm,hcso,hk_vdf,fcs,fcs_vm,mix,hcso_g42,hcso_g42_b,hcso_dt,dt,dt_test,ocb,ctc,cmcc,tm,sbc,g42,hws_ocb,hk_sbc,hk_tm,hk_g42)
|
1204
1204
|
|
1205
1205
|
:param waf_failure_action: The waf_failure_action of this LoadBalancer.
|
1206
1206
|
:type waf_failure_action: str
|
@@ -41,7 +41,7 @@ class LoadBalancerStatusPolicy:
|
|
41
41
|
:type action: str
|
42
42
|
:param id: 转发策略ID。
|
43
43
|
:type id: str
|
44
|
-
:param provisioning_status: 转发策略的配置状态。 取值范围: - ACTIVE: 默认值,表示正常。 [- ERROR: 表示当前策略与同一监听器下的其他策略存在相同的规则配置。 ](tag:hws,hws_hk,ocb,ctc,hcs,g42,tm,cmcc,hk_g42,hws_ocb,fcs)
|
44
|
+
:param provisioning_status: 转发策略的配置状态。 取值范围: - ACTIVE: 默认值,表示正常。 [- ERROR: 表示当前策略与同一监听器下的其他策略存在相同的规则配置。 ](tag:hws,hws_hk,ocb,ctc,hcs,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,fcs)
|
45
45
|
:type provisioning_status: str
|
46
46
|
:param name: 转发策略名称。
|
47
47
|
:type name: str
|
@@ -117,7 +117,7 @@ class LoadBalancerStatusPolicy:
|
|
117
117
|
def provisioning_status(self):
|
118
118
|
"""Gets the provisioning_status of this LoadBalancerStatusPolicy.
|
119
119
|
|
120
|
-
转发策略的配置状态。 取值范围: - ACTIVE: 默认值,表示正常。 [- ERROR: 表示当前策略与同一监听器下的其他策略存在相同的规则配置。 ](tag:hws,hws_hk,ocb,ctc,hcs,g42,tm,cmcc,hk_g42,hws_ocb,fcs)
|
120
|
+
转发策略的配置状态。 取值范围: - ACTIVE: 默认值,表示正常。 [- ERROR: 表示当前策略与同一监听器下的其他策略存在相同的规则配置。 ](tag:hws,hws_hk,ocb,ctc,hcs,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,fcs)
|
121
121
|
|
122
122
|
:return: The provisioning_status of this LoadBalancerStatusPolicy.
|
123
123
|
:rtype: str
|
@@ -128,7 +128,7 @@ class LoadBalancerStatusPolicy:
|
|
128
128
|
def provisioning_status(self, provisioning_status):
|
129
129
|
"""Sets the provisioning_status of this LoadBalancerStatusPolicy.
|
130
130
|
|
131
|
-
转发策略的配置状态。 取值范围: - ACTIVE: 默认值,表示正常。 [- ERROR: 表示当前策略与同一监听器下的其他策略存在相同的规则配置。 ](tag:hws,hws_hk,ocb,ctc,hcs,g42,tm,cmcc,hk_g42,hws_ocb,fcs)
|
131
|
+
转发策略的配置状态。 取值范围: - ACTIVE: 默认值,表示正常。 [- ERROR: 表示当前策略与同一监听器下的其他策略存在相同的规则配置。 ](tag:hws,hws_hk,ocb,ctc,hcs,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,fcs)
|
132
132
|
|
133
133
|
:param provisioning_status: The provisioning_status of this LoadBalancerStatusPolicy.
|
134
134
|
:type provisioning_status: str
|
@@ -59,9 +59,9 @@ class MasterSlaveHealthMonitor:
|
|
59
59
|
:type delay: int
|
60
60
|
:param domain_name: 发送健康检查请求的域名。 取值:以数字或字母开头,只能包含数字、字母、’-’、’.’。 默认为空,表示使用负载均衡器的vip作为http请求的目的地址。 使用说明:当type为HTTP/HTTPS时生效。
|
61
61
|
:type domain_name: str
|
62
|
-
:param expected_codes: 期望响应状态码。 取值: - 单值:单个返回码,例如200。 - 列表:多个特定返回码,例如200,202。 - 区间:一个返回码区间,例如200-204。 默认值:200。 仅支持HTTP/HTTPS设置该字段,其他协议设置不会生效。
|
62
|
+
:param expected_codes: 期望响应状态码。 取值: - 单值:单个返回码,例如200。 - 列表:多个特定返回码,例如200,202。 - 区间:一个返回码区间,例如200-204。 默认值:200。 仅支持HTTP/HTTPS/GRPC设置该字段,其他协议设置不会生效。
|
63
63
|
:type expected_codes: str
|
64
|
-
:param http_method: HTTP请求方法。 取值:GET、HEAD、POST
|
64
|
+
:param http_method: HTTP请求方法。 取值:GET、HEAD、POST,默认GET。 使用说明:当type为HTTP/HTTPS时生效。
|
65
65
|
:type http_method: str
|
66
66
|
:param id: 健康检查ID
|
67
67
|
:type id: str
|
@@ -182,7 +182,7 @@ class MasterSlaveHealthMonitor:
|
|
182
182
|
def expected_codes(self):
|
183
183
|
"""Gets the expected_codes of this MasterSlaveHealthMonitor.
|
184
184
|
|
185
|
-
期望响应状态码。 取值: - 单值:单个返回码,例如200。 - 列表:多个特定返回码,例如200,202。 - 区间:一个返回码区间,例如200-204。 默认值:200。 仅支持HTTP/HTTPS设置该字段,其他协议设置不会生效。
|
185
|
+
期望响应状态码。 取值: - 单值:单个返回码,例如200。 - 列表:多个特定返回码,例如200,202。 - 区间:一个返回码区间,例如200-204。 默认值:200。 仅支持HTTP/HTTPS/GRPC设置该字段,其他协议设置不会生效。
|
186
186
|
|
187
187
|
:return: The expected_codes of this MasterSlaveHealthMonitor.
|
188
188
|
:rtype: str
|
@@ -193,7 +193,7 @@ class MasterSlaveHealthMonitor:
|
|
193
193
|
def expected_codes(self, expected_codes):
|
194
194
|
"""Sets the expected_codes of this MasterSlaveHealthMonitor.
|
195
195
|
|
196
|
-
期望响应状态码。 取值: - 单值:单个返回码,例如200。 - 列表:多个特定返回码,例如200,202。 - 区间:一个返回码区间,例如200-204。 默认值:200。 仅支持HTTP/HTTPS设置该字段,其他协议设置不会生效。
|
196
|
+
期望响应状态码。 取值: - 单值:单个返回码,例如200。 - 列表:多个特定返回码,例如200,202。 - 区间:一个返回码区间,例如200-204。 默认值:200。 仅支持HTTP/HTTPS/GRPC设置该字段,其他协议设置不会生效。
|
197
197
|
|
198
198
|
:param expected_codes: The expected_codes of this MasterSlaveHealthMonitor.
|
199
199
|
:type expected_codes: str
|
@@ -204,7 +204,7 @@ class MasterSlaveHealthMonitor:
|
|
204
204
|
def http_method(self):
|
205
205
|
"""Gets the http_method of this MasterSlaveHealthMonitor.
|
206
206
|
|
207
|
-
HTTP请求方法。 取值:GET、HEAD、POST
|
207
|
+
HTTP请求方法。 取值:GET、HEAD、POST,默认GET。 使用说明:当type为HTTP/HTTPS时生效。
|
208
208
|
|
209
209
|
:return: The http_method of this MasterSlaveHealthMonitor.
|
210
210
|
:rtype: str
|
@@ -215,7 +215,7 @@ class MasterSlaveHealthMonitor:
|
|
215
215
|
def http_method(self, http_method):
|
216
216
|
"""Sets the http_method of this MasterSlaveHealthMonitor.
|
217
217
|
|
218
|
-
HTTP请求方法。 取值:GET、HEAD、POST
|
218
|
+
HTTP请求方法。 取值:GET、HEAD、POST,默认GET。 使用说明:当type为HTTP/HTTPS时生效。
|
219
219
|
|
220
220
|
:param http_method: The http_method of this MasterSlaveHealthMonitor.
|
221
221
|
:type http_method: str
|
@@ -65,7 +65,7 @@ class MasterSlaveMember:
|
|
65
65
|
:type subnet_cidr_id: str
|
66
66
|
:param protocol_port: 后端服务器业务端口。 >在开启端口透传的pool下创建member传该字段不生效,可不传该字段。
|
67
67
|
:type protocol_port: int
|
68
|
-
:param address: 后端服务器对应的IP地址。 使用说明: - 若subnet_cidr_id为空,表示添加跨VPC后端,此时address必须为IPv4地址。 - 若subnet_cidr_id不为空,表示是一个关联到ECS的后端服务器。该IP
|
68
|
+
:param address: 后端服务器对应的IP地址。 使用说明: - 若subnet_cidr_id为空,表示添加跨VPC后端,此时address必须为IPv4地址。 - 若subnet_cidr_id不为空,表示是一个关联到ECS的后端服务器。该IP地址可以是私网IPv4或IPv6。 但必须在subnet_cidr_id对应的子网网段中。且只能指定为关联ECS的主网卡内网IP。 [不支持IPv6,请勿设置为IPv6地址。](tag:dt,dt_test)
|
69
69
|
:type address: str
|
70
70
|
:param ip_version: 当前后端服务器的IP地址版本,由后端系统自动根据传入的address字段确定。取值:v4、v6。
|
71
71
|
:type ip_version: str
|
@@ -232,7 +232,7 @@ class MasterSlaveMember:
|
|
232
232
|
def address(self):
|
233
233
|
"""Gets the address of this MasterSlaveMember.
|
234
234
|
|
235
|
-
后端服务器对应的IP地址。 使用说明: - 若subnet_cidr_id为空,表示添加跨VPC后端,此时address必须为IPv4地址。 - 若subnet_cidr_id不为空,表示是一个关联到ECS的后端服务器。该IP
|
235
|
+
后端服务器对应的IP地址。 使用说明: - 若subnet_cidr_id为空,表示添加跨VPC后端,此时address必须为IPv4地址。 - 若subnet_cidr_id不为空,表示是一个关联到ECS的后端服务器。该IP地址可以是私网IPv4或IPv6。 但必须在subnet_cidr_id对应的子网网段中。且只能指定为关联ECS的主网卡内网IP。 [不支持IPv6,请勿设置为IPv6地址。](tag:dt,dt_test)
|
236
236
|
|
237
237
|
:return: The address of this MasterSlaveMember.
|
238
238
|
:rtype: str
|
@@ -243,7 +243,7 @@ class MasterSlaveMember:
|
|
243
243
|
def address(self, address):
|
244
244
|
"""Sets the address of this MasterSlaveMember.
|
245
245
|
|
246
|
-
后端服务器对应的IP地址。 使用说明: - 若subnet_cidr_id为空,表示添加跨VPC后端,此时address必须为IPv4地址。 - 若subnet_cidr_id不为空,表示是一个关联到ECS的后端服务器。该IP
|
246
|
+
后端服务器对应的IP地址。 使用说明: - 若subnet_cidr_id为空,表示添加跨VPC后端,此时address必须为IPv4地址。 - 若subnet_cidr_id不为空,表示是一个关联到ECS的后端服务器。该IP地址可以是私网IPv4或IPv6。 但必须在subnet_cidr_id对应的子网网段中。且只能指定为关联ECS的主网卡内网IP。 [不支持IPv6,请勿设置为IPv6地址。](tag:dt,dt_test)
|
247
247
|
|
248
248
|
:param address: The address of this MasterSlaveMember.
|
249
249
|
:type address: str
|
@@ -81,15 +81,15 @@ class MasterSlavePool:
|
|
81
81
|
:type name: str
|
82
82
|
:param project_id: 后端云服务器组所在的项目ID。
|
83
83
|
:type project_id: str
|
84
|
-
:param protocol: 后端云服务器组的后端协议。 取值:TCP、UDP、
|
84
|
+
:param protocol: 后端云服务器组的后端协议。 取值:TCP、UDP、QUIC、TLS。 使用说明: - listener的protocol为UDP时,pool的protocol必须为UDP或QUIC。 - listener的protocol为TCP时,pool的protocol必须为TCP。 - listener的protocol为TLS时,pool的protocol必须为TLS或TCP。 - 其他协议监听器不支持主备后端服务器组。 [不支持QUIC。](tag:tm,hws_eu,g42,hk_g42,hcso_dt) [荷兰region不支持QUIC。](tag:dt,dt_test)
|
85
85
|
:type protocol: str
|
86
86
|
:param session_persistence:
|
87
87
|
:type session_persistence: :class:`huaweicloudsdkelb.v3.SessionPersistence`
|
88
|
-
:param ip_version: 后端云服务器组支持的IP版本。 [取值: - 共享型:固定为v4; - 独享型:取值dualstack、v4、v6。当协议为TCP/UDP时,ip_version为dualstack,表示双栈。 当协议为HTTP时,ip_version为v4。 ](tag:hws,hws_hk,ocb,ctc,hcs,g42,tm,cmcc,hk_g42,hws_ocb,fcs) [取值:dualstack、v4、v6。当协议为TCP/UDP时,ip_version为dualstack,表示双栈。 当协议为HTTP时,ip_version为v4。](tag:hcso_dt) [不支持IPv6,只会返回v4。](tag:dt,dt_test)
|
88
|
+
:param ip_version: 后端云服务器组支持的IP版本。 [取值: - 共享型:固定为v4; - 独享型:取值dualstack、v4、v6。当协议为TCP/UDP时,ip_version为dualstack,表示双栈。 当协议为HTTP时,ip_version为v4。 ](tag:hws,hws_hk,ocb,ctc,hcs,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,fcs) [取值:dualstack、v4、v6。当协议为TCP/UDP时,ip_version为dualstack,表示双栈。 当协议为HTTP时,ip_version为v4。](tag:hcso_dt) [不支持IPv6,只会返回v4。](tag:dt,dt_test)
|
89
89
|
:type ip_version: str
|
90
|
-
: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,fcs,dt,hk_tm)
|
90
|
+
: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)
|
91
91
|
:type created_at: str
|
92
|
-
: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,fcs,dt,hk_tm)
|
92
|
+
: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)
|
93
93
|
:type updated_at: str
|
94
94
|
:param vpc_id: 后端云服务器组关联的虚拟私有云的ID。
|
95
95
|
:type vpc_id: str
|
@@ -99,7 +99,7 @@ class MasterSlavePool:
|
|
99
99
|
:type enterprise_project_id: str
|
100
100
|
:param healthmonitor:
|
101
101
|
:type healthmonitor: :class:`huaweicloudsdkelb.v3.MasterSlaveHealthMonitor`
|
102
|
-
:param any_port_enable:
|
102
|
+
:param any_port_enable: 后端是否开启端口透传。开启后,后端服务器端口与前端监听器端口保持一致。关闭后,请求会转发给后端服务器protocol_port字段指定端口。取值:false不开启,true开启。 使用说明: - 仅QUIC,TCP,UDP的pool支持。
|
103
103
|
:type any_port_enable: bool
|
104
104
|
:param connection_drain:
|
105
105
|
:type connection_drain: :class:`huaweicloudsdkelb.v3.ConnectionDrain`
|
@@ -330,7 +330,7 @@ class MasterSlavePool:
|
|
330
330
|
def protocol(self):
|
331
331
|
"""Gets the protocol of this MasterSlavePool.
|
332
332
|
|
333
|
-
后端云服务器组的后端协议。 取值:TCP、UDP、
|
333
|
+
后端云服务器组的后端协议。 取值:TCP、UDP、QUIC、TLS。 使用说明: - listener的protocol为UDP时,pool的protocol必须为UDP或QUIC。 - listener的protocol为TCP时,pool的protocol必须为TCP。 - listener的protocol为TLS时,pool的protocol必须为TLS或TCP。 - 其他协议监听器不支持主备后端服务器组。 [不支持QUIC。](tag:tm,hws_eu,g42,hk_g42,hcso_dt) [荷兰region不支持QUIC。](tag:dt,dt_test)
|
334
334
|
|
335
335
|
:return: The protocol of this MasterSlavePool.
|
336
336
|
:rtype: str
|
@@ -341,7 +341,7 @@ class MasterSlavePool:
|
|
341
341
|
def protocol(self, protocol):
|
342
342
|
"""Sets the protocol of this MasterSlavePool.
|
343
343
|
|
344
|
-
后端云服务器组的后端协议。 取值:TCP、UDP、
|
344
|
+
后端云服务器组的后端协议。 取值:TCP、UDP、QUIC、TLS。 使用说明: - listener的protocol为UDP时,pool的protocol必须为UDP或QUIC。 - listener的protocol为TCP时,pool的protocol必须为TCP。 - listener的protocol为TLS时,pool的protocol必须为TLS或TCP。 - 其他协议监听器不支持主备后端服务器组。 [不支持QUIC。](tag:tm,hws_eu,g42,hk_g42,hcso_dt) [荷兰region不支持QUIC。](tag:dt,dt_test)
|
345
345
|
|
346
346
|
:param protocol: The protocol of this MasterSlavePool.
|
347
347
|
:type protocol: str
|
@@ -370,7 +370,7 @@ class MasterSlavePool:
|
|
370
370
|
def ip_version(self):
|
371
371
|
"""Gets the ip_version of this MasterSlavePool.
|
372
372
|
|
373
|
-
后端云服务器组支持的IP版本。 [取值: - 共享型:固定为v4; - 独享型:取值dualstack、v4、v6。当协议为TCP/UDP时,ip_version为dualstack,表示双栈。 当协议为HTTP时,ip_version为v4。 ](tag:hws,hws_hk,ocb,ctc,hcs,g42,tm,cmcc,hk_g42,hws_ocb,fcs) [取值:dualstack、v4、v6。当协议为TCP/UDP时,ip_version为dualstack,表示双栈。 当协议为HTTP时,ip_version为v4。](tag:hcso_dt) [不支持IPv6,只会返回v4。](tag:dt,dt_test)
|
373
|
+
后端云服务器组支持的IP版本。 [取值: - 共享型:固定为v4; - 独享型:取值dualstack、v4、v6。当协议为TCP/UDP时,ip_version为dualstack,表示双栈。 当协议为HTTP时,ip_version为v4。 ](tag:hws,hws_hk,ocb,ctc,hcs,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,fcs) [取值:dualstack、v4、v6。当协议为TCP/UDP时,ip_version为dualstack,表示双栈。 当协议为HTTP时,ip_version为v4。](tag:hcso_dt) [不支持IPv6,只会返回v4。](tag:dt,dt_test)
|
374
374
|
|
375
375
|
:return: The ip_version of this MasterSlavePool.
|
376
376
|
:rtype: str
|
@@ -381,7 +381,7 @@ class MasterSlavePool:
|
|
381
381
|
def ip_version(self, ip_version):
|
382
382
|
"""Sets the ip_version of this MasterSlavePool.
|
383
383
|
|
384
|
-
后端云服务器组支持的IP版本。 [取值: - 共享型:固定为v4; - 独享型:取值dualstack、v4、v6。当协议为TCP/UDP时,ip_version为dualstack,表示双栈。 当协议为HTTP时,ip_version为v4。 ](tag:hws,hws_hk,ocb,ctc,hcs,g42,tm,cmcc,hk_g42,hws_ocb,fcs) [取值:dualstack、v4、v6。当协议为TCP/UDP时,ip_version为dualstack,表示双栈。 当协议为HTTP时,ip_version为v4。](tag:hcso_dt) [不支持IPv6,只会返回v4。](tag:dt,dt_test)
|
384
|
+
后端云服务器组支持的IP版本。 [取值: - 共享型:固定为v4; - 独享型:取值dualstack、v4、v6。当协议为TCP/UDP时,ip_version为dualstack,表示双栈。 当协议为HTTP时,ip_version为v4。 ](tag:hws,hws_hk,ocb,ctc,hcs,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,fcs) [取值:dualstack、v4、v6。当协议为TCP/UDP时,ip_version为dualstack,表示双栈。 当协议为HTTP时,ip_version为v4。](tag:hcso_dt) [不支持IPv6,只会返回v4。](tag:dt,dt_test)
|
385
385
|
|
386
386
|
:param ip_version: The ip_version of this MasterSlavePool.
|
387
387
|
:type ip_version: str
|
@@ -392,7 +392,7 @@ class MasterSlavePool:
|
|
392
392
|
def created_at(self):
|
393
393
|
"""Gets the created_at of this MasterSlavePool.
|
394
394
|
|
395
|
-
创建时间。格式:yyyy-MM-dd'T'HH:mm:ss'Z',UTC时区。 [注意:独享型实例的历史数据以及共享型实例下的资源,不返回该字段。 ](tag:hws,hws_hk,ocb,ctc,g42,tm,cmcc,hk_g42,hws_ocb,fcs,dt,hk_tm)
|
395
|
+
创建时间。格式: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)
|
396
396
|
|
397
397
|
:return: The created_at of this MasterSlavePool.
|
398
398
|
:rtype: str
|
@@ -403,7 +403,7 @@ class MasterSlavePool:
|
|
403
403
|
def created_at(self, created_at):
|
404
404
|
"""Sets the created_at of this MasterSlavePool.
|
405
405
|
|
406
|
-
创建时间。格式:yyyy-MM-dd'T'HH:mm:ss'Z',UTC时区。 [注意:独享型实例的历史数据以及共享型实例下的资源,不返回该字段。 ](tag:hws,hws_hk,ocb,ctc,g42,tm,cmcc,hk_g42,hws_ocb,fcs,dt,hk_tm)
|
406
|
+
创建时间。格式: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)
|
407
407
|
|
408
408
|
:param created_at: The created_at of this MasterSlavePool.
|
409
409
|
:type created_at: str
|
@@ -414,7 +414,7 @@ class MasterSlavePool:
|
|
414
414
|
def updated_at(self):
|
415
415
|
"""Gets the updated_at of this MasterSlavePool.
|
416
416
|
|
417
|
-
更新时间。格式:yyyy-MM-dd'T'HH:mm:ss'Z',UTC时区。 [注意:独享型实例的历史数据以及共享型实例下的资源,不返回该字段。 ](tag:hws,hws_hk,ocb,ctc,g42,tm,cmcc,hk_g42,hws_ocb,fcs,dt,hk_tm)
|
417
|
+
更新时间。格式: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)
|
418
418
|
|
419
419
|
:return: The updated_at of this MasterSlavePool.
|
420
420
|
:rtype: str
|
@@ -425,7 +425,7 @@ class MasterSlavePool:
|
|
425
425
|
def updated_at(self, updated_at):
|
426
426
|
"""Sets the updated_at of this MasterSlavePool.
|
427
427
|
|
428
|
-
更新时间。格式:yyyy-MM-dd'T'HH:mm:ss'Z',UTC时区。 [注意:独享型实例的历史数据以及共享型实例下的资源,不返回该字段。 ](tag:hws,hws_hk,ocb,ctc,g42,tm,cmcc,hk_g42,hws_ocb,fcs,dt,hk_tm)
|
428
|
+
更新时间。格式: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)
|
429
429
|
|
430
430
|
:param updated_at: The updated_at of this MasterSlavePool.
|
431
431
|
:type updated_at: str
|
@@ -520,7 +520,7 @@ class MasterSlavePool:
|
|
520
520
|
def any_port_enable(self):
|
521
521
|
"""Gets the any_port_enable of this MasterSlavePool.
|
522
522
|
|
523
|
-
|
523
|
+
后端是否开启端口透传。开启后,后端服务器端口与前端监听器端口保持一致。关闭后,请求会转发给后端服务器protocol_port字段指定端口。取值:false不开启,true开启。 使用说明: - 仅QUIC,TCP,UDP的pool支持。
|
524
524
|
|
525
525
|
:return: The any_port_enable of this MasterSlavePool.
|
526
526
|
:rtype: bool
|
@@ -531,7 +531,7 @@ class MasterSlavePool:
|
|
531
531
|
def any_port_enable(self, any_port_enable):
|
532
532
|
"""Sets the any_port_enable of this MasterSlavePool.
|
533
533
|
|
534
|
-
|
534
|
+
后端是否开启端口透传。开启后,后端服务器端口与前端监听器端口保持一致。关闭后,请求会转发给后端服务器protocol_port字段指定端口。取值:false不开启,true开启。 使用说明: - 仅QUIC,TCP,UDP的pool支持。
|
535
535
|
|
536
536
|
:param any_port_enable: The any_port_enable of this MasterSlavePool.
|
537
537
|
:type any_port_enable: bool
|