huaweicloudsdkelb 3.1.143__py2.py3-none-any.whl → 3.1.145__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- huaweicloudsdkelb/v3/__init__.py +2 -0
- huaweicloudsdkelb/v3/elb_async_client.py +11 -5
- huaweicloudsdkelb/v3/elb_client.py +11 -5
- huaweicloudsdkelb/v3/model/__init__.py +2 -0
- huaweicloudsdkelb/v3/model/availability_zone.py +32 -3
- huaweicloudsdkelb/v3/model/batch_create_members_option.py +6 -6
- huaweicloudsdkelb/v3/model/batch_delete_members_option.py +3 -3
- huaweicloudsdkelb/v3/model/batch_delete_members_state.py +3 -3
- huaweicloudsdkelb/v3/model/batch_member.py +9 -9
- huaweicloudsdkelb/v3/model/batch_update_member.py +9 -9
- huaweicloudsdkelb/v3/model/certificate_info.py +3 -3
- huaweicloudsdkelb/v3/model/create_listener_option.py +6 -6
- huaweicloudsdkelb/v3/model/create_master_slave_member_option.py +6 -6
- huaweicloudsdkelb/v3/model/create_member_option.py +6 -6
- huaweicloudsdkelb/v3/model/delete_member_request.py +3 -3
- huaweicloudsdkelb/v3/model/extension.py +144 -0
- huaweicloudsdkelb/v3/model/flavor.py +3 -3
- huaweicloudsdkelb/v3/model/list_availability_zones_response.py +3 -32
- huaweicloudsdkelb/v3/model/list_jobs_request.py +88 -1
- huaweicloudsdkelb/v3/model/list_jobs_response.py +26 -1
- huaweicloudsdkelb/v3/model/list_members_request.py +3 -3
- huaweicloudsdkelb/v3/model/list_quota_details_request.py +3 -3
- huaweicloudsdkelb/v3/model/listener.py +12 -12
- huaweicloudsdkelb/v3/model/load_balancer.py +178 -28
- huaweicloudsdkelb/v3/model/master_slave_member.py +9 -9
- huaweicloudsdkelb/v3/model/member.py +9 -9
- huaweicloudsdkelb/v3/model/member_info.py +9 -9
- huaweicloudsdkelb/v3/model/member_status.py +61 -3
- huaweicloudsdkelb/v3/model/pool.py +9 -9
- huaweicloudsdkelb/v3/model/pool_health.py +3 -3
- huaweicloudsdkelb/v3/model/proxy_protocol_extension.py +168 -0
- huaweicloudsdkelb/v3/model/quota.py +59 -3
- huaweicloudsdkelb/v3/model/quota_info.py +3 -3
- huaweicloudsdkelb/v3/model/show_member_request.py +3 -3
- huaweicloudsdkelb/v3/model/update_listener_option.py +3 -3
- huaweicloudsdkelb/v3/model/update_load_balancer_option.py +3 -3
- huaweicloudsdkelb/v3/model/update_member_request.py +3 -3
- {huaweicloudsdkelb-3.1.143.dist-info → huaweicloudsdkelb-3.1.145.dist-info}/METADATA +2 -2
- {huaweicloudsdkelb-3.1.143.dist-info → huaweicloudsdkelb-3.1.145.dist-info}/RECORD +42 -40
- {huaweicloudsdkelb-3.1.143.dist-info → huaweicloudsdkelb-3.1.145.dist-info}/LICENSE +0 -0
- {huaweicloudsdkelb-3.1.143.dist-info → huaweicloudsdkelb-3.1.145.dist-info}/WHEEL +0 -0
- {huaweicloudsdkelb-3.1.143.dist-info → huaweicloudsdkelb-3.1.145.dist-info}/top_level.txt +0 -0
@@ -39,7 +39,7 @@ class CreateMasterSlaveMemberOption:
|
|
39
39
|
|
40
40
|
The model defined in huaweicloud sdk
|
41
41
|
|
42
|
-
:param address: 后端服务器对应的IP地址。 使用说明: - 若subnet_cidr_id为空,表示添加跨VPC后端,此时address
|
42
|
+
:param address: 后端服务器对应的IP地址。 使用说明: - 若subnet_cidr_id为空,表示添加跨VPC后端,此时address必须为**私网IPv4**地址。 - 若subnet_cidr_id不为空,表示是一个关联到ECS的后端服务器。 该IP地址必须在subnet_cidr_id对应的子网网段中,可以是**私网IPv4**或IPv6。 [不支持IPv6,请勿设置为IPv6地址。](tag:dt)
|
43
43
|
:type address: str
|
44
44
|
:param admin_state_up: 后端服务器的管理状态。 取值:true。 虽然创建、更新请求支持该字段,但实际取值决定于后端服务器对应的弹性云服务器是否存在。若存在,该值为true,否则,该值为false。
|
45
45
|
:type admin_state_up: bool
|
@@ -47,7 +47,7 @@ class CreateMasterSlaveMemberOption:
|
|
47
47
|
:type name: str
|
48
48
|
:param protocol_port: 后端服务器业务端口。 >在开启端口透传的pool下创建member传该字段不生效,可不传该字段。
|
49
49
|
:type protocol_port: int
|
50
|
-
:param subnet_cidr_id: 后端服务器所在的子网ID,可以是子网的IPv4子网ID或IPv6子网ID。 使用说明: - 该子网和关联的负载均衡器的子网必须在同一VPC下。 - 若所属LB的跨VPC后端转发特性已开启,则该字段可以不传,表示添加跨VPC的后端服务器。此时address
|
50
|
+
:param subnet_cidr_id: 后端服务器所在的子网ID,可以是子网的IPv4子网ID或IPv6子网ID。 使用说明: - 该子网和关联的负载均衡器的子网必须在同一VPC下。 - 若所属LB的跨VPC后端转发特性已开启,则该字段可以不传,表示添加跨VPC的后端服务器。此时address必须为**私网IPv4**地址,所在的pool的协议必须为UDP/TCP/TLS/HTTP/HTTPS/QUIC/GRPC。 [不支持IPv6,请勿设置为IPv6子网ID。](tag:dt)
|
51
51
|
:type subnet_cidr_id: str
|
52
52
|
:param role: 后端服务器的主备状态。 取值范围: - master:主后端服务器。 - slave:备后端服务器。
|
53
53
|
:type role: str
|
@@ -78,7 +78,7 @@ class CreateMasterSlaveMemberOption:
|
|
78
78
|
def address(self):
|
79
79
|
r"""Gets the address of this CreateMasterSlaveMemberOption.
|
80
80
|
|
81
|
-
后端服务器对应的IP地址。 使用说明: - 若subnet_cidr_id为空,表示添加跨VPC后端,此时address
|
81
|
+
后端服务器对应的IP地址。 使用说明: - 若subnet_cidr_id为空,表示添加跨VPC后端,此时address必须为**私网IPv4**地址。 - 若subnet_cidr_id不为空,表示是一个关联到ECS的后端服务器。 该IP地址必须在subnet_cidr_id对应的子网网段中,可以是**私网IPv4**或IPv6。 [不支持IPv6,请勿设置为IPv6地址。](tag:dt)
|
82
82
|
|
83
83
|
:return: The address of this CreateMasterSlaveMemberOption.
|
84
84
|
:rtype: str
|
@@ -89,7 +89,7 @@ class CreateMasterSlaveMemberOption:
|
|
89
89
|
def address(self, address):
|
90
90
|
r"""Sets the address of this CreateMasterSlaveMemberOption.
|
91
91
|
|
92
|
-
后端服务器对应的IP地址。 使用说明: - 若subnet_cidr_id为空,表示添加跨VPC后端,此时address
|
92
|
+
后端服务器对应的IP地址。 使用说明: - 若subnet_cidr_id为空,表示添加跨VPC后端,此时address必须为**私网IPv4**地址。 - 若subnet_cidr_id不为空,表示是一个关联到ECS的后端服务器。 该IP地址必须在subnet_cidr_id对应的子网网段中,可以是**私网IPv4**或IPv6。 [不支持IPv6,请勿设置为IPv6地址。](tag:dt)
|
93
93
|
|
94
94
|
:param address: The address of this CreateMasterSlaveMemberOption.
|
95
95
|
:type address: str
|
@@ -166,7 +166,7 @@ class CreateMasterSlaveMemberOption:
|
|
166
166
|
def subnet_cidr_id(self):
|
167
167
|
r"""Gets the subnet_cidr_id of this CreateMasterSlaveMemberOption.
|
168
168
|
|
169
|
-
后端服务器所在的子网ID,可以是子网的IPv4子网ID或IPv6子网ID。 使用说明: - 该子网和关联的负载均衡器的子网必须在同一VPC下。 - 若所属LB的跨VPC后端转发特性已开启,则该字段可以不传,表示添加跨VPC的后端服务器。此时address
|
169
|
+
后端服务器所在的子网ID,可以是子网的IPv4子网ID或IPv6子网ID。 使用说明: - 该子网和关联的负载均衡器的子网必须在同一VPC下。 - 若所属LB的跨VPC后端转发特性已开启,则该字段可以不传,表示添加跨VPC的后端服务器。此时address必须为**私网IPv4**地址,所在的pool的协议必须为UDP/TCP/TLS/HTTP/HTTPS/QUIC/GRPC。 [不支持IPv6,请勿设置为IPv6子网ID。](tag:dt)
|
170
170
|
|
171
171
|
:return: The subnet_cidr_id of this CreateMasterSlaveMemberOption.
|
172
172
|
:rtype: str
|
@@ -177,7 +177,7 @@ class CreateMasterSlaveMemberOption:
|
|
177
177
|
def subnet_cidr_id(self, subnet_cidr_id):
|
178
178
|
r"""Sets the subnet_cidr_id of this CreateMasterSlaveMemberOption.
|
179
179
|
|
180
|
-
后端服务器所在的子网ID,可以是子网的IPv4子网ID或IPv6子网ID。 使用说明: - 该子网和关联的负载均衡器的子网必须在同一VPC下。 - 若所属LB的跨VPC后端转发特性已开启,则该字段可以不传,表示添加跨VPC的后端服务器。此时address
|
180
|
+
后端服务器所在的子网ID,可以是子网的IPv4子网ID或IPv6子网ID。 使用说明: - 该子网和关联的负载均衡器的子网必须在同一VPC下。 - 若所属LB的跨VPC后端转发特性已开启,则该字段可以不传,表示添加跨VPC的后端服务器。此时address必须为**私网IPv4**地址,所在的pool的协议必须为UDP/TCP/TLS/HTTP/HTTPS/QUIC/GRPC。 [不支持IPv6,请勿设置为IPv6子网ID。](tag:dt)
|
181
181
|
|
182
182
|
:param subnet_cidr_id: The subnet_cidr_id of this CreateMasterSlaveMemberOption.
|
183
183
|
:type subnet_cidr_id: str
|
@@ -41,7 +41,7 @@ class CreateMemberOption:
|
|
41
41
|
|
42
42
|
The model defined in huaweicloud sdk
|
43
43
|
|
44
|
-
:param address: 参数解释:后端服务器对应的IP地址。 约束限制: - 若subnet_cidr_id为空,表示添加跨VPC后端,此时address
|
44
|
+
:param address: 参数解释:后端服务器对应的IP地址。 约束限制: - 若subnet_cidr_id为空,表示添加跨VPC后端,此时address必须为**私网IPv4**地址。 - 若subnet_cidr_id不为空,表示是一个关联到ECS的后端服务器。该IP地址必须在subnet_cidr_id对应的子网网段中,可以是**私网IPv4**或IPv6。 [ 不支持IPv6,请勿设置为IPv6地址。](tag:dt)
|
45
45
|
:type address: str
|
46
46
|
:param admin_state_up: 参数解释:后端服务器的管理状态。 约束限制:虽然创建、更新请求支持该字段,但实际取值决定于后端服务器对应的弹性云服务器是否存在。若存在,该值为true,否则,该值为false。 取值范围:true、false。
|
47
47
|
:type admin_state_up: bool
|
@@ -51,7 +51,7 @@ class CreateMemberOption:
|
|
51
51
|
:type project_id: str
|
52
52
|
:param protocol_port: 参数解释:后端服务器业务端口。 约束限制: - 在开启端口透传的pool下创建member传该字段不生效,可不传该字段。 [- 网关型LB,即pool协议为IP时,protocol_port必须设置为0。](tag:hws_eu)
|
53
53
|
:type protocol_port: int
|
54
|
-
: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
|
54
|
+
:param subnet_cidr_id: 参数解释:后端服务器所在的子网,可以是IPv4或IPv6子网。若是IPv4子网,使用对应子网的子网ID(neutron_subnet_id);若是IPv6子网,使用对应子网的网络ID(neutron_network_id)。 ipv4子网的子网ID可以通过GET https://{VPC_Endpoint}/v1/{project_id}/subnets 响应参数中的neutron_subnet_id得到 ipv6子网的网络ID可以通过GET https://{VPC_Endpoint}/v1/{project_id}/subnets 响应参数中的neutron_network_id得到 约束限制: - 该子网和关联的负载均衡器的子网必须在同一VPC下。 - 若所属LB的跨VPC后端转发已开启(ip_target_enable=true),则该字段可以不传,表示添加跨VPC的后端服务器。此时address必须为**私网IPv4**地址,所在的pool的协议必须为UDP/TCP/TLS/HTTP/HTTPS/QUIC/GRPC。 - 若所属LB未开启跨VPC后端转发,该参数必填。 [- 网关型LB,即pool协议为IP时,必须指定该子网,且必须和负载均衡器的子网在同一个VPC下,但不能相同。](tag:hws_eu) [不支持IPv6,请勿设置为IPv6子网ID。](tag:dt)
|
55
55
|
:type subnet_cidr_id: str
|
56
56
|
:param weight: 参数解释:后端服务器的权重,请求将根据pool配置的负载均衡算法和后端服务器的权重进行负载分发。 权重值越大,分发的请求越多。权重为0的后端不再接受新的请求。 约束限制:若所在pool的lb_algorithm取值为SOURCE_IP或QUIC_CID,该字段无效。 取值范围:0-100,默认1。
|
57
57
|
:type weight: int
|
@@ -86,7 +86,7 @@ class CreateMemberOption:
|
|
86
86
|
def address(self):
|
87
87
|
r"""Gets the address of this CreateMemberOption.
|
88
88
|
|
89
|
-
参数解释:后端服务器对应的IP地址。 约束限制: - 若subnet_cidr_id为空,表示添加跨VPC后端,此时address
|
89
|
+
参数解释:后端服务器对应的IP地址。 约束限制: - 若subnet_cidr_id为空,表示添加跨VPC后端,此时address必须为**私网IPv4**地址。 - 若subnet_cidr_id不为空,表示是一个关联到ECS的后端服务器。该IP地址必须在subnet_cidr_id对应的子网网段中,可以是**私网IPv4**或IPv6。 [ 不支持IPv6,请勿设置为IPv6地址。](tag:dt)
|
90
90
|
|
91
91
|
:return: The address of this CreateMemberOption.
|
92
92
|
:rtype: str
|
@@ -97,7 +97,7 @@ class CreateMemberOption:
|
|
97
97
|
def address(self, address):
|
98
98
|
r"""Sets the address of this CreateMemberOption.
|
99
99
|
|
100
|
-
参数解释:后端服务器对应的IP地址。 约束限制: - 若subnet_cidr_id为空,表示添加跨VPC后端,此时address
|
100
|
+
参数解释:后端服务器对应的IP地址。 约束限制: - 若subnet_cidr_id为空,表示添加跨VPC后端,此时address必须为**私网IPv4**地址。 - 若subnet_cidr_id不为空,表示是一个关联到ECS的后端服务器。该IP地址必须在subnet_cidr_id对应的子网网段中,可以是**私网IPv4**或IPv6。 [ 不支持IPv6,请勿设置为IPv6地址。](tag:dt)
|
101
101
|
|
102
102
|
:param address: The address of this CreateMemberOption.
|
103
103
|
:type address: str
|
@@ -196,7 +196,7 @@ class CreateMemberOption:
|
|
196
196
|
def subnet_cidr_id(self):
|
197
197
|
r"""Gets the subnet_cidr_id of this CreateMemberOption.
|
198
198
|
|
199
|
-
参数解释:后端服务器所在的子网,可以是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
|
199
|
+
参数解释:后端服务器所在的子网,可以是IPv4或IPv6子网。若是IPv4子网,使用对应子网的子网ID(neutron_subnet_id);若是IPv6子网,使用对应子网的网络ID(neutron_network_id)。 ipv4子网的子网ID可以通过GET https://{VPC_Endpoint}/v1/{project_id}/subnets 响应参数中的neutron_subnet_id得到 ipv6子网的网络ID可以通过GET https://{VPC_Endpoint}/v1/{project_id}/subnets 响应参数中的neutron_network_id得到 约束限制: - 该子网和关联的负载均衡器的子网必须在同一VPC下。 - 若所属LB的跨VPC后端转发已开启(ip_target_enable=true),则该字段可以不传,表示添加跨VPC的后端服务器。此时address必须为**私网IPv4**地址,所在的pool的协议必须为UDP/TCP/TLS/HTTP/HTTPS/QUIC/GRPC。 - 若所属LB未开启跨VPC后端转发,该参数必填。 [- 网关型LB,即pool协议为IP时,必须指定该子网,且必须和负载均衡器的子网在同一个VPC下,但不能相同。](tag:hws_eu) [不支持IPv6,请勿设置为IPv6子网ID。](tag:dt)
|
200
200
|
|
201
201
|
:return: The subnet_cidr_id of this CreateMemberOption.
|
202
202
|
:rtype: str
|
@@ -207,7 +207,7 @@ class CreateMemberOption:
|
|
207
207
|
def subnet_cidr_id(self, subnet_cidr_id):
|
208
208
|
r"""Sets the subnet_cidr_id of this CreateMemberOption.
|
209
209
|
|
210
|
-
参数解释:后端服务器所在的子网,可以是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
|
210
|
+
参数解释:后端服务器所在的子网,可以是IPv4或IPv6子网。若是IPv4子网,使用对应子网的子网ID(neutron_subnet_id);若是IPv6子网,使用对应子网的网络ID(neutron_network_id)。 ipv4子网的子网ID可以通过GET https://{VPC_Endpoint}/v1/{project_id}/subnets 响应参数中的neutron_subnet_id得到 ipv6子网的网络ID可以通过GET https://{VPC_Endpoint}/v1/{project_id}/subnets 响应参数中的neutron_network_id得到 约束限制: - 该子网和关联的负载均衡器的子网必须在同一VPC下。 - 若所属LB的跨VPC后端转发已开启(ip_target_enable=true),则该字段可以不传,表示添加跨VPC的后端服务器。此时address必须为**私网IPv4**地址,所在的pool的协议必须为UDP/TCP/TLS/HTTP/HTTPS/QUIC/GRPC。 - 若所属LB未开启跨VPC后端转发,该参数必填。 [- 网关型LB,即pool协议为IP时,必须指定该子网,且必须和负载均衡器的子网在同一个VPC下,但不能相同。](tag:hws_eu) [不支持IPv6,请勿设置为IPv6子网ID。](tag:dt)
|
211
211
|
|
212
212
|
:param subnet_cidr_id: The subnet_cidr_id of this CreateMemberOption.
|
213
213
|
:type subnet_cidr_id: str
|
@@ -33,7 +33,7 @@ class DeleteMemberRequest:
|
|
33
33
|
|
34
34
|
:param pool_id: 参数解释:后端服务器组ID。
|
35
35
|
:type pool_id: str
|
36
|
-
:param member_id: 后端服务器ID。 >
|
36
|
+
:param member_id: 后端服务器ID。 > 此处并非ECS服务器的ID,而是ELB为绑定的后端服务器自动生成的member ID。 member ID可以通过[查询后端服务器列表](ListMembers.xml)获取。
|
37
37
|
:type member_id: str
|
38
38
|
"""
|
39
39
|
|
@@ -72,7 +72,7 @@ class DeleteMemberRequest:
|
|
72
72
|
def member_id(self):
|
73
73
|
r"""Gets the member_id of this DeleteMemberRequest.
|
74
74
|
|
75
|
-
后端服务器ID。
|
75
|
+
后端服务器ID。 > 此处并非ECS服务器的ID,而是ELB为绑定的后端服务器自动生成的member ID。 member ID可以通过[查询后端服务器列表](ListMembers.xml)获取。
|
76
76
|
|
77
77
|
:return: The member_id of this DeleteMemberRequest.
|
78
78
|
:rtype: str
|
@@ -83,7 +83,7 @@ class DeleteMemberRequest:
|
|
83
83
|
def member_id(self, member_id):
|
84
84
|
r"""Sets the member_id of this DeleteMemberRequest.
|
85
85
|
|
86
|
-
后端服务器ID。
|
86
|
+
后端服务器ID。 > 此处并非ECS服务器的ID,而是ELB为绑定的后端服务器自动生成的member ID。 member ID可以通过[查询后端服务器列表](ListMembers.xml)获取。
|
87
87
|
|
88
88
|
:param member_id: The member_id of this DeleteMemberRequest.
|
89
89
|
:type member_id: str
|
@@ -0,0 +1,144 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
|
+
|
7
|
+
|
8
|
+
class Extension:
|
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
|
+
'ep_id': 'str',
|
21
|
+
'ep_service_id': 'str'
|
22
|
+
}
|
23
|
+
|
24
|
+
attribute_map = {
|
25
|
+
'ep_id': 'ep_id',
|
26
|
+
'ep_service_id': 'ep_service_id'
|
27
|
+
}
|
28
|
+
|
29
|
+
def __init__(self, ep_id=None, ep_service_id=None):
|
30
|
+
r"""Extension
|
31
|
+
|
32
|
+
The model defined in huaweicloud sdk
|
33
|
+
|
34
|
+
:param ep_id: ep id
|
35
|
+
:type ep_id: str
|
36
|
+
:param ep_service_id: ep service id
|
37
|
+
:type ep_service_id: str
|
38
|
+
"""
|
39
|
+
|
40
|
+
|
41
|
+
|
42
|
+
self._ep_id = None
|
43
|
+
self._ep_service_id = None
|
44
|
+
self.discriminator = None
|
45
|
+
|
46
|
+
if ep_id is not None:
|
47
|
+
self.ep_id = ep_id
|
48
|
+
if ep_service_id is not None:
|
49
|
+
self.ep_service_id = ep_service_id
|
50
|
+
|
51
|
+
@property
|
52
|
+
def ep_id(self):
|
53
|
+
r"""Gets the ep_id of this Extension.
|
54
|
+
|
55
|
+
ep id
|
56
|
+
|
57
|
+
:return: The ep_id of this Extension.
|
58
|
+
:rtype: str
|
59
|
+
"""
|
60
|
+
return self._ep_id
|
61
|
+
|
62
|
+
@ep_id.setter
|
63
|
+
def ep_id(self, ep_id):
|
64
|
+
r"""Sets the ep_id of this Extension.
|
65
|
+
|
66
|
+
ep id
|
67
|
+
|
68
|
+
:param ep_id: The ep_id of this Extension.
|
69
|
+
:type ep_id: str
|
70
|
+
"""
|
71
|
+
self._ep_id = ep_id
|
72
|
+
|
73
|
+
@property
|
74
|
+
def ep_service_id(self):
|
75
|
+
r"""Gets the ep_service_id of this Extension.
|
76
|
+
|
77
|
+
ep service id
|
78
|
+
|
79
|
+
:return: The ep_service_id of this Extension.
|
80
|
+
:rtype: str
|
81
|
+
"""
|
82
|
+
return self._ep_service_id
|
83
|
+
|
84
|
+
@ep_service_id.setter
|
85
|
+
def ep_service_id(self, ep_service_id):
|
86
|
+
r"""Sets the ep_service_id of this Extension.
|
87
|
+
|
88
|
+
ep service id
|
89
|
+
|
90
|
+
:param ep_service_id: The ep_service_id of this Extension.
|
91
|
+
:type ep_service_id: str
|
92
|
+
"""
|
93
|
+
self._ep_service_id = ep_service_id
|
94
|
+
|
95
|
+
def to_dict(self):
|
96
|
+
"""Returns the model properties as a dict"""
|
97
|
+
result = {}
|
98
|
+
|
99
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
100
|
+
value = getattr(self, attr)
|
101
|
+
if isinstance(value, list):
|
102
|
+
result[attr] = list(map(
|
103
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
104
|
+
value
|
105
|
+
))
|
106
|
+
elif hasattr(value, "to_dict"):
|
107
|
+
result[attr] = value.to_dict()
|
108
|
+
elif isinstance(value, dict):
|
109
|
+
result[attr] = dict(map(
|
110
|
+
lambda item: (item[0], item[1].to_dict())
|
111
|
+
if hasattr(item[1], "to_dict") else item,
|
112
|
+
value.items()
|
113
|
+
))
|
114
|
+
else:
|
115
|
+
if attr in self.sensitive_list:
|
116
|
+
result[attr] = "****"
|
117
|
+
else:
|
118
|
+
result[attr] = value
|
119
|
+
|
120
|
+
return result
|
121
|
+
|
122
|
+
def to_str(self):
|
123
|
+
"""Returns the string representation of the model"""
|
124
|
+
import simplejson as json
|
125
|
+
if six.PY2:
|
126
|
+
import sys
|
127
|
+
reload(sys)
|
128
|
+
sys.setdefaultencoding("utf-8")
|
129
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
130
|
+
|
131
|
+
def __repr__(self):
|
132
|
+
"""For `print`"""
|
133
|
+
return self.to_str()
|
134
|
+
|
135
|
+
def __eq__(self, other):
|
136
|
+
"""Returns true if both objects are equal"""
|
137
|
+
if not isinstance(other, Extension):
|
138
|
+
return False
|
139
|
+
|
140
|
+
return self.__dict__ == other.__dict__
|
141
|
+
|
142
|
+
def __ne__(self, other):
|
143
|
+
"""Returns true if both objects are not equal"""
|
144
|
+
return not self == other
|
@@ -49,7 +49,7 @@ class Flavor:
|
|
49
49
|
:type id: str
|
50
50
|
:param info:
|
51
51
|
:type info: :class:`huaweicloudsdkelb.v3.FlavorInfo`
|
52
|
-
:param name: 参数解释:规格名称。 取值范围: 网络型有如下规格: - L4_flavor.elb.s1.small: 小型 I - L4_flavor.elb.s2.small: 小型 II - L4_flavor.elb.s1.medium: 中型 I - L4_flavor.elb.s2.medium: 中型 II - L4_flavor.elb.s1.large: 大型 I - L4_flavor.elb.s2.large: 大型 II - L4_flavor.elb.pro.max: 四层弹性规格 应用型有如下规格: - L7_flavor.elb.s1.small: 小型 I - L7_flavor.elb.s2.small: 小型 II - L7_flavor.elb.s1.medium: 中型 I - L7_flavor.elb.s2.medium: 中型 II - L7_flavor.elb.s1.large: 大型 I - L7_flavor.elb.s2.large: 大型 II - L7_flavor.elb.s1.extra-large: 超大型 I - L7_flavor.elb.s2.extra-large: 超大型 II - L7_flavor.elb.pro.max: 七层弹性规格
|
52
|
+
:param name: 参数解释:规格名称。 取值范围: [网络型有如下规格: - L4_flavor.elb.s1.small: 小型 I - L4_flavor.elb.s2.small: 小型 II - L4_flavor.elb.s1.medium: 中型 I - L4_flavor.elb.s2.medium: 中型 II - L4_flavor.elb.s1.large: 大型 I - L4_flavor.elb.s2.large: 大型 II - L4_flavor.elb.pro.max: 四层弹性规格 应用型有如下规格: - L7_flavor.elb.s1.small: 小型 I - L7_flavor.elb.s2.small: 小型 II - L7_flavor.elb.s1.medium: 中型 I - L7_flavor.elb.s2.medium: 中型 II - L7_flavor.elb.s1.large: 大型 I - L7_flavor.elb.s2.large: 大型 II - L7_flavor.elb.s1.extra-large: 超大型 I - L7_flavor.elb.s2.extra-large: 超大型 II - L7_flavor.elb.pro.max: 七层弹性规格](tag:hws,hws_hk,hws_eu,hws_eu_wb,hws_test,fcs,ctc,cmcc,tm,sbc,hk_sbc,hk_tm,hk_vdf,srg,g42,hk_g42) [网络型有如下规格: - L4_flavor.elb.s1.small: 小型 I - L4_flavor.elb.s2.small: 小型 II - L4_flavor.elb.s1.medium: 中型 I - L4_flavor.elb.s2.medium: 中型 II - L4_flavor.elb.s1.large: 大型 I - L4_flavor.elb.s2.large: 大型 II - L4_flavor.elb.pro.max: 四层弹性规格 应用型有如下规格: - L7_flavor.elb.s1.small: 小型 I - L7_flavor.elb.s2.small: 小型 II - L7_flavor.elb.s1.medium: 中型 I - L7_flavor.elb.s2.medium: 中型 II - L7_flavor.elb.s1.large: 大型 I - L7_flavor.elb.s2.large: 大型 II - L7_flavor.elb.pro.s1.small:弹性规格小型I。已不支持,请勿使用。 - L7_flavor.elb.pro.s1.medium:弹性规格中型I。已不支持,请勿使用。 - L7_flavor.elb.pro.s1.large:弹性规格大型I。已不支持,请勿使用。 - L7_flavor.elb.pro.max: 七层弹性规格](tag:dt,hcso_dt)
|
53
53
|
:type name: str
|
54
54
|
:param shared: 参数解释:是否公共规格。 取值范围: - true表示公共规格,所有租户可见。 - false表示私有规格,为当前租户所有。
|
55
55
|
:type shared: bool
|
@@ -134,7 +134,7 @@ class Flavor:
|
|
134
134
|
def name(self):
|
135
135
|
r"""Gets the name of this Flavor.
|
136
136
|
|
137
|
-
参数解释:规格名称。 取值范围: 网络型有如下规格: - L4_flavor.elb.s1.small: 小型 I - L4_flavor.elb.s2.small: 小型 II - L4_flavor.elb.s1.medium: 中型 I - L4_flavor.elb.s2.medium: 中型 II - L4_flavor.elb.s1.large: 大型 I - L4_flavor.elb.s2.large: 大型 II - L4_flavor.elb.pro.max: 四层弹性规格 应用型有如下规格: - L7_flavor.elb.s1.small: 小型 I - L7_flavor.elb.s2.small: 小型 II - L7_flavor.elb.s1.medium: 中型 I - L7_flavor.elb.s2.medium: 中型 II - L7_flavor.elb.s1.large: 大型 I - L7_flavor.elb.s2.large: 大型 II - L7_flavor.elb.s1.extra-large: 超大型 I - L7_flavor.elb.s2.extra-large: 超大型 II - L7_flavor.elb.pro.max: 七层弹性规格
|
137
|
+
参数解释:规格名称。 取值范围: [网络型有如下规格: - L4_flavor.elb.s1.small: 小型 I - L4_flavor.elb.s2.small: 小型 II - L4_flavor.elb.s1.medium: 中型 I - L4_flavor.elb.s2.medium: 中型 II - L4_flavor.elb.s1.large: 大型 I - L4_flavor.elb.s2.large: 大型 II - L4_flavor.elb.pro.max: 四层弹性规格 应用型有如下规格: - L7_flavor.elb.s1.small: 小型 I - L7_flavor.elb.s2.small: 小型 II - L7_flavor.elb.s1.medium: 中型 I - L7_flavor.elb.s2.medium: 中型 II - L7_flavor.elb.s1.large: 大型 I - L7_flavor.elb.s2.large: 大型 II - L7_flavor.elb.s1.extra-large: 超大型 I - L7_flavor.elb.s2.extra-large: 超大型 II - L7_flavor.elb.pro.max: 七层弹性规格](tag:hws,hws_hk,hws_eu,hws_eu_wb,hws_test,fcs,ctc,cmcc,tm,sbc,hk_sbc,hk_tm,hk_vdf,srg,g42,hk_g42) [网络型有如下规格: - L4_flavor.elb.s1.small: 小型 I - L4_flavor.elb.s2.small: 小型 II - L4_flavor.elb.s1.medium: 中型 I - L4_flavor.elb.s2.medium: 中型 II - L4_flavor.elb.s1.large: 大型 I - L4_flavor.elb.s2.large: 大型 II - L4_flavor.elb.pro.max: 四层弹性规格 应用型有如下规格: - L7_flavor.elb.s1.small: 小型 I - L7_flavor.elb.s2.small: 小型 II - L7_flavor.elb.s1.medium: 中型 I - L7_flavor.elb.s2.medium: 中型 II - L7_flavor.elb.s1.large: 大型 I - L7_flavor.elb.s2.large: 大型 II - L7_flavor.elb.pro.s1.small:弹性规格小型I。已不支持,请勿使用。 - L7_flavor.elb.pro.s1.medium:弹性规格中型I。已不支持,请勿使用。 - L7_flavor.elb.pro.s1.large:弹性规格大型I。已不支持,请勿使用。 - L7_flavor.elb.pro.max: 七层弹性规格](tag:dt,hcso_dt)
|
138
138
|
|
139
139
|
:return: The name of this Flavor.
|
140
140
|
:rtype: str
|
@@ -145,7 +145,7 @@ class Flavor:
|
|
145
145
|
def name(self, name):
|
146
146
|
r"""Sets the name of this Flavor.
|
147
147
|
|
148
|
-
参数解释:规格名称。 取值范围: 网络型有如下规格: - L4_flavor.elb.s1.small: 小型 I - L4_flavor.elb.s2.small: 小型 II - L4_flavor.elb.s1.medium: 中型 I - L4_flavor.elb.s2.medium: 中型 II - L4_flavor.elb.s1.large: 大型 I - L4_flavor.elb.s2.large: 大型 II - L4_flavor.elb.pro.max: 四层弹性规格 应用型有如下规格: - L7_flavor.elb.s1.small: 小型 I - L7_flavor.elb.s2.small: 小型 II - L7_flavor.elb.s1.medium: 中型 I - L7_flavor.elb.s2.medium: 中型 II - L7_flavor.elb.s1.large: 大型 I - L7_flavor.elb.s2.large: 大型 II - L7_flavor.elb.s1.extra-large: 超大型 I - L7_flavor.elb.s2.extra-large: 超大型 II - L7_flavor.elb.pro.max: 七层弹性规格
|
148
|
+
参数解释:规格名称。 取值范围: [网络型有如下规格: - L4_flavor.elb.s1.small: 小型 I - L4_flavor.elb.s2.small: 小型 II - L4_flavor.elb.s1.medium: 中型 I - L4_flavor.elb.s2.medium: 中型 II - L4_flavor.elb.s1.large: 大型 I - L4_flavor.elb.s2.large: 大型 II - L4_flavor.elb.pro.max: 四层弹性规格 应用型有如下规格: - L7_flavor.elb.s1.small: 小型 I - L7_flavor.elb.s2.small: 小型 II - L7_flavor.elb.s1.medium: 中型 I - L7_flavor.elb.s2.medium: 中型 II - L7_flavor.elb.s1.large: 大型 I - L7_flavor.elb.s2.large: 大型 II - L7_flavor.elb.s1.extra-large: 超大型 I - L7_flavor.elb.s2.extra-large: 超大型 II - L7_flavor.elb.pro.max: 七层弹性规格](tag:hws,hws_hk,hws_eu,hws_eu_wb,hws_test,fcs,ctc,cmcc,tm,sbc,hk_sbc,hk_tm,hk_vdf,srg,g42,hk_g42) [网络型有如下规格: - L4_flavor.elb.s1.small: 小型 I - L4_flavor.elb.s2.small: 小型 II - L4_flavor.elb.s1.medium: 中型 I - L4_flavor.elb.s2.medium: 中型 II - L4_flavor.elb.s1.large: 大型 I - L4_flavor.elb.s2.large: 大型 II - L4_flavor.elb.pro.max: 四层弹性规格 应用型有如下规格: - L7_flavor.elb.s1.small: 小型 I - L7_flavor.elb.s2.small: 小型 II - L7_flavor.elb.s1.medium: 中型 I - L7_flavor.elb.s2.medium: 中型 II - L7_flavor.elb.s1.large: 大型 I - L7_flavor.elb.s2.large: 大型 II - L7_flavor.elb.pro.s1.small:弹性规格小型I。已不支持,请勿使用。 - L7_flavor.elb.pro.s1.medium:弹性规格中型I。已不支持,请勿使用。 - L7_flavor.elb.pro.s1.large:弹性规格大型I。已不支持,请勿使用。 - L7_flavor.elb.pro.max: 七层弹性规格](tag:dt,hcso_dt)
|
149
149
|
|
150
150
|
:param name: The name of this Flavor.
|
151
151
|
:type name: str
|
@@ -19,17 +19,15 @@ class ListAvailabilityZonesResponse(SdkResponse):
|
|
19
19
|
|
20
20
|
openapi_types = {
|
21
21
|
'request_id': 'str',
|
22
|
-
'availability_zones': 'list[list[AvailabilityZone]]'
|
23
|
-
'spec_code': 'str'
|
22
|
+
'availability_zones': 'list[list[AvailabilityZone]]'
|
24
23
|
}
|
25
24
|
|
26
25
|
attribute_map = {
|
27
26
|
'request_id': 'request_id',
|
28
|
-
'availability_zones': 'availability_zones'
|
29
|
-
'spec_code': 'spec_code'
|
27
|
+
'availability_zones': 'availability_zones'
|
30
28
|
}
|
31
29
|
|
32
|
-
def __init__(self, request_id=None, availability_zones=None
|
30
|
+
def __init__(self, request_id=None, availability_zones=None):
|
33
31
|
r"""ListAvailabilityZonesResponse
|
34
32
|
|
35
33
|
The model defined in huaweicloud sdk
|
@@ -38,23 +36,18 @@ class ListAvailabilityZonesResponse(SdkResponse):
|
|
38
36
|
:type request_id: str
|
39
37
|
:param availability_zones: 参数解释:返回创建LB时可使用的可用区集合列表。如:[[az1,az2],[az2,az3]] ,则在创建LB时,只能从其中的一个子列表中选择一个或多个可用区,不能跨列表选择。在上述例子中,不能选择az1和az3。
|
40
38
|
:type availability_zones: list[list[AvailabilityZone]]
|
41
|
-
:param spec_code: 参数解释:可用区的产品编码,仅边缘场景有效。
|
42
|
-
:type spec_code: str
|
43
39
|
"""
|
44
40
|
|
45
41
|
super(ListAvailabilityZonesResponse, self).__init__()
|
46
42
|
|
47
43
|
self._request_id = None
|
48
44
|
self._availability_zones = None
|
49
|
-
self._spec_code = None
|
50
45
|
self.discriminator = None
|
51
46
|
|
52
47
|
if request_id is not None:
|
53
48
|
self.request_id = request_id
|
54
49
|
if availability_zones is not None:
|
55
50
|
self.availability_zones = availability_zones
|
56
|
-
if spec_code is not None:
|
57
|
-
self.spec_code = spec_code
|
58
51
|
|
59
52
|
@property
|
60
53
|
def request_id(self):
|
@@ -100,28 +93,6 @@ class ListAvailabilityZonesResponse(SdkResponse):
|
|
100
93
|
"""
|
101
94
|
self._availability_zones = availability_zones
|
102
95
|
|
103
|
-
@property
|
104
|
-
def spec_code(self):
|
105
|
-
r"""Gets the spec_code of this ListAvailabilityZonesResponse.
|
106
|
-
|
107
|
-
参数解释:可用区的产品编码,仅边缘场景有效。
|
108
|
-
|
109
|
-
:return: The spec_code of this ListAvailabilityZonesResponse.
|
110
|
-
:rtype: str
|
111
|
-
"""
|
112
|
-
return self._spec_code
|
113
|
-
|
114
|
-
@spec_code.setter
|
115
|
-
def spec_code(self, spec_code):
|
116
|
-
r"""Sets the spec_code of this ListAvailabilityZonesResponse.
|
117
|
-
|
118
|
-
参数解释:可用区的产品编码,仅边缘场景有效。
|
119
|
-
|
120
|
-
:param spec_code: The spec_code of this ListAvailabilityZonesResponse.
|
121
|
-
:type spec_code: str
|
122
|
-
"""
|
123
|
-
self._spec_code = spec_code
|
124
|
-
|
125
96
|
def to_dict(self):
|
126
97
|
"""Returns the model properties as a dict"""
|
127
98
|
result = {}
|
@@ -17,6 +17,9 @@ class ListJobsRequest:
|
|
17
17
|
sensitive_list = []
|
18
18
|
|
19
19
|
openapi_types = {
|
20
|
+
'limit': 'int',
|
21
|
+
'marker': 'str',
|
22
|
+
'page_reverse': 'bool',
|
20
23
|
'job_id': 'str',
|
21
24
|
'job_type': 'str',
|
22
25
|
'status': 'str',
|
@@ -26,6 +29,9 @@ class ListJobsRequest:
|
|
26
29
|
}
|
27
30
|
|
28
31
|
attribute_map = {
|
32
|
+
'limit': 'limit',
|
33
|
+
'marker': 'marker',
|
34
|
+
'page_reverse': 'page_reverse',
|
29
35
|
'job_id': 'job_id',
|
30
36
|
'job_type': 'job_type',
|
31
37
|
'status': 'status',
|
@@ -34,11 +40,17 @@ class ListJobsRequest:
|
|
34
40
|
'begin_time': 'begin_time'
|
35
41
|
}
|
36
42
|
|
37
|
-
def __init__(self, job_id=None, job_type=None, status=None, error_code=None, resource_id=None, begin_time=None):
|
43
|
+
def __init__(self, limit=None, marker=None, page_reverse=None, job_id=None, job_type=None, status=None, error_code=None, resource_id=None, begin_time=None):
|
38
44
|
r"""ListJobsRequest
|
39
45
|
|
40
46
|
The model defined in huaweicloud sdk
|
41
47
|
|
48
|
+
:param limit: 参数解释:每页返回的个数。 取值范围:0-2000 默认取值:2000
|
49
|
+
:type limit: int
|
50
|
+
:param marker: 上一页最后一条记录的ID。 使用说明: - 必须与limit一起使用。 - 不指定时表示查询第一页。 - 该字段不允许为空或无效的ID。
|
51
|
+
:type marker: str
|
52
|
+
:param page_reverse: 是否反向查询。 取值: - true:查询上一页。 - false:查询下一页,默认。 使用说明: - 必须与limit一起使用。 - 当page_reverse=true时,若要查询上一页,marker取值为当前页返回值的previous_marker
|
53
|
+
:type page_reverse: bool
|
42
54
|
:param job_id: 参数解释:任务ID。
|
43
55
|
:type job_id: str
|
44
56
|
:param job_type: 参数解释:任务类型。
|
@@ -55,6 +67,9 @@ class ListJobsRequest:
|
|
55
67
|
|
56
68
|
|
57
69
|
|
70
|
+
self._limit = None
|
71
|
+
self._marker = None
|
72
|
+
self._page_reverse = None
|
58
73
|
self._job_id = None
|
59
74
|
self._job_type = None
|
60
75
|
self._status = None
|
@@ -63,6 +78,12 @@ class ListJobsRequest:
|
|
63
78
|
self._begin_time = None
|
64
79
|
self.discriminator = None
|
65
80
|
|
81
|
+
if limit is not None:
|
82
|
+
self.limit = limit
|
83
|
+
if marker is not None:
|
84
|
+
self.marker = marker
|
85
|
+
if page_reverse is not None:
|
86
|
+
self.page_reverse = page_reverse
|
66
87
|
if job_id is not None:
|
67
88
|
self.job_id = job_id
|
68
89
|
if job_type is not None:
|
@@ -76,6 +97,72 @@ class ListJobsRequest:
|
|
76
97
|
if begin_time is not None:
|
77
98
|
self.begin_time = begin_time
|
78
99
|
|
100
|
+
@property
|
101
|
+
def limit(self):
|
102
|
+
r"""Gets the limit of this ListJobsRequest.
|
103
|
+
|
104
|
+
参数解释:每页返回的个数。 取值范围:0-2000 默认取值:2000
|
105
|
+
|
106
|
+
:return: The limit of this ListJobsRequest.
|
107
|
+
:rtype: int
|
108
|
+
"""
|
109
|
+
return self._limit
|
110
|
+
|
111
|
+
@limit.setter
|
112
|
+
def limit(self, limit):
|
113
|
+
r"""Sets the limit of this ListJobsRequest.
|
114
|
+
|
115
|
+
参数解释:每页返回的个数。 取值范围:0-2000 默认取值:2000
|
116
|
+
|
117
|
+
:param limit: The limit of this ListJobsRequest.
|
118
|
+
:type limit: int
|
119
|
+
"""
|
120
|
+
self._limit = limit
|
121
|
+
|
122
|
+
@property
|
123
|
+
def marker(self):
|
124
|
+
r"""Gets the marker of this ListJobsRequest.
|
125
|
+
|
126
|
+
上一页最后一条记录的ID。 使用说明: - 必须与limit一起使用。 - 不指定时表示查询第一页。 - 该字段不允许为空或无效的ID。
|
127
|
+
|
128
|
+
:return: The marker of this ListJobsRequest.
|
129
|
+
:rtype: str
|
130
|
+
"""
|
131
|
+
return self._marker
|
132
|
+
|
133
|
+
@marker.setter
|
134
|
+
def marker(self, marker):
|
135
|
+
r"""Sets the marker of this ListJobsRequest.
|
136
|
+
|
137
|
+
上一页最后一条记录的ID。 使用说明: - 必须与limit一起使用。 - 不指定时表示查询第一页。 - 该字段不允许为空或无效的ID。
|
138
|
+
|
139
|
+
:param marker: The marker of this ListJobsRequest.
|
140
|
+
:type marker: str
|
141
|
+
"""
|
142
|
+
self._marker = marker
|
143
|
+
|
144
|
+
@property
|
145
|
+
def page_reverse(self):
|
146
|
+
r"""Gets the page_reverse of this ListJobsRequest.
|
147
|
+
|
148
|
+
是否反向查询。 取值: - true:查询上一页。 - false:查询下一页,默认。 使用说明: - 必须与limit一起使用。 - 当page_reverse=true时,若要查询上一页,marker取值为当前页返回值的previous_marker
|
149
|
+
|
150
|
+
:return: The page_reverse of this ListJobsRequest.
|
151
|
+
:rtype: bool
|
152
|
+
"""
|
153
|
+
return self._page_reverse
|
154
|
+
|
155
|
+
@page_reverse.setter
|
156
|
+
def page_reverse(self, page_reverse):
|
157
|
+
r"""Sets the page_reverse of this ListJobsRequest.
|
158
|
+
|
159
|
+
是否反向查询。 取值: - true:查询上一页。 - false:查询下一页,默认。 使用说明: - 必须与limit一起使用。 - 当page_reverse=true时,若要查询上一页,marker取值为当前页返回值的previous_marker
|
160
|
+
|
161
|
+
:param page_reverse: The page_reverse of this ListJobsRequest.
|
162
|
+
:type page_reverse: bool
|
163
|
+
"""
|
164
|
+
self._page_reverse = page_reverse
|
165
|
+
|
79
166
|
@property
|
80
167
|
def job_id(self):
|
81
168
|
r"""Gets the job_id of this ListJobsRequest.
|
@@ -19,21 +19,25 @@ class ListJobsResponse(SdkResponse):
|
|
19
19
|
|
20
20
|
openapi_types = {
|
21
21
|
'jobs': 'list[MainJob]',
|
22
|
+
'page_info': 'PageInfo',
|
22
23
|
'request_id': 'str'
|
23
24
|
}
|
24
25
|
|
25
26
|
attribute_map = {
|
26
27
|
'jobs': 'jobs',
|
28
|
+
'page_info': 'page_info',
|
27
29
|
'request_id': 'request_id'
|
28
30
|
}
|
29
31
|
|
30
|
-
def __init__(self, jobs=None, request_id=None):
|
32
|
+
def __init__(self, jobs=None, page_info=None, request_id=None):
|
31
33
|
r"""ListJobsResponse
|
32
34
|
|
33
35
|
The model defined in huaweicloud sdk
|
34
36
|
|
35
37
|
:param jobs: 任务列表
|
36
38
|
:type jobs: list[:class:`huaweicloudsdkelb.v3.MainJob`]
|
39
|
+
:param page_info:
|
40
|
+
:type page_info: :class:`huaweicloudsdkelb.v3.PageInfo`
|
37
41
|
:param request_id: 请求ID。 注:自动生成 。
|
38
42
|
:type request_id: str
|
39
43
|
"""
|
@@ -41,11 +45,14 @@ class ListJobsResponse(SdkResponse):
|
|
41
45
|
super(ListJobsResponse, self).__init__()
|
42
46
|
|
43
47
|
self._jobs = None
|
48
|
+
self._page_info = None
|
44
49
|
self._request_id = None
|
45
50
|
self.discriminator = None
|
46
51
|
|
47
52
|
if jobs is not None:
|
48
53
|
self.jobs = jobs
|
54
|
+
if page_info is not None:
|
55
|
+
self.page_info = page_info
|
49
56
|
if request_id is not None:
|
50
57
|
self.request_id = request_id
|
51
58
|
|
@@ -71,6 +78,24 @@ class ListJobsResponse(SdkResponse):
|
|
71
78
|
"""
|
72
79
|
self._jobs = jobs
|
73
80
|
|
81
|
+
@property
|
82
|
+
def page_info(self):
|
83
|
+
r"""Gets the page_info of this ListJobsResponse.
|
84
|
+
|
85
|
+
:return: The page_info of this ListJobsResponse.
|
86
|
+
:rtype: :class:`huaweicloudsdkelb.v3.PageInfo`
|
87
|
+
"""
|
88
|
+
return self._page_info
|
89
|
+
|
90
|
+
@page_info.setter
|
91
|
+
def page_info(self, page_info):
|
92
|
+
r"""Sets the page_info of this ListJobsResponse.
|
93
|
+
|
94
|
+
:param page_info: The page_info of this ListJobsResponse.
|
95
|
+
:type page_info: :class:`huaweicloudsdkelb.v3.PageInfo`
|
96
|
+
"""
|
97
|
+
self._page_info = page_info
|
98
|
+
|
74
99
|
@property
|
75
100
|
def request_id(self):
|
76
101
|
r"""Gets the request_id of this ListJobsResponse.
|
@@ -67,7 +67,7 @@ class ListMembersRequest:
|
|
67
67
|
:type limit: int
|
68
68
|
:param page_reverse: 是否反向查询。 取值: - true:查询上一页。 - false:查询下一页,默认。 使用说明: - 必须与limit一起使用。 - 当page_reverse=true时,若要查询上一页,marker取值为当前页返回值的previous_marker。
|
69
69
|
:type page_reverse: bool
|
70
|
-
:param name:
|
70
|
+
:param name: 后端服务器名称。注意:该名称并非ECS名称。 支持多值查询,查询条件格式:*name=xxx&name=xxx*。
|
71
71
|
:type name: list[str]
|
72
72
|
:param weight: 后端服务器的权重,请求将根据pool配置的负载均衡算法和后端服务器的权重进行负载分发。 权重值越大,分发的请求越多。权重为0的后端不再接受新的请求。 取值:0-100。 支持多值查询,查询条件格式:*weight=xxx&weight=xxx*。
|
73
73
|
:type weight: list[int]
|
@@ -237,7 +237,7 @@ class ListMembersRequest:
|
|
237
237
|
def name(self):
|
238
238
|
r"""Gets the name of this ListMembersRequest.
|
239
239
|
|
240
|
-
|
240
|
+
后端服务器名称。注意:该名称并非ECS名称。 支持多值查询,查询条件格式:*name=xxx&name=xxx*。
|
241
241
|
|
242
242
|
:return: The name of this ListMembersRequest.
|
243
243
|
:rtype: list[str]
|
@@ -248,7 +248,7 @@ class ListMembersRequest:
|
|
248
248
|
def name(self, name):
|
249
249
|
r"""Sets the name of this ListMembersRequest.
|
250
250
|
|
251
|
-
|
251
|
+
后端服务器名称。注意:该名称并非ECS名称。 支持多值查询,查询条件格式:*name=xxx&name=xxx*。
|
252
252
|
|
253
253
|
:param name: The name of this ListMembersRequest.
|
254
254
|
:type name: list[str]
|