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
@@ -31,9 +31,9 @@ class TagList:
|
|
31
31
|
|
32
32
|
The model defined in huaweicloud sdk
|
33
33
|
|
34
|
-
:param key: 键。
|
34
|
+
:param key: 键。 key不能为空,长度1~128个字符(中文也可以输入128个字符)。 可用 UTF-8 格式表示的字母(包含中文、西班牙语、葡语等)、数字和空格,以及以下字符: _ . : = + - @。 _sys_开头属于系统标签,租户不能输入。 key两头不能有空格字符。
|
35
35
|
:type key: str
|
36
|
-
:param value: 值。
|
36
|
+
:param value: 值。 长度0~255个字符(中文也可以输入255个字符)。 可用 UTF-8 格式表示的字母(包含中文、西班牙语、葡语等)、数字和空格,以及以下字符: _ . : / = + - @。 资源标签值可以为空字符串。
|
37
37
|
:type value: str
|
38
38
|
"""
|
39
39
|
|
@@ -52,7 +52,7 @@ class TagList:
|
|
52
52
|
def key(self):
|
53
53
|
"""Gets the key of this TagList.
|
54
54
|
|
55
|
-
键。
|
55
|
+
键。 key不能为空,长度1~128个字符(中文也可以输入128个字符)。 可用 UTF-8 格式表示的字母(包含中文、西班牙语、葡语等)、数字和空格,以及以下字符: _ . : = + - @。 _sys_开头属于系统标签,租户不能输入。 key两头不能有空格字符。
|
56
56
|
|
57
57
|
:return: The key of this TagList.
|
58
58
|
:rtype: str
|
@@ -63,7 +63,7 @@ class TagList:
|
|
63
63
|
def key(self, key):
|
64
64
|
"""Sets the key of this TagList.
|
65
65
|
|
66
|
-
键。
|
66
|
+
键。 key不能为空,长度1~128个字符(中文也可以输入128个字符)。 可用 UTF-8 格式表示的字母(包含中文、西班牙语、葡语等)、数字和空格,以及以下字符: _ . : = + - @。 _sys_开头属于系统标签,租户不能输入。 key两头不能有空格字符。
|
67
67
|
|
68
68
|
:param key: The key of this TagList.
|
69
69
|
:type key: str
|
@@ -74,7 +74,7 @@ class TagList:
|
|
74
74
|
def value(self):
|
75
75
|
"""Gets the value of this TagList.
|
76
76
|
|
77
|
-
值。
|
77
|
+
值。 长度0~255个字符(中文也可以输入255个字符)。 可用 UTF-8 格式表示的字母(包含中文、西班牙语、葡语等)、数字和空格,以及以下字符: _ . : / = + - @。 资源标签值可以为空字符串。
|
78
78
|
|
79
79
|
:return: The value of this TagList.
|
80
80
|
:rtype: str
|
@@ -85,7 +85,7 @@ class TagList:
|
|
85
85
|
def value(self, value):
|
86
86
|
"""Sets the value of this TagList.
|
87
87
|
|
88
|
-
值。
|
88
|
+
值。 长度0~255个字符(中文也可以输入255个字符)。 可用 UTF-8 格式表示的字母(包含中文、西班牙语、葡语等)、数字和空格,以及以下字符: _ . : / = + - @。 资源标签值可以为空字符串。
|
89
89
|
|
90
90
|
:param value: The value of this TagList.
|
91
91
|
:type value: str
|
@@ -31,7 +31,7 @@ class TagValuesList:
|
|
31
31
|
|
32
32
|
The model defined in huaweicloud sdk
|
33
33
|
|
34
|
-
:param key: 键。 最大长度
|
34
|
+
:param key: 键。 最大长度128个unicode字符。key不能为空。(搜索时不对此参数做字符集校), key不能为空或者空字符串,不能为空格,校验和使用之前先trim前后半角空格。
|
35
35
|
:type key: str
|
36
36
|
:param values: 值列表。 每个值最大长度255个unicode字符,校验和使用之前先trim前后半角空格。 value可为空数组但不可缺省。如果values为空列表,则表示any_value(查询任意value)。 value之间为或的关系。(搜索时不对此参数做字符集校验,只做长度校验)。
|
37
37
|
:type values: list[str]
|
@@ -50,7 +50,7 @@ class TagValuesList:
|
|
50
50
|
def key(self):
|
51
51
|
"""Gets the key of this TagValuesList.
|
52
52
|
|
53
|
-
键。 最大长度
|
53
|
+
键。 最大长度128个unicode字符。key不能为空。(搜索时不对此参数做字符集校), key不能为空或者空字符串,不能为空格,校验和使用之前先trim前后半角空格。
|
54
54
|
|
55
55
|
:return: The key of this TagValuesList.
|
56
56
|
:rtype: str
|
@@ -61,7 +61,7 @@ class TagValuesList:
|
|
61
61
|
def key(self, key):
|
62
62
|
"""Sets the key of this TagValuesList.
|
63
63
|
|
64
|
-
键。 最大长度
|
64
|
+
键。 最大长度128个unicode字符。key不能为空。(搜索时不对此参数做字符集校), key不能为空或者空字符串,不能为空格,校验和使用之前先trim前后半角空格。
|
65
65
|
|
66
66
|
:param key: The key of this TagValuesList.
|
67
67
|
:type key: str
|
@@ -17,34 +17,42 @@ class UpdateEndpointPolicyRequestBody:
|
|
17
17
|
sensitive_list = []
|
18
18
|
|
19
19
|
openapi_types = {
|
20
|
-
'policy_statement': 'list[PolicyStatement]'
|
20
|
+
'policy_statement': 'list[PolicyStatement]',
|
21
|
+
'policy_document': 'object'
|
21
22
|
}
|
22
23
|
|
23
24
|
attribute_map = {
|
24
|
-
'policy_statement': 'policy_statement'
|
25
|
+
'policy_statement': 'policy_statement',
|
26
|
+
'policy_document': 'policy_document'
|
25
27
|
}
|
26
28
|
|
27
|
-
def __init__(self, policy_statement=None):
|
29
|
+
def __init__(self, policy_statement=None, policy_document=None):
|
28
30
|
"""UpdateEndpointPolicyRequestBody
|
29
31
|
|
30
32
|
The model defined in huaweicloud sdk
|
31
33
|
|
32
|
-
:param policy_statement:
|
34
|
+
:param policy_statement: Gateway类型终端节点策略信息,仅限OBS、SFS的终端节点服务的enable_policy值为true时支持该参数。
|
33
35
|
:type policy_statement: list[:class:`huaweicloudsdkvpcep.v1.PolicyStatement`]
|
36
|
+
:param policy_document: 终端节点策略信息,仅当终端节点服务的enable_policy值为true时支持该参数,默认值为完全访问权限。(OBS、SFS的终端节点服务暂不支持该参数)
|
37
|
+
:type policy_document: object
|
34
38
|
"""
|
35
39
|
|
36
40
|
|
37
41
|
|
38
42
|
self._policy_statement = None
|
43
|
+
self._policy_document = None
|
39
44
|
self.discriminator = None
|
40
45
|
|
41
|
-
|
46
|
+
if policy_statement is not None:
|
47
|
+
self.policy_statement = policy_statement
|
48
|
+
if policy_document is not None:
|
49
|
+
self.policy_document = policy_document
|
42
50
|
|
43
51
|
@property
|
44
52
|
def policy_statement(self):
|
45
53
|
"""Gets the policy_statement of this UpdateEndpointPolicyRequestBody.
|
46
54
|
|
47
|
-
|
55
|
+
Gateway类型终端节点策略信息,仅限OBS、SFS的终端节点服务的enable_policy值为true时支持该参数。
|
48
56
|
|
49
57
|
:return: The policy_statement of this UpdateEndpointPolicyRequestBody.
|
50
58
|
:rtype: list[:class:`huaweicloudsdkvpcep.v1.PolicyStatement`]
|
@@ -55,13 +63,35 @@ class UpdateEndpointPolicyRequestBody:
|
|
55
63
|
def policy_statement(self, policy_statement):
|
56
64
|
"""Sets the policy_statement of this UpdateEndpointPolicyRequestBody.
|
57
65
|
|
58
|
-
|
66
|
+
Gateway类型终端节点策略信息,仅限OBS、SFS的终端节点服务的enable_policy值为true时支持该参数。
|
59
67
|
|
60
68
|
:param policy_statement: The policy_statement of this UpdateEndpointPolicyRequestBody.
|
61
69
|
:type policy_statement: list[:class:`huaweicloudsdkvpcep.v1.PolicyStatement`]
|
62
70
|
"""
|
63
71
|
self._policy_statement = policy_statement
|
64
72
|
|
73
|
+
@property
|
74
|
+
def policy_document(self):
|
75
|
+
"""Gets the policy_document of this UpdateEndpointPolicyRequestBody.
|
76
|
+
|
77
|
+
终端节点策略信息,仅当终端节点服务的enable_policy值为true时支持该参数,默认值为完全访问权限。(OBS、SFS的终端节点服务暂不支持该参数)
|
78
|
+
|
79
|
+
:return: The policy_document of this UpdateEndpointPolicyRequestBody.
|
80
|
+
:rtype: object
|
81
|
+
"""
|
82
|
+
return self._policy_document
|
83
|
+
|
84
|
+
@policy_document.setter
|
85
|
+
def policy_document(self, policy_document):
|
86
|
+
"""Sets the policy_document of this UpdateEndpointPolicyRequestBody.
|
87
|
+
|
88
|
+
终端节点策略信息,仅当终端节点服务的enable_policy值为true时支持该参数,默认值为完全访问权限。(OBS、SFS的终端节点服务暂不支持该参数)
|
89
|
+
|
90
|
+
:param policy_document: The policy_document of this UpdateEndpointPolicyRequestBody.
|
91
|
+
:type policy_document: object
|
92
|
+
"""
|
93
|
+
self._policy_document = policy_document
|
94
|
+
|
65
95
|
def to_dict(self):
|
66
96
|
"""Returns the model properties as a dict"""
|
67
97
|
result = {}
|
@@ -37,6 +37,7 @@ class UpdateEndpointPolicyResponse(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 UpdateEndpointPolicyResponse(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
|
"""UpdateEndpointPolicyResponse
|
70
72
|
|
71
73
|
The model defined in huaweicloud sdk
|
@@ -76,7 +78,7 @@ class UpdateEndpointPolicyResponse(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 UpdateEndpointPolicyResponse(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 UpdateEndpointPolicyResponse(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 UpdateEndpointPolicyResponse(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 UpdateEndpointPolicyResponse(SdkResponse):
|
|
252
259
|
def active_status(self):
|
253
260
|
"""Gets the active_status of this UpdateEndpointPolicyResponse.
|
254
261
|
|
255
|
-
|
262
|
+
账号状态。 - frozen:冻结 - active:解冻
|
256
263
|
|
257
264
|
:return: The active_status of this UpdateEndpointPolicyResponse.
|
258
265
|
:rtype: list[str]
|
@@ -263,7 +270,7 @@ class UpdateEndpointPolicyResponse(SdkResponse):
|
|
263
270
|
def active_status(self, active_status):
|
264
271
|
"""Sets the active_status of this UpdateEndpointPolicyResponse.
|
265
272
|
|
266
|
-
|
273
|
+
账号状态。 - frozen:冻结 - active:解冻
|
267
274
|
|
268
275
|
:param active_status: The active_status of this UpdateEndpointPolicyResponse.
|
269
276
|
:type active_status: list[str]
|
@@ -538,7 +545,7 @@ class UpdateEndpointPolicyResponse(SdkResponse):
|
|
538
545
|
def routetables(self):
|
539
546
|
"""Gets the routetables of this UpdateEndpointPolicyResponse.
|
540
547
|
|
541
|
-
路由表ID列表。 若未指定,返回默认VPC下路由表ID。
|
548
|
+
路由表ID列表。 若未指定,返回默认VPC下路由表ID。 创建gateway类型终端节点服务的终端节点时,显示此参数。
|
542
549
|
|
543
550
|
:return: The routetables of this UpdateEndpointPolicyResponse.
|
544
551
|
:rtype: list[str]
|
@@ -549,7 +556,7 @@ class UpdateEndpointPolicyResponse(SdkResponse):
|
|
549
556
|
def routetables(self, routetables):
|
550
557
|
"""Sets the routetables of this UpdateEndpointPolicyResponse.
|
551
558
|
|
552
|
-
路由表ID列表。 若未指定,返回默认VPC下路由表ID。
|
559
|
+
路由表ID列表。 若未指定,返回默认VPC下路由表ID。 创建gateway类型终端节点服务的终端节点时,显示此参数。
|
553
560
|
|
554
561
|
:param routetables: The routetables of this UpdateEndpointPolicyResponse.
|
555
562
|
:type routetables: list[str]
|
@@ -582,7 +589,7 @@ class UpdateEndpointPolicyResponse(SdkResponse):
|
|
582
589
|
def policy_statement(self):
|
583
590
|
"""Gets the policy_statement of this UpdateEndpointPolicyResponse.
|
584
591
|
|
585
|
-
|
592
|
+
Gateway类型终端节点策略信息,仅限OBS、SFS的终端节点服务的enable_policy值为true时支持该参数。
|
586
593
|
|
587
594
|
:return: The policy_statement of this UpdateEndpointPolicyResponse.
|
588
595
|
:rtype: list[:class:`huaweicloudsdkvpcep.v1.PolicyStatement`]
|
@@ -593,13 +600,35 @@ class UpdateEndpointPolicyResponse(SdkResponse):
|
|
593
600
|
def policy_statement(self, policy_statement):
|
594
601
|
"""Sets the policy_statement of this UpdateEndpointPolicyResponse.
|
595
602
|
|
596
|
-
|
603
|
+
Gateway类型终端节点策略信息,仅限OBS、SFS的终端节点服务的enable_policy值为true时支持该参数。
|
597
604
|
|
598
605
|
:param policy_statement: The policy_statement of this UpdateEndpointPolicyResponse.
|
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 UpdateEndpointPolicyResponse.
|
613
|
+
|
614
|
+
终端节点策略信息,仅当终端节点服务的enable_policy值为true时支持该参数,默认值为完全访问权限。(OBS、SFS的终端节点服务暂不支持该参数)
|
615
|
+
|
616
|
+
:return: The policy_document of this UpdateEndpointPolicyResponse.
|
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 UpdateEndpointPolicyResponse.
|
624
|
+
|
625
|
+
终端节点策略信息,仅当终端节点服务的enable_policy值为true时支持该参数,默认值为完全访问权限。(OBS、SFS的终端节点服务暂不支持该参数)
|
626
|
+
|
627
|
+
:param policy_document: The policy_document of this UpdateEndpointPolicyResponse.
|
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 UpdateEndpointPolicyResponse.
|
@@ -626,7 +655,7 @@ class UpdateEndpointPolicyResponse(SdkResponse):
|
|
626
655
|
def public_border_group(self):
|
627
656
|
"""Gets the public_border_group of this UpdateEndpointPolicyResponse.
|
628
657
|
|
629
|
-
终端节点关联的Public Border Group信息,只有当终端节点和边缘Pool
|
658
|
+
终端节点关联的Public Border Group信息,只有当终端节点和边缘Pool相关联时才会返回该字段
|
630
659
|
|
631
660
|
:return: The public_border_group of this UpdateEndpointPolicyResponse.
|
632
661
|
:rtype: str
|
@@ -637,7 +666,7 @@ class UpdateEndpointPolicyResponse(SdkResponse):
|
|
637
666
|
def public_border_group(self, public_border_group):
|
638
667
|
"""Sets the public_border_group of this UpdateEndpointPolicyResponse.
|
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 UpdateEndpointPolicyResponse.
|
643
672
|
:type public_border_group: str
|
@@ -22,7 +22,8 @@ class UpdateEndpointServiceRequestBody:
|
|
22
22
|
'ports': 'list[PortList]',
|
23
23
|
'port_id': 'str',
|
24
24
|
'tcp_proxy': 'str',
|
25
|
-
'description': 'str'
|
25
|
+
'description': 'str',
|
26
|
+
'ip': 'str'
|
26
27
|
}
|
27
28
|
|
28
29
|
attribute_map = {
|
@@ -31,10 +32,11 @@ class UpdateEndpointServiceRequestBody:
|
|
31
32
|
'ports': 'ports',
|
32
33
|
'port_id': 'port_id',
|
33
34
|
'tcp_proxy': 'tcp_proxy',
|
34
|
-
'description': 'description'
|
35
|
+
'description': 'description',
|
36
|
+
'ip': 'ip'
|
35
37
|
}
|
36
38
|
|
37
|
-
def __init__(self, approval_enabled=None, service_name=None, ports=None, port_id=None, tcp_proxy=None, description=None):
|
39
|
+
def __init__(self, approval_enabled=None, service_name=None, ports=None, port_id=None, tcp_proxy=None, description=None, ip=None):
|
38
40
|
"""UpdateEndpointServiceRequestBody
|
39
41
|
|
40
42
|
The model defined in huaweicloud sdk
|
@@ -45,12 +47,14 @@ class UpdateEndpointServiceRequestBody:
|
|
45
47
|
:type service_name: str
|
46
48
|
:param ports: 服务开放的端口映射列表,同一个终端节点服务下,不允许重复的端口映射。 若多个终端节点服务共用一个port_id, 则终端节点之间服务的所有端口映射的server_port和protocol的组合不能重复, 单次最多添加200个。 该参数值将被全量更新。
|
47
49
|
:type ports: list[:class:`huaweicloudsdkvpcep.v1.PortList`]
|
48
|
-
:param port_id:
|
50
|
+
:param port_id: 弹性云服务器IP地址对应的网卡ID
|
49
51
|
:type port_id: str
|
50
|
-
:param tcp_proxy: 用于控制将哪些信息(如客户端的源IP、源端口、marker_id等)携带到服务端。 支持携带的客户端信息包括如下两种类型: - TCP TOA:表示将客户端信息插入到tcp option字段中携带至服务端。 说明:仅当后端资源为OBS时,支持TCP TOA类型信息携带方式。 - Proxy Protocol:表示将客户端信息插入到tcp payload字段中携带至服务端。 仅当服务端支持解析上述字段时,该参数设置才有效。 该参数的取值包括: - close:表示关闭代理协议。 - toa_open:表示开启代理协议“tcp_toa”。 - proxy_open:表示开启代理协议“proxy_protocol”。 - open:表示同时开启代理协议“tcp_toa”和“proxy_protocol”。
|
52
|
+
: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”。
|
51
53
|
:type tcp_proxy: str
|
52
54
|
:param description: 描述字段,支持中英文字母、数字等字符,不支持“<”或“>”字符。
|
53
55
|
:type description: str
|
56
|
+
:param ip: 接口型VLAN场景服务端IPv4地址或域名
|
57
|
+
:type ip: str
|
54
58
|
"""
|
55
59
|
|
56
60
|
|
@@ -61,6 +65,7 @@ class UpdateEndpointServiceRequestBody:
|
|
61
65
|
self._port_id = None
|
62
66
|
self._tcp_proxy = None
|
63
67
|
self._description = None
|
68
|
+
self._ip = None
|
64
69
|
self.discriminator = None
|
65
70
|
|
66
71
|
if approval_enabled is not None:
|
@@ -75,6 +80,8 @@ class UpdateEndpointServiceRequestBody:
|
|
75
80
|
self.tcp_proxy = tcp_proxy
|
76
81
|
if description is not None:
|
77
82
|
self.description = description
|
83
|
+
if ip is not None:
|
84
|
+
self.ip = ip
|
78
85
|
|
79
86
|
@property
|
80
87
|
def approval_enabled(self):
|
@@ -146,7 +153,7 @@ class UpdateEndpointServiceRequestBody:
|
|
146
153
|
def port_id(self):
|
147
154
|
"""Gets the port_id of this UpdateEndpointServiceRequestBody.
|
148
155
|
|
149
|
-
|
156
|
+
弹性云服务器IP地址对应的网卡ID
|
150
157
|
|
151
158
|
:return: The port_id of this UpdateEndpointServiceRequestBody.
|
152
159
|
:rtype: str
|
@@ -157,7 +164,7 @@ class UpdateEndpointServiceRequestBody:
|
|
157
164
|
def port_id(self, port_id):
|
158
165
|
"""Sets the port_id of this UpdateEndpointServiceRequestBody.
|
159
166
|
|
160
|
-
|
167
|
+
弹性云服务器IP地址对应的网卡ID
|
161
168
|
|
162
169
|
:param port_id: The port_id of this UpdateEndpointServiceRequestBody.
|
163
170
|
:type port_id: str
|
@@ -168,7 +175,7 @@ class UpdateEndpointServiceRequestBody:
|
|
168
175
|
def tcp_proxy(self):
|
169
176
|
"""Gets the tcp_proxy of this UpdateEndpointServiceRequestBody.
|
170
177
|
|
171
|
-
用于控制将哪些信息(如客户端的源IP、源端口、marker_id等)携带到服务端。 支持携带的客户端信息包括如下两种类型: - TCP TOA:表示将客户端信息插入到tcp option字段中携带至服务端。 说明:仅当后端资源为OBS时,支持TCP TOA类型信息携带方式。 - Proxy Protocol:表示将客户端信息插入到tcp payload字段中携带至服务端。 仅当服务端支持解析上述字段时,该参数设置才有效。 该参数的取值包括: - close:表示关闭代理协议。 - toa_open:表示开启代理协议“tcp_toa”。 - proxy_open:表示开启代理协议“proxy_protocol”。 - open:表示同时开启代理协议“tcp_toa”和“proxy_protocol”。
|
178
|
+
用于控制将哪些信息(如客户端的源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”。
|
172
179
|
|
173
180
|
:return: The tcp_proxy of this UpdateEndpointServiceRequestBody.
|
174
181
|
:rtype: str
|
@@ -179,7 +186,7 @@ class UpdateEndpointServiceRequestBody:
|
|
179
186
|
def tcp_proxy(self, tcp_proxy):
|
180
187
|
"""Sets the tcp_proxy of this UpdateEndpointServiceRequestBody.
|
181
188
|
|
182
|
-
用于控制将哪些信息(如客户端的源IP、源端口、marker_id等)携带到服务端。 支持携带的客户端信息包括如下两种类型: - TCP TOA:表示将客户端信息插入到tcp option字段中携带至服务端。 说明:仅当后端资源为OBS时,支持TCP TOA类型信息携带方式。 - Proxy Protocol:表示将客户端信息插入到tcp payload字段中携带至服务端。 仅当服务端支持解析上述字段时,该参数设置才有效。 该参数的取值包括: - close:表示关闭代理协议。 - toa_open:表示开启代理协议“tcp_toa”。 - proxy_open:表示开启代理协议“proxy_protocol”。 - open:表示同时开启代理协议“tcp_toa”和“proxy_protocol”。
|
189
|
+
用于控制将哪些信息(如客户端的源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”。
|
183
190
|
|
184
191
|
:param tcp_proxy: The tcp_proxy of this UpdateEndpointServiceRequestBody.
|
185
192
|
:type tcp_proxy: str
|
@@ -208,6 +215,28 @@ class UpdateEndpointServiceRequestBody:
|
|
208
215
|
"""
|
209
216
|
self._description = description
|
210
217
|
|
218
|
+
@property
|
219
|
+
def ip(self):
|
220
|
+
"""Gets the ip of this UpdateEndpointServiceRequestBody.
|
221
|
+
|
222
|
+
接口型VLAN场景服务端IPv4地址或域名
|
223
|
+
|
224
|
+
:return: The ip of this UpdateEndpointServiceRequestBody.
|
225
|
+
:rtype: str
|
226
|
+
"""
|
227
|
+
return self._ip
|
228
|
+
|
229
|
+
@ip.setter
|
230
|
+
def ip(self, ip):
|
231
|
+
"""Sets the ip of this UpdateEndpointServiceRequestBody.
|
232
|
+
|
233
|
+
接口型VLAN场景服务端IPv4地址或域名
|
234
|
+
|
235
|
+
:param ip: The ip of this UpdateEndpointServiceRequestBody.
|
236
|
+
:type ip: str
|
237
|
+
"""
|
238
|
+
self._ip = ip
|
239
|
+
|
211
240
|
def to_dict(self):
|
212
241
|
"""Returns the model properties as a dict"""
|
213
242
|
result = {}
|