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,8 +23,7 @@ class ListEndpointsRequest:
|
|
23
23
|
'limit': 'int',
|
24
24
|
'offset': 'int',
|
25
25
|
'sort_key': 'str',
|
26
|
-
'sort_dir': 'str'
|
27
|
-
'public_border_group': 'str'
|
26
|
+
'sort_dir': 'str'
|
28
27
|
}
|
29
28
|
|
30
29
|
attribute_map = {
|
@@ -34,11 +33,10 @@ class ListEndpointsRequest:
|
|
34
33
|
'limit': 'limit',
|
35
34
|
'offset': 'offset',
|
36
35
|
'sort_key': 'sort_key',
|
37
|
-
'sort_dir': 'sort_dir'
|
38
|
-
'public_border_group': 'public_border_group'
|
36
|
+
'sort_dir': 'sort_dir'
|
39
37
|
}
|
40
38
|
|
41
|
-
def __init__(self, endpoint_service_name=None, vpc_id=None, id=None, limit=None, offset=None, sort_key=None, sort_dir=None
|
39
|
+
def __init__(self, endpoint_service_name=None, vpc_id=None, id=None, limit=None, offset=None, sort_key=None, sort_dir=None):
|
42
40
|
"""ListEndpointsRequest
|
43
41
|
|
44
42
|
The model defined in huaweicloud sdk
|
@@ -57,8 +55,6 @@ class ListEndpointsRequest:
|
|
57
55
|
:type sort_key: str
|
58
56
|
:param sort_dir: 查询结果中终端节点列表的排序方式,取值为: - desc:降序排序 - asc:升序排序 默认值为desc。
|
59
57
|
:type sort_dir: str
|
60
|
-
:param public_border_group: 筛选结果中匹配边缘属性的EPS
|
61
|
-
:type public_border_group: str
|
62
58
|
"""
|
63
59
|
|
64
60
|
|
@@ -70,7 +66,6 @@ class ListEndpointsRequest:
|
|
70
66
|
self._offset = None
|
71
67
|
self._sort_key = None
|
72
68
|
self._sort_dir = None
|
73
|
-
self._public_border_group = None
|
74
69
|
self.discriminator = None
|
75
70
|
|
76
71
|
if endpoint_service_name is not None:
|
@@ -87,8 +82,6 @@ class ListEndpointsRequest:
|
|
87
82
|
self.sort_key = sort_key
|
88
83
|
if sort_dir is not None:
|
89
84
|
self.sort_dir = sort_dir
|
90
|
-
if public_border_group is not None:
|
91
|
-
self.public_border_group = public_border_group
|
92
85
|
|
93
86
|
@property
|
94
87
|
def endpoint_service_name(self):
|
@@ -244,28 +237,6 @@ class ListEndpointsRequest:
|
|
244
237
|
"""
|
245
238
|
self._sort_dir = sort_dir
|
246
239
|
|
247
|
-
@property
|
248
|
-
def public_border_group(self):
|
249
|
-
"""Gets the public_border_group of this ListEndpointsRequest.
|
250
|
-
|
251
|
-
筛选结果中匹配边缘属性的EPS
|
252
|
-
|
253
|
-
:return: The public_border_group of this ListEndpointsRequest.
|
254
|
-
:rtype: str
|
255
|
-
"""
|
256
|
-
return self._public_border_group
|
257
|
-
|
258
|
-
@public_border_group.setter
|
259
|
-
def public_border_group(self, public_border_group):
|
260
|
-
"""Sets the public_border_group of this ListEndpointsRequest.
|
261
|
-
|
262
|
-
筛选结果中匹配边缘属性的EPS
|
263
|
-
|
264
|
-
:param public_border_group: The public_border_group of this ListEndpointsRequest.
|
265
|
-
:type public_border_group: str
|
266
|
-
"""
|
267
|
-
self._public_border_group = public_border_group
|
268
|
-
|
269
240
|
def to_dict(self):
|
270
241
|
"""Returns the model properties as a dict"""
|
271
242
|
result = {}
|
@@ -48,13 +48,13 @@ class ListServiceDescribeDetailsResponse(SdkResponse):
|
|
48
48
|
:type service_name: str
|
49
49
|
:param service_type: 终端节点服务类型。仅支持将用户私有服务创建为interface类型的终端节点服务。 - gateway:由运维人员配置。用户无需创建,可直接使用。 - interface:包括运维人员配置的云服务和用户自己创建的私有服务。 其中,运维人员配置的云服务无需创建,用户可直接使用。 您可以通过创建终端节点创建访问Gateway和Interface类型终端节点服务的终端节点。
|
50
50
|
:type service_type: str
|
51
|
-
:param created_at: 终端节点服务的创建时间。 采用UTC时间格式,格式为:YYYY-
|
51
|
+
:param created_at: 终端节点服务的创建时间。 采用UTC时间格式,格式为:YYYY-MM-DDTHH:MM:SSZ
|
52
52
|
:type created_at: datetime
|
53
53
|
:param is_charge: 连接该终端节点服务的终端节点是否计费。 - true:计费 - false:不计费
|
54
54
|
:type is_charge: bool
|
55
55
|
:param public_border_group: 终端节点对应Pool的Public Border Group信息
|
56
56
|
:type public_border_group: str
|
57
|
-
:param enable_policy:
|
57
|
+
:param enable_policy: 是否允许自定义终端节点策略。 - false:不支持设置终端节点策略 - true:支持设置终端节点策略 默认为false
|
58
58
|
:type enable_policy: bool
|
59
59
|
"""
|
60
60
|
|
@@ -154,7 +154,7 @@ class ListServiceDescribeDetailsResponse(SdkResponse):
|
|
154
154
|
def created_at(self):
|
155
155
|
"""Gets the created_at of this ListServiceDescribeDetailsResponse.
|
156
156
|
|
157
|
-
终端节点服务的创建时间。 采用UTC时间格式,格式为:YYYY-
|
157
|
+
终端节点服务的创建时间。 采用UTC时间格式,格式为:YYYY-MM-DDTHH:MM:SSZ
|
158
158
|
|
159
159
|
:return: The created_at of this ListServiceDescribeDetailsResponse.
|
160
160
|
:rtype: datetime
|
@@ -165,7 +165,7 @@ class ListServiceDescribeDetailsResponse(SdkResponse):
|
|
165
165
|
def created_at(self, created_at):
|
166
166
|
"""Sets the created_at of this ListServiceDescribeDetailsResponse.
|
167
167
|
|
168
|
-
终端节点服务的创建时间。 采用UTC时间格式,格式为:YYYY-
|
168
|
+
终端节点服务的创建时间。 采用UTC时间格式,格式为:YYYY-MM-DDTHH:MM:SSZ
|
169
169
|
|
170
170
|
:param created_at: The created_at of this ListServiceDescribeDetailsResponse.
|
171
171
|
:type created_at: datetime
|
@@ -220,7 +220,7 @@ class ListServiceDescribeDetailsResponse(SdkResponse):
|
|
220
220
|
def enable_policy(self):
|
221
221
|
"""Gets the enable_policy of this ListServiceDescribeDetailsResponse.
|
222
222
|
|
223
|
-
|
223
|
+
是否允许自定义终端节点策略。 - false:不支持设置终端节点策略 - true:支持设置终端节点策略 默认为false
|
224
224
|
|
225
225
|
:return: The enable_policy of this ListServiceDescribeDetailsResponse.
|
226
226
|
:rtype: bool
|
@@ -231,7 +231,7 @@ class ListServiceDescribeDetailsResponse(SdkResponse):
|
|
231
231
|
def enable_policy(self, enable_policy):
|
232
232
|
"""Sets the enable_policy of this ListServiceDescribeDetailsResponse.
|
233
233
|
|
234
|
-
|
234
|
+
是否允许自定义终端节点策略。 - false:不支持设置终端节点策略 - true:支持设置终端节点策略 默认为false
|
235
235
|
|
236
236
|
:param enable_policy: The enable_policy of this ListServiceDescribeDetailsResponse.
|
237
237
|
:type enable_policy: bool
|
@@ -30,6 +30,7 @@ class ListServiceDetailsResponse(SdkResponse):
|
|
30
30
|
'updated_at': 'datetime',
|
31
31
|
'project_id': 'str',
|
32
32
|
'cidr_type': 'str',
|
33
|
+
'ip': 'str',
|
33
34
|
'ports': 'list[PortList]',
|
34
35
|
'tcp_proxy': 'str',
|
35
36
|
'tags': 'list[TagList]',
|
@@ -51,6 +52,7 @@ class ListServiceDetailsResponse(SdkResponse):
|
|
51
52
|
'updated_at': 'updated_at',
|
52
53
|
'project_id': 'project_id',
|
53
54
|
'cidr_type': 'cidr_type',
|
55
|
+
'ip': 'ip',
|
54
56
|
'ports': 'ports',
|
55
57
|
'tcp_proxy': 'tcp_proxy',
|
56
58
|
'tags': 'tags',
|
@@ -59,7 +61,7 @@ class ListServiceDetailsResponse(SdkResponse):
|
|
59
61
|
'description': 'description'
|
60
62
|
}
|
61
63
|
|
62
|
-
def __init__(self, id=None, port_id=None, service_name=None, server_type=None, vpc_id=None, approval_enabled=None, status=None, service_type=None, created_at=None, updated_at=None, project_id=None, cidr_type=None, ports=None, tcp_proxy=None, tags=None, error=None, enable_policy=None, description=None):
|
64
|
+
def __init__(self, id=None, port_id=None, service_name=None, server_type=None, vpc_id=None, approval_enabled=None, status=None, service_type=None, created_at=None, updated_at=None, project_id=None, cidr_type=None, ip=None, ports=None, tcp_proxy=None, tags=None, error=None, enable_policy=None, description=None):
|
63
65
|
"""ListServiceDetailsResponse
|
64
66
|
|
65
67
|
The model defined in huaweicloud sdk
|
@@ -80,23 +82,25 @@ class ListServiceDetailsResponse(SdkResponse):
|
|
80
82
|
:type status: str
|
81
83
|
:param service_type: 终端节点服务类型。 终端节点服务类型包括“网关(gateway)型”和“接口(interface)型”: - gateway:由运维人员配置。用户无需创建,可直接使用。 - interface:包括运维人员配置的云服务和用户自己创建的私有服务。 其中,运维人员配置的云服务无需创建,用户可直接使用。 您可以通过创建终端节点创建访问Gateway和Interface类型终端节点服务的终端节。
|
82
84
|
:type service_type: str
|
83
|
-
:param created_at: 终端节点服务的创建时间。 采用UTC时间格式,格式为:YYYY-
|
85
|
+
:param created_at: 终端节点服务的创建时间。 采用UTC时间格式,格式为:YYYY-MM-DDTHH:MM:SSZ
|
84
86
|
:type created_at: datetime
|
85
|
-
:param updated_at: 终端节点服务的更新时间。 采用UTC时间格式,格式为:YYYY-
|
87
|
+
:param updated_at: 终端节点服务的更新时间。 采用UTC时间格式,格式为:YYYY-MM-DDTHH:MM:SSZ
|
86
88
|
:type updated_at: datetime
|
87
89
|
:param project_id: 项目ID,获取方法请参见获取项目ID。
|
88
90
|
:type project_id: str
|
89
91
|
:param cidr_type: 网段类型。 public:公网网段 internal:内网网段 默认值为internal。
|
90
92
|
:type cidr_type: str
|
93
|
+
:param ip: 接口型VLAN场景服务端IPv4地址或域名
|
94
|
+
:type ip: str
|
91
95
|
:param ports: 服务开放的端口映射列表,详细内容请参见表4-17 同一个终端节点服务下,不允许重复的端口映射。若多个终端节点服务共用一个port_id,则 终端节点服务之间的所有端口映射的server_port和protocol的组合不能重复。
|
92
96
|
:type ports: list[:class:`huaweicloudsdkvpcep.v1.PortList`]
|
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”。
|
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”。
|
94
98
|
:type tcp_proxy: str
|
95
99
|
:param tags: 资源标签列表
|
96
100
|
:type tags: list[:class:`huaweicloudsdkvpcep.v1.TagList`]
|
97
101
|
:param error: 提交任务异常时返回的异常信息
|
98
102
|
:type error: list[:class:`huaweicloudsdkvpcep.v1.Error`]
|
99
|
-
:param enable_policy:
|
103
|
+
:param enable_policy: 是否允许自定义终端节点策略。 - false:不支持设置终端节点策略 - true:支持设置终端节点策略 默认为false
|
100
104
|
:type enable_policy: bool
|
101
105
|
:param description: 描述字段,支持中英文字母、数字等字符,不支持“<”或“>”字符。
|
102
106
|
:type description: str
|
@@ -116,6 +120,7 @@ class ListServiceDetailsResponse(SdkResponse):
|
|
116
120
|
self._updated_at = None
|
117
121
|
self._project_id = None
|
118
122
|
self._cidr_type = None
|
123
|
+
self._ip = None
|
119
124
|
self._ports = None
|
120
125
|
self._tcp_proxy = None
|
121
126
|
self._tags = None
|
@@ -148,6 +153,8 @@ class ListServiceDetailsResponse(SdkResponse):
|
|
148
153
|
self.project_id = project_id
|
149
154
|
if cidr_type is not None:
|
150
155
|
self.cidr_type = cidr_type
|
156
|
+
if ip is not None:
|
157
|
+
self.ip = ip
|
151
158
|
if ports is not None:
|
152
159
|
self.ports = ports
|
153
160
|
if tcp_proxy is not None:
|
@@ -341,7 +348,7 @@ class ListServiceDetailsResponse(SdkResponse):
|
|
341
348
|
def created_at(self):
|
342
349
|
"""Gets the created_at of this ListServiceDetailsResponse.
|
343
350
|
|
344
|
-
终端节点服务的创建时间。 采用UTC时间格式,格式为:YYYY-
|
351
|
+
终端节点服务的创建时间。 采用UTC时间格式,格式为:YYYY-MM-DDTHH:MM:SSZ
|
345
352
|
|
346
353
|
:return: The created_at of this ListServiceDetailsResponse.
|
347
354
|
:rtype: datetime
|
@@ -352,7 +359,7 @@ class ListServiceDetailsResponse(SdkResponse):
|
|
352
359
|
def created_at(self, created_at):
|
353
360
|
"""Sets the created_at of this ListServiceDetailsResponse.
|
354
361
|
|
355
|
-
终端节点服务的创建时间。 采用UTC时间格式,格式为:YYYY-
|
362
|
+
终端节点服务的创建时间。 采用UTC时间格式,格式为:YYYY-MM-DDTHH:MM:SSZ
|
356
363
|
|
357
364
|
:param created_at: The created_at of this ListServiceDetailsResponse.
|
358
365
|
:type created_at: datetime
|
@@ -363,7 +370,7 @@ class ListServiceDetailsResponse(SdkResponse):
|
|
363
370
|
def updated_at(self):
|
364
371
|
"""Gets the updated_at of this ListServiceDetailsResponse.
|
365
372
|
|
366
|
-
终端节点服务的更新时间。 采用UTC时间格式,格式为:YYYY-
|
373
|
+
终端节点服务的更新时间。 采用UTC时间格式,格式为:YYYY-MM-DDTHH:MM:SSZ
|
367
374
|
|
368
375
|
:return: The updated_at of this ListServiceDetailsResponse.
|
369
376
|
:rtype: datetime
|
@@ -374,7 +381,7 @@ class ListServiceDetailsResponse(SdkResponse):
|
|
374
381
|
def updated_at(self, updated_at):
|
375
382
|
"""Sets the updated_at of this ListServiceDetailsResponse.
|
376
383
|
|
377
|
-
终端节点服务的更新时间。 采用UTC时间格式,格式为:YYYY-
|
384
|
+
终端节点服务的更新时间。 采用UTC时间格式,格式为:YYYY-MM-DDTHH:MM:SSZ
|
378
385
|
|
379
386
|
:param updated_at: The updated_at of this ListServiceDetailsResponse.
|
380
387
|
:type updated_at: datetime
|
@@ -425,6 +432,28 @@ class ListServiceDetailsResponse(SdkResponse):
|
|
425
432
|
"""
|
426
433
|
self._cidr_type = cidr_type
|
427
434
|
|
435
|
+
@property
|
436
|
+
def ip(self):
|
437
|
+
"""Gets the ip of this ListServiceDetailsResponse.
|
438
|
+
|
439
|
+
接口型VLAN场景服务端IPv4地址或域名
|
440
|
+
|
441
|
+
:return: The ip of this ListServiceDetailsResponse.
|
442
|
+
:rtype: str
|
443
|
+
"""
|
444
|
+
return self._ip
|
445
|
+
|
446
|
+
@ip.setter
|
447
|
+
def ip(self, ip):
|
448
|
+
"""Sets the ip of this ListServiceDetailsResponse.
|
449
|
+
|
450
|
+
接口型VLAN场景服务端IPv4地址或域名
|
451
|
+
|
452
|
+
:param ip: The ip of this ListServiceDetailsResponse.
|
453
|
+
:type ip: str
|
454
|
+
"""
|
455
|
+
self._ip = ip
|
456
|
+
|
428
457
|
@property
|
429
458
|
def ports(self):
|
430
459
|
"""Gets the ports of this ListServiceDetailsResponse.
|
@@ -451,7 +480,7 @@ class ListServiceDetailsResponse(SdkResponse):
|
|
451
480
|
def tcp_proxy(self):
|
452
481
|
"""Gets the tcp_proxy of this ListServiceDetailsResponse.
|
453
482
|
|
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”。
|
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”。
|
455
484
|
|
456
485
|
:return: The tcp_proxy of this ListServiceDetailsResponse.
|
457
486
|
:rtype: str
|
@@ -462,7 +491,7 @@ class ListServiceDetailsResponse(SdkResponse):
|
|
462
491
|
def tcp_proxy(self, tcp_proxy):
|
463
492
|
"""Sets the tcp_proxy of this ListServiceDetailsResponse.
|
464
493
|
|
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”。
|
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”。
|
466
495
|
|
467
496
|
:param tcp_proxy: The tcp_proxy of this ListServiceDetailsResponse.
|
468
497
|
:type tcp_proxy: str
|
@@ -517,7 +546,7 @@ class ListServiceDetailsResponse(SdkResponse):
|
|
517
546
|
def enable_policy(self):
|
518
547
|
"""Gets the enable_policy of this ListServiceDetailsResponse.
|
519
548
|
|
520
|
-
|
549
|
+
是否允许自定义终端节点策略。 - false:不支持设置终端节点策略 - true:支持设置终端节点策略 默认为false
|
521
550
|
|
522
551
|
:return: The enable_policy of this ListServiceDetailsResponse.
|
523
552
|
:rtype: bool
|
@@ -528,7 +557,7 @@ class ListServiceDetailsResponse(SdkResponse):
|
|
528
557
|
def enable_policy(self, enable_policy):
|
529
558
|
"""Sets the enable_policy of this ListServiceDetailsResponse.
|
530
559
|
|
531
|
-
|
560
|
+
是否允许自定义终端节点策略。 - false:不支持设置终端节点策略 - true:支持设置终端节点策略 默认为false
|
532
561
|
|
533
562
|
:param enable_policy: The enable_policy of this ListServiceDetailsResponse.
|
534
563
|
:type enable_policy: bool
|
@@ -41,7 +41,7 @@ class ListServicePermissionsDetailsRequest:
|
|
41
41
|
|
42
42
|
:param vpc_endpoint_service_id: 终端节点服务的ID。
|
43
43
|
:type vpc_endpoint_service_id: str
|
44
|
-
:param permission:
|
44
|
+
:param permission: 权限账号ID,格式为“iam:domain::domain_id”。 其中“domain_id”为授权用户的账号ID, 例如“iam:domain::6e9dfd51d1124e8d8498dce894923a0d”,支持模糊搜索。
|
45
45
|
:type permission: str
|
46
46
|
:param limit: 查询返回终端节点服务的白名单数量限制,即每页返回的个数。 取值范围:0~500,取值一般为10,20或者50,默认为10。
|
47
47
|
:type limit: int
|
@@ -101,7 +101,7 @@ class ListServicePermissionsDetailsRequest:
|
|
101
101
|
def permission(self):
|
102
102
|
"""Gets the permission of this ListServicePermissionsDetailsRequest.
|
103
103
|
|
104
|
-
|
104
|
+
权限账号ID,格式为“iam:domain::domain_id”。 其中“domain_id”为授权用户的账号ID, 例如“iam:domain::6e9dfd51d1124e8d8498dce894923a0d”,支持模糊搜索。
|
105
105
|
|
106
106
|
:return: The permission of this ListServicePermissionsDetailsRequest.
|
107
107
|
:rtype: str
|
@@ -112,7 +112,7 @@ class ListServicePermissionsDetailsRequest:
|
|
112
112
|
def permission(self, permission):
|
113
113
|
"""Sets the permission of this ListServicePermissionsDetailsRequest.
|
114
114
|
|
115
|
-
|
115
|
+
权限账号ID,格式为“iam:domain::domain_id”。 其中“domain_id”为授权用户的账号ID, 例如“iam:domain::6e9dfd51d1124e8d8498dce894923a0d”,支持模糊搜索。
|
116
116
|
|
117
117
|
:param permission: The permission of this ListServicePermissionsDetailsRequest.
|
118
118
|
:type permission: str
|
@@ -37,11 +37,11 @@ class PermissionObject:
|
|
37
37
|
|
38
38
|
:param id: permission的ID,唯一标识。
|
39
39
|
:type id: str
|
40
|
-
:param permission: permission列表。 权限格式为: - iam:domain::domain_id。其中: “iam:domain::”为固定格式,“domain_id
|
40
|
+
:param permission: permission列表。 权限格式为: - iam:domain::domain_id。其中: “iam:domain::”为固定格式,“domain_id”为可连接用户的账号ID。 domain_id类型支持输入包括“a~z”、“A~Z”、“0~9”或者“*”,最大长度可以传64。 - organizations:orgPath::org_path。其中: “organizations:orgPath::”为固定格式,org_path为可连接用户的组织路径。 org_path类型支持“a~z”、“A~Z”、“0~9”、“/-*?”或者“*”,最大长度可以传1024。 “*”表示所有终端节点可连接。 示例: - iam:domain::6e9dfd51d1124e8d8498dce894923a0dd - organizations:orgPath::o-3j59d1231uprgk9yuvlidra7zbzfi578/r-rldbu1vmxdw5ahdkknxnvd5rgag77m2z/ou-7tuddd8nh99rebxltawsm6qct5z7rklv/*
|
41
41
|
:type permission: str
|
42
42
|
:param permission_type: 终端节点服务白名单类型。 - domainId:基于账户ID配置终端节点服务白名单。 - orgPath:基于账户所在组织路径配置终端节点服务白名单。
|
43
43
|
:type permission_type: str
|
44
|
-
:param created_at: 白名单的添加时间。 采用UTC时间格式,格式为:YYYY-
|
44
|
+
:param created_at: 白名单的添加时间。 采用UTC时间格式,格式为:YYYY-MM-DDTHH:MM:SSZ
|
45
45
|
:type created_at: datetime
|
46
46
|
"""
|
47
47
|
|
@@ -88,7 +88,7 @@ class PermissionObject:
|
|
88
88
|
def permission(self):
|
89
89
|
"""Gets the permission of this PermissionObject.
|
90
90
|
|
91
|
-
permission列表。 权限格式为: - iam:domain::domain_id。其中: “iam:domain::”为固定格式,“domain_id
|
91
|
+
permission列表。 权限格式为: - iam:domain::domain_id。其中: “iam:domain::”为固定格式,“domain_id”为可连接用户的账号ID。 domain_id类型支持输入包括“a~z”、“A~Z”、“0~9”或者“*”,最大长度可以传64。 - organizations:orgPath::org_path。其中: “organizations:orgPath::”为固定格式,org_path为可连接用户的组织路径。 org_path类型支持“a~z”、“A~Z”、“0~9”、“/-*?”或者“*”,最大长度可以传1024。 “*”表示所有终端节点可连接。 示例: - iam:domain::6e9dfd51d1124e8d8498dce894923a0dd - organizations:orgPath::o-3j59d1231uprgk9yuvlidra7zbzfi578/r-rldbu1vmxdw5ahdkknxnvd5rgag77m2z/ou-7tuddd8nh99rebxltawsm6qct5z7rklv/*
|
92
92
|
|
93
93
|
:return: The permission of this PermissionObject.
|
94
94
|
:rtype: str
|
@@ -99,7 +99,7 @@ class PermissionObject:
|
|
99
99
|
def permission(self, permission):
|
100
100
|
"""Sets the permission of this PermissionObject.
|
101
101
|
|
102
|
-
permission列表。 权限格式为: - iam:domain::domain_id。其中: “iam:domain::”为固定格式,“domain_id
|
102
|
+
permission列表。 权限格式为: - iam:domain::domain_id。其中: “iam:domain::”为固定格式,“domain_id”为可连接用户的账号ID。 domain_id类型支持输入包括“a~z”、“A~Z”、“0~9”或者“*”,最大长度可以传64。 - organizations:orgPath::org_path。其中: “organizations:orgPath::”为固定格式,org_path为可连接用户的组织路径。 org_path类型支持“a~z”、“A~Z”、“0~9”、“/-*?”或者“*”,最大长度可以传1024。 “*”表示所有终端节点可连接。 示例: - iam:domain::6e9dfd51d1124e8d8498dce894923a0dd - organizations:orgPath::o-3j59d1231uprgk9yuvlidra7zbzfi578/r-rldbu1vmxdw5ahdkknxnvd5rgag77m2z/ou-7tuddd8nh99rebxltawsm6qct5z7rklv/*
|
103
103
|
|
104
104
|
:param permission: The permission of this PermissionObject.
|
105
105
|
:type permission: str
|
@@ -132,7 +132,7 @@ class PermissionObject:
|
|
132
132
|
def created_at(self):
|
133
133
|
"""Gets the created_at of this PermissionObject.
|
134
134
|
|
135
|
-
白名单的添加时间。 采用UTC时间格式,格式为:YYYY-
|
135
|
+
白名单的添加时间。 采用UTC时间格式,格式为:YYYY-MM-DDTHH:MM:SSZ
|
136
136
|
|
137
137
|
:return: The created_at of this PermissionObject.
|
138
138
|
:rtype: datetime
|
@@ -143,7 +143,7 @@ class PermissionObject:
|
|
143
143
|
def created_at(self, created_at):
|
144
144
|
"""Sets the created_at of this PermissionObject.
|
145
145
|
|
146
|
-
白名单的添加时间。 采用UTC时间格式,格式为:YYYY-
|
146
|
+
白名单的添加时间。 采用UTC时间格式,格式为:YYYY-MM-DDTHH:MM:SSZ
|
147
147
|
|
148
148
|
:param created_at: The created_at of this PermissionObject.
|
149
149
|
:type created_at: datetime
|
@@ -33,7 +33,7 @@ class PolicyStatement:
|
|
33
33
|
|
34
34
|
The model defined in huaweicloud sdk
|
35
35
|
|
36
|
-
:param effect: Allow
|
36
|
+
:param effect: - Allow,允许控制访问权限 - Deny,拒绝控制访问权限
|
37
37
|
:type effect: str
|
38
38
|
:param action: obs访问权限
|
39
39
|
:type action: list[str]
|
@@ -56,7 +56,7 @@ class PolicyStatement:
|
|
56
56
|
def effect(self):
|
57
57
|
"""Gets the effect of this PolicyStatement.
|
58
58
|
|
59
|
-
Allow
|
59
|
+
- Allow,允许控制访问权限 - Deny,拒绝控制访问权限
|
60
60
|
|
61
61
|
:return: The effect of this PolicyStatement.
|
62
62
|
:rtype: str
|
@@ -67,7 +67,7 @@ class PolicyStatement:
|
|
67
67
|
def effect(self, effect):
|
68
68
|
"""Sets the effect of this PolicyStatement.
|
69
69
|
|
70
|
-
Allow
|
70
|
+
- Allow,允许控制访问权限 - Deny,拒绝控制访问权限
|
71
71
|
|
72
72
|
:param effect: The effect of this PolicyStatement.
|
73
73
|
:type effect: str
|
@@ -31,9 +31,9 @@ class ResourceTag:
|
|
31
31
|
|
32
32
|
The model defined in huaweicloud sdk
|
33
33
|
|
34
|
-
:param key: 键。最大长度
|
34
|
+
:param key: 键。最大长度128个unicode字符。 key需要满足标签字符集规范。
|
35
35
|
:type key: str
|
36
|
-
:param value: 值。action为create时必选,每个值最大长度
|
36
|
+
:param value: 值。action为create时必选,每个值最大长度255个unicode字符, 删除时如果value有值按照key/value删除, 如果value没值,则按照key删除。 value需要满足标签字符集规范。
|
37
37
|
:type value: str
|
38
38
|
"""
|
39
39
|
|
@@ -51,7 +51,7 @@ class ResourceTag:
|
|
51
51
|
def key(self):
|
52
52
|
"""Gets the key of this ResourceTag.
|
53
53
|
|
54
|
-
键。最大长度
|
54
|
+
键。最大长度128个unicode字符。 key需要满足标签字符集规范。
|
55
55
|
|
56
56
|
:return: The key of this ResourceTag.
|
57
57
|
:rtype: str
|
@@ -62,7 +62,7 @@ class ResourceTag:
|
|
62
62
|
def key(self, key):
|
63
63
|
"""Sets the key of this ResourceTag.
|
64
64
|
|
65
|
-
键。最大长度
|
65
|
+
键。最大长度128个unicode字符。 key需要满足标签字符集规范。
|
66
66
|
|
67
67
|
:param key: The key of this ResourceTag.
|
68
68
|
:type key: str
|
@@ -73,7 +73,7 @@ class ResourceTag:
|
|
73
73
|
def value(self):
|
74
74
|
"""Gets the value of this ResourceTag.
|
75
75
|
|
76
|
-
值。action为create时必选,每个值最大长度
|
76
|
+
值。action为create时必选,每个值最大长度255个unicode字符, 删除时如果value有值按照key/value删除, 如果value没值,则按照key删除。 value需要满足标签字符集规范。
|
77
77
|
|
78
78
|
:return: The value of this ResourceTag.
|
79
79
|
:rtype: str
|
@@ -84,7 +84,7 @@ class ResourceTag:
|
|
84
84
|
def value(self, value):
|
85
85
|
"""Sets the value of this ResourceTag.
|
86
86
|
|
87
|
-
值。action为create时必选,每个值最大长度
|
87
|
+
值。action为create时必选,每个值最大长度255个unicode字符, 删除时如果value有值按照key/value删除, 如果value没值,则按照key删除。 value需要满足标签字符集规范。
|
88
88
|
|
89
89
|
:param value: The value of this ResourceTag.
|
90
90
|
:type value: str
|
@@ -30,6 +30,7 @@ class ServiceList:
|
|
30
30
|
'project_id': 'str',
|
31
31
|
'domain_id': 'str',
|
32
32
|
'ports': 'list[PortList]',
|
33
|
+
'ip': 'str',
|
33
34
|
'tags': 'list[TagList]',
|
34
35
|
'connection_count': 'int',
|
35
36
|
'tcp_proxy': 'str',
|
@@ -53,6 +54,7 @@ class ServiceList:
|
|
53
54
|
'project_id': 'project_id',
|
54
55
|
'domain_id': 'domain_id',
|
55
56
|
'ports': 'ports',
|
57
|
+
'ip': 'ip',
|
56
58
|
'tags': 'tags',
|
57
59
|
'connection_count': 'connection_count',
|
58
60
|
'tcp_proxy': 'tcp_proxy',
|
@@ -62,7 +64,7 @@ class ServiceList:
|
|
62
64
|
'enable_policy': 'enable_policy'
|
63
65
|
}
|
64
66
|
|
65
|
-
def __init__(self, id=None, port_id=None, service_name=None, server_type=None, vpc_id=None, approval_enabled=None, status=None, service_type=None, created_at=None, updated_at=None, project_id=None, domain_id=None, ports=None, tags=None, connection_count=None, tcp_proxy=None, error=None, description=None, public_border_group=None, enable_policy=None):
|
67
|
+
def __init__(self, id=None, port_id=None, service_name=None, server_type=None, vpc_id=None, approval_enabled=None, status=None, service_type=None, created_at=None, updated_at=None, project_id=None, domain_id=None, ports=None, ip=None, tags=None, connection_count=None, tcp_proxy=None, error=None, description=None, public_border_group=None, enable_policy=None):
|
66
68
|
"""ServiceList
|
67
69
|
|
68
70
|
The model defined in huaweicloud sdk
|
@@ -83,9 +85,9 @@ class ServiceList:
|
|
83
85
|
:type status: str
|
84
86
|
:param service_type: 终端节点服务类型。 终端节点服务类型包括“网关(gateway)型”和“接口(interface)型”: - gateway:由运维人员配置。用户无需创建,可直接使用。 - interface:包括运维人员配置的云服务和用户自己创建的私有服务。 其中,运维人员配置的云服务无需创建,用户可直接使用。 您可以通过创建终端节点创建访问Gateway和Interface类型终端节点服务的终端节点。
|
85
87
|
:type service_type: str
|
86
|
-
:param created_at: 终端节点服务的创建时间。 采用UTC时间格式,格式为:YYYY-
|
88
|
+
:param created_at: 终端节点服务的创建时间。 采用UTC时间格式,格式为:YYYY-MM-DDTHH:MM:SSZ
|
87
89
|
:type created_at: datetime
|
88
|
-
:param updated_at: 终端节点服务的更新时间。 采用UTC时间格式,格式为:YYYY-
|
90
|
+
:param updated_at: 终端节点服务的更新时间。 采用UTC时间格式,格式为:YYYY-MM-DDTHH:MM:SSZ
|
89
91
|
:type updated_at: datetime
|
90
92
|
:param project_id: 项目ID,获取方法请参见获取项目ID。
|
91
93
|
:type project_id: str
|
@@ -93,11 +95,13 @@ class ServiceList:
|
|
93
95
|
:type domain_id: str
|
94
96
|
:param ports: 服务开放的端口映射列表 同一个终端节点服务下,不允许重复的端口映射。 若多个终端节点服务共用一个port_id, 则终端节点服务之间的所有端口映射的server_port和protocol的组合不能重复。
|
95
97
|
:type ports: list[:class:`huaweicloudsdkvpcep.v1.PortList`]
|
98
|
+
:param ip: 接口型VLAN场景服务端IPv4地址或域名
|
99
|
+
:type ip: str
|
96
100
|
:param tags: 资源标签列表
|
97
101
|
:type tags: list[:class:`huaweicloudsdkvpcep.v1.TagList`]
|
98
102
|
:param connection_count: 终端节点服务下连接的状态为“创建中”或“已接受”的终端节点的个数。
|
99
103
|
:type connection_count: int
|
100
|
-
: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”。
|
104
|
+
: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”。
|
101
105
|
:type tcp_proxy: str
|
102
106
|
:param error: 提交任务异常时返回的异常信息
|
103
107
|
:type error: list[:class:`huaweicloudsdkvpcep.v1.Error`]
|
@@ -105,7 +109,7 @@ class ServiceList:
|
|
105
109
|
:type description: str
|
106
110
|
:param public_border_group: 终端节点服务对应Pool的Public Border Group信息
|
107
111
|
:type public_border_group: str
|
108
|
-
:param enable_policy:
|
112
|
+
:param enable_policy: 是否允许自定义终端节点策略。 - false:不支持设置终端节点策略 - true:支持设置终端节点策略 默认为false
|
109
113
|
:type enable_policy: bool
|
110
114
|
"""
|
111
115
|
|
@@ -124,6 +128,7 @@ class ServiceList:
|
|
124
128
|
self._project_id = None
|
125
129
|
self._domain_id = None
|
126
130
|
self._ports = None
|
131
|
+
self._ip = None
|
127
132
|
self._tags = None
|
128
133
|
self._connection_count = None
|
129
134
|
self._tcp_proxy = None
|
@@ -159,6 +164,8 @@ class ServiceList:
|
|
159
164
|
self.domain_id = domain_id
|
160
165
|
if ports is not None:
|
161
166
|
self.ports = ports
|
167
|
+
if ip is not None:
|
168
|
+
self.ip = ip
|
162
169
|
if tags is not None:
|
163
170
|
self.tags = tags
|
164
171
|
if connection_count is not None:
|
@@ -354,7 +361,7 @@ class ServiceList:
|
|
354
361
|
def created_at(self):
|
355
362
|
"""Gets the created_at of this ServiceList.
|
356
363
|
|
357
|
-
终端节点服务的创建时间。 采用UTC时间格式,格式为:YYYY-
|
364
|
+
终端节点服务的创建时间。 采用UTC时间格式,格式为:YYYY-MM-DDTHH:MM:SSZ
|
358
365
|
|
359
366
|
:return: The created_at of this ServiceList.
|
360
367
|
:rtype: datetime
|
@@ -365,7 +372,7 @@ class ServiceList:
|
|
365
372
|
def created_at(self, created_at):
|
366
373
|
"""Sets the created_at of this ServiceList.
|
367
374
|
|
368
|
-
终端节点服务的创建时间。 采用UTC时间格式,格式为:YYYY-
|
375
|
+
终端节点服务的创建时间。 采用UTC时间格式,格式为:YYYY-MM-DDTHH:MM:SSZ
|
369
376
|
|
370
377
|
:param created_at: The created_at of this ServiceList.
|
371
378
|
:type created_at: datetime
|
@@ -376,7 +383,7 @@ class ServiceList:
|
|
376
383
|
def updated_at(self):
|
377
384
|
"""Gets the updated_at of this ServiceList.
|
378
385
|
|
379
|
-
终端节点服务的更新时间。 采用UTC时间格式,格式为:YYYY-
|
386
|
+
终端节点服务的更新时间。 采用UTC时间格式,格式为:YYYY-MM-DDTHH:MM:SSZ
|
380
387
|
|
381
388
|
:return: The updated_at of this ServiceList.
|
382
389
|
:rtype: datetime
|
@@ -387,7 +394,7 @@ class ServiceList:
|
|
387
394
|
def updated_at(self, updated_at):
|
388
395
|
"""Sets the updated_at of this ServiceList.
|
389
396
|
|
390
|
-
终端节点服务的更新时间。 采用UTC时间格式,格式为:YYYY-
|
397
|
+
终端节点服务的更新时间。 采用UTC时间格式,格式为:YYYY-MM-DDTHH:MM:SSZ
|
391
398
|
|
392
399
|
:param updated_at: The updated_at of this ServiceList.
|
393
400
|
:type updated_at: datetime
|
@@ -460,6 +467,28 @@ class ServiceList:
|
|
460
467
|
"""
|
461
468
|
self._ports = ports
|
462
469
|
|
470
|
+
@property
|
471
|
+
def ip(self):
|
472
|
+
"""Gets the ip of this ServiceList.
|
473
|
+
|
474
|
+
接口型VLAN场景服务端IPv4地址或域名
|
475
|
+
|
476
|
+
:return: The ip of this ServiceList.
|
477
|
+
:rtype: str
|
478
|
+
"""
|
479
|
+
return self._ip
|
480
|
+
|
481
|
+
@ip.setter
|
482
|
+
def ip(self, ip):
|
483
|
+
"""Sets the ip of this ServiceList.
|
484
|
+
|
485
|
+
接口型VLAN场景服务端IPv4地址或域名
|
486
|
+
|
487
|
+
:param ip: The ip of this ServiceList.
|
488
|
+
:type ip: str
|
489
|
+
"""
|
490
|
+
self._ip = ip
|
491
|
+
|
463
492
|
@property
|
464
493
|
def tags(self):
|
465
494
|
"""Gets the tags of this ServiceList.
|
@@ -508,7 +537,7 @@ class ServiceList:
|
|
508
537
|
def tcp_proxy(self):
|
509
538
|
"""Gets the tcp_proxy of this ServiceList.
|
510
539
|
|
511
|
-
用于控制将哪些信息(如客户端的源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”。
|
540
|
+
用于控制将哪些信息(如客户端的源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”。
|
512
541
|
|
513
542
|
:return: The tcp_proxy of this ServiceList.
|
514
543
|
:rtype: str
|
@@ -519,7 +548,7 @@ class ServiceList:
|
|
519
548
|
def tcp_proxy(self, tcp_proxy):
|
520
549
|
"""Sets the tcp_proxy of this ServiceList.
|
521
550
|
|
522
|
-
用于控制将哪些信息(如客户端的源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”。
|
551
|
+
用于控制将哪些信息(如客户端的源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”。
|
523
552
|
|
524
553
|
:param tcp_proxy: The tcp_proxy of this ServiceList.
|
525
554
|
:type tcp_proxy: str
|
@@ -596,7 +625,7 @@ class ServiceList:
|
|
596
625
|
def enable_policy(self):
|
597
626
|
"""Gets the enable_policy of this ServiceList.
|
598
627
|
|
599
|
-
|
628
|
+
是否允许自定义终端节点策略。 - false:不支持设置终端节点策略 - true:支持设置终端节点策略 默认为false
|
600
629
|
|
601
630
|
:return: The enable_policy of this ServiceList.
|
602
631
|
:rtype: bool
|
@@ -607,7 +636,7 @@ class ServiceList:
|
|
607
636
|
def enable_policy(self, enable_policy):
|
608
637
|
"""Sets the enable_policy of this ServiceList.
|
609
638
|
|
610
|
-
|
639
|
+
是否允许自定义终端节点策略。 - false:不支持设置终端节点策略 - true:支持设置终端节点策略 默认为false
|
611
640
|
|
612
641
|
:param enable_policy: The enable_policy of this ServiceList.
|
613
642
|
:type enable_policy: bool
|