huaweicloudsdkvpcep 3.1.85__py2.py3-none-any.whl → 3.1.87__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 +8 -8
- huaweicloudsdkvpcep/v1/model/__init__.py +8 -8
- huaweicloudsdkvpcep/v1/model/accept_or_reject_endpoint_request_body.py +3 -3
- huaweicloudsdkvpcep/v1/model/add_or_remove_service_permissions_request_body.py +6 -6
- huaweicloudsdkvpcep/v1/model/add_or_remove_service_permissions_response.py +6 -6
- huaweicloudsdkvpcep/v1/model/batch_add_endpoint_service_permissions_request.py +4 -4
- huaweicloudsdkvpcep/v1/model/{batch_add_permission_request.py → batch_add_endpoint_service_permissions_request_body.py} +14 -14
- huaweicloudsdkvpcep/v1/model/batch_add_endpoint_service_permissions_response.py +5 -1
- huaweicloudsdkvpcep/v1/model/batch_add_or_remove_resource_instance_request.py +10 -10
- huaweicloudsdkvpcep/v1/model/{batch_add_or_remove_resource_instance_body.py → batch_add_or_remove_resource_instance_request_body.py} +11 -11
- huaweicloudsdkvpcep/v1/model/batch_remove_endpoint_service_permissions_request.py +4 -4
- huaweicloudsdkvpcep/v1/model/{batch_remove_permission_request.py → batch_remove_endpoint_service_permissions_request_body.py} +12 -8
- huaweicloudsdkvpcep/v1/model/batch_remove_endpoint_service_permissions_response.py +5 -1
- huaweicloudsdkvpcep/v1/model/connection_endpoints.py +11 -11
- huaweicloudsdkvpcep/v1/model/create_endpoint_request_body.py +6 -6
- huaweicloudsdkvpcep/v1/model/create_endpoint_response.py +31 -60
- huaweicloudsdkvpcep/v1/model/create_endpoint_service_request_body.py +15 -15
- huaweicloudsdkvpcep/v1/model/create_endpoint_service_response.py +29 -29
- huaweicloudsdkvpcep/v1/model/delete_endpoint_policy_response.py +21 -108
- huaweicloudsdkvpcep/v1/model/{endpoint_resp.py → endpoint_response_body.py} +122 -122
- huaweicloudsdkvpcep/v1/model/endpoint_service.py +13 -13
- huaweicloudsdkvpcep/v1/model/eps_add_permission_request.py +3 -3
- huaweicloudsdkvpcep/v1/model/eps_permission.py +10 -10
- huaweicloudsdkvpcep/v1/model/list_endpoint_info_details_response.py +33 -33
- huaweicloudsdkvpcep/v1/model/list_endpoint_service_request.py +9 -9
- huaweicloudsdkvpcep/v1/model/list_endpoints_request.py +6 -6
- huaweicloudsdkvpcep/v1/model/list_endpoints_response.py +4 -4
- huaweicloudsdkvpcep/v1/model/list_query_project_resource_tags_request.py +3 -3
- huaweicloudsdkvpcep/v1/model/list_quota_details_request.py +3 -3
- huaweicloudsdkvpcep/v1/model/list_quota_details_response.py +4 -4
- huaweicloudsdkvpcep/v1/model/list_resource_instances_request.py +3 -3
- huaweicloudsdkvpcep/v1/model/list_service_connections_request.py +9 -9
- huaweicloudsdkvpcep/v1/model/list_service_describe_details_response.py +13 -13
- huaweicloudsdkvpcep/v1/model/list_service_details_response.py +29 -29
- huaweicloudsdkvpcep/v1/model/list_service_permissions_details_request.py +6 -6
- huaweicloudsdkvpcep/v1/model/list_service_public_details_request.py +6 -6
- huaweicloudsdkvpcep/v1/model/permission_object.py +10 -10
- huaweicloudsdkvpcep/v1/model/policy_statement.py +3 -3
- huaweicloudsdkvpcep/v1/model/quotas.py +3 -3
- huaweicloudsdkvpcep/v1/model/{resources_resp.py → resources_response_body.py} +7 -7
- huaweicloudsdkvpcep/v1/model/service_list.py +29 -29
- huaweicloudsdkvpcep/v1/model/update_endpoint_connections_desc_request.py +4 -4
- huaweicloudsdkvpcep/v1/model/{update_ep_connections.py → update_endpoint_connections_desc_request_body.py} +7 -7
- huaweicloudsdkvpcep/v1/model/update_endpoint_policy_response.py +21 -108
- huaweicloudsdkvpcep/v1/model/update_endpoint_service_name_request.py +4 -4
- huaweicloudsdkvpcep/v1/model/{update_endpoint_service_name_mode.py → update_endpoint_service_name_request_body.py} +7 -7
- huaweicloudsdkvpcep/v1/model/update_endpoint_service_permission_desc_request.py +4 -4
- huaweicloudsdkvpcep/v1/model/{update_permission_desc_request.py → update_endpoint_service_permission_desc_request_body.py} +7 -7
- huaweicloudsdkvpcep/v1/model/update_endpoint_service_permission_desc_response.py +5 -1
- huaweicloudsdkvpcep/v1/model/update_endpoint_service_request_body.py +9 -9
- huaweicloudsdkvpcep/v1/model/update_endpoint_service_response.py +29 -29
- huaweicloudsdkvpcep/v1/model/update_endpoint_white_request_body.py +6 -6
- huaweicloudsdkvpcep/v1/model/update_endpoint_white_response.py +26 -26
- huaweicloudsdkvpcep/v1/model/version_object.py +10 -10
- huaweicloudsdkvpcep/v1/vpcep_async_client.py +1 -1
- huaweicloudsdkvpcep/v1/vpcep_client.py +1 -1
- {huaweicloudsdkvpcep-3.1.85.dist-info → huaweicloudsdkvpcep-3.1.87.dist-info}/METADATA +2 -2
- {huaweicloudsdkvpcep-3.1.85.dist-info → huaweicloudsdkvpcep-3.1.87.dist-info}/RECORD +61 -61
- {huaweicloudsdkvpcep-3.1.85.dist-info → huaweicloudsdkvpcep-3.1.87.dist-info}/WHEEL +1 -1
- {huaweicloudsdkvpcep-3.1.85.dist-info → huaweicloudsdkvpcep-3.1.87.dist-info}/LICENSE +0 -0
- {huaweicloudsdkvpcep-3.1.85.dist-info → huaweicloudsdkvpcep-3.1.87.dist-info}/top_level.txt +0 -0
@@ -5,7 +5,7 @@ import six
|
|
5
5
|
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
6
|
|
7
7
|
|
8
|
-
class
|
8
|
+
class BatchRemoveEndpointServicePermissionsRequestBody:
|
9
9
|
|
10
10
|
"""
|
11
11
|
Attributes:
|
@@ -25,11 +25,11 @@ class BatchRemovePermissionRequest:
|
|
25
25
|
}
|
26
26
|
|
27
27
|
def __init__(self, permissions=None):
|
28
|
-
"""
|
28
|
+
"""BatchRemoveEndpointServicePermissionsRequestBody
|
29
29
|
|
30
30
|
The model defined in huaweicloud sdk
|
31
31
|
|
32
|
-
:param permissions:
|
32
|
+
:param permissions: 终端节点服务白名单
|
33
33
|
:type permissions: list[:class:`huaweicloudsdkvpcep.v1.EpsRemovePermissionRequest`]
|
34
34
|
"""
|
35
35
|
|
@@ -42,18 +42,22 @@ class BatchRemovePermissionRequest:
|
|
42
42
|
|
43
43
|
@property
|
44
44
|
def permissions(self):
|
45
|
-
"""Gets the permissions of this
|
45
|
+
"""Gets the permissions of this BatchRemoveEndpointServicePermissionsRequestBody.
|
46
46
|
|
47
|
-
|
47
|
+
终端节点服务白名单
|
48
|
+
|
49
|
+
:return: The permissions of this BatchRemoveEndpointServicePermissionsRequestBody.
|
48
50
|
:rtype: list[:class:`huaweicloudsdkvpcep.v1.EpsRemovePermissionRequest`]
|
49
51
|
"""
|
50
52
|
return self._permissions
|
51
53
|
|
52
54
|
@permissions.setter
|
53
55
|
def permissions(self, permissions):
|
54
|
-
"""Sets the permissions of this
|
56
|
+
"""Sets the permissions of this BatchRemoveEndpointServicePermissionsRequestBody.
|
57
|
+
|
58
|
+
终端节点服务白名单
|
55
59
|
|
56
|
-
:param permissions: The permissions of this
|
60
|
+
:param permissions: The permissions of this BatchRemoveEndpointServicePermissionsRequestBody.
|
57
61
|
:type permissions: list[:class:`huaweicloudsdkvpcep.v1.EpsRemovePermissionRequest`]
|
58
62
|
"""
|
59
63
|
self._permissions = permissions
|
@@ -100,7 +104,7 @@ class BatchRemovePermissionRequest:
|
|
100
104
|
|
101
105
|
def __eq__(self, other):
|
102
106
|
"""Returns true if both objects are equal"""
|
103
|
-
if not isinstance(other,
|
107
|
+
if not isinstance(other, BatchRemoveEndpointServicePermissionsRequestBody):
|
104
108
|
return False
|
105
109
|
|
106
110
|
return self.__dict__ == other.__dict__
|
@@ -30,7 +30,7 @@ class BatchRemoveEndpointServicePermissionsResponse(SdkResponse):
|
|
30
30
|
|
31
31
|
The model defined in huaweicloud sdk
|
32
32
|
|
33
|
-
:param permissions:
|
33
|
+
:param permissions: 终端节点服务白名单
|
34
34
|
:type permissions: list[:class:`huaweicloudsdkvpcep.v1.EpsPermission`]
|
35
35
|
"""
|
36
36
|
|
@@ -46,6 +46,8 @@ class BatchRemoveEndpointServicePermissionsResponse(SdkResponse):
|
|
46
46
|
def permissions(self):
|
47
47
|
"""Gets the permissions of this BatchRemoveEndpointServicePermissionsResponse.
|
48
48
|
|
49
|
+
终端节点服务白名单
|
50
|
+
|
49
51
|
:return: The permissions of this BatchRemoveEndpointServicePermissionsResponse.
|
50
52
|
:rtype: list[:class:`huaweicloudsdkvpcep.v1.EpsPermission`]
|
51
53
|
"""
|
@@ -55,6 +57,8 @@ class BatchRemoveEndpointServicePermissionsResponse(SdkResponse):
|
|
55
57
|
def permissions(self, permissions):
|
56
58
|
"""Sets the permissions of this BatchRemoveEndpointServicePermissionsResponse.
|
57
59
|
|
60
|
+
终端节点服务白名单
|
61
|
+
|
58
62
|
:param permissions: The permissions of this BatchRemoveEndpointServicePermissionsResponse.
|
59
63
|
:type permissions: list[:class:`huaweicloudsdkvpcep.v1.EpsPermission`]
|
60
64
|
"""
|
@@ -19,8 +19,8 @@ class ConnectionEndpoints:
|
|
19
19
|
openapi_types = {
|
20
20
|
'id': 'str',
|
21
21
|
'marker_id': 'int',
|
22
|
-
'created_at': '
|
23
|
-
'updated_at': '
|
22
|
+
'created_at': 'datetime',
|
23
|
+
'updated_at': 'datetime',
|
24
24
|
'domain_id': 'str',
|
25
25
|
'error': 'list[QueryError]',
|
26
26
|
'status': 'str',
|
@@ -48,14 +48,14 @@ class ConnectionEndpoints:
|
|
48
48
|
:param marker_id: 终端节点的报文标识。
|
49
49
|
:type marker_id: int
|
50
50
|
:param created_at: 终端节点的创建时间。 采用UTC时间格式,格式为:YYYY-MMDDTHH:MM:SSZ
|
51
|
-
:type created_at:
|
51
|
+
:type created_at: datetime
|
52
52
|
:param updated_at: 终端节点的更新时间。 采用UTC时间格式,格式为:YYYY-MMDDTHH:MM:SSZ
|
53
|
-
:type updated_at:
|
53
|
+
:type updated_at: datetime
|
54
54
|
:param domain_id: 用户的Domain ID。
|
55
55
|
:type domain_id: str
|
56
56
|
:param error: 错误信息。 当终端节点服务状态异常,即“status”的值为“failed”时,会返回该字段。
|
57
57
|
:type error: list[:class:`huaweicloudsdkvpcep.v1.QueryError`]
|
58
|
-
:param status: 终端节点的连接状态。
|
58
|
+
:param status: 终端节点的连接状态。 - pendingAcceptance:待接受 - creating:创建中 - accepted:已接受 - rejected:已拒绝 - failed:失败 - deleting:删除中
|
59
59
|
:type status: str
|
60
60
|
:param description: 终端节点连接描述。
|
61
61
|
:type description: str
|
@@ -141,7 +141,7 @@ class ConnectionEndpoints:
|
|
141
141
|
终端节点的创建时间。 采用UTC时间格式,格式为:YYYY-MMDDTHH:MM:SSZ
|
142
142
|
|
143
143
|
:return: The created_at of this ConnectionEndpoints.
|
144
|
-
:rtype:
|
144
|
+
:rtype: datetime
|
145
145
|
"""
|
146
146
|
return self._created_at
|
147
147
|
|
@@ -152,7 +152,7 @@ class ConnectionEndpoints:
|
|
152
152
|
终端节点的创建时间。 采用UTC时间格式,格式为:YYYY-MMDDTHH:MM:SSZ
|
153
153
|
|
154
154
|
:param created_at: The created_at of this ConnectionEndpoints.
|
155
|
-
:type created_at:
|
155
|
+
:type created_at: datetime
|
156
156
|
"""
|
157
157
|
self._created_at = created_at
|
158
158
|
|
@@ -163,7 +163,7 @@ class ConnectionEndpoints:
|
|
163
163
|
终端节点的更新时间。 采用UTC时间格式,格式为:YYYY-MMDDTHH:MM:SSZ
|
164
164
|
|
165
165
|
:return: The updated_at of this ConnectionEndpoints.
|
166
|
-
:rtype:
|
166
|
+
:rtype: datetime
|
167
167
|
"""
|
168
168
|
return self._updated_at
|
169
169
|
|
@@ -174,7 +174,7 @@ class ConnectionEndpoints:
|
|
174
174
|
终端节点的更新时间。 采用UTC时间格式,格式为:YYYY-MMDDTHH:MM:SSZ
|
175
175
|
|
176
176
|
:param updated_at: The updated_at of this ConnectionEndpoints.
|
177
|
-
:type updated_at:
|
177
|
+
:type updated_at: datetime
|
178
178
|
"""
|
179
179
|
self._updated_at = updated_at
|
180
180
|
|
@@ -226,7 +226,7 @@ class ConnectionEndpoints:
|
|
226
226
|
def status(self):
|
227
227
|
"""Gets the status of this ConnectionEndpoints.
|
228
228
|
|
229
|
-
终端节点的连接状态。
|
229
|
+
终端节点的连接状态。 - pendingAcceptance:待接受 - creating:创建中 - accepted:已接受 - rejected:已拒绝 - failed:失败 - deleting:删除中
|
230
230
|
|
231
231
|
:return: The status of this ConnectionEndpoints.
|
232
232
|
:rtype: str
|
@@ -237,7 +237,7 @@ class ConnectionEndpoints:
|
|
237
237
|
def status(self, status):
|
238
238
|
"""Sets the status of this ConnectionEndpoints.
|
239
239
|
|
240
|
-
终端节点的连接状态。
|
240
|
+
终端节点的连接状态。 - pendingAcceptance:待接受 - creating:创建中 - accepted:已接受 - rejected:已拒绝 - failed:失败 - deleting:删除中
|
241
241
|
|
242
242
|
:param status: The status of this ConnectionEndpoints.
|
243
243
|
:type status: str
|
@@ -47,13 +47,13 @@ class CreateEndpointRequestBody:
|
|
47
47
|
|
48
48
|
The model defined in huaweicloud sdk
|
49
49
|
|
50
|
-
:param subnet_id:
|
50
|
+
:param subnet_id: 创建Interface类型Client必选。 需要指定vpc_id对应VPC下已创建的网络(network)的ID,UUID格式。 详细内容请参考《虚拟私有云API参考》中的“查询子网”,详见响应消息中的“id”字段。 创建连接Interface类型终端节点服务的终端节点时,此参数必选。 说明: - VPC的子网网段不能与198.19.128.0/17重叠 - VPC路由表中自定义路由的目的地址不能与198.19.128.0/17重叠
|
51
51
|
:type subnet_id: str
|
52
52
|
:param endpoint_service_id: 终端节点服务的ID。 可以通过查询终端节点服务概 要获取要连接的终端节点服务 ID。
|
53
53
|
:type endpoint_service_id: str
|
54
54
|
:param vpc_id: 终端节点所在的VPC的ID。 详细内容请参考《虚拟私有云API参考》中的“查询VPC”, 详见响应消息中的“id”字段。
|
55
55
|
:type vpc_id: str
|
56
|
-
:param enable_dns: 是否创建域名。
|
56
|
+
:param enable_dns: 是否创建域名。 - true:创建域名 - false:不创建域名 默认值为false。 说明 当创建连接gateway类型终端节点服务的终端节点时, “enable_dns”设置为true或者false,均不创建域名。
|
57
57
|
:type enable_dns: bool
|
58
58
|
:param tags: 标签列表,没有标签默认为空数组。
|
59
59
|
:type tags: list[:class:`huaweicloudsdkvpcep.v1.TagList`]
|
@@ -106,7 +106,7 @@ class CreateEndpointRequestBody:
|
|
106
106
|
def subnet_id(self):
|
107
107
|
"""Gets the subnet_id of this CreateEndpointRequestBody.
|
108
108
|
|
109
|
-
|
109
|
+
创建Interface类型Client必选。 需要指定vpc_id对应VPC下已创建的网络(network)的ID,UUID格式。 详细内容请参考《虚拟私有云API参考》中的“查询子网”,详见响应消息中的“id”字段。 创建连接Interface类型终端节点服务的终端节点时,此参数必选。 说明: - VPC的子网网段不能与198.19.128.0/17重叠 - VPC路由表中自定义路由的目的地址不能与198.19.128.0/17重叠
|
110
110
|
|
111
111
|
:return: The subnet_id of this CreateEndpointRequestBody.
|
112
112
|
:rtype: str
|
@@ -117,7 +117,7 @@ class CreateEndpointRequestBody:
|
|
117
117
|
def subnet_id(self, subnet_id):
|
118
118
|
"""Sets the subnet_id of this CreateEndpointRequestBody.
|
119
119
|
|
120
|
-
|
120
|
+
创建Interface类型Client必选。 需要指定vpc_id对应VPC下已创建的网络(network)的ID,UUID格式。 详细内容请参考《虚拟私有云API参考》中的“查询子网”,详见响应消息中的“id”字段。 创建连接Interface类型终端节点服务的终端节点时,此参数必选。 说明: - VPC的子网网段不能与198.19.128.0/17重叠 - VPC路由表中自定义路由的目的地址不能与198.19.128.0/17重叠
|
121
121
|
|
122
122
|
:param subnet_id: The subnet_id of this CreateEndpointRequestBody.
|
123
123
|
:type subnet_id: str
|
@@ -172,7 +172,7 @@ class CreateEndpointRequestBody:
|
|
172
172
|
def enable_dns(self):
|
173
173
|
"""Gets the enable_dns of this CreateEndpointRequestBody.
|
174
174
|
|
175
|
-
是否创建域名。
|
175
|
+
是否创建域名。 - true:创建域名 - false:不创建域名 默认值为false。 说明 当创建连接gateway类型终端节点服务的终端节点时, “enable_dns”设置为true或者false,均不创建域名。
|
176
176
|
|
177
177
|
:return: The enable_dns of this CreateEndpointRequestBody.
|
178
178
|
:rtype: bool
|
@@ -183,7 +183,7 @@ class CreateEndpointRequestBody:
|
|
183
183
|
def enable_dns(self, enable_dns):
|
184
184
|
"""Sets the enable_dns of this CreateEndpointRequestBody.
|
185
185
|
|
186
|
-
是否创建域名。
|
186
|
+
是否创建域名。 - true:创建域名 - false:不创建域名 默认值为false。 说明 当创建连接gateway类型终端节点服务的终端节点时, “enable_dns”设置为true或者false,均不创建域名。
|
187
187
|
|
188
188
|
:param enable_dns: The enable_dns of this CreateEndpointRequestBody.
|
189
189
|
:type enable_dns: bool
|
@@ -27,11 +27,10 @@ class CreateEndpointResponse(SdkResponse):
|
|
27
27
|
'marker_id': 'int',
|
28
28
|
'endpoint_service_id': 'str',
|
29
29
|
'enable_dns': 'bool',
|
30
|
-
'dns_names': 'list[str]',
|
31
30
|
'subnet_id': 'str',
|
32
31
|
'vpc_id': 'str',
|
33
|
-
'created_at': '
|
34
|
-
'updated_at': '
|
32
|
+
'created_at': 'datetime',
|
33
|
+
'updated_at': 'datetime',
|
35
34
|
'project_id': 'str',
|
36
35
|
'tags': 'list[TagList]',
|
37
36
|
'whitelist': 'list[str]',
|
@@ -39,7 +38,7 @@ class CreateEndpointResponse(SdkResponse):
|
|
39
38
|
'routetables': 'list[str]',
|
40
39
|
'specification_name': 'str',
|
41
40
|
'description': 'str',
|
42
|
-
'policy_statement': 'list[
|
41
|
+
'policy_statement': 'list[PolicyStatement]',
|
43
42
|
'enable_status': 'str',
|
44
43
|
'endpoint_pool_id': 'str',
|
45
44
|
'public_border_group': 'str'
|
@@ -55,7 +54,6 @@ class CreateEndpointResponse(SdkResponse):
|
|
55
54
|
'marker_id': 'marker_id',
|
56
55
|
'endpoint_service_id': 'endpoint_service_id',
|
57
56
|
'enable_dns': 'enable_dns',
|
58
|
-
'dns_names': 'dns_names',
|
59
57
|
'subnet_id': 'subnet_id',
|
60
58
|
'vpc_id': 'vpc_id',
|
61
59
|
'created_at': 'created_at',
|
@@ -73,20 +71,20 @@ class CreateEndpointResponse(SdkResponse):
|
|
73
71
|
'public_border_group': 'public_border_group'
|
74
72
|
}
|
75
73
|
|
76
|
-
def __init__(self, id=None, service_type=None, status=None, ip=None, active_status=None, endpoint_service_name=None, marker_id=None, endpoint_service_id=None, enable_dns=None,
|
74
|
+
def __init__(self, id=None, service_type=None, status=None, ip=None, active_status=None, endpoint_service_name=None, marker_id=None, endpoint_service_id=None, enable_dns=None, subnet_id=None, vpc_id=None, created_at=None, updated_at=None, project_id=None, tags=None, whitelist=None, enable_whitelist=None, routetables=None, specification_name=None, description=None, policy_statement=None, enable_status=None, endpoint_pool_id=None, public_border_group=None):
|
77
75
|
"""CreateEndpointResponse
|
78
76
|
|
79
77
|
The model defined in huaweicloud sdk
|
80
78
|
|
81
79
|
:param id: 终端节点的ID,唯一标识。
|
82
80
|
:type id: str
|
83
|
-
:param service_type: 终端节点连接的终端节点服务类型。
|
81
|
+
:param service_type: 终端节点连接的终端节点服务类型。 - gateway:由运维人员配置。用户无需创建,可直接使用。 - interface:包括运维人员配置的云服务和用户自己创建的私有服务。 其中,运维人员配置的云服务无需创建,用户可直接使用。您可以通过查询公共终端节点服务列表, 查看由运维人员配置的所有用户可见且可连接的终端节点服务, 并通过创建终端节点服务创建Interface类型的终端节点服务。
|
84
82
|
:type service_type: str
|
85
|
-
:param status: 终端节点的状态。
|
83
|
+
:param status: 终端节点的状态。 - pendingAcceptance:待接受 - creating:创建中 - accepted:已接受 - rejected:已拒绝 - failed:失败 - deleting:删除中
|
86
84
|
:type status: str
|
87
85
|
:param ip: 终端节点ip
|
88
86
|
:type ip: str
|
89
|
-
:param active_status: 帐号状态。
|
87
|
+
:param active_status: 帐号状态。 - frozen:冻结 - active:解冻
|
90
88
|
:type active_status: list[str]
|
91
89
|
:param endpoint_service_name: 终端节点服务的名称。
|
92
90
|
:type endpoint_service_name: str
|
@@ -94,25 +92,23 @@ class CreateEndpointResponse(SdkResponse):
|
|
94
92
|
:type marker_id: int
|
95
93
|
:param endpoint_service_id: 终端节点服务的ID。
|
96
94
|
:type endpoint_service_id: str
|
97
|
-
:param enable_dns: 是否创建域名。
|
95
|
+
:param enable_dns: 是否创建域名。 - true:创建域名 - false:不创建域名 说明 当创建连接gateway类型终端节点服务的终端节点时, “enable_dns”设置为true或者false,均不创建域名。
|
98
96
|
:type enable_dns: bool
|
99
|
-
:param dns_names: 访问所连接的终端节点服务的域名。 当“enable_dns”为true时,该参数可见。
|
100
|
-
:type dns_names: list[str]
|
101
97
|
:param subnet_id: vpc_id对应VPC下已创建的网络(network)的ID,UUID格式。
|
102
98
|
:type subnet_id: str
|
103
99
|
:param vpc_id: 终端节点所在的VPC的ID。
|
104
100
|
:type vpc_id: str
|
105
101
|
:param created_at: 终端节点的创建时间。 采用UTC时间格式,格式为:YYYY-MM-DDTHH:MM:SSZ
|
106
|
-
:type created_at:
|
102
|
+
:type created_at: datetime
|
107
103
|
:param updated_at: 终端节点的更新时间。 采用UTC时间格式,格式为:YYYY-MM-DDTHH:MM:SSZ
|
108
|
-
:type updated_at:
|
104
|
+
:type updated_at: datetime
|
109
105
|
:param project_id: 项目ID,获取方法请参见获取项目ID。
|
110
106
|
:type project_id: str
|
111
107
|
:param tags: 标签列表,没有标签默认为空数组。
|
112
108
|
:type tags: list[:class:`huaweicloudsdkvpcep.v1.TagList`]
|
113
109
|
:param whitelist: 控制访问终端节点的白名单。 若未创建,则返回空列表。 创建连接Interface类型终端节点服务的终端节点时,显示此参数。
|
114
110
|
:type whitelist: list[str]
|
115
|
-
:param enable_whitelist: 是否开启网络ACL隔离。
|
111
|
+
:param enable_whitelist: 是否开启网络ACL隔离。 - true:开启网络ACL隔离 - false:不开启网络ACL隔离 若未指定,则返回false。 创建连接Interface类型终端节点服务的终端节点时,显示此参数。
|
116
112
|
:type enable_whitelist: bool
|
117
113
|
:param routetables: 路由表ID列表。 若未指定,返回默认VPC下路由表ID。 创建连接Gateway类型终端节点服务的终端节点时,显示此参数。
|
118
114
|
:type routetables: list[str]
|
@@ -121,8 +117,8 @@ class CreateEndpointResponse(SdkResponse):
|
|
121
117
|
:param description: 描述
|
122
118
|
:type description: str
|
123
119
|
:param policy_statement: 只涉及开启双端固定的网关型终端节点,响应体展示此字段
|
124
|
-
:type policy_statement: list[
|
125
|
-
:param enable_status:
|
120
|
+
:type policy_statement: list[:class:`huaweicloudsdkvpcep.v1.PolicyStatement`]
|
121
|
+
:param enable_status: 终端节点是否可用。 - enable:启用 - disable:不启用
|
126
122
|
:type enable_status: str
|
127
123
|
:param endpoint_pool_id: 待废弃,实例相关联的集群ID
|
128
124
|
:type endpoint_pool_id: str
|
@@ -141,7 +137,6 @@ class CreateEndpointResponse(SdkResponse):
|
|
141
137
|
self._marker_id = None
|
142
138
|
self._endpoint_service_id = None
|
143
139
|
self._enable_dns = None
|
144
|
-
self._dns_names = None
|
145
140
|
self._subnet_id = None
|
146
141
|
self._vpc_id = None
|
147
142
|
self._created_at = None
|
@@ -177,8 +172,6 @@ class CreateEndpointResponse(SdkResponse):
|
|
177
172
|
self.endpoint_service_id = endpoint_service_id
|
178
173
|
if enable_dns is not None:
|
179
174
|
self.enable_dns = enable_dns
|
180
|
-
if dns_names is not None:
|
181
|
-
self.dns_names = dns_names
|
182
175
|
if subnet_id is not None:
|
183
176
|
self.subnet_id = subnet_id
|
184
177
|
if vpc_id is not None:
|
@@ -236,7 +229,7 @@ class CreateEndpointResponse(SdkResponse):
|
|
236
229
|
def service_type(self):
|
237
230
|
"""Gets the service_type of this CreateEndpointResponse.
|
238
231
|
|
239
|
-
终端节点连接的终端节点服务类型。
|
232
|
+
终端节点连接的终端节点服务类型。 - gateway:由运维人员配置。用户无需创建,可直接使用。 - interface:包括运维人员配置的云服务和用户自己创建的私有服务。 其中,运维人员配置的云服务无需创建,用户可直接使用。您可以通过查询公共终端节点服务列表, 查看由运维人员配置的所有用户可见且可连接的终端节点服务, 并通过创建终端节点服务创建Interface类型的终端节点服务。
|
240
233
|
|
241
234
|
:return: The service_type of this CreateEndpointResponse.
|
242
235
|
:rtype: str
|
@@ -247,7 +240,7 @@ class CreateEndpointResponse(SdkResponse):
|
|
247
240
|
def service_type(self, service_type):
|
248
241
|
"""Sets the service_type of this CreateEndpointResponse.
|
249
242
|
|
250
|
-
终端节点连接的终端节点服务类型。
|
243
|
+
终端节点连接的终端节点服务类型。 - gateway:由运维人员配置。用户无需创建,可直接使用。 - interface:包括运维人员配置的云服务和用户自己创建的私有服务。 其中,运维人员配置的云服务无需创建,用户可直接使用。您可以通过查询公共终端节点服务列表, 查看由运维人员配置的所有用户可见且可连接的终端节点服务, 并通过创建终端节点服务创建Interface类型的终端节点服务。
|
251
244
|
|
252
245
|
:param service_type: The service_type of this CreateEndpointResponse.
|
253
246
|
:type service_type: str
|
@@ -258,7 +251,7 @@ class CreateEndpointResponse(SdkResponse):
|
|
258
251
|
def status(self):
|
259
252
|
"""Gets the status of this CreateEndpointResponse.
|
260
253
|
|
261
|
-
终端节点的状态。
|
254
|
+
终端节点的状态。 - pendingAcceptance:待接受 - creating:创建中 - accepted:已接受 - rejected:已拒绝 - failed:失败 - deleting:删除中
|
262
255
|
|
263
256
|
:return: The status of this CreateEndpointResponse.
|
264
257
|
:rtype: str
|
@@ -269,7 +262,7 @@ class CreateEndpointResponse(SdkResponse):
|
|
269
262
|
def status(self, status):
|
270
263
|
"""Sets the status of this CreateEndpointResponse.
|
271
264
|
|
272
|
-
终端节点的状态。
|
265
|
+
终端节点的状态。 - pendingAcceptance:待接受 - creating:创建中 - accepted:已接受 - rejected:已拒绝 - failed:失败 - deleting:删除中
|
273
266
|
|
274
267
|
:param status: The status of this CreateEndpointResponse.
|
275
268
|
:type status: str
|
@@ -302,7 +295,7 @@ class CreateEndpointResponse(SdkResponse):
|
|
302
295
|
def active_status(self):
|
303
296
|
"""Gets the active_status of this CreateEndpointResponse.
|
304
297
|
|
305
|
-
帐号状态。
|
298
|
+
帐号状态。 - frozen:冻结 - active:解冻
|
306
299
|
|
307
300
|
:return: The active_status of this CreateEndpointResponse.
|
308
301
|
:rtype: list[str]
|
@@ -313,7 +306,7 @@ class CreateEndpointResponse(SdkResponse):
|
|
313
306
|
def active_status(self, active_status):
|
314
307
|
"""Sets the active_status of this CreateEndpointResponse.
|
315
308
|
|
316
|
-
帐号状态。
|
309
|
+
帐号状态。 - frozen:冻结 - active:解冻
|
317
310
|
|
318
311
|
:param active_status: The active_status of this CreateEndpointResponse.
|
319
312
|
:type active_status: list[str]
|
@@ -390,7 +383,7 @@ class CreateEndpointResponse(SdkResponse):
|
|
390
383
|
def enable_dns(self):
|
391
384
|
"""Gets the enable_dns of this CreateEndpointResponse.
|
392
385
|
|
393
|
-
是否创建域名。
|
386
|
+
是否创建域名。 - true:创建域名 - false:不创建域名 说明 当创建连接gateway类型终端节点服务的终端节点时, “enable_dns”设置为true或者false,均不创建域名。
|
394
387
|
|
395
388
|
:return: The enable_dns of this CreateEndpointResponse.
|
396
389
|
:rtype: bool
|
@@ -401,35 +394,13 @@ class CreateEndpointResponse(SdkResponse):
|
|
401
394
|
def enable_dns(self, enable_dns):
|
402
395
|
"""Sets the enable_dns of this CreateEndpointResponse.
|
403
396
|
|
404
|
-
是否创建域名。
|
397
|
+
是否创建域名。 - true:创建域名 - false:不创建域名 说明 当创建连接gateway类型终端节点服务的终端节点时, “enable_dns”设置为true或者false,均不创建域名。
|
405
398
|
|
406
399
|
:param enable_dns: The enable_dns of this CreateEndpointResponse.
|
407
400
|
:type enable_dns: bool
|
408
401
|
"""
|
409
402
|
self._enable_dns = enable_dns
|
410
403
|
|
411
|
-
@property
|
412
|
-
def dns_names(self):
|
413
|
-
"""Gets the dns_names of this CreateEndpointResponse.
|
414
|
-
|
415
|
-
访问所连接的终端节点服务的域名。 当“enable_dns”为true时,该参数可见。
|
416
|
-
|
417
|
-
:return: The dns_names of this CreateEndpointResponse.
|
418
|
-
:rtype: list[str]
|
419
|
-
"""
|
420
|
-
return self._dns_names
|
421
|
-
|
422
|
-
@dns_names.setter
|
423
|
-
def dns_names(self, dns_names):
|
424
|
-
"""Sets the dns_names of this CreateEndpointResponse.
|
425
|
-
|
426
|
-
访问所连接的终端节点服务的域名。 当“enable_dns”为true时,该参数可见。
|
427
|
-
|
428
|
-
:param dns_names: The dns_names of this CreateEndpointResponse.
|
429
|
-
:type dns_names: list[str]
|
430
|
-
"""
|
431
|
-
self._dns_names = dns_names
|
432
|
-
|
433
404
|
@property
|
434
405
|
def subnet_id(self):
|
435
406
|
"""Gets the subnet_id of this CreateEndpointResponse.
|
@@ -481,7 +452,7 @@ class CreateEndpointResponse(SdkResponse):
|
|
481
452
|
终端节点的创建时间。 采用UTC时间格式,格式为:YYYY-MM-DDTHH:MM:SSZ
|
482
453
|
|
483
454
|
:return: The created_at of this CreateEndpointResponse.
|
484
|
-
:rtype:
|
455
|
+
:rtype: datetime
|
485
456
|
"""
|
486
457
|
return self._created_at
|
487
458
|
|
@@ -492,7 +463,7 @@ class CreateEndpointResponse(SdkResponse):
|
|
492
463
|
终端节点的创建时间。 采用UTC时间格式,格式为:YYYY-MM-DDTHH:MM:SSZ
|
493
464
|
|
494
465
|
:param created_at: The created_at of this CreateEndpointResponse.
|
495
|
-
:type created_at:
|
466
|
+
:type created_at: datetime
|
496
467
|
"""
|
497
468
|
self._created_at = created_at
|
498
469
|
|
@@ -503,7 +474,7 @@ class CreateEndpointResponse(SdkResponse):
|
|
503
474
|
终端节点的更新时间。 采用UTC时间格式,格式为:YYYY-MM-DDTHH:MM:SSZ
|
504
475
|
|
505
476
|
:return: The updated_at of this CreateEndpointResponse.
|
506
|
-
:rtype:
|
477
|
+
:rtype: datetime
|
507
478
|
"""
|
508
479
|
return self._updated_at
|
509
480
|
|
@@ -514,7 +485,7 @@ class CreateEndpointResponse(SdkResponse):
|
|
514
485
|
终端节点的更新时间。 采用UTC时间格式,格式为:YYYY-MM-DDTHH:MM:SSZ
|
515
486
|
|
516
487
|
:param updated_at: The updated_at of this CreateEndpointResponse.
|
517
|
-
:type updated_at:
|
488
|
+
:type updated_at: datetime
|
518
489
|
"""
|
519
490
|
self._updated_at = updated_at
|
520
491
|
|
@@ -588,7 +559,7 @@ class CreateEndpointResponse(SdkResponse):
|
|
588
559
|
def enable_whitelist(self):
|
589
560
|
"""Gets the enable_whitelist of this CreateEndpointResponse.
|
590
561
|
|
591
|
-
是否开启网络ACL隔离。
|
562
|
+
是否开启网络ACL隔离。 - true:开启网络ACL隔离 - false:不开启网络ACL隔离 若未指定,则返回false。 创建连接Interface类型终端节点服务的终端节点时,显示此参数。
|
592
563
|
|
593
564
|
:return: The enable_whitelist of this CreateEndpointResponse.
|
594
565
|
:rtype: bool
|
@@ -599,7 +570,7 @@ class CreateEndpointResponse(SdkResponse):
|
|
599
570
|
def enable_whitelist(self, enable_whitelist):
|
600
571
|
"""Sets the enable_whitelist of this CreateEndpointResponse.
|
601
572
|
|
602
|
-
是否开启网络ACL隔离。
|
573
|
+
是否开启网络ACL隔离。 - true:开启网络ACL隔离 - false:不开启网络ACL隔离 若未指定,则返回false。 创建连接Interface类型终端节点服务的终端节点时,显示此参数。
|
603
574
|
|
604
575
|
:param enable_whitelist: The enable_whitelist of this CreateEndpointResponse.
|
605
576
|
:type enable_whitelist: bool
|
@@ -679,7 +650,7 @@ class CreateEndpointResponse(SdkResponse):
|
|
679
650
|
只涉及开启双端固定的网关型终端节点,响应体展示此字段
|
680
651
|
|
681
652
|
:return: The policy_statement of this CreateEndpointResponse.
|
682
|
-
:rtype: list[
|
653
|
+
:rtype: list[:class:`huaweicloudsdkvpcep.v1.PolicyStatement`]
|
683
654
|
"""
|
684
655
|
return self._policy_statement
|
685
656
|
|
@@ -690,7 +661,7 @@ class CreateEndpointResponse(SdkResponse):
|
|
690
661
|
只涉及开启双端固定的网关型终端节点,响应体展示此字段
|
691
662
|
|
692
663
|
:param policy_statement: The policy_statement of this CreateEndpointResponse.
|
693
|
-
:type policy_statement: list[
|
664
|
+
:type policy_statement: list[:class:`huaweicloudsdkvpcep.v1.PolicyStatement`]
|
694
665
|
"""
|
695
666
|
self._policy_statement = policy_statement
|
696
667
|
|
@@ -698,7 +669,7 @@ class CreateEndpointResponse(SdkResponse):
|
|
698
669
|
def enable_status(self):
|
699
670
|
"""Gets the enable_status of this CreateEndpointResponse.
|
700
671
|
|
701
|
-
|
672
|
+
终端节点是否可用。 - enable:启用 - disable:不启用
|
702
673
|
|
703
674
|
:return: The enable_status of this CreateEndpointResponse.
|
704
675
|
:rtype: str
|
@@ -709,7 +680,7 @@ class CreateEndpointResponse(SdkResponse):
|
|
709
680
|
def enable_status(self, enable_status):
|
710
681
|
"""Sets the enable_status of this CreateEndpointResponse.
|
711
682
|
|
712
|
-
|
683
|
+
终端节点是否可用。 - enable:启用 - disable:不启用
|
713
684
|
|
714
685
|
:param enable_status: The enable_status of this CreateEndpointResponse.
|
715
686
|
:type enable_status: str
|