huaweicloudsdkelb 3.1.86__py2.py3-none-any.whl → 3.1.132__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 +2 -0
- huaweicloudsdkelb/v2/elb_client.py +2 -0
- huaweicloudsdkelb/v2/model/list_members_request.py +32 -3
- huaweicloudsdkelb/v2/region/elb_region.py +19 -1
- huaweicloudsdkelb/v3/__init__.py +29 -0
- huaweicloudsdkelb/v3/elb_async_client.py +175 -34
- huaweicloudsdkelb/v3/elb_client.py +175 -34
- huaweicloudsdkelb/v3/model/__init__.py +29 -0
- 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_add_available_zones_request.py +3 -3
- huaweicloudsdkelb/v3/model/batch_add_available_zones_response.py +6 -6
- huaweicloudsdkelb/v3/model/batch_create_members_option.py +12 -12
- huaweicloudsdkelb/v3/model/batch_create_members_request.py +3 -3
- huaweicloudsdkelb/v3/model/batch_delete_ip_list_option.py +3 -3
- huaweicloudsdkelb/v3/model/batch_delete_ip_list_request.py +3 -3
- huaweicloudsdkelb/v3/model/batch_delete_ip_list_response.py +3 -3
- huaweicloudsdkelb/v3/model/batch_delete_members_request.py +3 -3
- huaweicloudsdkelb/v3/model/batch_member.py +85 -27
- huaweicloudsdkelb/v3/model/batch_update_member.py +85 -27
- huaweicloudsdkelb/v3/model/batch_update_members_option.py +9 -9
- 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/certificate_info.py +93 -6
- huaweicloudsdkelb/v3/model/change_loadbalancer_charge_mode_request_body.py +3 -3
- huaweicloudsdkelb/v3/model/connection_drain.py +6 -6
- huaweicloudsdkelb/v3/model/count_preoccupy_ip_num_request.py +6 -6
- huaweicloudsdkelb/v3/model/create_certificate_option.py +5 -4
- huaweicloudsdkelb/v3/model/create_certificate_private_key_echo_request.py +111 -0
- huaweicloudsdkelb/v3/model/create_certificate_private_key_echo_request_body.py +114 -0
- huaweicloudsdkelb/v3/model/create_certificate_private_key_echo_response.py +145 -0
- huaweicloudsdkelb/v3/model/create_fixted_response_config.py +87 -12
- huaweicloudsdkelb/v3/model/create_health_monitor_option.py +18 -18
- huaweicloudsdkelb/v3/model/create_insert_header_config.py +170 -0
- huaweicloudsdkelb/v3/model/create_insert_headers_config.py +114 -0
- huaweicloudsdkelb/v3/model/create_ip_group_ip_option.py +6 -6
- huaweicloudsdkelb/v3/model/create_ip_group_option.py +15 -15
- huaweicloudsdkelb/v3/model/create_ip_group_response.py +3 -3
- huaweicloudsdkelb/v3/model/create_l7_policy_option.py +91 -37
- 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 +18 -18
- huaweicloudsdkelb/v3/model/create_load_balancer_option.py +76 -105
- huaweicloudsdkelb/v3/model/create_load_balancer_public_ip_option.py +12 -12
- huaweicloudsdkelb/v3/model/create_load_balancer_response.py +9 -9
- huaweicloudsdkelb/v3/model/create_loadbalancer_autoscaling_option.py +6 -6
- huaweicloudsdkelb/v3/model/create_master_slave_health_monitor_option.py +9 -9
- huaweicloudsdkelb/v3/model/create_master_slave_member_option.py +12 -12
- huaweicloudsdkelb/v3/model/create_master_slave_pool_option.py +33 -33
- 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 +102 -48
- huaweicloudsdkelb/v3/model/create_pool_response.py +3 -3
- huaweicloudsdkelb/v3/model/create_pool_session_persistence_option.py +9 -9
- huaweicloudsdkelb/v3/model/create_pool_slow_start_option.py +6 -6
- huaweicloudsdkelb/v3/model/create_redirect_pools_config.py +143 -0
- huaweicloudsdkelb/v3/model/create_redirect_pools_extend_config.py +81 -6
- huaweicloudsdkelb/v3/model/create_redirect_pools_sticky_session_config.py +144 -0
- huaweicloudsdkelb/v3/model/create_redirect_url_config.py +71 -21
- huaweicloudsdkelb/v3/model/create_remove_header_config.py +114 -0
- huaweicloudsdkelb/v3/model/create_remove_headers_config.py +114 -0
- huaweicloudsdkelb/v3/model/create_rewrite_url_config.py +9 -9
- huaweicloudsdkelb/v3/model/create_rule_condition.py +6 -6
- huaweicloudsdkelb/v3/model/create_rule_option.py +24 -24
- huaweicloudsdkelb/v3/model/create_traffic_limit_config.py +173 -0
- huaweicloudsdkelb/v3/model/delete_ip_group_request.py +3 -3
- 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 +6 -6
- huaweicloudsdkelb/v3/model/delete_pool_request.py +3 -3
- huaweicloudsdkelb/v3/model/eip_info.py +9 -9
- huaweicloudsdkelb/v3/model/fixted_response_config.py +87 -12
- huaweicloudsdkelb/v3/model/flavor.py +79 -21
- huaweicloudsdkelb/v3/model/flavor_info.py +18 -18
- huaweicloudsdkelb/v3/model/global_eip_info.py +9 -9
- huaweicloudsdkelb/v3/model/health_monitor.py +18 -18
- huaweicloudsdkelb/v3/model/insert_header_config.py +170 -0
- huaweicloudsdkelb/v3/model/insert_headers_config.py +114 -0
- huaweicloudsdkelb/v3/model/ip_group.py +119 -90
- huaweicloudsdkelb/v3/model/ip_group_ip.py +3 -3
- huaweicloudsdkelb/v3/model/ip_info.py +6 -6
- huaweicloudsdkelb/v3/model/l7_policy.py +103 -49
- huaweicloudsdkelb/v3/model/l7_rule.py +36 -36
- huaweicloudsdkelb/v3/model/list_all_members_request.py +24 -24
- huaweicloudsdkelb/v3/model/list_all_members_response.py +4 -4
- huaweicloudsdkelb/v3/model/list_availability_zones_request.py +3 -3
- huaweicloudsdkelb/v3/model/list_availability_zones_response.py +38 -9
- huaweicloudsdkelb/v3/model/list_certificates_request.py +64 -6
- huaweicloudsdkelb/v3/model/list_flavors_request.py +21 -21
- huaweicloudsdkelb/v3/model/list_flavors_response.py +6 -6
- huaweicloudsdkelb/v3/model/list_health_monitors_request.py +15 -15
- huaweicloudsdkelb/v3/model/list_ip_groups_request.py +53 -24
- huaweicloudsdkelb/v3/model/list_ip_groups_response.py +6 -6
- huaweicloudsdkelb/v3/model/list_l7_policies_request.py +51 -51
- huaweicloudsdkelb/v3/model/list_l7_policies_response.py +6 -6
- huaweicloudsdkelb/v3/model/list_l7_rules_request.py +6 -6
- huaweicloudsdkelb/v3/model/list_l7_rules_response.py +6 -6
- huaweicloudsdkelb/v3/model/list_listeners_request.py +42 -42
- huaweicloudsdkelb/v3/model/list_listeners_response.py +6 -6
- huaweicloudsdkelb/v3/model/list_load_balancers_request.py +36 -36
- huaweicloudsdkelb/v3/model/list_logtanks_request.py +3 -3
- huaweicloudsdkelb/v3/model/list_master_slave_pools_request.py +39 -39
- huaweicloudsdkelb/v3/model/list_members_request.py +27 -27
- huaweicloudsdkelb/v3/model/list_pools_request.py +135 -48
- huaweicloudsdkelb/v3/model/list_security_policies_request.py +3 -3
- huaweicloudsdkelb/v3/model/listener.py +96 -96
- huaweicloudsdkelb/v3/model/listener_insert_headers.py +30 -30
- huaweicloudsdkelb/v3/model/listener_ip_group.py +9 -9
- huaweicloudsdkelb/v3/model/listener_member_info.py +3 -3
- huaweicloudsdkelb/v3/model/listener_quic_config.py +6 -6
- huaweicloudsdkelb/v3/model/listener_ref.py +3 -3
- huaweicloudsdkelb/v3/model/load_balancer.py +129 -129
- huaweicloudsdkelb/v3/model/load_balancer_ref.py +3 -3
- huaweicloudsdkelb/v3/model/load_balancer_status.py +3 -3
- huaweicloudsdkelb/v3/model/load_balancer_status_policy.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 +12 -12
- huaweicloudsdkelb/v3/model/master_slave_member.py +18 -18
- huaweicloudsdkelb/v3/model/master_slave_pool.py +42 -42
- huaweicloudsdkelb/v3/model/member.py +46 -191
- huaweicloudsdkelb/v3/model/member_info.py +656 -0
- huaweicloudsdkelb/v3/model/member_ref.py +3 -3
- huaweicloudsdkelb/v3/model/member_status.py +6 -6
- huaweicloudsdkelb/v3/model/page_info.py +9 -9
- huaweicloudsdkelb/v3/model/pool.py +146 -63
- huaweicloudsdkelb/v3/model/pool_health.py +115 -0
- huaweicloudsdkelb/v3/model/pool_ref.py +3 -3
- huaweicloudsdkelb/v3/model/prepaid_create_option.py +12 -12
- huaweicloudsdkelb/v3/model/public_ip_info.py +9 -9
- huaweicloudsdkelb/v3/model/quota.py +21 -21
- huaweicloudsdkelb/v3/model/quota_info.py +3 -3
- huaweicloudsdkelb/v3/model/redirect_pools_config.py +144 -0
- huaweicloudsdkelb/v3/model/redirect_pools_extend_config.py +81 -6
- huaweicloudsdkelb/v3/model/redirect_pools_sticky_session_config.py +144 -0
- huaweicloudsdkelb/v3/model/redirect_url_config.py +83 -27
- huaweicloudsdkelb/v3/model/remove_header_config.py +114 -0
- huaweicloudsdkelb/v3/model/remove_headers_config.py +114 -0
- huaweicloudsdkelb/v3/model/rewrite_url_config.py +9 -9
- huaweicloudsdkelb/v3/model/rule_condition.py +6 -6
- huaweicloudsdkelb/v3/model/rule_ref.py +3 -3
- huaweicloudsdkelb/v3/model/session_persistence.py +9 -9
- huaweicloudsdkelb/v3/model/show_certificate_private_key_echo_request.py +84 -0
- huaweicloudsdkelb/v3/model/show_certificate_private_key_echo_response.py +145 -0
- huaweicloudsdkelb/v3/model/show_flavor_request.py +3 -3
- huaweicloudsdkelb/v3/model/show_flavor_response.py +3 -3
- huaweicloudsdkelb/v3/model/show_ip_group_request.py +3 -3
- huaweicloudsdkelb/v3/model/show_ip_group_response.py +3 -3
- huaweicloudsdkelb/v3/model/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/slow_start.py +6 -6
- huaweicloudsdkelb/v3/model/tag.py +6 -6
- huaweicloudsdkelb/v3/model/traffic_limit_config.py +173 -0
- huaweicloudsdkelb/v3/model/upadate_ip_group_ip_option.py +6 -6
- huaweicloudsdkelb/v3/model/update_certificate_option.py +3 -3
- huaweicloudsdkelb/v3/model/update_fixted_response_config.py +87 -12
- huaweicloudsdkelb/v3/model/update_health_monitor_option.py +15 -15
- huaweicloudsdkelb/v3/model/update_insert_header_config.py +170 -0
- huaweicloudsdkelb/v3/model/update_insert_headers_config.py +114 -0
- huaweicloudsdkelb/v3/model/update_ip_group_option.py +9 -9
- huaweicloudsdkelb/v3/model/update_ip_group_request.py +3 -3
- huaweicloudsdkelb/v3/model/update_ip_group_response.py +3 -3
- huaweicloudsdkelb/v3/model/update_ip_list_option.py +9 -9
- huaweicloudsdkelb/v3/model/update_ip_list_request.py +3 -3
- huaweicloudsdkelb/v3/model/update_ip_list_response.py +3 -3
- huaweicloudsdkelb/v3/model/update_l7_policy_option.py +76 -22
- 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 +12 -12
- huaweicloudsdkelb/v3/model/update_member_request.py +3 -3
- huaweicloudsdkelb/v3/model/update_pool_option.py +52 -27
- huaweicloudsdkelb/v3/model/update_pool_request.py +3 -3
- huaweicloudsdkelb/v3/model/update_pool_session_persistence_option.py +6 -6
- huaweicloudsdkelb/v3/model/update_redirect_pools_config.py +143 -0
- huaweicloudsdkelb/v3/model/update_redirect_pools_extend_config.py +84 -9
- huaweicloudsdkelb/v3/model/update_redirect_pools_sticky_session_config.py +144 -0
- huaweicloudsdkelb/v3/model/update_redirect_url_config.py +71 -21
- huaweicloudsdkelb/v3/model/update_remove_header_config.py +114 -0
- huaweicloudsdkelb/v3/model/update_remove_headers_config.py +114 -0
- huaweicloudsdkelb/v3/model/update_rewrite_url_config.py +173 -0
- huaweicloudsdkelb/v3/model/update_rule_condition.py +6 -6
- huaweicloudsdkelb/v3/model/update_traffic_limit_config.py +173 -0
- huaweicloudsdkelb/v3/region/elb_region.py +19 -1
- {huaweicloudsdkelb-3.1.86.dist-info → huaweicloudsdkelb-3.1.132.dist-info}/METADATA +2 -2
- {huaweicloudsdkelb-3.1.86.dist-info → huaweicloudsdkelb-3.1.132.dist-info}/RECORD +213 -184
- {huaweicloudsdkelb-3.1.86.dist-info → huaweicloudsdkelb-3.1.132.dist-info}/WHEEL +1 -1
- {huaweicloudsdkelb-3.1.86.dist-info → huaweicloudsdkelb-3.1.132.dist-info}/LICENSE +0 -0
- {huaweicloudsdkelb-3.1.86.dist-info → huaweicloudsdkelb-3.1.132.dist-info}/top_level.txt +0 -0
@@ -29,7 +29,7 @@ class ShowIpGroupRequest:
|
|
29
29
|
|
30
30
|
The model defined in huaweicloud sdk
|
31
31
|
|
32
|
-
:param ipgroup_id: IP地址组ID。
|
32
|
+
:param ipgroup_id: 参数解释:IP地址组ID。
|
33
33
|
:type ipgroup_id: str
|
34
34
|
"""
|
35
35
|
|
@@ -44,7 +44,7 @@ class ShowIpGroupRequest:
|
|
44
44
|
def ipgroup_id(self):
|
45
45
|
"""Gets the ipgroup_id of this ShowIpGroupRequest.
|
46
46
|
|
47
|
-
IP地址组ID。
|
47
|
+
参数解释:IP地址组ID。
|
48
48
|
|
49
49
|
:return: The ipgroup_id of this ShowIpGroupRequest.
|
50
50
|
:rtype: str
|
@@ -55,7 +55,7 @@ class ShowIpGroupRequest:
|
|
55
55
|
def ipgroup_id(self, ipgroup_id):
|
56
56
|
"""Sets the ipgroup_id of this ShowIpGroupRequest.
|
57
57
|
|
58
|
-
IP地址组ID。
|
58
|
+
参数解释:IP地址组ID。
|
59
59
|
|
60
60
|
:param ipgroup_id: The ipgroup_id of this ShowIpGroupRequest.
|
61
61
|
:type ipgroup_id: str
|
@@ -34,7 +34,7 @@ class ShowIpGroupResponse(SdkResponse):
|
|
34
34
|
|
35
35
|
:param ipgroup:
|
36
36
|
:type ipgroup: :class:`huaweicloudsdkelb.v3.IpGroup`
|
37
|
-
:param request_id:
|
37
|
+
:param request_id: 参数解释:请求ID。 注:自动生成 。
|
38
38
|
:type request_id: str
|
39
39
|
"""
|
40
40
|
|
@@ -71,7 +71,7 @@ class ShowIpGroupResponse(SdkResponse):
|
|
71
71
|
def request_id(self):
|
72
72
|
"""Gets the request_id of this ShowIpGroupResponse.
|
73
73
|
|
74
|
-
|
74
|
+
参数解释:请求ID。 注:自动生成 。
|
75
75
|
|
76
76
|
:return: The request_id of this ShowIpGroupResponse.
|
77
77
|
:rtype: str
|
@@ -82,7 +82,7 @@ class ShowIpGroupResponse(SdkResponse):
|
|
82
82
|
def request_id(self, request_id):
|
83
83
|
"""Sets the request_id of this ShowIpGroupResponse.
|
84
84
|
|
85
|
-
|
85
|
+
参数解释:请求ID。 注:自动生成 。
|
86
86
|
|
87
87
|
:param request_id: The request_id of this ShowIpGroupResponse.
|
88
88
|
:type request_id: str
|
@@ -29,7 +29,7 @@ class ShowL7PolicyRequest:
|
|
29
29
|
|
30
30
|
The model defined in huaweicloud sdk
|
31
31
|
|
32
|
-
:param l7policy_id:
|
32
|
+
:param l7policy_id: 参数解释:转发策略ID。
|
33
33
|
:type l7policy_id: str
|
34
34
|
"""
|
35
35
|
|
@@ -44,7 +44,7 @@ class ShowL7PolicyRequest:
|
|
44
44
|
def l7policy_id(self):
|
45
45
|
"""Gets the l7policy_id of this ShowL7PolicyRequest.
|
46
46
|
|
47
|
-
|
47
|
+
参数解释:转发策略ID。
|
48
48
|
|
49
49
|
:return: The l7policy_id of this ShowL7PolicyRequest.
|
50
50
|
:rtype: str
|
@@ -55,7 +55,7 @@ class ShowL7PolicyRequest:
|
|
55
55
|
def l7policy_id(self, l7policy_id):
|
56
56
|
"""Sets the l7policy_id of this ShowL7PolicyRequest.
|
57
57
|
|
58
|
-
|
58
|
+
参数解释:转发策略ID。
|
59
59
|
|
60
60
|
:param l7policy_id: The l7policy_id of this ShowL7PolicyRequest.
|
61
61
|
:type l7policy_id: str
|
@@ -32,7 +32,7 @@ class ShowL7PolicyResponse(SdkResponse):
|
|
32
32
|
|
33
33
|
The model defined in huaweicloud sdk
|
34
34
|
|
35
|
-
:param request_id:
|
35
|
+
:param request_id: 参数解释:请求ID。 注:自动生成 。
|
36
36
|
:type request_id: str
|
37
37
|
:param l7policy:
|
38
38
|
:type l7policy: :class:`huaweicloudsdkelb.v3.L7Policy`
|
@@ -53,7 +53,7 @@ class ShowL7PolicyResponse(SdkResponse):
|
|
53
53
|
def request_id(self):
|
54
54
|
"""Gets the request_id of this ShowL7PolicyResponse.
|
55
55
|
|
56
|
-
|
56
|
+
参数解释:请求ID。 注:自动生成 。
|
57
57
|
|
58
58
|
:return: The request_id of this ShowL7PolicyResponse.
|
59
59
|
:rtype: str
|
@@ -64,7 +64,7 @@ class ShowL7PolicyResponse(SdkResponse):
|
|
64
64
|
def request_id(self, request_id):
|
65
65
|
"""Sets the request_id of this ShowL7PolicyResponse.
|
66
66
|
|
67
|
-
|
67
|
+
参数解释:请求ID。 注:自动生成 。
|
68
68
|
|
69
69
|
:param request_id: The request_id of this ShowL7PolicyResponse.
|
70
70
|
:type request_id: str
|
@@ -32,7 +32,7 @@ class ShowL7RuleResponse(SdkResponse):
|
|
32
32
|
|
33
33
|
The model defined in huaweicloud sdk
|
34
34
|
|
35
|
-
:param request_id:
|
35
|
+
:param request_id: 参数解释:请求ID。 注:自动生成 。
|
36
36
|
:type request_id: str
|
37
37
|
:param rule:
|
38
38
|
:type rule: :class:`huaweicloudsdkelb.v3.L7Rule`
|
@@ -53,7 +53,7 @@ class ShowL7RuleResponse(SdkResponse):
|
|
53
53
|
def request_id(self):
|
54
54
|
"""Gets the request_id of this ShowL7RuleResponse.
|
55
55
|
|
56
|
-
|
56
|
+
参数解释:请求ID。 注:自动生成 。
|
57
57
|
|
58
58
|
:return: The request_id of this ShowL7RuleResponse.
|
59
59
|
:rtype: str
|
@@ -64,7 +64,7 @@ class ShowL7RuleResponse(SdkResponse):
|
|
64
64
|
def request_id(self, request_id):
|
65
65
|
"""Sets the request_id of this ShowL7RuleResponse.
|
66
66
|
|
67
|
-
|
67
|
+
参数解释:请求ID。 注:自动生成 。
|
68
68
|
|
69
69
|
:param request_id: The request_id of this ShowL7RuleResponse.
|
70
70
|
:type request_id: str
|
@@ -32,7 +32,7 @@ class ShowListenerResponse(SdkResponse):
|
|
32
32
|
|
33
33
|
The model defined in huaweicloud sdk
|
34
34
|
|
35
|
-
:param request_id:
|
35
|
+
:param request_id: 参数解释:请求ID。 注:自动生成 。
|
36
36
|
:type request_id: str
|
37
37
|
:param listener:
|
38
38
|
:type listener: :class:`huaweicloudsdkelb.v3.Listener`
|
@@ -53,7 +53,7 @@ class ShowListenerResponse(SdkResponse):
|
|
53
53
|
def request_id(self):
|
54
54
|
"""Gets the request_id of this ShowListenerResponse.
|
55
55
|
|
56
|
-
|
56
|
+
参数解释:请求ID。 注:自动生成 。
|
57
57
|
|
58
58
|
:return: The request_id of this ShowListenerResponse.
|
59
59
|
:rtype: str
|
@@ -64,7 +64,7 @@ class ShowListenerResponse(SdkResponse):
|
|
64
64
|
def request_id(self, request_id):
|
65
65
|
"""Sets the request_id of this ShowListenerResponse.
|
66
66
|
|
67
|
-
|
67
|
+
参数解释:请求ID。 注:自动生成 。
|
68
68
|
|
69
69
|
:param request_id: The request_id of this ShowListenerResponse.
|
70
70
|
:type request_id: str
|
@@ -32,7 +32,7 @@ class ShowLoadBalancerResponse(SdkResponse):
|
|
32
32
|
|
33
33
|
The model defined in huaweicloud sdk
|
34
34
|
|
35
|
-
:param request_id:
|
35
|
+
:param request_id: 参数解释:请求ID。 注:自动生成 。
|
36
36
|
:type request_id: str
|
37
37
|
:param loadbalancer:
|
38
38
|
:type loadbalancer: :class:`huaweicloudsdkelb.v3.LoadBalancer`
|
@@ -53,7 +53,7 @@ class ShowLoadBalancerResponse(SdkResponse):
|
|
53
53
|
def request_id(self):
|
54
54
|
"""Gets the request_id of this ShowLoadBalancerResponse.
|
55
55
|
|
56
|
-
|
56
|
+
参数解释:请求ID。 注:自动生成 。
|
57
57
|
|
58
58
|
:return: The request_id of this ShowLoadBalancerResponse.
|
59
59
|
:rtype: str
|
@@ -64,7 +64,7 @@ class ShowLoadBalancerResponse(SdkResponse):
|
|
64
64
|
def request_id(self, request_id):
|
65
65
|
"""Sets the request_id of this ShowLoadBalancerResponse.
|
66
66
|
|
67
|
-
|
67
|
+
参数解释:请求ID。 注:自动生成 。
|
68
68
|
|
69
69
|
:param request_id: The request_id of this ShowLoadBalancerResponse.
|
70
70
|
:type request_id: str
|
@@ -34,7 +34,7 @@ class ShowLoadBalancerStatusResponse(SdkResponse):
|
|
34
34
|
|
35
35
|
:param statuses:
|
36
36
|
:type statuses: :class:`huaweicloudsdkelb.v3.LoadBalancerStatusResult`
|
37
|
-
:param request_id:
|
37
|
+
:param request_id: 参数解释:请求ID。 注:自动生成 。
|
38
38
|
:type request_id: str
|
39
39
|
"""
|
40
40
|
|
@@ -71,7 +71,7 @@ class ShowLoadBalancerStatusResponse(SdkResponse):
|
|
71
71
|
def request_id(self):
|
72
72
|
"""Gets the request_id of this ShowLoadBalancerStatusResponse.
|
73
73
|
|
74
|
-
|
74
|
+
参数解释:请求ID。 注:自动生成 。
|
75
75
|
|
76
76
|
:return: The request_id of this ShowLoadBalancerStatusResponse.
|
77
77
|
:rtype: str
|
@@ -82,7 +82,7 @@ class ShowLoadBalancerStatusResponse(SdkResponse):
|
|
82
82
|
def request_id(self, request_id):
|
83
83
|
"""Sets the request_id of this ShowLoadBalancerStatusResponse.
|
84
84
|
|
85
|
-
|
85
|
+
参数解释:请求ID。 注:自动生成 。
|
86
86
|
|
87
87
|
:param request_id: The request_id of this ShowLoadBalancerStatusResponse.
|
88
88
|
:type request_id: str
|
@@ -29,7 +29,7 @@ class ShowMasterSlavePoolRequest:
|
|
29
29
|
|
30
30
|
The model defined in huaweicloud sdk
|
31
31
|
|
32
|
-
:param pool_id:
|
32
|
+
:param pool_id: 参数解释:后端服务器组ID。
|
33
33
|
:type pool_id: str
|
34
34
|
"""
|
35
35
|
|
@@ -44,7 +44,7 @@ class ShowMasterSlavePoolRequest:
|
|
44
44
|
def pool_id(self):
|
45
45
|
"""Gets the pool_id of this ShowMasterSlavePoolRequest.
|
46
46
|
|
47
|
-
|
47
|
+
参数解释:后端服务器组ID。
|
48
48
|
|
49
49
|
:return: The pool_id of this ShowMasterSlavePoolRequest.
|
50
50
|
:rtype: str
|
@@ -55,7 +55,7 @@ class ShowMasterSlavePoolRequest:
|
|
55
55
|
def pool_id(self, pool_id):
|
56
56
|
"""Sets the pool_id of this ShowMasterSlavePoolRequest.
|
57
57
|
|
58
|
-
|
58
|
+
参数解释:后端服务器组ID。
|
59
59
|
|
60
60
|
:param pool_id: The pool_id of this ShowMasterSlavePoolRequest.
|
61
61
|
:type pool_id: str
|
@@ -31,7 +31,7 @@ class ShowMemberRequest:
|
|
31
31
|
|
32
32
|
The model defined in huaweicloud sdk
|
33
33
|
|
34
|
-
:param pool_id:
|
34
|
+
:param pool_id: 参数解释:后端服务器组ID。
|
35
35
|
:type pool_id: str
|
36
36
|
:param member_id: 后端服务器ID。 >说明: 此处并非ECS服务器的ID,而是ELB为绑定的后端服务器自动生成的member ID。
|
37
37
|
:type member_id: str
|
@@ -50,7 +50,7 @@ class ShowMemberRequest:
|
|
50
50
|
def pool_id(self):
|
51
51
|
"""Gets the pool_id of this ShowMemberRequest.
|
52
52
|
|
53
|
-
|
53
|
+
参数解释:后端服务器组ID。
|
54
54
|
|
55
55
|
:return: The pool_id of this ShowMemberRequest.
|
56
56
|
:rtype: str
|
@@ -61,7 +61,7 @@ class ShowMemberRequest:
|
|
61
61
|
def pool_id(self, pool_id):
|
62
62
|
"""Sets the pool_id of this ShowMemberRequest.
|
63
63
|
|
64
|
-
|
64
|
+
参数解释:后端服务器组ID。
|
65
65
|
|
66
66
|
:param pool_id: The pool_id of this ShowMemberRequest.
|
67
67
|
:type pool_id: str
|
@@ -29,7 +29,7 @@ class ShowPoolRequest:
|
|
29
29
|
|
30
30
|
The model defined in huaweicloud sdk
|
31
31
|
|
32
|
-
:param pool_id:
|
32
|
+
:param pool_id: 参数解释:后端服务器组ID。
|
33
33
|
:type pool_id: str
|
34
34
|
"""
|
35
35
|
|
@@ -44,7 +44,7 @@ class ShowPoolRequest:
|
|
44
44
|
def pool_id(self):
|
45
45
|
"""Gets the pool_id of this ShowPoolRequest.
|
46
46
|
|
47
|
-
|
47
|
+
参数解释:后端服务器组ID。
|
48
48
|
|
49
49
|
:return: The pool_id of this ShowPoolRequest.
|
50
50
|
:rtype: str
|
@@ -55,7 +55,7 @@ class ShowPoolRequest:
|
|
55
55
|
def pool_id(self, pool_id):
|
56
56
|
"""Sets the pool_id of this ShowPoolRequest.
|
57
57
|
|
58
|
-
|
58
|
+
参数解释:后端服务器组ID。
|
59
59
|
|
60
60
|
:param pool_id: The pool_id of this ShowPoolRequest.
|
61
61
|
:type pool_id: str
|
@@ -31,9 +31,9 @@ class SlowStart:
|
|
31
31
|
|
32
32
|
The model defined in huaweicloud sdk
|
33
33
|
|
34
|
-
:param enable:
|
34
|
+
:param enable: 参数解释:慢启动的开关。 取值范围: - true:开启。 - false:关闭。 默认取值:false
|
35
35
|
:type enable: bool
|
36
|
-
:param duration:
|
36
|
+
:param duration: 参数解释:慢启动的持续时间。 取值范围:30-1200,单位:秒。 默认取值:30
|
37
37
|
:type duration: int
|
38
38
|
"""
|
39
39
|
|
@@ -50,7 +50,7 @@ class SlowStart:
|
|
50
50
|
def enable(self):
|
51
51
|
"""Gets the enable of this SlowStart.
|
52
52
|
|
53
|
-
|
53
|
+
参数解释:慢启动的开关。 取值范围: - true:开启。 - false:关闭。 默认取值:false
|
54
54
|
|
55
55
|
:return: The enable of this SlowStart.
|
56
56
|
:rtype: bool
|
@@ -61,7 +61,7 @@ class SlowStart:
|
|
61
61
|
def enable(self, enable):
|
62
62
|
"""Sets the enable of this SlowStart.
|
63
63
|
|
64
|
-
|
64
|
+
参数解释:慢启动的开关。 取值范围: - true:开启。 - false:关闭。 默认取值:false
|
65
65
|
|
66
66
|
:param enable: The enable of this SlowStart.
|
67
67
|
:type enable: bool
|
@@ -72,7 +72,7 @@ class SlowStart:
|
|
72
72
|
def duration(self):
|
73
73
|
"""Gets the duration of this SlowStart.
|
74
74
|
|
75
|
-
|
75
|
+
参数解释:慢启动的持续时间。 取值范围:30-1200,单位:秒。 默认取值:30
|
76
76
|
|
77
77
|
:return: The duration of this SlowStart.
|
78
78
|
:rtype: int
|
@@ -83,7 +83,7 @@ class SlowStart:
|
|
83
83
|
def duration(self, duration):
|
84
84
|
"""Sets the duration of this SlowStart.
|
85
85
|
|
86
|
-
|
86
|
+
参数解释:慢启动的持续时间。 取值范围:30-1200,单位:秒。 默认取值:30
|
87
87
|
|
88
88
|
:param duration: The duration of this SlowStart.
|
89
89
|
:type duration: int
|
@@ -31,9 +31,9 @@ class Tag:
|
|
31
31
|
|
32
32
|
The model defined in huaweicloud sdk
|
33
33
|
|
34
|
-
:param key:
|
34
|
+
:param key: 参数解释:标签键
|
35
35
|
:type key: str
|
36
|
-
:param value:
|
36
|
+
:param value: 参数解释:标签值
|
37
37
|
:type value: str
|
38
38
|
"""
|
39
39
|
|
@@ -52,7 +52,7 @@ class Tag:
|
|
52
52
|
def key(self):
|
53
53
|
"""Gets the key of this Tag.
|
54
54
|
|
55
|
-
|
55
|
+
参数解释:标签键
|
56
56
|
|
57
57
|
:return: The key of this Tag.
|
58
58
|
:rtype: str
|
@@ -63,7 +63,7 @@ class Tag:
|
|
63
63
|
def key(self, key):
|
64
64
|
"""Sets the key of this Tag.
|
65
65
|
|
66
|
-
|
66
|
+
参数解释:标签键
|
67
67
|
|
68
68
|
:param key: The key of this Tag.
|
69
69
|
:type key: str
|
@@ -74,7 +74,7 @@ class Tag:
|
|
74
74
|
def value(self):
|
75
75
|
"""Gets the value of this Tag.
|
76
76
|
|
77
|
-
|
77
|
+
参数解释:标签值
|
78
78
|
|
79
79
|
:return: The value of this Tag.
|
80
80
|
:rtype: str
|
@@ -85,7 +85,7 @@ class Tag:
|
|
85
85
|
def value(self, value):
|
86
86
|
"""Sets the value of this Tag.
|
87
87
|
|
88
|
-
|
88
|
+
参数解释:标签值
|
89
89
|
|
90
90
|
:param value: The value of this Tag.
|
91
91
|
:type value: str
|
@@ -0,0 +1,173 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
|
+
|
7
|
+
|
8
|
+
class TrafficLimitConfig:
|
9
|
+
|
10
|
+
"""
|
11
|
+
Attributes:
|
12
|
+
openapi_types (dict): The key is attribute name
|
13
|
+
and the value is attribute type.
|
14
|
+
attribute_map (dict): The key is attribute name
|
15
|
+
and the value is json key in definition.
|
16
|
+
"""
|
17
|
+
sensitive_list = []
|
18
|
+
|
19
|
+
openapi_types = {
|
20
|
+
'qps': 'int',
|
21
|
+
'per_source_ip_qps': 'int',
|
22
|
+
'burst': 'int'
|
23
|
+
}
|
24
|
+
|
25
|
+
attribute_map = {
|
26
|
+
'qps': 'qps',
|
27
|
+
'per_source_ip_qps': 'per_source_ip_qps',
|
28
|
+
'burst': 'burst'
|
29
|
+
}
|
30
|
+
|
31
|
+
def __init__(self, qps=None, per_source_ip_qps=None, burst=None):
|
32
|
+
"""TrafficLimitConfig
|
33
|
+
|
34
|
+
The model defined in huaweicloud sdk
|
35
|
+
|
36
|
+
:param qps: 参数解释:转发策略qps限速。 取值范围:0-100000,单位:个/秒。0表示不限速。
|
37
|
+
:type qps: int
|
38
|
+
:param per_source_ip_qps: 参数解释:对转发策略单源(单个客户端IP)进行限速。 约束限制: - quic监听器下转发策略不支持配置单源限速。 - 指定该字段时,赋值可以为0或者为null。 - 如果qps不为0,per_source_ip_qps需要小于qps。 取值范围:0-100000,单位:个/秒。0表示不限速。
|
39
|
+
:type per_source_ip_qps: int
|
40
|
+
:param burst: 参数解释:设置当单源qps超限时,允许的局部突增请求数量。超出该限制的请求将返回503。 取值范围:0-100000,单位:个/秒。
|
41
|
+
:type burst: int
|
42
|
+
"""
|
43
|
+
|
44
|
+
|
45
|
+
|
46
|
+
self._qps = None
|
47
|
+
self._per_source_ip_qps = None
|
48
|
+
self._burst = None
|
49
|
+
self.discriminator = None
|
50
|
+
|
51
|
+
if qps is not None:
|
52
|
+
self.qps = qps
|
53
|
+
if per_source_ip_qps is not None:
|
54
|
+
self.per_source_ip_qps = per_source_ip_qps
|
55
|
+
if burst is not None:
|
56
|
+
self.burst = burst
|
57
|
+
|
58
|
+
@property
|
59
|
+
def qps(self):
|
60
|
+
"""Gets the qps of this TrafficLimitConfig.
|
61
|
+
|
62
|
+
参数解释:转发策略qps限速。 取值范围:0-100000,单位:个/秒。0表示不限速。
|
63
|
+
|
64
|
+
:return: The qps of this TrafficLimitConfig.
|
65
|
+
:rtype: int
|
66
|
+
"""
|
67
|
+
return self._qps
|
68
|
+
|
69
|
+
@qps.setter
|
70
|
+
def qps(self, qps):
|
71
|
+
"""Sets the qps of this TrafficLimitConfig.
|
72
|
+
|
73
|
+
参数解释:转发策略qps限速。 取值范围:0-100000,单位:个/秒。0表示不限速。
|
74
|
+
|
75
|
+
:param qps: The qps of this TrafficLimitConfig.
|
76
|
+
:type qps: int
|
77
|
+
"""
|
78
|
+
self._qps = qps
|
79
|
+
|
80
|
+
@property
|
81
|
+
def per_source_ip_qps(self):
|
82
|
+
"""Gets the per_source_ip_qps of this TrafficLimitConfig.
|
83
|
+
|
84
|
+
参数解释:对转发策略单源(单个客户端IP)进行限速。 约束限制: - quic监听器下转发策略不支持配置单源限速。 - 指定该字段时,赋值可以为0或者为null。 - 如果qps不为0,per_source_ip_qps需要小于qps。 取值范围:0-100000,单位:个/秒。0表示不限速。
|
85
|
+
|
86
|
+
:return: The per_source_ip_qps of this TrafficLimitConfig.
|
87
|
+
:rtype: int
|
88
|
+
"""
|
89
|
+
return self._per_source_ip_qps
|
90
|
+
|
91
|
+
@per_source_ip_qps.setter
|
92
|
+
def per_source_ip_qps(self, per_source_ip_qps):
|
93
|
+
"""Sets the per_source_ip_qps of this TrafficLimitConfig.
|
94
|
+
|
95
|
+
参数解释:对转发策略单源(单个客户端IP)进行限速。 约束限制: - quic监听器下转发策略不支持配置单源限速。 - 指定该字段时,赋值可以为0或者为null。 - 如果qps不为0,per_source_ip_qps需要小于qps。 取值范围:0-100000,单位:个/秒。0表示不限速。
|
96
|
+
|
97
|
+
:param per_source_ip_qps: The per_source_ip_qps of this TrafficLimitConfig.
|
98
|
+
:type per_source_ip_qps: int
|
99
|
+
"""
|
100
|
+
self._per_source_ip_qps = per_source_ip_qps
|
101
|
+
|
102
|
+
@property
|
103
|
+
def burst(self):
|
104
|
+
"""Gets the burst of this TrafficLimitConfig.
|
105
|
+
|
106
|
+
参数解释:设置当单源qps超限时,允许的局部突增请求数量。超出该限制的请求将返回503。 取值范围:0-100000,单位:个/秒。
|
107
|
+
|
108
|
+
:return: The burst of this TrafficLimitConfig.
|
109
|
+
:rtype: int
|
110
|
+
"""
|
111
|
+
return self._burst
|
112
|
+
|
113
|
+
@burst.setter
|
114
|
+
def burst(self, burst):
|
115
|
+
"""Sets the burst of this TrafficLimitConfig.
|
116
|
+
|
117
|
+
参数解释:设置当单源qps超限时,允许的局部突增请求数量。超出该限制的请求将返回503。 取值范围:0-100000,单位:个/秒。
|
118
|
+
|
119
|
+
:param burst: The burst of this TrafficLimitConfig.
|
120
|
+
:type burst: int
|
121
|
+
"""
|
122
|
+
self._burst = burst
|
123
|
+
|
124
|
+
def to_dict(self):
|
125
|
+
"""Returns the model properties as a dict"""
|
126
|
+
result = {}
|
127
|
+
|
128
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
129
|
+
value = getattr(self, attr)
|
130
|
+
if isinstance(value, list):
|
131
|
+
result[attr] = list(map(
|
132
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
133
|
+
value
|
134
|
+
))
|
135
|
+
elif hasattr(value, "to_dict"):
|
136
|
+
result[attr] = value.to_dict()
|
137
|
+
elif isinstance(value, dict):
|
138
|
+
result[attr] = dict(map(
|
139
|
+
lambda item: (item[0], item[1].to_dict())
|
140
|
+
if hasattr(item[1], "to_dict") else item,
|
141
|
+
value.items()
|
142
|
+
))
|
143
|
+
else:
|
144
|
+
if attr in self.sensitive_list:
|
145
|
+
result[attr] = "****"
|
146
|
+
else:
|
147
|
+
result[attr] = value
|
148
|
+
|
149
|
+
return result
|
150
|
+
|
151
|
+
def to_str(self):
|
152
|
+
"""Returns the string representation of the model"""
|
153
|
+
import simplejson as json
|
154
|
+
if six.PY2:
|
155
|
+
import sys
|
156
|
+
reload(sys)
|
157
|
+
sys.setdefaultencoding("utf-8")
|
158
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
159
|
+
|
160
|
+
def __repr__(self):
|
161
|
+
"""For `print`"""
|
162
|
+
return self.to_str()
|
163
|
+
|
164
|
+
def __eq__(self, other):
|
165
|
+
"""Returns true if both objects are equal"""
|
166
|
+
if not isinstance(other, TrafficLimitConfig):
|
167
|
+
return False
|
168
|
+
|
169
|
+
return self.__dict__ == other.__dict__
|
170
|
+
|
171
|
+
def __ne__(self, other):
|
172
|
+
"""Returns true if both objects are not equal"""
|
173
|
+
return not self == other
|
@@ -31,9 +31,9 @@ class UpadateIpGroupIpOption:
|
|
31
31
|
|
32
32
|
The model defined in huaweicloud sdk
|
33
33
|
|
34
|
-
:param ip: IP
|
34
|
+
:param ip: 参数解释:IP地址或者IP地址段。支持IPv4、IPv6。IP地址段格式为ip-ip,例如192.168.1.2-192.168.2.253或者2001:0DB8:02de::0e12-2001:0DB8:02de::0e13,终止IP需要大于起始IP。 若传入IP地址不存在,则新增;否则更新已有IP地址的描述信息。 [不支持IPv6,请勿设置为IPv6地址。](tag:dt,dt_test)
|
35
35
|
:type ip: str
|
36
|
-
:param description:
|
36
|
+
:param description: 参数解释:备注信息。
|
37
37
|
:type description: str
|
38
38
|
"""
|
39
39
|
|
@@ -51,7 +51,7 @@ class UpadateIpGroupIpOption:
|
|
51
51
|
def ip(self):
|
52
52
|
"""Gets the ip of this UpadateIpGroupIpOption.
|
53
53
|
|
54
|
-
IP
|
54
|
+
参数解释:IP地址或者IP地址段。支持IPv4、IPv6。IP地址段格式为ip-ip,例如192.168.1.2-192.168.2.253或者2001:0DB8:02de::0e12-2001:0DB8:02de::0e13,终止IP需要大于起始IP。 若传入IP地址不存在,则新增;否则更新已有IP地址的描述信息。 [不支持IPv6,请勿设置为IPv6地址。](tag:dt,dt_test)
|
55
55
|
|
56
56
|
:return: The ip of this UpadateIpGroupIpOption.
|
57
57
|
:rtype: str
|
@@ -62,7 +62,7 @@ class UpadateIpGroupIpOption:
|
|
62
62
|
def ip(self, ip):
|
63
63
|
"""Sets the ip of this UpadateIpGroupIpOption.
|
64
64
|
|
65
|
-
IP
|
65
|
+
参数解释:IP地址或者IP地址段。支持IPv4、IPv6。IP地址段格式为ip-ip,例如192.168.1.2-192.168.2.253或者2001:0DB8:02de::0e12-2001:0DB8:02de::0e13,终止IP需要大于起始IP。 若传入IP地址不存在,则新增;否则更新已有IP地址的描述信息。 [不支持IPv6,请勿设置为IPv6地址。](tag:dt,dt_test)
|
66
66
|
|
67
67
|
:param ip: The ip of this UpadateIpGroupIpOption.
|
68
68
|
:type ip: str
|
@@ -73,7 +73,7 @@ class UpadateIpGroupIpOption:
|
|
73
73
|
def description(self):
|
74
74
|
"""Gets the description of this UpadateIpGroupIpOption.
|
75
75
|
|
76
|
-
|
76
|
+
参数解释:备注信息。
|
77
77
|
|
78
78
|
:return: The description of this UpadateIpGroupIpOption.
|
79
79
|
:rtype: str
|
@@ -84,7 +84,7 @@ class UpadateIpGroupIpOption:
|
|
84
84
|
def description(self, description):
|
85
85
|
"""Sets the description of this UpadateIpGroupIpOption.
|
86
86
|
|
87
|
-
|
87
|
+
参数解释:备注信息。
|
88
88
|
|
89
89
|
:param description: The description of this UpadateIpGroupIpOption.
|
90
90
|
:type description: str
|
@@ -49,7 +49,7 @@ class UpdateCertificateOption:
|
|
49
49
|
:type name: str
|
50
50
|
:param private_key: 服务器证书的私钥。PEM编码格式。 当type为client时,该参数被忽略,不影响证书的创建和使用。若传入不符合格式值,则会报错。 当type为server时,该字段必须符合格式要求,且私钥必须是有效的。 最大长度8192字符。
|
51
51
|
:type private_key: str
|
52
|
-
:param domain: 服务器证书所签域名。该字段仅type为server时有效。 总长度为0-10000,由若干普通域名或泛域名组成,域名之间以\",\"分割,不超过100个域名。 普通域名:由若干字符串组成,字符串间以\".\"分割,单个字符串长度不超过63个字符, 只能包含英文字母、数字或\"-\",且必须以字母或数字开头和结尾。例:www.test.com; 泛域名:在普通域名的基础上仅允许首字母为\"
|
52
|
+
:param domain: 服务器证书所签域名。该字段仅type为server时有效。 总长度为0-10000,由若干普通域名或泛域名组成,域名之间以\",\"分割,不超过100个域名。 普通域名:由若干字符串组成,字符串间以\".\"分割,单个字符串长度不超过63个字符, 只能包含英文字母、数字或\"-\",且必须以字母或数字开头和结尾。例:www.test.com; 泛域名:在普通域名的基础上仅允许首字母为\"\\*\"。例:\\*.test.com
|
53
53
|
:type domain: str
|
54
54
|
:param enc_certificate: HTTPS协议使用的SM加密证书内容。支持证书链,最大11层(含证书和证书链)。 取值:PEM编码格式。最大长度65536字符。 使用说明:仅type为server_sm时有效。
|
55
55
|
:type enc_certificate: str
|
@@ -175,7 +175,7 @@ class UpdateCertificateOption:
|
|
175
175
|
def domain(self):
|
176
176
|
"""Gets the domain of this UpdateCertificateOption.
|
177
177
|
|
178
|
-
服务器证书所签域名。该字段仅type为server时有效。 总长度为0-10000,由若干普通域名或泛域名组成,域名之间以\",\"分割,不超过100个域名。 普通域名:由若干字符串组成,字符串间以\".\"分割,单个字符串长度不超过63个字符, 只能包含英文字母、数字或\"-\",且必须以字母或数字开头和结尾。例:www.test.com; 泛域名:在普通域名的基础上仅允许首字母为\"
|
178
|
+
服务器证书所签域名。该字段仅type为server时有效。 总长度为0-10000,由若干普通域名或泛域名组成,域名之间以\",\"分割,不超过100个域名。 普通域名:由若干字符串组成,字符串间以\".\"分割,单个字符串长度不超过63个字符, 只能包含英文字母、数字或\"-\",且必须以字母或数字开头和结尾。例:www.test.com; 泛域名:在普通域名的基础上仅允许首字母为\"\\*\"。例:\\*.test.com
|
179
179
|
|
180
180
|
:return: The domain of this UpdateCertificateOption.
|
181
181
|
:rtype: str
|
@@ -186,7 +186,7 @@ class UpdateCertificateOption:
|
|
186
186
|
def domain(self, domain):
|
187
187
|
"""Sets the domain of this UpdateCertificateOption.
|
188
188
|
|
189
|
-
服务器证书所签域名。该字段仅type为server时有效。 总长度为0-10000,由若干普通域名或泛域名组成,域名之间以\",\"分割,不超过100个域名。 普通域名:由若干字符串组成,字符串间以\".\"分割,单个字符串长度不超过63个字符, 只能包含英文字母、数字或\"-\",且必须以字母或数字开头和结尾。例:www.test.com; 泛域名:在普通域名的基础上仅允许首字母为\"
|
189
|
+
服务器证书所签域名。该字段仅type为server时有效。 总长度为0-10000,由若干普通域名或泛域名组成,域名之间以\",\"分割,不超过100个域名。 普通域名:由若干字符串组成,字符串间以\".\"分割,单个字符串长度不超过63个字符, 只能包含英文字母、数字或\"-\",且必须以字母或数字开头和结尾。例:www.test.com; 泛域名:在普通域名的基础上仅允许首字母为\"\\*\"。例:\\*.test.com
|
190
190
|
|
191
191
|
:param domain: The domain of this UpdateCertificateOption.
|
192
192
|
:type domain: str
|