huaweicloudsdkelb 3.1.105__py2.py3-none-any.whl → 3.1.107__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.
Files changed (142) hide show
  1. huaweicloudsdkelb/v3/__init__.py +29 -0
  2. huaweicloudsdkelb/v3/elb_async_client.py +171 -34
  3. huaweicloudsdkelb/v3/elb_client.py +171 -34
  4. huaweicloudsdkelb/v3/model/__init__.py +29 -0
  5. huaweicloudsdkelb/v3/model/availability_zone.py +3 -3
  6. huaweicloudsdkelb/v3/model/batch_add_available_zones_response.py +6 -6
  7. huaweicloudsdkelb/v3/model/batch_create_members_option.py +3 -3
  8. huaweicloudsdkelb/v3/model/batch_delete_ip_list_option.py +3 -3
  9. huaweicloudsdkelb/v3/model/batch_delete_ip_list_request.py +3 -3
  10. huaweicloudsdkelb/v3/model/batch_delete_ip_list_response.py +3 -3
  11. huaweicloudsdkelb/v3/model/batch_member.py +67 -9
  12. huaweicloudsdkelb/v3/model/batch_update_member.py +67 -9
  13. huaweicloudsdkelb/v3/model/batch_update_priority_request_body.py +3 -3
  14. huaweicloudsdkelb/v3/model/certificate_info.py +93 -6
  15. huaweicloudsdkelb/v3/model/change_loadbalancer_charge_mode_request_body.py +3 -3
  16. huaweicloudsdkelb/v3/model/connection_drain.py +3 -3
  17. huaweicloudsdkelb/v3/model/count_preoccupy_ip_num_request.py +6 -6
  18. huaweicloudsdkelb/v3/model/create_certificate_option.py +5 -4
  19. huaweicloudsdkelb/v3/model/create_certificate_private_key_echo_request.py +111 -0
  20. huaweicloudsdkelb/v3/model/create_certificate_private_key_echo_request_body.py +114 -0
  21. huaweicloudsdkelb/v3/model/create_certificate_private_key_echo_response.py +145 -0
  22. huaweicloudsdkelb/v3/model/create_fixted_response_config.py +78 -3
  23. huaweicloudsdkelb/v3/model/create_health_monitor_option.py +9 -9
  24. huaweicloudsdkelb/v3/model/create_insert_header_config.py +170 -0
  25. huaweicloudsdkelb/v3/model/create_insert_headers_config.py +114 -0
  26. huaweicloudsdkelb/v3/model/create_ip_group_ip_option.py +6 -6
  27. huaweicloudsdkelb/v3/model/create_ip_group_option.py +15 -15
  28. huaweicloudsdkelb/v3/model/create_ip_group_response.py +3 -3
  29. huaweicloudsdkelb/v3/model/create_l7_policy_option.py +61 -7
  30. huaweicloudsdkelb/v3/model/create_l7_policy_rule_option.py +6 -6
  31. huaweicloudsdkelb/v3/model/create_listener_ip_group_option.py +3 -3
  32. huaweicloudsdkelb/v3/model/create_listener_option.py +33 -33
  33. huaweicloudsdkelb/v3/model/create_load_balancer_bandwidth_option.py +18 -18
  34. huaweicloudsdkelb/v3/model/create_load_balancer_option.py +76 -105
  35. huaweicloudsdkelb/v3/model/create_load_balancer_public_ip_option.py +12 -12
  36. huaweicloudsdkelb/v3/model/create_load_balancer_response.py +6 -6
  37. huaweicloudsdkelb/v3/model/create_loadbalancer_autoscaling_option.py +6 -6
  38. huaweicloudsdkelb/v3/model/create_master_slave_health_monitor_option.py +6 -6
  39. huaweicloudsdkelb/v3/model/create_master_slave_member_option.py +3 -3
  40. huaweicloudsdkelb/v3/model/create_master_slave_pool_option.py +6 -6
  41. huaweicloudsdkelb/v3/model/create_member_option.py +6 -6
  42. huaweicloudsdkelb/v3/model/create_pool_option.py +84 -30
  43. huaweicloudsdkelb/v3/model/create_redirect_pools_config.py +143 -0
  44. huaweicloudsdkelb/v3/model/create_redirect_pools_extend_config.py +81 -6
  45. huaweicloudsdkelb/v3/model/create_redirect_pools_sticky_session_config.py +144 -0
  46. huaweicloudsdkelb/v3/model/create_redirect_url_config.py +53 -3
  47. huaweicloudsdkelb/v3/model/create_remove_header_config.py +114 -0
  48. huaweicloudsdkelb/v3/model/create_remove_headers_config.py +114 -0
  49. huaweicloudsdkelb/v3/model/create_rewrite_url_config.py +9 -9
  50. huaweicloudsdkelb/v3/model/create_rule_option.py +6 -6
  51. huaweicloudsdkelb/v3/model/create_traffic_limit_config.py +173 -0
  52. huaweicloudsdkelb/v3/model/delete_ip_group_request.py +3 -3
  53. huaweicloudsdkelb/v3/model/fixted_response_config.py +78 -3
  54. huaweicloudsdkelb/v3/model/flavor.py +79 -21
  55. huaweicloudsdkelb/v3/model/health_monitor.py +9 -9
  56. huaweicloudsdkelb/v3/model/insert_header_config.py +170 -0
  57. huaweicloudsdkelb/v3/model/insert_headers_config.py +114 -0
  58. huaweicloudsdkelb/v3/model/ip_group.py +119 -90
  59. huaweicloudsdkelb/v3/model/ip_group_ip.py +3 -3
  60. huaweicloudsdkelb/v3/model/ip_info.py +6 -6
  61. huaweicloudsdkelb/v3/model/l7_policy.py +67 -13
  62. huaweicloudsdkelb/v3/model/l7_rule.py +15 -15
  63. huaweicloudsdkelb/v3/model/list_all_members_request.py +3 -3
  64. huaweicloudsdkelb/v3/model/list_all_members_response.py +4 -4
  65. huaweicloudsdkelb/v3/model/list_certificates_request.py +64 -6
  66. huaweicloudsdkelb/v3/model/list_flavors_request.py +21 -21
  67. huaweicloudsdkelb/v3/model/list_flavors_response.py +6 -6
  68. huaweicloudsdkelb/v3/model/list_health_monitors_request.py +12 -12
  69. huaweicloudsdkelb/v3/model/list_ip_groups_request.py +53 -24
  70. huaweicloudsdkelb/v3/model/list_ip_groups_response.py +6 -6
  71. huaweicloudsdkelb/v3/model/list_l7_policies_request.py +3 -3
  72. huaweicloudsdkelb/v3/model/list_l7_rules_request.py +3 -3
  73. huaweicloudsdkelb/v3/model/list_listeners_request.py +24 -24
  74. huaweicloudsdkelb/v3/model/list_load_balancers_request.py +30 -30
  75. huaweicloudsdkelb/v3/model/list_logtanks_request.py +3 -3
  76. huaweicloudsdkelb/v3/model/list_master_slave_pools_request.py +6 -6
  77. huaweicloudsdkelb/v3/model/list_members_request.py +3 -3
  78. huaweicloudsdkelb/v3/model/list_pools_request.py +105 -18
  79. huaweicloudsdkelb/v3/model/list_security_policies_request.py +3 -3
  80. huaweicloudsdkelb/v3/model/listener.py +27 -27
  81. huaweicloudsdkelb/v3/model/listener_ref.py +3 -3
  82. huaweicloudsdkelb/v3/model/load_balancer.py +27 -27
  83. huaweicloudsdkelb/v3/model/load_balancer_status_policy.py +3 -3
  84. huaweicloudsdkelb/v3/model/master_slave_health_monitor.py +6 -6
  85. huaweicloudsdkelb/v3/model/master_slave_member.py +3 -3
  86. huaweicloudsdkelb/v3/model/master_slave_pool.py +15 -15
  87. huaweicloudsdkelb/v3/model/member.py +13 -158
  88. huaweicloudsdkelb/v3/model/member_info.py +656 -0
  89. huaweicloudsdkelb/v3/model/page_info.py +9 -9
  90. huaweicloudsdkelb/v3/model/pool.py +110 -27
  91. huaweicloudsdkelb/v3/model/pool_health.py +115 -0
  92. huaweicloudsdkelb/v3/model/prepaid_create_option.py +12 -12
  93. huaweicloudsdkelb/v3/model/quota.py +12 -12
  94. huaweicloudsdkelb/v3/model/quota_info.py +3 -3
  95. huaweicloudsdkelb/v3/model/redirect_pools_config.py +144 -0
  96. huaweicloudsdkelb/v3/model/redirect_pools_extend_config.py +81 -6
  97. huaweicloudsdkelb/v3/model/redirect_pools_sticky_session_config.py +144 -0
  98. huaweicloudsdkelb/v3/model/redirect_url_config.py +65 -9
  99. huaweicloudsdkelb/v3/model/remove_header_config.py +114 -0
  100. huaweicloudsdkelb/v3/model/remove_headers_config.py +114 -0
  101. huaweicloudsdkelb/v3/model/rewrite_url_config.py +9 -9
  102. huaweicloudsdkelb/v3/model/session_persistence.py +6 -6
  103. huaweicloudsdkelb/v3/model/show_certificate_private_key_echo_request.py +84 -0
  104. huaweicloudsdkelb/v3/model/show_certificate_private_key_echo_response.py +145 -0
  105. huaweicloudsdkelb/v3/model/show_flavor_request.py +3 -3
  106. huaweicloudsdkelb/v3/model/show_flavor_response.py +3 -3
  107. huaweicloudsdkelb/v3/model/show_ip_group_request.py +3 -3
  108. huaweicloudsdkelb/v3/model/show_ip_group_response.py +3 -3
  109. huaweicloudsdkelb/v3/model/traffic_limit_config.py +173 -0
  110. huaweicloudsdkelb/v3/model/upadate_ip_group_ip_option.py +6 -6
  111. huaweicloudsdkelb/v3/model/update_certificate_option.py +3 -3
  112. huaweicloudsdkelb/v3/model/update_fixted_response_config.py +78 -3
  113. huaweicloudsdkelb/v3/model/update_health_monitor_option.py +9 -9
  114. huaweicloudsdkelb/v3/model/update_insert_header_config.py +170 -0
  115. huaweicloudsdkelb/v3/model/update_insert_headers_config.py +114 -0
  116. huaweicloudsdkelb/v3/model/update_ip_group_option.py +9 -9
  117. huaweicloudsdkelb/v3/model/update_ip_group_request.py +3 -3
  118. huaweicloudsdkelb/v3/model/update_ip_group_response.py +3 -3
  119. huaweicloudsdkelb/v3/model/update_ip_list_option.py +9 -9
  120. huaweicloudsdkelb/v3/model/update_ip_list_request.py +3 -3
  121. huaweicloudsdkelb/v3/model/update_ip_list_response.py +3 -3
  122. huaweicloudsdkelb/v3/model/update_l7_policy_option.py +58 -4
  123. huaweicloudsdkelb/v3/model/update_l7_rule_option.py +3 -3
  124. huaweicloudsdkelb/v3/model/update_listener_ip_group_option.py +6 -6
  125. huaweicloudsdkelb/v3/model/update_listener_option.py +24 -24
  126. huaweicloudsdkelb/v3/model/update_load_balancer_option.py +24 -24
  127. huaweicloudsdkelb/v3/model/update_load_balancer_response.py +6 -6
  128. huaweicloudsdkelb/v3/model/update_pool_option.py +37 -12
  129. huaweicloudsdkelb/v3/model/update_pool_session_persistence_option.py +6 -6
  130. huaweicloudsdkelb/v3/model/update_redirect_pools_config.py +143 -0
  131. huaweicloudsdkelb/v3/model/update_redirect_pools_extend_config.py +81 -6
  132. huaweicloudsdkelb/v3/model/update_redirect_pools_sticky_session_config.py +144 -0
  133. huaweicloudsdkelb/v3/model/update_redirect_url_config.py +53 -3
  134. huaweicloudsdkelb/v3/model/update_remove_header_config.py +114 -0
  135. huaweicloudsdkelb/v3/model/update_remove_headers_config.py +114 -0
  136. huaweicloudsdkelb/v3/model/update_rewrite_url_config.py +173 -0
  137. huaweicloudsdkelb/v3/model/update_traffic_limit_config.py +173 -0
  138. {huaweicloudsdkelb-3.1.105.dist-info → huaweicloudsdkelb-3.1.107.dist-info}/METADATA +2 -2
  139. {huaweicloudsdkelb-3.1.105.dist-info → huaweicloudsdkelb-3.1.107.dist-info}/RECORD +142 -113
  140. {huaweicloudsdkelb-3.1.105.dist-info → huaweicloudsdkelb-3.1.107.dist-info}/LICENSE +0 -0
  141. {huaweicloudsdkelb-3.1.105.dist-info → huaweicloudsdkelb-3.1.107.dist-info}/WHEEL +0 -0
  142. {huaweicloudsdkelb-3.1.105.dist-info → huaweicloudsdkelb-3.1.107.dist-info}/top_level.txt +0 -0
