huaweicloudsdkvpcep 3.1.102__py2.py3-none-any.whl → 3.1.103__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/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/create_endpoint_request_body.py +102 -15
- huaweicloudsdkvpcep/v1/model/create_endpoint_response.py +47 -18
- huaweicloudsdkvpcep/v1/model/create_endpoint_service_request_body.py +27 -27
- huaweicloudsdkvpcep/v1/model/create_endpoint_service_response.py +38 -9
- huaweicloudsdkvpcep/v1/model/delete_endpoint_policy_response.py +9 -9
- huaweicloudsdkvpcep/v1/model/endpoint_response_body.py +12 -12
- huaweicloudsdkvpcep/v1/model/endpoint_service.py +3 -3
- 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 +44 -15
- huaweicloudsdkvpcep/v1/model/list_endpoints_request.py +3 -32
- huaweicloudsdkvpcep/v1/model/list_service_describe_details_response.py +3 -3
- huaweicloudsdkvpcep/v1/model/list_service_details_response.py +6 -6
- huaweicloudsdkvpcep/v1/model/list_service_permissions_details_request.py +3 -3
- huaweicloudsdkvpcep/v1/model/permission_object.py +3 -3
- huaweicloudsdkvpcep/v1/model/service_list.py +6 -6
- huaweicloudsdkvpcep/v1/model/update_endpoint_policy_request_body.py +3 -3
- huaweicloudsdkvpcep/v1/model/update_endpoint_policy_response.py +9 -9
- huaweicloudsdkvpcep/v1/model/update_endpoint_service_request_body.py +6 -6
- huaweicloudsdkvpcep/v1/model/update_endpoint_service_response.py +38 -9
- huaweicloudsdkvpcep/v1/model/update_endpoint_white_response.py +6 -6
- huaweicloudsdkvpcep/v1/vpcep_async_client.py +3 -5
- huaweicloudsdkvpcep/v1/vpcep_client.py +3 -5
- {huaweicloudsdkvpcep-3.1.102.dist-info → huaweicloudsdkvpcep-3.1.103.dist-info}/METADATA +2 -2
- {huaweicloudsdkvpcep-3.1.102.dist-info → huaweicloudsdkvpcep-3.1.103.dist-info}/RECORD +30 -30
- {huaweicloudsdkvpcep-3.1.102.dist-info → huaweicloudsdkvpcep-3.1.103.dist-info}/LICENSE +0 -0
- {huaweicloudsdkvpcep-3.1.102.dist-info → huaweicloudsdkvpcep-3.1.103.dist-info}/WHEEL +0 -0
- {huaweicloudsdkvpcep-3.1.102.dist-info → huaweicloudsdkvpcep-3.1.103.dist-info}/top_level.txt +0 -0
@@ -27,7 +27,7 @@ class CreateEndpointServiceRequestBody:
|
|
27
27
|
'tcp_proxy': 'str',
|
28
28
|
'tags': 'list[TagList]',
|
29
29
|
'description': 'str',
|
30
|
-
'
|
30
|
+
'ip_version': 'str'
|
31
31
|
}
|
32
32
|
|
33
33
|
attribute_map = {
|
@@ -41,10 +41,10 @@ class CreateEndpointServiceRequestBody:
|
|
41
41
|
'tcp_proxy': 'tcp_proxy',
|
42
42
|
'tags': 'tags',
|
43
43
|
'description': 'description',
|
44
|
-
'
|
44
|
+
'ip_version': 'ip_version'
|
45
45
|
}
|
46
46
|
|
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,
|
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, ip_version=None):
|
48
48
|
"""CreateEndpointServiceRequestBody
|
49
49
|
|
50
50
|
The model defined in huaweicloud sdk
|
@@ -53,7 +53,7 @@ class CreateEndpointServiceRequestBody:
|
|
53
53
|
:type port_id: str
|
54
54
|
:param service_name: 终端节点服务的名称,长度不大于16,允许传入大小写字母、数字、下划线、中划线。 - 传入为空,存入值为regionName+.+serviceId - 传入不为空并校验通过,存入值为regionName+.+serviceName+.+serviceId
|
55
55
|
:type service_name: str
|
56
|
-
:param vpc_id: 终端节点服务对应后端资源所在的VPC的ID。
|
56
|
+
:param vpc_id: 终端节点服务对应后端资源所在的VPC的ID。
|
57
57
|
:type vpc_id: str
|
58
58
|
:param approval_enabled: 是否需要审批。 - false:不需要审批,创建的终端节点连接直接为accepted状态。 - true:需要审批,创建的终端节点连接为pendingAcceptance状态, 需要终端节点服务所属用户审核后方可使用。 默认为true,需要审批。
|
59
59
|
:type approval_enabled: bool
|
@@ -63,14 +63,14 @@ class CreateEndpointServiceRequestBody:
|
|
63
63
|
:type server_type: str
|
64
64
|
:param ports: 服务开放的端口映射列表,详细内容请参见表4-10。 同一个终端节点服务下,不允许重复的端口映射。若多个终端节点服务共用一个port_id, 则终端节点服务之间的所有端口映射的server_port和protocol的组合不能重复, 单次最多添加200个。
|
65
65
|
: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”。
|
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”。 默认值为“close”。
|
67
67
|
:type tcp_proxy: str
|
68
68
|
:param tags: 资源标签列表。同一个终端节点服务最多可添加10个标签。
|
69
69
|
:type tags: list[:class:`huaweicloudsdkvpcep.v1.TagList`]
|
70
70
|
:param description: 描述字段,支持中英文字母、数字等字符,不支持“<”或“>”字符。 描述字段,支持中英文字母、数字等字符,不支持“<”或“>”字符。
|
71
71
|
:type description: str
|
72
|
-
:param
|
73
|
-
:type
|
72
|
+
:param ip_version: 指定终端节点服务的IP版本,仅专业型终端节点服务支持此参数 ● ipv4, IPv4 ● ipv6, IPv6
|
73
|
+
:type ip_version: str
|
74
74
|
"""
|
75
75
|
|
76
76
|
|
@@ -85,7 +85,7 @@ class CreateEndpointServiceRequestBody:
|
|
85
85
|
self._tcp_proxy = None
|
86
86
|
self._tags = None
|
87
87
|
self._description = None
|
88
|
-
self.
|
88
|
+
self._ip_version = None
|
89
89
|
self.discriminator = None
|
90
90
|
|
91
91
|
self.port_id = port_id
|
@@ -104,8 +104,8 @@ class CreateEndpointServiceRequestBody:
|
|
104
104
|
self.tags = tags
|
105
105
|
if description is not None:
|
106
106
|
self.description = description
|
107
|
-
if
|
108
|
-
self.
|
107
|
+
if ip_version is not None:
|
108
|
+
self.ip_version = ip_version
|
109
109
|
|
110
110
|
@property
|
111
111
|
def port_id(self):
|
@@ -155,7 +155,7 @@ class CreateEndpointServiceRequestBody:
|
|
155
155
|
def vpc_id(self):
|
156
156
|
"""Gets the vpc_id of this CreateEndpointServiceRequestBody.
|
157
157
|
|
158
|
-
终端节点服务对应后端资源所在的VPC的ID。
|
158
|
+
终端节点服务对应后端资源所在的VPC的ID。
|
159
159
|
|
160
160
|
:return: The vpc_id of this CreateEndpointServiceRequestBody.
|
161
161
|
:rtype: str
|
@@ -166,7 +166,7 @@ class CreateEndpointServiceRequestBody:
|
|
166
166
|
def vpc_id(self, vpc_id):
|
167
167
|
"""Sets the vpc_id of this CreateEndpointServiceRequestBody.
|
168
168
|
|
169
|
-
终端节点服务对应后端资源所在的VPC的ID。
|
169
|
+
终端节点服务对应后端资源所在的VPC的ID。
|
170
170
|
|
171
171
|
:param vpc_id: The vpc_id of this CreateEndpointServiceRequestBody.
|
172
172
|
:type vpc_id: str
|
@@ -265,7 +265,7 @@ class CreateEndpointServiceRequestBody:
|
|
265
265
|
def tcp_proxy(self):
|
266
266
|
"""Gets the tcp_proxy of this CreateEndpointServiceRequestBody.
|
267
267
|
|
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”。
|
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”。 默认值为“close”。
|
269
269
|
|
270
270
|
:return: The tcp_proxy of this CreateEndpointServiceRequestBody.
|
271
271
|
:rtype: str
|
@@ -276,7 +276,7 @@ class CreateEndpointServiceRequestBody:
|
|
276
276
|
def tcp_proxy(self, tcp_proxy):
|
277
277
|
"""Sets the tcp_proxy of this CreateEndpointServiceRequestBody.
|
278
278
|
|
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”。
|
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”。 默认值为“close”。
|
280
280
|
|
281
281
|
:param tcp_proxy: The tcp_proxy of this CreateEndpointServiceRequestBody.
|
282
282
|
:type tcp_proxy: str
|
@@ -328,26 +328,26 @@ class CreateEndpointServiceRequestBody:
|
|
328
328
|
self._description = description
|
329
329
|
|
330
330
|
@property
|
331
|
-
def
|
332
|
-
"""Gets the
|
331
|
+
def ip_version(self):
|
332
|
+
"""Gets the ip_version of this CreateEndpointServiceRequestBody.
|
333
333
|
|
334
|
-
|
334
|
+
指定终端节点服务的IP版本,仅专业型终端节点服务支持此参数 ● ipv4, IPv4 ● ipv6, IPv6
|
335
335
|
|
336
|
-
:return: The
|
337
|
-
:rtype:
|
336
|
+
:return: The ip_version of this CreateEndpointServiceRequestBody.
|
337
|
+
:rtype: str
|
338
338
|
"""
|
339
|
-
return self.
|
339
|
+
return self._ip_version
|
340
340
|
|
341
|
-
@
|
342
|
-
def
|
343
|
-
"""Sets the
|
341
|
+
@ip_version.setter
|
342
|
+
def ip_version(self, ip_version):
|
343
|
+
"""Sets the ip_version of this CreateEndpointServiceRequestBody.
|
344
344
|
|
345
|
-
|
345
|
+
指定终端节点服务的IP版本,仅专业型终端节点服务支持此参数 ● ipv4, IPv4 ● ipv6, IPv6
|
346
346
|
|
347
|
-
:param
|
348
|
-
:type
|
347
|
+
:param ip_version: The ip_version of this CreateEndpointServiceRequestBody.
|
348
|
+
:type ip_version: str
|
349
349
|
"""
|
350
|
-
self.
|
350
|
+
self._ip_version = ip_version
|
351
351
|
|
352
352
|
def to_dict(self):
|
353
353
|
"""Returns the model properties as a dict"""
|
@@ -34,7 +34,8 @@ class CreateEndpointServiceResponse(SdkResponse):
|
|
34
34
|
'tcp_proxy': 'str',
|
35
35
|
'tags': 'list[TagList]',
|
36
36
|
'description': 'str',
|
37
|
-
'enable_policy': 'bool'
|
37
|
+
'enable_policy': 'bool',
|
38
|
+
'ip_version': 'str'
|
38
39
|
}
|
39
40
|
|
40
41
|
attribute_map = {
|
@@ -54,10 +55,11 @@ class CreateEndpointServiceResponse(SdkResponse):
|
|
54
55
|
'tcp_proxy': 'tcp_proxy',
|
55
56
|
'tags': 'tags',
|
56
57
|
'description': 'description',
|
57
|
-
'enable_policy': 'enable_policy'
|
58
|
+
'enable_policy': 'enable_policy',
|
59
|
+
'ip_version': 'ip_version'
|
58
60
|
}
|
59
61
|
|
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):
|
62
|
+
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, ip_version=None):
|
61
63
|
"""CreateEndpointServiceResponse
|
62
64
|
|
63
65
|
The model defined in huaweicloud sdk
|
@@ -88,14 +90,16 @@ class CreateEndpointServiceResponse(SdkResponse):
|
|
88
90
|
:type project_id: str
|
89
91
|
:param ports: 服务开放的端口映射列表 同一个终端节点服务下,不允许重复的端口映射。 若多个终端节点服务共用一个port_id, 则终端节点服务之间的所有端口映射的server_port和protocol的组合不能重复。
|
90
92
|
: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”。
|
93
|
+
: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
94
|
:type tcp_proxy: str
|
93
95
|
:param tags: 资源标签列表
|
94
96
|
:type tags: list[:class:`huaweicloudsdkvpcep.v1.TagList`]
|
95
97
|
:param description: 描述字段,支持中英文字母、数字等字符,不支持“<”或“>”字符。
|
96
98
|
:type description: str
|
97
|
-
:param enable_policy:
|
99
|
+
:param enable_policy: 是否允许自定义终端节点策略。 - false:不支持设置终端节点策略 - true:支持设置终端节点策略 默认为false
|
98
100
|
:type enable_policy: bool
|
101
|
+
:param ip_version: 指定终端节点服务的IP版本,仅专业型终端节点服务支持此参数 ● ipv4, IPv4 ● ipv6, IPv6
|
102
|
+
:type ip_version: str
|
99
103
|
"""
|
100
104
|
|
101
105
|
super(CreateEndpointServiceResponse, self).__init__()
|
@@ -117,6 +121,7 @@ class CreateEndpointServiceResponse(SdkResponse):
|
|
117
121
|
self._tags = None
|
118
122
|
self._description = None
|
119
123
|
self._enable_policy = None
|
124
|
+
self._ip_version = None
|
120
125
|
self.discriminator = None
|
121
126
|
|
122
127
|
if id is not None:
|
@@ -153,6 +158,8 @@ class CreateEndpointServiceResponse(SdkResponse):
|
|
153
158
|
self.description = description
|
154
159
|
if enable_policy is not None:
|
155
160
|
self.enable_policy = enable_policy
|
161
|
+
if ip_version is not None:
|
162
|
+
self.ip_version = ip_version
|
156
163
|
|
157
164
|
@property
|
158
165
|
def id(self):
|
@@ -444,7 +451,7 @@ class CreateEndpointServiceResponse(SdkResponse):
|
|
444
451
|
def tcp_proxy(self):
|
445
452
|
"""Gets the tcp_proxy of this CreateEndpointServiceResponse.
|
446
453
|
|
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”。
|
454
|
+
用于控制将哪些信息(如客户端的源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
455
|
|
449
456
|
:return: The tcp_proxy of this CreateEndpointServiceResponse.
|
450
457
|
:rtype: str
|
@@ -455,7 +462,7 @@ class CreateEndpointServiceResponse(SdkResponse):
|
|
455
462
|
def tcp_proxy(self, tcp_proxy):
|
456
463
|
"""Sets the tcp_proxy of this CreateEndpointServiceResponse.
|
457
464
|
|
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”。
|
465
|
+
用于控制将哪些信息(如客户端的源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
466
|
|
460
467
|
:param tcp_proxy: The tcp_proxy of this CreateEndpointServiceResponse.
|
461
468
|
:type tcp_proxy: str
|
@@ -510,7 +517,7 @@ class CreateEndpointServiceResponse(SdkResponse):
|
|
510
517
|
def enable_policy(self):
|
511
518
|
"""Gets the enable_policy of this CreateEndpointServiceResponse.
|
512
519
|
|
513
|
-
|
520
|
+
是否允许自定义终端节点策略。 - false:不支持设置终端节点策略 - true:支持设置终端节点策略 默认为false
|
514
521
|
|
515
522
|
:return: The enable_policy of this CreateEndpointServiceResponse.
|
516
523
|
:rtype: bool
|
@@ -521,13 +528,35 @@ class CreateEndpointServiceResponse(SdkResponse):
|
|
521
528
|
def enable_policy(self, enable_policy):
|
522
529
|
"""Sets the enable_policy of this CreateEndpointServiceResponse.
|
523
530
|
|
524
|
-
|
531
|
+
是否允许自定义终端节点策略。 - false:不支持设置终端节点策略 - true:支持设置终端节点策略 默认为false
|
525
532
|
|
526
533
|
:param enable_policy: The enable_policy of this CreateEndpointServiceResponse.
|
527
534
|
:type enable_policy: bool
|
528
535
|
"""
|
529
536
|
self._enable_policy = enable_policy
|
530
537
|
|
538
|
+
@property
|
539
|
+
def ip_version(self):
|
540
|
+
"""Gets the ip_version of this CreateEndpointServiceResponse.
|
541
|
+
|
542
|
+
指定终端节点服务的IP版本,仅专业型终端节点服务支持此参数 ● ipv4, IPv4 ● ipv6, IPv6
|
543
|
+
|
544
|
+
:return: The ip_version of this CreateEndpointServiceResponse.
|
545
|
+
:rtype: str
|
546
|
+
"""
|
547
|
+
return self._ip_version
|
548
|
+
|
549
|
+
@ip_version.setter
|
550
|
+
def ip_version(self, ip_version):
|
551
|
+
"""Sets the ip_version of this CreateEndpointServiceResponse.
|
552
|
+
|
553
|
+
指定终端节点服务的IP版本,仅专业型终端节点服务支持此参数 ● ipv4, IPv4 ● ipv6, IPv6
|
554
|
+
|
555
|
+
:param ip_version: The ip_version of this CreateEndpointServiceResponse.
|
556
|
+
:type ip_version: str
|
557
|
+
"""
|
558
|
+
self._ip_version = ip_version
|
559
|
+
|
531
560
|
def to_dict(self):
|
532
561
|
"""Returns the model properties as a dict"""
|
533
562
|
result = {}
|
@@ -76,7 +76,7 @@ class DeleteEndpointPolicyResponse(SdkResponse):
|
|
76
76
|
:type service_type: str
|
77
77
|
:param status: 终端节点的连接状态。 - pendingAcceptance:待接受 - creating:创建中 - accepted:已接受 - rejected:已拒绝 - failed:失败 - deleting:删除中
|
78
78
|
:type status: str
|
79
|
-
:param active_status:
|
79
|
+
:param active_status: 账号状态。 - frozen:冻结 - active:解冻
|
80
80
|
:type active_status: list[str]
|
81
81
|
:param endpoint_service_name: 终端节点服务的名称。
|
82
82
|
:type endpoint_service_name: str
|
@@ -102,11 +102,11 @@ class DeleteEndpointPolicyResponse(SdkResponse):
|
|
102
102
|
:type whitelist: list[str]
|
103
103
|
:param enable_whitelist: 是否开启网络ACL隔离。 - true:开启网络ACL隔离 - false:不开启网络ACL隔离 若未指定,则返回false。 创建连接Interface类型终端节点服务的终端节点时,显示此参数。
|
104
104
|
:type enable_whitelist: bool
|
105
|
-
:param routetables: 路由表ID列表。 若未指定,返回默认VPC下路由表ID。
|
105
|
+
:param routetables: 路由表ID列表。 若未指定,返回默认VPC下路由表ID。 创建gateway类型终端节点服务的终端节点时,显示此参数。
|
106
106
|
:type routetables: list[str]
|
107
107
|
:param description: 描述字段,支持中英文字母、数字等字符,不支持“<”或“>”字符。
|
108
108
|
:type description: str
|
109
|
-
:param policy_statement:
|
109
|
+
:param policy_statement: 终端节点策略信息
|
110
110
|
:type policy_statement: list[:class:`huaweicloudsdkvpcep.v1.PolicyStatement`]
|
111
111
|
:param endpoint_pool_id: 待废弃,实例相关联的集群ID
|
112
112
|
:type endpoint_pool_id: str
|
@@ -252,7 +252,7 @@ class DeleteEndpointPolicyResponse(SdkResponse):
|
|
252
252
|
def active_status(self):
|
253
253
|
"""Gets the active_status of this DeleteEndpointPolicyResponse.
|
254
254
|
|
255
|
-
|
255
|
+
账号状态。 - frozen:冻结 - active:解冻
|
256
256
|
|
257
257
|
:return: The active_status of this DeleteEndpointPolicyResponse.
|
258
258
|
:rtype: list[str]
|
@@ -263,7 +263,7 @@ class DeleteEndpointPolicyResponse(SdkResponse):
|
|
263
263
|
def active_status(self, active_status):
|
264
264
|
"""Sets the active_status of this DeleteEndpointPolicyResponse.
|
265
265
|
|
266
|
-
|
266
|
+
账号状态。 - frozen:冻结 - active:解冻
|
267
267
|
|
268
268
|
:param active_status: The active_status of this DeleteEndpointPolicyResponse.
|
269
269
|
:type active_status: list[str]
|
@@ -538,7 +538,7 @@ class DeleteEndpointPolicyResponse(SdkResponse):
|
|
538
538
|
def routetables(self):
|
539
539
|
"""Gets the routetables of this DeleteEndpointPolicyResponse.
|
540
540
|
|
541
|
-
路由表ID列表。 若未指定,返回默认VPC下路由表ID。
|
541
|
+
路由表ID列表。 若未指定,返回默认VPC下路由表ID。 创建gateway类型终端节点服务的终端节点时,显示此参数。
|
542
542
|
|
543
543
|
:return: The routetables of this DeleteEndpointPolicyResponse.
|
544
544
|
:rtype: list[str]
|
@@ -549,7 +549,7 @@ class DeleteEndpointPolicyResponse(SdkResponse):
|
|
549
549
|
def routetables(self, routetables):
|
550
550
|
"""Sets the routetables of this DeleteEndpointPolicyResponse.
|
551
551
|
|
552
|
-
路由表ID列表。 若未指定,返回默认VPC下路由表ID。
|
552
|
+
路由表ID列表。 若未指定,返回默认VPC下路由表ID。 创建gateway类型终端节点服务的终端节点时,显示此参数。
|
553
553
|
|
554
554
|
:param routetables: The routetables of this DeleteEndpointPolicyResponse.
|
555
555
|
:type routetables: list[str]
|
@@ -582,7 +582,7 @@ class DeleteEndpointPolicyResponse(SdkResponse):
|
|
582
582
|
def policy_statement(self):
|
583
583
|
"""Gets the policy_statement of this DeleteEndpointPolicyResponse.
|
584
584
|
|
585
|
-
|
585
|
+
终端节点策略信息
|
586
586
|
|
587
587
|
:return: The policy_statement of this DeleteEndpointPolicyResponse.
|
588
588
|
:rtype: list[:class:`huaweicloudsdkvpcep.v1.PolicyStatement`]
|
@@ -593,7 +593,7 @@ class DeleteEndpointPolicyResponse(SdkResponse):
|
|
593
593
|
def policy_statement(self, policy_statement):
|
594
594
|
"""Sets the policy_statement of this DeleteEndpointPolicyResponse.
|
595
595
|
|
596
|
-
|
596
|
+
终端节点策略信息
|
597
597
|
|
598
598
|
:param policy_statement: The policy_statement of this DeleteEndpointPolicyResponse.
|
599
599
|
:type policy_statement: list[:class:`huaweicloudsdkvpcep.v1.PolicyStatement`]
|
@@ -81,7 +81,7 @@ class EndpointResponseBody:
|
|
81
81
|
:type service_type: str
|
82
82
|
:param status: 终端节点的连接状态。 - pendingAcceptance:待接受 - creating:创建中 - accepted:已接受 - rejected:已拒绝 - failed:失败 - deleting:删除中
|
83
83
|
:type status: str
|
84
|
-
:param active_status:
|
84
|
+
:param active_status: 账号状态。 - frozen:冻结 - active:解冻
|
85
85
|
:type active_status: list[str]
|
86
86
|
:param endpoint_service_name: 终端节点服务的名称。
|
87
87
|
:type endpoint_service_name: str
|
@@ -89,7 +89,7 @@ class EndpointResponseBody:
|
|
89
89
|
:type marker_id: int
|
90
90
|
:param endpoint_service_id: 终端节点服务的ID。
|
91
91
|
:type endpoint_service_id: str
|
92
|
-
:param enable_dns: 是否创建域名。 - true:创建域名 - false:不创建域名 说明
|
92
|
+
:param enable_dns: 是否创建域名。 - true:创建域名 - false:不创建域名 说明 当创建gateway类型终端节点服务的终端节点时, “enable_dns”设置为true或者false,均不创建域名。
|
93
93
|
:type enable_dns: bool
|
94
94
|
:param dns_names: 访问所连接的终端节点服务的域名。 当“enable_dns”为true时,该参数可见。
|
95
95
|
:type dns_names: list[str]
|
@@ -113,11 +113,11 @@ class EndpointResponseBody:
|
|
113
113
|
:type whitelist: list[str]
|
114
114
|
:param enable_whitelist: 是否开启网络ACL隔离。 - true:开启网络ACL隔离 - false:不开启网络ACL隔离 若未指定,则返回false。 创建连接Interface类型终端节点服务的终端节点时,显示此参数。
|
115
115
|
:type enable_whitelist: bool
|
116
|
-
:param routetables: 路由表ID列表。 若未指定,返回默认VPC下路由表ID。
|
116
|
+
:param routetables: 路由表ID列表。 若未指定,返回默认VPC下路由表ID。 创建gateway类型终端节点服务的终端节点时,显示此参数。
|
117
117
|
:type routetables: list[str]
|
118
118
|
:param description: 描述字段,支持中英文字母、数字等字符,不支持“<”或“>”字符。
|
119
119
|
:type description: str
|
120
|
-
:param policy_statement:
|
120
|
+
:param policy_statement: 终端节点策略信息
|
121
121
|
:type policy_statement: list[:class:`huaweicloudsdkvpcep.v1.PolicyStatement`]
|
122
122
|
:param endpoint_pool_id: 待废弃,实例相关联的集群ID
|
123
123
|
:type endpoint_pool_id: str
|
@@ -272,7 +272,7 @@ class EndpointResponseBody:
|
|
272
272
|
def active_status(self):
|
273
273
|
"""Gets the active_status of this EndpointResponseBody.
|
274
274
|
|
275
|
-
|
275
|
+
账号状态。 - frozen:冻结 - active:解冻
|
276
276
|
|
277
277
|
:return: The active_status of this EndpointResponseBody.
|
278
278
|
:rtype: list[str]
|
@@ -283,7 +283,7 @@ class EndpointResponseBody:
|
|
283
283
|
def active_status(self, active_status):
|
284
284
|
"""Sets the active_status of this EndpointResponseBody.
|
285
285
|
|
286
|
-
|
286
|
+
账号状态。 - frozen:冻结 - active:解冻
|
287
287
|
|
288
288
|
:param active_status: The active_status of this EndpointResponseBody.
|
289
289
|
:type active_status: list[str]
|
@@ -360,7 +360,7 @@ class EndpointResponseBody:
|
|
360
360
|
def enable_dns(self):
|
361
361
|
"""Gets the enable_dns of this EndpointResponseBody.
|
362
362
|
|
363
|
-
是否创建域名。 - true:创建域名 - false:不创建域名 说明
|
363
|
+
是否创建域名。 - true:创建域名 - false:不创建域名 说明 当创建gateway类型终端节点服务的终端节点时, “enable_dns”设置为true或者false,均不创建域名。
|
364
364
|
|
365
365
|
:return: The enable_dns of this EndpointResponseBody.
|
366
366
|
:rtype: bool
|
@@ -371,7 +371,7 @@ class EndpointResponseBody:
|
|
371
371
|
def enable_dns(self, enable_dns):
|
372
372
|
"""Sets the enable_dns of this EndpointResponseBody.
|
373
373
|
|
374
|
-
是否创建域名。 - true:创建域名 - false:不创建域名 说明
|
374
|
+
是否创建域名。 - true:创建域名 - false:不创建域名 说明 当创建gateway类型终端节点服务的终端节点时, “enable_dns”设置为true或者false,均不创建域名。
|
375
375
|
|
376
376
|
:param enable_dns: The enable_dns of this EndpointResponseBody.
|
377
377
|
:type enable_dns: bool
|
@@ -624,7 +624,7 @@ class EndpointResponseBody:
|
|
624
624
|
def routetables(self):
|
625
625
|
"""Gets the routetables of this EndpointResponseBody.
|
626
626
|
|
627
|
-
路由表ID列表。 若未指定,返回默认VPC下路由表ID。
|
627
|
+
路由表ID列表。 若未指定,返回默认VPC下路由表ID。 创建gateway类型终端节点服务的终端节点时,显示此参数。
|
628
628
|
|
629
629
|
:return: The routetables of this EndpointResponseBody.
|
630
630
|
:rtype: list[str]
|
@@ -635,7 +635,7 @@ class EndpointResponseBody:
|
|
635
635
|
def routetables(self, routetables):
|
636
636
|
"""Sets the routetables of this EndpointResponseBody.
|
637
637
|
|
638
|
-
路由表ID列表。 若未指定,返回默认VPC下路由表ID。
|
638
|
+
路由表ID列表。 若未指定,返回默认VPC下路由表ID。 创建gateway类型终端节点服务的终端节点时,显示此参数。
|
639
639
|
|
640
640
|
:param routetables: The routetables of this EndpointResponseBody.
|
641
641
|
:type routetables: list[str]
|
@@ -668,7 +668,7 @@ class EndpointResponseBody:
|
|
668
668
|
def policy_statement(self):
|
669
669
|
"""Gets the policy_statement of this EndpointResponseBody.
|
670
670
|
|
671
|
-
|
671
|
+
终端节点策略信息
|
672
672
|
|
673
673
|
:return: The policy_statement of this EndpointResponseBody.
|
674
674
|
:rtype: list[:class:`huaweicloudsdkvpcep.v1.PolicyStatement`]
|
@@ -679,7 +679,7 @@ class EndpointResponseBody:
|
|
679
679
|
def policy_statement(self, policy_statement):
|
680
680
|
"""Sets the policy_statement of this EndpointResponseBody.
|
681
681
|
|
682
|
-
|
682
|
+
终端节点策略信息
|
683
683
|
|
684
684
|
:param policy_statement: The policy_statement of this EndpointResponseBody.
|
685
685
|
:type policy_statement: list[:class:`huaweicloudsdkvpcep.v1.PolicyStatement`]
|
@@ -53,7 +53,7 @@ class EndpointService:
|
|
53
53
|
:type created_at: datetime
|
54
54
|
:param is_charge: 连接该终端节点服务的终端节点是否计费。 - true:计费 - false:不计费
|
55
55
|
:type is_charge: bool
|
56
|
-
:param enable_policy:
|
56
|
+
:param enable_policy: 是否允许自定义终端节点策略。 - false:不支持设置终端节点策略 - true:支持设置终端节点策略 默认为false
|
57
57
|
:type enable_policy: bool
|
58
58
|
"""
|
59
59
|
|
@@ -219,7 +219,7 @@ class EndpointService:
|
|
219
219
|
def enable_policy(self):
|
220
220
|
"""Gets the enable_policy of this EndpointService.
|
221
221
|
|
222
|
-
|
222
|
+
是否允许自定义终端节点策略。 - false:不支持设置终端节点策略 - true:支持设置终端节点策略 默认为false
|
223
223
|
|
224
224
|
:return: The enable_policy of this EndpointService.
|
225
225
|
:rtype: bool
|
@@ -230,7 +230,7 @@ class EndpointService:
|
|
230
230
|
def enable_policy(self, enable_policy):
|
231
231
|
"""Sets the enable_policy of this EndpointService.
|
232
232
|
|
233
|
-
|
233
|
+
是否允许自定义终端节点策略。 - false:不支持设置终端节点策略 - true:支持设置终端节点策略 默认为false
|
234
234
|
|
235
235
|
:param enable_policy: The enable_policy of this EndpointService.
|
236
236
|
:type enable_policy: bool
|
@@ -31,7 +31,7 @@ class EpsAddPermissionRequest:
|
|
31
31
|
|
32
32
|
The model defined in huaweicloud sdk
|
33
33
|
|
34
|
-
:param permission:
|
34
|
+
:param permission: 权限格式为:iam:domain::domain_id或者organizations:orgPath::org_path其中, - “iam:domain::”和“organizations:orgPath::”为固定格式。 - “domain_id”为可连接用户的账号ID,org_path可连接用户的组织路径 domain_id类型支持输入包括“a~z”、“A~Z”、“0~9”或者“*,最大长度可以传64; org_path类型支持“a~z”、“A~Z”、“0~9”、“/-*?”或者“*”,最大长度可以传1024; 例如:iam:domain::6e9dfd51d1124e8d8498dce894923a0dd或者organizations:orgPath::o-3j59d1231uprgk9yuvlidra7zbzfi578/r-rldbu1vmxdw5ahdkknxnvd5rgag77m2z/ou-7tuddd8nh99rebxltawsm6qct5z7rklv/*
|
35
35
|
:type permission: str
|
36
36
|
:param description: 终端节点服务白名单描述
|
37
37
|
:type description: str
|
@@ -50,7 +50,7 @@ class EpsAddPermissionRequest:
|
|
50
50
|
def permission(self):
|
51
51
|
"""Gets the permission of this EpsAddPermissionRequest.
|
52
52
|
|
53
|
-
|
53
|
+
权限格式为:iam:domain::domain_id或者organizations:orgPath::org_path其中, - “iam:domain::”和“organizations:orgPath::”为固定格式。 - “domain_id”为可连接用户的账号ID,org_path可连接用户的组织路径 domain_id类型支持输入包括“a~z”、“A~Z”、“0~9”或者“*,最大长度可以传64; org_path类型支持“a~z”、“A~Z”、“0~9”、“/-*?”或者“*”,最大长度可以传1024; 例如:iam:domain::6e9dfd51d1124e8d8498dce894923a0dd或者organizations:orgPath::o-3j59d1231uprgk9yuvlidra7zbzfi578/r-rldbu1vmxdw5ahdkknxnvd5rgag77m2z/ou-7tuddd8nh99rebxltawsm6qct5z7rklv/*
|
54
54
|
|
55
55
|
:return: The permission of this EpsAddPermissionRequest.
|
56
56
|
:rtype: str
|
@@ -61,7 +61,7 @@ class EpsAddPermissionRequest:
|
|
61
61
|
def permission(self, permission):
|
62
62
|
"""Sets the permission of this EpsAddPermissionRequest.
|
63
63
|
|
64
|
-
|
64
|
+
权限格式为:iam:domain::domain_id或者organizations:orgPath::org_path其中, - “iam:domain::”和“organizations:orgPath::”为固定格式。 - “domain_id”为可连接用户的账号ID,org_path可连接用户的组织路径 domain_id类型支持输入包括“a~z”、“A~Z”、“0~9”或者“*,最大长度可以传64; org_path类型支持“a~z”、“A~Z”、“0~9”、“/-*?”或者“*”,最大长度可以传1024; 例如:iam:domain::6e9dfd51d1124e8d8498dce894923a0dd或者organizations:orgPath::o-3j59d1231uprgk9yuvlidra7zbzfi578/r-rldbu1vmxdw5ahdkknxnvd5rgag77m2z/ou-7tuddd8nh99rebxltawsm6qct5z7rklv/*
|
65
65
|
|
66
66
|
:param permission: The permission of this EpsAddPermissionRequest.
|
67
67
|
:type permission: str
|
@@ -39,7 +39,7 @@ class EpsPermission:
|
|
39
39
|
|
40
40
|
:param id: 白名单表主键ID
|
41
41
|
:type id: str
|
42
|
-
:param permission:
|
42
|
+
:param permission: 权限格式为:iam:domain::domain_id或者organizations:orgPath::org_path其中, - “iam:domain::”和“organizations:orgPath::”为固定格式。 - “domain_id”为可连接用户的账号ID,org_path可连接用户的组织路径 domain_id类型支持输入包括“a~z”、“A~Z”、“0~9”或者“*”,org_path类型支持“a~z”、“A~Z”、“0~9”、“/-*?”或者“*”。 “*”表示所有终端节点可连接。 例如:iam:domain::6e9dfd51d1124e8d8498dce894923a0dd或者organizations:orgPath::o-3j59d1231uprgk9yuvlidra7zbzfi578/r-rldbu1vmxdw5ahdkknxnvd5rgag77m2z/ou-7tuddd8nh99rebxltawsm6qct5z7rklv/*
|
43
43
|
:type permission: str
|
44
44
|
:param permission_type: 终端节点服务白名单类型。 - domainId:基于账户ID配置终端节点服务白名单。 - orgPath:基于账户所在组织路径配置终端节点服务白名单。
|
45
45
|
:type permission_type: str
|
@@ -95,7 +95,7 @@ class EpsPermission:
|
|
95
95
|
def permission(self):
|
96
96
|
"""Gets the permission of this EpsPermission.
|
97
97
|
|
98
|
-
|
98
|
+
权限格式为:iam:domain::domain_id或者organizations:orgPath::org_path其中, - “iam:domain::”和“organizations:orgPath::”为固定格式。 - “domain_id”为可连接用户的账号ID,org_path可连接用户的组织路径 domain_id类型支持输入包括“a~z”、“A~Z”、“0~9”或者“*”,org_path类型支持“a~z”、“A~Z”、“0~9”、“/-*?”或者“*”。 “*”表示所有终端节点可连接。 例如:iam:domain::6e9dfd51d1124e8d8498dce894923a0dd或者organizations:orgPath::o-3j59d1231uprgk9yuvlidra7zbzfi578/r-rldbu1vmxdw5ahdkknxnvd5rgag77m2z/ou-7tuddd8nh99rebxltawsm6qct5z7rklv/*
|
99
99
|
|
100
100
|
:return: The permission of this EpsPermission.
|
101
101
|
:rtype: str
|
@@ -106,7 +106,7 @@ class EpsPermission:
|
|
106
106
|
def permission(self, permission):
|
107
107
|
"""Sets the permission of this EpsPermission.
|
108
108
|
|
109
|
-
|
109
|
+
权限格式为:iam:domain::domain_id或者organizations:orgPath::org_path其中, - “iam:domain::”和“organizations:orgPath::”为固定格式。 - “domain_id”为可连接用户的账号ID,org_path可连接用户的组织路径 domain_id类型支持输入包括“a~z”、“A~Z”、“0~9”或者“*”,org_path类型支持“a~z”、“A~Z”、“0~9”、“/-*?”或者“*”。 “*”表示所有终端节点可连接。 例如:iam:domain::6e9dfd51d1124e8d8498dce894923a0dd或者organizations:orgPath::o-3j59d1231uprgk9yuvlidra7zbzfi578/r-rldbu1vmxdw5ahdkknxnvd5rgag77m2z/ou-7tuddd8nh99rebxltawsm6qct5z7rklv/*
|
110
110
|
|
111
111
|
:param permission: The permission of this EpsPermission.
|
112
112
|
:type permission: str
|