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
@@ -87,7 +87,7 @@ class Pool:
|
|
87
87
|
:type healthmonitor_id: str
|
88
88
|
:param id: 后端云服务器组的ID。
|
89
89
|
:type id: str
|
90
|
-
:param lb_algorithm: 后端云服务器组的负载均衡算法。 取值: - ROUND_ROBIN:加权轮询算法。 - LEAST_CONNECTIONS:加权最少连接算法。 - SOURCE_IP:源IP算法。 - QUIC_CID:连接ID算法。 [- 2_TUPLE_HASH:二元组hash算法,仅IP类型的pool支持。 - 3_TUPLE_HASH:三元组hash算法,仅IP类型的pool支持。 -
|
90
|
+
:param lb_algorithm: 后端云服务器组的负载均衡算法。 取值: - ROUND_ROBIN:加权轮询算法。 - LEAST_CONNECTIONS:加权最少连接算法。 - SOURCE_IP:源IP算法。 - QUIC_CID:连接ID算法。 [- 2_TUPLE_HASH:二元组hash算法,仅IP类型的pool支持。 - 3_TUPLE_HASH:三元组hash算法,仅IP类型的pool支持。 - 5_TUPLE_HASH:五元组hash算法,仅IP类型的pool支持。 - IP型pool不指定该字段时,默认设置为5_TUPLE_HASH。](tag:hws_eu) 使用说明: - 当该字段的取值为SOURCE_IP时,后端云服务器组绑定的后端云服务器的weight字段无效。 - 只有pool的protocol为QUIC时,才支持QUIC_CID算法。 [不支持QUIC_CID算法。](tag:hws_eu,g42,hk_g42,hcso_dt) [荷兰region不支持QUIC_CID。](tag:dt,dt_test)
|
91
91
|
:type lb_algorithm: str
|
92
92
|
:param listeners: 后端云服务器组关联的监听器ID列表。
|
93
93
|
:type listeners: list[:class:`huaweicloudsdkelb.v3.ListenerRef`]
|
@@ -99,7 +99,7 @@ class Pool:
|
|
99
99
|
:type name: str
|
100
100
|
:param project_id: 后端云服务器组所在的项目ID。
|
101
101
|
:type project_id: str
|
102
|
-
:param protocol: 后端云服务器组的后端协议。 取值:TCP、UDP、[IP、](tag:hws_eu)TLS、
|
102
|
+
:param protocol: 后端云服务器组的后端协议。 取值:TCP、UDP、[IP、](tag:hws_eu)TLS、gRPC、HTTP、HTTPS和QUIC。 使用说明: - listener的protocol为UDP时,pool的protocol必须为UDP或QUIC。 - listener的protocol为TCP时pool的protocol必须为TCP。 [- listener的protocol为IP时,pool的protocol必须为IP。](tag:hws_eu) - listener的protocol为HTTP时,pool的protocol必须为HTTP。 - listener的protocol为HTTPS时,pool的protocol必须为HTTP、HTTPS或gRPC。 - listener的protocol为TERMINATED_HTTPS时,pool的protocol必须为HTTP。 - listener的protocol为QUIC时,pool的protocol必须为HTTP、HTTPS或gRPC。 - listener的protocol为TLS时,pool的protocol必须为TLS或TCP。 - 若pool的protocol为QUIC,则必须开启session_persistence且type为SOURCE_IP。 - 若pool的protocol为gRPC,关联监听器必须开启HTTP2。 - 若pool的protocol为TCP,则pool的ip_version字段取值必须是4。 [不支持QUIC。](tag:tm,hws_eu,g42,hk_g42,hcso_dt) [荷兰region不支持QUIC。](tag:dt,dt_test)
|
103
103
|
:type protocol: str
|
104
104
|
:param session_persistence:
|
105
105
|
:type session_persistence: :class:`huaweicloudsdkelb.v3.SessionPersistence`
|
@@ -291,7 +291,7 @@ class Pool:
|
|
291
291
|
def lb_algorithm(self):
|
292
292
|
"""Gets the lb_algorithm of this Pool.
|
293
293
|
|
294
|
-
后端云服务器组的负载均衡算法。 取值: - ROUND_ROBIN:加权轮询算法。 - LEAST_CONNECTIONS:加权最少连接算法。 - SOURCE_IP:源IP算法。 - QUIC_CID:连接ID算法。 [- 2_TUPLE_HASH:二元组hash算法,仅IP类型的pool支持。 - 3_TUPLE_HASH:三元组hash算法,仅IP类型的pool支持。 -
|
294
|
+
后端云服务器组的负载均衡算法。 取值: - ROUND_ROBIN:加权轮询算法。 - LEAST_CONNECTIONS:加权最少连接算法。 - SOURCE_IP:源IP算法。 - QUIC_CID:连接ID算法。 [- 2_TUPLE_HASH:二元组hash算法,仅IP类型的pool支持。 - 3_TUPLE_HASH:三元组hash算法,仅IP类型的pool支持。 - 5_TUPLE_HASH:五元组hash算法,仅IP类型的pool支持。 - IP型pool不指定该字段时,默认设置为5_TUPLE_HASH。](tag:hws_eu) 使用说明: - 当该字段的取值为SOURCE_IP时,后端云服务器组绑定的后端云服务器的weight字段无效。 - 只有pool的protocol为QUIC时,才支持QUIC_CID算法。 [不支持QUIC_CID算法。](tag:hws_eu,g42,hk_g42,hcso_dt) [荷兰region不支持QUIC_CID。](tag:dt,dt_test)
|
295
295
|
|
296
296
|
:return: The lb_algorithm of this Pool.
|
297
297
|
:rtype: str
|
@@ -302,7 +302,7 @@ class Pool:
|
|
302
302
|
def lb_algorithm(self, lb_algorithm):
|
303
303
|
"""Sets the lb_algorithm of this Pool.
|
304
304
|
|
305
|
-
后端云服务器组的负载均衡算法。 取值: - ROUND_ROBIN:加权轮询算法。 - LEAST_CONNECTIONS:加权最少连接算法。 - SOURCE_IP:源IP算法。 - QUIC_CID:连接ID算法。 [- 2_TUPLE_HASH:二元组hash算法,仅IP类型的pool支持。 - 3_TUPLE_HASH:三元组hash算法,仅IP类型的pool支持。 -
|
305
|
+
后端云服务器组的负载均衡算法。 取值: - ROUND_ROBIN:加权轮询算法。 - LEAST_CONNECTIONS:加权最少连接算法。 - SOURCE_IP:源IP算法。 - QUIC_CID:连接ID算法。 [- 2_TUPLE_HASH:二元组hash算法,仅IP类型的pool支持。 - 3_TUPLE_HASH:三元组hash算法,仅IP类型的pool支持。 - 5_TUPLE_HASH:五元组hash算法,仅IP类型的pool支持。 - IP型pool不指定该字段时,默认设置为5_TUPLE_HASH。](tag:hws_eu) 使用说明: - 当该字段的取值为SOURCE_IP时,后端云服务器组绑定的后端云服务器的weight字段无效。 - 只有pool的protocol为QUIC时,才支持QUIC_CID算法。 [不支持QUIC_CID算法。](tag:hws_eu,g42,hk_g42,hcso_dt) [荷兰region不支持QUIC_CID。](tag:dt,dt_test)
|
306
306
|
|
307
307
|
:param lb_algorithm: The lb_algorithm of this Pool.
|
308
308
|
:type lb_algorithm: str
|
@@ -423,7 +423,7 @@ class Pool:
|
|
423
423
|
def protocol(self):
|
424
424
|
"""Gets the protocol of this Pool.
|
425
425
|
|
426
|
-
后端云服务器组的后端协议。 取值:TCP、UDP、[IP、](tag:hws_eu)TLS、
|
426
|
+
后端云服务器组的后端协议。 取值:TCP、UDP、[IP、](tag:hws_eu)TLS、gRPC、HTTP、HTTPS和QUIC。 使用说明: - listener的protocol为UDP时,pool的protocol必须为UDP或QUIC。 - listener的protocol为TCP时pool的protocol必须为TCP。 [- listener的protocol为IP时,pool的protocol必须为IP。](tag:hws_eu) - listener的protocol为HTTP时,pool的protocol必须为HTTP。 - listener的protocol为HTTPS时,pool的protocol必须为HTTP、HTTPS或gRPC。 - listener的protocol为TERMINATED_HTTPS时,pool的protocol必须为HTTP。 - listener的protocol为QUIC时,pool的protocol必须为HTTP、HTTPS或gRPC。 - listener的protocol为TLS时,pool的protocol必须为TLS或TCP。 - 若pool的protocol为QUIC,则必须开启session_persistence且type为SOURCE_IP。 - 若pool的protocol为gRPC,关联监听器必须开启HTTP2。 - 若pool的protocol为TCP,则pool的ip_version字段取值必须是4。 [不支持QUIC。](tag:tm,hws_eu,g42,hk_g42,hcso_dt) [荷兰region不支持QUIC。](tag:dt,dt_test)
|
427
427
|
|
428
428
|
:return: The protocol of this Pool.
|
429
429
|
:rtype: str
|
@@ -434,7 +434,7 @@ class Pool:
|
|
434
434
|
def protocol(self, protocol):
|
435
435
|
"""Sets the protocol of this Pool.
|
436
436
|
|
437
|
-
后端云服务器组的后端协议。 取值:TCP、UDP、[IP、](tag:hws_eu)TLS、
|
437
|
+
后端云服务器组的后端协议。 取值:TCP、UDP、[IP、](tag:hws_eu)TLS、gRPC、HTTP、HTTPS和QUIC。 使用说明: - listener的protocol为UDP时,pool的protocol必须为UDP或QUIC。 - listener的protocol为TCP时pool的protocol必须为TCP。 [- listener的protocol为IP时,pool的protocol必须为IP。](tag:hws_eu) - listener的protocol为HTTP时,pool的protocol必须为HTTP。 - listener的protocol为HTTPS时,pool的protocol必须为HTTP、HTTPS或gRPC。 - listener的protocol为TERMINATED_HTTPS时,pool的protocol必须为HTTP。 - listener的protocol为QUIC时,pool的protocol必须为HTTP、HTTPS或gRPC。 - listener的protocol为TLS时,pool的protocol必须为TLS或TCP。 - 若pool的protocol为QUIC,则必须开启session_persistence且type为SOURCE_IP。 - 若pool的protocol为gRPC,关联监听器必须开启HTTP2。 - 若pool的protocol为TCP,则pool的ip_version字段取值必须是4。 [不支持QUIC。](tag:tm,hws_eu,g42,hk_g42,hcso_dt) [荷兰region不支持QUIC。](tag:dt,dt_test)
|
438
438
|
|
439
439
|
:param protocol: The protocol of this Pool.
|
440
440
|
:type protocol: str
|
@@ -29,7 +29,7 @@ class PoolRef:
|
|
29
29
|
|
30
30
|
The model defined in huaweicloud sdk
|
31
31
|
|
32
|
-
:param id:
|
32
|
+
:param id: 参数解释:后端服务器组ID。
|
33
33
|
:type id: str
|
34
34
|
"""
|
35
35
|
|
@@ -44,7 +44,7 @@ class PoolRef:
|
|
44
44
|
def id(self):
|
45
45
|
"""Gets the id of this PoolRef.
|
46
46
|
|
47
|
-
|
47
|
+
参数解释:后端服务器组ID。
|
48
48
|
|
49
49
|
:return: The id of this PoolRef.
|
50
50
|
:rtype: str
|
@@ -55,7 +55,7 @@ class PoolRef:
|
|
55
55
|
def id(self, id):
|
56
56
|
"""Sets the id of this PoolRef.
|
57
57
|
|
58
|
-
|
58
|
+
参数解释:后端服务器组ID。
|
59
59
|
|
60
60
|
:param id: The id of this PoolRef.
|
61
61
|
:type id: str
|
@@ -37,7 +37,7 @@ class PrepaidCreateOption:
|
|
37
37
|
|
38
38
|
:param period_type: 参数解释:预付费实例的订购周期类型,当前支持月和年。 取值范围: - month:月。 - year:年。
|
39
39
|
:type period_type: str
|
40
|
-
:param period_num:
|
40
|
+
:param period_num: 参数解释:预付费实例的订购周期数。 取值范围: - period_type为month时,为[1,9]。 - period_type为year时,为[1,3]。
|
41
41
|
:type period_num: int
|
42
42
|
:param auto_renew: 参数解释:自动续订开关。 取值范围: - true:开启自动续订。 - false:关闭自动续订。
|
43
43
|
:type auto_renew: bool
|
@@ -87,7 +87,7 @@ class PrepaidCreateOption:
|
|
87
87
|
def period_num(self):
|
88
88
|
"""Gets the period_num of this PrepaidCreateOption.
|
89
89
|
|
90
|
-
|
90
|
+
参数解释:预付费实例的订购周期数。 取值范围: - period_type为month时,为[1,9]。 - period_type为year时,为[1,3]。
|
91
91
|
|
92
92
|
:return: The period_num of this PrepaidCreateOption.
|
93
93
|
:rtype: int
|
@@ -98,7 +98,7 @@ class PrepaidCreateOption:
|
|
98
98
|
def period_num(self, period_num):
|
99
99
|
"""Sets the period_num of this PrepaidCreateOption.
|
100
100
|
|
101
|
-
|
101
|
+
参数解释:预付费实例的订购周期数。 取值范围: - period_type为month时,为[1,9]。 - period_type为year时,为[1,3]。
|
102
102
|
|
103
103
|
:param period_num: The period_num of this PrepaidCreateOption.
|
104
104
|
:type period_num: int
|
@@ -33,11 +33,11 @@ class PublicIpInfo:
|
|
33
33
|
|
34
34
|
The model defined in huaweicloud sdk
|
35
35
|
|
36
|
-
:param publicip_id:
|
36
|
+
:param publicip_id: 参数解释:弹性公网ip配置id
|
37
37
|
:type publicip_id: str
|
38
|
-
:param publicip_address: IP地址
|
38
|
+
:param publicip_address: 参数解释:IP地址
|
39
39
|
:type publicip_address: str
|
40
|
-
:param ip_version: IP版本信息。
|
40
|
+
:param ip_version: 参数解释:IP版本信息。 取值范围:4和6 4:IPv4 6:IPv6 [不支持IPv6,请勿设置为6。](tag:dt,dt_test)
|
41
41
|
:type ip_version: int
|
42
42
|
"""
|
43
43
|
|
@@ -56,7 +56,7 @@ class PublicIpInfo:
|
|
56
56
|
def publicip_id(self):
|
57
57
|
"""Gets the publicip_id of this PublicIpInfo.
|
58
58
|
|
59
|
-
|
59
|
+
参数解释:弹性公网ip配置id
|
60
60
|
|
61
61
|
:return: The publicip_id of this PublicIpInfo.
|
62
62
|
:rtype: str
|
@@ -67,7 +67,7 @@ class PublicIpInfo:
|
|
67
67
|
def publicip_id(self, publicip_id):
|
68
68
|
"""Sets the publicip_id of this PublicIpInfo.
|
69
69
|
|
70
|
-
|
70
|
+
参数解释:弹性公网ip配置id
|
71
71
|
|
72
72
|
:param publicip_id: The publicip_id of this PublicIpInfo.
|
73
73
|
:type publicip_id: str
|
@@ -78,7 +78,7 @@ class PublicIpInfo:
|
|
78
78
|
def publicip_address(self):
|
79
79
|
"""Gets the publicip_address of this PublicIpInfo.
|
80
80
|
|
81
|
-
IP地址
|
81
|
+
参数解释:IP地址
|
82
82
|
|
83
83
|
:return: The publicip_address of this PublicIpInfo.
|
84
84
|
:rtype: str
|
@@ -89,7 +89,7 @@ class PublicIpInfo:
|
|
89
89
|
def publicip_address(self, publicip_address):
|
90
90
|
"""Sets the publicip_address of this PublicIpInfo.
|
91
91
|
|
92
|
-
IP地址
|
92
|
+
参数解释:IP地址
|
93
93
|
|
94
94
|
:param publicip_address: The publicip_address of this PublicIpInfo.
|
95
95
|
:type publicip_address: str
|
@@ -100,7 +100,7 @@ class PublicIpInfo:
|
|
100
100
|
def ip_version(self):
|
101
101
|
"""Gets the ip_version of this PublicIpInfo.
|
102
102
|
|
103
|
-
IP版本信息。
|
103
|
+
参数解释:IP版本信息。 取值范围:4和6 4:IPv4 6:IPv6 [不支持IPv6,请勿设置为6。](tag:dt,dt_test)
|
104
104
|
|
105
105
|
:return: The ip_version of this PublicIpInfo.
|
106
106
|
:rtype: int
|
@@ -111,7 +111,7 @@ class PublicIpInfo:
|
|
111
111
|
def ip_version(self, ip_version):
|
112
112
|
"""Sets the ip_version of this PublicIpInfo.
|
113
113
|
|
114
|
-
IP版本信息。
|
114
|
+
参数解释:IP版本信息。 取值范围:4和6 4:IPv4 6:IPv6 [不支持IPv6,请勿设置为6。](tag:dt,dt_test)
|
115
115
|
|
116
116
|
:param ip_version: The ip_version of this PublicIpInfo.
|
117
117
|
:type ip_version: int
|
@@ -59,7 +59,7 @@ class Quota:
|
|
59
59
|
|
60
60
|
The model defined in huaweicloud sdk
|
61
61
|
|
62
|
-
:param project_id:
|
62
|
+
:param project_id: 参数解释:项目ID。
|
63
63
|
:type project_id: str
|
64
64
|
:param loadbalancer: 负载均衡器配额。 取值: - 大于等于0:表示当前配额数量。 - -1:表示无配额限制。
|
65
65
|
:type loadbalancer: int
|
@@ -134,7 +134,7 @@ class Quota:
|
|
134
134
|
def project_id(self):
|
135
135
|
"""Gets the project_id of this Quota.
|
136
136
|
|
137
|
-
|
137
|
+
参数解释:项目ID。
|
138
138
|
|
139
139
|
:return: The project_id of this Quota.
|
140
140
|
:rtype: str
|
@@ -145,7 +145,7 @@ class Quota:
|
|
145
145
|
def project_id(self, project_id):
|
146
146
|
"""Sets the project_id of this Quota.
|
147
147
|
|
148
|
-
|
148
|
+
参数解释:项目ID。
|
149
149
|
|
150
150
|
:param project_id: The project_id of this Quota.
|
151
151
|
:type project_id: str
|
@@ -31,9 +31,9 @@ class RedirectPoolsConfig:
|
|
31
31
|
|
32
32
|
The model defined in huaweicloud sdk
|
33
33
|
|
34
|
-
:param pool_id:
|
34
|
+
:param pool_id: 参数解释:所在后端服务器组ID。
|
35
35
|
:type pool_id: str
|
36
|
-
:param weight:
|
36
|
+
:param weight: 参数解释:转发策略主机组的权重。请求将根据该权重进行负载分发到不同的主机组。权重值越大,分发的请求越多。权重为0的后端不再接受新的请求。 取值范围:0-100
|
37
37
|
:type weight: int
|
38
38
|
"""
|
39
39
|
|
@@ -52,7 +52,7 @@ class RedirectPoolsConfig:
|
|
52
52
|
def pool_id(self):
|
53
53
|
"""Gets the pool_id of this RedirectPoolsConfig.
|
54
54
|
|
55
|
-
|
55
|
+
参数解释:所在后端服务器组ID。
|
56
56
|
|
57
57
|
:return: The pool_id of this RedirectPoolsConfig.
|
58
58
|
:rtype: str
|
@@ -63,7 +63,7 @@ class RedirectPoolsConfig:
|
|
63
63
|
def pool_id(self, pool_id):
|
64
64
|
"""Sets the pool_id of this RedirectPoolsConfig.
|
65
65
|
|
66
|
-
|
66
|
+
参数解释:所在后端服务器组ID。
|
67
67
|
|
68
68
|
:param pool_id: The pool_id of this RedirectPoolsConfig.
|
69
69
|
:type pool_id: str
|
@@ -74,7 +74,7 @@ class RedirectPoolsConfig:
|
|
74
74
|
def weight(self):
|
75
75
|
"""Gets the weight of this RedirectPoolsConfig.
|
76
76
|
|
77
|
-
|
77
|
+
参数解释:转发策略主机组的权重。请求将根据该权重进行负载分发到不同的主机组。权重值越大,分发的请求越多。权重为0的后端不再接受新的请求。 取值范围:0-100
|
78
78
|
|
79
79
|
:return: The weight of this RedirectPoolsConfig.
|
80
80
|
:rtype: int
|
@@ -85,7 +85,7 @@ class RedirectPoolsConfig:
|
|
85
85
|
def weight(self, weight):
|
86
86
|
"""Sets the weight of this RedirectPoolsConfig.
|
87
87
|
|
88
|
-
|
88
|
+
参数解释:转发策略主机组的权重。请求将根据该权重进行负载分发到不同的主机组。权重值越大,分发的请求越多。权重为0的后端不再接受新的请求。 取值范围:0-100
|
89
89
|
|
90
90
|
:param weight: The weight of this RedirectPoolsConfig.
|
91
91
|
:type weight: int
|
@@ -37,7 +37,7 @@ class RedirectPoolsExtendConfig:
|
|
37
37
|
|
38
38
|
The model defined in huaweicloud sdk
|
39
39
|
|
40
|
-
:param rewrite_url_enable:
|
40
|
+
:param rewrite_url_enable: 参数解释:是否开启url重定向。
|
41
41
|
:type rewrite_url_enable: bool
|
42
42
|
:param rewrite_url_config:
|
43
43
|
:type rewrite_url_config: :class:`huaweicloudsdkelb.v3.RewriteUrlConfig`
|
@@ -73,7 +73,7 @@ class RedirectPoolsExtendConfig:
|
|
73
73
|
def rewrite_url_enable(self):
|
74
74
|
"""Gets the rewrite_url_enable of this RedirectPoolsExtendConfig.
|
75
75
|
|
76
|
-
|
76
|
+
参数解释:是否开启url重定向。
|
77
77
|
|
78
78
|
:return: The rewrite_url_enable of this RedirectPoolsExtendConfig.
|
79
79
|
:rtype: bool
|
@@ -84,7 +84,7 @@ class RedirectPoolsExtendConfig:
|
|
84
84
|
def rewrite_url_enable(self, rewrite_url_enable):
|
85
85
|
"""Sets the rewrite_url_enable of this RedirectPoolsExtendConfig.
|
86
86
|
|
87
|
-
|
87
|
+
参数解释:是否开启url重定向。
|
88
88
|
|
89
89
|
:param rewrite_url_enable: The rewrite_url_enable of this RedirectPoolsExtendConfig.
|
90
90
|
:type rewrite_url_enable: bool
|
@@ -31,9 +31,9 @@ class RedirectPoolsStickySessionConfig:
|
|
31
31
|
|
32
32
|
The model defined in huaweicloud sdk
|
33
33
|
|
34
|
-
:param enable:
|
34
|
+
:param enable: 参数解释:转发策略主机组会话保持开启的开关。 默认取值:false,表示关闭主机组会话保持。
|
35
35
|
:type enable: bool
|
36
|
-
:param timeout:
|
36
|
+
:param timeout: 参数解释:会话保持的时间。 取值范围:1-1440(分钟) 默认取值:1440 [荷兰region不支持QUIC。](tag:dt,dt_test)
|
37
37
|
:type timeout: int
|
38
38
|
"""
|
39
39
|
|
@@ -52,7 +52,7 @@ class RedirectPoolsStickySessionConfig:
|
|
52
52
|
def enable(self):
|
53
53
|
"""Gets the enable of this RedirectPoolsStickySessionConfig.
|
54
54
|
|
55
|
-
|
55
|
+
参数解释:转发策略主机组会话保持开启的开关。 默认取值:false,表示关闭主机组会话保持。
|
56
56
|
|
57
57
|
:return: The enable of this RedirectPoolsStickySessionConfig.
|
58
58
|
:rtype: bool
|
@@ -63,7 +63,7 @@ class RedirectPoolsStickySessionConfig:
|
|
63
63
|
def enable(self, enable):
|
64
64
|
"""Sets the enable of this RedirectPoolsStickySessionConfig.
|
65
65
|
|
66
|
-
|
66
|
+
参数解释:转发策略主机组会话保持开启的开关。 默认取值:false,表示关闭主机组会话保持。
|
67
67
|
|
68
68
|
:param enable: The enable of this RedirectPoolsStickySessionConfig.
|
69
69
|
:type enable: bool
|
@@ -74,7 +74,7 @@ class RedirectPoolsStickySessionConfig:
|
|
74
74
|
def timeout(self):
|
75
75
|
"""Gets the timeout of this RedirectPoolsStickySessionConfig.
|
76
76
|
|
77
|
-
|
77
|
+
参数解释:会话保持的时间。 取值范围:1-1440(分钟) 默认取值:1440 [荷兰region不支持QUIC。](tag:dt,dt_test)
|
78
78
|
|
79
79
|
:return: The timeout of this RedirectPoolsStickySessionConfig.
|
80
80
|
:rtype: int
|
@@ -85,7 +85,7 @@ class RedirectPoolsStickySessionConfig:
|
|
85
85
|
def timeout(self, timeout):
|
86
86
|
"""Sets the timeout of this RedirectPoolsStickySessionConfig.
|
87
87
|
|
88
|
-
|
88
|
+
参数解释:会话保持的时间。 取值范围:1-1440(分钟) 默认取值:1440 [荷兰region不支持QUIC。](tag:dt,dt_test)
|
89
89
|
|
90
90
|
:param timeout: The timeout of this RedirectPoolsStickySessionConfig.
|
91
91
|
:type timeout: int
|
@@ -43,17 +43,17 @@ class RedirectUrlConfig:
|
|
43
43
|
|
44
44
|
The model defined in huaweicloud sdk
|
45
45
|
|
46
|
-
:param protocol:
|
46
|
+
:param protocol: 参数解释:重定向的协议。 取值范围: - HTTP - HTTPS - ${protocol},表示继承原值(即与被转发请求保持一致)。
|
47
47
|
:type protocol: str
|
48
|
-
:param host:
|
48
|
+
:param host: 参数解释:重定向的主机名。 取值范围:只能包含英文字母、数字、“-”、“.”。且必须以字母、数字开头。 默认取值:${host} 表示继承原值(即与被转发请求保持一致)。
|
49
49
|
:type host: str
|
50
|
-
:param port:
|
50
|
+
:param port: 参数解释:重定向到的端口。 默认取值:默认值${port}表示继承原值(即与被转发请求保持一致)。
|
51
51
|
:type port: str
|
52
|
-
:param path:
|
52
|
+
:param path: 参数解释:重定向的路径。 取值范围:支持英文字母、数字、_~';@^-%#&$.*+?,=!:|\\/()\\[\\]{},且必须以\"/\"开头。 默认取值:${path} 表示继承原值(即与被转发请求保持一致)。
|
53
53
|
:type path: str
|
54
|
-
:param query:
|
54
|
+
:param query: 参数解释:重定向的查询字符串。举例如下: 将query设置为:${query}&name=my_name,则在转发符合条件的URL (如https://www.example.com:8080/elb?type=loadbalancer)时,将会重定向到 https://www.example.com:8080/elb?type=loadbalancer&name=my_name。在例子中${query}表示type=loadbalancer。 取值范围:只能包含英文字母、数字和特殊字符:!$&'()\\*+,-./:;=?@^_`。字母区分大小写。其中$1,$2会匹配请求url通配符星号(\\*) 默认取值:${query}表示继承原值(即与被转发请求保持一致)
|
55
55
|
:type query: str
|
56
|
-
:param status_code:
|
56
|
+
:param status_code: 参数解释:重定向后的返回码。 取值范围: - 301 - 302 - 303 - 307 - 308
|
57
57
|
:type status_code: str
|
58
58
|
:param insert_headers_config:
|
59
59
|
:type insert_headers_config: :class:`huaweicloudsdkelb.v3.InsertHeadersConfig`
|
@@ -94,7 +94,7 @@ class RedirectUrlConfig:
|
|
94
94
|
def protocol(self):
|
95
95
|
"""Gets the protocol of this RedirectUrlConfig.
|
96
96
|
|
97
|
-
|
97
|
+
参数解释:重定向的协议。 取值范围: - HTTP - HTTPS - ${protocol},表示继承原值(即与被转发请求保持一致)。
|
98
98
|
|
99
99
|
:return: The protocol of this RedirectUrlConfig.
|
100
100
|
:rtype: str
|
@@ -105,7 +105,7 @@ class RedirectUrlConfig:
|
|
105
105
|
def protocol(self, protocol):
|
106
106
|
"""Sets the protocol of this RedirectUrlConfig.
|
107
107
|
|
108
|
-
|
108
|
+
参数解释:重定向的协议。 取值范围: - HTTP - HTTPS - ${protocol},表示继承原值(即与被转发请求保持一致)。
|
109
109
|
|
110
110
|
:param protocol: The protocol of this RedirectUrlConfig.
|
111
111
|
:type protocol: str
|
@@ -116,7 +116,7 @@ class RedirectUrlConfig:
|
|
116
116
|
def host(self):
|
117
117
|
"""Gets the host of this RedirectUrlConfig.
|
118
118
|
|
119
|
-
|
119
|
+
参数解释:重定向的主机名。 取值范围:只能包含英文字母、数字、“-”、“.”。且必须以字母、数字开头。 默认取值:${host} 表示继承原值(即与被转发请求保持一致)。
|
120
120
|
|
121
121
|
:return: The host of this RedirectUrlConfig.
|
122
122
|
:rtype: str
|
@@ -127,7 +127,7 @@ class RedirectUrlConfig:
|
|
127
127
|
def host(self, host):
|
128
128
|
"""Sets the host of this RedirectUrlConfig.
|
129
129
|
|
130
|
-
|
130
|
+
参数解释:重定向的主机名。 取值范围:只能包含英文字母、数字、“-”、“.”。且必须以字母、数字开头。 默认取值:${host} 表示继承原值(即与被转发请求保持一致)。
|
131
131
|
|
132
132
|
:param host: The host of this RedirectUrlConfig.
|
133
133
|
:type host: str
|
@@ -138,7 +138,7 @@ class RedirectUrlConfig:
|
|
138
138
|
def port(self):
|
139
139
|
"""Gets the port of this RedirectUrlConfig.
|
140
140
|
|
141
|
-
|
141
|
+
参数解释:重定向到的端口。 默认取值:默认值${port}表示继承原值(即与被转发请求保持一致)。
|
142
142
|
|
143
143
|
:return: The port of this RedirectUrlConfig.
|
144
144
|
:rtype: str
|
@@ -149,7 +149,7 @@ class RedirectUrlConfig:
|
|
149
149
|
def port(self, port):
|
150
150
|
"""Sets the port of this RedirectUrlConfig.
|
151
151
|
|
152
|
-
|
152
|
+
参数解释:重定向到的端口。 默认取值:默认值${port}表示继承原值(即与被转发请求保持一致)。
|
153
153
|
|
154
154
|
:param port: The port of this RedirectUrlConfig.
|
155
155
|
:type port: str
|
@@ -160,7 +160,7 @@ class RedirectUrlConfig:
|
|
160
160
|
def path(self):
|
161
161
|
"""Gets the path of this RedirectUrlConfig.
|
162
162
|
|
163
|
-
|
163
|
+
参数解释:重定向的路径。 取值范围:支持英文字母、数字、_~';@^-%#&$.*+?,=!:|\\/()\\[\\]{},且必须以\"/\"开头。 默认取值:${path} 表示继承原值(即与被转发请求保持一致)。
|
164
164
|
|
165
165
|
:return: The path of this RedirectUrlConfig.
|
166
166
|
:rtype: str
|
@@ -171,7 +171,7 @@ class RedirectUrlConfig:
|
|
171
171
|
def path(self, path):
|
172
172
|
"""Sets the path of this RedirectUrlConfig.
|
173
173
|
|
174
|
-
|
174
|
+
参数解释:重定向的路径。 取值范围:支持英文字母、数字、_~';@^-%#&$.*+?,=!:|\\/()\\[\\]{},且必须以\"/\"开头。 默认取值:${path} 表示继承原值(即与被转发请求保持一致)。
|
175
175
|
|
176
176
|
:param path: The path of this RedirectUrlConfig.
|
177
177
|
:type path: str
|
@@ -182,7 +182,7 @@ class RedirectUrlConfig:
|
|
182
182
|
def query(self):
|
183
183
|
"""Gets the query of this RedirectUrlConfig.
|
184
184
|
|
185
|
-
|
185
|
+
参数解释:重定向的查询字符串。举例如下: 将query设置为:${query}&name=my_name,则在转发符合条件的URL (如https://www.example.com:8080/elb?type=loadbalancer)时,将会重定向到 https://www.example.com:8080/elb?type=loadbalancer&name=my_name。在例子中${query}表示type=loadbalancer。 取值范围:只能包含英文字母、数字和特殊字符:!$&'()\\*+,-./:;=?@^_`。字母区分大小写。其中$1,$2会匹配请求url通配符星号(\\*) 默认取值:${query}表示继承原值(即与被转发请求保持一致)
|
186
186
|
|
187
187
|
:return: The query of this RedirectUrlConfig.
|
188
188
|
:rtype: str
|
@@ -193,7 +193,7 @@ class RedirectUrlConfig:
|
|
193
193
|
def query(self, query):
|
194
194
|
"""Sets the query of this RedirectUrlConfig.
|
195
195
|
|
196
|
-
|
196
|
+
参数解释:重定向的查询字符串。举例如下: 将query设置为:${query}&name=my_name,则在转发符合条件的URL (如https://www.example.com:8080/elb?type=loadbalancer)时,将会重定向到 https://www.example.com:8080/elb?type=loadbalancer&name=my_name。在例子中${query}表示type=loadbalancer。 取值范围:只能包含英文字母、数字和特殊字符:!$&'()\\*+,-./:;=?@^_`。字母区分大小写。其中$1,$2会匹配请求url通配符星号(\\*) 默认取值:${query}表示继承原值(即与被转发请求保持一致)
|
197
197
|
|
198
198
|
:param query: The query of this RedirectUrlConfig.
|
199
199
|
:type query: str
|
@@ -204,7 +204,7 @@ class RedirectUrlConfig:
|
|
204
204
|
def status_code(self):
|
205
205
|
"""Gets the status_code of this RedirectUrlConfig.
|
206
206
|
|
207
|
-
|
207
|
+
参数解释:重定向后的返回码。 取值范围: - 301 - 302 - 303 - 307 - 308
|
208
208
|
|
209
209
|
:return: The status_code of this RedirectUrlConfig.
|
210
210
|
:rtype: str
|
@@ -215,7 +215,7 @@ class RedirectUrlConfig:
|
|
215
215
|
def status_code(self, status_code):
|
216
216
|
"""Sets the status_code of this RedirectUrlConfig.
|
217
217
|
|
218
|
-
|
218
|
+
参数解释:重定向后的返回码。 取值范围: - 301 - 302 - 303 - 307 - 308
|
219
219
|
|
220
220
|
:param status_code: The status_code of this RedirectUrlConfig.
|
221
221
|
:type status_code: str
|
@@ -29,7 +29,7 @@ class RemoveHeaderConfig:
|
|
29
29
|
|
30
30
|
The model defined in huaweicloud sdk
|
31
31
|
|
32
|
-
:param key:
|
32
|
+
:param 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 取值范围:1-40个字符,字母a-z(不区分大小写)、数字,短划线-和下划线_。
|
33
33
|
:type key: str
|
34
34
|
"""
|
35
35
|
|
@@ -44,7 +44,7 @@ class RemoveHeaderConfig:
|
|
44
44
|
def key(self):
|
45
45
|
"""Gets the key of this RemoveHeaderConfig.
|
46
46
|
|
47
|
-
|
47
|
+
参数解释:被移除的请求头的参数名。 约束限制:不能移除以下请求头参数: 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 取值范围:1-40个字符,字母a-z(不区分大小写)、数字,短划线-和下划线_。
|
48
48
|
|
49
49
|
:return: The key of this RemoveHeaderConfig.
|
50
50
|
:rtype: str
|
@@ -55,7 +55,7 @@ class RemoveHeaderConfig:
|
|
55
55
|
def key(self, key):
|
56
56
|
"""Sets the key of this RemoveHeaderConfig.
|
57
57
|
|
58
|
-
|
58
|
+
参数解释:被移除的请求头的参数名。 约束限制:不能移除以下请求头参数: 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 取值范围:1-40个字符,字母a-z(不区分大小写)、数字,短划线-和下划线_。
|
59
59
|
|
60
60
|
:param key: The key of this RemoveHeaderConfig.
|
61
61
|
:type key: str
|
@@ -29,7 +29,7 @@ class RemoveHeadersConfig:
|
|
29
29
|
|
30
30
|
The model defined in huaweicloud sdk
|
31
31
|
|
32
|
-
:param configs:
|
32
|
+
:param configs: 参数解释:要移除的请求头参数列表。
|
33
33
|
:type configs: list[:class:`huaweicloudsdkelb.v3.RemoveHeaderConfig`]
|
34
34
|
"""
|
35
35
|
|
@@ -44,7 +44,7 @@ class RemoveHeadersConfig:
|
|
44
44
|
def configs(self):
|
45
45
|
"""Gets the configs of this RemoveHeadersConfig.
|
46
46
|
|
47
|
-
|
47
|
+
参数解释:要移除的请求头参数列表。
|
48
48
|
|
49
49
|
:return: The configs of this RemoveHeadersConfig.
|
50
50
|
:rtype: list[:class:`huaweicloudsdkelb.v3.RemoveHeaderConfig`]
|
@@ -55,7 +55,7 @@ class RemoveHeadersConfig:
|
|
55
55
|
def configs(self, configs):
|
56
56
|
"""Sets the configs of this RemoveHeadersConfig.
|
57
57
|
|
58
|
-
|
58
|
+
参数解释:要移除的请求头参数列表。
|
59
59
|
|
60
60
|
:param configs: The configs of this RemoveHeadersConfig.
|
61
61
|
:type configs: list[:class:`huaweicloudsdkelb.v3.RemoveHeaderConfig`]
|
@@ -33,11 +33,11 @@ class RewriteUrlConfig:
|
|
33
33
|
|
34
34
|
The model defined in huaweicloud sdk
|
35
35
|
|
36
|
-
:param host:
|
36
|
+
:param host: 参数解释:重定向的域名。 取值范围:英文字母、数字、“-”、“.”,必须以字母、数字开头。 默认取值:${host},表示继承原值(即与被重写请求host保持一致)。
|
37
37
|
:type host: str
|
38
|
-
:param path:
|
38
|
+
:param path: 参数解释:重定向的请求路径。其中$1-$9会匹配请求url通配符星号(*),当正则匹配分组小于指定数字,则$指定数字结果为空。$后面跟字母,匹配结果均为空,直到下一个特殊字符出现,例如$abc#123,则匹配结果为#123;$后面跟特殊字符则直接输出特殊字符,例如$#匹配结果为$#。 取值范围:英文字母、数字、_~';@^-%#&$.+?,=!:|/(),且必须以\"/\"开头。 默认取值:${path},表示继承原值(即与被重写请求保持一致)。
|
39
39
|
:type path: str
|
40
|
-
:param query:
|
40
|
+
:param query: 参数解释:重定向的查询字符串。其中$1-$9会匹配请求url通配符星号(*),当正则匹配分组小于指定数字,则$指定数字结果为空。$后面跟字母,匹配结果均为空,直到下一个特殊字符出现,例如$abc#123,则匹配结果为#123;$后面跟特殊字符则直接输出特殊字符,例如$#匹配结果为$#。 取值范围:英文字母、数字和特殊字符:!$&'()+,-./:;=?@^_`。字母区分大小写。 默认取值:${query},表示继承原值(即与被重写请求保持一致)。
|
41
41
|
:type query: str
|
42
42
|
"""
|
43
43
|
|
@@ -59,7 +59,7 @@ class RewriteUrlConfig:
|
|
59
59
|
def host(self):
|
60
60
|
"""Gets the host of this RewriteUrlConfig.
|
61
61
|
|
62
|
-
|
62
|
+
参数解释:重定向的域名。 取值范围:英文字母、数字、“-”、“.”,必须以字母、数字开头。 默认取值:${host},表示继承原值(即与被重写请求host保持一致)。
|
63
63
|
|
64
64
|
:return: The host of this RewriteUrlConfig.
|
65
65
|
:rtype: str
|
@@ -70,7 +70,7 @@ class RewriteUrlConfig:
|
|
70
70
|
def host(self, host):
|
71
71
|
"""Sets the host of this RewriteUrlConfig.
|
72
72
|
|
73
|
-
|
73
|
+
参数解释:重定向的域名。 取值范围:英文字母、数字、“-”、“.”,必须以字母、数字开头。 默认取值:${host},表示继承原值(即与被重写请求host保持一致)。
|
74
74
|
|
75
75
|
:param host: The host of this RewriteUrlConfig.
|
76
76
|
:type host: str
|
@@ -81,7 +81,7 @@ class RewriteUrlConfig:
|
|
81
81
|
def path(self):
|
82
82
|
"""Gets the path of this RewriteUrlConfig.
|
83
83
|
|
84
|
-
|
84
|
+
参数解释:重定向的请求路径。其中$1-$9会匹配请求url通配符星号(*),当正则匹配分组小于指定数字,则$指定数字结果为空。$后面跟字母,匹配结果均为空,直到下一个特殊字符出现,例如$abc#123,则匹配结果为#123;$后面跟特殊字符则直接输出特殊字符,例如$#匹配结果为$#。 取值范围:英文字母、数字、_~';@^-%#&$.+?,=!:|/(),且必须以\"/\"开头。 默认取值:${path},表示继承原值(即与被重写请求保持一致)。
|
85
85
|
|
86
86
|
:return: The path of this RewriteUrlConfig.
|
87
87
|
:rtype: str
|
@@ -92,7 +92,7 @@ class RewriteUrlConfig:
|
|
92
92
|
def path(self, path):
|
93
93
|
"""Sets the path of this RewriteUrlConfig.
|
94
94
|
|
95
|
-
|
95
|
+
参数解释:重定向的请求路径。其中$1-$9会匹配请求url通配符星号(*),当正则匹配分组小于指定数字,则$指定数字结果为空。$后面跟字母,匹配结果均为空,直到下一个特殊字符出现,例如$abc#123,则匹配结果为#123;$后面跟特殊字符则直接输出特殊字符,例如$#匹配结果为$#。 取值范围:英文字母、数字、_~';@^-%#&$.+?,=!:|/(),且必须以\"/\"开头。 默认取值:${path},表示继承原值(即与被重写请求保持一致)。
|
96
96
|
|
97
97
|
:param path: The path of this RewriteUrlConfig.
|
98
98
|
:type path: str
|
@@ -103,7 +103,7 @@ class RewriteUrlConfig:
|
|
103
103
|
def query(self):
|
104
104
|
"""Gets the query of this RewriteUrlConfig.
|
105
105
|
|
106
|
-
|
106
|
+
参数解释:重定向的查询字符串。其中$1-$9会匹配请求url通配符星号(*),当正则匹配分组小于指定数字,则$指定数字结果为空。$后面跟字母,匹配结果均为空,直到下一个特殊字符出现,例如$abc#123,则匹配结果为#123;$后面跟特殊字符则直接输出特殊字符,例如$#匹配结果为$#。 取值范围:英文字母、数字和特殊字符:!$&'()+,-./:;=?@^_`。字母区分大小写。 默认取值:${query},表示继承原值(即与被重写请求保持一致)。
|
107
107
|
|
108
108
|
:return: The query of this RewriteUrlConfig.
|
109
109
|
:rtype: str
|
@@ -114,7 +114,7 @@ class RewriteUrlConfig:
|
|
114
114
|
def query(self, query):
|
115
115
|
"""Sets the query of this RewriteUrlConfig.
|
116
116
|
|
117
|
-
|
117
|
+
参数解释:重定向的查询字符串。其中$1-$9会匹配请求url通配符星号(*),当正则匹配分组小于指定数字,则$指定数字结果为空。$后面跟字母,匹配结果均为空,直到下一个特殊字符出现,例如$abc#123,则匹配结果为#123;$后面跟特殊字符则直接输出特殊字符,例如$#匹配结果为$#。 取值范围:英文字母、数字和特殊字符:!$&'()+,-./:;=?@^_`。字母区分大小写。 默认取值:${query},表示继承原值(即与被重写请求保持一致)。
|
118
118
|
|
119
119
|
:param query: The query of this RewriteUrlConfig.
|
120
120
|
:type query: str
|