@@ -34,7 +34,7 @@ class BatchDeleteIpListResponse(SdkResponse):
34
34
 
35
35
  :param ipgroup:
36
36
  :type ipgroup: :class:`huaweicloudsdkelb.v3.IpGroup`
37
- :param request_id: 请求ID。 注:自动生成 。
37
+ :param request_id: 参数解释:请求ID。 注:自动生成 。
38
38
  :type request_id: str
39
39
  """
40
40
 
@@ -71,7 +71,7 @@ class BatchDeleteIpListResponse(SdkResponse):
71
71
  def request_id(self):
72
72
  """Gets the request_id of this BatchDeleteIpListResponse.
73
73
 
74
- 请求ID。 注:自动生成 。
74
+ 参数解释:请求ID。 注:自动生成 。
75
75
 
76
76
  :return: The request_id of this BatchDeleteIpListResponse.
77
77
  :rtype: str
@@ -82,7 +82,7 @@ class BatchDeleteIpListResponse(SdkResponse):
82
82
  def request_id(self, request_id):
83
83
  """Sets the request_id of this BatchDeleteIpListResponse.
84
84
 
85
- 请求ID。 注:自动生成 。
85
+ 参数解释:请求ID。 注:自动生成 。
86
86
 
87
87
  :param request_id: The request_id of this BatchDeleteIpListResponse.
88
88
  :type request_id: str
@@ -30,7 +30,9 @@ class BatchMember:
30
30
  'member_type': 'str',
31
31
  'instance_id': 'str',
32
32
  'port_id': 'str',
33
- 'ret_status': 'str'
33
+ 'ret_status': 'str',
34
+ 'created_at': 'str',
35
+ 'updated_at': 'str'
34
36
  }
35
37
 
36
38
  attribute_map = {
@@ -47,10 +49,12 @@ class BatchMember:
47
49
  'member_type': 'member_type',
48
50
  'instance_id': 'instance_id',
49
51
  'port_id': 'port_id',
50
- 'ret_status': 'ret_status'
52
+ 'ret_status': 'ret_status',
53
+ 'created_at': 'created_at',
54
+ 'updated_at': 'updated_at'
51
55
  }
52
56
 
53
- def __init__(self, id=None, name=None, project_id=None, admin_state_up=None, subnet_cidr_id=None, protocol_port=None, weight=None, address=None, operating_status=None, status=None, member_type=None, instance_id=None, port_id=None, ret_status=None):
57
+ def __init__(self, id=None, name=None, project_id=None, admin_state_up=None, subnet_cidr_id=None, protocol_port=None, weight=None, address=None, operating_status=None, status=None, member_type=None, instance_id=None, port_id=None, ret_status=None, created_at=None, updated_at=None):
54
58
  """BatchMember
55
59
 
56
60
  The model defined in huaweicloud sdk
@@ -63,13 +67,13 @@ class BatchMember:
63
67
  :type project_id: str
64
68
  :param admin_state_up: 后端云服务器的管理状态。 取值:true、false。 虽然创建、更新请求支持该字段,但实际取值决定于后端云服务器对应的弹性云服务器是否存在。若存在,该值为true,否则,该值为false。
65
69
  :type admin_state_up: bool
