huaweicloudsdkelb 3.1.109__py2.py3-none-any.whl → 3.1.111__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/region/elb_region.py +3 -0
- huaweicloudsdkelb/v3/elb_async_client.py +1 -1
- huaweicloudsdkelb/v3/elb_client.py +1 -1
- huaweicloudsdkelb/v3/model/autoscaling_ref.py +6 -6
- huaweicloudsdkelb/v3/model/availability_zone.py +15 -15
- huaweicloudsdkelb/v3/model/bandwidth_ref.py +3 -3
- huaweicloudsdkelb/v3/model/batch_create_members_option.py +6 -6
- huaweicloudsdkelb/v3/model/batch_create_members_request.py +3 -3
- huaweicloudsdkelb/v3/model/batch_delete_members_request.py +3 -3
- huaweicloudsdkelb/v3/model/batch_member.py +6 -6
- huaweicloudsdkelb/v3/model/batch_update_members_option.py +3 -3
- huaweicloudsdkelb/v3/model/batch_update_members_request.py +3 -3
- huaweicloudsdkelb/v3/model/batch_update_policies_priority_request_body.py +3 -3
- huaweicloudsdkelb/v3/model/batch_update_priority_request_body.py +6 -6
- huaweicloudsdkelb/v3/model/create_fixted_response_config.py +9 -9
- huaweicloudsdkelb/v3/model/create_health_monitor_option.py +12 -12
- huaweicloudsdkelb/v3/model/create_insert_header_config.py +9 -9
- huaweicloudsdkelb/v3/model/create_insert_headers_config.py +3 -3
- huaweicloudsdkelb/v3/model/create_ip_group_ip_option.py +3 -3
- huaweicloudsdkelb/v3/model/create_l7_policy_option.py +39 -39
- huaweicloudsdkelb/v3/model/create_l7_policy_response.py +3 -3
- huaweicloudsdkelb/v3/model/create_l7_policy_rule_option.py +21 -21
- huaweicloudsdkelb/v3/model/create_l7_rule_request.py +3 -3
- huaweicloudsdkelb/v3/model/create_l7_rule_response.py +3 -3
- huaweicloudsdkelb/v3/model/create_listener_ip_group_option.py +9 -9
- huaweicloudsdkelb/v3/model/create_listener_option.py +84 -84
- huaweicloudsdkelb/v3/model/create_listener_quic_config_option.py +6 -6
- huaweicloudsdkelb/v3/model/create_listener_response.py +3 -3
- huaweicloudsdkelb/v3/model/create_load_balancer_bandwidth_option.py +6 -6
- huaweicloudsdkelb/v3/model/create_load_balancer_option.py +45 -45
- huaweicloudsdkelb/v3/model/create_load_balancer_public_ip_option.py +3 -3
- huaweicloudsdkelb/v3/model/create_load_balancer_response.py +9 -9
- huaweicloudsdkelb/v3/model/create_loadbalancer_autoscaling_option.py +3 -3
- huaweicloudsdkelb/v3/model/create_master_slave_health_monitor_option.py +3 -3
- huaweicloudsdkelb/v3/model/create_member_option.py +21 -21
- huaweicloudsdkelb/v3/model/create_member_request.py +3 -3
- huaweicloudsdkelb/v3/model/create_member_response.py +3 -3
- huaweicloudsdkelb/v3/model/create_pool_option.py +12 -12
- huaweicloudsdkelb/v3/model/create_pool_session_persistence_option.py +3 -3
- huaweicloudsdkelb/v3/model/create_redirect_pools_config.py +6 -6
- huaweicloudsdkelb/v3/model/create_redirect_pools_extend_config.py +3 -3
- huaweicloudsdkelb/v3/model/create_redirect_pools_sticky_session_config.py +6 -6
- huaweicloudsdkelb/v3/model/create_redirect_url_config.py +18 -18
- huaweicloudsdkelb/v3/model/create_remove_header_config.py +3 -3
- huaweicloudsdkelb/v3/model/create_remove_headers_config.py +3 -3
- huaweicloudsdkelb/v3/model/create_rewrite_url_config.py +9 -9
- huaweicloudsdkelb/v3/model/create_rule_condition.py +6 -6
- huaweicloudsdkelb/v3/model/create_rule_option.py +24 -24
- huaweicloudsdkelb/v3/model/create_traffic_limit_config.py +9 -9
- huaweicloudsdkelb/v3/model/delete_l7_policy_request.py +3 -3
- huaweicloudsdkelb/v3/model/delete_master_slave_pool_request.py +3 -3
- huaweicloudsdkelb/v3/model/delete_member_request.py +3 -3
- huaweicloudsdkelb/v3/model/delete_pool_request.py +3 -3
- huaweicloudsdkelb/v3/model/eip_info.py +9 -9
- huaweicloudsdkelb/v3/model/fixted_response_config.py +9 -9
- huaweicloudsdkelb/v3/model/flavor.py +6 -6
- huaweicloudsdkelb/v3/model/flavor_info.py +18 -18
- huaweicloudsdkelb/v3/model/global_eip_info.py +9 -9
- huaweicloudsdkelb/v3/model/health_monitor.py +12 -12
- huaweicloudsdkelb/v3/model/insert_header_config.py +9 -9
- huaweicloudsdkelb/v3/model/insert_headers_config.py +3 -3
- huaweicloudsdkelb/v3/model/l7_policy.py +51 -51
- huaweicloudsdkelb/v3/model/l7_rule.py +36 -36
- huaweicloudsdkelb/v3/model/list_availability_zones_request.py +3 -3
- huaweicloudsdkelb/v3/model/list_availability_zones_response.py +38 -9
- huaweicloudsdkelb/v3/model/list_flavors_request.py +9 -9
- huaweicloudsdkelb/v3/model/list_health_monitors_request.py +9 -9
- huaweicloudsdkelb/v3/model/list_l7_policies_request.py +48 -48
- huaweicloudsdkelb/v3/model/list_l7_policies_response.py +6 -6
- huaweicloudsdkelb/v3/model/list_l7_rules_request.py +3 -3
- huaweicloudsdkelb/v3/model/list_l7_rules_response.py +6 -6
- huaweicloudsdkelb/v3/model/list_listeners_request.py +9 -9
- huaweicloudsdkelb/v3/model/list_listeners_response.py +6 -6
- huaweicloudsdkelb/v3/model/list_load_balancers_request.py +6 -6
- huaweicloudsdkelb/v3/model/list_master_slave_pools_request.py +3 -3
- huaweicloudsdkelb/v3/model/list_members_request.py +3 -3
- huaweicloudsdkelb/v3/model/list_pools_request.py +3 -3
- huaweicloudsdkelb/v3/model/listener.py +96 -96
- huaweicloudsdkelb/v3/model/listener_insert_headers.py +27 -27
- huaweicloudsdkelb/v3/model/listener_ip_group.py +9 -9
- huaweicloudsdkelb/v3/model/listener_quic_config.py +6 -6
- huaweicloudsdkelb/v3/model/load_balancer.py +129 -129
- huaweicloudsdkelb/v3/model/load_balancer_ref.py +3 -3
- huaweicloudsdkelb/v3/model/load_balancer_status_pool.py +3 -3
- huaweicloudsdkelb/v3/model/logtank.py +3 -3
- huaweicloudsdkelb/v3/model/master_slave_health_monitor.py +6 -6
- huaweicloudsdkelb/v3/model/member.py +45 -45
- huaweicloudsdkelb/v3/model/member_info.py +6 -6
- huaweicloudsdkelb/v3/model/member_status.py +6 -6
- huaweicloudsdkelb/v3/model/pool.py +6 -6
- huaweicloudsdkelb/v3/model/pool_ref.py +3 -3
- huaweicloudsdkelb/v3/model/prepaid_create_option.py +3 -3
- huaweicloudsdkelb/v3/model/public_ip_info.py +9 -9
- huaweicloudsdkelb/v3/model/quota.py +3 -3
- huaweicloudsdkelb/v3/model/redirect_pools_config.py +6 -6
- huaweicloudsdkelb/v3/model/redirect_pools_extend_config.py +3 -3
- huaweicloudsdkelb/v3/model/redirect_pools_sticky_session_config.py +6 -6
- huaweicloudsdkelb/v3/model/redirect_url_config.py +18 -18
- huaweicloudsdkelb/v3/model/remove_header_config.py +3 -3
- huaweicloudsdkelb/v3/model/remove_headers_config.py +3 -3
- huaweicloudsdkelb/v3/model/rewrite_url_config.py +9 -9
- huaweicloudsdkelb/v3/model/rule_condition.py +6 -6
- huaweicloudsdkelb/v3/model/rule_ref.py +3 -3
- huaweicloudsdkelb/v3/model/show_l7_policy_request.py +3 -3
- huaweicloudsdkelb/v3/model/show_l7_policy_response.py +3 -3
- huaweicloudsdkelb/v3/model/show_l7_rule_response.py +3 -3
- huaweicloudsdkelb/v3/model/show_listener_response.py +3 -3
- huaweicloudsdkelb/v3/model/show_load_balancer_response.py +3 -3
- huaweicloudsdkelb/v3/model/show_load_balancer_status_response.py +3 -3
- huaweicloudsdkelb/v3/model/show_master_slave_pool_request.py +3 -3
- huaweicloudsdkelb/v3/model/show_member_request.py +3 -3
- huaweicloudsdkelb/v3/model/show_pool_request.py +3 -3
- huaweicloudsdkelb/v3/model/tag.py +6 -6
- huaweicloudsdkelb/v3/model/traffic_limit_config.py +9 -9
- huaweicloudsdkelb/v3/model/upadate_ip_group_ip_option.py +3 -3
- huaweicloudsdkelb/v3/model/update_fixted_response_config.py +9 -9
- huaweicloudsdkelb/v3/model/update_health_monitor_option.py +12 -12
- huaweicloudsdkelb/v3/model/update_insert_header_config.py +9 -9
- huaweicloudsdkelb/v3/model/update_insert_headers_config.py +3 -3
- huaweicloudsdkelb/v3/model/update_l7_policy_option.py +24 -24
- huaweicloudsdkelb/v3/model/update_l7_policy_request.py +3 -3
- huaweicloudsdkelb/v3/model/update_l7_policy_response.py +3 -3
- huaweicloudsdkelb/v3/model/update_l7_rule_option.py +18 -18
- huaweicloudsdkelb/v3/model/update_l7_rule_response.py +3 -3
- huaweicloudsdkelb/v3/model/update_listener_ip_group_option.py +9 -9
- huaweicloudsdkelb/v3/model/update_listener_option.py +66 -66
- huaweicloudsdkelb/v3/model/update_listener_quic_config_option.py +6 -6
- huaweicloudsdkelb/v3/model/update_listener_response.py +3 -3
- huaweicloudsdkelb/v3/model/update_load_balancer_option.py +48 -48
- huaweicloudsdkelb/v3/model/update_load_balancer_response.py +9 -9
- huaweicloudsdkelb/v3/model/update_loadbalancer_autoscaling_option.py +6 -6
- huaweicloudsdkelb/v3/model/update_member_option.py +3 -3
- huaweicloudsdkelb/v3/model/update_member_request.py +3 -3
- huaweicloudsdkelb/v3/model/update_pool_option.py +9 -9
- huaweicloudsdkelb/v3/model/update_pool_request.py +3 -3
- huaweicloudsdkelb/v3/model/update_pool_session_persistence_option.py +3 -3
- huaweicloudsdkelb/v3/model/update_redirect_pools_config.py +6 -6
- huaweicloudsdkelb/v3/model/update_redirect_pools_extend_config.py +3 -3
- huaweicloudsdkelb/v3/model/update_redirect_pools_sticky_session_config.py +6 -6
- huaweicloudsdkelb/v3/model/update_redirect_url_config.py +18 -18
- huaweicloudsdkelb/v3/model/update_remove_header_config.py +3 -3
- huaweicloudsdkelb/v3/model/update_remove_headers_config.py +3 -3
- huaweicloudsdkelb/v3/model/update_rewrite_url_config.py +9 -9
- huaweicloudsdkelb/v3/model/update_rule_condition.py +6 -6
- huaweicloudsdkelb/v3/model/update_traffic_limit_config.py +9 -9
- huaweicloudsdkelb/v3/region/elb_region.py +3 -0
- {huaweicloudsdkelb-3.1.109.dist-info → huaweicloudsdkelb-3.1.111.dist-info}/METADATA +2 -2
- {huaweicloudsdkelb-3.1.109.dist-info → huaweicloudsdkelb-3.1.111.dist-info}/RECORD +151 -151
- {huaweicloudsdkelb-3.1.109.dist-info → huaweicloudsdkelb-3.1.111.dist-info}/LICENSE +0 -0
- {huaweicloudsdkelb-3.1.109.dist-info → huaweicloudsdkelb-3.1.111.dist-info}/WHEEL +0 -0
- {huaweicloudsdkelb-3.1.109.dist-info → huaweicloudsdkelb-3.1.111.dist-info}/top_level.txt +0 -0
@@ -117,95 +117,95 @@ class LoadBalancer:
|
|
117
117
|
|
118
118
|
The model defined in huaweicloud sdk
|
119
119
|
|
120
|
-
:param id:
|
120
|
+
:param id: 参数解释:负载均衡器ID。
|
121
121
|
:type id: str
|
122
|
-
:param description:
|
122
|
+
:param description: 参数解释:负载均衡器描述信息。
|
123
123
|
:type description: str
|
124
|
-
:param provisioning_status:
|
124
|
+
:param provisioning_status: 参数解释:负载均衡器的配置状态。 取值范围: - ACTIVE:使用中。 - PENDING_DELETE:删除中。
|
125
125
|
:type provisioning_status: str
|
126
|
-
:param admin_state_up:
|
126
|
+
:param admin_state_up: 参数解释:负载均衡器的启用状态。 取值范围: - true :启用。 - false:停用。 [不支持该字段,请勿使用。](tag:dt,dt_test)
|
127
127
|
:type admin_state_up: bool
|
128
|
-
:param provider:
|
128
|
+
:param provider: 参数解释:负载均衡器的生产者名称。固定为vlb。
|
129
129
|
:type provider: str
|
130
|
-
:param pools:
|
130
|
+
:param pools: 参数解释:负载均衡器直接关联的后端云服务器组的ID列表。
|
131
131
|
:type pools: list[:class:`huaweicloudsdkelb.v3.PoolRef`]
|
132
|
-
:param listeners:
|
132
|
+
:param listeners: 参数解释:负载均衡器关联的监听器的ID列表。
|
133
133
|
:type listeners: list[:class:`huaweicloudsdkelb.v3.ListenerRef`]
|
134
|
-
:param operating_status:
|
134
|
+
:param operating_status: 参数解释:负载均衡器的操作状态。 取值范围: - ONLINE:在线。 - FROZEN:已冻结。
|
135
135
|
:type operating_status: str
|
136
|
-
:param name:
|
136
|
+
:param name: 参数解释:负载均衡器的名称。
|
137
137
|
:type name: str
|
138
|
-
:param project_id:
|
138
|
+
:param project_id: 参数解释:负载均衡器所属的项目ID。
|
139
139
|
:type project_id: str
|
140
|
-
:param vip_subnet_cidr_id:
|
140
|
+
:param vip_subnet_cidr_id: 参数解释:负载均衡器所在子网的IPv4子网ID,也称为该负载均衡器实例的前端子网。
|
141
141
|
:type vip_subnet_cidr_id: str
|
142
|
-
:param vip_address:
|
142
|
+
:param vip_address: 参数解释:负载均衡器的IPv4虚拟IP地址。
|
143
143
|
:type vip_address: str
|
144
|
-
:param vip_port_id:
|
144
|
+
:param vip_port_id: 参数解释:负载均衡器的IPv4对应的port ID。 [创建弹性负载均衡时,会自动为负载均衡创建一个port并关联一个默认的安全组,这个安全组对所有流量不生效。 ](tag:dt,dt_test,hcso_dt)
|
145
145
|
:type vip_port_id: str
|
146
|
-
:param tags:
|
146
|
+
:param tags: 参数解释:负载均衡的标签列表。
|
147
147
|
:type tags: list[:class:`huaweicloudsdkelb.v3.Tag`]
|
148
|
-
:param created_at:
|
148
|
+
:param created_at: 参数解释:负载均衡器的创建时间。 取值范围: 格式:yyyy-MM-dd'T'HH:mm:ss'Z'
|
149
149
|
:type created_at: str
|
150
|
-
:param updated_at:
|
150
|
+
:param updated_at: 参数解释:负载均衡器的更新时间。 取值范围; 格式:yyyy-MM-dd'T'HH:mm:ss'Z'
|
151
151
|
:type updated_at: str
|
152
|
-
:param guaranteed:
|
152
|
+
:param guaranteed: 参数解释:是否独享型LB。 取值范围: - false:共享型。 - true:独享型。
|
153
153
|
:type guaranteed: bool
|
154
|
-
:param vpc_id:
|
154
|
+
:param vpc_id: 参数解释:负载均衡器所在VPC ID。
|
155
155
|
:type vpc_id: str
|
156
|
-
:param eips:
|
156
|
+
:param eips: 参数解释:负载均衡器绑定的EIP。 约束限制:只支持绑定一个EIP。 注:该字段与publicips一致。
|
157
157
|
:type eips: list[:class:`huaweicloudsdkelb.v3.EipInfo`]
|
158
|
-
:param ipv6_vip_address:
|
158
|
+
:param ipv6_vip_address: 参数解释:双栈类型负载均衡器的IPv6地址。 [不支持IPv6,请勿使用。](tag:dt,dt_test)
|
159
159
|
:type ipv6_vip_address: str
|
160
|
-
:param ipv6_vip_virsubnet_id:
|
160
|
+
:param ipv6_vip_virsubnet_id: 参数解释:双栈类型负载均衡器所在子网的IPv6网络ID,也称为该负载均衡器实例的前端子网。 [不支持IPv6,请勿使用。](tag:dt,dt_test)
|
161
161
|
:type ipv6_vip_virsubnet_id: str
|
162
|
-
:param ipv6_vip_port_id:
|
162
|
+
:param ipv6_vip_port_id: 参数解释:双栈类型负载均衡器的IPv6对应的port ID。 [不支持IPv6,请勿使用。](tag:dt,dt_test)
|
163
163
|
:type ipv6_vip_port_id: str
|
164
|
-
:param availability_zone_list:
|
164
|
+
:param availability_zone_list: 参数解释:负载均衡器所在的可用区列表。
|
165
165
|
:type availability_zone_list: list[str]
|
166
|
-
:param enterprise_project_id:
|
166
|
+
:param enterprise_project_id: 参数解释:企业项目ID。创建时不传则返回\"0\",表示资源属于default企业项目。 注意:\"0\"并不是真实存在的企业项目ID,在创建、更新和查询时不能作为请求参数传入。 [不支持该字段,请勿使用](tag:dt,dt_test,hcso_dt)
|
167
167
|
:type enterprise_project_id: str
|
168
|
-
:param billing_info:
|
168
|
+
:param billing_info: 参数解释:资源账单信息。 取值范围: - 空:按需计费。 [- 非空:包周期计费, 包周期计费billing_info字段的格式为:order_id:product_id:region_id:project_id,如: CS2107161019CDJZZ:OFFI569702121789763584: az:057ef081eb00d2732fd1c01a9be75e6f 不支持该字段,请勿使用](tag:hws_eu,g42,hk_g42,dt,dt_test,hcso_dt,hcso,hk_vdf,fcs,fcs_vm,mix,hcso_g42,hcso_g42_b)
|
169
169
|
:type billing_info: str
|
170
|
-
:param l4_flavor_id:
|
170
|
+
:param l4_flavor_id: 参数解释:网络型规格ID。 对于弹性扩缩容实例,表示上限规格。 约束限制: - 当传入的规格类型为L4,表示该实例为固定规格实例,按规格计费; - 当传入的规格类型为L4_elastic_max,表示该实例为弹性实例,按LCU计费 [hsco场景下所有LB实例共享带宽,该字段无效,请勿使用。](tag:hcso,hk_vdf,fcs,fcs_vm,mix,hcso_g42,hcso_g42_b)
|
171
171
|
:type l4_flavor_id: str
|
172
|
-
:param l4_scale_flavor_id:
|
172
|
+
:param l4_scale_flavor_id: 参数解释:四层弹性Flavor ID。 不支持该字段,请勿使用。
|
173
173
|
:type l4_scale_flavor_id: str
|
174
|
-
:param l7_flavor_id:
|
174
|
+
:param l7_flavor_id: 参数解释:应用型ID。 对于弹性扩缩容实例,表示上限规格ID。 约束限制: - 当传入的规格类型为L7,表示该实例为固定规格实例,按规格计费; - 当传入的规格类型为L7_elastic_max,表示该实例为弹性实例,按LCU计费 [hsco场景下所有LB实例共享带宽,该字段无效,请勿使用。](tag:hcso,hk_vdf,fcs,fcs_vm,mix,hcso_g42,hcso_g42_b)
|
175
175
|
:type l7_flavor_id: str
|
176
|
-
:param l7_scale_flavor_id:
|
176
|
+
:param l7_scale_flavor_id: 参数解释:七层弹性Flavor ID。 不支持该字段,请勿使用。
|
177
177
|
:type l7_scale_flavor_id: str
|
178
|
-
:param publicips:
|
178
|
+
:param publicips: 参数解释:负载均衡器绑定的公网IP。只支持绑定一个公网IP。 注:该字段与eips一致。
|
179
179
|
:type publicips: list[:class:`huaweicloudsdkelb.v3.PublicIpInfo`]
|
180
|
-
:param global_eips:
|
180
|
+
:param global_eips: 参数解释:负载均衡器绑定的global eip。 约束限制:只支持绑定一个globaleip。 [不支持该字段,请勿使用。](tag:hws_eu,g42,hk_g42,dt,dt_test,hcso_dt,hk_vdf,fcs,ctc,ocb,hws_ocb)
|
181
181
|
:type global_eips: list[:class:`huaweicloudsdkelb.v3.GlobalEipInfo`]
|
182
|
-
:param elb_virsubnet_ids:
|
182
|
+
:param elb_virsubnet_ids: 参数解释:下联面子网的网络ID列表。
|
183
183
|
:type elb_virsubnet_ids: list[str]
|
184
|
-
:param elb_virsubnet_type:
|
184
|
+
:param elb_virsubnet_type: 参数解释:下联面子网类型。 取值范围: - ipv4:ipv4 - dualstack:双栈
|
185
185
|
:type elb_virsubnet_type: str
|
186
|
-
:param ip_target_enable:
|
186
|
+
:param ip_target_enable: 参数解释:是否启用跨VPC后端转发。 开启跨VPC后端转发后,后端服务器组不仅支持添加云上VPC内的服务器,还支持添加其他VPC、其他公有云、云下数据中心的服务器。 约束限制: - 开启后不能关闭。 - 使用共享VPC的实例使用此特性时,需确保共享资源所有者已开通VPC对等连接,否则通信异常。 [- 仅独享型负载均衡器支持该特性。 ](tag:hws,hws_hk,ocb,ctc,hcs,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,fcs,dt) 取值范围: - true:开启。 - false:不开启。 [荷兰region不支持该字段,请勿使用。](tag:dt,dt_test)
|
187
187
|
:type ip_target_enable: bool
|
188
|
-
:param frozen_scene:
|
188
|
+
:param frozen_scene: 参数解释:负载均衡器的冻结场景。 [若负载均衡器有多个冻结场景,用逗号分隔。 取值范围: - POLICE:公安冻结场景。 - ILLEGAL:违规冻结场景。 - VERIFY:客户未实名认证冻结场景。 - PARTNER:合作伙伴冻结(合作伙伴冻结子客户资源)。 - AREAR:欠费冻结场景。](tag:hws,hws_hk) [不支持该字段,请勿使用。](tag:hws_eu,g42,hk_g42,dt,dt_test,hcso_dt,ocb,hws_ocb)
|
189
189
|
:type frozen_scene: str
|
190
190
|
:param ipv6_bandwidth:
|
191
191
|
:type ipv6_bandwidth: :class:`huaweicloudsdkelb.v3.BandwidthRef`
|
192
|
-
:param deletion_protection_enable:
|
192
|
+
:param deletion_protection_enable: 参数解释:是否开启删除保护。 约束限制: - 仅当前局点启用删除保护特性后才会返回该字段。 - 退场时需要先关闭所有资源的删除保护开关。 取值范围: - false:不开启。 - true:开启。 >退场时需要先关闭所有资源的删除保护开关。 [不支持该字段,请勿使用。](tag:hws_eu,g42,hk_g42) [荷兰region不支持该字段,请勿使用。](tag:dt,dt_test)
|
193
193
|
:type deletion_protection_enable: bool
|
194
194
|
:param autoscaling:
|
195
195
|
:type autoscaling: :class:`huaweicloudsdkelb.v3.AutoscalingRef`
|
196
|
-
:param public_border_group: LB所属AZ
|
196
|
+
:param public_border_group: 参数解释:LB所属AZ组。
|
197
197
|
:type public_border_group: str
|
198
|
-
:param charge_mode:
|
198
|
+
:param charge_mode: 参数解释:负载均衡器实例的计费模式。 取值范围: - flavor:按规格计费 - lcu:按使用量计费 - 空值:若是共享型表示免费实例。若是独享型则与flavor模式一致,都是按规格计费。
|
199
199
|
:type charge_mode: str
|
200
|
-
:param waf_failure_action: WAF故障时的流量处理策略。discard:丢弃,forward:
|
200
|
+
:param waf_failure_action: 参数解释:WAF故障时的流量处理策略。 约束限制:只有绑定了waf的LB实例,该字段才会生效。 取值范围:discard:丢弃,forward: 转发到后端。 默认取值:forward [不支持该字段,请勿使用。](tag:hws_hk,hws_eu,hws_test,hcs,hcs_sm,hcso,hk_vdf,fcs,fcs_vm,mix,hcso_g42,hcso_g42_b,hcso_dt,dt,dt_test,ocb,ctc,cmcc,tm,sbc,g42,hws_ocb,hk_sbc,hk_tm,hk_g42)
|
201
201
|
:type waf_failure_action: str
|
202
|
-
:param protection_status:
|
202
|
+
:param protection_status: 参数解释:修改保护状态。 取值范围: - nonProtection: 不保护。 - consoleProtection: 控制台修改保护。 默认取值:nonProtection
|
203
203
|
:type protection_status: str
|
204
|
-
:param protection_reason:
|
204
|
+
:param protection_reason: 参数解释:设置保护的原因 约束限制:仅当protection_status为consoleProtection时有效。
|
205
205
|
:type protection_reason: str
|
206
|
-
:param log_group_id: LB所绑定的logtank对应的group id
|
206
|
+
:param log_group_id: 参数解释:LB所绑定的logtank对应的group id
|
207
207
|
:type log_group_id: str
|
208
|
-
:param log_topic_id: LB所绑定的logtank对应的topic id
|
208
|
+
:param log_topic_id: 参数解释:LB所绑定的logtank对应的topic id
|
209
209
|
:type log_topic_id: str
|
210
210
|
"""
|
211
211
|
|
@@ -317,7 +317,7 @@ class LoadBalancer:
|
|
317
317
|
def id(self):
|
318
318
|
"""Gets the id of this LoadBalancer.
|
319
319
|
|
320
|
-
|
320
|
+
参数解释:负载均衡器ID。
|
321
321
|
|
322
322
|
:return: The id of this LoadBalancer.
|
323
323
|
:rtype: str
|
@@ -328,7 +328,7 @@ class LoadBalancer:
|
|
328
328
|
def id(self, id):
|
329
329
|
"""Sets the id of this LoadBalancer.
|
330
330
|
|
331
|
-
|
331
|
+
参数解释:负载均衡器ID。
|
332
332
|
|
333
333
|
:param id: The id of this LoadBalancer.
|
334
334
|
:type id: str
|
@@ -339,7 +339,7 @@ class LoadBalancer:
|
|
339
339
|
def description(self):
|
340
340
|
"""Gets the description of this LoadBalancer.
|
341
341
|
|
342
|
-
|
342
|
+
参数解释:负载均衡器描述信息。
|
343
343
|
|
344
344
|
:return: The description of this LoadBalancer.
|
345
345
|
:rtype: str
|
@@ -350,7 +350,7 @@ class LoadBalancer:
|
|
350
350
|
def description(self, description):
|
351
351
|
"""Sets the description of this LoadBalancer.
|
352
352
|
|
353
|
-
|
353
|
+
参数解释:负载均衡器描述信息。
|
354
354
|
|
355
355
|
:param description: The description of this LoadBalancer.
|
356
356
|
:type description: str
|
@@ -361,7 +361,7 @@ class LoadBalancer:
|
|
361
361
|
def provisioning_status(self):
|
362
362
|
"""Gets the provisioning_status of this LoadBalancer.
|
363
363
|
|
364
|
-
|
364
|
+
参数解释:负载均衡器的配置状态。 取值范围: - ACTIVE:使用中。 - PENDING_DELETE:删除中。
|
365
365
|
|
366
366
|
:return: The provisioning_status of this LoadBalancer.
|
367
367
|
:rtype: str
|
@@ -372,7 +372,7 @@ class LoadBalancer:
|
|
372
372
|
def provisioning_status(self, provisioning_status):
|
373
373
|
"""Sets the provisioning_status of this LoadBalancer.
|
374
374
|
|
375
|
-
|
375
|
+
参数解释:负载均衡器的配置状态。 取值范围: - ACTIVE:使用中。 - PENDING_DELETE:删除中。
|
376
376
|
|
377
377
|
:param provisioning_status: The provisioning_status of this LoadBalancer.
|
378
378
|
:type provisioning_status: str
|
@@ -383,7 +383,7 @@ class LoadBalancer:
|
|
383
383
|
def admin_state_up(self):
|
384
384
|
"""Gets the admin_state_up of this LoadBalancer.
|
385
385
|
|
386
|
-
|
386
|
+
参数解释:负载均衡器的启用状态。 取值范围: - true :启用。 - false:停用。 [不支持该字段,请勿使用。](tag:dt,dt_test)
|
387
387
|
|
388
388
|
:return: The admin_state_up of this LoadBalancer.
|
389
389
|
:rtype: bool
|
@@ -394,7 +394,7 @@ class LoadBalancer:
|
|
394
394
|
def admin_state_up(self, admin_state_up):
|
395
395
|
"""Sets the admin_state_up of this LoadBalancer.
|
396
396
|
|
397
|
-
|
397
|
+
参数解释:负载均衡器的启用状态。 取值范围: - true :启用。 - false:停用。 [不支持该字段,请勿使用。](tag:dt,dt_test)
|
398
398
|
|
399
399
|
:param admin_state_up: The admin_state_up of this LoadBalancer.
|
400
400
|
:type admin_state_up: bool
|
@@ -405,7 +405,7 @@ class LoadBalancer:
|
|
405
405
|
def provider(self):
|
406
406
|
"""Gets the provider of this LoadBalancer.
|
407
407
|
|
408
|
-
|
408
|
+
参数解释:负载均衡器的生产者名称。固定为vlb。
|
409
409
|
|
410
410
|
:return: The provider of this LoadBalancer.
|
411
411
|
:rtype: str
|
@@ -416,7 +416,7 @@ class LoadBalancer:
|
|
416
416
|
def provider(self, provider):
|
417
417
|
"""Sets the provider of this LoadBalancer.
|
418
418
|
|
419
|
-
|
419
|
+
参数解释:负载均衡器的生产者名称。固定为vlb。
|
420
420
|
|
421
421
|
:param provider: The provider of this LoadBalancer.
|
422
422
|
:type provider: str
|
@@ -427,7 +427,7 @@ class LoadBalancer:
|
|
427
427
|
def pools(self):
|
428
428
|
"""Gets the pools of this LoadBalancer.
|
429
429
|
|
430
|
-
|
430
|
+
参数解释:负载均衡器直接关联的后端云服务器组的ID列表。
|
431
431
|
|
432
432
|
:return: The pools of this LoadBalancer.
|
433
433
|
:rtype: list[:class:`huaweicloudsdkelb.v3.PoolRef`]
|
@@ -438,7 +438,7 @@ class LoadBalancer:
|
|
438
438
|
def pools(self, pools):
|
439
439
|
"""Sets the pools of this LoadBalancer.
|
440
440
|
|
441
|
-
|
441
|
+
参数解释:负载均衡器直接关联的后端云服务器组的ID列表。
|
442
442
|
|
443
443
|
:param pools: The pools of this LoadBalancer.
|
444
444
|
:type pools: list[:class:`huaweicloudsdkelb.v3.PoolRef`]
|
@@ -449,7 +449,7 @@ class LoadBalancer:
|
|
449
449
|
def listeners(self):
|
450
450
|
"""Gets the listeners of this LoadBalancer.
|
451
451
|
|
452
|
-
|
452
|
+
参数解释:负载均衡器关联的监听器的ID列表。
|
453
453
|
|
454
454
|
:return: The listeners of this LoadBalancer.
|
455
455
|
:rtype: list[:class:`huaweicloudsdkelb.v3.ListenerRef`]
|
@@ -460,7 +460,7 @@ class LoadBalancer:
|
|
460
460
|
def listeners(self, listeners):
|
461
461
|
"""Sets the listeners of this LoadBalancer.
|
462
462
|
|
463
|
-
|
463
|
+
参数解释:负载均衡器关联的监听器的ID列表。
|
464
464
|
|
465
465
|
:param listeners: The listeners of this LoadBalancer.
|
466
466
|
:type listeners: list[:class:`huaweicloudsdkelb.v3.ListenerRef`]
|
@@ -471,7 +471,7 @@ class LoadBalancer:
|
|
471
471
|
def operating_status(self):
|
472
472
|
"""Gets the operating_status of this LoadBalancer.
|
473
473
|
|
474
|
-
|
474
|
+
参数解释:负载均衡器的操作状态。 取值范围: - ONLINE:在线。 - FROZEN:已冻结。
|
475
475
|
|
476
476
|
:return: The operating_status of this LoadBalancer.
|
477
477
|
:rtype: str
|
@@ -482,7 +482,7 @@ class LoadBalancer:
|
|
482
482
|
def operating_status(self, operating_status):
|
483
483
|
"""Sets the operating_status of this LoadBalancer.
|
484
484
|
|
485
|
-
|
485
|
+
参数解释:负载均衡器的操作状态。 取值范围: - ONLINE:在线。 - FROZEN:已冻结。
|
486
486
|
|
487
487
|
:param operating_status: The operating_status of this LoadBalancer.
|
488
488
|
:type operating_status: str
|
@@ -493,7 +493,7 @@ class LoadBalancer:
|
|
493
493
|
def name(self):
|
494
494
|
"""Gets the name of this LoadBalancer.
|
495
495
|
|
496
|
-
|
496
|
+
参数解释:负载均衡器的名称。
|
497
497
|
|
498
498
|
:return: The name of this LoadBalancer.
|
499
499
|
:rtype: str
|
@@ -504,7 +504,7 @@ class LoadBalancer:
|
|
504
504
|
def name(self, name):
|
505
505
|
"""Sets the name of this LoadBalancer.
|
506
506
|
|
507
|
-
|
507
|
+
参数解释:负载均衡器的名称。
|
508
508
|
|
509
509
|
:param name: The name of this LoadBalancer.
|
510
510
|
:type name: str
|
@@ -515,7 +515,7 @@ class LoadBalancer:
|
|
515
515
|
def project_id(self):
|
516
516
|
"""Gets the project_id of this LoadBalancer.
|
517
517
|
|
518
|
-
|
518
|
+
参数解释:负载均衡器所属的项目ID。
|
519
519
|
|
520
520
|
:return: The project_id of this LoadBalancer.
|
521
521
|
:rtype: str
|
@@ -526,7 +526,7 @@ class LoadBalancer:
|
|
526
526
|
def project_id(self, project_id):
|
527
527
|
"""Sets the project_id of this LoadBalancer.
|
528
528
|
|
529
|
-
|
529
|
+
参数解释:负载均衡器所属的项目ID。
|
530
530
|
|
531
531
|
:param project_id: The project_id of this LoadBalancer.
|
532
532
|
:type project_id: str
|
@@ -537,7 +537,7 @@ class LoadBalancer:
|
|
537
537
|
def vip_subnet_cidr_id(self):
|
538
538
|
"""Gets the vip_subnet_cidr_id of this LoadBalancer.
|
539
539
|
|
540
|
-
|
540
|
+
参数解释:负载均衡器所在子网的IPv4子网ID,也称为该负载均衡器实例的前端子网。
|
541
541
|
|
542
542
|
:return: The vip_subnet_cidr_id of this LoadBalancer.
|
543
543
|
:rtype: str
|
@@ -548,7 +548,7 @@ class LoadBalancer:
|
|
548
548
|
def vip_subnet_cidr_id(self, vip_subnet_cidr_id):
|
549
549
|
"""Sets the vip_subnet_cidr_id of this LoadBalancer.
|
550
550
|
|
551
|
-
|
551
|
+
参数解释:负载均衡器所在子网的IPv4子网ID,也称为该负载均衡器实例的前端子网。
|
552
552
|
|
553
553
|
:param vip_subnet_cidr_id: The vip_subnet_cidr_id of this LoadBalancer.
|
554
554
|
:type vip_subnet_cidr_id: str
|
@@ -559,7 +559,7 @@ class LoadBalancer:
|
|
559
559
|
def vip_address(self):
|
560
560
|
"""Gets the vip_address of this LoadBalancer.
|
561
561
|
|
562
|
-
|
562
|
+
参数解释:负载均衡器的IPv4虚拟IP地址。
|
563
563
|
|
564
564
|
:return: The vip_address of this LoadBalancer.
|
565
565
|
:rtype: str
|
@@ -570,7 +570,7 @@ class LoadBalancer:
|
|
570
570
|
def vip_address(self, vip_address):
|
571
571
|
"""Sets the vip_address of this LoadBalancer.
|
572
572
|
|
573
|
-
|
573
|
+
参数解释:负载均衡器的IPv4虚拟IP地址。
|
574
574
|
|
575
575
|
:param vip_address: The vip_address of this LoadBalancer.
|
576
576
|
:type vip_address: str
|
@@ -581,7 +581,7 @@ class LoadBalancer:
|
|
581
581
|
def vip_port_id(self):
|
582
582
|
"""Gets the vip_port_id of this LoadBalancer.
|
583
583
|
|
584
|
-
|
584
|
+
参数解释:负载均衡器的IPv4对应的port ID。 [创建弹性负载均衡时,会自动为负载均衡创建一个port并关联一个默认的安全组,这个安全组对所有流量不生效。 ](tag:dt,dt_test,hcso_dt)
|
585
585
|
|
586
586
|
:return: The vip_port_id of this LoadBalancer.
|
587
587
|
:rtype: str
|
@@ -592,7 +592,7 @@ class LoadBalancer:
|
|
592
592
|
def vip_port_id(self, vip_port_id):
|
593
593
|
"""Sets the vip_port_id of this LoadBalancer.
|
594
594
|
|
595
|
-
|
595
|
+
参数解释:负载均衡器的IPv4对应的port ID。 [创建弹性负载均衡时,会自动为负载均衡创建一个port并关联一个默认的安全组,这个安全组对所有流量不生效。 ](tag:dt,dt_test,hcso_dt)
|
596
596
|
|
597
597
|
:param vip_port_id: The vip_port_id of this LoadBalancer.
|
598
598
|
:type vip_port_id: str
|
@@ -603,7 +603,7 @@ class LoadBalancer:
|
|
603
603
|
def tags(self):
|
604
604
|
"""Gets the tags of this LoadBalancer.
|
605
605
|
|
606
|
-
|
606
|
+
参数解释:负载均衡的标签列表。
|
607
607
|
|
608
608
|
:return: The tags of this LoadBalancer.
|
609
609
|
:rtype: list[:class:`huaweicloudsdkelb.v3.Tag`]
|
@@ -614,7 +614,7 @@ class LoadBalancer:
|
|
614
614
|
def tags(self, tags):
|
615
615
|
"""Sets the tags of this LoadBalancer.
|
616
616
|
|
617
|
-
|
617
|
+
参数解释:负载均衡的标签列表。
|
618
618
|
|
619
619
|
:param tags: The tags of this LoadBalancer.
|
620
620
|
:type tags: list[:class:`huaweicloudsdkelb.v3.Tag`]
|
@@ -625,7 +625,7 @@ class LoadBalancer:
|
|
625
625
|
def created_at(self):
|
626
626
|
"""Gets the created_at of this LoadBalancer.
|
627
627
|
|
628
|
-
|
628
|
+
参数解释:负载均衡器的创建时间。 取值范围: 格式:yyyy-MM-dd'T'HH:mm:ss'Z'
|
629
629
|
|
630
630
|
:return: The created_at of this LoadBalancer.
|
631
631
|
:rtype: str
|
@@ -636,7 +636,7 @@ class LoadBalancer:
|
|
636
636
|
def created_at(self, created_at):
|
637
637
|
"""Sets the created_at of this LoadBalancer.
|
638
638
|
|
639
|
-
|
639
|
+
参数解释:负载均衡器的创建时间。 取值范围: 格式:yyyy-MM-dd'T'HH:mm:ss'Z'
|
640
640
|
|
641
641
|
:param created_at: The created_at of this LoadBalancer.
|
642
642
|
:type created_at: str
|
@@ -647,7 +647,7 @@ class LoadBalancer:
|
|
647
647
|
def updated_at(self):
|
648
648
|
"""Gets the updated_at of this LoadBalancer.
|
649
649
|
|
650
|
-
|
650
|
+
参数解释:负载均衡器的更新时间。 取值范围; 格式:yyyy-MM-dd'T'HH:mm:ss'Z'
|
651
651
|
|
652
652
|
:return: The updated_at of this LoadBalancer.
|
653
653
|
:rtype: str
|
@@ -658,7 +658,7 @@ class LoadBalancer:
|
|
658
658
|
def updated_at(self, updated_at):
|
659
659
|
"""Sets the updated_at of this LoadBalancer.
|
660
660
|
|
661
|
-
|
661
|
+
参数解释:负载均衡器的更新时间。 取值范围; 格式:yyyy-MM-dd'T'HH:mm:ss'Z'
|
662
662
|
|
663
663
|
:param updated_at: The updated_at of this LoadBalancer.
|
664
664
|
:type updated_at: str
|
@@ -669,7 +669,7 @@ class LoadBalancer:
|
|
669
669
|
def guaranteed(self):
|
670
670
|
"""Gets the guaranteed of this LoadBalancer.
|
671
671
|
|
672
|
-
|
672
|
+
参数解释:是否独享型LB。 取值范围: - false:共享型。 - true:独享型。
|
673
673
|
|
674
674
|
:return: The guaranteed of this LoadBalancer.
|
675
675
|
:rtype: bool
|
@@ -680,7 +680,7 @@ class LoadBalancer:
|
|
680
680
|
def guaranteed(self, guaranteed):
|
681
681
|
"""Sets the guaranteed of this LoadBalancer.
|
682
682
|
|
683
|
-
|
683
|
+
参数解释:是否独享型LB。 取值范围: - false:共享型。 - true:独享型。
|
684
684
|
|
685
685
|
:param guaranteed: The guaranteed of this LoadBalancer.
|
686
686
|
:type guaranteed: bool
|
@@ -691,7 +691,7 @@ class LoadBalancer:
|
|
691
691
|
def vpc_id(self):
|
692
692
|
"""Gets the vpc_id of this LoadBalancer.
|
693
693
|
|
694
|
-
|
694
|
+
参数解释:负载均衡器所在VPC ID。
|
695
695
|
|
696
696
|
:return: The vpc_id of this LoadBalancer.
|
697
697
|
:rtype: str
|
@@ -702,7 +702,7 @@ class LoadBalancer:
|
|
702
702
|
def vpc_id(self, vpc_id):
|
703
703
|
"""Sets the vpc_id of this LoadBalancer.
|
704
704
|
|
705
|
-
|
705
|
+
参数解释:负载均衡器所在VPC ID。
|
706
706
|
|
707
707
|
:param vpc_id: The vpc_id of this LoadBalancer.
|
708
708
|
:type vpc_id: str
|
@@ -713,7 +713,7 @@ class LoadBalancer:
|
|
713
713
|
def eips(self):
|
714
714
|
"""Gets the eips of this LoadBalancer.
|
715
715
|
|
716
|
-
|
716
|
+
参数解释:负载均衡器绑定的EIP。 约束限制:只支持绑定一个EIP。 注:该字段与publicips一致。
|
717
717
|
|
718
718
|
:return: The eips of this LoadBalancer.
|
719
719
|
:rtype: list[:class:`huaweicloudsdkelb.v3.EipInfo`]
|
@@ -724,7 +724,7 @@ class LoadBalancer:
|
|
724
724
|
def eips(self, eips):
|
725
725
|
"""Sets the eips of this LoadBalancer.
|
726
726
|
|
727
|
-
|
727
|
+
参数解释:负载均衡器绑定的EIP。 约束限制:只支持绑定一个EIP。 注:该字段与publicips一致。
|
728
728
|
|
729
729
|
:param eips: The eips of this LoadBalancer.
|
730
730
|
:type eips: list[:class:`huaweicloudsdkelb.v3.EipInfo`]
|
@@ -735,7 +735,7 @@ class LoadBalancer:
|
|
735
735
|
def ipv6_vip_address(self):
|
736
736
|
"""Gets the ipv6_vip_address of this LoadBalancer.
|
737
737
|
|
738
|
-
|
738
|
+
参数解释:双栈类型负载均衡器的IPv6地址。 [不支持IPv6,请勿使用。](tag:dt,dt_test)
|
739
739
|
|
740
740
|
:return: The ipv6_vip_address of this LoadBalancer.
|
741
741
|
:rtype: str
|
@@ -746,7 +746,7 @@ class LoadBalancer:
|
|
746
746
|
def ipv6_vip_address(self, ipv6_vip_address):
|
747
747
|
"""Sets the ipv6_vip_address of this LoadBalancer.
|
748
748
|
|
749
|
-
|
749
|
+
参数解释:双栈类型负载均衡器的IPv6地址。 [不支持IPv6,请勿使用。](tag:dt,dt_test)
|
750
750
|
|
751
751
|
:param ipv6_vip_address: The ipv6_vip_address of this LoadBalancer.
|
752
752
|
:type ipv6_vip_address: str
|
@@ -757,7 +757,7 @@ class LoadBalancer:
|
|
757
757
|
def ipv6_vip_virsubnet_id(self):
|
758
758
|
"""Gets the ipv6_vip_virsubnet_id of this LoadBalancer.
|
759
759
|
|
760
|
-
|
760
|
+
参数解释:双栈类型负载均衡器所在子网的IPv6网络ID,也称为该负载均衡器实例的前端子网。 [不支持IPv6,请勿使用。](tag:dt,dt_test)
|
761
761
|
|
762
762
|
:return: The ipv6_vip_virsubnet_id of this LoadBalancer.
|
763
763
|
:rtype: str
|
@@ -768,7 +768,7 @@ class LoadBalancer:
|
|
768
768
|
def ipv6_vip_virsubnet_id(self, ipv6_vip_virsubnet_id):
|
769
769
|
"""Sets the ipv6_vip_virsubnet_id of this LoadBalancer.
|
770
770
|
|
771
|
-
|
771
|
+
参数解释:双栈类型负载均衡器所在子网的IPv6网络ID,也称为该负载均衡器实例的前端子网。 [不支持IPv6,请勿使用。](tag:dt,dt_test)
|
772
772
|
|
773
773
|
:param ipv6_vip_virsubnet_id: The ipv6_vip_virsubnet_id of this LoadBalancer.
|
774
774
|
:type ipv6_vip_virsubnet_id: str
|
@@ -779,7 +779,7 @@ class LoadBalancer:
|
|
779
779
|
def ipv6_vip_port_id(self):
|
780
780
|
"""Gets the ipv6_vip_port_id of this LoadBalancer.
|
781
781
|
|
782
|
-
|
782
|
+
参数解释:双栈类型负载均衡器的IPv6对应的port ID。 [不支持IPv6,请勿使用。](tag:dt,dt_test)
|
783
783
|
|
784
784
|
:return: The ipv6_vip_port_id of this LoadBalancer.
|
785
785
|
:rtype: str
|
@@ -790,7 +790,7 @@ class LoadBalancer:
|
|
790
790
|
def ipv6_vip_port_id(self, ipv6_vip_port_id):
|
791
791
|
"""Sets the ipv6_vip_port_id of this LoadBalancer.
|
792
792
|
|
793
|
-
|
793
|
+
参数解释:双栈类型负载均衡器的IPv6对应的port ID。 [不支持IPv6,请勿使用。](tag:dt,dt_test)
|
794
794
|
|
795
795
|
:param ipv6_vip_port_id: The ipv6_vip_port_id of this LoadBalancer.
|
796
796
|
:type ipv6_vip_port_id: str
|
@@ -801,7 +801,7 @@ class LoadBalancer:
|
|
801
801
|
def availability_zone_list(self):
|
802
802
|
"""Gets the availability_zone_list of this LoadBalancer.
|
803
803
|
|
804
|
-
|
804
|
+
参数解释:负载均衡器所在的可用区列表。
|
805
805
|
|
806
806
|
:return: The availability_zone_list of this LoadBalancer.
|
807
807
|
:rtype: list[str]
|
@@ -812,7 +812,7 @@ class LoadBalancer:
|
|
812
812
|
def availability_zone_list(self, availability_zone_list):
|
813
813
|
"""Sets the availability_zone_list of this LoadBalancer.
|
814
814
|
|
815
|
-
|
815
|
+
参数解释:负载均衡器所在的可用区列表。
|
816
816
|
|
817
817
|
:param availability_zone_list: The availability_zone_list of this LoadBalancer.
|
818
818
|
:type availability_zone_list: list[str]
|
@@ -823,7 +823,7 @@ class LoadBalancer:
|
|
823
823
|
def enterprise_project_id(self):
|
824
824
|
"""Gets the enterprise_project_id of this LoadBalancer.
|
825
825
|
|
826
|
-
|
826
|
+
参数解释:企业项目ID。创建时不传则返回\"0\",表示资源属于default企业项目。 注意:\"0\"并不是真实存在的企业项目ID,在创建、更新和查询时不能作为请求参数传入。 [不支持该字段,请勿使用](tag:dt,dt_test,hcso_dt)
|
827
827
|
|
828
828
|
:return: The enterprise_project_id of this LoadBalancer.
|
829
829
|
:rtype: str
|
@@ -834,7 +834,7 @@ class LoadBalancer:
|
|
834
834
|
def enterprise_project_id(self, enterprise_project_id):
|
835
835
|
"""Sets the enterprise_project_id of this LoadBalancer.
|
836
836
|
|
837
|
-
|
837
|
+
参数解释:企业项目ID。创建时不传则返回\"0\",表示资源属于default企业项目。 注意:\"0\"并不是真实存在的企业项目ID,在创建、更新和查询时不能作为请求参数传入。 [不支持该字段,请勿使用](tag:dt,dt_test,hcso_dt)
|
838
838
|
|
839
839
|
:param enterprise_project_id: The enterprise_project_id of this LoadBalancer.
|
840
840
|
:type enterprise_project_id: str
|
@@ -845,7 +845,7 @@ class LoadBalancer:
|
|
845
845
|
def billing_info(self):
|
846
846
|
"""Gets the billing_info of this LoadBalancer.
|
847
847
|
|
848
|
-
|
848
|
+
参数解释:资源账单信息。 取值范围: - 空:按需计费。 [- 非空:包周期计费, 包周期计费billing_info字段的格式为:order_id:product_id:region_id:project_id,如: CS2107161019CDJZZ:OFFI569702121789763584: az:057ef081eb00d2732fd1c01a9be75e6f 不支持该字段,请勿使用](tag:hws_eu,g42,hk_g42,dt,dt_test,hcso_dt,hcso,hk_vdf,fcs,fcs_vm,mix,hcso_g42,hcso_g42_b)
|
849
849
|
|
850
850
|
:return: The billing_info of this LoadBalancer.
|
851
851
|
:rtype: str
|
@@ -856,7 +856,7 @@ class LoadBalancer:
|
|
856
856
|
def billing_info(self, billing_info):
|
857
857
|
"""Sets the billing_info of this LoadBalancer.
|
858
858
|
|
859
|
-
|
859
|
+
参数解释:资源账单信息。 取值范围: - 空:按需计费。 [- 非空:包周期计费, 包周期计费billing_info字段的格式为:order_id:product_id:region_id:project_id,如: CS2107161019CDJZZ:OFFI569702121789763584: az:057ef081eb00d2732fd1c01a9be75e6f 不支持该字段,请勿使用](tag:hws_eu,g42,hk_g42,dt,dt_test,hcso_dt,hcso,hk_vdf,fcs,fcs_vm,mix,hcso_g42,hcso_g42_b)
|
860
860
|
|
861
861
|
:param billing_info: The billing_info of this LoadBalancer.
|
862
862
|
:type billing_info: str
|
@@ -867,7 +867,7 @@ class LoadBalancer:
|
|
867
867
|
def l4_flavor_id(self):
|
868
868
|
"""Gets the l4_flavor_id of this LoadBalancer.
|
869
869
|
|
870
|
-
|
870
|
+
参数解释:网络型规格ID。 对于弹性扩缩容实例,表示上限规格。 约束限制: - 当传入的规格类型为L4,表示该实例为固定规格实例,按规格计费; - 当传入的规格类型为L4_elastic_max,表示该实例为弹性实例,按LCU计费 [hsco场景下所有LB实例共享带宽,该字段无效,请勿使用。](tag:hcso,hk_vdf,fcs,fcs_vm,mix,hcso_g42,hcso_g42_b)
|
871
871
|
|
872
872
|
:return: The l4_flavor_id of this LoadBalancer.
|
873
873
|
:rtype: str
|
@@ -878,7 +878,7 @@ class LoadBalancer:
|
|
878
878
|
def l4_flavor_id(self, l4_flavor_id):
|
879
879
|
"""Sets the l4_flavor_id of this LoadBalancer.
|
880
880
|
|
881
|
-
|
881
|
+
参数解释:网络型规格ID。 对于弹性扩缩容实例,表示上限规格。 约束限制: - 当传入的规格类型为L4,表示该实例为固定规格实例,按规格计费; - 当传入的规格类型为L4_elastic_max,表示该实例为弹性实例,按LCU计费 [hsco场景下所有LB实例共享带宽,该字段无效,请勿使用。](tag:hcso,hk_vdf,fcs,fcs_vm,mix,hcso_g42,hcso_g42_b)
|
882
882
|
|
883
883
|
:param l4_flavor_id: The l4_flavor_id of this LoadBalancer.
|
884
884
|
:type l4_flavor_id: str
|
@@ -889,7 +889,7 @@ class LoadBalancer:
|
|
889
889
|
def l4_scale_flavor_id(self):
|
890
890
|
"""Gets the l4_scale_flavor_id of this LoadBalancer.
|
891
891
|
|
892
|
-
|
892
|
+
参数解释:四层弹性Flavor ID。 不支持该字段,请勿使用。
|
893
893
|
|
894
894
|
:return: The l4_scale_flavor_id of this LoadBalancer.
|
895
895
|
:rtype: str
|
@@ -900,7 +900,7 @@ class LoadBalancer:
|
|
900
900
|
def l4_scale_flavor_id(self, l4_scale_flavor_id):
|
901
901
|
"""Sets the l4_scale_flavor_id of this LoadBalancer.
|
902
902
|
|
903
|
-
|
903
|
+
参数解释:四层弹性Flavor ID。 不支持该字段,请勿使用。
|
904
904
|
|
905
905
|
:param l4_scale_flavor_id: The l4_scale_flavor_id of this LoadBalancer.
|
906
906
|
:type l4_scale_flavor_id: str
|
@@ -911,7 +911,7 @@ class LoadBalancer:
|
|
911
911
|
def l7_flavor_id(self):
|
912
912
|
"""Gets the l7_flavor_id of this LoadBalancer.
|
913
913
|
|
914
|
-
|
914
|
+
参数解释:应用型ID。 对于弹性扩缩容实例,表示上限规格ID。 约束限制: - 当传入的规格类型为L7,表示该实例为固定规格实例,按规格计费; - 当传入的规格类型为L7_elastic_max,表示该实例为弹性实例,按LCU计费 [hsco场景下所有LB实例共享带宽,该字段无效,请勿使用。](tag:hcso,hk_vdf,fcs,fcs_vm,mix,hcso_g42,hcso_g42_b)
|
915
915
|
|
916
916
|
:return: The l7_flavor_id of this LoadBalancer.
|
917
917
|
:rtype: str
|
@@ -922,7 +922,7 @@ class LoadBalancer:
|
|
922
922
|
def l7_flavor_id(self, l7_flavor_id):
|
923
923
|
"""Sets the l7_flavor_id of this LoadBalancer.
|
924
924
|
|
925
|
-
|
925
|
+
参数解释:应用型ID。 对于弹性扩缩容实例,表示上限规格ID。 约束限制: - 当传入的规格类型为L7,表示该实例为固定规格实例,按规格计费; - 当传入的规格类型为L7_elastic_max,表示该实例为弹性实例,按LCU计费 [hsco场景下所有LB实例共享带宽,该字段无效,请勿使用。](tag:hcso,hk_vdf,fcs,fcs_vm,mix,hcso_g42,hcso_g42_b)
|
926
926
|
|
927
927
|
:param l7_flavor_id: The l7_flavor_id of this LoadBalancer.
|
928
928
|
:type l7_flavor_id: str
|
@@ -933,7 +933,7 @@ class LoadBalancer:
|
|
933
933
|
def l7_scale_flavor_id(self):
|
934
934
|
"""Gets the l7_scale_flavor_id of this LoadBalancer.
|
935
935
|
|
936
|
-
|
936
|
+
参数解释:七层弹性Flavor ID。 不支持该字段,请勿使用。
|
937
937
|
|
938
938
|
:return: The l7_scale_flavor_id of this LoadBalancer.
|
939
939
|
:rtype: str
|
@@ -944,7 +944,7 @@ class LoadBalancer:
|
|
944
944
|
def l7_scale_flavor_id(self, l7_scale_flavor_id):
|
945
945
|
"""Sets the l7_scale_flavor_id of this LoadBalancer.
|
946
946
|
|
947
|
-
|
947
|
+
参数解释:七层弹性Flavor ID。 不支持该字段,请勿使用。
|
948
948
|
|
949
949
|
:param l7_scale_flavor_id: The l7_scale_flavor_id of this LoadBalancer.
|
950
950
|
:type l7_scale_flavor_id: str
|
@@ -955,7 +955,7 @@ class LoadBalancer:
|
|
955
955
|
def publicips(self):
|
956
956
|
"""Gets the publicips of this LoadBalancer.
|
957
957
|
|
958
|
-
|
958
|
+
参数解释:负载均衡器绑定的公网IP。只支持绑定一个公网IP。 注:该字段与eips一致。
|
959
959
|
|
960
960
|
:return: The publicips of this LoadBalancer.
|
961
961
|
:rtype: list[:class:`huaweicloudsdkelb.v3.PublicIpInfo`]
|
@@ -966,7 +966,7 @@ class LoadBalancer:
|
|
966
966
|
def publicips(self, publicips):
|
967
967
|
"""Sets the publicips of this LoadBalancer.
|
968
968
|
|
969
|
-
|
969
|
+
参数解释:负载均衡器绑定的公网IP。只支持绑定一个公网IP。 注:该字段与eips一致。
|
970
970
|
|
971
971
|
:param publicips: The publicips of this LoadBalancer.
|
972
972
|
:type publicips: list[:class:`huaweicloudsdkelb.v3.PublicIpInfo`]
|
@@ -977,7 +977,7 @@ class LoadBalancer:
|
|
977
977
|
def global_eips(self):
|
978
978
|
"""Gets the global_eips of this LoadBalancer.
|
979
979
|
|
980
|
-
|
980
|
+
参数解释:负载均衡器绑定的global eip。 约束限制:只支持绑定一个globaleip。 [不支持该字段,请勿使用。](tag:hws_eu,g42,hk_g42,dt,dt_test,hcso_dt,hk_vdf,fcs,ctc,ocb,hws_ocb)
|
981
981
|
|
982
982
|
:return: The global_eips of this LoadBalancer.
|
983
983
|
:rtype: list[:class:`huaweicloudsdkelb.v3.GlobalEipInfo`]
|
@@ -988,7 +988,7 @@ class LoadBalancer:
|
|
988
988
|
def global_eips(self, global_eips):
|
989
989
|
"""Sets the global_eips of this LoadBalancer.
|
990
990
|
|
991
|
-
|
991
|
+
参数解释:负载均衡器绑定的global eip。 约束限制:只支持绑定一个globaleip。 [不支持该字段,请勿使用。](tag:hws_eu,g42,hk_g42,dt,dt_test,hcso_dt,hk_vdf,fcs,ctc,ocb,hws_ocb)
|
992
992
|
|
993
993
|
:param global_eips: The global_eips of this LoadBalancer.
|
994
994
|
:type global_eips: list[:class:`huaweicloudsdkelb.v3.GlobalEipInfo`]
|
@@ -999,7 +999,7 @@ class LoadBalancer:
|
|
999
999
|
def elb_virsubnet_ids(self):
|
1000
1000
|
"""Gets the elb_virsubnet_ids of this LoadBalancer.
|
1001
1001
|
|
1002
|
-
|
1002
|
+
参数解释:下联面子网的网络ID列表。
|
1003
1003
|
|
1004
1004
|
:return: The elb_virsubnet_ids of this LoadBalancer.
|
1005
1005
|
:rtype: list[str]
|
@@ -1010,7 +1010,7 @@ class LoadBalancer:
|
|
1010
1010
|
def elb_virsubnet_ids(self, elb_virsubnet_ids):
|
1011
1011
|
"""Sets the elb_virsubnet_ids of this LoadBalancer.
|
1012
1012
|
|
1013
|
-
|
1013
|
+
参数解释:下联面子网的网络ID列表。
|
1014
1014
|
|
1015
1015
|
:param elb_virsubnet_ids: The elb_virsubnet_ids of this LoadBalancer.
|
1016
1016
|
:type elb_virsubnet_ids: list[str]
|
@@ -1021,7 +1021,7 @@ class LoadBalancer:
|
|
1021
1021
|
def elb_virsubnet_type(self):
|
1022
1022
|
"""Gets the elb_virsubnet_type of this LoadBalancer.
|
1023
1023
|
|
1024
|
-
|
1024
|
+
参数解释:下联面子网类型。 取值范围: - ipv4:ipv4 - dualstack:双栈
|
1025
1025
|
|
1026
1026
|
:return: The elb_virsubnet_type of this LoadBalancer.
|
1027
1027
|
:rtype: str
|
@@ -1032,7 +1032,7 @@ class LoadBalancer:
|
|
1032
1032
|
def elb_virsubnet_type(self, elb_virsubnet_type):
|
1033
1033
|
"""Sets the elb_virsubnet_type of this LoadBalancer.
|
1034
1034
|
|
1035
|
-
|
1035
|
+
参数解释:下联面子网类型。 取值范围: - ipv4:ipv4 - dualstack:双栈
|
1036
1036
|
|
1037
1037
|
:param elb_virsubnet_type: The elb_virsubnet_type of this LoadBalancer.
|
1038
1038
|
:type elb_virsubnet_type: str
|
@@ -1043,7 +1043,7 @@ class LoadBalancer:
|
|
1043
1043
|
def ip_target_enable(self):
|
1044
1044
|
"""Gets the ip_target_enable of this LoadBalancer.
|
1045
1045
|
|
1046
|
-
|
1046
|
+
参数解释:是否启用跨VPC后端转发。 开启跨VPC后端转发后,后端服务器组不仅支持添加云上VPC内的服务器,还支持添加其他VPC、其他公有云、云下数据中心的服务器。 约束限制: - 开启后不能关闭。 - 使用共享VPC的实例使用此特性时,需确保共享资源所有者已开通VPC对等连接,否则通信异常。 [- 仅独享型负载均衡器支持该特性。 ](tag:hws,hws_hk,ocb,ctc,hcs,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,fcs,dt) 取值范围: - true:开启。 - false:不开启。 [荷兰region不支持该字段,请勿使用。](tag:dt,dt_test)
|
1047
1047
|
|
1048
1048
|
:return: The ip_target_enable of this LoadBalancer.
|
1049
1049
|
:rtype: bool
|
@@ -1054,7 +1054,7 @@ class LoadBalancer:
|
|
1054
1054
|
def ip_target_enable(self, ip_target_enable):
|
1055
1055
|
"""Sets the ip_target_enable of this LoadBalancer.
|
1056
1056
|
|
1057
|
-
|
1057
|
+
参数解释:是否启用跨VPC后端转发。 开启跨VPC后端转发后,后端服务器组不仅支持添加云上VPC内的服务器,还支持添加其他VPC、其他公有云、云下数据中心的服务器。 约束限制: - 开启后不能关闭。 - 使用共享VPC的实例使用此特性时,需确保共享资源所有者已开通VPC对等连接,否则通信异常。 [- 仅独享型负载均衡器支持该特性。 ](tag:hws,hws_hk,ocb,ctc,hcs,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,fcs,dt) 取值范围: - true:开启。 - false:不开启。 [荷兰region不支持该字段,请勿使用。](tag:dt,dt_test)
|
1058
1058
|
|
1059
1059
|
:param ip_target_enable: The ip_target_enable of this LoadBalancer.
|
1060
1060
|
:type ip_target_enable: bool
|
@@ -1065,7 +1065,7 @@ class LoadBalancer:
|
|
1065
1065
|
def frozen_scene(self):
|
1066
1066
|
"""Gets the frozen_scene of this LoadBalancer.
|
1067
1067
|
|
1068
|
-
|
1068
|
+
参数解释:负载均衡器的冻结场景。 [若负载均衡器有多个冻结场景,用逗号分隔。 取值范围: - POLICE:公安冻结场景。 - ILLEGAL:违规冻结场景。 - VERIFY:客户未实名认证冻结场景。 - PARTNER:合作伙伴冻结(合作伙伴冻结子客户资源)。 - AREAR:欠费冻结场景。](tag:hws,hws_hk) [不支持该字段,请勿使用。](tag:hws_eu,g42,hk_g42,dt,dt_test,hcso_dt,ocb,hws_ocb)
|
1069
1069
|
|
1070
1070
|
:return: The frozen_scene of this LoadBalancer.
|
1071
1071
|
:rtype: str
|
@@ -1076,7 +1076,7 @@ class LoadBalancer:
|
|
1076
1076
|
def frozen_scene(self, frozen_scene):
|
1077
1077
|
"""Sets the frozen_scene of this LoadBalancer.
|
1078
1078
|
|
1079
|
-
|
1079
|
+
参数解释:负载均衡器的冻结场景。 [若负载均衡器有多个冻结场景,用逗号分隔。 取值范围: - POLICE:公安冻结场景。 - ILLEGAL:违规冻结场景。 - VERIFY:客户未实名认证冻结场景。 - PARTNER:合作伙伴冻结(合作伙伴冻结子客户资源)。 - AREAR:欠费冻结场景。](tag:hws,hws_hk) [不支持该字段,请勿使用。](tag:hws_eu,g42,hk_g42,dt,dt_test,hcso_dt,ocb,hws_ocb)
|
1080
1080
|
|
1081
1081
|
:param frozen_scene: The frozen_scene of this LoadBalancer.
|
1082
1082
|
:type frozen_scene: str
|
@@ -1105,7 +1105,7 @@ class LoadBalancer:
|
|
1105
1105
|
def deletion_protection_enable(self):
|
1106
1106
|
"""Gets the deletion_protection_enable of this LoadBalancer.
|
1107
1107
|
|
1108
|
-
|
1108
|
+
参数解释:是否开启删除保护。 约束限制: - 仅当前局点启用删除保护特性后才会返回该字段。 - 退场时需要先关闭所有资源的删除保护开关。 取值范围: - false:不开启。 - true:开启。 >退场时需要先关闭所有资源的删除保护开关。 [不支持该字段,请勿使用。](tag:hws_eu,g42,hk_g42) [荷兰region不支持该字段,请勿使用。](tag:dt,dt_test)
|
1109
1109
|
|
1110
1110
|
:return: The deletion_protection_enable of this LoadBalancer.
|
1111
1111
|
:rtype: bool
|
@@ -1116,7 +1116,7 @@ class LoadBalancer:
|
|
1116
1116
|
def deletion_protection_enable(self, deletion_protection_enable):
|
1117
1117
|
"""Sets the deletion_protection_enable of this LoadBalancer.
|
1118
1118
|
|
1119
|
-
|
1119
|
+
参数解释:是否开启删除保护。 约束限制: - 仅当前局点启用删除保护特性后才会返回该字段。 - 退场时需要先关闭所有资源的删除保护开关。 取值范围: - false:不开启。 - true:开启。 >退场时需要先关闭所有资源的删除保护开关。 [不支持该字段,请勿使用。](tag:hws_eu,g42,hk_g42) [荷兰region不支持该字段,请勿使用。](tag:dt,dt_test)
|
1120
1120
|
|
1121
1121
|
:param deletion_protection_enable: The deletion_protection_enable of this LoadBalancer.
|
1122
1122
|
:type deletion_protection_enable: bool
|
@@ -1145,7 +1145,7 @@ class LoadBalancer:
|
|
1145
1145
|
def public_border_group(self):
|
1146
1146
|
"""Gets the public_border_group of this LoadBalancer.
|
1147
1147
|
|
1148
|
-
LB所属AZ
|
1148
|
+
参数解释:LB所属AZ组。
|
1149
1149
|
|
1150
1150
|
:return: The public_border_group of this LoadBalancer.
|
1151
1151
|
:rtype: str
|
@@ -1156,7 +1156,7 @@ class LoadBalancer:
|
|
1156
1156
|
def public_border_group(self, public_border_group):
|
1157
1157
|
"""Sets the public_border_group of this LoadBalancer.
|
1158
1158
|
|
1159
|
-
LB所属AZ
|
1159
|
+
参数解释:LB所属AZ组。
|
1160
1160
|
|
1161
1161
|
:param public_border_group: The public_border_group of this LoadBalancer.
|
1162
1162
|
:type public_border_group: str
|
@@ -1167,7 +1167,7 @@ class LoadBalancer:
|
|
1167
1167
|
def charge_mode(self):
|
1168
1168
|
"""Gets the charge_mode of this LoadBalancer.
|
1169
1169
|
|
1170
|
-
|
1170
|
+
参数解释:负载均衡器实例的计费模式。 取值范围: - flavor:按规格计费 - lcu:按使用量计费 - 空值:若是共享型表示免费实例。若是独享型则与flavor模式一致,都是按规格计费。
|
1171
1171
|
|
1172
1172
|
:return: The charge_mode of this LoadBalancer.
|
1173
1173
|
:rtype: str
|
@@ -1178,7 +1178,7 @@ class LoadBalancer:
|
|
1178
1178
|
def charge_mode(self, charge_mode):
|
1179
1179
|
"""Sets the charge_mode of this LoadBalancer.
|
1180
1180
|
|
1181
|
-
|
1181
|
+
参数解释:负载均衡器实例的计费模式。 取值范围: - flavor:按规格计费 - lcu:按使用量计费 - 空值:若是共享型表示免费实例。若是独享型则与flavor模式一致,都是按规格计费。
|
1182
1182
|
|
1183
1183
|
:param charge_mode: The charge_mode of this LoadBalancer.
|
1184
1184
|
:type charge_mode: str
|
@@ -1189,7 +1189,7 @@ class LoadBalancer:
|
|
1189
1189
|
def waf_failure_action(self):
|
1190
1190
|
"""Gets the waf_failure_action of this LoadBalancer.
|
1191
1191
|
|
1192
|
-
WAF故障时的流量处理策略。discard:丢弃,forward:
|
1192
|
+
参数解释:WAF故障时的流量处理策略。 约束限制:只有绑定了waf的LB实例,该字段才会生效。 取值范围:discard:丢弃,forward: 转发到后端。 默认取值:forward [不支持该字段,请勿使用。](tag:hws_hk,hws_eu,hws_test,hcs,hcs_sm,hcso,hk_vdf,fcs,fcs_vm,mix,hcso_g42,hcso_g42_b,hcso_dt,dt,dt_test,ocb,ctc,cmcc,tm,sbc,g42,hws_ocb,hk_sbc,hk_tm,hk_g42)
|
1193
1193
|
|
1194
1194
|
:return: The waf_failure_action of this LoadBalancer.
|
1195
1195
|
:rtype: str
|
@@ -1200,7 +1200,7 @@ class LoadBalancer:
|
|
1200
1200
|
def waf_failure_action(self, waf_failure_action):
|
1201
1201
|
"""Sets the waf_failure_action of this LoadBalancer.
|
1202
1202
|
|
1203
|
-
WAF故障时的流量处理策略。discard:丢弃,forward:
|
1203
|
+
参数解释:WAF故障时的流量处理策略。 约束限制:只有绑定了waf的LB实例,该字段才会生效。 取值范围:discard:丢弃,forward: 转发到后端。 默认取值:forward [不支持该字段,请勿使用。](tag:hws_hk,hws_eu,hws_test,hcs,hcs_sm,hcso,hk_vdf,fcs,fcs_vm,mix,hcso_g42,hcso_g42_b,hcso_dt,dt,dt_test,ocb,ctc,cmcc,tm,sbc,g42,hws_ocb,hk_sbc,hk_tm,hk_g42)
|
1204
1204
|
|
1205
1205
|
:param waf_failure_action: The waf_failure_action of this LoadBalancer.
|
1206
1206
|
:type waf_failure_action: str
|
@@ -1211,7 +1211,7 @@ class LoadBalancer:
|
|
1211
1211
|
def protection_status(self):
|
1212
1212
|
"""Gets the protection_status of this LoadBalancer.
|
1213
1213
|
|
1214
|
-
|
1214
|
+
参数解释:修改保护状态。 取值范围: - nonProtection: 不保护。 - consoleProtection: 控制台修改保护。 默认取值:nonProtection
|
1215
1215
|
|
1216
1216
|
:return: The protection_status of this LoadBalancer.
|
1217
1217
|
:rtype: str
|
@@ -1222,7 +1222,7 @@ class LoadBalancer:
|
|
1222
1222
|
def protection_status(self, protection_status):
|
1223
1223
|
"""Sets the protection_status of this LoadBalancer.
|
1224
1224
|
|
1225
|
-
|
1225
|
+
参数解释:修改保护状态。 取值范围: - nonProtection: 不保护。 - consoleProtection: 控制台修改保护。 默认取值:nonProtection
|
1226
1226
|
|
1227
1227
|
:param protection_status: The protection_status of this LoadBalancer.
|
1228
1228
|
:type protection_status: str
|
@@ -1233,7 +1233,7 @@ class LoadBalancer:
|
|
1233
1233
|
def protection_reason(self):
|
1234
1234
|
"""Gets the protection_reason of this LoadBalancer.
|
1235
1235
|
|
1236
|
-
|
1236
|
+
参数解释:设置保护的原因 约束限制:仅当protection_status为consoleProtection时有效。
|
1237
1237
|
|
1238
1238
|
:return: The protection_reason of this LoadBalancer.
|
1239
1239
|
:rtype: str
|
@@ -1244,7 +1244,7 @@ class LoadBalancer:
|
|
1244
1244
|
def protection_reason(self, protection_reason):
|
1245
1245
|
"""Sets the protection_reason of this LoadBalancer.
|
1246
1246
|
|
1247
|
-
|
1247
|
+
参数解释:设置保护的原因 约束限制:仅当protection_status为consoleProtection时有效。
|
1248
1248
|
|
1249
1249
|
:param protection_reason: The protection_reason of this LoadBalancer.
|
1250
1250
|
:type protection_reason: str
|
@@ -1255,7 +1255,7 @@ class LoadBalancer:
|
|
1255
1255
|
def log_group_id(self):
|
1256
1256
|
"""Gets the log_group_id of this LoadBalancer.
|
1257
1257
|
|
1258
|
-
LB所绑定的logtank对应的group id
|
1258
|
+
参数解释:LB所绑定的logtank对应的group id
|
1259
1259
|
|
1260
1260
|
:return: The log_group_id of this LoadBalancer.
|
1261
1261
|
:rtype: str
|
@@ -1266,7 +1266,7 @@ class LoadBalancer:
|
|
1266
1266
|
def log_group_id(self, log_group_id):
|
1267
1267
|
"""Sets the log_group_id of this LoadBalancer.
|
1268
1268
|
|
1269
|
-
LB所绑定的logtank对应的group id
|
1269
|
+
参数解释:LB所绑定的logtank对应的group id
|
1270
1270
|
|
1271
1271
|
:param log_group_id: The log_group_id of this LoadBalancer.
|
1272
1272
|
:type log_group_id: str
|
@@ -1277,7 +1277,7 @@ class LoadBalancer:
|
|
1277
1277
|
def log_topic_id(self):
|
1278
1278
|
"""Gets the log_topic_id of this LoadBalancer.
|
1279
1279
|
|
1280
|
-
LB所绑定的logtank对应的topic id
|
1280
|
+
参数解释:LB所绑定的logtank对应的topic id
|
1281
1281
|
|
1282
1282
|
:return: The log_topic_id of this LoadBalancer.
|
1283
1283
|
:rtype: str
|
@@ -1288,7 +1288,7 @@ class LoadBalancer:
|
|
1288
1288
|
def log_topic_id(self, log_topic_id):
|
1289
1289
|
"""Sets the log_topic_id of this LoadBalancer.
|
1290
1290
|
|
1291
|
-
LB所绑定的logtank对应的topic id
|
1291
|
+
参数解释:LB所绑定的logtank对应的topic id
|
1292
1292
|
|
1293
1293
|
:param log_topic_id: The log_topic_id of this LoadBalancer.
|
1294
1294
|
:type log_topic_id: str
|