huaweicloudsdkelb 3.1.136__py2.py3-none-any.whl → 3.1.137__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/v2/elb_async_client.py +6 -0
- huaweicloudsdkelb/v2/elb_client.py +6 -0
- huaweicloudsdkelb/v2/model/certificate_resp.py +90 -3
- huaweicloudsdkelb/v2/model/create_certificate_request_body.py +90 -3
- huaweicloudsdkelb/v2/model/create_certificate_response.py +90 -3
- huaweicloudsdkelb/v2/model/list_certificates_request.py +90 -3
- huaweicloudsdkelb/v2/model/loadbalancer_resp.py +3 -3
- huaweicloudsdkelb/v2/model/show_certificate_response.py +90 -3
- huaweicloudsdkelb/v2/model/update_certificate_request_body.py +90 -3
- huaweicloudsdkelb/v2/model/update_certificate_response.py +90 -3
- huaweicloudsdkelb/v3/elb_async_client.py +17 -17
- huaweicloudsdkelb/v3/elb_client.py +17 -17
- huaweicloudsdkelb/v3/model/availability_zone.py +3 -3
- huaweicloudsdkelb/v3/model/batch_create_load_balancer_option.py +21 -21
- huaweicloudsdkelb/v3/model/batch_create_members_option.py +3 -3
- huaweicloudsdkelb/v3/model/batch_member.py +6 -6
- huaweicloudsdkelb/v3/model/batch_update_member.py +6 -6
- huaweicloudsdkelb/v3/model/batch_update_priority_request_body.py +3 -3
- huaweicloudsdkelb/v3/model/certificate_info.py +3 -3
- huaweicloudsdkelb/v3/model/change_loadbalancer_charge_mode_request_body.py +3 -3
- huaweicloudsdkelb/v3/model/count_preoccupy_ip_num_request.py +6 -6
- huaweicloudsdkelb/v3/model/create_certificate_option.py +3 -3
- huaweicloudsdkelb/v3/model/create_health_monitor_option.py +3 -3
- huaweicloudsdkelb/v3/model/create_ip_group_ip_option.py +3 -3
- huaweicloudsdkelb/v3/model/create_ip_group_option.py +3 -3
- huaweicloudsdkelb/v3/model/create_l7_policy_option.py +3 -3
- huaweicloudsdkelb/v3/model/create_l7_policy_rule_option.py +3 -3
- huaweicloudsdkelb/v3/model/create_listener_ip_group_option.py +3 -3
- huaweicloudsdkelb/v3/model/create_listener_option.py +33 -33
- huaweicloudsdkelb/v3/model/create_listener_quic_config_option.py +6 -6
- huaweicloudsdkelb/v3/model/create_load_balancer_bandwidth_option.py +3 -3
- huaweicloudsdkelb/v3/model/create_load_balancer_option.py +15 -15
- huaweicloudsdkelb/v3/model/create_load_balancer_public_ip_option.py +3 -3
- huaweicloudsdkelb/v3/model/create_master_slave_health_monitor_option.py +3 -3
- huaweicloudsdkelb/v3/model/create_master_slave_member_option.py +6 -6
- huaweicloudsdkelb/v3/model/create_master_slave_pool_option.py +9 -9
- huaweicloudsdkelb/v3/model/create_member_option.py +6 -6
- huaweicloudsdkelb/v3/model/create_pool_option.py +15 -15
- huaweicloudsdkelb/v3/model/create_pool_session_persistence_option.py +3 -3
- huaweicloudsdkelb/v3/model/create_redirect_pools_config.py +3 -3
- huaweicloudsdkelb/v3/model/create_redirect_pools_sticky_session_config.py +3 -3
- huaweicloudsdkelb/v3/model/create_rule_option.py +3 -3
- huaweicloudsdkelb/v3/model/create_security_policy_option.py +3 -3
- huaweicloudsdkelb/v3/model/eip_info.py +3 -3
- huaweicloudsdkelb/v3/model/flavor.py +3 -3
- huaweicloudsdkelb/v3/model/global_eip_info.py +3 -3
- huaweicloudsdkelb/v3/model/health_monitor.py +3 -3
- huaweicloudsdkelb/v3/model/ip_group.py +3 -3
- huaweicloudsdkelb/v3/model/ip_info.py +3 -3
- huaweicloudsdkelb/v3/model/l7_policy.py +3 -3
- huaweicloudsdkelb/v3/model/l7_rule.py +6 -6
- huaweicloudsdkelb/v3/model/list_all_members_request.py +3 -3
- huaweicloudsdkelb/v3/model/list_flavors_request.py +6 -6
- huaweicloudsdkelb/v3/model/list_health_monitors_request.py +3 -3
- huaweicloudsdkelb/v3/model/list_ip_groups_request.py +3 -3
- 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 +15 -15
- huaweicloudsdkelb/v3/model/list_load_balancers_request.py +21 -21
- huaweicloudsdkelb/v3/model/list_logtanks_request.py +3 -3
- huaweicloudsdkelb/v3/model/list_master_slave_pools_request.py +9 -9
- huaweicloudsdkelb/v3/model/list_members_request.py +9 -9
- huaweicloudsdkelb/v3/model/list_pools_request.py +15 -15
- huaweicloudsdkelb/v3/model/listener.py +21 -21
- huaweicloudsdkelb/v3/model/listener_ip_group.py +3 -3
- huaweicloudsdkelb/v3/model/listener_quic_config.py +6 -6
- huaweicloudsdkelb/v3/model/load_balancer.py +39 -39
- huaweicloudsdkelb/v3/model/load_balancer_status_member.py +3 -3
- huaweicloudsdkelb/v3/model/master_slave_health_monitor.py +3 -3
- huaweicloudsdkelb/v3/model/master_slave_member.py +6 -6
- huaweicloudsdkelb/v3/model/master_slave_pool.py +12 -12
- huaweicloudsdkelb/v3/model/member.py +6 -6
- huaweicloudsdkelb/v3/model/member_health_check_failed_reason.py +3 -3
- huaweicloudsdkelb/v3/model/member_info.py +6 -6
- huaweicloudsdkelb/v3/model/pool.py +18 -18
- huaweicloudsdkelb/v3/model/public_ip_info.py +3 -3
- huaweicloudsdkelb/v3/model/quota.py +3 -3
- huaweicloudsdkelb/v3/model/redirect_pools_sticky_session_config.py +3 -3
- huaweicloudsdkelb/v3/model/session_persistence.py +6 -6
- huaweicloudsdkelb/v3/model/upadate_ip_group_ip_option.py +3 -3
- huaweicloudsdkelb/v3/model/update_health_monitor_option.py +3 -3
- huaweicloudsdkelb/v3/model/update_l7_policy_option.py +3 -3
- huaweicloudsdkelb/v3/model/update_l7_rule_option.py +3 -3
- huaweicloudsdkelb/v3/model/update_listener_ip_group_option.py +3 -3
- huaweicloudsdkelb/v3/model/update_listener_option.py +18 -18
- huaweicloudsdkelb/v3/model/update_listener_quic_config_option.py +6 -6
- huaweicloudsdkelb/v3/model/update_load_balancer_option.py +18 -18
- huaweicloudsdkelb/v3/model/update_pool_option.py +9 -9
- huaweicloudsdkelb/v3/model/update_pool_session_persistence_option.py +6 -6
- huaweicloudsdkelb/v3/model/update_redirect_pools_sticky_session_config.py +3 -3
- huaweicloudsdkelb/v3/model/upgrade_v3_request_body.py +6 -6
- {huaweicloudsdkelb-3.1.136.dist-info → huaweicloudsdkelb-3.1.137.dist-info}/METADATA +2 -2
- {huaweicloudsdkelb-3.1.136.dist-info → huaweicloudsdkelb-3.1.137.dist-info}/RECORD +96 -96
- {huaweicloudsdkelb-3.1.136.dist-info → huaweicloudsdkelb-3.1.137.dist-info}/LICENSE +0 -0
- {huaweicloudsdkelb-3.1.136.dist-info → huaweicloudsdkelb-3.1.137.dist-info}/WHEEL +0 -0
- {huaweicloudsdkelb-3.1.136.dist-info → huaweicloudsdkelb-3.1.137.dist-info}/top_level.txt +0 -0
@@ -1122,7 +1122,7 @@ class ElbClient(Client):
|
|
1122
1122
|
def create_logtank(self, request):
|
1123
1123
|
"""创建云日志
|
1124
1124
|
|
1125
|
-
创建云日志。[荷兰region不支持云日志功能,请勿使用。](tag:dt
|
1125
|
+
创建云日志。[荷兰region不支持云日志功能,请勿使用。](tag:dt)
|
1126
1126
|
|
1127
1127
|
Please refer to HUAWEI cloud API Explorer for details.
|
1128
1128
|
|
@@ -1386,7 +1386,7 @@ class ElbClient(Client):
|
|
1386
1386
|
|
1387
1387
|
创建自定义安全策略。用于在创建HTTPS监听器时,请求参数中指定security_policy_id来设置监听器的自定义安全策略。
|
1388
1388
|
|
1389
|
-
[荷兰region不支持自定义安全策略功能,请勿使用。](tag:dt
|
1389
|
+
[荷兰region不支持自定义安全策略功能,请勿使用。](tag:dt)
|
1390
1390
|
|
1391
1391
|
Please refer to HUAWEI cloud API Explorer for details.
|
1392
1392
|
|
@@ -2043,7 +2043,7 @@ class ElbClient(Client):
|
|
2043
2043
|
def delete_logtank(self, request):
|
2044
2044
|
"""删除云日志
|
2045
2045
|
|
2046
|
-
删除云日志。[荷兰region不支持云日志功能,请勿使用。](tag:dt
|
2046
|
+
删除云日志。[荷兰region不支持云日志功能,请勿使用。](tag:dt)
|
2047
2047
|
|
2048
2048
|
Please refer to HUAWEI cloud API Explorer for details.
|
2049
2049
|
|
@@ -2370,7 +2370,7 @@ class ElbClient(Client):
|
|
2370
2370
|
def delete_security_policy(self, request):
|
2371
2371
|
"""删除自定义安全策略
|
2372
2372
|
|
2373
|
-
删除自定义安全策略。[荷兰region不支持自定义安全策略功能,请勿使用。](tag:dt
|
2373
|
+
删除自定义安全策略。[荷兰region不支持自定义安全策略功能,请勿使用。](tag:dt)
|
2374
2374
|
|
2375
2375
|
Please refer to HUAWEI cloud API Explorer for details.
|
2376
2376
|
|
@@ -3625,7 +3625,7 @@ class ElbClient(Client):
|
|
3625
3625
|
def list_logtanks(self, request):
|
3626
3626
|
"""查询云日志列表
|
3627
3627
|
|
3628
|
-
查询云日志列表。[荷兰region不支持云日志功能,请勿使用。](tag:dt
|
3628
|
+
查询云日志列表。[荷兰region不支持云日志功能,请勿使用。](tag:dt)
|
3629
3629
|
|
3630
3630
|
Please refer to HUAWEI cloud API Explorer for details.
|
3631
3631
|
|
@@ -4130,7 +4130,7 @@ class ElbClient(Client):
|
|
4130
4130
|
def list_security_policies(self, request):
|
4131
4131
|
"""查询自定义安全策略列表
|
4132
4132
|
|
4133
|
-
查询自定义安全策略列表。[荷兰region不支持自定义安全策略功能,请勿使用。](tag:dt
|
4133
|
+
查询自定义安全策略列表。[荷兰region不支持自定义安全策略功能,请勿使用。](tag:dt)
|
4134
4134
|
|
4135
4135
|
Please refer to HUAWEI cloud API Explorer for details.
|
4136
4136
|
|
@@ -4932,7 +4932,7 @@ class ElbClient(Client):
|
|
4932
4932
|
def show_logtank(self, request):
|
4933
4933
|
"""查询云日志详情
|
4934
4934
|
|
4935
|
-
云日志详情。[荷兰region不支持云日志功能,请勿使用。](tag:dt
|
4935
|
+
云日志详情。[荷兰region不支持云日志功能,请勿使用。](tag:dt)
|
4936
4936
|
|
4937
4937
|
Please refer to HUAWEI cloud API Explorer for details.
|
4938
4938
|
|
@@ -5257,7 +5257,7 @@ class ElbClient(Client):
|
|
5257
5257
|
def show_security_policy(self, request):
|
5258
5258
|
"""查询自定义安全策略详情
|
5259
5259
|
|
5260
|
-
查询自定义安全策略详情。[荷兰region不支持自定义安全策略功能,请勿使用。](tag:dt
|
5260
|
+
查询自定义安全策略详情。[荷兰region不支持自定义安全策略功能,请勿使用。](tag:dt)
|
5261
5261
|
|
5262
5262
|
Please refer to HUAWEI cloud API Explorer for details.
|
5263
5263
|
|
@@ -5726,7 +5726,7 @@ class ElbClient(Client):
|
|
5726
5726
|
def update_logtank(self, request):
|
5727
5727
|
"""更新云日志
|
5728
5728
|
|
5729
|
-
更新云日志。[荷兰region不支持云日志功能,请勿使用。](tag:dt
|
5729
|
+
更新云日志。[荷兰region不支持云日志功能,请勿使用。](tag:dt)
|
5730
5730
|
|
5731
5731
|
Please refer to HUAWEI cloud API Explorer for details.
|
5732
5732
|
|
@@ -5929,7 +5929,7 @@ class ElbClient(Client):
|
|
5929
5929
|
def update_security_policy(self, request):
|
5930
5930
|
"""更新自定义安全策略
|
5931
5931
|
|
5932
|
-
更新自定义安全策略。[荷兰region不支持自定义安全策略功能,请勿使用。](tag:dt
|
5932
|
+
更新自定义安全策略。[荷兰region不支持自定义安全策略功能,请勿使用。](tag:dt)
|
5933
5933
|
|
5934
5934
|
Please refer to HUAWEI cloud API Explorer for details.
|
5935
5935
|
|
@@ -6126,7 +6126,7 @@ class ElbClient(Client):
|
|
6126
6126
|
def batch_delete_ip_list(self, request):
|
6127
6127
|
"""删除IP地址组的IP列表项
|
6128
6128
|
|
6129
|
-
批量删除IP地址组的IP列表信息。[荷兰region不支持该API](tag:dt
|
6129
|
+
批量删除IP地址组的IP列表信息。[荷兰region不支持该API](tag:dt)
|
6130
6130
|
|
6131
6131
|
Please refer to HUAWEI cloud API Explorer for details.
|
6132
6132
|
|
@@ -6296,7 +6296,7 @@ class ElbClient(Client):
|
|
6296
6296
|
|
6297
6297
|
需要注意0.0.0.0与0.0.0.0/32视为重复,0:0:0:0:0:0:0:1与::1与::1/128视为重复,只会保存其中一个。
|
6298
6298
|
|
6299
|
-
[荷兰region不支持IP地址组功能,请勿使用。](tag:dt
|
6299
|
+
[荷兰region不支持IP地址组功能,请勿使用。](tag:dt)
|
6300
6300
|
|
6301
6301
|
Please refer to HUAWEI cloud API Explorer for details.
|
6302
6302
|
|
@@ -6361,7 +6361,7 @@ class ElbClient(Client):
|
|
6361
6361
|
def delete_ip_group(self, request):
|
6362
6362
|
"""删除IP地址组
|
6363
6363
|
|
6364
|
-
删除ip地址组。[荷兰region不支持IP地址组功能,请勿使用。](tag:dt
|
6364
|
+
删除ip地址组。[荷兰region不支持IP地址组功能,请勿使用。](tag:dt)
|
6365
6365
|
|
6366
6366
|
Please refer to HUAWEI cloud API Explorer for details.
|
6367
6367
|
|
@@ -6426,7 +6426,7 @@ class ElbClient(Client):
|
|
6426
6426
|
def list_ip_groups(self, request):
|
6427
6427
|
"""查询IP地址组列表
|
6428
6428
|
|
6429
|
-
查询IP地址组列表。[荷兰region不支持IP地址组功能,请勿使用。](tag:dt
|
6429
|
+
查询IP地址组列表。[荷兰region不支持IP地址组功能,请勿使用。](tag:dt)
|
6430
6430
|
|
6431
6431
|
Please refer to HUAWEI cloud API Explorer for details.
|
6432
6432
|
|
@@ -6510,7 +6510,7 @@ class ElbClient(Client):
|
|
6510
6510
|
def show_ip_group(self, request):
|
6511
6511
|
"""查询IP地址组详情
|
6512
6512
|
|
6513
|
-
获取IP地址组详情。[荷兰region不支持IP地址组功能,请勿使用。](tag:dt
|
6513
|
+
获取IP地址组详情。[荷兰region不支持IP地址组功能,请勿使用。](tag:dt)
|
6514
6514
|
|
6515
6515
|
Please refer to HUAWEI cloud API Explorer for details.
|
6516
6516
|
|
@@ -6645,7 +6645,7 @@ class ElbClient(Client):
|
|
6645
6645
|
|
6646
6646
|
需要注意0.0.0.0与0.0.0.0/32视为重复,0:0:0:0:0:0:0:1与::1与::1/128视为重复,只会保存其中一个。
|
6647
6647
|
|
6648
|
-
[荷兰region不支持IP地址组功能,请勿使用。](tag:dt
|
6648
|
+
[荷兰region不支持IP地址组功能,请勿使用。](tag:dt)
|
6649
6649
|
|
6650
6650
|
Please refer to HUAWEI cloud API Explorer for details.
|
6651
6651
|
|
@@ -6712,7 +6712,7 @@ class ElbClient(Client):
|
|
6712
6712
|
def update_ip_list(self, request):
|
6713
6713
|
"""更新IP地址组的IP列表项
|
6714
6714
|
|
6715
|
-
添加新的IP地址到IP地址组的IP列表信息,或更新已有IP地址的描述。[荷兰region不支持该API](tag:dt
|
6715
|
+
添加新的IP地址到IP地址组的IP列表信息,或更新已有IP地址的描述。[荷兰region不支持该API](tag:dt)
|
6716
6716
|
|
6717
6717
|
Please refer to HUAWEI cloud API Explorer for details.
|
6718
6718
|
|
@@ -41,7 +41,7 @@ class AvailabilityZone:
|
|
41
41
|
:type code: str
|
42
42
|
:param state: 参数解释:可用区状态。 取值范围:ACTIVE。
|
43
43
|
:type state: str
|
44
|
-
:param protocol: [参数解释:未售罄的LB规格类别。 取值范围:L4 表示网络型LB未售罄;L7 表示应用型LB未售罄。](tag:hws,hws_hk,hws_eu,otc,tlf,ct,sbc,g42,hk_g42,
|
44
|
+
:param protocol: [参数解释:未售罄的LB规格类别。 取值范围:L4 表示网络型LB未售罄;L7 表示应用型LB未售罄。](tag:hws,hws_hk,hws_eu,otc,tlf,ct,sbc,g42,hk_g42,mix,hk_sbc,hws_ocb,dt) [参数解释:LB规格类别。 取值范围:L4 表示网络型LB;L7 表示应用型LB。](tag:ctc,cmcc,ocb,tm,srg,fcs,fcs_dt,hcso,hcso_dt,hk_vdf)
|
45
45
|
:type protocol: list[str]
|
46
46
|
:param public_border_group: 参数解释:网络公共边界组,如:center
|
47
47
|
:type public_border_group: str
|
@@ -112,7 +112,7 @@ class AvailabilityZone:
|
|
112
112
|
def protocol(self):
|
113
113
|
"""Gets the protocol of this AvailabilityZone.
|
114
114
|
|
115
|
-
[参数解释:未售罄的LB规格类别。 取值范围:L4 表示网络型LB未售罄;L7 表示应用型LB未售罄。](tag:hws,hws_hk,hws_eu,otc,tlf,ct,sbc,g42,hk_g42,
|
115
|
+
[参数解释:未售罄的LB规格类别。 取值范围:L4 表示网络型LB未售罄;L7 表示应用型LB未售罄。](tag:hws,hws_hk,hws_eu,otc,tlf,ct,sbc,g42,hk_g42,mix,hk_sbc,hws_ocb,dt) [参数解释:LB规格类别。 取值范围:L4 表示网络型LB;L7 表示应用型LB。](tag:ctc,cmcc,ocb,tm,srg,fcs,fcs_dt,hcso,hcso_dt,hk_vdf)
|
116
116
|
|
117
117
|
:return: The protocol of this AvailabilityZone.
|
118
118
|
:rtype: list[str]
|
@@ -123,7 +123,7 @@ class AvailabilityZone:
|
|
123
123
|
def protocol(self, protocol):
|
124
124
|
"""Sets the protocol of this AvailabilityZone.
|
125
125
|
|
126
|
-
[参数解释:未售罄的LB规格类别。 取值范围:L4 表示网络型LB未售罄;L7 表示应用型LB未售罄。](tag:hws,hws_hk,hws_eu,otc,tlf,ct,sbc,g42,hk_g42,
|
126
|
+
[参数解释:未售罄的LB规格类别。 取值范围:L4 表示网络型LB未售罄;L7 表示应用型LB未售罄。](tag:hws,hws_hk,hws_eu,otc,tlf,ct,sbc,g42,hk_g42,mix,hk_sbc,hws_ocb,dt) [参数解释:LB规格类别。 取值范围:L4 表示网络型LB;L7 表示应用型LB。](tag:ctc,cmcc,ocb,tm,srg,fcs,fcs_dt,hcso,hcso_dt,hk_vdf)
|
127
127
|
|
128
128
|
:param protocol: The protocol of this AvailabilityZone.
|
129
129
|
:type protocol: list[str]
|
@@ -109,7 +109,7 @@ class BatchCreateLoadBalancerOption:
|
|
109
109
|
:type vip_address: str
|
110
110
|
:param vip_subnet_cidr_id: 负载均衡器所在子网的IPv4子网ID。若需要创建带IPv4虚拟IP的LB,该字段必须传入。 可以通过GET https://{VPC_Endpoint}/v1/{project_id}/subnets 响应参数中的neutron_subnet_id得到。 使用说明: - vpc_id, vip_subnet_cidr_id, ipv6_vip_virsubnet_id不能同时为空,且需要在同一个vpc下。 - 若同时传入vpc_id和vip_subnet_cidr_id, 则vip_subnet_cidr_id对应的子网必须属于vpc_id对应的VPC。
|
111
111
|
:type vip_subnet_cidr_id: str
|
112
|
-
:param ipv6_vip_virsubnet_id: 双栈类型负载均衡器所在子网的IPv6网络ID。可以通过GET https://{VPC_Endpoint}/v1/{project_id}/subnets 响应参数中的neutron_network_id得到。 使用说明: - vpc_id,vip_subnet_cidr_id,ipv6_vip_virsubnet_id不能同时为空,且需要在同一个vpc下。 - 需要对应的子网开启IPv6。 - 批量创建共享型实例时,该字段不允许指定。 [不支持IPv6,请勿使用。](tag:dt
|
112
|
+
:param ipv6_vip_virsubnet_id: 双栈类型负载均衡器所在子网的IPv6网络ID。可以通过GET https://{VPC_Endpoint}/v1/{project_id}/subnets 响应参数中的neutron_network_id得到。 使用说明: - vpc_id,vip_subnet_cidr_id,ipv6_vip_virsubnet_id不能同时为空,且需要在同一个vpc下。 - 需要对应的子网开启IPv6。 - 批量创建共享型实例时,该字段不允许指定。 [不支持IPv6,请勿使用。](tag:dt)
|
113
113
|
:type ipv6_vip_virsubnet_id: str
|
114
114
|
:param provider: 负载均衡器的生产者名称。固定为vlb。批量创建共享型实例时,该字段不允许指定。
|
115
115
|
:type provider: str
|
@@ -123,13 +123,13 @@ class BatchCreateLoadBalancerOption:
|
|
123
123
|
:type vpc_id: str
|
124
124
|
:param availability_zone_list: 可用区列表。可通过GET https://{ELB_Endpoint}/v3/{project_id}/elb/availability-zones 接口来查询可用区集合列表。创建负载均衡器时,从查询结果选择某一个可用区集合,并从中选择一个或多个可用区。 使用说明: - 批量创建共享型实例时,该字段不允许指定。
|
125
125
|
:type availability_zone_list: list[str]
|
126
|
-
:param enterprise_project_id: 负载均衡器所属的企业项目ID。创建时传入\"\"、\"0\"或不存在的企业项目ID,或者不传则资源属于default企业项目,默认返回\"0\"。 [不支持该字段,请勿使用。](tag:dt,
|
126
|
+
:param enterprise_project_id: 负载均衡器所属的企业项目ID。创建时传入\"\"、\"0\"或不存在的企业项目ID,或者不传则资源属于default企业项目,默认返回\"0\"。 [不支持该字段,请勿使用。](tag:dt,hcso_dt)
|
127
127
|
:type enterprise_project_id: str
|
128
128
|
:param tags: 负载均衡的标签列表。示例:\"tags\":[{\"key\":\"my_tag\",\"value\":\"my_tag_value\"}]
|
129
129
|
:type tags: list[:class:`huaweicloudsdkelb.v3.Tag`]
|
130
|
-
:param admin_state_up: 参数解释:负载均衡器的启用状态。 取值范围: - true :启用。 - false:停用。 默认取值:true。 [不支持该字段,请勿使用。](tag:dt
|
130
|
+
:param admin_state_up: 参数解释:负载均衡器的启用状态。 取值范围: - true :启用。 - false:停用。 默认取值:true。 [不支持该字段,请勿使用。](tag:dt)
|
131
131
|
:type admin_state_up: bool
|
132
|
-
:param billing_info: 资源账单信息。 取值范围: - 空:按需计费。 [- 非空:包周期计费,格式为:order_id:product_id:region_id:project_id。如:CS2107161019CDJZZ:OFFI569702121789763584:az1:057ef081eb00d2732fd1c01a9be75e6f](tag:hws)
|
132
|
+
:param billing_info: 资源账单信息。 取值范围: - 空:按需计费。 [- 非空:包周期计费,格式为:order_id:product_id:region_id:project_id。如:CS2107161019CDJZZ:OFFI569702121789763584:az1:057ef081eb00d2732fd1c01a9be75e6f](tag:hws) [不支持该字段,请勿使用。](tag:hws_hk,hws_eu,hws_eu_wb,hws_test,srg,fcs,fcs_vm,dt,ctc,cmcc,tm,sbc,hk_sbc,hk_tm,hk_vdf)
|
133
133
|
:type billing_info: str
|
134
134
|
:param ipv6_bandwidth:
|
135
135
|
:type ipv6_bandwidth: :class:`huaweicloudsdkelb.v3.BandwidthRef`
|
@@ -143,13 +143,13 @@ class BatchCreateLoadBalancerOption:
|
|
143
143
|
:type elb_virsubnet_ids: list[str]
|
144
144
|
: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,srg,fcs,dt) [- 网关型LB不支持该特性。](tag:hws_eu) 取值范围: - true:开启。 - false:不开启。 [荷兰region不支持该字段,请勿使用。](tag:dt)
|
145
145
|
:type ip_target_enable: bool
|
146
|
-
:param deletion_protection_enable: 是否开启删除保护。 批量创建共享型实例的场景,该字段不允许指定。 取值:false不开启,true开启。默认false不开启。 > 退场时需要先关闭所有资源的删除保护开关。 [不支持该字段,请勿使用。](tag:hws_eu,g42,hk_g42) [荷兰region不支持该字段,请勿使用。](tag:dt
|
146
|
+
:param deletion_protection_enable: 是否开启删除保护。 批量创建共享型实例的场景,该字段不允许指定。 取值:false不开启,true开启。默认false不开启。 > 退场时需要先关闭所有资源的删除保护开关。 [不支持该字段,请勿使用。](tag:hws_eu,g42,hk_g42) [荷兰region不支持该字段,请勿使用。](tag:dt)
|
147
147
|
:type deletion_protection_enable: bool
|
148
148
|
:param prepaid_options:
|
149
149
|
:type prepaid_options: :class:`huaweicloudsdkelb.v3.PrepaidCreateOption`
|
150
150
|
:param autoscaling:
|
151
151
|
:type autoscaling: :class:`huaweicloudsdkelb.v3.CreateLoadbalancerAutoscalingOption`
|
152
|
-
:param waf_failure_action: WAF故障时的流量处理策略。discard:丢弃,forward: 转发到后端(默认) 使用说明:只有绑定了waf的LB实例,该字段才会生效。 [不支持该字段,请勿使用。](tag:hws_eu,hws_test,hcs,hcs_sm,hcso,srg,fcs,fcs_vm,mix,hcso_g42,hcso_g42_b,hcso_dt,dt,
|
152
|
+
:param waf_failure_action: WAF故障时的流量处理策略。discard:丢弃,forward: 转发到后端(默认) 使用说明:只有绑定了waf的LB实例,该字段才会生效。 [不支持该字段,请勿使用。](tag:hws_eu,hws_test,hcs,hcs_sm,hcso,srg,fcs,fcs_vm,mix,hcso_g42,hcso_g42_b,hcso_dt,dt,ocb,ctc,cmcc,tm,ct,sbc,g42,hws_ocb,hk_sbc,hk_tm,hk_g42)
|
153
153
|
:type waf_failure_action: str
|
154
154
|
:param protection_status: 修改保护状态, 取值: - nonProtection: 不保护,默认值为nonProtection - consoleProtection: 控制台修改保护
|
155
155
|
:type protection_status: str
|
@@ -157,7 +157,7 @@ class BatchCreateLoadBalancerOption:
|
|
157
157
|
:type protection_reason: str
|
158
158
|
:param charge_mode: '创建实例采用的计费模式。flavor: 按实例规格收费,默认值。lcu: 按使用量收费。' 批量创建共享型实例时,该字段不允许指定。
|
159
159
|
:type charge_mode: str
|
160
|
-
:param ipv6_vip_address: 双栈类型负载均衡器的IPv6地址。 当批量创建的number数量大于1时不支持传入该字段,返回400。 批量创建共享型实例的场景,该字段不允许指定。 [不支持IPv6,请勿使用。](tag:dt
|
160
|
+
:param ipv6_vip_address: 双栈类型负载均衡器的IPv6地址。 当批量创建的number数量大于1时不支持传入该字段,返回400。 批量创建共享型实例的场景,该字段不允许指定。 [不支持IPv6,请勿使用。](tag:dt)
|
161
161
|
:type ipv6_vip_address: str
|
162
162
|
"""
|
163
163
|
|
@@ -444,7 +444,7 @@ class BatchCreateLoadBalancerOption:
|
|
444
444
|
def ipv6_vip_virsubnet_id(self):
|
445
445
|
"""Gets the ipv6_vip_virsubnet_id of this BatchCreateLoadBalancerOption.
|
446
446
|
|
447
|
-
双栈类型负载均衡器所在子网的IPv6网络ID。可以通过GET https://{VPC_Endpoint}/v1/{project_id}/subnets 响应参数中的neutron_network_id得到。 使用说明: - vpc_id,vip_subnet_cidr_id,ipv6_vip_virsubnet_id不能同时为空,且需要在同一个vpc下。 - 需要对应的子网开启IPv6。 - 批量创建共享型实例时,该字段不允许指定。 [不支持IPv6,请勿使用。](tag:dt
|
447
|
+
双栈类型负载均衡器所在子网的IPv6网络ID。可以通过GET https://{VPC_Endpoint}/v1/{project_id}/subnets 响应参数中的neutron_network_id得到。 使用说明: - vpc_id,vip_subnet_cidr_id,ipv6_vip_virsubnet_id不能同时为空,且需要在同一个vpc下。 - 需要对应的子网开启IPv6。 - 批量创建共享型实例时,该字段不允许指定。 [不支持IPv6,请勿使用。](tag:dt)
|
448
448
|
|
449
449
|
:return: The ipv6_vip_virsubnet_id of this BatchCreateLoadBalancerOption.
|
450
450
|
:rtype: str
|
@@ -455,7 +455,7 @@ class BatchCreateLoadBalancerOption:
|
|
455
455
|
def ipv6_vip_virsubnet_id(self, ipv6_vip_virsubnet_id):
|
456
456
|
"""Sets the ipv6_vip_virsubnet_id of this BatchCreateLoadBalancerOption.
|
457
457
|
|
458
|
-
双栈类型负载均衡器所在子网的IPv6网络ID。可以通过GET https://{VPC_Endpoint}/v1/{project_id}/subnets 响应参数中的neutron_network_id得到。 使用说明: - vpc_id,vip_subnet_cidr_id,ipv6_vip_virsubnet_id不能同时为空,且需要在同一个vpc下。 - 需要对应的子网开启IPv6。 - 批量创建共享型实例时,该字段不允许指定。 [不支持IPv6,请勿使用。](tag:dt
|
458
|
+
双栈类型负载均衡器所在子网的IPv6网络ID。可以通过GET https://{VPC_Endpoint}/v1/{project_id}/subnets 响应参数中的neutron_network_id得到。 使用说明: - vpc_id,vip_subnet_cidr_id,ipv6_vip_virsubnet_id不能同时为空,且需要在同一个vpc下。 - 需要对应的子网开启IPv6。 - 批量创建共享型实例时,该字段不允许指定。 [不支持IPv6,请勿使用。](tag:dt)
|
459
459
|
|
460
460
|
:param ipv6_vip_virsubnet_id: The ipv6_vip_virsubnet_id of this BatchCreateLoadBalancerOption.
|
461
461
|
:type ipv6_vip_virsubnet_id: str
|
@@ -598,7 +598,7 @@ class BatchCreateLoadBalancerOption:
|
|
598
598
|
def enterprise_project_id(self):
|
599
599
|
"""Gets the enterprise_project_id of this BatchCreateLoadBalancerOption.
|
600
600
|
|
601
|
-
负载均衡器所属的企业项目ID。创建时传入\"\"、\"0\"或不存在的企业项目ID,或者不传则资源属于default企业项目,默认返回\"0\"。 [不支持该字段,请勿使用。](tag:dt,
|
601
|
+
负载均衡器所属的企业项目ID。创建时传入\"\"、\"0\"或不存在的企业项目ID,或者不传则资源属于default企业项目,默认返回\"0\"。 [不支持该字段,请勿使用。](tag:dt,hcso_dt)
|
602
602
|
|
603
603
|
:return: The enterprise_project_id of this BatchCreateLoadBalancerOption.
|
604
604
|
:rtype: str
|
@@ -609,7 +609,7 @@ class BatchCreateLoadBalancerOption:
|
|
609
609
|
def enterprise_project_id(self, enterprise_project_id):
|
610
610
|
"""Sets the enterprise_project_id of this BatchCreateLoadBalancerOption.
|
611
611
|
|
612
|
-
负载均衡器所属的企业项目ID。创建时传入\"\"、\"0\"或不存在的企业项目ID,或者不传则资源属于default企业项目,默认返回\"0\"。 [不支持该字段,请勿使用。](tag:dt,
|
612
|
+
负载均衡器所属的企业项目ID。创建时传入\"\"、\"0\"或不存在的企业项目ID,或者不传则资源属于default企业项目,默认返回\"0\"。 [不支持该字段,请勿使用。](tag:dt,hcso_dt)
|
613
613
|
|
614
614
|
:param enterprise_project_id: The enterprise_project_id of this BatchCreateLoadBalancerOption.
|
615
615
|
:type enterprise_project_id: str
|
@@ -642,7 +642,7 @@ class BatchCreateLoadBalancerOption:
|
|
642
642
|
def admin_state_up(self):
|
643
643
|
"""Gets the admin_state_up of this BatchCreateLoadBalancerOption.
|
644
644
|
|
645
|
-
参数解释:负载均衡器的启用状态。 取值范围: - true :启用。 - false:停用。 默认取值:true。 [不支持该字段,请勿使用。](tag:dt
|
645
|
+
参数解释:负载均衡器的启用状态。 取值范围: - true :启用。 - false:停用。 默认取值:true。 [不支持该字段,请勿使用。](tag:dt)
|
646
646
|
|
647
647
|
:return: The admin_state_up of this BatchCreateLoadBalancerOption.
|
648
648
|
:rtype: bool
|
@@ -653,7 +653,7 @@ class BatchCreateLoadBalancerOption:
|
|
653
653
|
def admin_state_up(self, admin_state_up):
|
654
654
|
"""Sets the admin_state_up of this BatchCreateLoadBalancerOption.
|
655
655
|
|
656
|
-
参数解释:负载均衡器的启用状态。 取值范围: - true :启用。 - false:停用。 默认取值:true。 [不支持该字段,请勿使用。](tag:dt
|
656
|
+
参数解释:负载均衡器的启用状态。 取值范围: - true :启用。 - false:停用。 默认取值:true。 [不支持该字段,请勿使用。](tag:dt)
|
657
657
|
|
658
658
|
:param admin_state_up: The admin_state_up of this BatchCreateLoadBalancerOption.
|
659
659
|
:type admin_state_up: bool
|
@@ -664,7 +664,7 @@ class BatchCreateLoadBalancerOption:
|
|
664
664
|
def billing_info(self):
|
665
665
|
"""Gets the billing_info of this BatchCreateLoadBalancerOption.
|
666
666
|
|
667
|
-
资源账单信息。 取值范围: - 空:按需计费。 [- 非空:包周期计费,格式为:order_id:product_id:region_id:project_id。如:CS2107161019CDJZZ:OFFI569702121789763584:az1:057ef081eb00d2732fd1c01a9be75e6f](tag:hws)
|
667
|
+
资源账单信息。 取值范围: - 空:按需计费。 [- 非空:包周期计费,格式为:order_id:product_id:region_id:project_id。如:CS2107161019CDJZZ:OFFI569702121789763584:az1:057ef081eb00d2732fd1c01a9be75e6f](tag:hws) [不支持该字段,请勿使用。](tag:hws_hk,hws_eu,hws_eu_wb,hws_test,srg,fcs,fcs_vm,dt,ctc,cmcc,tm,sbc,hk_sbc,hk_tm,hk_vdf)
|
668
668
|
|
669
669
|
:return: The billing_info of this BatchCreateLoadBalancerOption.
|
670
670
|
:rtype: str
|
@@ -675,7 +675,7 @@ class BatchCreateLoadBalancerOption:
|
|
675
675
|
def billing_info(self, billing_info):
|
676
676
|
"""Sets the billing_info of this BatchCreateLoadBalancerOption.
|
677
677
|
|
678
|
-
资源账单信息。 取值范围: - 空:按需计费。 [- 非空:包周期计费,格式为:order_id:product_id:region_id:project_id。如:CS2107161019CDJZZ:OFFI569702121789763584:az1:057ef081eb00d2732fd1c01a9be75e6f](tag:hws)
|
678
|
+
资源账单信息。 取值范围: - 空:按需计费。 [- 非空:包周期计费,格式为:order_id:product_id:region_id:project_id。如:CS2107161019CDJZZ:OFFI569702121789763584:az1:057ef081eb00d2732fd1c01a9be75e6f](tag:hws) [不支持该字段,请勿使用。](tag:hws_hk,hws_eu,hws_eu_wb,hws_test,srg,fcs,fcs_vm,dt,ctc,cmcc,tm,sbc,hk_sbc,hk_tm,hk_vdf)
|
679
679
|
|
680
680
|
:param billing_info: The billing_info of this BatchCreateLoadBalancerOption.
|
681
681
|
:type billing_info: str
|
@@ -806,7 +806,7 @@ class BatchCreateLoadBalancerOption:
|
|
806
806
|
def deletion_protection_enable(self):
|
807
807
|
"""Gets the deletion_protection_enable of this BatchCreateLoadBalancerOption.
|
808
808
|
|
809
|
-
是否开启删除保护。 批量创建共享型实例的场景,该字段不允许指定。 取值:false不开启,true开启。默认false不开启。 > 退场时需要先关闭所有资源的删除保护开关。 [不支持该字段,请勿使用。](tag:hws_eu,g42,hk_g42) [荷兰region不支持该字段,请勿使用。](tag:dt
|
809
|
+
是否开启删除保护。 批量创建共享型实例的场景,该字段不允许指定。 取值:false不开启,true开启。默认false不开启。 > 退场时需要先关闭所有资源的删除保护开关。 [不支持该字段,请勿使用。](tag:hws_eu,g42,hk_g42) [荷兰region不支持该字段,请勿使用。](tag:dt)
|
810
810
|
|
811
811
|
:return: The deletion_protection_enable of this BatchCreateLoadBalancerOption.
|
812
812
|
:rtype: bool
|
@@ -817,7 +817,7 @@ class BatchCreateLoadBalancerOption:
|
|
817
817
|
def deletion_protection_enable(self, deletion_protection_enable):
|
818
818
|
"""Sets the deletion_protection_enable of this BatchCreateLoadBalancerOption.
|
819
819
|
|
820
|
-
是否开启删除保护。 批量创建共享型实例的场景,该字段不允许指定。 取值:false不开启,true开启。默认false不开启。 > 退场时需要先关闭所有资源的删除保护开关。 [不支持该字段,请勿使用。](tag:hws_eu,g42,hk_g42) [荷兰region不支持该字段,请勿使用。](tag:dt
|
820
|
+
是否开启删除保护。 批量创建共享型实例的场景,该字段不允许指定。 取值:false不开启,true开启。默认false不开启。 > 退场时需要先关闭所有资源的删除保护开关。 [不支持该字段,请勿使用。](tag:hws_eu,g42,hk_g42) [荷兰region不支持该字段,请勿使用。](tag:dt)
|
821
821
|
|
822
822
|
:param deletion_protection_enable: The deletion_protection_enable of this BatchCreateLoadBalancerOption.
|
823
823
|
:type deletion_protection_enable: bool
|
@@ -864,7 +864,7 @@ class BatchCreateLoadBalancerOption:
|
|
864
864
|
def waf_failure_action(self):
|
865
865
|
"""Gets the waf_failure_action of this BatchCreateLoadBalancerOption.
|
866
866
|
|
867
|
-
WAF故障时的流量处理策略。discard:丢弃,forward: 转发到后端(默认) 使用说明:只有绑定了waf的LB实例,该字段才会生效。 [不支持该字段,请勿使用。](tag:hws_eu,hws_test,hcs,hcs_sm,hcso,srg,fcs,fcs_vm,mix,hcso_g42,hcso_g42_b,hcso_dt,dt,
|
867
|
+
WAF故障时的流量处理策略。discard:丢弃,forward: 转发到后端(默认) 使用说明:只有绑定了waf的LB实例,该字段才会生效。 [不支持该字段,请勿使用。](tag:hws_eu,hws_test,hcs,hcs_sm,hcso,srg,fcs,fcs_vm,mix,hcso_g42,hcso_g42_b,hcso_dt,dt,ocb,ctc,cmcc,tm,ct,sbc,g42,hws_ocb,hk_sbc,hk_tm,hk_g42)
|
868
868
|
|
869
869
|
:return: The waf_failure_action of this BatchCreateLoadBalancerOption.
|
870
870
|
:rtype: str
|
@@ -875,7 +875,7 @@ class BatchCreateLoadBalancerOption:
|
|
875
875
|
def waf_failure_action(self, waf_failure_action):
|
876
876
|
"""Sets the waf_failure_action of this BatchCreateLoadBalancerOption.
|
877
877
|
|
878
|
-
WAF故障时的流量处理策略。discard:丢弃,forward: 转发到后端(默认) 使用说明:只有绑定了waf的LB实例,该字段才会生效。 [不支持该字段,请勿使用。](tag:hws_eu,hws_test,hcs,hcs_sm,hcso,srg,fcs,fcs_vm,mix,hcso_g42,hcso_g42_b,hcso_dt,dt,
|
878
|
+
WAF故障时的流量处理策略。discard:丢弃,forward: 转发到后端(默认) 使用说明:只有绑定了waf的LB实例,该字段才会生效。 [不支持该字段,请勿使用。](tag:hws_eu,hws_test,hcs,hcs_sm,hcso,srg,fcs,fcs_vm,mix,hcso_g42,hcso_g42_b,hcso_dt,dt,ocb,ctc,cmcc,tm,ct,sbc,g42,hws_ocb,hk_sbc,hk_tm,hk_g42)
|
879
879
|
|
880
880
|
:param waf_failure_action: The waf_failure_action of this BatchCreateLoadBalancerOption.
|
881
881
|
:type waf_failure_action: str
|
@@ -952,7 +952,7 @@ class BatchCreateLoadBalancerOption:
|
|
952
952
|
def ipv6_vip_address(self):
|
953
953
|
"""Gets the ipv6_vip_address of this BatchCreateLoadBalancerOption.
|
954
954
|
|
955
|
-
双栈类型负载均衡器的IPv6地址。 当批量创建的number数量大于1时不支持传入该字段,返回400。 批量创建共享型实例的场景,该字段不允许指定。 [不支持IPv6,请勿使用。](tag:dt
|
955
|
+
双栈类型负载均衡器的IPv6地址。 当批量创建的number数量大于1时不支持传入该字段,返回400。 批量创建共享型实例的场景,该字段不允许指定。 [不支持IPv6,请勿使用。](tag:dt)
|
956
956
|
|
957
957
|
:return: The ipv6_vip_address of this BatchCreateLoadBalancerOption.
|
958
958
|
:rtype: str
|
@@ -963,7 +963,7 @@ class BatchCreateLoadBalancerOption:
|
|
963
963
|
def ipv6_vip_address(self, ipv6_vip_address):
|
964
964
|
"""Sets the ipv6_vip_address of this BatchCreateLoadBalancerOption.
|
965
965
|
|
966
|
-
双栈类型负载均衡器的IPv6地址。 当批量创建的number数量大于1时不支持传入该字段,返回400。 批量创建共享型实例的场景,该字段不允许指定。 [不支持IPv6,请勿使用。](tag:dt
|
966
|
+
双栈类型负载均衡器的IPv6地址。 当批量创建的number数量大于1时不支持传入该字段,返回400。 批量创建共享型实例的场景,该字段不允许指定。 [不支持IPv6,请勿使用。](tag:dt)
|
967
967
|
|
968
968
|
:param ipv6_vip_address: The ipv6_vip_address of this BatchCreateLoadBalancerOption.
|
969
969
|
:type ipv6_vip_address: str
|
@@ -43,7 +43,7 @@ class BatchCreateMembersOption:
|
|
43
43
|
:type address: str
|
44
44
|
:param protocol_port: 后端服务器业务端口。 [网关型LB,即pool协议为IP时,protocol_port必须设置为0。](tag:hws_eu) >在开启端口透传的pool下创建member传该字段不生效,可不传该字段。
|
45
45
|
:type protocol_port: int
|
46
|
-
: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的协议必须为UDP/TCP/TLS/HTTP/HTTPS/QUIC/GRPC。 - 若所属LB未开启跨VPC后端转发,该参数必填。 [- 网关型LB,即pool协议为IP时,必须指定该子网,且必须和负载均衡器的子网在同一个VPC下,但不能相同。](tag:hws_eu) [不支持IPv6,请勿设置为IPv6子网ID。](tag:dt
|
46
|
+
: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的协议必须为UDP/TCP/TLS/HTTP/HTTPS/QUIC/GRPC。 - 若所属LB未开启跨VPC后端转发,该参数必填。 [- 网关型LB,即pool协议为IP时,必须指定该子网,且必须和负载均衡器的子网在同一个VPC下,但不能相同。](tag:hws_eu) [不支持IPv6,请勿设置为IPv6子网ID。](tag:dt)
|
47
47
|
:type subnet_cidr_id: str
|
48
48
|
:param weight: 后端服务器的权重,请求将根据pool配置的负载均衡算法和后端服务器的权重进行负载分发。 权重值越大,分发的请求越多。权重为0的后端不再接受新的请求。 取值:0-100,默认1。 使用说明:若所在pool的lb_algorithm取值为SOURCE_IP或QUIC_CID,该字段无效。
|
49
49
|
:type weight: int
|
@@ -137,7 +137,7 @@ class BatchCreateMembersOption:
|
|
137
137
|
def subnet_cidr_id(self):
|
138
138
|
"""Gets the subnet_cidr_id of this BatchCreateMembersOption.
|
139
139
|
|
140
|
-
后端服务器所在的子网,可以是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的协议必须为UDP/TCP/TLS/HTTP/HTTPS/QUIC/GRPC。 - 若所属LB未开启跨VPC后端转发,该参数必填。 [- 网关型LB,即pool协议为IP时,必须指定该子网,且必须和负载均衡器的子网在同一个VPC下,但不能相同。](tag:hws_eu) [不支持IPv6,请勿设置为IPv6子网ID。](tag:dt
|
140
|
+
后端服务器所在的子网,可以是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的协议必须为UDP/TCP/TLS/HTTP/HTTPS/QUIC/GRPC。 - 若所属LB未开启跨VPC后端转发,该参数必填。 [- 网关型LB,即pool协议为IP时,必须指定该子网,且必须和负载均衡器的子网在同一个VPC下,但不能相同。](tag:hws_eu) [不支持IPv6,请勿设置为IPv6子网ID。](tag:dt)
|
141
141
|
|
142
142
|
:return: The subnet_cidr_id of this BatchCreateMembersOption.
|
143
143
|
:rtype: str
|
@@ -148,7 +148,7 @@ class BatchCreateMembersOption:
|
|
148
148
|
def subnet_cidr_id(self, subnet_cidr_id):
|
149
149
|
"""Sets the subnet_cidr_id of this BatchCreateMembersOption.
|
150
150
|
|
151
|
-
后端服务器所在的子网,可以是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的协议必须为UDP/TCP/TLS/HTTP/HTTPS/QUIC/GRPC。 - 若所属LB未开启跨VPC后端转发,该参数必填。 [- 网关型LB,即pool协议为IP时,必须指定该子网,且必须和负载均衡器的子网在同一个VPC下,但不能相同。](tag:hws_eu) [不支持IPv6,请勿设置为IPv6子网ID。](tag:dt
|
151
|
+
后端服务器所在的子网,可以是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的协议必须为UDP/TCP/TLS/HTTP/HTTPS/QUIC/GRPC。 - 若所属LB未开启跨VPC后端转发,该参数必填。 [- 网关型LB,即pool协议为IP时,必须指定该子网,且必须和负载均衡器的子网在同一个VPC下,但不能相同。](tag:hws_eu) [不支持IPv6,请勿设置为IPv6子网ID。](tag:dt)
|
152
152
|
|
153
153
|
:param subnet_cidr_id: The subnet_cidr_id of this BatchCreateMembersOption.
|
154
154
|
:type subnet_cidr_id: str
|
@@ -69,13 +69,13 @@ class BatchMember:
|
|
69
69
|
:type project_id: str
|
70
70
|
:param admin_state_up: 后端服务器的管理状态。 取值:true、false。 虽然创建、更新请求支持该字段,但实际取值决定于后端服务器对应的弹性云服务器是否存在。若存在,该值为true,否则,该值为false。
|
71
71
|
:type admin_state_up: bool
|
72
|
-
: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的协议必须为UDP/TCP/TLS/HTTP/HTTPS/QUIC/GRPC。 - 若所属LB未开启跨VPC后端转发,该参数必填。 [- 网关型LB,即pool协议为IP时,必须指定该子网,且必须和负载均衡器的子网在同一个VPC下,但不能相同。](tag:hws_eu) [不支持IPv6,请勿设置为IPv6子网ID。](tag:dt
|
72
|
+
: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的协议必须为UDP/TCP/TLS/HTTP/HTTPS/QUIC/GRPC。 - 若所属LB未开启跨VPC后端转发,该参数必填。 [- 网关型LB,即pool协议为IP时,必须指定该子网,且必须和负载均衡器的子网在同一个VPC下,但不能相同。](tag:hws_eu) [不支持IPv6,请勿设置为IPv6子网ID。](tag:dt)
|
73
73
|
:type subnet_cidr_id: str
|
74
74
|
:param protocol_port: 后端服务器业务端口。 [网关型LB,即pool协议为IP时,protocol_port必须设置为0。](tag:hws_eu) >在开启端口透传的pool下创建member传该字段不生效,可不传该字段。
|
75
75
|
:type protocol_port: int
|
76
76
|
:param weight: 后端服务器的权重,请求将根据pool配置的负载均衡算法和后端服务器的权重进行负载分发。 权重值越大,分发的请求越多。权重为0的后端不再接受新的请求。 取值:0-100,默认1。 使用说明: - 若所在pool的lb_algorithm取值为SOURCE_IP或QUIC_CID,该字段无效。
|
77
77
|
:type weight: int
|
78
|
-
:param address: 后端服务器对应的IP地址。 使用说明: - 若subnet_cidr_id为空,表示添加跨VPC后端,此时address必须为IPv4地址。 - 若subnet_cidr_id不为空,表示是一个关联到ECS的后端服务器。该IP地址可以是私网IPv4或IPv6。 但必须在subnet_cidr_id对应的子网网段中。 [不支持IPv6,请勿设置为IPv6地址。](tag:dt
|
78
|
+
:param address: 后端服务器对应的IP地址。 使用说明: - 若subnet_cidr_id为空,表示添加跨VPC后端,此时address必须为IPv4地址。 - 若subnet_cidr_id不为空,表示是一个关联到ECS的后端服务器。该IP地址可以是私网IPv4或IPv6。 但必须在subnet_cidr_id对应的子网网段中。 [不支持IPv6,请勿设置为IPv6地址。](tag:dt)
|
79
79
|
:type address: str
|
80
80
|
:param operating_status: 后端服务器的健康状态。 取值: - ONLINE:后端服务器正常。 - NO_MONITOR:后端服务器所在的服务器组没有健康检查器。 - OFFLINE:后端服务器关联的ECS服务器不存在或已关机。
|
81
81
|
:type operating_status: str
|
@@ -235,7 +235,7 @@ class BatchMember:
|
|
235
235
|
def subnet_cidr_id(self):
|
236
236
|
"""Gets the subnet_cidr_id of this BatchMember.
|
237
237
|
|
238
|
-
后端服务器所在的子网,可以是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的协议必须为UDP/TCP/TLS/HTTP/HTTPS/QUIC/GRPC。 - 若所属LB未开启跨VPC后端转发,该参数必填。 [- 网关型LB,即pool协议为IP时,必须指定该子网,且必须和负载均衡器的子网在同一个VPC下,但不能相同。](tag:hws_eu) [不支持IPv6,请勿设置为IPv6子网ID。](tag:dt
|
238
|
+
后端服务器所在的子网,可以是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的协议必须为UDP/TCP/TLS/HTTP/HTTPS/QUIC/GRPC。 - 若所属LB未开启跨VPC后端转发,该参数必填。 [- 网关型LB,即pool协议为IP时,必须指定该子网,且必须和负载均衡器的子网在同一个VPC下,但不能相同。](tag:hws_eu) [不支持IPv6,请勿设置为IPv6子网ID。](tag:dt)
|
239
239
|
|
240
240
|
:return: The subnet_cidr_id of this BatchMember.
|
241
241
|
:rtype: str
|
@@ -246,7 +246,7 @@ class BatchMember:
|
|
246
246
|
def subnet_cidr_id(self, subnet_cidr_id):
|
247
247
|
"""Sets the subnet_cidr_id of this BatchMember.
|
248
248
|
|
249
|
-
后端服务器所在的子网,可以是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的协议必须为UDP/TCP/TLS/HTTP/HTTPS/QUIC/GRPC。 - 若所属LB未开启跨VPC后端转发,该参数必填。 [- 网关型LB,即pool协议为IP时,必须指定该子网,且必须和负载均衡器的子网在同一个VPC下,但不能相同。](tag:hws_eu) [不支持IPv6,请勿设置为IPv6子网ID。](tag:dt
|
249
|
+
后端服务器所在的子网,可以是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的协议必须为UDP/TCP/TLS/HTTP/HTTPS/QUIC/GRPC。 - 若所属LB未开启跨VPC后端转发,该参数必填。 [- 网关型LB,即pool协议为IP时,必须指定该子网,且必须和负载均衡器的子网在同一个VPC下,但不能相同。](tag:hws_eu) [不支持IPv6,请勿设置为IPv6子网ID。](tag:dt)
|
250
250
|
|
251
251
|
:param subnet_cidr_id: The subnet_cidr_id of this BatchMember.
|
252
252
|
:type subnet_cidr_id: str
|
@@ -301,7 +301,7 @@ class BatchMember:
|
|
301
301
|
def address(self):
|
302
302
|
"""Gets the address of this BatchMember.
|
303
303
|
|
304
|
-
后端服务器对应的IP地址。 使用说明: - 若subnet_cidr_id为空,表示添加跨VPC后端,此时address必须为IPv4地址。 - 若subnet_cidr_id不为空,表示是一个关联到ECS的后端服务器。该IP地址可以是私网IPv4或IPv6。 但必须在subnet_cidr_id对应的子网网段中。 [不支持IPv6,请勿设置为IPv6地址。](tag:dt
|
304
|
+
后端服务器对应的IP地址。 使用说明: - 若subnet_cidr_id为空,表示添加跨VPC后端,此时address必须为IPv4地址。 - 若subnet_cidr_id不为空,表示是一个关联到ECS的后端服务器。该IP地址可以是私网IPv4或IPv6。 但必须在subnet_cidr_id对应的子网网段中。 [不支持IPv6,请勿设置为IPv6地址。](tag:dt)
|
305
305
|
|
306
306
|
:return: The address of this BatchMember.
|
307
307
|
:rtype: str
|
@@ -312,7 +312,7 @@ class BatchMember:
|
|
312
312
|
def address(self, address):
|
313
313
|
"""Sets the address of this BatchMember.
|
314
314
|
|
315
|
-
后端服务器对应的IP地址。 使用说明: - 若subnet_cidr_id为空,表示添加跨VPC后端,此时address必须为IPv4地址。 - 若subnet_cidr_id不为空,表示是一个关联到ECS的后端服务器。该IP地址可以是私网IPv4或IPv6。 但必须在subnet_cidr_id对应的子网网段中。 [不支持IPv6,请勿设置为IPv6地址。](tag:dt
|
315
|
+
后端服务器对应的IP地址。 使用说明: - 若subnet_cidr_id为空,表示添加跨VPC后端,此时address必须为IPv4地址。 - 若subnet_cidr_id不为空,表示是一个关联到ECS的后端服务器。该IP地址可以是私网IPv4或IPv6。 但必须在subnet_cidr_id对应的子网网段中。 [不支持IPv6,请勿设置为IPv6地址。](tag:dt)
|
316
316
|
|
317
317
|
:param address: The address of this BatchMember.
|
318
318
|
:type address: str
|
@@ -67,13 +67,13 @@ class BatchUpdateMember:
|
|
67
67
|
:type project_id: str
|
68
68
|
:param admin_state_up: 后端服务器的管理状态。取值:true、false。 虽然创建、更新请求支持该字段,但实际取值决定于后端服务器对应的弹性云服务器是否存在。若存在,该值为true,否则,该值为false。
|
69
69
|
:type admin_state_up: bool
|
70
|
-
: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的协议必须为UDP/TCP/TLS/HTTP/HTTPS/QUIC/GRPC。 - 若所属LB未开启跨VPC后端转发,该参数必填。 [- 网关型LB,即pool协议为IP时,必须指定该子网,且必须和负载均衡器的子网在同一个VPC下,但不能相同。](tag:hws_eu) [不支持IPv6,请勿设置为IPv6子网ID。](tag:dt
|
70
|
+
: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的协议必须为UDP/TCP/TLS/HTTP/HTTPS/QUIC/GRPC。 - 若所属LB未开启跨VPC后端转发,该参数必填。 [- 网关型LB,即pool协议为IP时,必须指定该子网,且必须和负载均衡器的子网在同一个VPC下,但不能相同。](tag:hws_eu) [不支持IPv6,请勿设置为IPv6子网ID。](tag:dt)
|
71
71
|
:type subnet_cidr_id: str
|
72
72
|
:param protocol_port: 后端服务器业务端口。 [网关型LB,即pool协议为IP时,protocol_port必须设置为0。](tag:hws_eu) >在开启端口透传的pool下创建member传该字段不生效,可不传该字段。
|
73
73
|
:type protocol_port: int
|
74
74
|
:param weight: 后端服务器的权重,请求将根据pool配置的负载均衡算法和后端服务器的权重进行负载分发。权重值越大,分发的请求越多。权重为0的后端不再接受新的请求。 取值:0-100,默认1。 使用说明: - 若所在pool的lb_algorithm取值为SOURCE_IP或QUIC_CID,该字段无效。
|
75
75
|
:type weight: int
|
76
|
-
:param address: 后端服务器对应的IP地址。 使用说明: - 若subnet_cidr_id为空,表示添加跨VPC后端,此时address必须为IPv4地址。 - 若subnet_cidr_id不为空,表示是一个关联到ECS的后端服务器。该IP地址可以是私网IPv4或IPv6。但必须在subnet_cidr_id对应的子网网段中。 [不支持IPv6,请勿设置为IPv6地址。](tag:dt
|
76
|
+
:param address: 后端服务器对应的IP地址。 使用说明: - 若subnet_cidr_id为空,表示添加跨VPC后端,此时address必须为IPv4地址。 - 若subnet_cidr_id不为空,表示是一个关联到ECS的后端服务器。该IP地址可以是私网IPv4或IPv6。但必须在subnet_cidr_id对应的子网网段中。 [不支持IPv6,请勿设置为IPv6地址。](tag:dt)
|
77
77
|
:type address: str
|
78
78
|
:param operating_status: 后端服务器的健康状态。取值: - ONLINE:后端服务器正常。 - NO_MONITOR:后端服务器所在的服务器组没有健康检查器。 - OFFLINE:后端服务器关联的ECS服务器不存在或已关机。
|
79
79
|
:type operating_status: str
|
@@ -229,7 +229,7 @@ class BatchUpdateMember:
|
|
229
229
|
def subnet_cidr_id(self):
|
230
230
|
"""Gets the subnet_cidr_id of this BatchUpdateMember.
|
231
231
|
|
232
|
-
后端服务器所在的子网,可以是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的协议必须为UDP/TCP/TLS/HTTP/HTTPS/QUIC/GRPC。 - 若所属LB未开启跨VPC后端转发,该参数必填。 [- 网关型LB,即pool协议为IP时,必须指定该子网,且必须和负载均衡器的子网在同一个VPC下,但不能相同。](tag:hws_eu) [不支持IPv6,请勿设置为IPv6子网ID。](tag:dt
|
232
|
+
后端服务器所在的子网,可以是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的协议必须为UDP/TCP/TLS/HTTP/HTTPS/QUIC/GRPC。 - 若所属LB未开启跨VPC后端转发,该参数必填。 [- 网关型LB,即pool协议为IP时,必须指定该子网,且必须和负载均衡器的子网在同一个VPC下,但不能相同。](tag:hws_eu) [不支持IPv6,请勿设置为IPv6子网ID。](tag:dt)
|
233
233
|
|
234
234
|
:return: The subnet_cidr_id of this BatchUpdateMember.
|
235
235
|
:rtype: str
|
@@ -240,7 +240,7 @@ class BatchUpdateMember:
|
|
240
240
|
def subnet_cidr_id(self, subnet_cidr_id):
|
241
241
|
"""Sets the subnet_cidr_id of this BatchUpdateMember.
|
242
242
|
|
243
|
-
后端服务器所在的子网,可以是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的协议必须为UDP/TCP/TLS/HTTP/HTTPS/QUIC/GRPC。 - 若所属LB未开启跨VPC后端转发,该参数必填。 [- 网关型LB,即pool协议为IP时,必须指定该子网,且必须和负载均衡器的子网在同一个VPC下,但不能相同。](tag:hws_eu) [不支持IPv6,请勿设置为IPv6子网ID。](tag:dt
|
243
|
+
后端服务器所在的子网,可以是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的协议必须为UDP/TCP/TLS/HTTP/HTTPS/QUIC/GRPC。 - 若所属LB未开启跨VPC后端转发,该参数必填。 [- 网关型LB,即pool协议为IP时,必须指定该子网,且必须和负载均衡器的子网在同一个VPC下,但不能相同。](tag:hws_eu) [不支持IPv6,请勿设置为IPv6子网ID。](tag:dt)
|
244
244
|
|
245
245
|
:param subnet_cidr_id: The subnet_cidr_id of this BatchUpdateMember.
|
246
246
|
:type subnet_cidr_id: str
|
@@ -295,7 +295,7 @@ class BatchUpdateMember:
|
|
295
295
|
def address(self):
|
296
296
|
"""Gets the address of this BatchUpdateMember.
|
297
297
|
|
298
|
-
后端服务器对应的IP地址。 使用说明: - 若subnet_cidr_id为空,表示添加跨VPC后端,此时address必须为IPv4地址。 - 若subnet_cidr_id不为空,表示是一个关联到ECS的后端服务器。该IP地址可以是私网IPv4或IPv6。但必须在subnet_cidr_id对应的子网网段中。 [不支持IPv6,请勿设置为IPv6地址。](tag:dt
|
298
|
+
后端服务器对应的IP地址。 使用说明: - 若subnet_cidr_id为空,表示添加跨VPC后端,此时address必须为IPv4地址。 - 若subnet_cidr_id不为空,表示是一个关联到ECS的后端服务器。该IP地址可以是私网IPv4或IPv6。但必须在subnet_cidr_id对应的子网网段中。 [不支持IPv6,请勿设置为IPv6地址。](tag:dt)
|
299
299
|
|
300
300
|
:return: The address of this BatchUpdateMember.
|
301
301
|
:rtype: str
|
@@ -306,7 +306,7 @@ class BatchUpdateMember:
|
|
306
306
|
def address(self, address):
|
307
307
|
"""Sets the address of this BatchUpdateMember.
|
308
308
|
|
309
|
-
后端服务器对应的IP地址。 使用说明: - 若subnet_cidr_id为空,表示添加跨VPC后端,此时address必须为IPv4地址。 - 若subnet_cidr_id不为空,表示是一个关联到ECS的后端服务器。该IP地址可以是私网IPv4或IPv6。但必须在subnet_cidr_id对应的子网网段中。 [不支持IPv6,请勿设置为IPv6地址。](tag:dt
|
309
|
+
后端服务器对应的IP地址。 使用说明: - 若subnet_cidr_id为空,表示添加跨VPC后端,此时address必须为IPv4地址。 - 若subnet_cidr_id不为空,表示是一个关联到ECS的后端服务器。该IP地址可以是私网IPv4或IPv6。但必须在subnet_cidr_id对应的子网网段中。 [不支持IPv6,请勿设置为IPv6地址。](tag:dt)
|
310
310
|
|
311
311
|
:param address: The address of this BatchUpdateMember.
|
312
312
|
:type address: str
|
@@ -33,7 +33,7 @@ class BatchUpdatePriorityRequestBody:
|
|
33
33
|
|
34
34
|
:param id: 参数解释:待更新的l7policy的ID。
|
35
35
|
:type id: str
|
36
|
-
:param priority: 参数解释:转发策略的优先级。数字越小表示优先级越高。 约束限制: - 同一个监听器下不同转发策略之间不允许重复的优先级数值。 - 当关联的监听器的高级转发策略功能(enhance_l7policy_enable)开启后才会生效,未开启传入该字段会报错。 - 当关联的监听器的高级转发策略功能(enhance_l7policy_enable)未开启,按原有policy的排序逻辑,自动排序。 不同域名优先级独立。相同域名下,按path的compare_type排序, 精确>前缀>正则,匹配类型相同时,path的长度越长优先级越高。 若policy下只有域名rule,没有路径rule,默认path为前缀匹配/。 [- 共享型负载均衡器下的转发策略不支持该字段。](tag:hws,hws_hk,ocb,ctc,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,srg,fcs,dt,hk_tm) 取值范围: - 当action为REDIRECT_TO_LISTENER时,支持指定为0-10000。 - 其它action取值,支持指定为1-10000。 默认取值: - 若关联的监听器的高级转发策略功能(enhance_l7policy_enable)未开启,且不传入该字段,则新创建的转发策略的优先级的值为1。 - 当action为REDIRECT_TO_LISTENER时,则新创建的转发策略的优先级的值为0。 - 其它action取值,新创建的转发策略的优先级的值为同一监听器下已有转发策略的优先级的最大值+1。 + 若监听器下没有转发策略,则新建的转发策略的优先级为1。 + 若当前已有转发策略的优先级的最大值是10000,则新创建的转发策略会因超出取值范围10000而失败。此时可通过传入指定priority,或调整原有policy的优先级来避免错误。 [不支持该字段,请勿使用。](tag:hcso_dt) [荷兰region不支持该字段,请勿使用。](tag:dt
|
36
|
+
:param priority: 参数解释:转发策略的优先级。数字越小表示优先级越高。 约束限制: - 同一个监听器下不同转发策略之间不允许重复的优先级数值。 - 当关联的监听器的高级转发策略功能(enhance_l7policy_enable)开启后才会生效,未开启传入该字段会报错。 - 当关联的监听器的高级转发策略功能(enhance_l7policy_enable)未开启,按原有policy的排序逻辑,自动排序。 不同域名优先级独立。相同域名下,按path的compare_type排序, 精确>前缀>正则,匹配类型相同时,path的长度越长优先级越高。 若policy下只有域名rule,没有路径rule,默认path为前缀匹配/。 [- 共享型负载均衡器下的转发策略不支持该字段。](tag:hws,hws_hk,ocb,ctc,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,srg,fcs,dt,hk_tm) 取值范围: - 当action为REDIRECT_TO_LISTENER时,支持指定为0-10000。 - 其它action取值,支持指定为1-10000。 默认取值: - 若关联的监听器的高级转发策略功能(enhance_l7policy_enable)未开启,且不传入该字段,则新创建的转发策略的优先级的值为1。 - 当action为REDIRECT_TO_LISTENER时,则新创建的转发策略的优先级的值为0。 - 其它action取值,新创建的转发策略的优先级的值为同一监听器下已有转发策略的优先级的最大值+1。 + 若监听器下没有转发策略,则新建的转发策略的优先级为1。 + 若当前已有转发策略的优先级的最大值是10000,则新创建的转发策略会因超出取值范围10000而失败。此时可通过传入指定priority,或调整原有policy的优先级来避免错误。 [不支持该字段,请勿使用。](tag:hcso_dt) [荷兰region不支持该字段,请勿使用。](tag:dt)
|
37
37
|
:type priority: int
|
38
38
|
"""
|
39
39
|
|
@@ -72,7 +72,7 @@ class BatchUpdatePriorityRequestBody:
|
|
72
72
|
def priority(self):
|
73
73
|
"""Gets the priority of this BatchUpdatePriorityRequestBody.
|
74
74
|
|
75
|
-
参数解释:转发策略的优先级。数字越小表示优先级越高。 约束限制: - 同一个监听器下不同转发策略之间不允许重复的优先级数值。 - 当关联的监听器的高级转发策略功能(enhance_l7policy_enable)开启后才会生效,未开启传入该字段会报错。 - 当关联的监听器的高级转发策略功能(enhance_l7policy_enable)未开启,按原有policy的排序逻辑,自动排序。 不同域名优先级独立。相同域名下,按path的compare_type排序, 精确>前缀>正则,匹配类型相同时,path的长度越长优先级越高。 若policy下只有域名rule,没有路径rule,默认path为前缀匹配/。 [- 共享型负载均衡器下的转发策略不支持该字段。](tag:hws,hws_hk,ocb,ctc,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,srg,fcs,dt,hk_tm) 取值范围: - 当action为REDIRECT_TO_LISTENER时,支持指定为0-10000。 - 其它action取值,支持指定为1-10000。 默认取值: - 若关联的监听器的高级转发策略功能(enhance_l7policy_enable)未开启,且不传入该字段,则新创建的转发策略的优先级的值为1。 - 当action为REDIRECT_TO_LISTENER时,则新创建的转发策略的优先级的值为0。 - 其它action取值,新创建的转发策略的优先级的值为同一监听器下已有转发策略的优先级的最大值+1。 + 若监听器下没有转发策略,则新建的转发策略的优先级为1。 + 若当前已有转发策略的优先级的最大值是10000,则新创建的转发策略会因超出取值范围10000而失败。此时可通过传入指定priority,或调整原有policy的优先级来避免错误。 [不支持该字段,请勿使用。](tag:hcso_dt) [荷兰region不支持该字段,请勿使用。](tag:dt
|
75
|
+
参数解释:转发策略的优先级。数字越小表示优先级越高。 约束限制: - 同一个监听器下不同转发策略之间不允许重复的优先级数值。 - 当关联的监听器的高级转发策略功能(enhance_l7policy_enable)开启后才会生效,未开启传入该字段会报错。 - 当关联的监听器的高级转发策略功能(enhance_l7policy_enable)未开启,按原有policy的排序逻辑,自动排序。 不同域名优先级独立。相同域名下,按path的compare_type排序, 精确>前缀>正则,匹配类型相同时,path的长度越长优先级越高。 若policy下只有域名rule,没有路径rule,默认path为前缀匹配/。 [- 共享型负载均衡器下的转发策略不支持该字段。](tag:hws,hws_hk,ocb,ctc,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,srg,fcs,dt,hk_tm) 取值范围: - 当action为REDIRECT_TO_LISTENER时,支持指定为0-10000。 - 其它action取值,支持指定为1-10000。 默认取值: - 若关联的监听器的高级转发策略功能(enhance_l7policy_enable)未开启,且不传入该字段,则新创建的转发策略的优先级的值为1。 - 当action为REDIRECT_TO_LISTENER时,则新创建的转发策略的优先级的值为0。 - 其它action取值,新创建的转发策略的优先级的值为同一监听器下已有转发策略的优先级的最大值+1。 + 若监听器下没有转发策略,则新建的转发策略的优先级为1。 + 若当前已有转发策略的优先级的最大值是10000,则新创建的转发策略会因超出取值范围10000而失败。此时可通过传入指定priority,或调整原有policy的优先级来避免错误。 [不支持该字段,请勿使用。](tag:hcso_dt) [荷兰region不支持该字段,请勿使用。](tag:dt)
|
76
76
|
|
77
77
|
:return: The priority of this BatchUpdatePriorityRequestBody.
|
78
78
|
:rtype: int
|
@@ -83,7 +83,7 @@ class BatchUpdatePriorityRequestBody:
|
|
83
83
|
def priority(self, priority):
|
84
84
|
"""Sets the priority of this BatchUpdatePriorityRequestBody.
|
85
85
|
|
86
|
-
参数解释:转发策略的优先级。数字越小表示优先级越高。 约束限制: - 同一个监听器下不同转发策略之间不允许重复的优先级数值。 - 当关联的监听器的高级转发策略功能(enhance_l7policy_enable)开启后才会生效,未开启传入该字段会报错。 - 当关联的监听器的高级转发策略功能(enhance_l7policy_enable)未开启,按原有policy的排序逻辑,自动排序。 不同域名优先级独立。相同域名下,按path的compare_type排序, 精确>前缀>正则,匹配类型相同时,path的长度越长优先级越高。 若policy下只有域名rule,没有路径rule,默认path为前缀匹配/。 [- 共享型负载均衡器下的转发策略不支持该字段。](tag:hws,hws_hk,ocb,ctc,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,srg,fcs,dt,hk_tm) 取值范围: - 当action为REDIRECT_TO_LISTENER时,支持指定为0-10000。 - 其它action取值,支持指定为1-10000。 默认取值: - 若关联的监听器的高级转发策略功能(enhance_l7policy_enable)未开启,且不传入该字段,则新创建的转发策略的优先级的值为1。 - 当action为REDIRECT_TO_LISTENER时,则新创建的转发策略的优先级的值为0。 - 其它action取值,新创建的转发策略的优先级的值为同一监听器下已有转发策略的优先级的最大值+1。 + 若监听器下没有转发策略,则新建的转发策略的优先级为1。 + 若当前已有转发策略的优先级的最大值是10000,则新创建的转发策略会因超出取值范围10000而失败。此时可通过传入指定priority,或调整原有policy的优先级来避免错误。 [不支持该字段,请勿使用。](tag:hcso_dt) [荷兰region不支持该字段,请勿使用。](tag:dt
|
86
|
+
参数解释:转发策略的优先级。数字越小表示优先级越高。 约束限制: - 同一个监听器下不同转发策略之间不允许重复的优先级数值。 - 当关联的监听器的高级转发策略功能(enhance_l7policy_enable)开启后才会生效,未开启传入该字段会报错。 - 当关联的监听器的高级转发策略功能(enhance_l7policy_enable)未开启,按原有policy的排序逻辑,自动排序。 不同域名优先级独立。相同域名下,按path的compare_type排序, 精确>前缀>正则,匹配类型相同时,path的长度越长优先级越高。 若policy下只有域名rule,没有路径rule,默认path为前缀匹配/。 [- 共享型负载均衡器下的转发策略不支持该字段。](tag:hws,hws_hk,ocb,ctc,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,srg,fcs,dt,hk_tm) 取值范围: - 当action为REDIRECT_TO_LISTENER时,支持指定为0-10000。 - 其它action取值,支持指定为1-10000。 默认取值: - 若关联的监听器的高级转发策略功能(enhance_l7policy_enable)未开启,且不传入该字段,则新创建的转发策略的优先级的值为1。 - 当action为REDIRECT_TO_LISTENER时,则新创建的转发策略的优先级的值为0。 - 其它action取值,新创建的转发策略的优先级的值为同一监听器下已有转发策略的优先级的最大值+1。 + 若监听器下没有转发策略,则新建的转发策略的优先级为1。 + 若当前已有转发策略的优先级的最大值是10000,则新创建的转发策略会因超出取值范围10000而失败。此时可通过传入指定priority,或调整原有policy的优先级来避免错误。 [不支持该字段,请勿使用。](tag:hcso_dt) [荷兰region不支持该字段,请勿使用。](tag:dt)
|
87
87
|
|
88
88
|
:param priority: The priority of this BatchUpdatePriorityRequestBody.
|
89
89
|
:type priority: int
|
@@ -95,7 +95,7 @@ class CertificateInfo:
|
|
95
95
|
:type scm_certificate_id: str
|
96
96
|
:param common_name: 证书绑定的主域名。
|
97
97
|
:type common_name: str
|
98
|
-
:param fingerprint:
|
98
|
+
:param fingerprint: 证书指纹。
|
99
99
|
:type fingerprint: str
|
100
100
|
:param subject_alternative_names: 证书绑定的所有域名。
|
101
101
|
:type subject_alternative_names: list[str]
|
@@ -504,7 +504,7 @@ class CertificateInfo:
|
|
504
504
|
def fingerprint(self):
|
505
505
|
"""Gets the fingerprint of this CertificateInfo.
|
506
506
|
|
507
|
-
|
507
|
+
证书指纹。
|
508
508
|
|
509
509
|
:return: The fingerprint of this CertificateInfo.
|
510
510
|
:rtype: str
|
@@ -515,7 +515,7 @@ class CertificateInfo:
|
|
515
515
|
def fingerprint(self, fingerprint):
|
516
516
|
"""Sets the fingerprint of this CertificateInfo.
|
517
517
|
|
518
|
-
|
518
|
+
证书指纹。
|
519
519
|
|
520
520
|
:param fingerprint: The fingerprint of this CertificateInfo.
|
521
521
|
:type fingerprint: str
|