66
- :param subnet_cidr_id: 后端云服务器所在子网的IPv4子网ID或IPv6子网ID 若所属的LB的跨VPC后端转发特性已开启,则该字段可以不传,表示添加跨VPC的后端服务器。 此时address必须为IPv4地址,所在的pool的协议必须为TCP/HTTP/HTTPS。 使用说明: - 该子网和关联的负载均衡器的子网必须在同一VPC下。 [不支持IPv6,请勿设置为IPv6子网ID。](tag:dt,dt_test)
70
+ :param subnet_cidr_id: 后端云服务器所在的子网,可以是IPv4或IPv6子网。若是IPv4子网,使用对应子网的子网ID(neutron_subnet_id);若是IPv6子网,使用对应子网的网络ID(neutron_network_id)。 ipv4子网的子网ID可以通过GET https://{VPC_Endpoint}/v1/{project_id}/subnets 响应参数中的neutron_subnet_id得到 ipv6子网的网络ID可以通过GET https://{VPC_Endpoint}/v1/{project_id}/subnets 响应参数中的neutron_network_id得到 使用说明: - 该子网和关联的负载均衡器的子网必须在同一VPC下。 - 若所属LB的跨VPC后端转发已开启(ip_target_enable=true),则该字段可以不传,表示添加跨VPC的后端服务器。 此时address必须为IPv4地址,所在的pool的协议必须为TCP/HTTP/HTTPS。 - 若所属LB未开启跨VPC后端转发,该参数必填。 [不支持IPv6,请勿设置为IPv6子网ID。](tag:dt,dt_test)
67
71
  :type subnet_cidr_id: str
68
72
  :param protocol_port: 后端服务器业务端口。 >在开启端口透传的pool下创建member传该字段不生效,可不传该字段。
69
73
  :type protocol_port: int
70
74
  :param weight: 后端云服务器的权重,请求将根据pool配置的负载均衡算法和后端云服务器的权重进行负载分发。 权重值越大,分发的请求越多。权重为0的后端不再接受新的请求。 取值:0-100,默认1。 使用说明: - 若所在pool的lb_algorithm取值为SOURCE_IP,该字段无效。
71
75
  :type weight: int
72
- :param address: 后端服务器对应的IP地址。 使用说明: - 若subnet_cidr_id为空,表示添加跨VPC后端,此时address必须为IPv4地址。 - 若subnet_cidr_id不为空,表示是一个关联到ECS的后端服务器。该IP地址可以是IPv4或IPv6。 但必须在subnet_cidr_id对应的子网网段中。且只能指定为关联ECS的主网卡内网IP。 [不支持IPv6,请勿设置为IPv6地址。](tag:dt,dt_test)
76
+ :param address: 后端服务器对应的IP地址。 使用说明: - 若subnet_cidr_id为空,表示添加跨VPC后端,此时address必须为IPv4地址。 - 若subnet_cidr_id不为空,表示是一个关联到ECS的后端服务器。该IP地址可以是私网IPv4或IPv6。 但必须在subnet_cidr_id对应的子网网段中。且只能指定为关联ECS的主网卡内网IP。 [不支持IPv6,请勿设置为IPv6地址。](tag:dt,dt_test)
73
77
  :type address: str
74
78
  :param operating_status: 后端云服务器的健康状态。 取值: - ONLINE:后端云服务器正常。 - NO_MONITOR:后端云服务器所在的服务器组没有健康检查器。 - OFFLINE:后端云服务器关联的ECS服务器不存在或已关机。
75
79
  :type operating_status: str
@@ -83,6 +87,10 @@ class BatchMember:
83
87
  :type port_id: str
84
88
  :param ret_status: 当前后端服务器创建结果状态。 取值: - successful:添加成功。 - existed:member已存在。
85
89
  :type ret_status: str
90
+ :param created_at: 创建时间。格式:yyyy-MM-dd'T'HH:mm:ss'Z',UTC时区。 [注意:独享型实例的历史数据以及共享型实例下的资源,不返回该字段。 ](tag:hws,hws_hk,ocb,ctc,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,fcs,dt,hk_tm)
91
+ :type created_at: str
92
+ :param updated_at: 更新时间。格式:yyyy-MM-dd'T'HH:mm:ss'Z',UTC时区。 [注意:独享型实例的历史数据以及共享型实例下的资源,不返回该字段。 ](tag:hws,hws_hk,ocb,ctc,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,fcs,dt,hk_tm)
93
+ :type updated_at: str
86
94
  """
87
95
 
88
96
 
@@ -101,6 +109,8 @@ class BatchMember:
101
109
  self._instance_id = None
102
110
  self._port_id = None
103
111
  self._ret_status = None
112
+ self._created_at = None
113
+ self._updated_at = None
104
114
  self.discriminator = None
105
115
 
106
116
  self.id = id
@@ -121,6 +131,10 @@ class BatchMember:
121
131
  self.instance_id = instance_id
122
132
  self.port_id = port_id
123
133
  self.ret_status = ret_status
134
+ if created_at is not None:
135
+ self.created_at = created_at
136
+ if updated_at is not None:
137
+ self.updated_at = updated_at
124
138
 
125
139
  @property
126
140
  def id(self):
@@ -214,7 +228,7 @@ class BatchMember:
214
228
  def subnet_cidr_id(self):
215
229
  """Gets the subnet_cidr_id of this BatchMember.
216
230
 
217
- 后端云服务器所在子网的IPv4子网ID或IPv6子网ID 若所属的LB的跨VPC后端转发特性已开启,则该字段可以不传,表示添加跨VPC的后端服务器。 此时address必须为IPv4地址,所在的pool的协议必须为TCP/HTTP/HTTPS。 使用说明: - 该子网和关联的负载均衡器的子网必须在同一VPC下。 [不支持IPv6,请勿设置为IPv6子网ID。](tag:dt,dt_test)
231
+ 后端云服务器所在的子网,可以是IPv4或IPv6子网。若是IPv4子网,使用对应子网的子网ID(neutron_subnet_id);若是IPv6子网,使用对应子网的网络ID(neutron_network_id)。 ipv4子网的子网ID可以通过GET https://{VPC_Endpoint}/v1/{project_id}/subnets 响应参数中的neutron_subnet_id得到 ipv6子网的网络ID可以通过GET https://{VPC_Endpoint}/v1/{project_id}/subnets 响应参数中的neutron_network_id得到 使用说明: - 该子网和关联的负载均衡器的子网必须在同一VPC下。 - 若所属LB的跨VPC后端转发已开启(ip_target_enable=true),则该字段可以不传,表示添加跨VPC的后端服务器。 此时address必须为IPv4地址,所在的pool的协议必须为TCP/HTTP/HTTPS。 - 若所属LB未开启跨VPC后端转发,该参数必填。 [不支持IPv6,请勿设置为IPv6子网ID。](tag:dt,dt_test)
218
232
 
219
233
  :return: The subnet_cidr_id of this BatchMember.
220
234
  :rtype: str
@@ -225,7 +239,7 @@ class BatchMember:
225
239
  def subnet_cidr_id(self, subnet_cidr_id):
226
240
  """Sets the subnet_cidr_id of this BatchMember.
227
241
 
228
- 后端云服务器所在子网的IPv4子网ID或IPv6子网ID 若所属的LB的跨VPC后端转发特性已开启,则该字段可以不传,表示添加跨VPC的后端服务器。 此时address必须为IPv4地址,所在的pool的协议必须为TCP/HTTP/HTTPS。 使用说明: - 该子网和关联的负载均衡器的子网必须在同一VPC下。 [不支持IPv6,请勿设置为IPv6子网ID。](tag:dt,dt_test)
242
+ 后端云服务器所在的子网,可以是IPv4或IPv6子网。若是IPv4子网,使用对应子网的子网ID(neutron_subnet_id);若是IPv6子网,使用对应子网的网络ID(neutron_network_id)。 ipv4子网的子网ID可以通过GET https://{VPC_Endpoint}/v1/{project_id}/subnets 响应参数中的neutron_subnet_id得到 ipv6子网的网络ID可以通过GET https://{VPC_Endpoint}/v1/{project_id}/subnets 响应参数中的neutron_network_id得到 使用说明: - 该子网和关联的负载均衡器的子网必须在同一VPC下。 - 若所属LB的跨VPC后端转发已开启(ip_target_enable=true),则该字段可以不传,表示添加跨VPC的后端服务器。 此时address必须为IPv4地址,所在的pool的协议必须为TCP/HTTP/HTTPS。 - 若所属LB未开启跨VPC后端转发,该参数必填。 [不支持IPv6,请勿设置为IPv6子网ID。](tag:dt,dt_test)
229
243
 
230
244
  :param subnet_cidr_id: The subnet_cidr_id of this BatchMember.
231
245
  :type subnet_cidr_id: str
@@ -280,7 +294,7 @@ class BatchMember:
280
294
  def address(self):
281
295
  """Gets the address of this BatchMember.
282
296
 
