huaweicloudsdkelb 3.1.144__py2.py3-none-any.whl → 3.1.145__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 +2 -0
- huaweicloudsdkelb/v3/elb_async_client.py +11 -5
- huaweicloudsdkelb/v3/elb_client.py +11 -5
- huaweicloudsdkelb/v3/model/__init__.py +2 -0
- huaweicloudsdkelb/v3/model/availability_zone.py +32 -3
- huaweicloudsdkelb/v3/model/batch_create_members_option.py +6 -6
- huaweicloudsdkelb/v3/model/batch_delete_members_option.py +3 -3
- huaweicloudsdkelb/v3/model/batch_delete_members_state.py +3 -3
- huaweicloudsdkelb/v3/model/batch_member.py +9 -9
- huaweicloudsdkelb/v3/model/batch_update_member.py +9 -9
- huaweicloudsdkelb/v3/model/certificate_info.py +3 -3
- huaweicloudsdkelb/v3/model/create_listener_option.py +6 -6
- huaweicloudsdkelb/v3/model/create_master_slave_member_option.py +6 -6
- huaweicloudsdkelb/v3/model/create_member_option.py +6 -6
- huaweicloudsdkelb/v3/model/delete_member_request.py +3 -3
- huaweicloudsdkelb/v3/model/extension.py +144 -0
- huaweicloudsdkelb/v3/model/flavor.py +3 -3
- huaweicloudsdkelb/v3/model/list_availability_zones_response.py +3 -32
- huaweicloudsdkelb/v3/model/list_jobs_request.py +88 -1
- huaweicloudsdkelb/v3/model/list_jobs_response.py +26 -1
- huaweicloudsdkelb/v3/model/list_members_request.py +3 -3
- huaweicloudsdkelb/v3/model/list_quota_details_request.py +3 -3
- huaweicloudsdkelb/v3/model/listener.py +12 -12
- huaweicloudsdkelb/v3/model/load_balancer.py +178 -28
- huaweicloudsdkelb/v3/model/master_slave_member.py +9 -9
- huaweicloudsdkelb/v3/model/member.py +9 -9
- huaweicloudsdkelb/v3/model/member_info.py +9 -9
- huaweicloudsdkelb/v3/model/member_status.py +61 -3
- huaweicloudsdkelb/v3/model/pool.py +9 -9
- huaweicloudsdkelb/v3/model/pool_health.py +3 -3
- huaweicloudsdkelb/v3/model/proxy_protocol_extension.py +168 -0
- huaweicloudsdkelb/v3/model/quota.py +59 -3
- huaweicloudsdkelb/v3/model/quota_info.py +3 -3
- huaweicloudsdkelb/v3/model/show_member_request.py +3 -3
- huaweicloudsdkelb/v3/model/update_listener_option.py +3 -3
- huaweicloudsdkelb/v3/model/update_load_balancer_option.py +3 -3
- huaweicloudsdkelb/v3/model/update_member_request.py +3 -3
- {huaweicloudsdkelb-3.1.144.dist-info → huaweicloudsdkelb-3.1.145.dist-info}/METADATA +2 -2
- {huaweicloudsdkelb-3.1.144.dist-info → huaweicloudsdkelb-3.1.145.dist-info}/RECORD +42 -40
- {huaweicloudsdkelb-3.1.144.dist-info → huaweicloudsdkelb-3.1.145.dist-info}/LICENSE +0 -0
- {huaweicloudsdkelb-3.1.144.dist-info → huaweicloudsdkelb-3.1.145.dist-info}/WHEEL +0 -0
- {huaweicloudsdkelb-3.1.144.dist-info → huaweicloudsdkelb-3.1.145.dist-info}/top_level.txt +0 -0
@@ -29,7 +29,7 @@ class ListQuotaDetailsRequest:
|
|
29
29
|
|
30
30
|
The model defined in huaweicloud sdk
|
31
31
|
|
32
|
-
:param quota_key: 资源类型。 取值: loadbalancer、listener、ipgroup、pool、member、healthmonitor、l7policy、certificate、security_policy、listeners_per_loadbalancer、listeners_per_pool、members_per_pool、condition_per_policy、ipgroup_bindings、ipgroup_max_length、ipgroups_per_listener、pools_per_l7policy、l7policies_per_listener。 支持多值查询,查询条件格式:quota_key=xxx&quota_key=xxx。
|
32
|
+
:param quota_key: 资源类型。 取值: loadbalancer、listener、ipgroup、pool、member、healthmonitor、l7policy、certificate、security_policy、listeners_per_loadbalancer、listeners_per_pool、members_per_pool、condition_per_policy、ipgroup_bindings、ipgroup_max_length、ipgroups_per_listener、pools_per_l7policy、l7policies_per_listener、free_instance_members_per_pool、free_instance_listeners_per_loadbalancer。 支持多值查询,查询条件格式:quota_key=xxx&quota_key=xxx。
|
33
33
|
:type quota_key: list[str]
|
34
34
|
"""
|
35
35
|
|
@@ -45,7 +45,7 @@ class ListQuotaDetailsRequest:
|
|
45
45
|
def quota_key(self):
|
46
46
|
r"""Gets the quota_key of this ListQuotaDetailsRequest.
|
47
47
|
|
48
|
-
资源类型。 取值: loadbalancer、listener、ipgroup、pool、member、healthmonitor、l7policy、certificate、security_policy、listeners_per_loadbalancer、listeners_per_pool、members_per_pool、condition_per_policy、ipgroup_bindings、ipgroup_max_length、ipgroups_per_listener、pools_per_l7policy、l7policies_per_listener。 支持多值查询,查询条件格式:quota_key=xxx"a_key=xxx。
|
48
|
+
资源类型。 取值: loadbalancer、listener、ipgroup、pool、member、healthmonitor、l7policy、certificate、security_policy、listeners_per_loadbalancer、listeners_per_pool、members_per_pool、condition_per_policy、ipgroup_bindings、ipgroup_max_length、ipgroups_per_listener、pools_per_l7policy、l7policies_per_listener、free_instance_members_per_pool、free_instance_listeners_per_loadbalancer。 支持多值查询,查询条件格式:quota_key=xxx"a_key=xxx。
|
49
49
|
|
50
50
|
:return: The quota_key of this ListQuotaDetailsRequest.
|
51
51
|
:rtype: list[str]
|
@@ -56,7 +56,7 @@ class ListQuotaDetailsRequest:
|
|
56
56
|
def quota_key(self, quota_key):
|
57
57
|
r"""Sets the quota_key of this ListQuotaDetailsRequest.
|
58
58
|
|
59
|
-
资源类型。 取值: loadbalancer、listener、ipgroup、pool、member、healthmonitor、l7policy、certificate、security_policy、listeners_per_loadbalancer、listeners_per_pool、members_per_pool、condition_per_policy、ipgroup_bindings、ipgroup_max_length、ipgroups_per_listener、pools_per_l7policy、l7policies_per_listener。 支持多值查询,查询条件格式:quota_key=xxx"a_key=xxx。
|
59
|
+
资源类型。 取值: loadbalancer、listener、ipgroup、pool、member、healthmonitor、l7policy、certificate、security_policy、listeners_per_loadbalancer、listeners_per_pool、members_per_pool、condition_per_policy、ipgroup_bindings、ipgroup_max_length、ipgroups_per_listener、pools_per_l7policy、l7policies_per_listener、free_instance_members_per_pool、free_instance_listeners_per_loadbalancer。 支持多值查询,查询条件格式:quota_key=xxx"a_key=xxx。
|
60
60
|
|
61
61
|
:param quota_key: The quota_key of this ListQuotaDetailsRequest.
|
62
62
|
:type quota_key: list[str]
|
@@ -137,7 +137,7 @@ class Listener:
|
|
137
137
|
:type protocol: str
|
138
138
|
:param protocol_port: 参数解释:监听器的监听端口。 约束限制: - QUIC监听器端口不能是4789,且不能和UDP监听器端口重复。 - 传0表示开启监听端口范围的能力,此时port_ranges为必填字段。 [-不支持QUIC。](tag:tm,hws_eu,g42,hk_g42,hcso_dt,dt)
|
139
139
|
:type protocol_port: int
|
140
|
-
:param sni_container_refs: 参数解释:监听器使用的SNI证书(带域名的服务器证书)ID列表。 约束限制: - 列表对应的所有SNI证书的域名不允许存在重复。 - 列表对应的所有SNI证书的域名总数不超过
|
140
|
+
:param sni_container_refs: 参数解释:监听器使用的SNI证书(带域名的服务器证书)ID列表。 约束限制: - QUIC监听器仅支持RSA证书。 - 列表对应的所有SNI证书的域名不允许存在重复。 - 列表对应的所有SNI证书的域名总数不超过200。 [不支持QUIC。](tag:tm,hws_eu,g42,hk_g42,hcso_dt,dt)
|
141
141
|
:type sni_container_refs: list[str]
|
142
142
|
:param sni_match_algo: 参数解释:监听器使用的SNI证书泛域名匹配方式。 取值范围:longest_suffix表示最长尾缀匹配;wildcard表示标准域名分级匹配。 默认取值:wildcard
|
143
143
|
:type sni_match_algo: str
|
@@ -163,7 +163,7 @@ class Listener:
|
|
163
163
|
:type transparent_client_ip_enable: bool
|
164
164
|
:param proxy_protocol_enable: 参数解释:是否开启proxy_protocol。仅TLS监听器可指定,其他协议的监听器该字段不生效,proxy_protocol不开启。
|
165
165
|
:type proxy_protocol_enable: bool
|
166
|
-
:param enhance_l7policy_enable: 参数解释:是否开启高级转发策略功能。开启高级转发策略后,支持更灵活的转发策略和转发规则设置。 开启后支持如下场景: - 转发策略的action字段支持指定为REDIRECT_TO_URL, FIXED_RESPONSE,即支持URL重定向和响应固定的内容给客户端。 - 转发策略支持指定priority、redirect_url_config、fixed_response_config字段。 - 转发规则rule的type可以指定METHOD, HEADER, QUERY_STRING, SOURCE_IP这几种取值。 - 转发规则rule的type为HOST_NAME时,转发规则rule的value支持通配符*。 - 转发规则支持指定conditions字段。 约束限制: - 开启后不支持关闭。 - 开启高级转发策略后,监听器关联的转发策略的匹配优先级由转发策略的priority字段来决定,不再自动排序。具体说明详见转发策略的priority字段的说明。 取值范围:true开启,false不开启。 默认取值:false。 [荷兰region不支持该字段,请勿使用。](tag:dt)
|
166
|
+
:param enhance_l7policy_enable: 参数解释:是否开启高级转发策略功能。开启高级转发策略后,支持更灵活的转发策略和转发规则设置。 开启后支持如下场景: - 转发策略的action字段支持指定为REDIRECT_TO_URL, FIXED_RESPONSE,即支持URL重定向和响应固定的内容给客户端。 - 转发策略支持指定priority、redirect_url_config、fixed_response_config字段。 - 转发规则rule的type可以指定METHOD, HEADER, QUERY_STRING, SOURCE_IP这几种取值。 - 转发规则rule的type为HOST_NAME时,转发规则rule的value支持通配符*。 - 转发规则支持指定conditions字段。 约束限制: - 开启后不支持关闭。 - 开启高级转发策略后,监听器关联的转发策略的匹配优先级由转发策略的priority字段来决定,不再自动排序。具体说明详见转发策略的priority字段的说明。 取值范围:true开启,false不开启。 默认取值:false。[西南-贵阳一和华南-广州局点,该配置默认true。](tag:hws) [荷兰region不支持该字段,请勿使用。](tag:dt)
|
167
167
|
:type enhance_l7policy_enable: bool
|
168
168
|
:param quic_config:
|
169
169
|
:type quic_config: :class:`huaweicloudsdkelb.v3.ListenerQuicConfig`
|
@@ -171,9 +171,9 @@ class Listener:
|
|
171
171
|
:type protection_status: str
|
172
172
|
:param protection_reason: 参数解释:设置保护的原因。作为protection_status的转态设置的原因。 约束限制:仅当protection_status为consoleProtection时有效。 取值范围:除'<'和'>'外通用Unicode字符集字符,最大255个字符。
|
173
173
|
:type protection_reason: str
|
174
|
-
:param gzip_enable: 参数解释:ELB是否开启gzip压缩。 [约束限制:仅HTTP/HTTPS类型监听器支持配置。](tag:tm,hws_eu,g42,hk_g42,hcso_dt,dt) [约束限制:仅HTTP/HTTPS/QUIC类型监听器支持配置。](tag:hws,hws_hk,hws_test,hcs,hcs_sm,hcso,hk_vdf,srg,fcs,fcs_vm,mix,ocb,ctc,cmcc,ct,sbc,hws_ocb,hk_sbc) 默认取值:false
|
174
|
+
:param gzip_enable: 参数解释:ELB是否开启gzip压缩。 [约束限制:仅HTTP/HTTPS类型监听器支持配置。](tag:tm,hws_eu,g42,hk_g42,hcso_dt,dt) [约束限制:仅HTTP/HTTPS/QUIC类型监听器支持配置。](tag:hws,hws_hk,hws_test,hcs,hcs_sm,hcso,hk_vdf,srg,fcs,fcs_vm,mix,ocb,ctc,cmcc,ct,sbc,hws_ocb,hk_sbc) 默认取值:false [不支持该字段,请勿使用。](tag:hws_eu,hws_eu_wb,hws_test,fcs,dt,hcso_dt,ctc,cmcc,tm,sbc,hk_sbc,hk_tm,hk_vdf,srg,g42,hk_g42)
|
175
175
|
:type gzip_enable: bool
|
176
|
-
:param port_ranges: 参数解释:端口监听范围(闭区间)。 约束限制: - 最多指定10个端口组,每个组范围不可有重叠部分 - 仅当protocol_port为0时可以传入。
|
176
|
+
:param port_ranges: 参数解释:端口监听范围(闭区间)。 约束限制: - 最多指定10个端口组,每个组范围不可有重叠部分 - 仅当protocol_port为0时可以传入。 [不支持该字段,请勿使用。](tag:hws_eu,hws_eu_wb,hws_test,fcs,dt,hcso_dt,ctc,cmcc,tm,sbc,hk_sbc,hk_tm,hk_vdf,srg,g42,hk_g42)
|
177
177
|
:type port_ranges: list[:class:`huaweicloudsdkelb.v3.PortRange`]
|
178
178
|
:param ssl_early_data_enable: 参数解释:监听器0-RTT能力开关 约束限制:仅HTTPS类型监听器支持配置,需要依赖TLSv1.3安全策略协议。 默认取值:false。
|
179
179
|
:type ssl_early_data_enable: bool
|
@@ -630,7 +630,7 @@ class Listener:
|
|
630
630
|
def sni_container_refs(self):
|
631
631
|
r"""Gets the sni_container_refs of this Listener.
|
632
632
|
|
633
|
-
参数解释:监听器使用的SNI证书(带域名的服务器证书)ID列表。 约束限制: - 列表对应的所有SNI证书的域名不允许存在重复。 - 列表对应的所有SNI证书的域名总数不超过
|
633
|
+
参数解释:监听器使用的SNI证书(带域名的服务器证书)ID列表。 约束限制: - QUIC监听器仅支持RSA证书。 - 列表对应的所有SNI证书的域名不允许存在重复。 - 列表对应的所有SNI证书的域名总数不超过200。 [不支持QUIC。](tag:tm,hws_eu,g42,hk_g42,hcso_dt,dt)
|
634
634
|
|
635
635
|
:return: The sni_container_refs of this Listener.
|
636
636
|
:rtype: list[str]
|
@@ -641,7 +641,7 @@ class Listener:
|
|
641
641
|
def sni_container_refs(self, sni_container_refs):
|
642
642
|
r"""Sets the sni_container_refs of this Listener.
|
643
643
|
|
644
|
-
参数解释:监听器使用的SNI证书(带域名的服务器证书)ID列表。 约束限制: - 列表对应的所有SNI证书的域名不允许存在重复。 - 列表对应的所有SNI证书的域名总数不超过
|
644
|
+
参数解释:监听器使用的SNI证书(带域名的服务器证书)ID列表。 约束限制: - QUIC监听器仅支持RSA证书。 - 列表对应的所有SNI证书的域名不允许存在重复。 - 列表对应的所有SNI证书的域名总数不超过200。 [不支持QUIC。](tag:tm,hws_eu,g42,hk_g42,hcso_dt,dt)
|
645
645
|
|
646
646
|
:param sni_container_refs: The sni_container_refs of this Listener.
|
647
647
|
:type sni_container_refs: list[str]
|
@@ -912,7 +912,7 @@ class Listener:
|
|
912
912
|
def enhance_l7policy_enable(self):
|
913
913
|
r"""Gets the enhance_l7policy_enable of this Listener.
|
914
914
|
|
915
|
-
参数解释:是否开启高级转发策略功能。开启高级转发策略后,支持更灵活的转发策略和转发规则设置。 开启后支持如下场景: - 转发策略的action字段支持指定为REDIRECT_TO_URL, FIXED_RESPONSE,即支持URL重定向和响应固定的内容给客户端。 - 转发策略支持指定priority、redirect_url_config、fixed_response_config字段。 - 转发规则rule的type可以指定METHOD, HEADER, QUERY_STRING, SOURCE_IP这几种取值。 - 转发规则rule的type为HOST_NAME时,转发规则rule的value支持通配符*。 - 转发规则支持指定conditions字段。 约束限制: - 开启后不支持关闭。 - 开启高级转发策略后,监听器关联的转发策略的匹配优先级由转发策略的priority字段来决定,不再自动排序。具体说明详见转发策略的priority字段的说明。 取值范围:true开启,false不开启。 默认取值:false。 [荷兰region不支持该字段,请勿使用。](tag:dt)
|
915
|
+
参数解释:是否开启高级转发策略功能。开启高级转发策略后,支持更灵活的转发策略和转发规则设置。 开启后支持如下场景: - 转发策略的action字段支持指定为REDIRECT_TO_URL, FIXED_RESPONSE,即支持URL重定向和响应固定的内容给客户端。 - 转发策略支持指定priority、redirect_url_config、fixed_response_config字段。 - 转发规则rule的type可以指定METHOD, HEADER, QUERY_STRING, SOURCE_IP这几种取值。 - 转发规则rule的type为HOST_NAME时,转发规则rule的value支持通配符*。 - 转发规则支持指定conditions字段。 约束限制: - 开启后不支持关闭。 - 开启高级转发策略后,监听器关联的转发策略的匹配优先级由转发策略的priority字段来决定,不再自动排序。具体说明详见转发策略的priority字段的说明。 取值范围:true开启,false不开启。 默认取值:false。[西南-贵阳一和华南-广州局点,该配置默认true。](tag:hws) [荷兰region不支持该字段,请勿使用。](tag:dt)
|
916
916
|
|
917
917
|
:return: The enhance_l7policy_enable of this Listener.
|
918
918
|
:rtype: bool
|
@@ -923,7 +923,7 @@ class Listener:
|
|
923
923
|
def enhance_l7policy_enable(self, enhance_l7policy_enable):
|
924
924
|
r"""Sets the enhance_l7policy_enable of this Listener.
|
925
925
|
|
926
|
-
参数解释:是否开启高级转发策略功能。开启高级转发策略后,支持更灵活的转发策略和转发规则设置。 开启后支持如下场景: - 转发策略的action字段支持指定为REDIRECT_TO_URL, FIXED_RESPONSE,即支持URL重定向和响应固定的内容给客户端。 - 转发策略支持指定priority、redirect_url_config、fixed_response_config字段。 - 转发规则rule的type可以指定METHOD, HEADER, QUERY_STRING, SOURCE_IP这几种取值。 - 转发规则rule的type为HOST_NAME时,转发规则rule的value支持通配符*。 - 转发规则支持指定conditions字段。 约束限制: - 开启后不支持关闭。 - 开启高级转发策略后,监听器关联的转发策略的匹配优先级由转发策略的priority字段来决定,不再自动排序。具体说明详见转发策略的priority字段的说明。 取值范围:true开启,false不开启。 默认取值:false。 [荷兰region不支持该字段,请勿使用。](tag:dt)
|
926
|
+
参数解释:是否开启高级转发策略功能。开启高级转发策略后,支持更灵活的转发策略和转发规则设置。 开启后支持如下场景: - 转发策略的action字段支持指定为REDIRECT_TO_URL, FIXED_RESPONSE,即支持URL重定向和响应固定的内容给客户端。 - 转发策略支持指定priority、redirect_url_config、fixed_response_config字段。 - 转发规则rule的type可以指定METHOD, HEADER, QUERY_STRING, SOURCE_IP这几种取值。 - 转发规则rule的type为HOST_NAME时,转发规则rule的value支持通配符*。 - 转发规则支持指定conditions字段。 约束限制: - 开启后不支持关闭。 - 开启高级转发策略后,监听器关联的转发策略的匹配优先级由转发策略的priority字段来决定,不再自动排序。具体说明详见转发策略的priority字段的说明。 取值范围:true开启,false不开启。 默认取值:false。[西南-贵阳一和华南-广州局点,该配置默认true。](tag:hws) [荷兰region不支持该字段,请勿使用。](tag:dt)
|
927
927
|
|
928
928
|
:param enhance_l7policy_enable: The enhance_l7policy_enable of this Listener.
|
929
929
|
:type enhance_l7policy_enable: bool
|
@@ -996,7 +996,7 @@ class Listener:
|
|
996
996
|
def gzip_enable(self):
|
997
997
|
r"""Gets the gzip_enable of this Listener.
|
998
998
|
|
999
|
-
参数解释:ELB是否开启gzip压缩。 [约束限制:仅HTTP/HTTPS类型监听器支持配置。](tag:tm,hws_eu,g42,hk_g42,hcso_dt,dt) [约束限制:仅HTTP/HTTPS/QUIC类型监听器支持配置。](tag:hws,hws_hk,hws_test,hcs,hcs_sm,hcso,hk_vdf,srg,fcs,fcs_vm,mix,ocb,ctc,cmcc,ct,sbc,hws_ocb,hk_sbc) 默认取值:false
|
999
|
+
参数解释:ELB是否开启gzip压缩。 [约束限制:仅HTTP/HTTPS类型监听器支持配置。](tag:tm,hws_eu,g42,hk_g42,hcso_dt,dt) [约束限制:仅HTTP/HTTPS/QUIC类型监听器支持配置。](tag:hws,hws_hk,hws_test,hcs,hcs_sm,hcso,hk_vdf,srg,fcs,fcs_vm,mix,ocb,ctc,cmcc,ct,sbc,hws_ocb,hk_sbc) 默认取值:false [不支持该字段,请勿使用。](tag:hws_eu,hws_eu_wb,hws_test,fcs,dt,hcso_dt,ctc,cmcc,tm,sbc,hk_sbc,hk_tm,hk_vdf,srg,g42,hk_g42)
|
1000
1000
|
|
1001
1001
|
:return: The gzip_enable of this Listener.
|
1002
1002
|
:rtype: bool
|
@@ -1007,7 +1007,7 @@ class Listener:
|
|
1007
1007
|
def gzip_enable(self, gzip_enable):
|
1008
1008
|
r"""Sets the gzip_enable of this Listener.
|
1009
1009
|
|
1010
|
-
参数解释:ELB是否开启gzip压缩。 [约束限制:仅HTTP/HTTPS类型监听器支持配置。](tag:tm,hws_eu,g42,hk_g42,hcso_dt,dt) [约束限制:仅HTTP/HTTPS/QUIC类型监听器支持配置。](tag:hws,hws_hk,hws_test,hcs,hcs_sm,hcso,hk_vdf,srg,fcs,fcs_vm,mix,ocb,ctc,cmcc,ct,sbc,hws_ocb,hk_sbc) 默认取值:false
|
1010
|
+
参数解释:ELB是否开启gzip压缩。 [约束限制:仅HTTP/HTTPS类型监听器支持配置。](tag:tm,hws_eu,g42,hk_g42,hcso_dt,dt) [约束限制:仅HTTP/HTTPS/QUIC类型监听器支持配置。](tag:hws,hws_hk,hws_test,hcs,hcs_sm,hcso,hk_vdf,srg,fcs,fcs_vm,mix,ocb,ctc,cmcc,ct,sbc,hws_ocb,hk_sbc) 默认取值:false [不支持该字段,请勿使用。](tag:hws_eu,hws_eu_wb,hws_test,fcs,dt,hcso_dt,ctc,cmcc,tm,sbc,hk_sbc,hk_tm,hk_vdf,srg,g42,hk_g42)
|
1011
1011
|
|
1012
1012
|
:param gzip_enable: The gzip_enable of this Listener.
|
1013
1013
|
:type gzip_enable: bool
|
@@ -1018,7 +1018,7 @@ class Listener:
|
|
1018
1018
|
def port_ranges(self):
|
1019
1019
|
r"""Gets the port_ranges of this Listener.
|
1020
1020
|
|
1021
|
-
参数解释:端口监听范围(闭区间)。 约束限制: - 最多指定10个端口组,每个组范围不可有重叠部分 - 仅当protocol_port为0时可以传入。
|
1021
|
+
参数解释:端口监听范围(闭区间)。 约束限制: - 最多指定10个端口组,每个组范围不可有重叠部分 - 仅当protocol_port为0时可以传入。 [不支持该字段,请勿使用。](tag:hws_eu,hws_eu_wb,hws_test,fcs,dt,hcso_dt,ctc,cmcc,tm,sbc,hk_sbc,hk_tm,hk_vdf,srg,g42,hk_g42)
|
1022
1022
|
|
1023
1023
|
:return: The port_ranges of this Listener.
|
1024
1024
|
:rtype: list[:class:`huaweicloudsdkelb.v3.PortRange`]
|
@@ -1029,7 +1029,7 @@ class Listener:
|
|
1029
1029
|
def port_ranges(self, port_ranges):
|
1030
1030
|
r"""Sets the port_ranges of this Listener.
|
1031
1031
|
|
1032
|
-
参数解释:端口监听范围(闭区间)。 约束限制: - 最多指定10个端口组,每个组范围不可有重叠部分 - 仅当protocol_port为0时可以传入。
|
1032
|
+
参数解释:端口监听范围(闭区间)。 约束限制: - 最多指定10个端口组,每个组范围不可有重叠部分 - 仅当protocol_port为0时可以传入。 [不支持该字段,请勿使用。](tag:hws_eu,hws_eu_wb,hws_test,fcs,dt,hcso_dt,ctc,cmcc,tm,sbc,hk_sbc,hk_tm,hk_vdf,srg,g42,hk_g42)
|
1033
1033
|
|
1034
1034
|
:param port_ranges: The port_ranges of this Listener.
|
1035
1035
|
:type port_ranges: list[:class:`huaweicloudsdkelb.v3.PortRange`]
|
@@ -46,17 +46,22 @@ class LoadBalancer:
|
|
46
46
|
'l4_scale_flavor_id': 'str',
|
47
47
|
'l7_flavor_id': 'str',
|
48
48
|
'l7_scale_flavor_id': 'str',
|
49
|
+
'gw_flavor_id': 'str',
|
50
|
+
'loadbalancer_type': 'str',
|
49
51
|
'publicips': 'list[PublicIpInfo]',
|
50
52
|
'global_eips': 'list[GlobalEipInfo]',
|
51
53
|
'elb_virsubnet_ids': 'list[str]',
|
52
54
|
'elb_virsubnet_type': 'str',
|
53
55
|
'ip_target_enable': 'bool',
|
54
56
|
'frozen_scene': 'str',
|
55
|
-
'ipv6_bandwidth': 'BandwidthRef',
|
56
57
|
'deletion_protection_enable': 'bool',
|
57
58
|
'autoscaling': 'AutoscalingRef',
|
58
59
|
'public_border_group': 'str',
|
59
60
|
'charge_mode': 'str',
|
61
|
+
'service_lb_mode': 'str',
|
62
|
+
'instance_type': 'str',
|
63
|
+
'instance_id': 'str',
|
64
|
+
'proxy_protocol_extensions': 'list[ProxyProtocolExtension]',
|
60
65
|
'waf_failure_action': 'str',
|
61
66
|
'protection_status': 'str',
|
62
67
|
'protection_reason': 'str',
|
@@ -94,17 +99,22 @@ class LoadBalancer:
|
|
94
99
|
'l4_scale_flavor_id': 'l4_scale_flavor_id',
|
95
100
|
'l7_flavor_id': 'l7_flavor_id',
|
96
101
|
'l7_scale_flavor_id': 'l7_scale_flavor_id',
|
102
|
+
'gw_flavor_id': 'gw_flavor_id',
|
103
|
+
'loadbalancer_type': 'loadbalancer_type',
|
97
104
|
'publicips': 'publicips',
|
98
105
|
'global_eips': 'global_eips',
|
99
106
|
'elb_virsubnet_ids': 'elb_virsubnet_ids',
|
100
107
|
'elb_virsubnet_type': 'elb_virsubnet_type',
|
101
108
|
'ip_target_enable': 'ip_target_enable',
|
102
109
|
'frozen_scene': 'frozen_scene',
|
103
|
-
'ipv6_bandwidth': 'ipv6_bandwidth',
|
104
110
|
'deletion_protection_enable': 'deletion_protection_enable',
|
105
111
|
'autoscaling': 'autoscaling',
|
106
112
|
'public_border_group': 'public_border_group',
|
107
113
|
'charge_mode': 'charge_mode',
|
114
|
+
'service_lb_mode': 'service_lb_mode',
|
115
|
+
'instance_type': 'instance_type',
|
116
|
+
'instance_id': 'instance_id',
|
117
|
+
'proxy_protocol_extensions': 'proxy_protocol_extensions',
|
108
118
|
'waf_failure_action': 'waf_failure_action',
|
109
119
|
'protection_status': 'protection_status',
|
110
120
|
'protection_reason': 'protection_reason',
|
@@ -112,7 +122,7 @@ class LoadBalancer:
|
|
112
122
|
'log_topic_id': 'log_topic_id'
|
113
123
|
}
|
114
124
|
|
115
|
-
def __init__(self, id=None, description=None, provisioning_status=None, admin_state_up=None, provider=None, pools=None, listeners=None, operating_status=None, name=None, project_id=None, vip_subnet_cidr_id=None, vip_address=None, vip_port_id=None, tags=None, created_at=None, updated_at=None, guaranteed=None, vpc_id=None, eips=None, ipv6_vip_address=None, ipv6_vip_virsubnet_id=None, ipv6_vip_port_id=None, availability_zone_list=None, enterprise_project_id=None, billing_info=None, l4_flavor_id=None, l4_scale_flavor_id=None, l7_flavor_id=None, l7_scale_flavor_id=None, publicips=None, global_eips=None, elb_virsubnet_ids=None, elb_virsubnet_type=None, ip_target_enable=None, frozen_scene=None,
|
125
|
+
def __init__(self, id=None, description=None, provisioning_status=None, admin_state_up=None, provider=None, pools=None, listeners=None, operating_status=None, name=None, project_id=None, vip_subnet_cidr_id=None, vip_address=None, vip_port_id=None, tags=None, created_at=None, updated_at=None, guaranteed=None, vpc_id=None, eips=None, ipv6_vip_address=None, ipv6_vip_virsubnet_id=None, ipv6_vip_port_id=None, availability_zone_list=None, enterprise_project_id=None, billing_info=None, l4_flavor_id=None, l4_scale_flavor_id=None, l7_flavor_id=None, l7_scale_flavor_id=None, gw_flavor_id=None, loadbalancer_type=None, publicips=None, global_eips=None, elb_virsubnet_ids=None, elb_virsubnet_type=None, ip_target_enable=None, frozen_scene=None, deletion_protection_enable=None, autoscaling=None, public_border_group=None, charge_mode=None, service_lb_mode=None, instance_type=None, instance_id=None, proxy_protocol_extensions=None, waf_failure_action=None, protection_status=None, protection_reason=None, log_group_id=None, log_topic_id=None):
|
116
126
|
r"""LoadBalancer
|
117
127
|
|
118
128
|
The model defined in huaweicloud sdk
|
@@ -175,6 +185,10 @@ class LoadBalancer:
|
|
175
185
|
:type l7_flavor_id: str
|
176
186
|
:param l7_scale_flavor_id: 参数解释:七层弹性Flavor ID。 不支持该字段,请勿使用。
|
177
187
|
:type l7_scale_flavor_id: str
|
188
|
+
:param gw_flavor_id: 网关型LB的Flavor ID。 [使用说明:当gw_flavor_id不传时,会使用默认gateway flavor (默认gateway flavor根据不同局点有所不同,具体以实际值为准)。 ](tag:hws,hws_hk,hws_eu,ocb,ctc,hcs,g42,tm,cmcc,hk_g42,hws_ocb) 不支持该字段,请勿使用。
|
189
|
+
:type gw_flavor_id: str
|
190
|
+
:param loadbalancer_type: 参数解释:负载均衡器类别。 取值范围: - gateway 表示网关类型负载均衡器。 - null 表示其他非网关类型负载均衡器。 默认取值:null。 不支持该字段,请勿使用。
|
191
|
+
:type loadbalancer_type: str
|
178
192
|
:param publicips: 参数解释:负载均衡器绑定的公网IP。只支持绑定一个公网IP。 注:该字段与eips一致。
|
179
193
|
:type publicips: list[:class:`huaweicloudsdkelb.v3.PublicIpInfo`]
|
180
194
|
:param global_eips: 参数解释:负载均衡器绑定的global eip。 约束限制:只支持绑定一个globaleip。 [不支持该字段,请勿使用。](tag:hws_eu,g42,hk_g42,dt,hcso_dt,hk_vdf,srg,fcs,ctc,ocb,hws_ocb)
|
@@ -187,16 +201,22 @@ class LoadBalancer:
|
|
187
201
|
:type ip_target_enable: bool
|
188
202
|
:param frozen_scene: 参数解释:负载均衡器的冻结场景。 [若负载均衡器有多个冻结场景,用逗号分隔。 取值范围: - POLICE:公安冻结场景。 - ILLEGAL:违规冻结场景。 - VERIFY:客户未实名认证冻结场景。 - PARTNER:合作伙伴冻结(合作伙伴冻结子客户资源)。 - AREAR:欠费冻结场景。](tag:hws,hws_hk) [不支持该字段,请勿使用。](tag:hws_eu,g42,hk_g42,dt,hcso_dt,ocb,hws_ocb)
|
189
203
|
:type frozen_scene: str
|
190
|
-
:param ipv6_bandwidth:
|
191
|
-
:type ipv6_bandwidth: :class:`huaweicloudsdkelb.v3.BandwidthRef`
|
192
204
|
:param deletion_protection_enable: 参数解释:是否开启删除保护。 约束限制: - 仅当前局点启用删除保护特性后才会返回该字段。 - 退场时需要先关闭所有资源的删除保护开关。 取值范围: - false:不开启。 - true:开启。 [不支持该字段,请勿使用。](tag:hws_eu,g42,hk_g42) [荷兰region不支持该字段,请勿使用。](tag:dt)
|
193
205
|
:type deletion_protection_enable: bool
|
194
206
|
:param autoscaling:
|
195
207
|
:type autoscaling: :class:`huaweicloudsdkelb.v3.AutoscalingRef`
|
196
208
|
:param public_border_group: 参数解释:LB所属AZ组。
|
197
209
|
:type public_border_group: str
|
198
|
-
:param charge_mode: 参数解释:负载均衡器实例的计费模式。 取值范围: - flavor:按规格计费 - lcu:按使用量计费 - 空值:若是共享型表示免费实例。若是独享型则与flavor模式一致,都是按规格计费。
|
210
|
+
:param charge_mode: 参数解释:负载均衡器实例的计费模式。 取值范围: - flavor:按规格计费 - lcu:按使用量计费 - 空值:若是共享型表示免费实例。若是独享型则与flavor模式一致,都是按规格计费。 [不支持该字段,请勿使用。](tag:hws_hk,hws_eu,hws_eu_wb,hws_test,fcs,dt,hcso_dt,ctc,cmcc,tm,sbc,hk_sbc,hk_tm,hk_vdf,srg,g42,hk_g42)
|
199
211
|
:type charge_mode: str
|
212
|
+
:param service_lb_mode: 参数解释:lb 模式,默认为lb,ep模式LB支持跨租户访问。 不支持该字段,请勿使用。
|
213
|
+
:type service_lb_mode: str
|
214
|
+
:param instance_type: 参数解释:标识实例归属哪个内部服务。 不支持该字段,请勿使用。
|
215
|
+
:type instance_type: str
|
216
|
+
:param instance_id: 参数解释:标识实例绑定内部服务的实例id。 不支持该字段,请勿使用。
|
217
|
+
:type instance_id: str
|
218
|
+
:param proxy_protocol_extensions: 参数解释:pp扩展。 不支持该字段,请勿使用。
|
219
|
+
:type proxy_protocol_extensions: list[:class:`huaweicloudsdkelb.v3.ProxyProtocolExtension`]
|
200
220
|
:param waf_failure_action: 参数解释:WAF故障时的流量处理策略。 约束限制:只有绑定了waf的LB实例,该字段才会生效。 取值范围:discard:丢弃,forward: 转发到后端。 默认取值:forward [不支持该字段,请勿使用。](tag:hws_eu,hws_test,hcs,hcs_sm,hcso,hk_vdf,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)
|
201
221
|
:type waf_failure_action: str
|
202
222
|
:param protection_status: 参数解释:修改保护状态。 取值范围: - nonProtection: 不保护。 - consoleProtection: 控制台修改保护。 默认取值:nonProtection
|
@@ -240,17 +260,22 @@ class LoadBalancer:
|
|
240
260
|
self._l4_scale_flavor_id = None
|
241
261
|
self._l7_flavor_id = None
|
242
262
|
self._l7_scale_flavor_id = None
|
263
|
+
self._gw_flavor_id = None
|
264
|
+
self._loadbalancer_type = None
|
243
265
|
self._publicips = None
|
244
266
|
self._global_eips = None
|
245
267
|
self._elb_virsubnet_ids = None
|
246
268
|
self._elb_virsubnet_type = None
|
247
269
|
self._ip_target_enable = None
|
248
270
|
self._frozen_scene = None
|
249
|
-
self._ipv6_bandwidth = None
|
250
271
|
self._deletion_protection_enable = None
|
251
272
|
self._autoscaling = None
|
252
273
|
self._public_border_group = None
|
253
274
|
self._charge_mode = None
|
275
|
+
self._service_lb_mode = None
|
276
|
+
self._instance_type = None
|
277
|
+
self._instance_id = None
|
278
|
+
self._proxy_protocol_extensions = None
|
254
279
|
self._waf_failure_action = None
|
255
280
|
self._protection_status = None
|
256
281
|
self._protection_reason = None
|
@@ -287,13 +312,16 @@ class LoadBalancer:
|
|
287
312
|
self.l4_scale_flavor_id = l4_scale_flavor_id
|
288
313
|
self.l7_flavor_id = l7_flavor_id
|
289
314
|
self.l7_scale_flavor_id = l7_scale_flavor_id
|
315
|
+
if gw_flavor_id is not None:
|
316
|
+
self.gw_flavor_id = gw_flavor_id
|
317
|
+
if loadbalancer_type is not None:
|
318
|
+
self.loadbalancer_type = loadbalancer_type
|
290
319
|
self.publicips = publicips
|
291
320
|
self.global_eips = global_eips
|
292
321
|
self.elb_virsubnet_ids = elb_virsubnet_ids
|
293
322
|
self.elb_virsubnet_type = elb_virsubnet_type
|
294
323
|
self.ip_target_enable = ip_target_enable
|
295
324
|
self.frozen_scene = frozen_scene
|
296
|
-
self.ipv6_bandwidth = ipv6_bandwidth
|
297
325
|
if deletion_protection_enable is not None:
|
298
326
|
self.deletion_protection_enable = deletion_protection_enable
|
299
327
|
if autoscaling is not None:
|
@@ -302,6 +330,14 @@ class LoadBalancer:
|
|
302
330
|
self.public_border_group = public_border_group
|
303
331
|
if charge_mode is not None:
|
304
332
|
self.charge_mode = charge_mode
|
333
|
+
if service_lb_mode is not None:
|
334
|
+
self.service_lb_mode = service_lb_mode
|
335
|
+
if instance_type is not None:
|
336
|
+
self.instance_type = instance_type
|
337
|
+
if instance_id is not None:
|
338
|
+
self.instance_id = instance_id
|
339
|
+
if proxy_protocol_extensions is not None:
|
340
|
+
self.proxy_protocol_extensions = proxy_protocol_extensions
|
305
341
|
if waf_failure_action is not None:
|
306
342
|
self.waf_failure_action = waf_failure_action
|
307
343
|
if protection_status is not None:
|
@@ -951,6 +987,50 @@ class LoadBalancer:
|
|
951
987
|
"""
|
952
988
|
self._l7_scale_flavor_id = l7_scale_flavor_id
|
953
989
|
|
990
|
+
@property
|
991
|
+
def gw_flavor_id(self):
|
992
|
+
r"""Gets the gw_flavor_id of this LoadBalancer.
|
993
|
+
|
994
|
+
网关型LB的Flavor ID。 [使用说明:当gw_flavor_id不传时,会使用默认gateway flavor (默认gateway flavor根据不同局点有所不同,具体以实际值为准)。 ](tag:hws,hws_hk,hws_eu,ocb,ctc,hcs,g42,tm,cmcc,hk_g42,hws_ocb) 不支持该字段,请勿使用。
|
995
|
+
|
996
|
+
:return: The gw_flavor_id of this LoadBalancer.
|
997
|
+
:rtype: str
|
998
|
+
"""
|
999
|
+
return self._gw_flavor_id
|
1000
|
+
|
1001
|
+
@gw_flavor_id.setter
|
1002
|
+
def gw_flavor_id(self, gw_flavor_id):
|
1003
|
+
r"""Sets the gw_flavor_id of this LoadBalancer.
|
1004
|
+
|
1005
|
+
网关型LB的Flavor ID。 [使用说明:当gw_flavor_id不传时,会使用默认gateway flavor (默认gateway flavor根据不同局点有所不同,具体以实际值为准)。 ](tag:hws,hws_hk,hws_eu,ocb,ctc,hcs,g42,tm,cmcc,hk_g42,hws_ocb) 不支持该字段,请勿使用。
|
1006
|
+
|
1007
|
+
:param gw_flavor_id: The gw_flavor_id of this LoadBalancer.
|
1008
|
+
:type gw_flavor_id: str
|
1009
|
+
"""
|
1010
|
+
self._gw_flavor_id = gw_flavor_id
|
1011
|
+
|
1012
|
+
@property
|
1013
|
+
def loadbalancer_type(self):
|
1014
|
+
r"""Gets the loadbalancer_type of this LoadBalancer.
|
1015
|
+
|
1016
|
+
参数解释:负载均衡器类别。 取值范围: - gateway 表示网关类型负载均衡器。 - null 表示其他非网关类型负载均衡器。 默认取值:null。 不支持该字段,请勿使用。
|
1017
|
+
|
1018
|
+
:return: The loadbalancer_type of this LoadBalancer.
|
1019
|
+
:rtype: str
|
1020
|
+
"""
|
1021
|
+
return self._loadbalancer_type
|
1022
|
+
|
1023
|
+
@loadbalancer_type.setter
|
1024
|
+
def loadbalancer_type(self, loadbalancer_type):
|
1025
|
+
r"""Sets the loadbalancer_type of this LoadBalancer.
|
1026
|
+
|
1027
|
+
参数解释:负载均衡器类别。 取值范围: - gateway 表示网关类型负载均衡器。 - null 表示其他非网关类型负载均衡器。 默认取值:null。 不支持该字段,请勿使用。
|
1028
|
+
|
1029
|
+
:param loadbalancer_type: The loadbalancer_type of this LoadBalancer.
|
1030
|
+
:type loadbalancer_type: str
|
1031
|
+
"""
|
1032
|
+
self._loadbalancer_type = loadbalancer_type
|
1033
|
+
|
954
1034
|
@property
|
955
1035
|
def publicips(self):
|
956
1036
|
r"""Gets the publicips of this LoadBalancer.
|
@@ -1083,24 +1163,6 @@ class LoadBalancer:
|
|
1083
1163
|
"""
|
1084
1164
|
self._frozen_scene = frozen_scene
|
1085
1165
|
|
1086
|
-
@property
|
1087
|
-
def ipv6_bandwidth(self):
|
1088
|
-
r"""Gets the ipv6_bandwidth of this LoadBalancer.
|
1089
|
-
|
1090
|
-
:return: The ipv6_bandwidth of this LoadBalancer.
|
1091
|
-
:rtype: :class:`huaweicloudsdkelb.v3.BandwidthRef`
|
1092
|
-
"""
|
1093
|
-
return self._ipv6_bandwidth
|
1094
|
-
|
1095
|
-
@ipv6_bandwidth.setter
|
1096
|
-
def ipv6_bandwidth(self, ipv6_bandwidth):
|
1097
|
-
r"""Sets the ipv6_bandwidth of this LoadBalancer.
|
1098
|
-
|
1099
|
-
:param ipv6_bandwidth: The ipv6_bandwidth of this LoadBalancer.
|
1100
|
-
:type ipv6_bandwidth: :class:`huaweicloudsdkelb.v3.BandwidthRef`
|
1101
|
-
"""
|
1102
|
-
self._ipv6_bandwidth = ipv6_bandwidth
|
1103
|
-
|
1104
1166
|
@property
|
1105
1167
|
def deletion_protection_enable(self):
|
1106
1168
|
r"""Gets the deletion_protection_enable of this LoadBalancer.
|
@@ -1167,7 +1229,7 @@ class LoadBalancer:
|
|
1167
1229
|
def charge_mode(self):
|
1168
1230
|
r"""Gets the charge_mode of this LoadBalancer.
|
1169
1231
|
|
1170
|
-
参数解释:负载均衡器实例的计费模式。 取值范围: - flavor:按规格计费 - lcu:按使用量计费 - 空值:若是共享型表示免费实例。若是独享型则与flavor模式一致,都是按规格计费。
|
1232
|
+
参数解释:负载均衡器实例的计费模式。 取值范围: - flavor:按规格计费 - lcu:按使用量计费 - 空值:若是共享型表示免费实例。若是独享型则与flavor模式一致,都是按规格计费。 [不支持该字段,请勿使用。](tag:hws_hk,hws_eu,hws_eu_wb,hws_test,fcs,dt,hcso_dt,ctc,cmcc,tm,sbc,hk_sbc,hk_tm,hk_vdf,srg,g42,hk_g42)
|
1171
1233
|
|
1172
1234
|
:return: The charge_mode of this LoadBalancer.
|
1173
1235
|
:rtype: str
|
@@ -1178,13 +1240,101 @@ class LoadBalancer:
|
|
1178
1240
|
def charge_mode(self, charge_mode):
|
1179
1241
|
r"""Sets the charge_mode of this LoadBalancer.
|
1180
1242
|
|
1181
|
-
参数解释:负载均衡器实例的计费模式。 取值范围: - flavor:按规格计费 - lcu:按使用量计费 - 空值:若是共享型表示免费实例。若是独享型则与flavor模式一致,都是按规格计费。
|
1243
|
+
参数解释:负载均衡器实例的计费模式。 取值范围: - flavor:按规格计费 - lcu:按使用量计费 - 空值:若是共享型表示免费实例。若是独享型则与flavor模式一致,都是按规格计费。 [不支持该字段,请勿使用。](tag:hws_hk,hws_eu,hws_eu_wb,hws_test,fcs,dt,hcso_dt,ctc,cmcc,tm,sbc,hk_sbc,hk_tm,hk_vdf,srg,g42,hk_g42)
|
1182
1244
|
|
1183
1245
|
:param charge_mode: The charge_mode of this LoadBalancer.
|
1184
1246
|
:type charge_mode: str
|
1185
1247
|
"""
|
1186
1248
|
self._charge_mode = charge_mode
|
1187
1249
|
|
1250
|
+
@property
|
1251
|
+
def service_lb_mode(self):
|
1252
|
+
r"""Gets the service_lb_mode of this LoadBalancer.
|
1253
|
+
|
1254
|
+
参数解释:lb 模式,默认为lb,ep模式LB支持跨租户访问。 不支持该字段,请勿使用。
|
1255
|
+
|
1256
|
+
:return: The service_lb_mode of this LoadBalancer.
|
1257
|
+
:rtype: str
|
1258
|
+
"""
|
1259
|
+
return self._service_lb_mode
|
1260
|
+
|
1261
|
+
@service_lb_mode.setter
|
1262
|
+
def service_lb_mode(self, service_lb_mode):
|
1263
|
+
r"""Sets the service_lb_mode of this LoadBalancer.
|
1264
|
+
|
1265
|
+
参数解释:lb 模式,默认为lb,ep模式LB支持跨租户访问。 不支持该字段,请勿使用。
|
1266
|
+
|
1267
|
+
:param service_lb_mode: The service_lb_mode of this LoadBalancer.
|
1268
|
+
:type service_lb_mode: str
|
1269
|
+
"""
|
1270
|
+
self._service_lb_mode = service_lb_mode
|
1271
|
+
|
1272
|
+
@property
|
1273
|
+
def instance_type(self):
|
1274
|
+
r"""Gets the instance_type of this LoadBalancer.
|
1275
|
+
|
1276
|
+
参数解释:标识实例归属哪个内部服务。 不支持该字段,请勿使用。
|
1277
|
+
|
1278
|
+
:return: The instance_type of this LoadBalancer.
|
1279
|
+
:rtype: str
|
1280
|
+
"""
|
1281
|
+
return self._instance_type
|
1282
|
+
|
1283
|
+
@instance_type.setter
|
1284
|
+
def instance_type(self, instance_type):
|
1285
|
+
r"""Sets the instance_type of this LoadBalancer.
|
1286
|
+
|
1287
|
+
参数解释:标识实例归属哪个内部服务。 不支持该字段,请勿使用。
|
1288
|
+
|
1289
|
+
:param instance_type: The instance_type of this LoadBalancer.
|
1290
|
+
:type instance_type: str
|
1291
|
+
"""
|
1292
|
+
self._instance_type = instance_type
|
1293
|
+
|
1294
|
+
@property
|
1295
|
+
def instance_id(self):
|
1296
|
+
r"""Gets the instance_id of this LoadBalancer.
|
1297
|
+
|
1298
|
+
参数解释:标识实例绑定内部服务的实例id。 不支持该字段,请勿使用。
|
1299
|
+
|
1300
|
+
:return: The instance_id of this LoadBalancer.
|
1301
|
+
:rtype: str
|
1302
|
+
"""
|
1303
|
+
return self._instance_id
|
1304
|
+
|
1305
|
+
@instance_id.setter
|
1306
|
+
def instance_id(self, instance_id):
|
1307
|
+
r"""Sets the instance_id of this LoadBalancer.
|
1308
|
+
|
1309
|
+
参数解释:标识实例绑定内部服务的实例id。 不支持该字段,请勿使用。
|
1310
|
+
|
1311
|
+
:param instance_id: The instance_id of this LoadBalancer.
|
1312
|
+
:type instance_id: str
|
1313
|
+
"""
|
1314
|
+
self._instance_id = instance_id
|
1315
|
+
|
1316
|
+
@property
|
1317
|
+
def proxy_protocol_extensions(self):
|
1318
|
+
r"""Gets the proxy_protocol_extensions of this LoadBalancer.
|
1319
|
+
|
1320
|
+
参数解释:pp扩展。 不支持该字段,请勿使用。
|
1321
|
+
|
1322
|
+
:return: The proxy_protocol_extensions of this LoadBalancer.
|
1323
|
+
:rtype: list[:class:`huaweicloudsdkelb.v3.ProxyProtocolExtension`]
|
1324
|
+
"""
|
1325
|
+
return self._proxy_protocol_extensions
|
1326
|
+
|
1327
|
+
@proxy_protocol_extensions.setter
|
1328
|
+
def proxy_protocol_extensions(self, proxy_protocol_extensions):
|
1329
|
+
r"""Sets the proxy_protocol_extensions of this LoadBalancer.
|
1330
|
+
|
1331
|
+
参数解释:pp扩展。 不支持该字段,请勿使用。
|
1332
|
+
|
1333
|
+
:param proxy_protocol_extensions: The proxy_protocol_extensions of this LoadBalancer.
|
1334
|
+
:type proxy_protocol_extensions: list[:class:`huaweicloudsdkelb.v3.ProxyProtocolExtension`]
|
1335
|
+
"""
|
1336
|
+
self._proxy_protocol_extensions = proxy_protocol_extensions
|
1337
|
+
|
1188
1338
|
@property
|
1189
1339
|
def waf_failure_action(self):
|
1190
1340
|
r"""Gets the waf_failure_action of this LoadBalancer.
|
@@ -63,15 +63,15 @@ class MasterSlaveMember:
|
|
63
63
|
:type name: str
|
64
64
|
:param admin_state_up: 后端服务器的管理状态。 取值:true、false。 虽然创建、更新请求支持该字段,但实际取值决定于后端服务器对应的弹性云服务器是否存在。若存在,该值为true,否则,该值为false。
|
65
65
|
:type admin_state_up: bool
|
66
|
-
:param subnet_cidr_id: 后端服务器所在子网的IPv4子网ID或IPv6子网ID。 若所属的LB的跨VPC后端转发特性已开启,则该字段可以不传,表示添加跨VPC的后端服务器。此时address
|
66
|
+
:param subnet_cidr_id: 后端服务器所在子网的IPv4子网ID或IPv6子网ID。 若所属的LB的跨VPC后端转发特性已开启,则该字段可以不传,表示添加跨VPC的后端服务器。此时address必须为**私网IPv4**地址,所在的pool的协议必须为UDP/TCP/TLS/HTTP/HTTPS/QUIC/GRPC。 使用说明:该子网和关联的负载均衡器的子网必须在同一VPC下。 [不支持IPv6,请勿设置为IPv6子网ID。](tag:dt)
|
67
67
|
:type subnet_cidr_id: str
|
68
68
|
:param protocol_port: 后端服务器业务端口。 >在开启端口透传的pool下创建member传该字段不生效,可不传该字段。
|
69
69
|
:type protocol_port: int
|
70
|
-
:param address: 后端服务器对应的IP地址。 使用说明: - 若subnet_cidr_id为空,表示添加跨VPC后端,此时address
|
70
|
+
:param address: 后端服务器对应的IP地址。 使用说明: - 若subnet_cidr_id为空,表示添加跨VPC后端,此时address必须为**私网IPv4**地址。 - 若subnet_cidr_id不为空,表示是一个关联到ECS的后端服务器。该IP地址必须在subnet_cidr_id对应的子网网段中,可以是**私网IPv4**或IPv6。 [不支持IPv6,请勿设置为IPv6地址。](tag:dt)
|
71
71
|
:type address: str
|
72
72
|
:param ip_version: 当前后端服务器的IP地址版本,由后端系统自动根据传入的address字段确定。取值:v4、v6。
|
73
73
|
:type ip_version: str
|
74
|
-
:param device_owner: 设备所有者。 取值: - 空,表示后端服务器未关联到ECS。 - compute:{az_name},表示关联到ECS,其中{az_name}表示ECS所在可用区名。 不支持该字段,请勿使用。
|
74
|
+
:param device_owner: 设备所有者。 取值: - 空,表示后端服务器未关联到ECS。 - compute:{az_name},表示关联到ECS,其中{az_name}表示ECS所在可用区名。 - compute:subeni,表示辅助弹性网卡。 不支持该字段,请勿使用。
|
75
75
|
:type device_owner: str
|
76
76
|
:param device_id: 关联的ECS ID,为空表示后端服务器未关联到ECS。 不支持该字段,请勿使用。
|
77
77
|
:type device_id: str
|
@@ -195,7 +195,7 @@ class MasterSlaveMember:
|
|
195
195
|
def subnet_cidr_id(self):
|
196
196
|
r"""Gets the subnet_cidr_id of this MasterSlaveMember.
|
197
197
|
|
198
|
-
后端服务器所在子网的IPv4子网ID或IPv6子网ID。 若所属的LB的跨VPC后端转发特性已开启,则该字段可以不传,表示添加跨VPC的后端服务器。此时address
|
198
|
+
后端服务器所在子网的IPv4子网ID或IPv6子网ID。 若所属的LB的跨VPC后端转发特性已开启,则该字段可以不传,表示添加跨VPC的后端服务器。此时address必须为**私网IPv4**地址,所在的pool的协议必须为UDP/TCP/TLS/HTTP/HTTPS/QUIC/GRPC。 使用说明:该子网和关联的负载均衡器的子网必须在同一VPC下。 [不支持IPv6,请勿设置为IPv6子网ID。](tag:dt)
|
199
199
|
|
200
200
|
:return: The subnet_cidr_id of this MasterSlaveMember.
|
201
201
|
:rtype: str
|
@@ -206,7 +206,7 @@ class MasterSlaveMember:
|
|
206
206
|
def subnet_cidr_id(self, subnet_cidr_id):
|
207
207
|
r"""Sets the subnet_cidr_id of this MasterSlaveMember.
|
208
208
|
|
209
|
-
后端服务器所在子网的IPv4子网ID或IPv6子网ID。 若所属的LB的跨VPC后端转发特性已开启,则该字段可以不传,表示添加跨VPC的后端服务器。此时address
|
209
|
+
后端服务器所在子网的IPv4子网ID或IPv6子网ID。 若所属的LB的跨VPC后端转发特性已开启,则该字段可以不传,表示添加跨VPC的后端服务器。此时address必须为**私网IPv4**地址,所在的pool的协议必须为UDP/TCP/TLS/HTTP/HTTPS/QUIC/GRPC。 使用说明:该子网和关联的负载均衡器的子网必须在同一VPC下。 [不支持IPv6,请勿设置为IPv6子网ID。](tag:dt)
|
210
210
|
|
211
211
|
:param subnet_cidr_id: The subnet_cidr_id of this MasterSlaveMember.
|
212
212
|
:type subnet_cidr_id: str
|
@@ -239,7 +239,7 @@ class MasterSlaveMember:
|
|
239
239
|
def address(self):
|
240
240
|
r"""Gets the address of this MasterSlaveMember.
|
241
241
|
|
242
|
-
后端服务器对应的IP地址。 使用说明: - 若subnet_cidr_id为空,表示添加跨VPC后端,此时address
|
242
|
+
后端服务器对应的IP地址。 使用说明: - 若subnet_cidr_id为空,表示添加跨VPC后端,此时address必须为**私网IPv4**地址。 - 若subnet_cidr_id不为空,表示是一个关联到ECS的后端服务器。该IP地址必须在subnet_cidr_id对应的子网网段中,可以是**私网IPv4**或IPv6。 [不支持IPv6,请勿设置为IPv6地址。](tag:dt)
|
243
243
|
|
244
244
|
:return: The address of this MasterSlaveMember.
|
245
245
|
:rtype: str
|
@@ -250,7 +250,7 @@ class MasterSlaveMember:
|
|
250
250
|
def address(self, address):
|
251
251
|
r"""Sets the address of this MasterSlaveMember.
|
252
252
|
|
253
|
-
后端服务器对应的IP地址。 使用说明: - 若subnet_cidr_id为空,表示添加跨VPC后端,此时address
|
253
|
+
后端服务器对应的IP地址。 使用说明: - 若subnet_cidr_id为空,表示添加跨VPC后端,此时address必须为**私网IPv4**地址。 - 若subnet_cidr_id不为空,表示是一个关联到ECS的后端服务器。该IP地址必须在subnet_cidr_id对应的子网网段中,可以是**私网IPv4**或IPv6。 [不支持IPv6,请勿设置为IPv6地址。](tag:dt)
|
254
254
|
|
255
255
|
:param address: The address of this MasterSlaveMember.
|
256
256
|
:type address: str
|
@@ -283,7 +283,7 @@ class MasterSlaveMember:
|
|
283
283
|
def device_owner(self):
|
284
284
|
r"""Gets the device_owner of this MasterSlaveMember.
|
285
285
|
|
286
|
-
设备所有者。 取值: - 空,表示后端服务器未关联到ECS。 - compute:{az_name},表示关联到ECS,其中{az_name}表示ECS所在可用区名。 不支持该字段,请勿使用。
|
286
|
+
设备所有者。 取值: - 空,表示后端服务器未关联到ECS。 - compute:{az_name},表示关联到ECS,其中{az_name}表示ECS所在可用区名。 - compute:subeni,表示辅助弹性网卡。 不支持该字段,请勿使用。
|
287
287
|
|
288
288
|
:return: The device_owner of this MasterSlaveMember.
|
289
289
|
:rtype: str
|
@@ -294,7 +294,7 @@ class MasterSlaveMember:
|
|
294
294
|
def device_owner(self, device_owner):
|
295
295
|
r"""Sets the device_owner of this MasterSlaveMember.
|
296
296
|
|
297
|
-
设备所有者。 取值: - 空,表示后端服务器未关联到ECS。 - compute:{az_name},表示关联到ECS,其中{az_name}表示ECS所在可用区名。 不支持该字段,请勿使用。
|
297
|
+
设备所有者。 取值: - 空,表示后端服务器未关联到ECS。 - compute:{az_name},表示关联到ECS,其中{az_name}表示ECS所在可用区名。 - compute:subeni,表示辅助弹性网卡。 不支持该字段,请勿使用。
|
298
298
|
|
299
299
|
:param device_owner: The device_owner of this MasterSlaveMember.
|
300
300
|
:type device_owner: str
|