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