283
- 后端服务器对应的IP地址。 使用说明: - 若subnet_cidr_id为空,表示添加跨VPC后端,此时address必须为IPv4地址。 - 若subnet_cidr_id不为空,表示是一个关联到ECS的后端服务器。该IP地址可以是IPv4或IPv6。 但必须在subnet_cidr_id对应的子网网段中。且只能指定为关联ECS的主网卡内网IP。 [不支持IPv6,请勿设置为IPv6地址。](tag:dt,dt_test)
297
+ 后端服务器对应的IP地址。 使用说明: - 若subnet_cidr_id为空,表示添加跨VPC后端,此时address必须为IPv4地址。 - 若subnet_cidr_id不为空,表示是一个关联到ECS的后端服务器。该IP地址可以是私网IPv4或IPv6。 但必须在subnet_cidr_id对应的子网网段中。且只能指定为关联ECS的主网卡内网IP。 [不支持IPv6,请勿设置为IPv6地址。](tag:dt,dt_test)
284
298
 
285
299
  :return: The address of this BatchMember.
286
300
  :rtype: str
@@ -291,7 +305,7 @@ class BatchMember:
291
305
  def address(self, address):
292
306
  """Sets the address of this BatchMember.
293
307
 
294
- 后端服务器对应的IP地址。 使用说明: - 若subnet_cidr_id为空,表示添加跨VPC后端,此时address必须为IPv4地址。 - 若subnet_cidr_id不为空,表示是一个关联到ECS的后端服务器。该IP地址可以是IPv4或IPv6。 但必须在subnet_cidr_id对应的子网网段中。且只能指定为关联ECS的主网卡内网IP。 [不支持IPv6,请勿设置为IPv6地址。](tag:dt,dt_test)
308
+ 后端服务器对应的IP地址。 使用说明: - 若subnet_cidr_id为空,表示添加跨VPC后端,此时address必须为IPv4地址。 - 若subnet_cidr_id不为空,表示是一个关联到ECS的后端服务器。该IP地址可以是私网IPv4或IPv6。 但必须在subnet_cidr_id对应的子网网段中。且只能指定为关联ECS的主网卡内网IP。 [不支持IPv6,请勿设置为IPv6地址。](tag:dt,dt_test)
295
309
 
296
310
  :param address: The address of this BatchMember.
297
311
  :type address: str
@@ -430,6 +444,50 @@ class BatchMember:
430
444
  """
431
445
  self._ret_status = ret_status
432
446
 
447
+ @property
448
+ def created_at(self):
449
+ """Gets the created_at of this BatchMember.
450
+
451
+ 创建时间。格式:yyyy-MM-dd'T'HH:mm:ss'Z',UTC时区。 [注意:独享型实例的历史数据以及共享型实例下的资源,不返回该字段。 ](tag:hws,hws_hk,ocb,ctc,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,fcs,dt,hk_tm)
452
+
453
+ :return: The created_at of this BatchMember.
454
+ :rtype: str
455
+ """
456
+ return self._created_at
457
+
458
+ @created_at.setter
459
+ def created_at(self, created_at):
460
+ """Sets the created_at of this BatchMember.
461
+
462
+ 创建时间。格式:yyyy-MM-dd'T'HH:mm:ss'Z',UTC时区。 [注意:独享型实例的历史数据以及共享型实例下的资源,不返回该字段。 ](tag:hws,hws_hk,ocb,ctc,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,fcs,dt,hk_tm)
463
+
464
+ :param created_at: The created_at of this BatchMember.
465
+ :type created_at: str
466
+ """
467
+ self._created_at = created_at
468
+
469
+ @property
470
+ def updated_at(self):
471
+ """Gets the updated_at of this BatchMember.
472
+
473
+ 更新时间。格式:yyyy-MM-dd'T'HH:mm:ss'Z',UTC时区。 [注意:独享型实例的历史数据以及共享型实例下的资源,不返回该字段。 ](tag:hws,hws_hk,ocb,ctc,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,fcs,dt,hk_tm)
474
+
475
+ :return: The updated_at of this BatchMember.
476
+ :rtype: str
477
+ """
478
+ return self._updated_at
479
+
480
+ @updated_at.setter
481
+ def updated_at(self, updated_at):
482
+ """Sets the updated_at of this BatchMember.
483
+
484
+ 更新时间。格式:yyyy-MM-dd'T'HH:mm:ss'Z',UTC时区。 [注意:独享型实例的历史数据以及共享型实例下的资源,不返回该字段。 ](tag:hws,hws_hk,ocb,ctc,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,fcs,dt,hk_tm)
485
+
486
+ :param updated_at: The updated_at of this BatchMember.
487
+ :type updated_at: str
488
+ """
489
+ self._updated_at = updated_at
490
+
433
491
  def to_dict(self):
434
492
  """Returns the model properties as a dict"""
435
493
  result = {}
@@ -29,7 +29,9 @@ class BatchUpdateMember:
29
29
  'status': 'list[MemberStatus]',
30
30
  'member_type': 'str',
31
31
  'instance_id': 'str',
32
- 'port_id': 'str'
32
+ 'port_id': 'str',
33
+ 'created_at': 'str',
34
+ 'updated_at': 'str'
33
35
  }
34
36
 
35
37
  attribute_map = {
@@ -45,10 +47,12 @@ class BatchUpdateMember:
45
47
  'status': 'status',
46
48
  'member_type': 'member_type',
47
49
  'instance_id': 'instance_id',
48
- 'port_id': 'port_id'
50
+ 'port_id': 'port_id',
51
+ 'created_at': 'created_at',
52
+ 'updated_at': 'updated_at'
49
53
  }
50
54
 
51
- def __init__(self, id=None, name=None, project_id=None, admin_state_up=None, subnet_cidr_id=None, protocol_port=None, weight=None, address=None, operating_status=None, status=None, member_type=None, instance_id=None, port_id=None):
55
+ def __init__(self, id=None, name=None, project_id=None, admin_state_up=None, subnet_cidr_id=None, protocol_port=None, weight=None, address=None, operating_status=None, status=None, member_type=None, instance_id=None, port_id=None, created_at=None, updated_at=None):
52
56
  """BatchUpdateMember
53
57
 
54
58
  The model defined in huaweicloud sdk
@@ -61,13 +65,13 @@ class BatchUpdateMember:
61
65
  :type project_id: str
62
66
  :param admin_state_up: 后端云服务器的管理状态。取值:true、false。 虽然创建、更新请求支持该字段,但实际取值决定于后端云服务器对应的弹性云服务器是否存在。若存在,该值为true,否则,该值为false。
63
67
  :type admin_state_up: bool
64
- :param subnet_cidr_id: 后端云服务器所在子网的IPv4子网ID或IPv6子网ID 若所属的LB的跨VPC后端转发特性已开启,则该字段可以不传,表示添加跨VPC的后端服务器。此时address必须为IPv4地址,所在的pool的协议必须为TCP/HTTP/HTTPS。 使用说明: - 该子网和关联的负载均衡器的子网必须在同一VPC下。 [不支持IPv6,请勿设置为IPv6子网ID。](tag:dt,dt_test)
68
+ :param subnet_cidr_id: 后端云服务器所在的子网,可以是IPv4或IPv6子网。若是IPv4子网,使用对应子网的子网ID(neutron_subnet_id);若是IPv6子网,使用对应子网的网络ID(neutron_network_id)。 ipv4子网的子网ID可以通过GET https://{VPC_Endpoint}/v1/{project_id}/subnets 响应参数中的neutron_subnet_id得到 ipv6子网的网络ID可以通过GET https://{VPC_Endpoint}/v1/{project_id}/subnets 响应参数中的neutron_network_id得到 使用说明: - 该子网和关联的负载均衡器的子网必须在同一VPC下。 - 若所属LB的跨VPC后端转发已开启(ip_target_enable=true),则该字段可以不传,表示添加跨VPC的后端服务器。 此时address必须为IPv4地址,所在的pool的协议必须为TCP/HTTP/HTTPS。 - 若所属LB未开启跨VPC后端转发,该参数必填。 [不支持IPv6,请勿设置为IPv6子网ID。](tag:dt,dt_test)
65
69
  :type subnet_cidr_id: str
66
70
  :param protocol_port: 后端服务器业务端口号。 >在开启端口透传的pool下的member,该字段不支持更新
67
71
  :type protocol_port: int
68
72
  :param weight: 后端云服务器的权重,请求将根据pool配置的负载均衡算法和后端云服务器的权重进行负载分发。权重值越大,分发的请求越多。权重为0的后端不再接受新的请求。 取值:0-100,默认1。 使用说明: - 若所在pool的lb_algorithm取值为SOURCE_IP,该字段无效。
69
73
  :type weight: int
70
- :param address: 后端服务器对应的IP地址。 使用说明: - 若subnet_cidr_id为空,表示添加跨VPC后端,此时address必须为IPv4地址。 - 若subnet_cidr_id不为空,表示是一个关联到ECS的后端服务器。该IP地址可以是IPv4或IPv6。但必须在subnet_cidr_id对应的子网网段中。且只能指定为关联ECS的主网卡内网IP。 [不支持IPv6,请勿设置为IPv6地址。](tag:dt,dt_test)
74
+ :param address: 后端服务器对应的IP地址。 使用说明: - 若subnet_cidr_id为空,表示添加跨VPC后端,此时address必须为IPv4地址。 - 若subnet_cidr_id不为空,表示是一个关联到ECS的后端服务器。该IP地址可以是私网IPv4或IPv6。但必须在subnet_cidr_id对应的子网网段中。且只能指定为关联ECS的主网卡内网IP。 [不支持IPv6,请勿设置为IPv6地址。](tag:dt,dt_test)
71
75
  :type address: str
72
76
  :param operating_status: 后端云服务器的健康状态。取值: - ONLINE:后端云服务器正常。 - NO_MONITOR:后端云服务器所在的服务器组没有健康检查器。 - OFFLINE:后端云服务器关联的ECS服务器不存在或已关机。
73
77
  :type operating_status: str
@@ -79,6 +83,10 @@ class BatchUpdateMember:
79
83
  :type instance_id: str
80
84
  :param port_id: IP地址对应的VPC port ID
81
85
  :type port_id: str
86
+ :param created_at: 创建时间。格式:yyyy-MM-dd'T'HH:mm:ss'Z',UTC时区。 [注意:独享型实例的历史数据以及共享型实例下的资源,不返回该字段。 ](tag:hws,hws_hk,ocb,ctc,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,fcs,dt,hk_tm)
87
+ :type created_at: str
88
+ :param updated_at: 更新时间。格式:yyyy-MM-dd'T'HH:mm:ss'Z',UTC时区。 [注意:独享型实例的历史数据以及共享型实例下的资源,不返回该字段。 ](tag:hws,hws_hk,ocb,ctc,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,fcs,dt,hk_tm)
89
+ :type updated_at: str
82
90
  """
