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
@@ -39,6 +39,7 @@ class EndpointResponseBody:
|
|
39
39
|
'routetables': 'list[str]',
|
40
40
|
'description': 'str',
|
41
41
|
'policy_statement': 'list[PolicyStatement]',
|
42
|
+
'policy_document': 'object',
|
42
43
|
'endpoint_pool_id': 'str',
|
43
44
|
'public_border_group': 'str'
|
44
45
|
}
|
@@ -66,11 +67,12 @@ class EndpointResponseBody:
|
|
66
67
|
'routetables': 'routetables',
|
67
68
|
'description': 'description',
|
68
69
|
'policy_statement': 'policy_statement',
|
70
|
+
'policy_document': 'policy_document',
|
69
71
|
'endpoint_pool_id': 'endpoint_pool_id',
|
70
72
|
'public_border_group': 'public_border_group'
|
71
73
|
}
|
72
74
|
|
73
|
-
def __init__(self, id=None, service_type=None, status=None, active_status=None, endpoint_service_name=None, marker_id=None, endpoint_service_id=None, enable_dns=None, dns_names=None, ip=None, vpc_id=None, subnet_id=None, created_at=None, updated_at=None, project_id=None, tags=None, error=None, whitelist=None, enable_whitelist=None, routetables=None, description=None, policy_statement=None, endpoint_pool_id=None, public_border_group=None):
|
75
|
+
def __init__(self, id=None, service_type=None, status=None, active_status=None, endpoint_service_name=None, marker_id=None, endpoint_service_id=None, enable_dns=None, dns_names=None, ip=None, vpc_id=None, subnet_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):
|
74
76
|
"""EndpointResponseBody
|
75
77
|
|
76
78
|
The model defined in huaweicloud sdk
|
@@ -81,7 +83,7 @@ class EndpointResponseBody:
|
|
81
83
|
:type service_type: str
|
82
84
|
:param status: 终端节点的连接状态。 - pendingAcceptance:待接受 - creating:创建中 - accepted:已接受 - rejected:已拒绝 - failed:失败 - deleting:删除中
|
83
85
|
:type status: str
|
84
|
-
:param active_status:
|
86
|
+
:param active_status: 账号状态。 - frozen:冻结 - active:解冻
|
85
87
|
:type active_status: list[str]
|
86
88
|
:param endpoint_service_name: 终端节点服务的名称。
|
87
89
|
:type endpoint_service_name: str
|
@@ -89,7 +91,7 @@ class EndpointResponseBody:
|
|
89
91
|
:type marker_id: int
|
90
92
|
:param endpoint_service_id: 终端节点服务的ID。
|
91
93
|
:type endpoint_service_id: str
|
92
|
-
:param enable_dns: 是否创建域名。 - true:创建域名 - false:不创建域名 说明
|
94
|
+
:param enable_dns: 是否创建域名。 - true:创建域名 - false:不创建域名 说明 当创建gateway类型终端节点服务的终端节点时, “enable_dns”设置为true或者false,均不创建域名。
|
93
95
|
:type enable_dns: bool
|
94
96
|
:param dns_names: 访问所连接的终端节点服务的域名。 当“enable_dns”为true时,该参数可见。
|
95
97
|
:type dns_names: list[str]
|
@@ -113,15 +115,17 @@ class EndpointResponseBody:
|
|
113
115
|
:type whitelist: list[str]
|
114
116
|
:param enable_whitelist: 是否开启网络ACL隔离。 - true:开启网络ACL隔离 - false:不开启网络ACL隔离 若未指定,则返回false。 创建连接Interface类型终端节点服务的终端节点时,显示此参数。
|
115
117
|
:type enable_whitelist: bool
|
116
|
-
:param routetables: 路由表ID列表。 若未指定,返回默认VPC下路由表ID。
|
118
|
+
:param routetables: 路由表ID列表。 若未指定,返回默认VPC下路由表ID。 创建gateway类型终端节点服务的终端节点时,显示此参数。
|
117
119
|
:type routetables: list[str]
|
118
120
|
:param description: 描述字段,支持中英文字母、数字等字符,不支持“<”或“>”字符。
|
119
121
|
:type description: str
|
120
|
-
:param policy_statement:
|
122
|
+
:param policy_statement: Gateway类型终端节点策略信息,仅限OBS、SFS的终端节点服务的enable_policy值为true时支持该参数。
|
121
123
|
:type policy_statement: list[:class:`huaweicloudsdkvpcep.v1.PolicyStatement`]
|
124
|
+
:param policy_document: 终端节点策略信息,仅当终端节点服务的enable_policy值为true时支持该参数,默认值为完全访问权限。(OBS、SFS的终端节点服务暂不支持该参数)
|
125
|
+
:type policy_document: object
|
122
126
|
:param endpoint_pool_id: 待废弃,实例相关联的集群ID
|
123
127
|
:type endpoint_pool_id: str
|
124
|
-
:param public_border_group: 终端节点关联的Public Border Group信息,只有当终端节点和边缘Pool
|
128
|
+
:param public_border_group: 终端节点关联的Public Border Group信息,只有当终端节点和边缘Pool相关联时才会返回该字段
|
125
129
|
:type public_border_group: str
|
126
130
|
"""
|
127
131
|
|
@@ -149,6 +153,7 @@ class EndpointResponseBody:
|
|
149
153
|
self._routetables = None
|
150
154
|
self._description = None
|
151
155
|
self._policy_statement = None
|
156
|
+
self._policy_document = None
|
152
157
|
self._endpoint_pool_id = None
|
153
158
|
self._public_border_group = None
|
154
159
|
self.discriminator = None
|
@@ -197,6 +202,8 @@ class EndpointResponseBody:
|
|
197
202
|
self.description = description
|
198
203
|
if policy_statement is not None:
|
199
204
|
self.policy_statement = policy_statement
|
205
|
+
if policy_document is not None:
|
206
|
+
self.policy_document = policy_document
|
200
207
|
if endpoint_pool_id is not None:
|
201
208
|
self.endpoint_pool_id = endpoint_pool_id
|
202
209
|
if public_border_group is not None:
|
@@ -272,7 +279,7 @@ class EndpointResponseBody:
|
|
272
279
|
def active_status(self):
|
273
280
|
"""Gets the active_status of this EndpointResponseBody.
|
274
281
|
|
275
|
-
|
282
|
+
账号状态。 - frozen:冻结 - active:解冻
|
276
283
|
|
277
284
|
:return: The active_status of this EndpointResponseBody.
|
278
285
|
:rtype: list[str]
|
@@ -283,7 +290,7 @@ class EndpointResponseBody:
|
|
283
290
|
def active_status(self, active_status):
|
284
291
|
"""Sets the active_status of this EndpointResponseBody.
|
285
292
|
|
286
|
-
|
293
|
+
账号状态。 - frozen:冻结 - active:解冻
|
287
294
|
|
288
295
|
:param active_status: The active_status of this EndpointResponseBody.
|
289
296
|
:type active_status: list[str]
|
@@ -360,7 +367,7 @@ class EndpointResponseBody:
|
|
360
367
|
def enable_dns(self):
|
361
368
|
"""Gets the enable_dns of this EndpointResponseBody.
|
362
369
|
|
363
|
-
是否创建域名。 - true:创建域名 - false:不创建域名 说明
|
370
|
+
是否创建域名。 - true:创建域名 - false:不创建域名 说明 当创建gateway类型终端节点服务的终端节点时, “enable_dns”设置为true或者false,均不创建域名。
|
364
371
|
|
365
372
|
:return: The enable_dns of this EndpointResponseBody.
|
366
373
|
:rtype: bool
|
@@ -371,7 +378,7 @@ class EndpointResponseBody:
|
|
371
378
|
def enable_dns(self, enable_dns):
|
372
379
|
"""Sets the enable_dns of this EndpointResponseBody.
|
373
380
|
|
374
|
-
是否创建域名。 - true:创建域名 - false:不创建域名 说明
|
381
|
+
是否创建域名。 - true:创建域名 - false:不创建域名 说明 当创建gateway类型终端节点服务的终端节点时, “enable_dns”设置为true或者false,均不创建域名。
|
375
382
|
|
376
383
|
:param enable_dns: The enable_dns of this EndpointResponseBody.
|
377
384
|
:type enable_dns: bool
|
@@ -624,7 +631,7 @@ class EndpointResponseBody:
|
|
624
631
|
def routetables(self):
|
625
632
|
"""Gets the routetables of this EndpointResponseBody.
|
626
633
|
|
627
|
-
路由表ID列表。 若未指定,返回默认VPC下路由表ID。
|
634
|
+
路由表ID列表。 若未指定,返回默认VPC下路由表ID。 创建gateway类型终端节点服务的终端节点时,显示此参数。
|
628
635
|
|
629
636
|
:return: The routetables of this EndpointResponseBody.
|
630
637
|
:rtype: list[str]
|
@@ -635,7 +642,7 @@ class EndpointResponseBody:
|
|
635
642
|
def routetables(self, routetables):
|
636
643
|
"""Sets the routetables of this EndpointResponseBody.
|
637
644
|
|
638
|
-
路由表ID列表。 若未指定,返回默认VPC下路由表ID。
|
645
|
+
路由表ID列表。 若未指定,返回默认VPC下路由表ID。 创建gateway类型终端节点服务的终端节点时,显示此参数。
|
639
646
|
|
640
647
|
:param routetables: The routetables of this EndpointResponseBody.
|
641
648
|
:type routetables: list[str]
|
@@ -668,7 +675,7 @@ class EndpointResponseBody:
|
|
668
675
|
def policy_statement(self):
|
669
676
|
"""Gets the policy_statement of this EndpointResponseBody.
|
670
677
|
|
671
|
-
|
678
|
+
Gateway类型终端节点策略信息,仅限OBS、SFS的终端节点服务的enable_policy值为true时支持该参数。
|
672
679
|
|
673
680
|
:return: The policy_statement of this EndpointResponseBody.
|
674
681
|
:rtype: list[:class:`huaweicloudsdkvpcep.v1.PolicyStatement`]
|
@@ -679,13 +686,35 @@ class EndpointResponseBody:
|
|
679
686
|
def policy_statement(self, policy_statement):
|
680
687
|
"""Sets the policy_statement of this EndpointResponseBody.
|
681
688
|
|
682
|
-
|
689
|
+
Gateway类型终端节点策略信息,仅限OBS、SFS的终端节点服务的enable_policy值为true时支持该参数。
|
683
690
|
|
684
691
|
:param policy_statement: The policy_statement of this EndpointResponseBody.
|
685
692
|
:type policy_statement: list[:class:`huaweicloudsdkvpcep.v1.PolicyStatement`]
|
686
693
|
"""
|
687
694
|
self._policy_statement = policy_statement
|
688
695
|
|
696
|
+
@property
|
697
|
+
def policy_document(self):
|
698
|
+
"""Gets the policy_document of this EndpointResponseBody.
|
699
|
+
|
700
|
+
终端节点策略信息,仅当终端节点服务的enable_policy值为true时支持该参数,默认值为完全访问权限。(OBS、SFS的终端节点服务暂不支持该参数)
|
701
|
+
|
702
|
+
:return: The policy_document of this EndpointResponseBody.
|
703
|
+
:rtype: object
|
704
|
+
"""
|
705
|
+
return self._policy_document
|
706
|
+
|
707
|
+
@policy_document.setter
|
708
|
+
def policy_document(self, policy_document):
|
709
|
+
"""Sets the policy_document of this EndpointResponseBody.
|
710
|
+
|
711
|
+
终端节点策略信息,仅当终端节点服务的enable_policy值为true时支持该参数,默认值为完全访问权限。(OBS、SFS的终端节点服务暂不支持该参数)
|
712
|
+
|
713
|
+
:param policy_document: The policy_document of this EndpointResponseBody.
|
714
|
+
:type policy_document: object
|
715
|
+
"""
|
716
|
+
self._policy_document = policy_document
|
717
|
+
|
689
718
|
@property
|
690
719
|
def endpoint_pool_id(self):
|
691
720
|
"""Gets the endpoint_pool_id of this EndpointResponseBody.
|
@@ -712,7 +741,7 @@ class EndpointResponseBody:
|
|
712
741
|
def public_border_group(self):
|
713
742
|
"""Gets the public_border_group of this EndpointResponseBody.
|
714
743
|
|
715
|
-
终端节点关联的Public Border Group信息,只有当终端节点和边缘Pool
|
744
|
+
终端节点关联的Public Border Group信息,只有当终端节点和边缘Pool相关联时才会返回该字段
|
716
745
|
|
717
746
|
:return: The public_border_group of this EndpointResponseBody.
|
718
747
|
:rtype: str
|
@@ -723,7 +752,7 @@ class EndpointResponseBody:
|
|
723
752
|
def public_border_group(self, public_border_group):
|
724
753
|
"""Sets the public_border_group of this EndpointResponseBody.
|
725
754
|
|
726
|
-
终端节点关联的Public Border Group信息,只有当终端节点和边缘Pool
|
755
|
+
终端节点关联的Public Border Group信息,只有当终端节点和边缘Pool相关联时才会返回该字段
|
727
756
|
|
728
757
|
:param public_border_group: The public_border_group of this EndpointResponseBody.
|
729
758
|
:type public_border_group: str
|
@@ -49,11 +49,11 @@ class EndpointService:
|
|
49
49
|
:type service_name: str
|
50
50
|
:param service_type: 终端节点服务类型。 - gateway:由运维人员配置。用户无需创建,可直接使用。 - interface:包括运维人员配置的云服务和用户自己创建的私有服务。 其中,运维人员配置的云服务无需创建, 用户可直接使用。 您可以通过创建终端节点创建访问Gateway和Interface类型终端节点服务的终端节点。
|
51
51
|
:type service_type: str
|
52
|
-
:param created_at: 终端节点服务的创建时间。 采用UTC时间格式,格式为:
|
52
|
+
:param created_at: 终端节点服务的创建时间。 采用UTC时间格式,格式为:YYYY-MM-DDTHH:MM:SSZ
|
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
|
|
@@ -175,7 +175,7 @@ class EndpointService:
|
|
175
175
|
def created_at(self):
|
176
176
|
"""Gets the created_at of this EndpointService.
|
177
177
|
|
178
|
-
终端节点服务的创建时间。 采用UTC时间格式,格式为:
|
178
|
+
终端节点服务的创建时间。 采用UTC时间格式,格式为:YYYY-MM-DDTHH:MM:SSZ
|
179
179
|
|
180
180
|
:return: The created_at of this EndpointService.
|
181
181
|
:rtype: datetime
|
@@ -186,7 +186,7 @@ class EndpointService:
|
|
186
186
|
def created_at(self, created_at):
|
187
187
|
"""Sets the created_at of this EndpointService.
|
188
188
|
|
189
|
-
终端节点服务的创建时间。 采用UTC时间格式,格式为:
|
189
|
+
终端节点服务的创建时间。 采用UTC时间格式,格式为:YYYY-MM-DDTHH:MM:SSZ
|
190
190
|
|
191
191
|
:param created_at: The created_at of this EndpointService.
|
192
192
|
:type created_at: datetime
|
@@ -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
|
@@ -36,14 +36,16 @@ class ListEndpointInfoDetailsResponse(SdkResponse):
|
|
36
36
|
'updated_at': 'datetime',
|
37
37
|
'project_id': 'str',
|
38
38
|
'tags': 'list[TagList]',
|
39
|
-
'error': 'QueryError',
|
39
|
+
'error': 'list[QueryError]',
|
40
40
|
'whitelist': 'list[str]',
|
41
41
|
'enable_whitelist': 'bool',
|
42
42
|
'routetables': 'list[str]',
|
43
43
|
'description': 'str',
|
44
44
|
'policy_statement': 'list[PolicyStatement]',
|
45
|
+
'policy_document': 'object',
|
45
46
|
'endpoint_pool_id': 'str',
|
46
|
-
'public_border_group': 'str'
|
47
|
+
'public_border_group': 'str',
|
48
|
+
'ipv6_address': 'str'
|
47
49
|
}
|
48
50
|
|
49
51
|
attribute_map = {
|
@@ -71,11 +73,13 @@ class ListEndpointInfoDetailsResponse(SdkResponse):
|
|
71
73
|
'routetables': 'routetables',
|
72
74
|
'description': 'description',
|
73
75
|
'policy_statement': 'policy_statement',
|
76
|
+
'policy_document': 'policy_document',
|
74
77
|
'endpoint_pool_id': 'endpoint_pool_id',
|
75
|
-
'public_border_group': 'public_border_group'
|
78
|
+
'public_border_group': 'public_border_group',
|
79
|
+
'ipv6_address': 'ipv6_address'
|
76
80
|
}
|
77
81
|
|
78
|
-
def __init__(self, id=None, service_type=None, status=None, active_status=None, enable_status=None, specification_name=None, endpoint_service_name=None, marker_id=None, endpoint_service_id=None, enable_dns=None, dns_names=None, ip=None, vpc_id=None, subnet_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):
|
82
|
+
def __init__(self, id=None, service_type=None, status=None, active_status=None, enable_status=None, specification_name=None, endpoint_service_name=None, marker_id=None, endpoint_service_id=None, enable_dns=None, dns_names=None, ip=None, vpc_id=None, subnet_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, ipv6_address=None):
|
79
83
|
"""ListEndpointInfoDetailsResponse
|
80
84
|
|
81
85
|
The model defined in huaweicloud sdk
|
@@ -86,7 +90,7 @@ class ListEndpointInfoDetailsResponse(SdkResponse):
|
|
86
90
|
:type service_type: str
|
87
91
|
:param status: 终端节点的连接状态。 - pendingAcceptance:待接受 - creating:创建中 - accepted:已接受 - rejected:已拒绝 - failed:失败 - deleting:删除中
|
88
92
|
:type status: str
|
89
|
-
:param active_status:
|
93
|
+
:param active_status: 账号状态。 - frozen:冻结 - active:解冻
|
90
94
|
:type active_status: list[str]
|
91
95
|
:param enable_status: 终端节点是否可用。 - enable:启用 - disable:不启用
|
92
96
|
:type enable_status: str
|
@@ -98,7 +102,7 @@ class ListEndpointInfoDetailsResponse(SdkResponse):
|
|
98
102
|
:type marker_id: int
|
99
103
|
:param endpoint_service_id: 终端节点服务的ID。
|
100
104
|
:type endpoint_service_id: str
|
101
|
-
:param enable_dns: 是否创建域名。 - true:创建域名 - false:不创建域名 说明
|
105
|
+
:param enable_dns: 是否创建域名。 - true:创建域名 - false:不创建域名 说明 当创建gateway类型终端节点服务的终端节点时, “enable_dns”设置为true或者false,均不创建域名。
|
102
106
|
:type enable_dns: bool
|
103
107
|
:param dns_names: 访问所连接的终端节点服务的域名。 当“enable_dns”为true时,该参数可见。
|
104
108
|
:type dns_names: list[str]
|
@@ -117,21 +121,25 @@ class ListEndpointInfoDetailsResponse(SdkResponse):
|
|
117
121
|
:param tags: 标签列表,没有标签默认为空数组。
|
118
122
|
:type tags: list[:class:`huaweicloudsdkvpcep.v1.TagList`]
|
119
123
|
:param error:
|
120
|
-
:type error: :class:`huaweicloudsdkvpcep.v1.QueryError`
|
124
|
+
:type error: list[:class:`huaweicloudsdkvpcep.v1.QueryError`]
|
121
125
|
:param whitelist: 控制访问终端节点的白名单。 若未创建,则返回空列表。 创建连接Interface类型终端节点服务的终端节点时,显示此参数。
|
122
126
|
:type whitelist: list[str]
|
123
127
|
:param enable_whitelist: 是否开启网络ACL隔离。 - true:开启网络ACL隔离 - false:不开启网络ACL隔离 若未指定,则返回false。 创建连接Interface类型终端节点服务的终端节点时,显示此参数。
|
124
128
|
:type enable_whitelist: bool
|
125
|
-
:param routetables: 路由表ID列表。 若未指定,返回默认VPC下路由表ID。
|
129
|
+
:param routetables: 路由表ID列表。 若未指定,返回默认VPC下路由表ID。 创建gateway类型终端节点服务的终端节点时,显示此参数。
|
126
130
|
:type routetables: list[str]
|
127
131
|
:param description: 描述字段,支持中英文字母、数字等字符,不支持“<”或“>”字符。
|
128
132
|
:type description: str
|
129
|
-
:param policy_statement:
|
133
|
+
:param policy_statement: Gateway类型终端节点策略信息,仅限OBS、SFS的终端节点服务的enable_policy值为true时支持该参数。
|
130
134
|
:type policy_statement: list[:class:`huaweicloudsdkvpcep.v1.PolicyStatement`]
|
135
|
+
:param policy_document: 终端节点策略信息,仅当终端节点服务的enable_policy值为true时支持该参数,默认值为完全访问权限。(OBS、SFS的终端节点服务暂不支持该参数)
|
136
|
+
:type policy_document: object
|
131
137
|
:param endpoint_pool_id: 待废弃,实例相关联的集群ID
|
132
138
|
:type endpoint_pool_id: str
|
133
139
|
:param public_border_group: 终端节点对应Pool的Public Border Group信息
|
134
140
|
:type public_border_group: str
|
141
|
+
:param ipv6_address: 访问所连接的终端节点服务的IPv6的地址。 创建终端节点时,可以指定访问所连接的终端节点服务的IP,不指定的情况下,会使用系统生成的一个地址。 仅专业型终端节点支持此参数。
|
142
|
+
:type ipv6_address: str
|
135
143
|
"""
|
136
144
|
|
137
145
|
super(ListEndpointInfoDetailsResponse, self).__init__()
|
@@ -160,8 +168,10 @@ class ListEndpointInfoDetailsResponse(SdkResponse):
|
|
160
168
|
self._routetables = None
|
161
169
|
self._description = None
|
162
170
|
self._policy_statement = None
|
171
|
+
self._policy_document = None
|
163
172
|
self._endpoint_pool_id = None
|
164
173
|
self._public_border_group = None
|
174
|
+
self._ipv6_address = None
|
165
175
|
self.discriminator = None
|
166
176
|
|
167
177
|
if id is not None:
|
@@ -212,10 +222,14 @@ class ListEndpointInfoDetailsResponse(SdkResponse):
|
|
212
222
|
self.description = description
|
213
223
|
if policy_statement is not None:
|
214
224
|
self.policy_statement = policy_statement
|
225
|
+
if policy_document is not None:
|
226
|
+
self.policy_document = policy_document
|
215
227
|
if endpoint_pool_id is not None:
|
216
228
|
self.endpoint_pool_id = endpoint_pool_id
|
217
229
|
if public_border_group is not None:
|
218
230
|
self.public_border_group = public_border_group
|
231
|
+
if ipv6_address is not None:
|
232
|
+
self.ipv6_address = ipv6_address
|
219
233
|
|
220
234
|
@property
|
221
235
|
def id(self):
|
@@ -287,7 +301,7 @@ class ListEndpointInfoDetailsResponse(SdkResponse):
|
|
287
301
|
def active_status(self):
|
288
302
|
"""Gets the active_status of this ListEndpointInfoDetailsResponse.
|
289
303
|
|
290
|
-
|
304
|
+
账号状态。 - frozen:冻结 - active:解冻
|
291
305
|
|
292
306
|
:return: The active_status of this ListEndpointInfoDetailsResponse.
|
293
307
|
:rtype: list[str]
|
@@ -298,7 +312,7 @@ class ListEndpointInfoDetailsResponse(SdkResponse):
|
|
298
312
|
def active_status(self, active_status):
|
299
313
|
"""Sets the active_status of this ListEndpointInfoDetailsResponse.
|
300
314
|
|
301
|
-
|
315
|
+
账号状态。 - frozen:冻结 - active:解冻
|
302
316
|
|
303
317
|
:param active_status: The active_status of this ListEndpointInfoDetailsResponse.
|
304
318
|
:type active_status: list[str]
|
@@ -419,7 +433,7 @@ class ListEndpointInfoDetailsResponse(SdkResponse):
|
|
419
433
|
def enable_dns(self):
|
420
434
|
"""Gets the enable_dns of this ListEndpointInfoDetailsResponse.
|
421
435
|
|
422
|
-
是否创建域名。 - true:创建域名 - false:不创建域名 说明
|
436
|
+
是否创建域名。 - true:创建域名 - false:不创建域名 说明 当创建gateway类型终端节点服务的终端节点时, “enable_dns”设置为true或者false,均不创建域名。
|
423
437
|
|
424
438
|
:return: The enable_dns of this ListEndpointInfoDetailsResponse.
|
425
439
|
:rtype: bool
|
@@ -430,7 +444,7 @@ class ListEndpointInfoDetailsResponse(SdkResponse):
|
|
430
444
|
def enable_dns(self, enable_dns):
|
431
445
|
"""Sets the enable_dns of this ListEndpointInfoDetailsResponse.
|
432
446
|
|
433
|
-
是否创建域名。 - true:创建域名 - false:不创建域名 说明
|
447
|
+
是否创建域名。 - true:创建域名 - false:不创建域名 说明 当创建gateway类型终端节点服务的终端节点时, “enable_dns”设置为true或者false,均不创建域名。
|
434
448
|
|
435
449
|
:param enable_dns: The enable_dns of this ListEndpointInfoDetailsResponse.
|
436
450
|
:type enable_dns: bool
|
@@ -618,7 +632,7 @@ class ListEndpointInfoDetailsResponse(SdkResponse):
|
|
618
632
|
"""Gets the error of this ListEndpointInfoDetailsResponse.
|
619
633
|
|
620
634
|
:return: The error of this ListEndpointInfoDetailsResponse.
|
621
|
-
:rtype: :class:`huaweicloudsdkvpcep.v1.QueryError`
|
635
|
+
:rtype: list[:class:`huaweicloudsdkvpcep.v1.QueryError`]
|
622
636
|
"""
|
623
637
|
return self._error
|
624
638
|
|
@@ -627,7 +641,7 @@ class ListEndpointInfoDetailsResponse(SdkResponse):
|
|
627
641
|
"""Sets the error of this ListEndpointInfoDetailsResponse.
|
628
642
|
|
629
643
|
:param error: The error of this ListEndpointInfoDetailsResponse.
|
630
|
-
:type error: :class:`huaweicloudsdkvpcep.v1.QueryError`
|
644
|
+
:type error: list[:class:`huaweicloudsdkvpcep.v1.QueryError`]
|
631
645
|
"""
|
632
646
|
self._error = error
|
633
647
|
|
@@ -679,7 +693,7 @@ class ListEndpointInfoDetailsResponse(SdkResponse):
|
|
679
693
|
def routetables(self):
|
680
694
|
"""Gets the routetables of this ListEndpointInfoDetailsResponse.
|
681
695
|
|
682
|
-
路由表ID列表。 若未指定,返回默认VPC下路由表ID。
|
696
|
+
路由表ID列表。 若未指定,返回默认VPC下路由表ID。 创建gateway类型终端节点服务的终端节点时,显示此参数。
|
683
697
|
|
684
698
|
:return: The routetables of this ListEndpointInfoDetailsResponse.
|
685
699
|
:rtype: list[str]
|
@@ -690,7 +704,7 @@ class ListEndpointInfoDetailsResponse(SdkResponse):
|
|
690
704
|
def routetables(self, routetables):
|
691
705
|
"""Sets the routetables of this ListEndpointInfoDetailsResponse.
|
692
706
|
|
693
|
-
路由表ID列表。 若未指定,返回默认VPC下路由表ID。
|
707
|
+
路由表ID列表。 若未指定,返回默认VPC下路由表ID。 创建gateway类型终端节点服务的终端节点时,显示此参数。
|
694
708
|
|
695
709
|
:param routetables: The routetables of this ListEndpointInfoDetailsResponse.
|
696
710
|
:type routetables: list[str]
|
@@ -723,7 +737,7 @@ class ListEndpointInfoDetailsResponse(SdkResponse):
|
|
723
737
|
def policy_statement(self):
|
724
738
|
"""Gets the policy_statement of this ListEndpointInfoDetailsResponse.
|
725
739
|
|
726
|
-
|
740
|
+
Gateway类型终端节点策略信息,仅限OBS、SFS的终端节点服务的enable_policy值为true时支持该参数。
|
727
741
|
|
728
742
|
:return: The policy_statement of this ListEndpointInfoDetailsResponse.
|
729
743
|
:rtype: list[:class:`huaweicloudsdkvpcep.v1.PolicyStatement`]
|
@@ -734,13 +748,35 @@ class ListEndpointInfoDetailsResponse(SdkResponse):
|
|
734
748
|
def policy_statement(self, policy_statement):
|
735
749
|
"""Sets the policy_statement of this ListEndpointInfoDetailsResponse.
|
736
750
|
|
737
|
-
|
751
|
+
Gateway类型终端节点策略信息,仅限OBS、SFS的终端节点服务的enable_policy值为true时支持该参数。
|
738
752
|
|
739
753
|
:param policy_statement: The policy_statement of this ListEndpointInfoDetailsResponse.
|
740
754
|
:type policy_statement: list[:class:`huaweicloudsdkvpcep.v1.PolicyStatement`]
|
741
755
|
"""
|
742
756
|
self._policy_statement = policy_statement
|
743
757
|
|
758
|
+
@property
|
759
|
+
def policy_document(self):
|
760
|
+
"""Gets the policy_document of this ListEndpointInfoDetailsResponse.
|
761
|
+
|
762
|
+
终端节点策略信息,仅当终端节点服务的enable_policy值为true时支持该参数,默认值为完全访问权限。(OBS、SFS的终端节点服务暂不支持该参数)
|
763
|
+
|
764
|
+
:return: The policy_document of this ListEndpointInfoDetailsResponse.
|
765
|
+
:rtype: object
|
766
|
+
"""
|
767
|
+
return self._policy_document
|
768
|
+
|
769
|
+
@policy_document.setter
|
770
|
+
def policy_document(self, policy_document):
|
771
|
+
"""Sets the policy_document of this ListEndpointInfoDetailsResponse.
|
772
|
+
|
773
|
+
终端节点策略信息,仅当终端节点服务的enable_policy值为true时支持该参数,默认值为完全访问权限。(OBS、SFS的终端节点服务暂不支持该参数)
|
774
|
+
|
775
|
+
:param policy_document: The policy_document of this ListEndpointInfoDetailsResponse.
|
776
|
+
:type policy_document: object
|
777
|
+
"""
|
778
|
+
self._policy_document = policy_document
|
779
|
+
|
744
780
|
@property
|
745
781
|
def endpoint_pool_id(self):
|
746
782
|
"""Gets the endpoint_pool_id of this ListEndpointInfoDetailsResponse.
|
@@ -785,6 +821,28 @@ class ListEndpointInfoDetailsResponse(SdkResponse):
|
|
785
821
|
"""
|
786
822
|
self._public_border_group = public_border_group
|
787
823
|
|
824
|
+
@property
|
825
|
+
def ipv6_address(self):
|
826
|
+
"""Gets the ipv6_address of this ListEndpointInfoDetailsResponse.
|
827
|
+
|
828
|
+
访问所连接的终端节点服务的IPv6的地址。 创建终端节点时,可以指定访问所连接的终端节点服务的IP,不指定的情况下,会使用系统生成的一个地址。 仅专业型终端节点支持此参数。
|
829
|
+
|
830
|
+
:return: The ipv6_address of this ListEndpointInfoDetailsResponse.
|
831
|
+
:rtype: str
|
832
|
+
"""
|
833
|
+
return self._ipv6_address
|
834
|
+
|
835
|
+
@ipv6_address.setter
|
836
|
+
def ipv6_address(self, ipv6_address):
|
837
|
+
"""Sets the ipv6_address of this ListEndpointInfoDetailsResponse.
|
838
|
+
|
839
|
+
访问所连接的终端节点服务的IPv6的地址。 创建终端节点时,可以指定访问所连接的终端节点服务的IP,不指定的情况下,会使用系统生成的一个地址。 仅专业型终端节点支持此参数。
|
840
|
+
|
841
|
+
:param ipv6_address: The ipv6_address of this ListEndpointInfoDetailsResponse.
|
842
|
+
:type ipv6_address: str
|
843
|
+
"""
|
844
|
+
self._ipv6_address = ipv6_address
|
845
|
+
|
788
846
|
def to_dict(self):
|
789
847
|
"""Returns the model properties as a dict"""
|
790
848
|
result = {}
|
@@ -24,7 +24,8 @@ class ListEndpointServiceRequest:
|
|
24
24
|
'sort_dir': 'str',
|
25
25
|
'limit': 'int',
|
26
26
|
'offset': 'int',
|
27
|
-
'public_border_group': 'str'
|
27
|
+
'public_border_group': 'str',
|
28
|
+
'net_type': 'str'
|
28
29
|
}
|
29
30
|
|
30
31
|
attribute_map = {
|
@@ -35,10 +36,11 @@ class ListEndpointServiceRequest:
|
|
35
36
|
'sort_dir': 'sort_dir',
|
36
37
|
'limit': 'limit',
|
37
38
|
'offset': 'offset',
|
38
|
-
'public_border_group': 'public_border_group'
|
39
|
+
'public_border_group': 'public_border_group',
|
40
|
+
'net_type': 'net_type'
|
39
41
|
}
|
40
42
|
|
41
|
-
def __init__(self, endpoint_service_name=None, id=None, status=None, sort_key=None, sort_dir=None, limit=None, offset=None, public_border_group=None):
|
43
|
+
def __init__(self, endpoint_service_name=None, id=None, status=None, sort_key=None, sort_dir=None, limit=None, offset=None, public_border_group=None, net_type=None):
|
42
44
|
"""ListEndpointServiceRequest
|
43
45
|
|
44
46
|
The model defined in huaweicloud sdk
|
@@ -59,6 +61,8 @@ class ListEndpointServiceRequest:
|
|
59
61
|
:type offset: int
|
60
62
|
:param public_border_group: 筛选结果中匹配边缘属性的EPS
|
61
63
|
:type public_border_group: str
|
64
|
+
:param net_type: 后端类型
|
65
|
+
:type net_type: str
|
62
66
|
"""
|
63
67
|
|
64
68
|
|
@@ -71,6 +75,7 @@ class ListEndpointServiceRequest:
|
|
71
75
|
self._limit = None
|
72
76
|
self._offset = None
|
73
77
|
self._public_border_group = None
|
78
|
+
self._net_type = None
|
74
79
|
self.discriminator = None
|
75
80
|
|
76
81
|
if endpoint_service_name is not None:
|
@@ -89,6 +94,8 @@ class ListEndpointServiceRequest:
|
|
89
94
|
self.offset = offset
|
90
95
|
if public_border_group is not None:
|
91
96
|
self.public_border_group = public_border_group
|
97
|
+
if net_type is not None:
|
98
|
+
self.net_type = net_type
|
92
99
|
|
93
100
|
@property
|
94
101
|
def endpoint_service_name(self):
|
@@ -266,6 +273,28 @@ class ListEndpointServiceRequest:
|
|
266
273
|
"""
|
267
274
|
self._public_border_group = public_border_group
|
268
275
|
|
276
|
+
@property
|
277
|
+
def net_type(self):
|
278
|
+
"""Gets the net_type of this ListEndpointServiceRequest.
|
279
|
+
|
280
|
+
后端类型
|
281
|
+
|
282
|
+
:return: The net_type of this ListEndpointServiceRequest.
|
283
|
+
:rtype: str
|
284
|
+
"""
|
285
|
+
return self._net_type
|
286
|
+
|
287
|
+
@net_type.setter
|
288
|
+
def net_type(self, net_type):
|
289
|
+
"""Sets the net_type of this ListEndpointServiceRequest.
|
290
|
+
|
291
|
+
后端类型
|
292
|
+
|
293
|
+
:param net_type: The net_type of this ListEndpointServiceRequest.
|
294
|
+
:type net_type: str
|
295
|
+
"""
|
296
|
+
self._net_type = net_type
|
297
|
+
|
269
298
|
def to_dict(self):
|
270
299
|
"""Returns the model properties as a dict"""
|
271
300
|
result = {}
|