huaweicloudsdkvpcep 3.1.85__py2.py3-none-any.whl → 3.1.87__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.
- huaweicloudsdkvpcep/v1/__init__.py +8 -8
- huaweicloudsdkvpcep/v1/model/__init__.py +8 -8
- huaweicloudsdkvpcep/v1/model/accept_or_reject_endpoint_request_body.py +3 -3
- huaweicloudsdkvpcep/v1/model/add_or_remove_service_permissions_request_body.py +6 -6
- huaweicloudsdkvpcep/v1/model/add_or_remove_service_permissions_response.py +6 -6
- huaweicloudsdkvpcep/v1/model/batch_add_endpoint_service_permissions_request.py +4 -4
- huaweicloudsdkvpcep/v1/model/{batch_add_permission_request.py → batch_add_endpoint_service_permissions_request_body.py} +14 -14
- huaweicloudsdkvpcep/v1/model/batch_add_endpoint_service_permissions_response.py +5 -1
- huaweicloudsdkvpcep/v1/model/batch_add_or_remove_resource_instance_request.py +10 -10
- huaweicloudsdkvpcep/v1/model/{batch_add_or_remove_resource_instance_body.py → batch_add_or_remove_resource_instance_request_body.py} +11 -11
- huaweicloudsdkvpcep/v1/model/batch_remove_endpoint_service_permissions_request.py +4 -4
- huaweicloudsdkvpcep/v1/model/{batch_remove_permission_request.py → batch_remove_endpoint_service_permissions_request_body.py} +12 -8
- huaweicloudsdkvpcep/v1/model/batch_remove_endpoint_service_permissions_response.py +5 -1
- huaweicloudsdkvpcep/v1/model/connection_endpoints.py +11 -11
- huaweicloudsdkvpcep/v1/model/create_endpoint_request_body.py +6 -6
- huaweicloudsdkvpcep/v1/model/create_endpoint_response.py +31 -60
- huaweicloudsdkvpcep/v1/model/create_endpoint_service_request_body.py +15 -15
- huaweicloudsdkvpcep/v1/model/create_endpoint_service_response.py +29 -29
- huaweicloudsdkvpcep/v1/model/delete_endpoint_policy_response.py +21 -108
- huaweicloudsdkvpcep/v1/model/{endpoint_resp.py → endpoint_response_body.py} +122 -122
- huaweicloudsdkvpcep/v1/model/endpoint_service.py +13 -13
- huaweicloudsdkvpcep/v1/model/eps_add_permission_request.py +3 -3
- huaweicloudsdkvpcep/v1/model/eps_permission.py +10 -10
- huaweicloudsdkvpcep/v1/model/list_endpoint_info_details_response.py +33 -33
- huaweicloudsdkvpcep/v1/model/list_endpoint_service_request.py +9 -9
- huaweicloudsdkvpcep/v1/model/list_endpoints_request.py +6 -6
- huaweicloudsdkvpcep/v1/model/list_endpoints_response.py +4 -4
- huaweicloudsdkvpcep/v1/model/list_query_project_resource_tags_request.py +3 -3
- huaweicloudsdkvpcep/v1/model/list_quota_details_request.py +3 -3
- huaweicloudsdkvpcep/v1/model/list_quota_details_response.py +4 -4
- huaweicloudsdkvpcep/v1/model/list_resource_instances_request.py +3 -3
- huaweicloudsdkvpcep/v1/model/list_service_connections_request.py +9 -9
- huaweicloudsdkvpcep/v1/model/list_service_describe_details_response.py +13 -13
- huaweicloudsdkvpcep/v1/model/list_service_details_response.py +29 -29
- huaweicloudsdkvpcep/v1/model/list_service_permissions_details_request.py +6 -6
- huaweicloudsdkvpcep/v1/model/list_service_public_details_request.py +6 -6
- huaweicloudsdkvpcep/v1/model/permission_object.py +10 -10
- huaweicloudsdkvpcep/v1/model/policy_statement.py +3 -3
- huaweicloudsdkvpcep/v1/model/quotas.py +3 -3
- huaweicloudsdkvpcep/v1/model/{resources_resp.py → resources_response_body.py} +7 -7
- huaweicloudsdkvpcep/v1/model/service_list.py +29 -29
- huaweicloudsdkvpcep/v1/model/update_endpoint_connections_desc_request.py +4 -4
- huaweicloudsdkvpcep/v1/model/{update_ep_connections.py → update_endpoint_connections_desc_request_body.py} +7 -7
- huaweicloudsdkvpcep/v1/model/update_endpoint_policy_response.py +21 -108
- huaweicloudsdkvpcep/v1/model/update_endpoint_service_name_request.py +4 -4
- huaweicloudsdkvpcep/v1/model/{update_endpoint_service_name_mode.py → update_endpoint_service_name_request_body.py} +7 -7
- huaweicloudsdkvpcep/v1/model/update_endpoint_service_permission_desc_request.py +4 -4
- huaweicloudsdkvpcep/v1/model/{update_permission_desc_request.py → update_endpoint_service_permission_desc_request_body.py} +7 -7
- huaweicloudsdkvpcep/v1/model/update_endpoint_service_permission_desc_response.py +5 -1
- huaweicloudsdkvpcep/v1/model/update_endpoint_service_request_body.py +9 -9
- huaweicloudsdkvpcep/v1/model/update_endpoint_service_response.py +29 -29
- huaweicloudsdkvpcep/v1/model/update_endpoint_white_request_body.py +6 -6
- huaweicloudsdkvpcep/v1/model/update_endpoint_white_response.py +26 -26
- huaweicloudsdkvpcep/v1/model/version_object.py +10 -10
- huaweicloudsdkvpcep/v1/vpcep_async_client.py +1 -1
- huaweicloudsdkvpcep/v1/vpcep_client.py +1 -1
- {huaweicloudsdkvpcep-3.1.85.dist-info → huaweicloudsdkvpcep-3.1.87.dist-info}/METADATA +2 -2
- {huaweicloudsdkvpcep-3.1.85.dist-info → huaweicloudsdkvpcep-3.1.87.dist-info}/RECORD +61 -61
- {huaweicloudsdkvpcep-3.1.85.dist-info → huaweicloudsdkvpcep-3.1.87.dist-info}/WHEEL +1 -1
- {huaweicloudsdkvpcep-3.1.85.dist-info → huaweicloudsdkvpcep-3.1.87.dist-info}/LICENSE +0 -0
- {huaweicloudsdkvpcep-3.1.85.dist-info → huaweicloudsdkvpcep-3.1.87.dist-info}/top_level.txt +0 -0
@@ -5,7 +5,7 @@ import six
|
|
5
5
|
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
6
|
|
7
7
|
|
8
|
-
class
|
8
|
+
class EndpointResponseBody:
|
9
9
|
|
10
10
|
"""
|
11
11
|
Attributes:
|
@@ -29,8 +29,8 @@ class EndpointResp:
|
|
29
29
|
'ip': 'str',
|
30
30
|
'vpc_id': 'str',
|
31
31
|
'subnet_id': 'str',
|
32
|
-
'created_at': '
|
33
|
-
'updated_at': '
|
32
|
+
'created_at': 'datetime',
|
33
|
+
'updated_at': 'datetime',
|
34
34
|
'project_id': 'str',
|
35
35
|
'tags': 'list[TagList]',
|
36
36
|
'error': 'list[QueryError]',
|
@@ -71,17 +71,17 @@ class EndpointResp:
|
|
71
71
|
}
|
72
72
|
|
73
73
|
def __init__(self, id=None, service_type=None, status=None, active_status=None, endpoint_service_name=None, marker_id=None, endpoint_service_id=None, enable_dns=None, dns_names=None, ip=None, vpc_id=None, subnet_id=None, created_at=None, updated_at=None, project_id=None, tags=None, error=None, whitelist=None, enable_whitelist=None, routetables=None, description=None, policy_statement=None, endpoint_pool_id=None, public_border_group=None):
|
74
|
-
"""
|
74
|
+
"""EndpointResponseBody
|
75
75
|
|
76
76
|
The model defined in huaweicloud sdk
|
77
77
|
|
78
78
|
:param id: 终端节点的ID,唯一标识。
|
79
79
|
:type id: str
|
80
|
-
:param service_type: 终端节点连接的终端节点服务类型。
|
80
|
+
:param service_type: 终端节点连接的终端节点服务类型。 - gateway:由运维人员配置。用户无需创建,可直接使用。 - interface:包括运维人员配置的云服务和用户自己创建的私有服务。 其中,运维人员配置的云服务无需创建,用户可直接使用。 您可以通过查询公共终端节点服务列表, 查看由运维人员配置的所有用户可见且可连接的终端节点服务, 并通过创建终端节点服务创建Interface类型的终端节点服务。
|
81
81
|
:type service_type: str
|
82
|
-
:param status: 终端节点的连接状态。
|
82
|
+
:param status: 终端节点的连接状态。 - pendingAcceptance:待接受 - creating:创建中 - accepted:已接受 - rejected:已拒绝 - failed:失败 - deleting:删除中
|
83
83
|
:type status: str
|
84
|
-
:param active_status: 帐号状态。
|
84
|
+
:param active_status: 帐号状态。 - frozen:冻结 - active:解冻
|
85
85
|
:type active_status: list[str]
|
86
86
|
:param endpoint_service_name: 终端节点服务的名称。
|
87
87
|
:type endpoint_service_name: str
|
@@ -89,7 +89,7 @@ class EndpointResp:
|
|
89
89
|
:type marker_id: int
|
90
90
|
:param endpoint_service_id: 终端节点服务的ID。
|
91
91
|
:type endpoint_service_id: str
|
92
|
-
:param enable_dns: 是否创建域名。
|
92
|
+
:param enable_dns: 是否创建域名。 - true:创建域名 - false:不创建域名 说明 当创建连接gateway类型终端节点服务的终端节点时, “enable_dns”设置为true或者false,均不创建域名。
|
93
93
|
:type enable_dns: bool
|
94
94
|
:param dns_names: 访问所连接的终端节点服务的域名。 当“enable_dns”为true时,该参数可见。
|
95
95
|
:type dns_names: list[str]
|
@@ -100,9 +100,9 @@ class EndpointResp:
|
|
100
100
|
:param subnet_id: vpc_id对应VPC下已创建的网络(network)的ID,UUID格式。
|
101
101
|
:type subnet_id: str
|
102
102
|
:param created_at: 终端节点的创建时间。 采用UTC时间格式,格式为:YYYY-MM-DDTHH:MM:SSZ
|
103
|
-
:type created_at:
|
103
|
+
:type created_at: datetime
|
104
104
|
:param updated_at: 终端节点的更新时间。 采用UTC时间格式,格式为:YYYY-MM-DDTHH:MM:SSZ
|
105
|
-
:type updated_at:
|
105
|
+
:type updated_at: datetime
|
106
106
|
:param project_id: 项目ID,获取方法请参见获取项目ID。
|
107
107
|
:type project_id: str
|
108
108
|
:param tags: 标签列表,没有标签默认为空数组。
|
@@ -111,7 +111,7 @@ class EndpointResp:
|
|
111
111
|
:type error: list[:class:`huaweicloudsdkvpcep.v1.QueryError`]
|
112
112
|
:param whitelist: 控制访问终端节点的白名单。 若未创建,则返回空列表。 创建连接Interface类型终端节点服务的终端节点时,显示此参数。
|
113
113
|
:type whitelist: list[str]
|
114
|
-
:param enable_whitelist: 是否开启网络ACL隔离。
|
114
|
+
:param enable_whitelist: 是否开启网络ACL隔离。 - true:开启网络ACL隔离 - false:不开启网络ACL隔离 若未指定,则返回false。 创建连接Interface类型终端节点服务的终端节点时,显示此参数。
|
115
115
|
:type enable_whitelist: bool
|
116
116
|
:param routetables: 路由表ID列表。 若未指定,返回默认VPC下路由表ID。 创建连接Gateway类型终端节点服务的终端节点时,显示此参数。
|
117
117
|
:type routetables: list[str]
|
@@ -204,528 +204,528 @@ class EndpointResp:
|
|
204
204
|
|
205
205
|
@property
|
206
206
|
def id(self):
|
207
|
-
"""Gets the id of this
|
207
|
+
"""Gets the id of this EndpointResponseBody.
|
208
208
|
|
209
209
|
终端节点的ID,唯一标识。
|
210
210
|
|
211
|
-
:return: The id of this
|
211
|
+
:return: The id of this EndpointResponseBody.
|
212
212
|
:rtype: str
|
213
213
|
"""
|
214
214
|
return self._id
|
215
215
|
|
216
216
|
@id.setter
|
217
217
|
def id(self, id):
|
218
|
-
"""Sets the id of this
|
218
|
+
"""Sets the id of this EndpointResponseBody.
|
219
219
|
|
220
220
|
终端节点的ID,唯一标识。
|
221
221
|
|
222
|
-
:param id: The id of this
|
222
|
+
:param id: The id of this EndpointResponseBody.
|
223
223
|
:type id: str
|
224
224
|
"""
|
225
225
|
self._id = id
|
226
226
|
|
227
227
|
@property
|
228
228
|
def service_type(self):
|
229
|
-
"""Gets the service_type of this
|
229
|
+
"""Gets the service_type of this EndpointResponseBody.
|
230
230
|
|
231
|
-
终端节点连接的终端节点服务类型。
|
231
|
+
终端节点连接的终端节点服务类型。 - gateway:由运维人员配置。用户无需创建,可直接使用。 - interface:包括运维人员配置的云服务和用户自己创建的私有服务。 其中,运维人员配置的云服务无需创建,用户可直接使用。 您可以通过查询公共终端节点服务列表, 查看由运维人员配置的所有用户可见且可连接的终端节点服务, 并通过创建终端节点服务创建Interface类型的终端节点服务。
|
232
232
|
|
233
|
-
:return: The service_type of this
|
233
|
+
:return: The service_type of this EndpointResponseBody.
|
234
234
|
:rtype: str
|
235
235
|
"""
|
236
236
|
return self._service_type
|
237
237
|
|
238
238
|
@service_type.setter
|
239
239
|
def service_type(self, service_type):
|
240
|
-
"""Sets the service_type of this
|
240
|
+
"""Sets the service_type of this EndpointResponseBody.
|
241
241
|
|
242
|
-
终端节点连接的终端节点服务类型。
|
242
|
+
终端节点连接的终端节点服务类型。 - gateway:由运维人员配置。用户无需创建,可直接使用。 - interface:包括运维人员配置的云服务和用户自己创建的私有服务。 其中,运维人员配置的云服务无需创建,用户可直接使用。 您可以通过查询公共终端节点服务列表, 查看由运维人员配置的所有用户可见且可连接的终端节点服务, 并通过创建终端节点服务创建Interface类型的终端节点服务。
|
243
243
|
|
244
|
-
:param service_type: The service_type of this
|
244
|
+
:param service_type: The service_type of this EndpointResponseBody.
|
245
245
|
:type service_type: str
|
246
246
|
"""
|
247
247
|
self._service_type = service_type
|
248
248
|
|
249
249
|
@property
|
250
250
|
def status(self):
|
251
|
-
"""Gets the status of this
|
251
|
+
"""Gets the status of this EndpointResponseBody.
|
252
252
|
|
253
|
-
终端节点的连接状态。
|
253
|
+
终端节点的连接状态。 - pendingAcceptance:待接受 - creating:创建中 - accepted:已接受 - rejected:已拒绝 - failed:失败 - deleting:删除中
|
254
254
|
|
255
|
-
:return: The status of this
|
255
|
+
:return: The status of this EndpointResponseBody.
|
256
256
|
:rtype: str
|
257
257
|
"""
|
258
258
|
return self._status
|
259
259
|
|
260
260
|
@status.setter
|
261
261
|
def status(self, status):
|
262
|
-
"""Sets the status of this
|
262
|
+
"""Sets the status of this EndpointResponseBody.
|
263
263
|
|
264
|
-
终端节点的连接状态。
|
264
|
+
终端节点的连接状态。 - pendingAcceptance:待接受 - creating:创建中 - accepted:已接受 - rejected:已拒绝 - failed:失败 - deleting:删除中
|
265
265
|
|
266
|
-
:param status: The status of this
|
266
|
+
:param status: The status of this EndpointResponseBody.
|
267
267
|
:type status: str
|
268
268
|
"""
|
269
269
|
self._status = status
|
270
270
|
|
271
271
|
@property
|
272
272
|
def active_status(self):
|
273
|
-
"""Gets the active_status of this
|
273
|
+
"""Gets the active_status of this EndpointResponseBody.
|
274
274
|
|
275
|
-
帐号状态。
|
275
|
+
帐号状态。 - frozen:冻结 - active:解冻
|
276
276
|
|
277
|
-
:return: The active_status of this
|
277
|
+
:return: The active_status of this EndpointResponseBody.
|
278
278
|
:rtype: list[str]
|
279
279
|
"""
|
280
280
|
return self._active_status
|
281
281
|
|
282
282
|
@active_status.setter
|
283
283
|
def active_status(self, active_status):
|
284
|
-
"""Sets the active_status of this
|
284
|
+
"""Sets the active_status of this EndpointResponseBody.
|
285
285
|
|
286
|
-
帐号状态。
|
286
|
+
帐号状态。 - frozen:冻结 - active:解冻
|
287
287
|
|
288
|
-
:param active_status: The active_status of this
|
288
|
+
:param active_status: The active_status of this EndpointResponseBody.
|
289
289
|
:type active_status: list[str]
|
290
290
|
"""
|
291
291
|
self._active_status = active_status
|
292
292
|
|
293
293
|
@property
|
294
294
|
def endpoint_service_name(self):
|
295
|
-
"""Gets the endpoint_service_name of this
|
295
|
+
"""Gets the endpoint_service_name of this EndpointResponseBody.
|
296
296
|
|
297
297
|
终端节点服务的名称。
|
298
298
|
|
299
|
-
:return: The endpoint_service_name of this
|
299
|
+
:return: The endpoint_service_name of this EndpointResponseBody.
|
300
300
|
:rtype: str
|
301
301
|
"""
|
302
302
|
return self._endpoint_service_name
|
303
303
|
|
304
304
|
@endpoint_service_name.setter
|
305
305
|
def endpoint_service_name(self, endpoint_service_name):
|
306
|
-
"""Sets the endpoint_service_name of this
|
306
|
+
"""Sets the endpoint_service_name of this EndpointResponseBody.
|
307
307
|
|
308
308
|
终端节点服务的名称。
|
309
309
|
|
310
|
-
:param endpoint_service_name: The endpoint_service_name of this
|
310
|
+
:param endpoint_service_name: The endpoint_service_name of this EndpointResponseBody.
|
311
311
|
:type endpoint_service_name: str
|
312
312
|
"""
|
313
313
|
self._endpoint_service_name = endpoint_service_name
|
314
314
|
|
315
315
|
@property
|
316
316
|
def marker_id(self):
|
317
|
-
"""Gets the marker_id of this
|
317
|
+
"""Gets the marker_id of this EndpointResponseBody.
|
318
318
|
|
319
319
|
终端节点的报文标识。
|
320
320
|
|
321
|
-
:return: The marker_id of this
|
321
|
+
:return: The marker_id of this EndpointResponseBody.
|
322
322
|
:rtype: int
|
323
323
|
"""
|
324
324
|
return self._marker_id
|
325
325
|
|
326
326
|
@marker_id.setter
|
327
327
|
def marker_id(self, marker_id):
|
328
|
-
"""Sets the marker_id of this
|
328
|
+
"""Sets the marker_id of this EndpointResponseBody.
|
329
329
|
|
330
330
|
终端节点的报文标识。
|
331
331
|
|
332
|
-
:param marker_id: The marker_id of this
|
332
|
+
:param marker_id: The marker_id of this EndpointResponseBody.
|
333
333
|
:type marker_id: int
|
334
334
|
"""
|
335
335
|
self._marker_id = marker_id
|
336
336
|
|
337
337
|
@property
|
338
338
|
def endpoint_service_id(self):
|
339
|
-
"""Gets the endpoint_service_id of this
|
339
|
+
"""Gets the endpoint_service_id of this EndpointResponseBody.
|
340
340
|
|
341
341
|
终端节点服务的ID。
|
342
342
|
|
343
|
-
:return: The endpoint_service_id of this
|
343
|
+
:return: The endpoint_service_id of this EndpointResponseBody.
|
344
344
|
:rtype: str
|
345
345
|
"""
|
346
346
|
return self._endpoint_service_id
|
347
347
|
|
348
348
|
@endpoint_service_id.setter
|
349
349
|
def endpoint_service_id(self, endpoint_service_id):
|
350
|
-
"""Sets the endpoint_service_id of this
|
350
|
+
"""Sets the endpoint_service_id of this EndpointResponseBody.
|
351
351
|
|
352
352
|
终端节点服务的ID。
|
353
353
|
|
354
|
-
:param endpoint_service_id: The endpoint_service_id of this
|
354
|
+
:param endpoint_service_id: The endpoint_service_id of this EndpointResponseBody.
|
355
355
|
:type endpoint_service_id: str
|
356
356
|
"""
|
357
357
|
self._endpoint_service_id = endpoint_service_id
|
358
358
|
|
359
359
|
@property
|
360
360
|
def enable_dns(self):
|
361
|
-
"""Gets the enable_dns of this
|
361
|
+
"""Gets the enable_dns of this EndpointResponseBody.
|
362
362
|
|
363
|
-
是否创建域名。
|
363
|
+
是否创建域名。 - true:创建域名 - false:不创建域名 说明 当创建连接gateway类型终端节点服务的终端节点时, “enable_dns”设置为true或者false,均不创建域名。
|
364
364
|
|
365
|
-
:return: The enable_dns of this
|
365
|
+
:return: The enable_dns of this EndpointResponseBody.
|
366
366
|
:rtype: bool
|
367
367
|
"""
|
368
368
|
return self._enable_dns
|
369
369
|
|
370
370
|
@enable_dns.setter
|
371
371
|
def enable_dns(self, enable_dns):
|
372
|
-
"""Sets the enable_dns of this
|
372
|
+
"""Sets the enable_dns of this EndpointResponseBody.
|
373
373
|
|
374
|
-
是否创建域名。
|
374
|
+
是否创建域名。 - true:创建域名 - false:不创建域名 说明 当创建连接gateway类型终端节点服务的终端节点时, “enable_dns”设置为true或者false,均不创建域名。
|
375
375
|
|
376
|
-
:param enable_dns: The enable_dns of this
|
376
|
+
:param enable_dns: The enable_dns of this EndpointResponseBody.
|
377
377
|
:type enable_dns: bool
|
378
378
|
"""
|
379
379
|
self._enable_dns = enable_dns
|
380
380
|
|
381
381
|
@property
|
382
382
|
def dns_names(self):
|
383
|
-
"""Gets the dns_names of this
|
383
|
+
"""Gets the dns_names of this EndpointResponseBody.
|
384
384
|
|
385
385
|
访问所连接的终端节点服务的域名。 当“enable_dns”为true时,该参数可见。
|
386
386
|
|
387
|
-
:return: The dns_names of this
|
387
|
+
:return: The dns_names of this EndpointResponseBody.
|
388
388
|
:rtype: list[str]
|
389
389
|
"""
|
390
390
|
return self._dns_names
|
391
391
|
|
392
392
|
@dns_names.setter
|
393
393
|
def dns_names(self, dns_names):
|
394
|
-
"""Sets the dns_names of this
|
394
|
+
"""Sets the dns_names of this EndpointResponseBody.
|
395
395
|
|
396
396
|
访问所连接的终端节点服务的域名。 当“enable_dns”为true时,该参数可见。
|
397
397
|
|
398
|
-
:param dns_names: The dns_names of this
|
398
|
+
:param dns_names: The dns_names of this EndpointResponseBody.
|
399
399
|
:type dns_names: list[str]
|
400
400
|
"""
|
401
401
|
self._dns_names = dns_names
|
402
402
|
|
403
403
|
@property
|
404
404
|
def ip(self):
|
405
|
-
"""Gets the ip of this
|
405
|
+
"""Gets the ip of this EndpointResponseBody.
|
406
406
|
|
407
407
|
访问所连接的终端节点服务的IP。 仅当同时满足如下条件时,返回该参数: 当查询连接interface类型终端节点服务的终端节点时。 终端节点服务启用“连接审批”功能,且已经“接受”连接审批。 “status”可以是“accepted”或者“rejected(仅支持“接受”连接审批后再“拒绝”的情况)”。
|
408
408
|
|
409
|
-
:return: The ip of this
|
409
|
+
:return: The ip of this EndpointResponseBody.
|
410
410
|
:rtype: str
|
411
411
|
"""
|
412
412
|
return self._ip
|
413
413
|
|
414
414
|
@ip.setter
|
415
415
|
def ip(self, ip):
|
416
|
-
"""Sets the ip of this
|
416
|
+
"""Sets the ip of this EndpointResponseBody.
|
417
417
|
|
418
418
|
访问所连接的终端节点服务的IP。 仅当同时满足如下条件时,返回该参数: 当查询连接interface类型终端节点服务的终端节点时。 终端节点服务启用“连接审批”功能,且已经“接受”连接审批。 “status”可以是“accepted”或者“rejected(仅支持“接受”连接审批后再“拒绝”的情况)”。
|
419
419
|
|
420
|
-
:param ip: The ip of this
|
420
|
+
:param ip: The ip of this EndpointResponseBody.
|
421
421
|
:type ip: str
|
422
422
|
"""
|
423
423
|
self._ip = ip
|
424
424
|
|
425
425
|
@property
|
426
426
|
def vpc_id(self):
|
427
|
-
"""Gets the vpc_id of this
|
427
|
+
"""Gets the vpc_id of this EndpointResponseBody.
|
428
428
|
|
429
429
|
终端节点所在的VPC的ID。
|
430
430
|
|
431
|
-
:return: The vpc_id of this
|
431
|
+
:return: The vpc_id of this EndpointResponseBody.
|
432
432
|
:rtype: str
|
433
433
|
"""
|
434
434
|
return self._vpc_id
|
435
435
|
|
436
436
|
@vpc_id.setter
|
437
437
|
def vpc_id(self, vpc_id):
|
438
|
-
"""Sets the vpc_id of this
|
438
|
+
"""Sets the vpc_id of this EndpointResponseBody.
|
439
439
|
|
440
440
|
终端节点所在的VPC的ID。
|
441
441
|
|
442
|
-
:param vpc_id: The vpc_id of this
|
442
|
+
:param vpc_id: The vpc_id of this EndpointResponseBody.
|
443
443
|
:type vpc_id: str
|
444
444
|
"""
|
445
445
|
self._vpc_id = vpc_id
|
446
446
|
|
447
447
|
@property
|
448
448
|
def subnet_id(self):
|
449
|
-
"""Gets the subnet_id of this
|
449
|
+
"""Gets the subnet_id of this EndpointResponseBody.
|
450
450
|
|
451
451
|
vpc_id对应VPC下已创建的网络(network)的ID,UUID格式。
|
452
452
|
|
453
|
-
:return: The subnet_id of this
|
453
|
+
:return: The subnet_id of this EndpointResponseBody.
|
454
454
|
:rtype: str
|
455
455
|
"""
|
456
456
|
return self._subnet_id
|
457
457
|
|
458
458
|
@subnet_id.setter
|
459
459
|
def subnet_id(self, subnet_id):
|
460
|
-
"""Sets the subnet_id of this
|
460
|
+
"""Sets the subnet_id of this EndpointResponseBody.
|
461
461
|
|
462
462
|
vpc_id对应VPC下已创建的网络(network)的ID,UUID格式。
|
463
463
|
|
464
|
-
:param subnet_id: The subnet_id of this
|
464
|
+
:param subnet_id: The subnet_id of this EndpointResponseBody.
|
465
465
|
:type subnet_id: str
|
466
466
|
"""
|
467
467
|
self._subnet_id = subnet_id
|
468
468
|
|
469
469
|
@property
|
470
470
|
def created_at(self):
|
471
|
-
"""Gets the created_at of this
|
471
|
+
"""Gets the created_at of this EndpointResponseBody.
|
472
472
|
|
473
473
|
终端节点的创建时间。 采用UTC时间格式,格式为:YYYY-MM-DDTHH:MM:SSZ
|
474
474
|
|
475
|
-
:return: The created_at of this
|
476
|
-
:rtype:
|
475
|
+
:return: The created_at of this EndpointResponseBody.
|
476
|
+
:rtype: datetime
|
477
477
|
"""
|
478
478
|
return self._created_at
|
479
479
|
|
480
480
|
@created_at.setter
|
481
481
|
def created_at(self, created_at):
|
482
|
-
"""Sets the created_at of this
|
482
|
+
"""Sets the created_at of this EndpointResponseBody.
|
483
483
|
|
484
484
|
终端节点的创建时间。 采用UTC时间格式,格式为:YYYY-MM-DDTHH:MM:SSZ
|
485
485
|
|
486
|
-
:param created_at: The created_at of this
|
487
|
-
:type created_at:
|
486
|
+
:param created_at: The created_at of this EndpointResponseBody.
|
487
|
+
:type created_at: datetime
|
488
488
|
"""
|
489
489
|
self._created_at = created_at
|
490
490
|
|
491
491
|
@property
|
492
492
|
def updated_at(self):
|
493
|
-
"""Gets the updated_at of this
|
493
|
+
"""Gets the updated_at of this EndpointResponseBody.
|
494
494
|
|
495
495
|
终端节点的更新时间。 采用UTC时间格式,格式为:YYYY-MM-DDTHH:MM:SSZ
|
496
496
|
|
497
|
-
:return: The updated_at of this
|
498
|
-
:rtype:
|
497
|
+
:return: The updated_at of this EndpointResponseBody.
|
498
|
+
:rtype: datetime
|
499
499
|
"""
|
500
500
|
return self._updated_at
|
501
501
|
|
502
502
|
@updated_at.setter
|
503
503
|
def updated_at(self, updated_at):
|
504
|
-
"""Sets the updated_at of this
|
504
|
+
"""Sets the updated_at of this EndpointResponseBody.
|
505
505
|
|
506
506
|
终端节点的更新时间。 采用UTC时间格式,格式为:YYYY-MM-DDTHH:MM:SSZ
|
507
507
|
|
508
|
-
:param updated_at: The updated_at of this
|
509
|
-
:type updated_at:
|
508
|
+
:param updated_at: The updated_at of this EndpointResponseBody.
|
509
|
+
:type updated_at: datetime
|
510
510
|
"""
|
511
511
|
self._updated_at = updated_at
|
512
512
|
|
513
513
|
@property
|
514
514
|
def project_id(self):
|
515
|
-
"""Gets the project_id of this
|
515
|
+
"""Gets the project_id of this EndpointResponseBody.
|
516
516
|
|
517
517
|
项目ID,获取方法请参见获取项目ID。
|
518
518
|
|
519
|
-
:return: The project_id of this
|
519
|
+
:return: The project_id of this EndpointResponseBody.
|
520
520
|
:rtype: str
|
521
521
|
"""
|
522
522
|
return self._project_id
|
523
523
|
|
524
524
|
@project_id.setter
|
525
525
|
def project_id(self, project_id):
|
526
|
-
"""Sets the project_id of this
|
526
|
+
"""Sets the project_id of this EndpointResponseBody.
|
527
527
|
|
528
528
|
项目ID,获取方法请参见获取项目ID。
|
529
529
|
|
530
|
-
:param project_id: The project_id of this
|
530
|
+
:param project_id: The project_id of this EndpointResponseBody.
|
531
531
|
:type project_id: str
|
532
532
|
"""
|
533
533
|
self._project_id = project_id
|
534
534
|
|
535
535
|
@property
|
536
536
|
def tags(self):
|
537
|
-
"""Gets the tags of this
|
537
|
+
"""Gets the tags of this EndpointResponseBody.
|
538
538
|
|
539
539
|
标签列表,没有标签默认为空数组。
|
540
540
|
|
541
|
-
:return: The tags of this
|
541
|
+
:return: The tags of this EndpointResponseBody.
|
542
542
|
:rtype: list[:class:`huaweicloudsdkvpcep.v1.TagList`]
|
543
543
|
"""
|
544
544
|
return self._tags
|
545
545
|
|
546
546
|
@tags.setter
|
547
547
|
def tags(self, tags):
|
548
|
-
"""Sets the tags of this
|
548
|
+
"""Sets the tags of this EndpointResponseBody.
|
549
549
|
|
550
550
|
标签列表,没有标签默认为空数组。
|
551
551
|
|
552
|
-
:param tags: The tags of this
|
552
|
+
:param tags: The tags of this EndpointResponseBody.
|
553
553
|
:type tags: list[:class:`huaweicloudsdkvpcep.v1.TagList`]
|
554
554
|
"""
|
555
555
|
self._tags = tags
|
556
556
|
|
557
557
|
@property
|
558
558
|
def error(self):
|
559
|
-
"""Gets the error of this
|
559
|
+
"""Gets the error of this EndpointResponseBody.
|
560
560
|
|
561
561
|
错误信息。 当终端节点状态异常,即“status”的值为“failed”时,会返回该字段。
|
562
562
|
|
563
|
-
:return: The error of this
|
563
|
+
:return: The error of this EndpointResponseBody.
|
564
564
|
:rtype: list[:class:`huaweicloudsdkvpcep.v1.QueryError`]
|
565
565
|
"""
|
566
566
|
return self._error
|
567
567
|
|
568
568
|
@error.setter
|
569
569
|
def error(self, error):
|
570
|
-
"""Sets the error of this
|
570
|
+
"""Sets the error of this EndpointResponseBody.
|
571
571
|
|
572
572
|
错误信息。 当终端节点状态异常,即“status”的值为“failed”时,会返回该字段。
|
573
573
|
|
574
|
-
:param error: The error of this
|
574
|
+
:param error: The error of this EndpointResponseBody.
|
575
575
|
:type error: list[:class:`huaweicloudsdkvpcep.v1.QueryError`]
|
576
576
|
"""
|
577
577
|
self._error = error
|
578
578
|
|
579
579
|
@property
|
580
580
|
def whitelist(self):
|
581
|
-
"""Gets the whitelist of this
|
581
|
+
"""Gets the whitelist of this EndpointResponseBody.
|
582
582
|
|
583
583
|
控制访问终端节点的白名单。 若未创建,则返回空列表。 创建连接Interface类型终端节点服务的终端节点时,显示此参数。
|
584
584
|
|
585
|
-
:return: The whitelist of this
|
585
|
+
:return: The whitelist of this EndpointResponseBody.
|
586
586
|
:rtype: list[str]
|
587
587
|
"""
|
588
588
|
return self._whitelist
|
589
589
|
|
590
590
|
@whitelist.setter
|
591
591
|
def whitelist(self, whitelist):
|
592
|
-
"""Sets the whitelist of this
|
592
|
+
"""Sets the whitelist of this EndpointResponseBody.
|
593
593
|
|
594
594
|
控制访问终端节点的白名单。 若未创建,则返回空列表。 创建连接Interface类型终端节点服务的终端节点时,显示此参数。
|
595
595
|
|
596
|
-
:param whitelist: The whitelist of this
|
596
|
+
:param whitelist: The whitelist of this EndpointResponseBody.
|
597
597
|
:type whitelist: list[str]
|
598
598
|
"""
|
599
599
|
self._whitelist = whitelist
|
600
600
|
|
601
601
|
@property
|
602
602
|
def enable_whitelist(self):
|
603
|
-
"""Gets the enable_whitelist of this
|
603
|
+
"""Gets the enable_whitelist of this EndpointResponseBody.
|
604
604
|
|
605
|
-
是否开启网络ACL隔离。
|
605
|
+
是否开启网络ACL隔离。 - true:开启网络ACL隔离 - false:不开启网络ACL隔离 若未指定,则返回false。 创建连接Interface类型终端节点服务的终端节点时,显示此参数。
|
606
606
|
|
607
|
-
:return: The enable_whitelist of this
|
607
|
+
:return: The enable_whitelist of this EndpointResponseBody.
|
608
608
|
:rtype: bool
|
609
609
|
"""
|
610
610
|
return self._enable_whitelist
|
611
611
|
|
612
612
|
@enable_whitelist.setter
|
613
613
|
def enable_whitelist(self, enable_whitelist):
|
614
|
-
"""Sets the enable_whitelist of this
|
614
|
+
"""Sets the enable_whitelist of this EndpointResponseBody.
|
615
615
|
|
616
|
-
是否开启网络ACL隔离。
|
616
|
+
是否开启网络ACL隔离。 - true:开启网络ACL隔离 - false:不开启网络ACL隔离 若未指定,则返回false。 创建连接Interface类型终端节点服务的终端节点时,显示此参数。
|
617
617
|
|
618
|
-
:param enable_whitelist: The enable_whitelist of this
|
618
|
+
:param enable_whitelist: The enable_whitelist of this EndpointResponseBody.
|
619
619
|
:type enable_whitelist: bool
|
620
620
|
"""
|
621
621
|
self._enable_whitelist = enable_whitelist
|
622
622
|
|
623
623
|
@property
|
624
624
|
def routetables(self):
|
625
|
-
"""Gets the routetables of this
|
625
|
+
"""Gets the routetables of this EndpointResponseBody.
|
626
626
|
|
627
627
|
路由表ID列表。 若未指定,返回默认VPC下路由表ID。 创建连接Gateway类型终端节点服务的终端节点时,显示此参数。
|
628
628
|
|
629
|
-
:return: The routetables of this
|
629
|
+
:return: The routetables of this EndpointResponseBody.
|
630
630
|
:rtype: list[str]
|
631
631
|
"""
|
632
632
|
return self._routetables
|
633
633
|
|
634
634
|
@routetables.setter
|
635
635
|
def routetables(self, routetables):
|
636
|
-
"""Sets the routetables of this
|
636
|
+
"""Sets the routetables of this EndpointResponseBody.
|
637
637
|
|
638
638
|
路由表ID列表。 若未指定,返回默认VPC下路由表ID。 创建连接Gateway类型终端节点服务的终端节点时,显示此参数。
|
639
639
|
|
640
|
-
:param routetables: The routetables of this
|
640
|
+
:param routetables: The routetables of this EndpointResponseBody.
|
641
641
|
:type routetables: list[str]
|
642
642
|
"""
|
643
643
|
self._routetables = routetables
|
644
644
|
|
645
645
|
@property
|
646
646
|
def description(self):
|
647
|
-
"""Gets the description of this
|
647
|
+
"""Gets the description of this EndpointResponseBody.
|
648
648
|
|
649
649
|
描述字段,支持中英文字母、数字等字符,不支持“<”或“>”字符。
|
650
650
|
|
651
|
-
:return: The description of this
|
651
|
+
:return: The description of this EndpointResponseBody.
|
652
652
|
:rtype: str
|
653
653
|
"""
|
654
654
|
return self._description
|
655
655
|
|
656
656
|
@description.setter
|
657
657
|
def description(self, description):
|
658
|
-
"""Sets the description of this
|
658
|
+
"""Sets the description of this EndpointResponseBody.
|
659
659
|
|
660
660
|
描述字段,支持中英文字母、数字等字符,不支持“<”或“>”字符。
|
661
661
|
|
662
|
-
:param description: The description of this
|
662
|
+
:param description: The description of this EndpointResponseBody.
|
663
663
|
:type description: str
|
664
664
|
"""
|
665
665
|
self._description = description
|
666
666
|
|
667
667
|
@property
|
668
668
|
def policy_statement(self):
|
669
|
-
"""Gets the policy_statement of this
|
669
|
+
"""Gets the policy_statement of this EndpointResponseBody.
|
670
670
|
|
671
671
|
只涉及开启双端固定的网关型终端节点,响应体展示此字段
|
672
672
|
|
673
|
-
:return: The policy_statement of this
|
673
|
+
:return: The policy_statement of this EndpointResponseBody.
|
674
674
|
:rtype: list[:class:`huaweicloudsdkvpcep.v1.PolicyStatement`]
|
675
675
|
"""
|
676
676
|
return self._policy_statement
|
677
677
|
|
678
678
|
@policy_statement.setter
|
679
679
|
def policy_statement(self, policy_statement):
|
680
|
-
"""Sets the policy_statement of this
|
680
|
+
"""Sets the policy_statement of this EndpointResponseBody.
|
681
681
|
|
682
682
|
只涉及开启双端固定的网关型终端节点,响应体展示此字段
|
683
683
|
|
684
|
-
:param policy_statement: The policy_statement of this
|
684
|
+
:param policy_statement: The policy_statement of this EndpointResponseBody.
|
685
685
|
:type policy_statement: list[:class:`huaweicloudsdkvpcep.v1.PolicyStatement`]
|
686
686
|
"""
|
687
687
|
self._policy_statement = policy_statement
|
688
688
|
|
689
689
|
@property
|
690
690
|
def endpoint_pool_id(self):
|
691
|
-
"""Gets the endpoint_pool_id of this
|
691
|
+
"""Gets the endpoint_pool_id of this EndpointResponseBody.
|
692
692
|
|
693
693
|
待废弃,实例相关联的集群ID
|
694
694
|
|
695
|
-
:return: The endpoint_pool_id of this
|
695
|
+
:return: The endpoint_pool_id of this EndpointResponseBody.
|
696
696
|
:rtype: str
|
697
697
|
"""
|
698
698
|
return self._endpoint_pool_id
|
699
699
|
|
700
700
|
@endpoint_pool_id.setter
|
701
701
|
def endpoint_pool_id(self, endpoint_pool_id):
|
702
|
-
"""Sets the endpoint_pool_id of this
|
702
|
+
"""Sets the endpoint_pool_id of this EndpointResponseBody.
|
703
703
|
|
704
704
|
待废弃,实例相关联的集群ID
|
705
705
|
|
706
|
-
:param endpoint_pool_id: The endpoint_pool_id of this
|
706
|
+
:param endpoint_pool_id: The endpoint_pool_id of this EndpointResponseBody.
|
707
707
|
:type endpoint_pool_id: str
|
708
708
|
"""
|
709
709
|
self._endpoint_pool_id = endpoint_pool_id
|
710
710
|
|
711
711
|
@property
|
712
712
|
def public_border_group(self):
|
713
|
-
"""Gets the public_border_group of this
|
713
|
+
"""Gets the public_border_group of this EndpointResponseBody.
|
714
714
|
|
715
715
|
终端节点关联的Public Border Group信息,只有当终端节点和边缘Pool相关联时才会返回改字段
|
716
716
|
|
717
|
-
:return: The public_border_group of this
|
717
|
+
:return: The public_border_group of this EndpointResponseBody.
|
718
718
|
:rtype: str
|
719
719
|
"""
|
720
720
|
return self._public_border_group
|
721
721
|
|
722
722
|
@public_border_group.setter
|
723
723
|
def public_border_group(self, public_border_group):
|
724
|
-
"""Sets the public_border_group of this
|
724
|
+
"""Sets the public_border_group of this EndpointResponseBody.
|
725
725
|
|
726
726
|
终端节点关联的Public Border Group信息,只有当终端节点和边缘Pool相关联时才会返回改字段
|
727
727
|
|
728
|
-
:param public_border_group: The public_border_group of this
|
728
|
+
:param public_border_group: The public_border_group of this EndpointResponseBody.
|
729
729
|
:type public_border_group: str
|
730
730
|
"""
|
731
731
|
self._public_border_group = public_border_group
|
@@ -772,7 +772,7 @@ class EndpointResp:
|
|
772
772
|
|
773
773
|
def __eq__(self, other):
|
774
774
|
"""Returns true if both objects are equal"""
|
775
|
-
if not isinstance(other,
|
775
|
+
if not isinstance(other, EndpointResponseBody):
|
776
776
|
return False
|
777
777
|
|
778
778
|
return self.__dict__ == other.__dict__
|