83
91
 
84
92
 
@@ -96,6 +104,8 @@ class BatchUpdateMember:
96
104
  self._member_type = None
97
105
  self._instance_id = None
98
106
  self._port_id = None
107
+ self._created_at = None
108
+ self._updated_at = None
99
109
  self.discriminator = None
100
110
 
101
111
  self.id = id
@@ -115,6 +125,10 @@ class BatchUpdateMember:
115
125
  if instance_id is not None:
116
126
  self.instance_id = instance_id
117
127
  self.port_id = port_id
128
+ if created_at is not None:
129
+ self.created_at = created_at
130
+ if updated_at is not None:
131
+ self.updated_at = updated_at
118
132
 
119
133
  @property
120
134
  def id(self):
@@ -208,7 +222,7 @@ class BatchUpdateMember:
208
222
  def subnet_cidr_id(self):
209
223
  """Gets the subnet_cidr_id of this BatchUpdateMember.
210
224
 
211
- 后端云服务器所在子网的IPv4子网ID或IPv6子网ID 若所属的LB的跨VPC后端转发特性已开启,则该字段可以不传,表示添加跨VPC的后端服务器。此时address必须为IPv4地址,所在的pool的协议必须为TCP/HTTP/HTTPS。 使用说明: - 该子网和关联的负载均衡器的子网必须在同一VPC下。 [不支持IPv6,请勿设置为IPv6子网ID。](tag:dt,dt_test)
225
+ 后端云服务器所在的子网,可以是IPv4或IPv6子网。若是IPv4子网,使用对应子网的子网ID(neutron_subnet_id);若是IPv6子网,使用对应子网的网络ID(neutron_network_id)。 ipv4子网的子网ID可以通过GET https://{VPC_Endpoint}/v1/{project_id}/subnets 响应参数中的neutron_subnet_id得到 ipv6子网的网络ID可以通过GET https://{VPC_Endpoint}/v1/{project_id}/subnets 响应参数中的neutron_network_id得到 使用说明: - 该子网和关联的负载均衡器的子网必须在同一VPC下。 - 若所属LB的跨VPC后端转发已开启(ip_target_enable=true),则该字段可以不传,表示添加跨VPC的后端服务器。 此时address必须为IPv4地址,所在的pool的协议必须为TCP/HTTP/HTTPS。 - 若所属LB未开启跨VPC后端转发,该参数必填。 [不支持IPv6,请勿设置为IPv6子网ID。](tag:dt,dt_test)
212
226
 
213
227
  :return: The subnet_cidr_id of this BatchUpdateMember.
214
228
  :rtype: str
@@ -219,7 +233,7 @@ class BatchUpdateMember:
219
233
  def subnet_cidr_id(self, subnet_cidr_id):
220
234
  """Sets the subnet_cidr_id of this BatchUpdateMember.
221
235
 
222
- 后端云服务器所在子网的IPv4子网ID或IPv6子网ID 若所属的LB的跨VPC后端转发特性已开启,则该字段可以不传,表示添加跨VPC的后端服务器。此时address必须为IPv4地址,所在的pool的协议必须为TCP/HTTP/HTTPS。 使用说明: - 该子网和关联的负载均衡器的子网必须在同一VPC下。 [不支持IPv6,请勿设置为IPv6子网ID。](tag:dt,dt_test)
236
+ 后端云服务器所在的子网,可以是IPv4或IPv6子网。若是IPv4子网,使用对应子网的子网ID(neutron_subnet_id);若是IPv6子网,使用对应子网的网络ID(neutron_network_id)。 ipv4子网的子网ID可以通过GET https://{VPC_Endpoint}/v1/{project_id}/subnets 响应参数中的neutron_subnet_id得到 ipv6子网的网络ID可以通过GET https://{VPC_Endpoint}/v1/{project_id}/subnets 响应参数中的neutron_network_id得到 使用说明: - 该子网和关联的负载均衡器的子网必须在同一VPC下。 - 若所属LB的跨VPC后端转发已开启(ip_target_enable=true),则该字段可以不传,表示添加跨VPC的后端服务器。 此时address必须为IPv4地址,所在的pool的协议必须为TCP/HTTP/HTTPS。 - 若所属LB未开启跨VPC后端转发,该参数必填。 [不支持IPv6,请勿设置为IPv6子网ID。](tag:dt,dt_test)
223
237
 
224
238
  :param subnet_cidr_id: The subnet_cidr_id of this BatchUpdateMember.
225
239
  :type subnet_cidr_id: str
@@ -274,7 +288,7 @@ class BatchUpdateMember:
274
288
  def address(self):
275
289
  """Gets the address of this BatchUpdateMember.
276
290
 
277
- 后端服务器对应的IP地址。 使用说明: - 若subnet_cidr_id为空,表示添加跨VPC后端,此时address必须为IPv4地址。 - 若subnet_cidr_id不为空,表示是一个关联到ECS的后端服务器。该IP地址可以是IPv4或IPv6。但必须在subnet_cidr_id对应的子网网段中。且只能指定为关联ECS的主网卡内网IP。 [不支持IPv6,请勿设置为IPv6地址。](tag:dt,dt_test)
291
+ 后端服务器对应的IP地址。 使用说明: - 若subnet_cidr_id为空,表示添加跨VPC后端,此时address必须为IPv4地址。 - 若subnet_cidr_id不为空,表示是一个关联到ECS的后端服务器。该IP地址可以是私网IPv4或IPv6。但必须在subnet_cidr_id对应的子网网段中。且只能指定为关联ECS的主网卡内网IP。 [不支持IPv6,请勿设置为IPv6地址。](tag:dt,dt_test)
278
292
 
279
293
  :return: The address of this BatchUpdateMember.
280
294
  :rtype: str
@@ -285,7 +299,7 @@ class BatchUpdateMember:
285
299
  def address(self, address):
286
300
  """Sets the address of this BatchUpdateMember.
287
301
 
