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
@@ -25,13 +25,10 @@ class UpdateEndpointPolicyResponse(SdkResponse):
|
|
25
25
|
'endpoint_service_name': 'str',
|
26
26
|
'marker_id': 'int',
|
27
27
|
'endpoint_service_id': 'str',
|
28
|
-
'enable_dns': 'bool',
|
29
|
-
'dns_names': 'list[str]',
|
30
28
|
'ip': 'str',
|
31
29
|
'vpc_id': 'str',
|
32
|
-
'
|
33
|
-
'
|
34
|
-
'updated_at': 'str',
|
30
|
+
'created_at': 'datetime',
|
31
|
+
'updated_at': 'datetime',
|
35
32
|
'project_id': 'str',
|
36
33
|
'tags': 'list[TagList]',
|
37
34
|
'error': 'list[QueryError]',
|
@@ -52,11 +49,8 @@ class UpdateEndpointPolicyResponse(SdkResponse):
|
|
52
49
|
'endpoint_service_name': 'endpoint_service_name',
|
53
50
|
'marker_id': 'marker_id',
|
54
51
|
'endpoint_service_id': 'endpoint_service_id',
|
55
|
-
'enable_dns': 'enable_dns',
|
56
|
-
'dns_names': 'dns_names',
|
57
52
|
'ip': 'ip',
|
58
53
|
'vpc_id': 'vpc_id',
|
59
|
-
'subnet_id': 'subnet_id',
|
60
54
|
'created_at': 'created_at',
|
61
55
|
'updated_at': 'updated_at',
|
62
56
|
'project_id': 'project_id',
|
@@ -71,18 +65,18 @@ class UpdateEndpointPolicyResponse(SdkResponse):
|
|
71
65
|
'public_border_group': 'public_border_group'
|
72
66
|
}
|
73
67
|
|
74
|
-
def __init__(self, id=None, service_type=None, status=None, active_status=None, endpoint_service_name=None, marker_id=None, endpoint_service_id=None,
|
68
|
+
def __init__(self, id=None, service_type=None, status=None, active_status=None, endpoint_service_name=None, marker_id=None, endpoint_service_id=None, ip=None, vpc_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):
|
75
69
|
"""UpdateEndpointPolicyResponse
|
76
70
|
|
77
71
|
The model defined in huaweicloud sdk
|
78
72
|
|
79
73
|
:param id: 终端节点的ID,唯一标识。
|
80
74
|
:type id: str
|
81
|
-
:param service_type: 终端节点连接的终端节点服务类型。
|
75
|
+
:param service_type: 终端节点连接的终端节点服务类型。 - gateway:由运维人员配置。用户无需创建,可直接使用。 - interface:包括运维人员配置的云服务和用户自己创建的私有服务。 其中,运维人员配置的云服务无需创建,用户可直接使用。 您可以通过查询公共终端节点服务列表, 查看由运维人员配置的所有用户可见且可连接的终端节点服务, 并通过创建终端节点服务创建Interface类型的终端节点服务。
|
82
76
|
:type service_type: str
|
83
|
-
:param status: 终端节点的连接状态。
|
77
|
+
:param status: 终端节点的连接状态。 - pendingAcceptance:待接受 - creating:创建中 - accepted:已接受 - rejected:已拒绝 - failed:失败 - deleting:删除中
|
84
78
|
:type status: str
|
85
|
-
:param active_status: 帐号状态。
|
79
|
+
:param active_status: 帐号状态。 - frozen:冻结 - active:解冻
|
86
80
|
:type active_status: list[str]
|
87
81
|
:param endpoint_service_name: 终端节点服务的名称。
|
88
82
|
:type endpoint_service_name: str
|
@@ -90,20 +84,14 @@ class UpdateEndpointPolicyResponse(SdkResponse):
|
|
90
84
|
:type marker_id: int
|
91
85
|
:param endpoint_service_id: 终端节点服务的ID。
|
92
86
|
:type endpoint_service_id: str
|
93
|
-
:param enable_dns: 是否创建域名。 ● true:创建域名 ● false:不创建域名 说明 当创建连接gateway类型终端节点服务的终端节点时, “enable_dns”设置为true或者false,均不创建域名。
|
94
|
-
:type enable_dns: bool
|
95
|
-
:param dns_names: 访问所连接的终端节点服务的域名。 当“enable_dns”为true时,该参数可见。
|
96
|
-
:type dns_names: list[str]
|
97
87
|
:param ip: 访问所连接的终端节点服务的IP。 仅当同时满足如下条件时,返回该参数: 当查询连接interface类型终端节点服务的终端节点时。 终端节点服务启用“连接审批”功能,且已经“接受”连接审批。 “status”可以是“accepted”或者“rejected(仅支持“接受”连接审批后再“拒绝”的情况)”。
|
98
88
|
:type ip: str
|
99
89
|
:param vpc_id: 终端节点所在的VPC的ID。
|
100
90
|
:type vpc_id: str
|
101
|
-
:param subnet_id: vpc_id对应VPC下已创建的网络(network)的ID,UUID格式。
|
102
|
-
:type subnet_id: str
|
103
91
|
:param created_at: 终端节点的创建时间。 采用UTC时间格式,格式为:YYYY-MM-DDTHH:MM:SSZ
|
104
|
-
:type created_at:
|
92
|
+
:type created_at: datetime
|
105
93
|
:param updated_at: 终端节点的更新时间。 采用UTC时间格式,格式为:YYYY-MM-DDTHH:MM:SSZ
|
106
|
-
:type updated_at:
|
94
|
+
:type updated_at: datetime
|
107
95
|
:param project_id: 项目ID,获取方法请参见获取项目ID。
|
108
96
|
:type project_id: str
|
109
97
|
:param tags: 标签列表,没有标签默认为空数组。
|
@@ -112,7 +100,7 @@ class UpdateEndpointPolicyResponse(SdkResponse):
|
|
112
100
|
:type error: list[:class:`huaweicloudsdkvpcep.v1.QueryError`]
|
113
101
|
:param whitelist: 控制访问终端节点的白名单。 若未创建,则返回空列表。 创建连接Interface类型终端节点服务的终端节点时,显示此参数。
|
114
102
|
:type whitelist: list[str]
|
115
|
-
:param enable_whitelist: 是否开启网络ACL隔离。
|
103
|
+
:param enable_whitelist: 是否开启网络ACL隔离。 - true:开启网络ACL隔离 - false:不开启网络ACL隔离 若未指定,则返回false。 创建连接Interface类型终端节点服务的终端节点时,显示此参数。
|
116
104
|
:type enable_whitelist: bool
|
117
105
|
:param routetables: 路由表ID列表。 若未指定,返回默认VPC下路由表ID。 创建连接Gateway类型终端节点服务的终端节点时,显示此参数。
|
118
106
|
:type routetables: list[str]
|
@@ -135,11 +123,8 @@ class UpdateEndpointPolicyResponse(SdkResponse):
|
|
135
123
|
self._endpoint_service_name = None
|
136
124
|
self._marker_id = None
|
137
125
|
self._endpoint_service_id = None
|
138
|
-
self._enable_dns = None
|
139
|
-
self._dns_names = None
|
140
126
|
self._ip = None
|
141
127
|
self._vpc_id = None
|
142
|
-
self._subnet_id = None
|
143
128
|
self._created_at = None
|
144
129
|
self._updated_at = None
|
145
130
|
self._project_id = None
|
@@ -168,16 +153,10 @@ class UpdateEndpointPolicyResponse(SdkResponse):
|
|
168
153
|
self.marker_id = marker_id
|
169
154
|
if endpoint_service_id is not None:
|
170
155
|
self.endpoint_service_id = endpoint_service_id
|
171
|
-
if enable_dns is not None:
|
172
|
-
self.enable_dns = enable_dns
|
173
|
-
if dns_names is not None:
|
174
|
-
self.dns_names = dns_names
|
175
156
|
if ip is not None:
|
176
157
|
self.ip = ip
|
177
158
|
if vpc_id is not None:
|
178
159
|
self.vpc_id = vpc_id
|
179
|
-
if subnet_id is not None:
|
180
|
-
self.subnet_id = subnet_id
|
181
160
|
if created_at is not None:
|
182
161
|
self.created_at = created_at
|
183
162
|
if updated_at is not None:
|
@@ -229,7 +208,7 @@ class UpdateEndpointPolicyResponse(SdkResponse):
|
|
229
208
|
def service_type(self):
|
230
209
|
"""Gets the service_type of this UpdateEndpointPolicyResponse.
|
231
210
|
|
232
|
-
终端节点连接的终端节点服务类型。
|
211
|
+
终端节点连接的终端节点服务类型。 - gateway:由运维人员配置。用户无需创建,可直接使用。 - interface:包括运维人员配置的云服务和用户自己创建的私有服务。 其中,运维人员配置的云服务无需创建,用户可直接使用。 您可以通过查询公共终端节点服务列表, 查看由运维人员配置的所有用户可见且可连接的终端节点服务, 并通过创建终端节点服务创建Interface类型的终端节点服务。
|
233
212
|
|
234
213
|
:return: The service_type of this UpdateEndpointPolicyResponse.
|
235
214
|
:rtype: str
|
@@ -240,7 +219,7 @@ class UpdateEndpointPolicyResponse(SdkResponse):
|
|
240
219
|
def service_type(self, service_type):
|
241
220
|
"""Sets the service_type of this UpdateEndpointPolicyResponse.
|
242
221
|
|
243
|
-
终端节点连接的终端节点服务类型。
|
222
|
+
终端节点连接的终端节点服务类型。 - gateway:由运维人员配置。用户无需创建,可直接使用。 - interface:包括运维人员配置的云服务和用户自己创建的私有服务。 其中,运维人员配置的云服务无需创建,用户可直接使用。 您可以通过查询公共终端节点服务列表, 查看由运维人员配置的所有用户可见且可连接的终端节点服务, 并通过创建终端节点服务创建Interface类型的终端节点服务。
|
244
223
|
|
245
224
|
:param service_type: The service_type of this UpdateEndpointPolicyResponse.
|
246
225
|
:type service_type: str
|
@@ -251,7 +230,7 @@ class UpdateEndpointPolicyResponse(SdkResponse):
|
|
251
230
|
def status(self):
|
252
231
|
"""Gets the status of this UpdateEndpointPolicyResponse.
|
253
232
|
|
254
|
-
终端节点的连接状态。
|
233
|
+
终端节点的连接状态。 - pendingAcceptance:待接受 - creating:创建中 - accepted:已接受 - rejected:已拒绝 - failed:失败 - deleting:删除中
|
255
234
|
|
256
235
|
:return: The status of this UpdateEndpointPolicyResponse.
|
257
236
|
:rtype: str
|
@@ -262,7 +241,7 @@ class UpdateEndpointPolicyResponse(SdkResponse):
|
|
262
241
|
def status(self, status):
|
263
242
|
"""Sets the status of this UpdateEndpointPolicyResponse.
|
264
243
|
|
265
|
-
终端节点的连接状态。
|
244
|
+
终端节点的连接状态。 - pendingAcceptance:待接受 - creating:创建中 - accepted:已接受 - rejected:已拒绝 - failed:失败 - deleting:删除中
|
266
245
|
|
267
246
|
:param status: The status of this UpdateEndpointPolicyResponse.
|
268
247
|
:type status: str
|
@@ -273,7 +252,7 @@ class UpdateEndpointPolicyResponse(SdkResponse):
|
|
273
252
|
def active_status(self):
|
274
253
|
"""Gets the active_status of this UpdateEndpointPolicyResponse.
|
275
254
|
|
276
|
-
帐号状态。
|
255
|
+
帐号状态。 - frozen:冻结 - active:解冻
|
277
256
|
|
278
257
|
:return: The active_status of this UpdateEndpointPolicyResponse.
|
279
258
|
:rtype: list[str]
|
@@ -284,7 +263,7 @@ class UpdateEndpointPolicyResponse(SdkResponse):
|
|
284
263
|
def active_status(self, active_status):
|
285
264
|
"""Sets the active_status of this UpdateEndpointPolicyResponse.
|
286
265
|
|
287
|
-
帐号状态。
|
266
|
+
帐号状态。 - frozen:冻结 - active:解冻
|
288
267
|
|
289
268
|
:param active_status: The active_status of this UpdateEndpointPolicyResponse.
|
290
269
|
:type active_status: list[str]
|
@@ -357,50 +336,6 @@ class UpdateEndpointPolicyResponse(SdkResponse):
|
|
357
336
|
"""
|
358
337
|
self._endpoint_service_id = endpoint_service_id
|
359
338
|
|
360
|
-
@property
|
361
|
-
def enable_dns(self):
|
362
|
-
"""Gets the enable_dns of this UpdateEndpointPolicyResponse.
|
363
|
-
|
364
|
-
是否创建域名。 ● true:创建域名 ● false:不创建域名 说明 当创建连接gateway类型终端节点服务的终端节点时, “enable_dns”设置为true或者false,均不创建域名。
|
365
|
-
|
366
|
-
:return: The enable_dns of this UpdateEndpointPolicyResponse.
|
367
|
-
:rtype: bool
|
368
|
-
"""
|
369
|
-
return self._enable_dns
|
370
|
-
|
371
|
-
@enable_dns.setter
|
372
|
-
def enable_dns(self, enable_dns):
|
373
|
-
"""Sets the enable_dns of this UpdateEndpointPolicyResponse.
|
374
|
-
|
375
|
-
是否创建域名。 ● true:创建域名 ● false:不创建域名 说明 当创建连接gateway类型终端节点服务的终端节点时, “enable_dns”设置为true或者false,均不创建域名。
|
376
|
-
|
377
|
-
:param enable_dns: The enable_dns of this UpdateEndpointPolicyResponse.
|
378
|
-
:type enable_dns: bool
|
379
|
-
"""
|
380
|
-
self._enable_dns = enable_dns
|
381
|
-
|
382
|
-
@property
|
383
|
-
def dns_names(self):
|
384
|
-
"""Gets the dns_names of this UpdateEndpointPolicyResponse.
|
385
|
-
|
386
|
-
访问所连接的终端节点服务的域名。 当“enable_dns”为true时,该参数可见。
|
387
|
-
|
388
|
-
:return: The dns_names of this UpdateEndpointPolicyResponse.
|
389
|
-
:rtype: list[str]
|
390
|
-
"""
|
391
|
-
return self._dns_names
|
392
|
-
|
393
|
-
@dns_names.setter
|
394
|
-
def dns_names(self, dns_names):
|
395
|
-
"""Sets the dns_names of this UpdateEndpointPolicyResponse.
|
396
|
-
|
397
|
-
访问所连接的终端节点服务的域名。 当“enable_dns”为true时,该参数可见。
|
398
|
-
|
399
|
-
:param dns_names: The dns_names of this UpdateEndpointPolicyResponse.
|
400
|
-
:type dns_names: list[str]
|
401
|
-
"""
|
402
|
-
self._dns_names = dns_names
|
403
|
-
|
404
339
|
@property
|
405
340
|
def ip(self):
|
406
341
|
"""Gets the ip of this UpdateEndpointPolicyResponse.
|
@@ -445,28 +380,6 @@ class UpdateEndpointPolicyResponse(SdkResponse):
|
|
445
380
|
"""
|
446
381
|
self._vpc_id = vpc_id
|
447
382
|
|
448
|
-
@property
|
449
|
-
def subnet_id(self):
|
450
|
-
"""Gets the subnet_id of this UpdateEndpointPolicyResponse.
|
451
|
-
|
452
|
-
vpc_id对应VPC下已创建的网络(network)的ID,UUID格式。
|
453
|
-
|
454
|
-
:return: The subnet_id of this UpdateEndpointPolicyResponse.
|
455
|
-
:rtype: str
|
456
|
-
"""
|
457
|
-
return self._subnet_id
|
458
|
-
|
459
|
-
@subnet_id.setter
|
460
|
-
def subnet_id(self, subnet_id):
|
461
|
-
"""Sets the subnet_id of this UpdateEndpointPolicyResponse.
|
462
|
-
|
463
|
-
vpc_id对应VPC下已创建的网络(network)的ID,UUID格式。
|
464
|
-
|
465
|
-
:param subnet_id: The subnet_id of this UpdateEndpointPolicyResponse.
|
466
|
-
:type subnet_id: str
|
467
|
-
"""
|
468
|
-
self._subnet_id = subnet_id
|
469
|
-
|
470
383
|
@property
|
471
384
|
def created_at(self):
|
472
385
|
"""Gets the created_at of this UpdateEndpointPolicyResponse.
|
@@ -474,7 +387,7 @@ class UpdateEndpointPolicyResponse(SdkResponse):
|
|
474
387
|
终端节点的创建时间。 采用UTC时间格式,格式为:YYYY-MM-DDTHH:MM:SSZ
|
475
388
|
|
476
389
|
:return: The created_at of this UpdateEndpointPolicyResponse.
|
477
|
-
:rtype:
|
390
|
+
:rtype: datetime
|
478
391
|
"""
|
479
392
|
return self._created_at
|
480
393
|
|
@@ -485,7 +398,7 @@ class UpdateEndpointPolicyResponse(SdkResponse):
|
|
485
398
|
终端节点的创建时间。 采用UTC时间格式,格式为:YYYY-MM-DDTHH:MM:SSZ
|
486
399
|
|
487
400
|
:param created_at: The created_at of this UpdateEndpointPolicyResponse.
|
488
|
-
:type created_at:
|
401
|
+
:type created_at: datetime
|
489
402
|
"""
|
490
403
|
self._created_at = created_at
|
491
404
|
|
@@ -496,7 +409,7 @@ class UpdateEndpointPolicyResponse(SdkResponse):
|
|
496
409
|
终端节点的更新时间。 采用UTC时间格式,格式为:YYYY-MM-DDTHH:MM:SSZ
|
497
410
|
|
498
411
|
:return: The updated_at of this UpdateEndpointPolicyResponse.
|
499
|
-
:rtype:
|
412
|
+
:rtype: datetime
|
500
413
|
"""
|
501
414
|
return self._updated_at
|
502
415
|
|
@@ -507,7 +420,7 @@ class UpdateEndpointPolicyResponse(SdkResponse):
|
|
507
420
|
终端节点的更新时间。 采用UTC时间格式,格式为:YYYY-MM-DDTHH:MM:SSZ
|
508
421
|
|
509
422
|
:param updated_at: The updated_at of this UpdateEndpointPolicyResponse.
|
510
|
-
:type updated_at:
|
423
|
+
:type updated_at: datetime
|
511
424
|
"""
|
512
425
|
self._updated_at = updated_at
|
513
426
|
|
@@ -603,7 +516,7 @@ class UpdateEndpointPolicyResponse(SdkResponse):
|
|
603
516
|
def enable_whitelist(self):
|
604
517
|
"""Gets the enable_whitelist of this UpdateEndpointPolicyResponse.
|
605
518
|
|
606
|
-
是否开启网络ACL隔离。
|
519
|
+
是否开启网络ACL隔离。 - true:开启网络ACL隔离 - false:不开启网络ACL隔离 若未指定,则返回false。 创建连接Interface类型终端节点服务的终端节点时,显示此参数。
|
607
520
|
|
608
521
|
:return: The enable_whitelist of this UpdateEndpointPolicyResponse.
|
609
522
|
:rtype: bool
|
@@ -614,7 +527,7 @@ class UpdateEndpointPolicyResponse(SdkResponse):
|
|
614
527
|
def enable_whitelist(self, enable_whitelist):
|
615
528
|
"""Sets the enable_whitelist of this UpdateEndpointPolicyResponse.
|
616
529
|
|
617
|
-
是否开启网络ACL隔离。
|
530
|
+
是否开启网络ACL隔离。 - true:开启网络ACL隔离 - false:不开启网络ACL隔离 若未指定,则返回false。 创建连接Interface类型终端节点服务的终端节点时,显示此参数。
|
618
531
|
|
619
532
|
:param enable_whitelist: The enable_whitelist of this UpdateEndpointPolicyResponse.
|
620
533
|
:type enable_whitelist: bool
|
@@ -18,7 +18,7 @@ class UpdateEndpointServiceNameRequest:
|
|
18
18
|
|
19
19
|
openapi_types = {
|
20
20
|
'vpc_endpoint_service_id': 'str',
|
21
|
-
'body': '
|
21
|
+
'body': 'UpdateEndpointServiceNameRequestBody'
|
22
22
|
}
|
23
23
|
|
24
24
|
attribute_map = {
|
@@ -34,7 +34,7 @@ class UpdateEndpointServiceNameRequest:
|
|
34
34
|
:param vpc_endpoint_service_id: 终端节点服务ID
|
35
35
|
:type vpc_endpoint_service_id: str
|
36
36
|
:param body: Body of the UpdateEndpointServiceNameRequest
|
37
|
-
:type body: :class:`huaweicloudsdkvpcep.v1.
|
37
|
+
:type body: :class:`huaweicloudsdkvpcep.v1.UpdateEndpointServiceNameRequestBody`
|
38
38
|
"""
|
39
39
|
|
40
40
|
|
@@ -74,7 +74,7 @@ class UpdateEndpointServiceNameRequest:
|
|
74
74
|
"""Gets the body of this UpdateEndpointServiceNameRequest.
|
75
75
|
|
76
76
|
:return: The body of this UpdateEndpointServiceNameRequest.
|
77
|
-
:rtype: :class:`huaweicloudsdkvpcep.v1.
|
77
|
+
:rtype: :class:`huaweicloudsdkvpcep.v1.UpdateEndpointServiceNameRequestBody`
|
78
78
|
"""
|
79
79
|
return self._body
|
80
80
|
|
@@ -83,7 +83,7 @@ class UpdateEndpointServiceNameRequest:
|
|
83
83
|
"""Sets the body of this UpdateEndpointServiceNameRequest.
|
84
84
|
|
85
85
|
:param body: The body of this UpdateEndpointServiceNameRequest.
|
86
|
-
:type body: :class:`huaweicloudsdkvpcep.v1.
|
86
|
+
:type body: :class:`huaweicloudsdkvpcep.v1.UpdateEndpointServiceNameRequestBody`
|
87
87
|
"""
|
88
88
|
self._body = body
|
89
89
|
|
@@ -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 UpdateEndpointServiceNameRequestBody:
|
9
9
|
|
10
10
|
"""
|
11
11
|
Attributes:
|
@@ -25,7 +25,7 @@ class UpdateEndpointServiceNameMode:
|
|
25
25
|
}
|
26
26
|
|
27
27
|
def __init__(self, endpoint_service_name=None):
|
28
|
-
"""
|
28
|
+
"""UpdateEndpointServiceNameRequestBody
|
29
29
|
|
30
30
|
The model defined in huaweicloud sdk
|
31
31
|
|
@@ -43,22 +43,22 @@ class UpdateEndpointServiceNameMode:
|
|
43
43
|
|
44
44
|
@property
|
45
45
|
def endpoint_service_name(self):
|
46
|
-
"""Gets the endpoint_service_name of this
|
46
|
+
"""Gets the endpoint_service_name of this UpdateEndpointServiceNameRequestBody.
|
47
47
|
|
48
48
|
终端节点服务名称
|
49
49
|
|
50
|
-
:return: The endpoint_service_name of this
|
50
|
+
:return: The endpoint_service_name of this UpdateEndpointServiceNameRequestBody.
|
51
51
|
:rtype: str
|
52
52
|
"""
|
53
53
|
return self._endpoint_service_name
|
54
54
|
|
55
55
|
@endpoint_service_name.setter
|
56
56
|
def endpoint_service_name(self, endpoint_service_name):
|
57
|
-
"""Sets the endpoint_service_name of this
|
57
|
+
"""Sets the endpoint_service_name of this UpdateEndpointServiceNameRequestBody.
|
58
58
|
|
59
59
|
终端节点服务名称
|
60
60
|
|
61
|
-
:param endpoint_service_name: The endpoint_service_name of this
|
61
|
+
:param endpoint_service_name: The endpoint_service_name of this UpdateEndpointServiceNameRequestBody.
|
62
62
|
:type endpoint_service_name: str
|
63
63
|
"""
|
64
64
|
self._endpoint_service_name = endpoint_service_name
|
@@ -105,7 +105,7 @@ class UpdateEndpointServiceNameMode:
|
|
105
105
|
|
106
106
|
def __eq__(self, other):
|
107
107
|
"""Returns true if both objects are equal"""
|
108
|
-
if not isinstance(other,
|
108
|
+
if not isinstance(other, UpdateEndpointServiceNameRequestBody):
|
109
109
|
return False
|
110
110
|
|
111
111
|
return self.__dict__ == other.__dict__
|
@@ -19,7 +19,7 @@ class UpdateEndpointServicePermissionDescRequest:
|
|
19
19
|
openapi_types = {
|
20
20
|
'vpc_endpoint_service_id': 'str',
|
21
21
|
'permission_id': 'str',
|
22
|
-
'body': '
|
22
|
+
'body': 'UpdateEndpointServicePermissionDescRequestBody'
|
23
23
|
}
|
24
24
|
|
25
25
|
attribute_map = {
|
@@ -38,7 +38,7 @@ class UpdateEndpointServicePermissionDescRequest:
|
|
38
38
|
:param permission_id: 白名单的ID。
|
39
39
|
:type permission_id: str
|
40
40
|
:param body: Body of the UpdateEndpointServicePermissionDescRequest
|
41
|
-
:type body: :class:`huaweicloudsdkvpcep.v1.
|
41
|
+
:type body: :class:`huaweicloudsdkvpcep.v1.UpdateEndpointServicePermissionDescRequestBody`
|
42
42
|
"""
|
43
43
|
|
44
44
|
|
@@ -102,7 +102,7 @@ class UpdateEndpointServicePermissionDescRequest:
|
|
102
102
|
"""Gets the body of this UpdateEndpointServicePermissionDescRequest.
|
103
103
|
|
104
104
|
:return: The body of this UpdateEndpointServicePermissionDescRequest.
|
105
|
-
:rtype: :class:`huaweicloudsdkvpcep.v1.
|
105
|
+
:rtype: :class:`huaweicloudsdkvpcep.v1.UpdateEndpointServicePermissionDescRequestBody`
|
106
106
|
"""
|
107
107
|
return self._body
|
108
108
|
|
@@ -111,7 +111,7 @@ class UpdateEndpointServicePermissionDescRequest:
|
|
111
111
|
"""Sets the body of this UpdateEndpointServicePermissionDescRequest.
|
112
112
|
|
113
113
|
:param body: The body of this UpdateEndpointServicePermissionDescRequest.
|
114
|
-
:type body: :class:`huaweicloudsdkvpcep.v1.
|
114
|
+
:type body: :class:`huaweicloudsdkvpcep.v1.UpdateEndpointServicePermissionDescRequestBody`
|
115
115
|
"""
|
116
116
|
self._body = body
|
117
117
|
|
@@ -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 UpdateEndpointServicePermissionDescRequestBody:
|
9
9
|
|
10
10
|
"""
|
11
11
|
Attributes:
|
@@ -25,7 +25,7 @@ class UpdatePermissionDescRequest:
|
|
25
25
|
}
|
26
26
|
|
27
27
|
def __init__(self, permission=None):
|
28
|
-
"""
|
28
|
+
"""UpdateEndpointServicePermissionDescRequestBody
|
29
29
|
|
30
30
|
The model defined in huaweicloud sdk
|
31
31
|
|
@@ -42,18 +42,18 @@ class UpdatePermissionDescRequest:
|
|
42
42
|
|
43
43
|
@property
|
44
44
|
def permission(self):
|
45
|
-
"""Gets the permission of this
|
45
|
+
"""Gets the permission of this UpdateEndpointServicePermissionDescRequestBody.
|
46
46
|
|
47
|
-
:return: The permission of this
|
47
|
+
:return: The permission of this UpdateEndpointServicePermissionDescRequestBody.
|
48
48
|
:rtype: :class:`huaweicloudsdkvpcep.v1.EpsUpdatePermissionDesc`
|
49
49
|
"""
|
50
50
|
return self._permission
|
51
51
|
|
52
52
|
@permission.setter
|
53
53
|
def permission(self, permission):
|
54
|
-
"""Sets the permission of this
|
54
|
+
"""Sets the permission of this UpdateEndpointServicePermissionDescRequestBody.
|
55
55
|
|
56
|
-
:param permission: The permission of this
|
56
|
+
:param permission: The permission of this UpdateEndpointServicePermissionDescRequestBody.
|
57
57
|
:type permission: :class:`huaweicloudsdkvpcep.v1.EpsUpdatePermissionDesc`
|
58
58
|
"""
|
59
59
|
self._permission = permission
|
@@ -100,7 +100,7 @@ class UpdatePermissionDescRequest:
|
|
100
100
|
|
101
101
|
def __eq__(self, other):
|
102
102
|
"""Returns true if both objects are equal"""
|
103
|
-
if not isinstance(other,
|
103
|
+
if not isinstance(other, UpdateEndpointServicePermissionDescRequestBody):
|
104
104
|
return False
|
105
105
|
|
106
106
|
return self.__dict__ == other.__dict__
|
@@ -30,7 +30,7 @@ class UpdateEndpointServicePermissionDescResponse(SdkResponse):
|
|
30
30
|
|
31
31
|
The model defined in huaweicloud sdk
|
32
32
|
|
33
|
-
:param permissions:
|
33
|
+
:param permissions: 终端节点服务白名单
|
34
34
|
:type permissions: list[:class:`huaweicloudsdkvpcep.v1.EpsPermission`]
|
35
35
|
"""
|
36
36
|
|
@@ -46,6 +46,8 @@ class UpdateEndpointServicePermissionDescResponse(SdkResponse):
|
|
46
46
|
def permissions(self):
|
47
47
|
"""Gets the permissions of this UpdateEndpointServicePermissionDescResponse.
|
48
48
|
|
49
|
+
终端节点服务白名单
|
50
|
+
|
49
51
|
:return: The permissions of this UpdateEndpointServicePermissionDescResponse.
|
50
52
|
:rtype: list[:class:`huaweicloudsdkvpcep.v1.EpsPermission`]
|
51
53
|
"""
|
@@ -55,6 +57,8 @@ class UpdateEndpointServicePermissionDescResponse(SdkResponse):
|
|
55
57
|
def permissions(self, permissions):
|
56
58
|
"""Sets the permissions of this UpdateEndpointServicePermissionDescResponse.
|
57
59
|
|
60
|
+
终端节点服务白名单
|
61
|
+
|
58
62
|
:param permissions: The permissions of this UpdateEndpointServicePermissionDescResponse.
|
59
63
|
:type permissions: list[:class:`huaweicloudsdkvpcep.v1.EpsPermission`]
|
60
64
|
"""
|
@@ -39,15 +39,15 @@ class UpdateEndpointServiceRequestBody:
|
|
39
39
|
|
40
40
|
The model defined in huaweicloud sdk
|
41
41
|
|
42
|
-
:param approval_enabled: 是否需要审批。
|
42
|
+
:param approval_enabled: 是否需要审批。 - false:不需审批,创建的终端节点连接直接为accepted状态。 - true:需审批,创建的终端节点连接需要终端节点服务所属用户审核后方可使用。 默认为true,需要审批。
|
43
43
|
:type approval_enabled: bool
|
44
44
|
:param service_name: 终端节点服务的名称,长度不大于16,允许传入大小写字母、数字、下划线、中划线。
|
45
45
|
:type service_name: str
|
46
46
|
:param ports: 服务开放的端口映射列表,同一个终端节点服务下,不允许重复的端口映射。 若多个终端节点服务共用一个port_id, 则终端节点之间服务的所有端口映射的server_port和protocol的组合不能重复, 单次最多添加200个。 该参数值将被全量更新。
|
47
47
|
:type ports: list[:class:`huaweicloudsdkvpcep.v1.PortList`]
|
48
|
-
:param port_id: 标识终端节点服务后端资源的ID, 格式为通用唯一识别码(Universally UniqueIdentifier,下文简称UUID)。 取值为:
|
48
|
+
:param port_id: 标识终端节点服务后端资源的ID, 格式为通用唯一识别码(Universally UniqueIdentifier,下文简称UUID)。 取值为: - LB类型:负载均衡器内网IP对应的端口ID。 详细内容请参考《弹性负载均衡API参考》中的“查询负载均衡详情”。 - VM类型:弹性云服务器IP地址对应的网卡ID。 详细内容请参考《弹性云服务器API参考》中的“查询云服务器网卡信息”, 详见响应消息中的“port_id”字段。 - VIP类型:虚拟资源所在物理服务器对应的网卡ID。(该字段已废弃,请优先使用LB类型) 说明: 当后端资源为“LB类型”时,仅支持修改为同类型后端资源。 例如,共享型负载均衡仅支持更换为共享型负载均衡,不支持更换为独享型负载均衡。
|
49
49
|
:type port_id: str
|
50
|
-
:param tcp_proxy: 用于控制将哪些信息(如客户端的源IP、源端口、marker_id等)携带到服务端。 支持携带的客户端信息包括如下两种类型:
|
50
|
+
:param tcp_proxy: 用于控制将哪些信息(如客户端的源IP、源端口、marker_id等)携带到服务端。 支持携带的客户端信息包括如下两种类型: - TCP TOA:表示将客户端信息插入到tcp option字段中携带至服务端。 说明:仅当后端资源为OBS时,支持TCP TOA类型信息携带方式。 - Proxy Protocol:表示将客户端信息插入到tcp payload字段中携带至服务端。 仅当服务端支持解析上述字段时,该参数设置才有效。 该参数的取值包括: - close:表示关闭代理协议。 - toa_open:表示开启代理协议“tcp_toa”。 - proxy_open:表示开启代理协议“proxy_protocol”。 - open:表示同时开启代理协议“tcp_toa”和“proxy_protocol”。 - proxy_vni: 关闭toa,开启proxy和vni。 默认值为“close”。
|
51
51
|
:type tcp_proxy: str
|
52
52
|
:param description: 描述字段,支持中英文字母、数字等字符,不支持“<”或“>”字符。
|
53
53
|
:type description: str
|
@@ -80,7 +80,7 @@ class UpdateEndpointServiceRequestBody:
|
|
80
80
|
def approval_enabled(self):
|
81
81
|
"""Gets the approval_enabled of this UpdateEndpointServiceRequestBody.
|
82
82
|
|
83
|
-
是否需要审批。
|
83
|
+
是否需要审批。 - false:不需审批,创建的终端节点连接直接为accepted状态。 - true:需审批,创建的终端节点连接需要终端节点服务所属用户审核后方可使用。 默认为true,需要审批。
|
84
84
|
|
85
85
|
:return: The approval_enabled of this UpdateEndpointServiceRequestBody.
|
86
86
|
:rtype: bool
|
@@ -91,7 +91,7 @@ class UpdateEndpointServiceRequestBody:
|
|
91
91
|
def approval_enabled(self, approval_enabled):
|
92
92
|
"""Sets the approval_enabled of this UpdateEndpointServiceRequestBody.
|
93
93
|
|
94
|
-
是否需要审批。
|
94
|
+
是否需要审批。 - false:不需审批,创建的终端节点连接直接为accepted状态。 - true:需审批,创建的终端节点连接需要终端节点服务所属用户审核后方可使用。 默认为true,需要审批。
|
95
95
|
|
96
96
|
:param approval_enabled: The approval_enabled of this UpdateEndpointServiceRequestBody.
|
97
97
|
:type approval_enabled: bool
|
@@ -146,7 +146,7 @@ class UpdateEndpointServiceRequestBody:
|
|
146
146
|
def port_id(self):
|
147
147
|
"""Gets the port_id of this UpdateEndpointServiceRequestBody.
|
148
148
|
|
149
|
-
标识终端节点服务后端资源的ID, 格式为通用唯一识别码(Universally UniqueIdentifier,下文简称UUID)。 取值为:
|
149
|
+
标识终端节点服务后端资源的ID, 格式为通用唯一识别码(Universally UniqueIdentifier,下文简称UUID)。 取值为: - LB类型:负载均衡器内网IP对应的端口ID。 详细内容请参考《弹性负载均衡API参考》中的“查询负载均衡详情”。 - VM类型:弹性云服务器IP地址对应的网卡ID。 详细内容请参考《弹性云服务器API参考》中的“查询云服务器网卡信息”, 详见响应消息中的“port_id”字段。 - VIP类型:虚拟资源所在物理服务器对应的网卡ID。(该字段已废弃,请优先使用LB类型) 说明: 当后端资源为“LB类型”时,仅支持修改为同类型后端资源。 例如,共享型负载均衡仅支持更换为共享型负载均衡,不支持更换为独享型负载均衡。
|
150
150
|
|
151
151
|
:return: The port_id of this UpdateEndpointServiceRequestBody.
|
152
152
|
:rtype: str
|
@@ -157,7 +157,7 @@ class UpdateEndpointServiceRequestBody:
|
|
157
157
|
def port_id(self, port_id):
|
158
158
|
"""Sets the port_id of this UpdateEndpointServiceRequestBody.
|
159
159
|
|
160
|
-
标识终端节点服务后端资源的ID, 格式为通用唯一识别码(Universally UniqueIdentifier,下文简称UUID)。 取值为:
|
160
|
+
标识终端节点服务后端资源的ID, 格式为通用唯一识别码(Universally UniqueIdentifier,下文简称UUID)。 取值为: - LB类型:负载均衡器内网IP对应的端口ID。 详细内容请参考《弹性负载均衡API参考》中的“查询负载均衡详情”。 - VM类型:弹性云服务器IP地址对应的网卡ID。 详细内容请参考《弹性云服务器API参考》中的“查询云服务器网卡信息”, 详见响应消息中的“port_id”字段。 - VIP类型:虚拟资源所在物理服务器对应的网卡ID。(该字段已废弃,请优先使用LB类型) 说明: 当后端资源为“LB类型”时,仅支持修改为同类型后端资源。 例如,共享型负载均衡仅支持更换为共享型负载均衡,不支持更换为独享型负载均衡。
|
161
161
|
|
162
162
|
:param port_id: The port_id of this UpdateEndpointServiceRequestBody.
|
163
163
|
:type port_id: str
|
@@ -168,7 +168,7 @@ class UpdateEndpointServiceRequestBody:
|
|
168
168
|
def tcp_proxy(self):
|
169
169
|
"""Gets the tcp_proxy of this UpdateEndpointServiceRequestBody.
|
170
170
|
|
171
|
-
用于控制将哪些信息(如客户端的源IP、源端口、marker_id等)携带到服务端。 支持携带的客户端信息包括如下两种类型:
|
171
|
+
用于控制将哪些信息(如客户端的源IP、源端口、marker_id等)携带到服务端。 支持携带的客户端信息包括如下两种类型: - TCP TOA:表示将客户端信息插入到tcp option字段中携带至服务端。 说明:仅当后端资源为OBS时,支持TCP TOA类型信息携带方式。 - Proxy Protocol:表示将客户端信息插入到tcp payload字段中携带至服务端。 仅当服务端支持解析上述字段时,该参数设置才有效。 该参数的取值包括: - close:表示关闭代理协议。 - toa_open:表示开启代理协议“tcp_toa”。 - proxy_open:表示开启代理协议“proxy_protocol”。 - open:表示同时开启代理协议“tcp_toa”和“proxy_protocol”。 - proxy_vni: 关闭toa,开启proxy和vni。 默认值为“close”。
|
172
172
|
|
173
173
|
:return: The tcp_proxy of this UpdateEndpointServiceRequestBody.
|
174
174
|
:rtype: str
|
@@ -179,7 +179,7 @@ class UpdateEndpointServiceRequestBody:
|
|
179
179
|
def tcp_proxy(self, tcp_proxy):
|
180
180
|
"""Sets the tcp_proxy of this UpdateEndpointServiceRequestBody.
|
181
181
|
|
182
|
-
用于控制将哪些信息(如客户端的源IP、源端口、marker_id等)携带到服务端。 支持携带的客户端信息包括如下两种类型:
|
182
|
+
用于控制将哪些信息(如客户端的源IP、源端口、marker_id等)携带到服务端。 支持携带的客户端信息包括如下两种类型: - TCP TOA:表示将客户端信息插入到tcp option字段中携带至服务端。 说明:仅当后端资源为OBS时,支持TCP TOA类型信息携带方式。 - Proxy Protocol:表示将客户端信息插入到tcp payload字段中携带至服务端。 仅当服务端支持解析上述字段时,该参数设置才有效。 该参数的取值包括: - close:表示关闭代理协议。 - toa_open:表示开启代理协议“tcp_toa”。 - proxy_open:表示开启代理协议“proxy_protocol”。 - open:表示同时开启代理协议“tcp_toa”和“proxy_protocol”。 - proxy_vni: 关闭toa,开启proxy和vni。 默认值为“close”。
|
183
183
|
|
184
184
|
:param tcp_proxy: The tcp_proxy of this UpdateEndpointServiceRequestBody.
|
185
185
|
:type tcp_proxy: str
|