huaweicloudsdkvpcep 3.1.86__py2.py3-none-any.whl → 3.1.132__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 +2 -0
- huaweicloudsdkvpcep/v1/model/__init__.py +2 -0
- huaweicloudsdkvpcep/v1/model/add_or_remove_service_permissions_request_body.py +3 -3
- huaweicloudsdkvpcep/v1/model/add_or_remove_service_permissions_response.py +3 -3
- huaweicloudsdkvpcep/v1/model/connection_endpoints.py +6 -6
- huaweicloudsdkvpcep/v1/model/create_endpoint_request_body.py +131 -15
- huaweicloudsdkvpcep/v1/model/create_endpoint_response.py +76 -18
- huaweicloudsdkvpcep/v1/model/create_endpoint_service_request_body.py +88 -30
- huaweicloudsdkvpcep/v1/model/create_endpoint_service_response.py +73 -15
- huaweicloudsdkvpcep/v1/model/delete_endpoint_policy_response.py +42 -13
- huaweicloudsdkvpcep/v1/model/endpoint_response_body.py +45 -16
- huaweicloudsdkvpcep/v1/model/endpoint_service.py +6 -6
- huaweicloudsdkvpcep/v1/model/eps_add_permission_request.py +3 -3
- huaweicloudsdkvpcep/v1/model/eps_permission.py +3 -3
- huaweicloudsdkvpcep/v1/model/list_endpoint_info_details_response.py +77 -19
- huaweicloudsdkvpcep/v1/model/list_endpoint_service_request.py +32 -3
- huaweicloudsdkvpcep/v1/model/list_endpoints_request.py +3 -32
- huaweicloudsdkvpcep/v1/model/list_service_describe_details_response.py +6 -6
- huaweicloudsdkvpcep/v1/model/list_service_details_response.py +42 -13
- huaweicloudsdkvpcep/v1/model/list_service_permissions_details_request.py +3 -3
- huaweicloudsdkvpcep/v1/model/permission_object.py +6 -6
- huaweicloudsdkvpcep/v1/model/policy_statement.py +3 -3
- huaweicloudsdkvpcep/v1/model/resource_tag.py +6 -6
- huaweicloudsdkvpcep/v1/model/service_list.py +42 -13
- huaweicloudsdkvpcep/v1/model/tag_list.py +6 -6
- huaweicloudsdkvpcep/v1/model/tag_values_list.py +3 -3
- huaweicloudsdkvpcep/v1/model/update_endpoint_policy_request_body.py +37 -7
- huaweicloudsdkvpcep/v1/model/update_endpoint_policy_response.py +42 -13
- huaweicloudsdkvpcep/v1/model/update_endpoint_service_request_body.py +38 -9
- huaweicloudsdkvpcep/v1/model/update_endpoint_service_response.py +73 -15
- huaweicloudsdkvpcep/v1/model/update_endpoint_white_response.py +67 -9
- huaweicloudsdkvpcep/v1/model/upgrade_endpoint_service_request.py +114 -0
- huaweicloudsdkvpcep/v1/model/upgrade_endpoint_service_response.py +85 -0
- huaweicloudsdkvpcep/v1/region/vpcep_region.py +30 -0
- huaweicloudsdkvpcep/v1/vpcep_async_client.py +85 -11
- huaweicloudsdkvpcep/v1/vpcep_client.py +85 -11
- {huaweicloudsdkvpcep-3.1.86.dist-info → huaweicloudsdkvpcep-3.1.132.dist-info}/METADATA +2 -2
- {huaweicloudsdkvpcep-3.1.86.dist-info → huaweicloudsdkvpcep-3.1.132.dist-info}/RECORD +41 -39
- {huaweicloudsdkvpcep-3.1.86.dist-info → huaweicloudsdkvpcep-3.1.132.dist-info}/WHEEL +1 -1
- {huaweicloudsdkvpcep-3.1.86.dist-info → huaweicloudsdkvpcep-3.1.132.dist-info}/LICENSE +0 -0
- {huaweicloudsdkvpcep-3.1.86.dist-info → huaweicloudsdkvpcep-3.1.132.dist-info}/top_level.txt +0 -0
@@ -23,11 +23,13 @@ class CreateEndpointServiceRequestBody:
|
|
23
23
|
'approval_enabled': 'bool',
|
24
24
|
'service_type': 'str',
|
25
25
|
'server_type': 'str',
|
26
|
+
'ip': 'str',
|
26
27
|
'ports': 'list[PortList]',
|
27
28
|
'tcp_proxy': 'str',
|
28
29
|
'tags': 'list[TagList]',
|
29
30
|
'description': 'str',
|
30
|
-
'
|
31
|
+
'ip_version': 'str',
|
32
|
+
'snat_network_id': 'str'
|
31
33
|
}
|
32
34
|
|
33
35
|
attribute_map = {
|
@@ -37,14 +39,16 @@ class CreateEndpointServiceRequestBody:
|
|
37
39
|
'approval_enabled': 'approval_enabled',
|
38
40
|
'service_type': 'service_type',
|
39
41
|
'server_type': 'server_type',
|
42
|
+
'ip': 'ip',
|
40
43
|
'ports': 'ports',
|
41
44
|
'tcp_proxy': 'tcp_proxy',
|
42
45
|
'tags': 'tags',
|
43
46
|
'description': 'description',
|
44
|
-
'
|
47
|
+
'ip_version': 'ip_version',
|
48
|
+
'snat_network_id': 'snat_network_id'
|
45
49
|
}
|
46
50
|
|
47
|
-
def __init__(self, port_id=None, service_name=None, vpc_id=None, approval_enabled=None, service_type=None, server_type=None, ports=None, tcp_proxy=None, tags=None, description=None,
|
51
|
+
def __init__(self, port_id=None, service_name=None, vpc_id=None, approval_enabled=None, service_type=None, server_type=None, ip=None, ports=None, tcp_proxy=None, tags=None, description=None, ip_version=None, snat_network_id=None):
|
48
52
|
"""CreateEndpointServiceRequestBody
|
49
53
|
|
50
54
|
The model defined in huaweicloud sdk
|
@@ -53,7 +57,7 @@ class CreateEndpointServiceRequestBody:
|
|
53
57
|
:type port_id: str
|
54
58
|
:param service_name: 终端节点服务的名称,长度不大于16,允许传入大小写字母、数字、下划线、中划线。 - 传入为空,存入值为regionName+.+serviceId - 传入不为空并校验通过,存入值为regionName+.+serviceName+.+serviceId
|
55
59
|
:type service_name: str
|
56
|
-
:param vpc_id: 终端节点服务对应后端资源所在的VPC的ID。
|
60
|
+
:param vpc_id: 终端节点服务对应后端资源所在的VPC的ID。
|
57
61
|
:type vpc_id: str
|
58
62
|
:param approval_enabled: 是否需要审批。 - false:不需要审批,创建的终端节点连接直接为accepted状态。 - true:需要审批,创建的终端节点连接为pendingAcceptance状态, 需要终端节点服务所属用户审核后方可使用。 默认为true,需要审批。
|
59
63
|
:type approval_enabled: bool
|
@@ -61,16 +65,20 @@ class CreateEndpointServiceRequestBody:
|
|
61
65
|
:type service_type: str
|
62
66
|
:param server_type: 资源类型。 - VM:云服务器,适用于作为服务器使用。 - VIP:虚拟IP,适用于作为虚IP场景使用。(该字段已废弃,请优先使用LB类型) - LB:负载均衡,适用于高访问量业务和对可靠性和容灾性要求较高的业务。
|
63
67
|
:type server_type: str
|
68
|
+
:param ip: 接口型VLAN场景服务端IPv4地址或域名
|
69
|
+
:type ip: str
|
64
70
|
:param ports: 服务开放的端口映射列表,详细内容请参见表4-10。 同一个终端节点服务下,不允许重复的端口映射。若多个终端节点服务共用一个port_id, 则终端节点服务之间的所有端口映射的server_port和protocol的组合不能重复, 单次最多添加200个。
|
65
71
|
:type ports: list[:class:`huaweicloudsdkvpcep.v1.PortList`]
|
66
|
-
: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”。
|
72
|
+
: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”。 默认值为“close”。
|
67
73
|
:type tcp_proxy: str
|
68
|
-
:param tags: 资源标签列表。同一个终端节点服务最多可添加
|
74
|
+
:param tags: 资源标签列表。同一个终端节点服务最多可添加20个标签。
|
69
75
|
:type tags: list[:class:`huaweicloudsdkvpcep.v1.TagList`]
|
70
76
|
:param description: 描述字段,支持中英文字母、数字等字符,不支持“<”或“>”字符。 描述字段,支持中英文字母、数字等字符,不支持“<”或“>”字符。
|
71
77
|
:type description: str
|
72
|
-
:param
|
73
|
-
:type
|
78
|
+
:param ip_version: 指定终端节点服务的IP版本,仅专业型终端节点服务支持此参数 ● ipv4, IPv4 ● ipv6, IPv6
|
79
|
+
:type ip_version: str
|
80
|
+
:param snat_network_id: 接口型snat的地址段,ip_version为ipv6时必选。创建服务时使用的VPC内的任意一个网络ID。当服务类型为VIP、VM、ELBV2类型时使用
|
81
|
+
:type snat_network_id: str
|
74
82
|
"""
|
75
83
|
|
76
84
|
|
@@ -81,11 +89,13 @@ class CreateEndpointServiceRequestBody:
|
|
81
89
|
self._approval_enabled = None
|
82
90
|
self._service_type = None
|
83
91
|
self._server_type = None
|
92
|
+
self._ip = None
|
84
93
|
self._ports = None
|
85
94
|
self._tcp_proxy = None
|
86
95
|
self._tags = None
|
87
96
|
self._description = None
|
88
|
-
self.
|
97
|
+
self._ip_version = None
|
98
|
+
self._snat_network_id = None
|
89
99
|
self.discriminator = None
|
90
100
|
|
91
101
|
self.port_id = port_id
|
@@ -97,6 +107,8 @@ class CreateEndpointServiceRequestBody:
|
|
97
107
|
if service_type is not None:
|
98
108
|
self.service_type = service_type
|
99
109
|
self.server_type = server_type
|
110
|
+
if ip is not None:
|
111
|
+
self.ip = ip
|
100
112
|
self.ports = ports
|
101
113
|
if tcp_proxy is not None:
|
102
114
|
self.tcp_proxy = tcp_proxy
|
@@ -104,8 +116,10 @@ class CreateEndpointServiceRequestBody:
|
|
104
116
|
self.tags = tags
|
105
117
|
if description is not None:
|
106
118
|
self.description = description
|
107
|
-
if
|
108
|
-
self.
|
119
|
+
if ip_version is not None:
|
120
|
+
self.ip_version = ip_version
|
121
|
+
if snat_network_id is not None:
|
122
|
+
self.snat_network_id = snat_network_id
|
109
123
|
|
110
124
|
@property
|
111
125
|
def port_id(self):
|
@@ -155,7 +169,7 @@ class CreateEndpointServiceRequestBody:
|
|
155
169
|
def vpc_id(self):
|
156
170
|
"""Gets the vpc_id of this CreateEndpointServiceRequestBody.
|
157
171
|
|
158
|
-
终端节点服务对应后端资源所在的VPC的ID。
|
172
|
+
终端节点服务对应后端资源所在的VPC的ID。
|
159
173
|
|
160
174
|
:return: The vpc_id of this CreateEndpointServiceRequestBody.
|
161
175
|
:rtype: str
|
@@ -166,7 +180,7 @@ class CreateEndpointServiceRequestBody:
|
|
166
180
|
def vpc_id(self, vpc_id):
|
167
181
|
"""Sets the vpc_id of this CreateEndpointServiceRequestBody.
|
168
182
|
|
169
|
-
终端节点服务对应后端资源所在的VPC的ID。
|
183
|
+
终端节点服务对应后端资源所在的VPC的ID。
|
170
184
|
|
171
185
|
:param vpc_id: The vpc_id of this CreateEndpointServiceRequestBody.
|
172
186
|
:type vpc_id: str
|
@@ -239,6 +253,28 @@ class CreateEndpointServiceRequestBody:
|
|
239
253
|
"""
|
240
254
|
self._server_type = server_type
|
241
255
|
|
256
|
+
@property
|
257
|
+
def ip(self):
|
258
|
+
"""Gets the ip of this CreateEndpointServiceRequestBody.
|
259
|
+
|
260
|
+
接口型VLAN场景服务端IPv4地址或域名
|
261
|
+
|
262
|
+
:return: The ip of this CreateEndpointServiceRequestBody.
|
263
|
+
:rtype: str
|
264
|
+
"""
|
265
|
+
return self._ip
|
266
|
+
|
267
|
+
@ip.setter
|
268
|
+
def ip(self, ip):
|
269
|
+
"""Sets the ip of this CreateEndpointServiceRequestBody.
|
270
|
+
|
271
|
+
接口型VLAN场景服务端IPv4地址或域名
|
272
|
+
|
273
|
+
:param ip: The ip of this CreateEndpointServiceRequestBody.
|
274
|
+
:type ip: str
|
275
|
+
"""
|
276
|
+
self._ip = ip
|
277
|
+
|
242
278
|
@property
|
243
279
|
def ports(self):
|
244
280
|
"""Gets the ports of this CreateEndpointServiceRequestBody.
|
@@ -265,7 +301,7 @@ class CreateEndpointServiceRequestBody:
|
|
265
301
|
def tcp_proxy(self):
|
266
302
|
"""Gets the tcp_proxy of this CreateEndpointServiceRequestBody.
|
267
303
|
|
268
|
-
用于控制将哪些信息(如客户端的源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”。
|
304
|
+
用于控制将哪些信息(如客户端的源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”。 默认值为“close”。
|
269
305
|
|
270
306
|
:return: The tcp_proxy of this CreateEndpointServiceRequestBody.
|
271
307
|
:rtype: str
|
@@ -276,7 +312,7 @@ class CreateEndpointServiceRequestBody:
|
|
276
312
|
def tcp_proxy(self, tcp_proxy):
|
277
313
|
"""Sets the tcp_proxy of this CreateEndpointServiceRequestBody.
|
278
314
|
|
279
|
-
用于控制将哪些信息(如客户端的源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”。
|
315
|
+
用于控制将哪些信息(如客户端的源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”。 默认值为“close”。
|
280
316
|
|
281
317
|
:param tcp_proxy: The tcp_proxy of this CreateEndpointServiceRequestBody.
|
282
318
|
:type tcp_proxy: str
|
@@ -287,7 +323,7 @@ class CreateEndpointServiceRequestBody:
|
|
287
323
|
def tags(self):
|
288
324
|
"""Gets the tags of this CreateEndpointServiceRequestBody.
|
289
325
|
|
290
|
-
资源标签列表。同一个终端节点服务最多可添加
|
326
|
+
资源标签列表。同一个终端节点服务最多可添加20个标签。
|
291
327
|
|
292
328
|
:return: The tags of this CreateEndpointServiceRequestBody.
|
293
329
|
:rtype: list[:class:`huaweicloudsdkvpcep.v1.TagList`]
|
@@ -298,7 +334,7 @@ class CreateEndpointServiceRequestBody:
|
|
298
334
|
def tags(self, tags):
|
299
335
|
"""Sets the tags of this CreateEndpointServiceRequestBody.
|
300
336
|
|
301
|
-
资源标签列表。同一个终端节点服务最多可添加
|
337
|
+
资源标签列表。同一个终端节点服务最多可添加20个标签。
|
302
338
|
|
303
339
|
:param tags: The tags of this CreateEndpointServiceRequestBody.
|
304
340
|
:type tags: list[:class:`huaweicloudsdkvpcep.v1.TagList`]
|
@@ -328,26 +364,48 @@ class CreateEndpointServiceRequestBody:
|
|
328
364
|
self._description = description
|
329
365
|
|
330
366
|
@property
|
331
|
-
def
|
332
|
-
"""Gets the
|
367
|
+
def ip_version(self):
|
368
|
+
"""Gets the ip_version of this CreateEndpointServiceRequestBody.
|
333
369
|
|
334
|
-
|
370
|
+
指定终端节点服务的IP版本,仅专业型终端节点服务支持此参数 ● ipv4, IPv4 ● ipv6, IPv6
|
335
371
|
|
336
|
-
:return: The
|
337
|
-
:rtype:
|
372
|
+
:return: The ip_version of this CreateEndpointServiceRequestBody.
|
373
|
+
:rtype: str
|
374
|
+
"""
|
375
|
+
return self._ip_version
|
376
|
+
|
377
|
+
@ip_version.setter
|
378
|
+
def ip_version(self, ip_version):
|
379
|
+
"""Sets the ip_version of this CreateEndpointServiceRequestBody.
|
380
|
+
|
381
|
+
指定终端节点服务的IP版本,仅专业型终端节点服务支持此参数 ● ipv4, IPv4 ● ipv6, IPv6
|
382
|
+
|
383
|
+
:param ip_version: The ip_version of this CreateEndpointServiceRequestBody.
|
384
|
+
:type ip_version: str
|
385
|
+
"""
|
386
|
+
self._ip_version = ip_version
|
387
|
+
|
388
|
+
@property
|
389
|
+
def snat_network_id(self):
|
390
|
+
"""Gets the snat_network_id of this CreateEndpointServiceRequestBody.
|
391
|
+
|
392
|
+
接口型snat的地址段,ip_version为ipv6时必选。创建服务时使用的VPC内的任意一个网络ID。当服务类型为VIP、VM、ELBV2类型时使用
|
393
|
+
|
394
|
+
:return: The snat_network_id of this CreateEndpointServiceRequestBody.
|
395
|
+
:rtype: str
|
338
396
|
"""
|
339
|
-
return self.
|
397
|
+
return self._snat_network_id
|
340
398
|
|
341
|
-
@
|
342
|
-
def
|
343
|
-
"""Sets the
|
399
|
+
@snat_network_id.setter
|
400
|
+
def snat_network_id(self, snat_network_id):
|
401
|
+
"""Sets the snat_network_id of this CreateEndpointServiceRequestBody.
|
344
402
|
|
345
|
-
|
403
|
+
接口型snat的地址段,ip_version为ipv6时必选。创建服务时使用的VPC内的任意一个网络ID。当服务类型为VIP、VM、ELBV2类型时使用
|
346
404
|
|
347
|
-
:param
|
348
|
-
:type
|
405
|
+
:param snat_network_id: The snat_network_id of this CreateEndpointServiceRequestBody.
|
406
|
+
:type snat_network_id: str
|
349
407
|
"""
|
350
|
-
self.
|
408
|
+
self._snat_network_id = snat_network_id
|
351
409
|
|
352
410
|
def to_dict(self):
|
353
411
|
"""Returns the model properties as a dict"""
|
@@ -30,11 +30,13 @@ class CreateEndpointServiceResponse(SdkResponse):
|
|
30
30
|
'created_at': 'datetime',
|
31
31
|
'updated_at': 'datetime',
|
32
32
|
'project_id': 'str',
|
33
|
+
'ip': 'str',
|
33
34
|
'ports': 'list[PortList]',
|
34
35
|
'tcp_proxy': 'str',
|
35
36
|
'tags': 'list[TagList]',
|
36
37
|
'description': 'str',
|
37
|
-
'enable_policy': 'bool'
|
38
|
+
'enable_policy': 'bool',
|
39
|
+
'ip_version': 'str'
|
38
40
|
}
|
39
41
|
|
40
42
|
attribute_map = {
|
@@ -50,14 +52,16 @@ class CreateEndpointServiceResponse(SdkResponse):
|
|
50
52
|
'created_at': 'created_at',
|
51
53
|
'updated_at': 'updated_at',
|
52
54
|
'project_id': 'project_id',
|
55
|
+
'ip': 'ip',
|
53
56
|
'ports': 'ports',
|
54
57
|
'tcp_proxy': 'tcp_proxy',
|
55
58
|
'tags': 'tags',
|
56
59
|
'description': 'description',
|
57
|
-
'enable_policy': 'enable_policy'
|
60
|
+
'enable_policy': 'enable_policy',
|
61
|
+
'ip_version': 'ip_version'
|
58
62
|
}
|
59
63
|
|
60
|
-
def __init__(self, id=None, port_id=None, service_name=None, server_type=None, vpc_id=None, pool_id=None, approval_enabled=None, status=None, service_type=None, created_at=None, updated_at=None, project_id=None, ports=None, tcp_proxy=None, tags=None, description=None, enable_policy=None):
|
64
|
+
def __init__(self, id=None, port_id=None, service_name=None, server_type=None, vpc_id=None, pool_id=None, approval_enabled=None, status=None, service_type=None, created_at=None, updated_at=None, project_id=None, ip=None, ports=None, tcp_proxy=None, tags=None, description=None, enable_policy=None, ip_version=None):
|
61
65
|
"""CreateEndpointServiceResponse
|
62
66
|
|
63
67
|
The model defined in huaweicloud sdk
|
@@ -80,22 +84,26 @@ class CreateEndpointServiceResponse(SdkResponse):
|
|
80
84
|
:type status: str
|
81
85
|
:param service_type: 终端节点服务类型。 终端节点服务类型包括“网关(gateway)型”和“接口(interface)型”: - gateway:由运维人员配置。用户无需创建,可直接使用。 - interface:包括运维人员配置的云服务和用户自己创建的私有服务。 其中,运维人员配置的云服务无需创建,用户可直接使用。 您可以通过创建终端节点创建访问Gateway和Interface类型终端节点服务的终端节点。
|
82
86
|
:type service_type: str
|
83
|
-
:param created_at: 终端节点服务的创建时间。 采用UTC时间格式,格式为:YYYY-
|
87
|
+
:param created_at: 终端节点服务的创建时间。 采用UTC时间格式,格式为:YYYY-MM-DDTHH:MM:SSZ
|
84
88
|
:type created_at: datetime
|
85
|
-
:param updated_at: 终端节点服务的更新时间。 采用UTC时间格式,格式为:YYYY-
|
89
|
+
:param updated_at: 终端节点服务的更新时间。 采用UTC时间格式,格式为:YYYY-MM-DDTHH:MM:SSZ
|
86
90
|
:type updated_at: datetime
|
87
91
|
:param project_id: 项目ID
|
88
92
|
:type project_id: str
|
93
|
+
:param ip: 接口型VLAN场景服务端IPv4地址或域名
|
94
|
+
:type ip: str
|
89
95
|
:param ports: 服务开放的端口映射列表 同一个终端节点服务下,不允许重复的端口映射。 若多个终端节点服务共用一个port_id, 则终端节点服务之间的所有端口映射的server_port和protocol的组合不能重复。
|
90
96
|
:type ports: list[:class:`huaweicloudsdkvpcep.v1.PortList`]
|
91
|
-
: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”。
|
97
|
+
: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”。 默认值为“close”。
|
92
98
|
:type tcp_proxy: str
|
93
99
|
:param tags: 资源标签列表
|
94
100
|
:type tags: list[:class:`huaweicloudsdkvpcep.v1.TagList`]
|
95
101
|
:param description: 描述字段,支持中英文字母、数字等字符,不支持“<”或“>”字符。
|
96
102
|
:type description: str
|
97
|
-
:param enable_policy:
|
103
|
+
:param enable_policy: 是否允许自定义终端节点策略。 - false:不支持设置终端节点策略 - true:支持设置终端节点策略 默认为false
|
98
104
|
:type enable_policy: bool
|
105
|
+
:param ip_version: 指定终端节点服务的IP版本,仅专业型终端节点服务支持此参数 ● ipv4, IPv4 ● ipv6, IPv6
|
106
|
+
:type ip_version: str
|
99
107
|
"""
|
100
108
|
|
101
109
|
super(CreateEndpointServiceResponse, self).__init__()
|
@@ -112,11 +120,13 @@ class CreateEndpointServiceResponse(SdkResponse):
|
|
112
120
|
self._created_at = None
|
113
121
|
self._updated_at = None
|
114
122
|
self._project_id = None
|
123
|
+
self._ip = None
|
115
124
|
self._ports = None
|
116
125
|
self._tcp_proxy = None
|
117
126
|
self._tags = None
|
118
127
|
self._description = None
|
119
128
|
self._enable_policy = None
|
129
|
+
self._ip_version = None
|
120
130
|
self.discriminator = None
|
121
131
|
|
122
132
|
if id is not None:
|
@@ -143,6 +153,8 @@ class CreateEndpointServiceResponse(SdkResponse):
|
|
143
153
|
self.updated_at = updated_at
|
144
154
|
if project_id is not None:
|
145
155
|
self.project_id = project_id
|
156
|
+
if ip is not None:
|
157
|
+
self.ip = ip
|
146
158
|
if ports is not None:
|
147
159
|
self.ports = ports
|
148
160
|
if tcp_proxy is not None:
|
@@ -153,6 +165,8 @@ class CreateEndpointServiceResponse(SdkResponse):
|
|
153
165
|
self.description = description
|
154
166
|
if enable_policy is not None:
|
155
167
|
self.enable_policy = enable_policy
|
168
|
+
if ip_version is not None:
|
169
|
+
self.ip_version = ip_version
|
156
170
|
|
157
171
|
@property
|
158
172
|
def id(self):
|
@@ -356,7 +370,7 @@ class CreateEndpointServiceResponse(SdkResponse):
|
|
356
370
|
def created_at(self):
|
357
371
|
"""Gets the created_at of this CreateEndpointServiceResponse.
|
358
372
|
|
359
|
-
终端节点服务的创建时间。 采用UTC时间格式,格式为:YYYY-
|
373
|
+
终端节点服务的创建时间。 采用UTC时间格式,格式为:YYYY-MM-DDTHH:MM:SSZ
|
360
374
|
|
361
375
|
:return: The created_at of this CreateEndpointServiceResponse.
|
362
376
|
:rtype: datetime
|
@@ -367,7 +381,7 @@ class CreateEndpointServiceResponse(SdkResponse):
|
|
367
381
|
def created_at(self, created_at):
|
368
382
|
"""Sets the created_at of this CreateEndpointServiceResponse.
|
369
383
|
|
370
|
-
终端节点服务的创建时间。 采用UTC时间格式,格式为:YYYY-
|
384
|
+
终端节点服务的创建时间。 采用UTC时间格式,格式为:YYYY-MM-DDTHH:MM:SSZ
|
371
385
|
|
372
386
|
:param created_at: The created_at of this CreateEndpointServiceResponse.
|
373
387
|
:type created_at: datetime
|
@@ -378,7 +392,7 @@ class CreateEndpointServiceResponse(SdkResponse):
|
|
378
392
|
def updated_at(self):
|
379
393
|
"""Gets the updated_at of this CreateEndpointServiceResponse.
|
380
394
|
|
381
|
-
终端节点服务的更新时间。 采用UTC时间格式,格式为:YYYY-
|
395
|
+
终端节点服务的更新时间。 采用UTC时间格式,格式为:YYYY-MM-DDTHH:MM:SSZ
|
382
396
|
|
383
397
|
:return: The updated_at of this CreateEndpointServiceResponse.
|
384
398
|
:rtype: datetime
|
@@ -389,7 +403,7 @@ class CreateEndpointServiceResponse(SdkResponse):
|
|
389
403
|
def updated_at(self, updated_at):
|
390
404
|
"""Sets the updated_at of this CreateEndpointServiceResponse.
|
391
405
|
|
392
|
-
终端节点服务的更新时间。 采用UTC时间格式,格式为:YYYY-
|
406
|
+
终端节点服务的更新时间。 采用UTC时间格式,格式为:YYYY-MM-DDTHH:MM:SSZ
|
393
407
|
|
394
408
|
:param updated_at: The updated_at of this CreateEndpointServiceResponse.
|
395
409
|
:type updated_at: datetime
|
@@ -418,6 +432,28 @@ class CreateEndpointServiceResponse(SdkResponse):
|
|
418
432
|
"""
|
419
433
|
self._project_id = project_id
|
420
434
|
|
435
|
+
@property
|
436
|
+
def ip(self):
|
437
|
+
"""Gets the ip of this CreateEndpointServiceResponse.
|
438
|
+
|
439
|
+
接口型VLAN场景服务端IPv4地址或域名
|
440
|
+
|
441
|
+
:return: The ip of this CreateEndpointServiceResponse.
|
442
|
+
:rtype: str
|
443
|
+
"""
|
444
|
+
return self._ip
|
445
|
+
|
446
|
+
@ip.setter
|
447
|
+
def ip(self, ip):
|
448
|
+
"""Sets the ip of this CreateEndpointServiceResponse.
|
449
|
+
|
450
|
+
接口型VLAN场景服务端IPv4地址或域名
|
451
|
+
|
452
|
+
:param ip: The ip of this CreateEndpointServiceResponse.
|
453
|
+
:type ip: str
|
454
|
+
"""
|
455
|
+
self._ip = ip
|
456
|
+
|
421
457
|
@property
|
422
458
|
def ports(self):
|
423
459
|
"""Gets the ports of this CreateEndpointServiceResponse.
|
@@ -444,7 +480,7 @@ class CreateEndpointServiceResponse(SdkResponse):
|
|
444
480
|
def tcp_proxy(self):
|
445
481
|
"""Gets the tcp_proxy of this CreateEndpointServiceResponse.
|
446
482
|
|
447
|
-
用于控制将哪些信息(如客户端的源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”。
|
483
|
+
用于控制将哪些信息(如客户端的源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”。 默认值为“close”。
|
448
484
|
|
449
485
|
:return: The tcp_proxy of this CreateEndpointServiceResponse.
|
450
486
|
:rtype: str
|
@@ -455,7 +491,7 @@ class CreateEndpointServiceResponse(SdkResponse):
|
|
455
491
|
def tcp_proxy(self, tcp_proxy):
|
456
492
|
"""Sets the tcp_proxy of this CreateEndpointServiceResponse.
|
457
493
|
|
458
|
-
用于控制将哪些信息(如客户端的源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”。
|
494
|
+
用于控制将哪些信息(如客户端的源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”。 默认值为“close”。
|
459
495
|
|
460
496
|
:param tcp_proxy: The tcp_proxy of this CreateEndpointServiceResponse.
|
461
497
|
:type tcp_proxy: str
|
@@ -510,7 +546,7 @@ class CreateEndpointServiceResponse(SdkResponse):
|
|
510
546
|
def enable_policy(self):
|
511
547
|
"""Gets the enable_policy of this CreateEndpointServiceResponse.
|
512
548
|
|
513
|
-
|
549
|
+
是否允许自定义终端节点策略。 - false:不支持设置终端节点策略 - true:支持设置终端节点策略 默认为false
|
514
550
|
|
515
551
|
:return: The enable_policy of this CreateEndpointServiceResponse.
|
516
552
|
:rtype: bool
|
@@ -521,13 +557,35 @@ class CreateEndpointServiceResponse(SdkResponse):
|
|
521
557
|
def enable_policy(self, enable_policy):
|
522
558
|
"""Sets the enable_policy of this CreateEndpointServiceResponse.
|
523
559
|
|
524
|
-
|
560
|
+
是否允许自定义终端节点策略。 - false:不支持设置终端节点策略 - true:支持设置终端节点策略 默认为false
|
525
561
|
|
526
562
|
:param enable_policy: The enable_policy of this CreateEndpointServiceResponse.
|
527
563
|
:type enable_policy: bool
|
528
564
|
"""
|
529
565
|
self._enable_policy = enable_policy
|
530
566
|
|
567
|
+
@property
|
568
|
+
def ip_version(self):
|
569
|
+
"""Gets the ip_version of this CreateEndpointServiceResponse.
|
570
|
+
|
571
|
+
指定终端节点服务的IP版本,仅专业型终端节点服务支持此参数 ● ipv4, IPv4 ● ipv6, IPv6
|
572
|
+
|
573
|
+
:return: The ip_version of this CreateEndpointServiceResponse.
|
574
|
+
:rtype: str
|
575
|
+
"""
|
576
|
+
return self._ip_version
|
577
|
+
|
578
|
+
@ip_version.setter
|
579
|
+
def ip_version(self, ip_version):
|
580
|
+
"""Sets the ip_version of this CreateEndpointServiceResponse.
|
581
|
+
|
582
|
+
指定终端节点服务的IP版本,仅专业型终端节点服务支持此参数 ● ipv4, IPv4 ● ipv6, IPv6
|
583
|
+
|
584
|
+
:param ip_version: The ip_version of this CreateEndpointServiceResponse.
|
585
|
+
:type ip_version: str
|
586
|
+
"""
|
587
|
+
self._ip_version = ip_version
|
588
|
+
|
531
589
|
def to_dict(self):
|
532
590
|
"""Returns the model properties as a dict"""
|
533
591
|
result = {}
|
@@ -37,6 +37,7 @@ class DeleteEndpointPolicyResponse(SdkResponse):
|
|
37
37
|
'routetables': 'list[str]',
|
38
38
|
'description': 'str',
|
39
39
|
'policy_statement': 'list[PolicyStatement]',
|
40
|
+
'policy_document': 'object',
|
40
41
|
'endpoint_pool_id': 'str',
|
41
42
|
'public_border_group': 'str'
|
42
43
|
}
|
@@ -61,11 +62,12 @@ class DeleteEndpointPolicyResponse(SdkResponse):
|
|
61
62
|
'routetables': 'routetables',
|
62
63
|
'description': 'description',
|
63
64
|
'policy_statement': 'policy_statement',
|
65
|
+
'policy_document': 'policy_document',
|
64
66
|
'endpoint_pool_id': 'endpoint_pool_id',
|
65
67
|
'public_border_group': 'public_border_group'
|
66
68
|
}
|
67
69
|
|
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):
|
70
|
+
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, policy_document=None, endpoint_pool_id=None, public_border_group=None):
|
69
71
|
"""DeleteEndpointPolicyResponse
|
70
72
|
|
71
73
|
The model defined in huaweicloud sdk
|
@@ -76,7 +78,7 @@ class DeleteEndpointPolicyResponse(SdkResponse):
|
|
76
78
|
:type service_type: str
|
77
79
|
:param status: 终端节点的连接状态。 - pendingAcceptance:待接受 - creating:创建中 - accepted:已接受 - rejected:已拒绝 - failed:失败 - deleting:删除中
|
78
80
|
:type status: str
|
79
|
-
:param active_status:
|
81
|
+
:param active_status: 账号状态。 - frozen:冻结 - active:解冻
|
80
82
|
:type active_status: list[str]
|
81
83
|
:param endpoint_service_name: 终端节点服务的名称。
|
82
84
|
:type endpoint_service_name: str
|
@@ -102,15 +104,17 @@ class DeleteEndpointPolicyResponse(SdkResponse):
|
|
102
104
|
:type whitelist: list[str]
|
103
105
|
:param enable_whitelist: 是否开启网络ACL隔离。 - true:开启网络ACL隔离 - false:不开启网络ACL隔离 若未指定,则返回false。 创建连接Interface类型终端节点服务的终端节点时,显示此参数。
|
104
106
|
:type enable_whitelist: bool
|
105
|
-
:param routetables: 路由表ID列表。 若未指定,返回默认VPC下路由表ID。
|
107
|
+
:param routetables: 路由表ID列表。 若未指定,返回默认VPC下路由表ID。 创建gateway类型终端节点服务的终端节点时,显示此参数。
|
106
108
|
:type routetables: list[str]
|
107
109
|
:param description: 描述字段,支持中英文字母、数字等字符,不支持“<”或“>”字符。
|
108
110
|
:type description: str
|
109
|
-
:param policy_statement:
|
111
|
+
:param policy_statement: Gateway类型终端节点策略信息,仅限OBS、SFS的终端节点服务的enable_policy值为true时支持该参数。
|
110
112
|
:type policy_statement: list[:class:`huaweicloudsdkvpcep.v1.PolicyStatement`]
|
113
|
+
:param policy_document: 终端节点策略信息,仅当终端节点服务的enable_policy值为true时支持该参数,默认值为完全访问权限。(OBS、SFS的终端节点服务暂不支持该参数)
|
114
|
+
:type policy_document: object
|
111
115
|
:param endpoint_pool_id: 待废弃,实例相关联的集群ID
|
112
116
|
:type endpoint_pool_id: str
|
113
|
-
:param public_border_group: 终端节点关联的Public Border Group信息,只有当终端节点和边缘Pool
|
117
|
+
:param public_border_group: 终端节点关联的Public Border Group信息,只有当终端节点和边缘Pool相关联时才会返回该字段
|
114
118
|
:type public_border_group: str
|
115
119
|
"""
|
116
120
|
|
@@ -135,6 +139,7 @@ class DeleteEndpointPolicyResponse(SdkResponse):
|
|
135
139
|
self._routetables = None
|
136
140
|
self._description = None
|
137
141
|
self._policy_statement = None
|
142
|
+
self._policy_document = None
|
138
143
|
self._endpoint_pool_id = None
|
139
144
|
self._public_border_group = None
|
140
145
|
self.discriminator = None
|
@@ -177,6 +182,8 @@ class DeleteEndpointPolicyResponse(SdkResponse):
|
|
177
182
|
self.description = description
|
178
183
|
if policy_statement is not None:
|
179
184
|
self.policy_statement = policy_statement
|
185
|
+
if policy_document is not None:
|
186
|
+
self.policy_document = policy_document
|
180
187
|
if endpoint_pool_id is not None:
|
181
188
|
self.endpoint_pool_id = endpoint_pool_id
|
182
189
|
if public_border_group is not None:
|
@@ -252,7 +259,7 @@ class DeleteEndpointPolicyResponse(SdkResponse):
|
|
252
259
|
def active_status(self):
|
253
260
|
"""Gets the active_status of this DeleteEndpointPolicyResponse.
|
254
261
|
|
255
|
-
|
262
|
+
账号状态。 - frozen:冻结 - active:解冻
|
256
263
|
|
257
264
|
:return: The active_status of this DeleteEndpointPolicyResponse.
|
258
265
|
:rtype: list[str]
|
@@ -263,7 +270,7 @@ class DeleteEndpointPolicyResponse(SdkResponse):
|
|
263
270
|
def active_status(self, active_status):
|
264
271
|
"""Sets the active_status of this DeleteEndpointPolicyResponse.
|
265
272
|
|
266
|
-
|
273
|
+
账号状态。 - frozen:冻结 - active:解冻
|
267
274
|
|
268
275
|
:param active_status: The active_status of this DeleteEndpointPolicyResponse.
|
269
276
|
:type active_status: list[str]
|
@@ -538,7 +545,7 @@ class DeleteEndpointPolicyResponse(SdkResponse):
|
|
538
545
|
def routetables(self):
|
539
546
|
"""Gets the routetables of this DeleteEndpointPolicyResponse.
|
540
547
|
|
541
|
-
路由表ID列表。 若未指定,返回默认VPC下路由表ID。
|
548
|
+
路由表ID列表。 若未指定,返回默认VPC下路由表ID。 创建gateway类型终端节点服务的终端节点时,显示此参数。
|
542
549
|
|
543
550
|
:return: The routetables of this DeleteEndpointPolicyResponse.
|
544
551
|
:rtype: list[str]
|
@@ -549,7 +556,7 @@ class DeleteEndpointPolicyResponse(SdkResponse):
|
|
549
556
|
def routetables(self, routetables):
|
550
557
|
"""Sets the routetables of this DeleteEndpointPolicyResponse.
|
551
558
|
|
552
|
-
路由表ID列表。 若未指定,返回默认VPC下路由表ID。
|
559
|
+
路由表ID列表。 若未指定,返回默认VPC下路由表ID。 创建gateway类型终端节点服务的终端节点时,显示此参数。
|
553
560
|
|
554
561
|
:param routetables: The routetables of this DeleteEndpointPolicyResponse.
|
555
562
|
:type routetables: list[str]
|
@@ -582,7 +589,7 @@ class DeleteEndpointPolicyResponse(SdkResponse):
|
|
582
589
|
def policy_statement(self):
|
583
590
|
"""Gets the policy_statement of this DeleteEndpointPolicyResponse.
|
584
591
|
|
585
|
-
|
592
|
+
Gateway类型终端节点策略信息,仅限OBS、SFS的终端节点服务的enable_policy值为true时支持该参数。
|
586
593
|
|
587
594
|
:return: The policy_statement of this DeleteEndpointPolicyResponse.
|
588
595
|
:rtype: list[:class:`huaweicloudsdkvpcep.v1.PolicyStatement`]
|
@@ -593,13 +600,35 @@ class DeleteEndpointPolicyResponse(SdkResponse):
|
|
593
600
|
def policy_statement(self, policy_statement):
|
594
601
|
"""Sets the policy_statement of this DeleteEndpointPolicyResponse.
|
595
602
|
|
596
|
-
|
603
|
+
Gateway类型终端节点策略信息,仅限OBS、SFS的终端节点服务的enable_policy值为true时支持该参数。
|
597
604
|
|
598
605
|
:param policy_statement: The policy_statement of this DeleteEndpointPolicyResponse.
|
599
606
|
:type policy_statement: list[:class:`huaweicloudsdkvpcep.v1.PolicyStatement`]
|
600
607
|
"""
|
601
608
|
self._policy_statement = policy_statement
|
602
609
|
|
610
|
+
@property
|
611
|
+
def policy_document(self):
|
612
|
+
"""Gets the policy_document of this DeleteEndpointPolicyResponse.
|
613
|
+
|
614
|
+
终端节点策略信息,仅当终端节点服务的enable_policy值为true时支持该参数,默认值为完全访问权限。(OBS、SFS的终端节点服务暂不支持该参数)
|
615
|
+
|
616
|
+
:return: The policy_document of this DeleteEndpointPolicyResponse.
|
617
|
+
:rtype: object
|
618
|
+
"""
|
619
|
+
return self._policy_document
|
620
|
+
|
621
|
+
@policy_document.setter
|
622
|
+
def policy_document(self, policy_document):
|
623
|
+
"""Sets the policy_document of this DeleteEndpointPolicyResponse.
|
624
|
+
|
625
|
+
终端节点策略信息,仅当终端节点服务的enable_policy值为true时支持该参数,默认值为完全访问权限。(OBS、SFS的终端节点服务暂不支持该参数)
|
626
|
+
|
627
|
+
:param policy_document: The policy_document of this DeleteEndpointPolicyResponse.
|
628
|
+
:type policy_document: object
|
629
|
+
"""
|
630
|
+
self._policy_document = policy_document
|
631
|
+
|
603
632
|
@property
|
604
633
|
def endpoint_pool_id(self):
|
605
634
|
"""Gets the endpoint_pool_id of this DeleteEndpointPolicyResponse.
|
@@ -626,7 +655,7 @@ class DeleteEndpointPolicyResponse(SdkResponse):
|
|
626
655
|
def public_border_group(self):
|
627
656
|
"""Gets the public_border_group of this DeleteEndpointPolicyResponse.
|
628
657
|
|
629
|
-
终端节点关联的Public Border Group信息,只有当终端节点和边缘Pool
|
658
|
+
终端节点关联的Public Border Group信息,只有当终端节点和边缘Pool相关联时才会返回该字段
|
630
659
|
|
631
660
|
:return: The public_border_group of this DeleteEndpointPolicyResponse.
|
632
661
|
:rtype: str
|
@@ -637,7 +666,7 @@ class DeleteEndpointPolicyResponse(SdkResponse):
|
|
637
666
|
def public_border_group(self, public_border_group):
|
638
667
|
"""Sets the public_border_group of this DeleteEndpointPolicyResponse.
|
639
668
|
|
640
|
-
终端节点关联的Public Border Group信息,只有当终端节点和边缘Pool
|
669
|
+
终端节点关联的Public Border Group信息,只有当终端节点和边缘Pool相关联时才会返回该字段
|
641
670
|
|
642
671
|
:param public_border_group: The public_border_group of this DeleteEndpointPolicyResponse.
|
643
672
|
:type public_border_group: str
|