288
- 后端服务器对应的IP地址。 使用说明: - 若subnet_cidr_id为空,表示添加跨VPC后端,此时address必须为IPv4地址。 - 若subnet_cidr_id不为空,表示是一个关联到ECS的后端服务器。该IP地址可以是IPv4或IPv6。但必须在subnet_cidr_id对应的子网网段中。且只能指定为关联ECS的主网卡内网IP。 [不支持IPv6,请勿设置为IPv6地址。](tag:dt,dt_test)
302
+ 后端服务器对应的IP地址。 使用说明: - 若subnet_cidr_id为空,表示添加跨VPC后端,此时address必须为IPv4地址。 - 若subnet_cidr_id不为空,表示是一个关联到ECS的后端服务器。该IP地址可以是私网IPv4或IPv6。但必须在subnet_cidr_id对应的子网网段中。且只能指定为关联ECS的主网卡内网IP。 [不支持IPv6,请勿设置为IPv6地址。](tag:dt,dt_test)
289
303
 
290
304
  :param address: The address of this BatchUpdateMember.
291
305
  :type address: str
@@ -402,6 +416,50 @@ class BatchUpdateMember:
402
416
  """
403
417
  self._port_id = port_id
404
418
 
419
+ @property
420
+ def created_at(self):
421
+ """Gets the created_at of this BatchUpdateMember.
422
+
423
+ 创建时间。格式:yyyy-MM-dd'T'HH:mm:ss'Z',UTC时区。 [注意:独享型实例的历史数据以及共享型实例下的资源,不返回该字段。 ](tag:hws,hws_hk,ocb,ctc,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,fcs,dt,hk_tm)
424
+
425
+ :return: The created_at of this BatchUpdateMember.
426
+ :rtype: str
427
+ """
428
+ return self._created_at
429
+
430
+ @created_at.setter
431
+ def created_at(self, created_at):
432
+ """Sets the created_at of this BatchUpdateMember.
433
+
434
+ 创建时间。格式:yyyy-MM-dd'T'HH:mm:ss'Z',UTC时区。 [注意:独享型实例的历史数据以及共享型实例下的资源,不返回该字段。 ](tag:hws,hws_hk,ocb,ctc,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,fcs,dt,hk_tm)
435
+
436
+ :param created_at: The created_at of this BatchUpdateMember.
437
+ :type created_at: str
438
+ """
439
+ self._created_at = created_at
440
+
441
+ @property
442
+ def updated_at(self):
443
+ """Gets the updated_at of this BatchUpdateMember.
444
+
445
+ 更新时间。格式:yyyy-MM-dd'T'HH:mm:ss'Z',UTC时区。 [注意:独享型实例的历史数据以及共享型实例下的资源,不返回该字段。 ](tag:hws,hws_hk,ocb,ctc,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,fcs,dt,hk_tm)
446
+
447
+ :return: The updated_at of this BatchUpdateMember.
448
+ :rtype: str
449
+ """
450
+ return self._updated_at
451
+
452
+ @updated_at.setter
453
+ def updated_at(self, updated_at):
454
+ """Sets the updated_at of this BatchUpdateMember.
455
+
456
+ 更新时间。格式:yyyy-MM-dd'T'HH:mm:ss'Z',UTC时区。 [注意:独享型实例的历史数据以及共享型实例下的资源,不返回该字段。 ](tag:hws,hws_hk,ocb,ctc,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,fcs,dt,hk_tm)
457
+
458
+ :param updated_at: The updated_at of this BatchUpdateMember.
459
+ :type updated_at: str
460
+ """
461
+ self._updated_at = updated_at
462
+
405
463
  def to_dict(self):
406
464
  """Returns the model properties as a dict"""
407
465
  result = {}
@@ -33,7 +33,7 @@ class BatchUpdatePriorityRequestBody:
33
33
 
34
34
  :param id: 待更新的l7policy的ID。
35
35
  :type id: str
36
- :param priority: 转发策略的优先级。数字越小表示优先级越高,同一监听器下不允许重复。 当监听器的高级转发策略功能(enhance_l7policy_enable)开启后才会生效,未开启传入该字段会报错。 当action为REDIRECT_TO_LISTENER时,仅支持指定为0,优先级最高。 当关联的listener没有开启enhance_l7policy_enable,按原有policy的排序逻辑,自动排序。 各域名之间优先级独立,相同域名下,按path的compare_type排序, 精确>前缀>正则,匹配类型相同时,path的长度越长优先级越高。 若policy下只有域名rule,没有路径rule,默认path为前缀匹配/。 当关联的listener开启了enhance_l7policy_enable,且不传该字段, 则新创建的转发策略的优先级的值为:同一监听器下已有转发策略的优先级的最大值+1。 因此,若当前已有转发策略的优先级的最大值是10000,新创建会因超出取值范围10000而失败。 此时可通过传入指定priority,或调整原有policy的优先级来避免错误。 若监听器下没有转发策略,则新建的转发策略的优先级为1。 [共享型负载均衡器下的转发策略不支持该字段。 ](tag:hws,hws_hk,ocb,ctc,g42,tm,cmcc,hk_g42,hws_ocb,fcs,dt,hk_tm) [不支持该字段,请勿使用。](tag:hcso_dt) [荷兰region不支持该字段,请勿使用。](tag:dt)
36
+ :param priority: 参数解释: 转发策略的优先级。数字越小表示优先级越高。各域名之间优先级独立,相同域名下,按path的compare_type排序, 精确>前缀>正则,匹配类型相同时,path的长度越长优先级越高。 若policy下只有域名rule,没有路径rule,默认path为前缀匹配/。 若关联的listener开启了enhance_l7policy_enable,且不传该字段, 则新创建的转发策略的优先级的值为:同一监听器下已有转发策略的优先级的最大值+1。 因此,若当前已有转发策略的优先级的最大值是10000,新创建会因超出取值范围10000而失败。 此时可通过传入指定priority,或调整原有policy的优先级来避免错误。 若监听器下没有转发策略,则新建的转发策略的优先级为1。 约束限制: - 同一个监听器下不允许重复的优先级数值。 - 当监听器的高级转发策略功能(enhance_l7policy_enable)开启后才会生效,未开启传入该字段会报错。 - 当action为REDIRECT_TO_LISTENER时,仅支持指定为0,优先级最高。 - 当关联的listener没有开启enhance_l7policy_enable,按原有policy的排序逻辑,自动排序。 [- 共享型负载均衡器下的转发策略不支持该字段。 ](tag:hws,hws_hk,ocb,ctc,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,fcs,dt,hk_tm) 取值范围:1-10000 [不支持该字段,请勿使用。](tag:hcso_dt) [荷兰region不支持该字段,请勿使用。](tag:dt,dt_test)
37
37
  :type priority: int
38
38
  """
39
39
 
@@ -72,7 +72,7 @@ class BatchUpdatePriorityRequestBody:
72
72
  def priority(self):
73
73
  """Gets the priority of this BatchUpdatePriorityRequestBody.
74
74
 
75
- 转发策略的优先级。数字越小表示优先级越高,同一监听器下不允许重复。 当监听器的高级转发策略功能(enhance_l7policy_enable)开启后才会生效,未开启传入该字段会报错。 当action为REDIRECT_TO_LISTENER时,仅支持指定为0,优先级最高。 当关联的listener没有开启enhance_l7policy_enable,按原有policy的排序逻辑,自动排序。 各域名之间优先级独立,相同域名下,按path的compare_type排序, 精确>前缀>正则,匹配类型相同时,path的长度越长优先级越高。 若policy下只有域名rule,没有路径rule,默认path为前缀匹配/。 当关联的listener开启了enhance_l7policy_enable,且不传该字段, 则新创建的转发策略的优先级的值为:同一监听器下已有转发策略的优先级的最大值+1。 因此,若当前已有转发策略的优先级的最大值是10000,新创建会因超出取值范围10000而失败。 此时可通过传入指定priority,或调整原有policy的优先级来避免错误。 若监听器下没有转发策略,则新建的转发策略的优先级为1。 [共享型负载均衡器下的转发策略不支持该字段。 ](tag:hws,hws_hk,ocb,ctc,g42,tm,cmcc,hk_g42,hws_ocb,fcs,dt,hk_tm) [不支持该字段,请勿使用。](tag:hcso_dt) [荷兰region不支持该字段,请勿使用。](tag:dt)
75
+ 参数解释: 转发策略的优先级。数字越小表示优先级越高。各域名之间优先级独立,相同域名下,按path的compare_type排序, 精确>前缀>正则,匹配类型相同时,path的长度越长优先级越高。 若policy下只有域名rule,没有路径rule,默认path为前缀匹配/。 若关联的listener开启了enhance_l7policy_enable,且不传该字段, 则新创建的转发策略的优先级的值为:同一监听器下已有转发策略的优先级的最大值+1。 因此,若当前已有转发策略的优先级的最大值是10000,新创建会因超出取值范围10000而失败。 此时可通过传入指定priority,或调整原有policy的优先级来避免错误。 若监听器下没有转发策略,则新建的转发策略的优先级为1。 约束限制: - 同一个监听器下不允许重复的优先级数值。 - 当监听器的高级转发策略功能(enhance_l7policy_enable)开启后才会生效,未开启传入该字段会报错。 - 当action为REDIRECT_TO_LISTENER时,仅支持指定为0,优先级最高。 - 当关联的listener没有开启enhance_l7policy_enable,按原有policy的排序逻辑,自动排序。 [- 共享型负载均衡器下的转发策略不支持该字段。 ](tag:hws,hws_hk,ocb,ctc,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,fcs,dt,hk_tm) 取值范围:1-10000 [不支持该字段,请勿使用。](tag:hcso_dt) [荷兰region不支持该字段,请勿使用。](tag:dt,dt_test)
76
76
 
77
77
  :return: The priority of this BatchUpdatePriorityRequestBody.
78
78
  :rtype: int
@@ -83,7 +83,7 @@ class BatchUpdatePriorityRequestBody:
83
83
  def priority(self, priority):
84
84
  """Sets the priority of this BatchUpdatePriorityRequestBody.
