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
@@ -37,13 +37,13 @@ class CreateLoadBalancerPublicIpOption:
|
|
37
37
|
|
38
38
|
The model defined in huaweicloud sdk
|
39
39
|
|
40
|
-
:param ip_version: IP版本。
|
40
|
+
:param ip_version: 参数解释:IP版本。 约束限制:取值只有4和6。4:IPv4, 6: IPv6。 [不支持IPv6,请勿设置为6。](tag:dt,dt_test) 取值范围: - 4:表示IPv4。 - 6:表示IPv6。 默认取值:4
|
41
41
|
:type ip_version: int
|
42
|
-
:param network_type:
|
42
|
+
:param network_type: 参数解释:弹性公网IP的网络类型,默认5_bgp,更多请参考弹性公网ip创建。 约束限制: [华南-深圳局点该参数取值只能为5_gray。](tag:hws) [只支持设置为5_gray。](tag:dt) 取值范围:5_bgp。 默认取值:5_bgp。
|
43
43
|
:type network_type: str
|
44
|
-
:param billing_info:
|
44
|
+
:param billing_info: 参数解释:计费订单信息。 约束限制: - 空:按需计费。 [ - 非空:包周期计费。格式:order_id:product_id:region_id:project_id ](tag:hws,hk,hws_eu,otc,tlf,ctc,hcso,sbc,g42,cmcc,hk_g42,dt_test,hcso_dt,mix,hk_sbc,hws_ocb,hk_vdf,fcs,fcs_dt,dt) [不支持该字段,请勿使用。](tag:hws_eu,g42,hk_g42,dt,dt_test,hcso_dt,hcso,hk_vdf,fcs,fcs_vm,mix,hcso_g42,hcso_g42_b)
|
45
45
|
:type billing_info: str
|
46
|
-
:param description:
|
46
|
+
:param description: 参数解释:弹性公网IP的描述信息。
|
47
47
|
:type description: str
|
48
48
|
:param bandwidth:
|
49
49
|
:type bandwidth: :class:`huaweicloudsdkelb.v3.CreateLoadBalancerBandwidthOption`
|
@@ -71,7 +71,7 @@ class CreateLoadBalancerPublicIpOption:
|
|
71
71
|
def ip_version(self):
|
72
72
|
"""Gets the ip_version of this CreateLoadBalancerPublicIpOption.
|
73
73
|
|
74
|
-
IP版本。
|
74
|
+
参数解释:IP版本。 约束限制:取值只有4和6。4:IPv4, 6: IPv6。 [不支持IPv6,请勿设置为6。](tag:dt,dt_test) 取值范围: - 4:表示IPv4。 - 6:表示IPv6。 默认取值:4
|
75
75
|
|
76
76
|
:return: The ip_version of this CreateLoadBalancerPublicIpOption.
|
77
77
|
:rtype: int
|
@@ -82,7 +82,7 @@ class CreateLoadBalancerPublicIpOption:
|
|
82
82
|
def ip_version(self, ip_version):
|
83
83
|
"""Sets the ip_version of this CreateLoadBalancerPublicIpOption.
|
84
84
|
|
85
|
-
IP版本。
|
85
|
+
参数解释:IP版本。 约束限制:取值只有4和6。4:IPv4, 6: IPv6。 [不支持IPv6,请勿设置为6。](tag:dt,dt_test) 取值范围: - 4:表示IPv4。 - 6:表示IPv6。 默认取值:4
|
86
86
|
|
87
87
|
:param ip_version: The ip_version of this CreateLoadBalancerPublicIpOption.
|
88
88
|
:type ip_version: int
|
@@ -93,7 +93,7 @@ class CreateLoadBalancerPublicIpOption:
|
|
93
93
|
def network_type(self):
|
94
94
|
"""Gets the network_type of this CreateLoadBalancerPublicIpOption.
|
95
95
|
|
96
|
-
|
96
|
+
参数解释:弹性公网IP的网络类型,默认5_bgp,更多请参考弹性公网ip创建。 约束限制: [华南-深圳局点该参数取值只能为5_gray。](tag:hws) [只支持设置为5_gray。](tag:dt) 取值范围:5_bgp。 默认取值:5_bgp。
|
97
97
|
|
98
98
|
:return: The network_type of this CreateLoadBalancerPublicIpOption.
|
99
99
|
:rtype: str
|
@@ -104,7 +104,7 @@ class CreateLoadBalancerPublicIpOption:
|
|
104
104
|
def network_type(self, network_type):
|
105
105
|
"""Sets the network_type of this CreateLoadBalancerPublicIpOption.
|
106
106
|
|
107
|
-
|
107
|
+
参数解释:弹性公网IP的网络类型,默认5_bgp,更多请参考弹性公网ip创建。 约束限制: [华南-深圳局点该参数取值只能为5_gray。](tag:hws) [只支持设置为5_gray。](tag:dt) 取值范围:5_bgp。 默认取值:5_bgp。
|
108
108
|
|
109
109
|
:param network_type: The network_type of this CreateLoadBalancerPublicIpOption.
|
110
110
|
:type network_type: str
|
@@ -115,7 +115,7 @@ class CreateLoadBalancerPublicIpOption:
|
|
115
115
|
def billing_info(self):
|
116
116
|
"""Gets the billing_info of this CreateLoadBalancerPublicIpOption.
|
117
117
|
|
118
|
-
|
118
|
+
参数解释:计费订单信息。 约束限制: - 空:按需计费。 [ - 非空:包周期计费。格式:order_id:product_id:region_id:project_id ](tag:hws,hk,hws_eu,otc,tlf,ctc,hcso,sbc,g42,cmcc,hk_g42,dt_test,hcso_dt,mix,hk_sbc,hws_ocb,hk_vdf,fcs,fcs_dt,dt) [不支持该字段,请勿使用。](tag:hws_eu,g42,hk_g42,dt,dt_test,hcso_dt,hcso,hk_vdf,fcs,fcs_vm,mix,hcso_g42,hcso_g42_b)
|
119
119
|
|
120
120
|
:return: The billing_info of this CreateLoadBalancerPublicIpOption.
|
121
121
|
:rtype: str
|
@@ -126,7 +126,7 @@ class CreateLoadBalancerPublicIpOption:
|
|
126
126
|
def billing_info(self, billing_info):
|
127
127
|
"""Sets the billing_info of this CreateLoadBalancerPublicIpOption.
|
128
128
|
|
129
|
-
|
129
|
+
参数解释:计费订单信息。 约束限制: - 空:按需计费。 [ - 非空:包周期计费。格式:order_id:product_id:region_id:project_id ](tag:hws,hk,hws_eu,otc,tlf,ctc,hcso,sbc,g42,cmcc,hk_g42,dt_test,hcso_dt,mix,hk_sbc,hws_ocb,hk_vdf,fcs,fcs_dt,dt) [不支持该字段,请勿使用。](tag:hws_eu,g42,hk_g42,dt,dt_test,hcso_dt,hcso,hk_vdf,fcs,fcs_vm,mix,hcso_g42,hcso_g42_b)
|
130
130
|
|
131
131
|
:param billing_info: The billing_info of this CreateLoadBalancerPublicIpOption.
|
132
132
|
:type billing_info: str
|
@@ -137,7 +137,7 @@ class CreateLoadBalancerPublicIpOption:
|
|
137
137
|
def description(self):
|
138
138
|
"""Gets the description of this CreateLoadBalancerPublicIpOption.
|
139
139
|
|
140
|
-
|
140
|
+
参数解释:弹性公网IP的描述信息。
|
141
141
|
|
142
142
|
:return: The description of this CreateLoadBalancerPublicIpOption.
|
143
143
|
:rtype: str
|
@@ -148,7 +148,7 @@ class CreateLoadBalancerPublicIpOption:
|
|
148
148
|
def description(self, description):
|
149
149
|
"""Sets the description of this CreateLoadBalancerPublicIpOption.
|
150
150
|
|
151
|
-
|
151
|
+
参数解释:弹性公网IP的描述信息。
|
152
152
|
|
153
153
|
:param description: The description of this CreateLoadBalancerPublicIpOption.
|
154
154
|
:type description: str
|
@@ -38,9 +38,9 @@ class CreateLoadBalancerResponse(SdkResponse):
|
|
38
38
|
|
39
39
|
:param loadbalancer:
|
40
40
|
:type loadbalancer: :class:`huaweicloudsdkelb.v3.LoadBalancer`
|
41
|
-
:param loadbalancer_id: 负载均衡器的ID[(包周期场景返回该字段)](tag:hws_eu,g42,hk_g42,dt,dt_test,hcso_dt,ctc,cmcc,hcso,fcs,fcs_vm,mix,hcso_g42,hcso_g42_b) [不支持该字段,请勿使用](tag:hws_eu,g42,hk_g42,dt,dt_test,hcso_dt,ctc,cmcc,hcso,fcs,fcs_vm,mix,hcso_g42,hcso_g42_b)
|
41
|
+
:param loadbalancer_id: 负载均衡器的ID[(包周期场景返回该字段)](tag:hws_eu,g42,hk_g42,dt,dt_test,hcso_dt,ctc,cmcc,hcso,hk_vdf,fcs,fcs_vm,mix,hcso_g42,hcso_g42_b) [不支持该字段,请勿使用](tag:hws_eu,g42,hk_g42,dt,dt_test,hcso_dt,ctc,cmcc,hcso,hk_vdf,fcs,fcs_vm,mix,hcso_g42,hcso_g42_b)
|
42
42
|
:type loadbalancer_id: str
|
43
|
-
:param order_id: 订单号[(包周期场景返回该字段)](tag:hws_eu,g42,hk_g42,dt,dt_test,hcso_dt,ctc,cmcc,hcso,fcs,fcs_vm,mix,hcso_g42,hcso_g42_b) [不支持该字段,请勿使用](tag:hws_eu,g42,hk_g42,dt,dt_test,hcso_dt,ctc,cmcc,hcso,fcs,fcs_vm,mix,hcso_g42,hcso_g42_b)
|
43
|
+
:param order_id: 订单号[(包周期场景返回该字段)](tag:hws_eu,g42,hk_g42,dt,dt_test,hcso_dt,ctc,cmcc,hcso,hk_vdf,fcs,fcs_vm,mix,hcso_g42,hcso_g42_b) [不支持该字段,请勿使用](tag:hws_eu,g42,hk_g42,dt,dt_test,hcso_dt,ctc,cmcc,hcso,hk_vdf,fcs,fcs_vm,mix,hcso_g42,hcso_g42_b)
|
44
44
|
:type order_id: str
|
45
45
|
:param request_id: 请求ID。 注:自动生成 。
|
46
46
|
:type request_id: str
|
@@ -85,7 +85,7 @@ class CreateLoadBalancerResponse(SdkResponse):
|
|
85
85
|
def loadbalancer_id(self):
|
86
86
|
"""Gets the loadbalancer_id of this CreateLoadBalancerResponse.
|
87
87
|
|
88
|
-
负载均衡器的ID[(包周期场景返回该字段)](tag:hws_eu,g42,hk_g42,dt,dt_test,hcso_dt,ctc,cmcc,hcso,fcs,fcs_vm,mix,hcso_g42,hcso_g42_b) [不支持该字段,请勿使用](tag:hws_eu,g42,hk_g42,dt,dt_test,hcso_dt,ctc,cmcc,hcso,fcs,fcs_vm,mix,hcso_g42,hcso_g42_b)
|
88
|
+
负载均衡器的ID[(包周期场景返回该字段)](tag:hws_eu,g42,hk_g42,dt,dt_test,hcso_dt,ctc,cmcc,hcso,hk_vdf,fcs,fcs_vm,mix,hcso_g42,hcso_g42_b) [不支持该字段,请勿使用](tag:hws_eu,g42,hk_g42,dt,dt_test,hcso_dt,ctc,cmcc,hcso,hk_vdf,fcs,fcs_vm,mix,hcso_g42,hcso_g42_b)
|
89
89
|
|
90
90
|
:return: The loadbalancer_id of this CreateLoadBalancerResponse.
|
91
91
|
:rtype: str
|
@@ -96,7 +96,7 @@ class CreateLoadBalancerResponse(SdkResponse):
|
|
96
96
|
def loadbalancer_id(self, loadbalancer_id):
|
97
97
|
"""Sets the loadbalancer_id of this CreateLoadBalancerResponse.
|
98
98
|
|
99
|
-
负载均衡器的ID[(包周期场景返回该字段)](tag:hws_eu,g42,hk_g42,dt,dt_test,hcso_dt,ctc,cmcc,hcso,fcs,fcs_vm,mix,hcso_g42,hcso_g42_b) [不支持该字段,请勿使用](tag:hws_eu,g42,hk_g42,dt,dt_test,hcso_dt,ctc,cmcc,hcso,fcs,fcs_vm,mix,hcso_g42,hcso_g42_b)
|
99
|
+
负载均衡器的ID[(包周期场景返回该字段)](tag:hws_eu,g42,hk_g42,dt,dt_test,hcso_dt,ctc,cmcc,hcso,hk_vdf,fcs,fcs_vm,mix,hcso_g42,hcso_g42_b) [不支持该字段,请勿使用](tag:hws_eu,g42,hk_g42,dt,dt_test,hcso_dt,ctc,cmcc,hcso,hk_vdf,fcs,fcs_vm,mix,hcso_g42,hcso_g42_b)
|
100
100
|
|
101
101
|
:param loadbalancer_id: The loadbalancer_id of this CreateLoadBalancerResponse.
|
102
102
|
:type loadbalancer_id: str
|
@@ -107,7 +107,7 @@ class CreateLoadBalancerResponse(SdkResponse):
|
|
107
107
|
def order_id(self):
|
108
108
|
"""Gets the order_id of this CreateLoadBalancerResponse.
|
109
109
|
|
110
|
-
订单号[(包周期场景返回该字段)](tag:hws_eu,g42,hk_g42,dt,dt_test,hcso_dt,ctc,cmcc,hcso,fcs,fcs_vm,mix,hcso_g42,hcso_g42_b) [不支持该字段,请勿使用](tag:hws_eu,g42,hk_g42,dt,dt_test,hcso_dt,ctc,cmcc,hcso,fcs,fcs_vm,mix,hcso_g42,hcso_g42_b)
|
110
|
+
订单号[(包周期场景返回该字段)](tag:hws_eu,g42,hk_g42,dt,dt_test,hcso_dt,ctc,cmcc,hcso,hk_vdf,fcs,fcs_vm,mix,hcso_g42,hcso_g42_b) [不支持该字段,请勿使用](tag:hws_eu,g42,hk_g42,dt,dt_test,hcso_dt,ctc,cmcc,hcso,hk_vdf,fcs,fcs_vm,mix,hcso_g42,hcso_g42_b)
|
111
111
|
|
112
112
|
:return: The order_id of this CreateLoadBalancerResponse.
|
113
113
|
:rtype: str
|
@@ -118,7 +118,7 @@ class CreateLoadBalancerResponse(SdkResponse):
|
|
118
118
|
def order_id(self, order_id):
|
119
119
|
"""Sets the order_id of this CreateLoadBalancerResponse.
|
120
120
|
|
121
|
-
订单号[(包周期场景返回该字段)](tag:hws_eu,g42,hk_g42,dt,dt_test,hcso_dt,ctc,cmcc,hcso,fcs,fcs_vm,mix,hcso_g42,hcso_g42_b) [不支持该字段,请勿使用](tag:hws_eu,g42,hk_g42,dt,dt_test,hcso_dt,ctc,cmcc,hcso,fcs,fcs_vm,mix,hcso_g42,hcso_g42_b)
|
121
|
+
订单号[(包周期场景返回该字段)](tag:hws_eu,g42,hk_g42,dt,dt_test,hcso_dt,ctc,cmcc,hcso,hk_vdf,fcs,fcs_vm,mix,hcso_g42,hcso_g42_b) [不支持该字段,请勿使用](tag:hws_eu,g42,hk_g42,dt,dt_test,hcso_dt,ctc,cmcc,hcso,hk_vdf,fcs,fcs_vm,mix,hcso_g42,hcso_g42_b)
|
122
122
|
|
123
123
|
:param order_id: The order_id of this CreateLoadBalancerResponse.
|
124
124
|
:type order_id: str
|
@@ -31,9 +31,9 @@ class CreateLoadbalancerAutoscalingOption:
|
|
31
31
|
|
32
32
|
The model defined in huaweicloud sdk
|
33
33
|
|
34
|
-
:param enable:
|
34
|
+
:param enable: 参数解释:负载均衡器实例弹性扩缩容开关。 取值范围: - true:开启。 - false:关闭。
|
35
35
|
:type enable: bool
|
36
|
-
:param min_l7_flavor_id:
|
36
|
+
:param min_l7_flavor_id: 参数解释:实例弹性扩缩容的最小七层规格ID。 约束限制: 该字段已经废弃,建议不要使用该字段。
|
37
37
|
:type min_l7_flavor_id: str
|
38
38
|
"""
|
39
39
|
|
@@ -51,7 +51,7 @@ class CreateLoadbalancerAutoscalingOption:
|
|
51
51
|
def enable(self):
|
52
52
|
"""Gets the enable of this CreateLoadbalancerAutoscalingOption.
|
53
53
|
|
54
|
-
|
54
|
+
参数解释:负载均衡器实例弹性扩缩容开关。 取值范围: - true:开启。 - false:关闭。
|
55
55
|
|
56
56
|
:return: The enable of this CreateLoadbalancerAutoscalingOption.
|
57
57
|
:rtype: bool
|
@@ -62,7 +62,7 @@ class CreateLoadbalancerAutoscalingOption:
|
|
62
62
|
def enable(self, enable):
|
63
63
|
"""Sets the enable of this CreateLoadbalancerAutoscalingOption.
|
64
64
|
|
65
|
-
|
65
|
+
参数解释:负载均衡器实例弹性扩缩容开关。 取值范围: - true:开启。 - false:关闭。
|
66
66
|
|
67
67
|
:param enable: The enable of this CreateLoadbalancerAutoscalingOption.
|
68
68
|
:type enable: bool
|
@@ -73,7 +73,7 @@ class CreateLoadbalancerAutoscalingOption:
|
|
73
73
|
def min_l7_flavor_id(self):
|
74
74
|
"""Gets the min_l7_flavor_id of this CreateLoadbalancerAutoscalingOption.
|
75
75
|
|
76
|
-
|
76
|
+
参数解释:实例弹性扩缩容的最小七层规格ID。 约束限制: 该字段已经废弃,建议不要使用该字段。
|
77
77
|
|
78
78
|
:return: The min_l7_flavor_id of this CreateLoadbalancerAutoscalingOption.
|
79
79
|
:rtype: str
|
@@ -84,7 +84,7 @@ class CreateLoadbalancerAutoscalingOption:
|
|
84
84
|
def min_l7_flavor_id(self, min_l7_flavor_id):
|
85
85
|
"""Sets the min_l7_flavor_id of this CreateLoadbalancerAutoscalingOption.
|
86
86
|
|
87
|
-
|
87
|
+
参数解释:实例弹性扩缩容的最小七层规格ID。 约束限制: 该字段已经废弃,建议不要使用该字段。
|
88
88
|
|
89
89
|
:param min_l7_flavor_id: The min_l7_flavor_id of this CreateLoadbalancerAutoscalingOption.
|
90
90
|
:type min_l7_flavor_id: str
|
@@ -53,9 +53,9 @@ class CreateMasterSlaveHealthMonitorOption:
|
|
53
53
|
:type delay: int
|
54
54
|
:param domain_name: 发送健康检查请求的域名。 取值:以数字或字母开头,只能包含数字、字母、’-’、’.’。 默认为空,表示使用负载均衡器的vip作为http请求的目的地址。 使用说明:当type为HTTP/HTTPS时生效。
|
55
55
|
:type domain_name: str
|
56
|
-
:param expected_codes: 期望响应状态码。 取值: - 单值:单个返回码,例如200。 - 列表:多个特定返回码,例如200,202。 - 区间:一个返回码区间,例如200-204。 默认值:200。 仅支持HTTP/HTTPS设置该字段,其他协议设置不会生效。
|
56
|
+
:param expected_codes: 期望响应状态码。 取值: - 单值:单个返回码,例如200。 - 列表:多个特定返回码,例如200,202。 - 区间:一个返回码区间,例如200-204。 默认值:200。 仅支持HTTP/HTTPS/GRPC设置该字段,其他协议设置不会生效。
|
57
57
|
:type expected_codes: str
|
58
|
-
:param http_method: HTTP请求方法。 取值:GET、HEAD、POST
|
58
|
+
:param http_method: HTTP请求方法。 取值:GET、HEAD、POST,默认GET。 使用说明:当type为HTTP/HTTPS时生效。
|
59
59
|
:type http_method: str
|
60
60
|
:param max_retries: 健康检查连续成功多少次后,将后端服务器的健康检查状态由OFFLINE判定为ONLINE。取值范围:1-10。
|
61
61
|
:type max_retries: int
|
@@ -155,7 +155,7 @@ class CreateMasterSlaveHealthMonitorOption:
|
|
155
155
|
def expected_codes(self):
|
156
156
|
"""Gets the expected_codes of this CreateMasterSlaveHealthMonitorOption.
|
157
157
|
|
158
|
-
期望响应状态码。 取值: - 单值:单个返回码,例如200。 - 列表:多个特定返回码,例如200,202。 - 区间:一个返回码区间,例如200-204。 默认值:200。 仅支持HTTP/HTTPS设置该字段,其他协议设置不会生效。
|
158
|
+
期望响应状态码。 取值: - 单值:单个返回码,例如200。 - 列表:多个特定返回码,例如200,202。 - 区间:一个返回码区间,例如200-204。 默认值:200。 仅支持HTTP/HTTPS/GRPC设置该字段,其他协议设置不会生效。
|
159
159
|
|
160
160
|
:return: The expected_codes of this CreateMasterSlaveHealthMonitorOption.
|
161
161
|
:rtype: str
|
@@ -166,7 +166,7 @@ class CreateMasterSlaveHealthMonitorOption:
|
|
166
166
|
def expected_codes(self, expected_codes):
|
167
167
|
"""Sets the expected_codes of this CreateMasterSlaveHealthMonitorOption.
|
168
168
|
|
169
|
-
期望响应状态码。 取值: - 单值:单个返回码,例如200。 - 列表:多个特定返回码,例如200,202。 - 区间:一个返回码区间,例如200-204。 默认值:200。 仅支持HTTP/HTTPS设置该字段,其他协议设置不会生效。
|
169
|
+
期望响应状态码。 取值: - 单值:单个返回码,例如200。 - 列表:多个特定返回码,例如200,202。 - 区间:一个返回码区间,例如200-204。 默认值:200。 仅支持HTTP/HTTPS/GRPC设置该字段,其他协议设置不会生效。
|
170
170
|
|
171
171
|
:param expected_codes: The expected_codes of this CreateMasterSlaveHealthMonitorOption.
|
172
172
|
:type expected_codes: str
|
@@ -177,7 +177,7 @@ class CreateMasterSlaveHealthMonitorOption:
|
|
177
177
|
def http_method(self):
|
178
178
|
"""Gets the http_method of this CreateMasterSlaveHealthMonitorOption.
|
179
179
|
|
180
|
-
HTTP请求方法。 取值:GET、HEAD、POST
|
180
|
+
HTTP请求方法。 取值:GET、HEAD、POST,默认GET。 使用说明:当type为HTTP/HTTPS时生效。
|
181
181
|
|
182
182
|
:return: The http_method of this CreateMasterSlaveHealthMonitorOption.
|
183
183
|
:rtype: str
|
@@ -188,7 +188,7 @@ class CreateMasterSlaveHealthMonitorOption:
|
|
188
188
|
def http_method(self, http_method):
|
189
189
|
"""Sets the http_method of this CreateMasterSlaveHealthMonitorOption.
|
190
190
|
|
191
|
-
HTTP请求方法。 取值:GET、HEAD、POST
|
191
|
+
HTTP请求方法。 取值:GET、HEAD、POST,默认GET。 使用说明:当type为HTTP/HTTPS时生效。
|
192
192
|
|
193
193
|
:param http_method: The http_method of this CreateMasterSlaveHealthMonitorOption.
|
194
194
|
:type http_method: str
|
@@ -39,7 +39,7 @@ class CreateMasterSlaveMemberOption:
|
|
39
39
|
|
40
40
|
The model defined in huaweicloud sdk
|
41
41
|
|
42
|
-
:param address: 后端服务器对应的IP地址。 使用说明: - 若subnet_cidr_id为空,表示添加跨VPC后端,此时address必须为IPv4地址。 - 若subnet_cidr_id不为空,表示是一个关联到ECS的后端服务器。 该IP
|
42
|
+
: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)
|
43
43
|
:type address: str
|
44
44
|
:param admin_state_up: 后端云服务器的管理状态。 取值:true。 虽然创建、更新请求支持该字段,但实际取值决定于后端云服务器对应的弹性云服务器是否存在。若存在,该值为true,否则,该值为false。
|
45
45
|
:type admin_state_up: bool
|
@@ -77,7 +77,7 @@ class CreateMasterSlaveMemberOption:
|
|
77
77
|
def address(self):
|
78
78
|
"""Gets the address of this CreateMasterSlaveMemberOption.
|
79
79
|
|
80
|
-
后端服务器对应的IP地址。 使用说明: - 若subnet_cidr_id为空,表示添加跨VPC后端,此时address必须为IPv4地址。 - 若subnet_cidr_id不为空,表示是一个关联到ECS的后端服务器。 该IP
|
80
|
+
后端服务器对应的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)
|
81
81
|
|
82
82
|
:return: The address of this CreateMasterSlaveMemberOption.
|
83
83
|
:rtype: str
|
@@ -88,7 +88,7 @@ class CreateMasterSlaveMemberOption:
|
|
88
88
|
def address(self, address):
|
89
89
|
"""Sets the address of this CreateMasterSlaveMemberOption.
|
90
90
|
|
91
|
-
后端服务器对应的IP地址。 使用说明: - 若subnet_cidr_id为空,表示添加跨VPC后端,此时address必须为IPv4地址。 - 若subnet_cidr_id不为空,表示是一个关联到ECS的后端服务器。 该IP
|
91
|
+
后端服务器对应的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)
|
92
92
|
|
93
93
|
:param address: The address of this CreateMasterSlaveMemberOption.
|
94
94
|
:type address: str
|
@@ -69,7 +69,7 @@ class CreateMasterSlavePoolOption:
|
|
69
69
|
:type name: str
|
70
70
|
:param project_id: 后端云服务器组所属的项目ID。
|
71
71
|
:type project_id: str
|
72
|
-
:param protocol: 后端云服务器组的后端协议。 取值:TCP、UDP、QUIC。 使用说明: - listener的protocol为UDP时,pool的protocol必须为UDP或QUIC。 - listener的protocol为TCP
|
72
|
+
: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(且只能使用ip_version为v4的TCP pool)。 - 其他协议监听器不支持主备后端服务器组。 [不支持QUIC。](tag:tm,hws_eu,g42,hk_g42,hcso_dt) [荷兰region不支持QUIC。](tag:dt,dt_test)
|
73
73
|
:type protocol: str
|
74
74
|
:param session_persistence:
|
75
75
|
:type session_persistence: :class:`huaweicloudsdkelb.v3.CreatePoolSessionPersistenceOption`
|
@@ -83,7 +83,7 @@ class CreateMasterSlavePoolOption:
|
|
83
83
|
:type members: list[:class:`huaweicloudsdkelb.v3.CreateMasterSlaveMemberOption`]
|
84
84
|
:param healthmonitor:
|
85
85
|
:type healthmonitor: :class:`huaweicloudsdkelb.v3.CreateMasterSlaveHealthMonitorOption`
|
86
|
-
:param any_port_enable:
|
86
|
+
:param any_port_enable: 后端是否开启端口透传。开启后,后端服务器端口与前端监听器端口保持一致。关闭后,请求会转发给后端服务器protocol_port字段指定端口。取值:false不开启,true开启。 使用说明: - 仅QUIC,TCP,UDP的pool支持。
|
87
87
|
:type any_port_enable: bool
|
88
88
|
:param connection_drain:
|
89
89
|
:type connection_drain: :class:`huaweicloudsdkelb.v3.ConnectionDrain`
|
@@ -270,7 +270,7 @@ class CreateMasterSlavePoolOption:
|
|
270
270
|
def protocol(self):
|
271
271
|
"""Gets the protocol of this CreateMasterSlavePoolOption.
|
272
272
|
|
273
|
-
后端云服务器组的后端协议。 取值:TCP、UDP、QUIC。 使用说明: - listener的protocol为UDP时,pool的protocol必须为UDP或QUIC。 - listener的protocol为TCP
|
273
|
+
后端云服务器组的后端协议。 取值:TCP、UDP、QUIC、TLS。 使用说明: - listener的protocol为UDP时,pool的protocol必须为UDP或QUIC。 - listener的protocol为TCP时,pool的protocol必须为TCP。 - listener的protocol为TLS时,pool的protocol必须为TLS或TCP(且只能使用ip_version为v4的TCP pool)。 - 其他协议监听器不支持主备后端服务器组。 [不支持QUIC。](tag:tm,hws_eu,g42,hk_g42,hcso_dt) [荷兰region不支持QUIC。](tag:dt,dt_test)
|
274
274
|
|
275
275
|
:return: The protocol of this CreateMasterSlavePoolOption.
|
276
276
|
:rtype: str
|
@@ -281,7 +281,7 @@ class CreateMasterSlavePoolOption:
|
|
281
281
|
def protocol(self, protocol):
|
282
282
|
"""Sets the protocol of this CreateMasterSlavePoolOption.
|
283
283
|
|
284
|
-
后端云服务器组的后端协议。 取值:TCP、UDP、QUIC。 使用说明: - listener的protocol为UDP时,pool的protocol必须为UDP或QUIC。 - listener的protocol为TCP
|
284
|
+
后端云服务器组的后端协议。 取值:TCP、UDP、QUIC、TLS。 使用说明: - listener的protocol为UDP时,pool的protocol必须为UDP或QUIC。 - listener的protocol为TCP时,pool的protocol必须为TCP。 - listener的protocol为TLS时,pool的protocol必须为TLS或TCP(且只能使用ip_version为v4的TCP pool)。 - 其他协议监听器不支持主备后端服务器组。 [不支持QUIC。](tag:tm,hws_eu,g42,hk_g42,hcso_dt) [荷兰region不支持QUIC。](tag:dt,dt_test)
|
285
285
|
|
286
286
|
:param protocol: The protocol of this CreateMasterSlavePoolOption.
|
287
287
|
:type protocol: str
|
@@ -416,7 +416,7 @@ class CreateMasterSlavePoolOption:
|
|
416
416
|
def any_port_enable(self):
|
417
417
|
"""Gets the any_port_enable of this CreateMasterSlavePoolOption.
|
418
418
|
|
419
|
-
|
419
|
+
后端是否开启端口透传。开启后,后端服务器端口与前端监听器端口保持一致。关闭后,请求会转发给后端服务器protocol_port字段指定端口。取值:false不开启,true开启。 使用说明: - 仅QUIC,TCP,UDP的pool支持。
|
420
420
|
|
421
421
|
:return: The any_port_enable of this CreateMasterSlavePoolOption.
|
422
422
|
:rtype: bool
|
@@ -427,7 +427,7 @@ class CreateMasterSlavePoolOption:
|
|
427
427
|
def any_port_enable(self, any_port_enable):
|
428
428
|
"""Sets the any_port_enable of this CreateMasterSlavePoolOption.
|
429
429
|
|
430
|
-
|
430
|
+
后端是否开启端口透传。开启后,后端服务器端口与前端监听器端口保持一致。关闭后,请求会转发给后端服务器protocol_port字段指定端口。取值:false不开启,true开启。 使用说明: - 仅QUIC,TCP,UDP的pool支持。
|
431
431
|
|
432
432
|
:param any_port_enable: The any_port_enable of this CreateMasterSlavePoolOption.
|
433
433
|
:type any_port_enable: bool
|
@@ -41,7 +41,7 @@ class CreateMemberOption:
|
|
41
41
|
|
42
42
|
The model defined in huaweicloud sdk
|
43
43
|
|
44
|
-
:param address: 后端服务器对应的IP地址。 使用说明: - 若subnet_cidr_id为空,表示添加跨VPC后端,此时address必须为IPv4地址。 - 若subnet_cidr_id不为空,表示是一个关联到ECS的后端服务器。该IP
|
44
|
+
: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)
|
45
45
|
:type address: str
|
46
46
|
:param admin_state_up: 后端云服务器的管理状态。 取值:true、false。 虽然创建、更新请求支持该字段,但实际取值决定于后端云服务器对应的弹性云服务器是否存在。若存在,该值为true,否则,该值为false。
|
47
47
|
:type admin_state_up: bool
|
@@ -51,7 +51,7 @@ class CreateMemberOption:
|
|
51
51
|
:type project_id: str
|
52
52
|
:param protocol_port: 后端服务器业务端口。 >在开启端口透传的pool下创建member传该字段不生效,可不传该字段。
|
53
53
|
:type protocol_port: int
|
54
|
-
:param subnet_cidr_id:
|
54
|
+
:param subnet_cidr_id: 后端云服务器所在的子网,可以是IPv4或IPv6子网。若是IPv4子网,使用对应子网的子网ID(neutron_subnet_id);若是IPv6子网,使用对应子网的网络ID(neutron_network_id)。 ipv4子网的子网ID可以通过GET https://{VPC_Endpoint}/v1/{project_id}/subnets 响应参数中的neutron_subnet_id得到 ipv6子网的网络ID可以通过GET https://{VPC_Endpoint}/v1/{project_id}/subnets 响应参数中的neutron_network_id得到 使用说明: - 该子网和关联的负载均衡器的子网必须在同一VPC下。 - 若所属LB的跨VPC后端转发已开启(ip_target_enable=true),则该字段可以不传,表示添加跨VPC的后端服务器。 此时address必须为IPv4地址,所在的pool的协议必须为TCP/HTTP/HTTPS。 - 若所属LB未开启跨VPC后端转发,该参数必填。 [不支持IPv6,请勿设置为IPv6子网ID。](tag:dt,dt_test)
|
55
55
|
:type subnet_cidr_id: str
|
56
56
|
:param weight: 后端云服务器的权重,请求将根据pool配置的负载均衡算法和后端云服务器的权重进行负载分发。 权重值越大,分发的请求越多。权重为0的后端不再接受新的请求。 取值:0-100,默认1。 使用说明:若所在pool的lb_algorithm取值为SOURCE_IP,该字段无效。
|
57
57
|
:type weight: int
|
@@ -86,7 +86,7 @@ class CreateMemberOption:
|
|
86
86
|
def address(self):
|
87
87
|
"""Gets the address of this CreateMemberOption.
|
88
88
|
|
89
|
-
后端服务器对应的IP地址。 使用说明: - 若subnet_cidr_id为空,表示添加跨VPC后端,此时address必须为IPv4地址。 - 若subnet_cidr_id不为空,表示是一个关联到ECS的后端服务器。该IP
|
89
|
+
后端服务器对应的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)
|
90
90
|
|
91
91
|
:return: The address of this CreateMemberOption.
|
92
92
|
:rtype: str
|
@@ -97,7 +97,7 @@ class CreateMemberOption:
|
|
97
97
|
def address(self, address):
|
98
98
|
"""Sets the address of this CreateMemberOption.
|
99
99
|
|
100
|
-
后端服务器对应的IP地址。 使用说明: - 若subnet_cidr_id为空,表示添加跨VPC后端,此时address必须为IPv4地址。 - 若subnet_cidr_id不为空,表示是一个关联到ECS的后端服务器。该IP
|
100
|
+
后端服务器对应的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)
|
101
101
|
|
102
102
|
:param address: The address of this CreateMemberOption.
|
103
103
|
:type address: str
|
@@ -196,7 +196,7 @@ class CreateMemberOption:
|
|
196
196
|
def subnet_cidr_id(self):
|
197
197
|
"""Gets the subnet_cidr_id of this CreateMemberOption.
|
198
198
|
|
199
|
-
|
199
|
+
后端云服务器所在的子网,可以是IPv4或IPv6子网。若是IPv4子网,使用对应子网的子网ID(neutron_subnet_id);若是IPv6子网,使用对应子网的网络ID(neutron_network_id)。 ipv4子网的子网ID可以通过GET https://{VPC_Endpoint}/v1/{project_id}/subnets 响应参数中的neutron_subnet_id得到 ipv6子网的网络ID可以通过GET https://{VPC_Endpoint}/v1/{project_id}/subnets 响应参数中的neutron_network_id得到 使用说明: - 该子网和关联的负载均衡器的子网必须在同一VPC下。 - 若所属LB的跨VPC后端转发已开启(ip_target_enable=true),则该字段可以不传,表示添加跨VPC的后端服务器。 此时address必须为IPv4地址,所在的pool的协议必须为TCP/HTTP/HTTPS。 - 若所属LB未开启跨VPC后端转发,该参数必填。 [不支持IPv6,请勿设置为IPv6子网ID。](tag:dt,dt_test)
|
200
200
|
|
201
201
|
:return: The subnet_cidr_id of this CreateMemberOption.
|
202
202
|
:rtype: str
|
@@ -207,7 +207,7 @@ class CreateMemberOption:
|
|
207
207
|
def subnet_cidr_id(self, subnet_cidr_id):
|
208
208
|
"""Sets the subnet_cidr_id of this CreateMemberOption.
|
209
209
|
|
210
|
-
|
210
|
+
后端云服务器所在的子网,可以是IPv4或IPv6子网。若是IPv4子网,使用对应子网的子网ID(neutron_subnet_id);若是IPv6子网,使用对应子网的网络ID(neutron_network_id)。 ipv4子网的子网ID可以通过GET https://{VPC_Endpoint}/v1/{project_id}/subnets 响应参数中的neutron_subnet_id得到 ipv6子网的网络ID可以通过GET https://{VPC_Endpoint}/v1/{project_id}/subnets 响应参数中的neutron_network_id得到 使用说明: - 该子网和关联的负载均衡器的子网必须在同一VPC下。 - 若所属LB的跨VPC后端转发已开启(ip_target_enable=true),则该字段可以不传,表示添加跨VPC的后端服务器。 此时address必须为IPv4地址,所在的pool的协议必须为TCP/HTTP/HTTPS。 - 若所属LB未开启跨VPC后端转发,该参数必填。 [不支持IPv6,请勿设置为IPv6子网ID。](tag:dt,dt_test)
|
211
211
|
|
212
212
|
:param subnet_cidr_id: The subnet_cidr_id of this CreateMemberOption.
|
213
213
|
:type subnet_cidr_id: str
|