85
85
 
86
- 转发策略的优先级。数字越小表示优先级越高,同一监听器下不允许重复。 当监听器的高级转发策略功能(enhance_l7policy_enable)开启后才会生效,未开启传入该字段会报错。 当action为REDIRECT_TO_LISTENER时,仅支持指定为0,优先级最高。 当关联的listener没有开启enhance_l7policy_enable,按原有policy的排序逻辑,自动排序。 各域名之间优先级独立,相同域名下,按path的compare_type排序, 精确>前缀>正则,匹配类型相同时,path的长度越长优先级越高。 若policy下只有域名rule,没有路径rule,默认path为前缀匹配/。 当关联的listener开启了enhance_l7policy_enable,且不传该字段, 则新创建的转发策略的优先级的值为:同一监听器下已有转发策略的优先级的最大值+1。 因此,若当前已有转发策略的优先级的最大值是10000,新创建会因超出取值范围10000而失败。 此时可通过传入指定priority,或调整原有policy的优先级来避免错误。 若监听器下没有转发策略,则新建的转发策略的优先级为1。 [共享型负载均衡器下的转发策略不支持该字段。 ](tag:hws,hws_hk,ocb,ctc,g42,tm,cmcc,hk_g42,hws_ocb,fcs,dt,hk_tm) [不支持该字段,请勿使用。](tag:hcso_dt) [荷兰region不支持该字段,请勿使用。](tag:dt)
86
+ 参数解释: 转发策略的优先级。数字越小表示优先级越高。各域名之间优先级独立,相同域名下,按path的compare_type排序, 精确>前缀>正则,匹配类型相同时,path的长度越长优先级越高。 若policy下只有域名rule,没有路径rule,默认path为前缀匹配/。 若关联的listener开启了enhance_l7policy_enable,且不传该字段, 则新创建的转发策略的优先级的值为:同一监听器下已有转发策略的优先级的最大值+1。 因此,若当前已有转发策略的优先级的最大值是10000,新创建会因超出取值范围10000而失败。 此时可通过传入指定priority,或调整原有policy的优先级来避免错误。 若监听器下没有转发策略,则新建的转发策略的优先级为1。 约束限制: - 同一个监听器下不允许重复的优先级数值。 - 当监听器的高级转发策略功能(enhance_l7policy_enable)开启后才会生效,未开启传入该字段会报错。 - 当action为REDIRECT_TO_LISTENER时,仅支持指定为0,优先级最高。 - 当关联的listener没有开启enhance_l7policy_enable,按原有policy的排序逻辑,自动排序。 [- 共享型负载均衡器下的转发策略不支持该字段。 ](tag:hws,hws_hk,ocb,ctc,g42,tm,cmcc,hk_g42,hws_ocb,hk_vdf,fcs,dt,hk_tm) 取值范围:1-10000 [不支持该字段,请勿使用。](tag:hcso_dt) [荷兰region不支持该字段,请勿使用。](tag:dt,dt_test)
87
87
 
88
88
  :param priority: The priority of this BatchUpdatePriorityRequestBody.
89
89
  :type priority: int
@@ -30,7 +30,10 @@ class CertificateInfo:
30
30
  'expire_time': 'str',
31
31
  'project_id': 'str',
32
32
  'enc_certificate': 'str',
33
- 'enc_private_key': 'str'
33
+ 'enc_private_key': 'str',
34
+ 'common_name': 'str',
35
+ 'fingerprint': 'str',
36
+ 'subject_alternative_names': 'list[str]'
34
37
  }
35
38
 
36
39
  attribute_map = {
@@ -47,10 +50,13 @@ class CertificateInfo:
47
50
  'expire_time': 'expire_time',
48
51
  'project_id': 'project_id',
49
52
  'enc_certificate': 'enc_certificate',
50
- 'enc_private_key': 'enc_private_key'
53
+ 'enc_private_key': 'enc_private_key',
54
+ 'common_name': 'common_name',
55
+ 'fingerprint': 'fingerprint',
56
+ 'subject_alternative_names': 'subject_alternative_names'
51
57
  }
52
58
 
53
- def __init__(self, admin_state_up=None, certificate=None, description=None, domain=None, id=None, name=None, private_key=None, type=None, created_at=None, updated_at=None, expire_time=None, project_id=None, enc_certificate=None, enc_private_key=None):
59
+ def __init__(self, admin_state_up=None, certificate=None, description=None, domain=None, id=None, name=None, private_key=None, type=None, created_at=None, updated_at=None, expire_time=None, project_id=None, enc_certificate=None, enc_private_key=None, common_name=None, fingerprint=None, subject_alternative_names=None):
54
60
  """CertificateInfo
55
61
 
56
62
  The model defined in huaweicloud sdk
@@ -61,7 +67,7 @@ class CertificateInfo:
61
67
  :type certificate: str
62
68
  :param description: 证书的描述。
63
69
  :type description: str
64
- :param domain: 服务器证书所签域名。该字段仅type为server时有效。 总长度为0-10000,由若干普通域名或泛域名组成,域名之间以\",\"分割,不超过100个域名。 普通域名:由若干字符串组成,字符串间以\".\"分割,单个字符串长度不超过63个字符, 只能包含英文字母、数字或\"-\",且必须以字母或数字开头和结尾。例:www.test.com。 泛域名:在普通域名的基础上仅允许首字母为\"*\"。例:*.test.com
70
+ :param domain: 服务器证书所签域名。该字段仅type为server时有效。 总长度为0-10000,由若干普通域名或泛域名组成,域名之间以\",\"分割,不超过100个域名。 普通域名:由若干字符串组成,字符串间以\".\"分割,单个字符串长度不超过63个字符, 只能包含英文字母、数字或\"-\",且必须以字母或数字开头和结尾。例:www.test.com。 泛域名:在普通域名的基础上仅允许首字母为\"\\*\"。例:\\*.test.com
65
71
  :type domain: str
66
72
  :param id: 证书ID。
67
73
  :type id: str
@@ -83,6 +89,12 @@ class CertificateInfo:
83
89
  :type enc_certificate: str
84
90
  :param enc_private_key: HTTPS协议使用的SM加密证书私钥。 取值:PEM编码格式。 注意:仅在当前局点的SM加密证书特性开启才会返回该字段。
85
91
  :type enc_private_key: str
92
+ :param common_name: 证书主域名
93
+ :type common_name: str
94
+ :param fingerprint: 证书指纹
95
+ :type fingerprint: str
96
+ :param subject_alternative_names: 证书全部域名
97
+ :type subject_alternative_names: list[str]
86
98
  """
87
99
 
88
100
 
@@ -101,6 +113,9 @@ class CertificateInfo:
101
113
  self._project_id = None
102
114
  self._enc_certificate = None
103
115
  self._enc_private_key = None
116
+ self._common_name = None
117
+ self._fingerprint = None
118
+ self._subject_alternative_names = None
104
119
  self.discriminator = None
105
120
 
106
121
  self.admin_state_up = admin_state_up
@@ -119,6 +134,12 @@ class CertificateInfo:
119
134
  self.enc_certificate = enc_certificate
120
135
  if enc_private_key is not None:
121
136
  self.enc_private_key = enc_private_key
137
+ if common_name is not None:
138
+ self.common_name = common_name
139
+ if fingerprint is not None:
140
+ self.fingerprint = fingerprint
141
+ if subject_alternative_names is not None:
142
+ self.subject_alternative_names = subject_alternative_names
122
143
 
123
144
  @property
124
145
  def admin_state_up(self):
@@ -190,7 +211,7 @@ class CertificateInfo:
190
211
  def domain(self):
191
212
  """Gets the domain of this CertificateInfo.
192
213
 
193
- 服务器证书所签域名。该字段仅type为server时有效。 总长度为0-10000,由若干普通域名或泛域名组成,域名之间以\",\"分割,不超过100个域名。 普通域名:由若干字符串组成,字符串间以\".\"分割,单个字符串长度不超过63个字符, 只能包含英文字母、数字或\"-\",且必须以字母或数字开头和结尾。例:www.test.com。 泛域名:在普通域名的基础上仅允许首字母为\"*\"。例:*.test.com
214
+ 服务器证书所签域名。该字段仅type为server时有效。 总长度为0-10000,由若干普通域名或泛域名组成,域名之间以\",\"分割,不超过100个域名。 普通域名:由若干字符串组成,字符串间以\".\"分割,单个字符串长度不超过63个字符, 只能包含英文字母、数字或\"-\",且必须以字母或数字开头和结尾。例:www.test.com。 泛域名:在普通域名的基础上仅允许首字母为\"\\*\"。例:\\*.test.com
194
215
 
195
216
  :return: The domain of this CertificateInfo.
196
217
  :rtype: str
@@ -201,7 +222,7 @@ class CertificateInfo:
201
222
  def domain(self, domain):
202
223
  """Sets the domain of this CertificateInfo.
203
224
 
204
- 服务器证书所签域名。该字段仅type为server时有效。 总长度为0-10000,由若干普通域名或泛域名组成,域名之间以\",\"分割,不超过100个域名。 普通域名:由若干字符串组成,字符串间以\".\"分割,单个字符串长度不超过63个字符, 只能包含英文字母、数字或\"-\",且必须以字母或数字开头和结尾。例:www.test.com。 泛域名:在普通域名的基础上仅允许首字母为\"*\"。例:*.test.com
225
+ 服务器证书所签域名。该字段仅type为server时有效。 总长度为0-10000,由若干普通域名或泛域名组成,域名之间以\",\"分割,不超过100个域名。 普通域名:由若干字符串组成,字符串间以\".\"分割,单个字符串长度不超过63个字符, 只能包含英文字母、数字或\"-\",且必须以字母或数字开头和结尾。例:www.test.com。 泛域名:在普通域名的基础上仅允许首字母为\"\\*\"。例:\\*.test.com
205
226
 
206
227
  :param domain: The domain of this CertificateInfo.
207
228
  :type domain: str
@@ -428,6 +449,72 @@ class CertificateInfo:
428
449
  """
429
450
  self._enc_private_key = enc_private_key
430
451
 
452
+ @property
453
+ def common_name(self):
454
+ """Gets the common_name of this CertificateInfo.
455
+
456
+ 证书主域名
457
+
458
+ :return: The common_name of this CertificateInfo.
459
+ :rtype: str
460
+ """
461
+ return self._common_name
462
+
463
+ @common_name.setter
464
+ def common_name(self, common_name):
465
+ """Sets the common_name of this CertificateInfo.
466
+
467
+ 证书主域名
468
+
469
+ :param common_name: The common_name of this CertificateInfo.
470
+ :type common_name: str
471
+ """
472
+ self._common_name = common_name
473
+
474
+ @property
475
+ def fingerprint(self):
476
+ """Gets the fingerprint of this CertificateInfo.
477
+
478
+ 证书指纹
479
+
480
+ :return: The fingerprint of this CertificateInfo.
481
+ :rtype: str
482
+ """
483
+ return self._fingerprint
484
+
485
+ @fingerprint.setter
486
+ def fingerprint(self, fingerprint):
487
+ """Sets the fingerprint of this CertificateInfo.
488
+
489
+ 证书指纹
490
+
491
+ :param fingerprint: The fingerprint of this CertificateInfo.
492
+ :type fingerprint: str
493
+ """
494
+ self._fingerprint = fingerprint
495
+
496
+ @property
497
+ def subject_alternative_names(self):
498
+ """Gets the subject_alternative_names of this CertificateInfo.
499
+
500
+ 证书全部域名
501
+
502
+ :return: The subject_alternative_names of this CertificateInfo.
503
+ :rtype: list[str]
504
+ """
505
+ return self._subject_alternative_names
506
+
507
+ @subject_alternative_names.setter
508
+ def subject_alternative_names(self, subject_alternative_names):
509
+ """Sets the subject_alternative_names of this CertificateInfo.
510
+
511
+ 证书全部域名
512
+
513
+ :param subject_alternative_names: The subject_alternative_names of this CertificateInfo.
514
+ :type subject_alternative_names: list[str]
515
+ """
516
+ self._subject_alternative_names = subject_alternative_names
517
+
431
518
  def to_dict(self):
432
519
  """Returns the model properties as a dict"""
433
520
  result = {}
@@ -35,7 +35,7 @@ class ChangeLoadbalancerChargeModeRequestBody:
35
35
 
36
36
  :param loadbalancer_ids: 需要修改计费类型的负载均衡器ID列表。
37
37
  :type loadbalancer_ids: list[str]
38
- :param charge_mode: 计费模式。取值: - prepaid:包周期计费(仅当不传pay_type时,允许设为该值)
38
+ :param charge_mode: 计费模式。取值: - prepaid:包周期计费[(仅当不传pay_type时,允许设为该值)](tag:test)
39
39
  :type charge_mode: str
40
40
  :param prepaid_options:
41
41
  :type prepaid_options: :class:`huaweicloudsdkelb.v3.PrepaidChangeChargeModeOption`
@@ -79,7 +79,7 @@ class ChangeLoadbalancerChargeModeRequestBody:
79
79
  def charge_mode(self):
80
80
  """Gets the charge_mode of this ChangeLoadbalancerChargeModeRequestBody.
81
81
 
82
- 计费模式。取值: - prepaid:包周期计费(仅当不传pay_type时,允许设为该值)
82
+ 计费模式。取值: - prepaid:包周期计费[(仅当不传pay_type时,允许设为该值)](tag:test)
83
83
 
84
84
  :return: The charge_mode of this ChangeLoadbalancerChargeModeRequestBody.
85
85
  :rtype: str
@@ -90,7 +90,7 @@ class ChangeLoadbalancerChargeModeRequestBody:
90
90
  def charge_mode(self, charge_mode):
91
91
  """Sets the charge_mode of this ChangeLoadbalancerChargeModeRequestBody.
92
92
 
93
- 计费模式。取值: - prepaid:包周期计费(仅当不传pay_type时,允许设为该值)
93
+ 计费模式。取值: - prepaid:包周期计费[(仅当不传pay_type时,允许设为该值)](tag:test)
94
94
 
95
95
  :param charge_mode: The charge_mode of this ChangeLoadbalancerChargeModeRequestBody.
96
96
  :type charge_mode: str
@@ -31,7 +31,7 @@ class ConnectionDrain:
31
31
 
32
32
  The model defined in huaweicloud sdk
33
33
 
34
- :param enable: 延迟注销功能开关,默认值:false true:开启; false:关闭
34
+ :param enable: 延迟注销功能开关。取值:true 开启,false 关闭,默认true
35
35
  :type enable: bool
36
36
  :param timeout: 延迟注销时间,单位:s; 取值范围:10~4000
37
37
  :type timeout: int
@@ -52,7 +52,7 @@ class ConnectionDrain:
52
52
  def enable(self):
53
53
  """Gets the enable of this ConnectionDrain.
54
54
 
55
- 延迟注销功能开关,默认值:false true:开启; false:关闭
55
+ 延迟注销功能开关。取值:true 开启,false 关闭,默认true
56
56
 
57
57
  :return: The enable of this ConnectionDrain.
58
58
  :rtype: bool
@@ -63,7 +63,7 @@ class ConnectionDrain:
63
63
  def enable(self, enable):
64
64
  """Sets the enable of this ConnectionDrain.
65
65
 
66
- 延迟注销功能开关,默认值:false true:开启; false:关闭
66
+ 延迟注销功能开关。取值:true 开启,false 关闭,默认true
67
67
 
68
68
  :param enable: The enable of this ConnectionDrain.
69
69
  :type enable: bool