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
@@ -20,7 +20,7 @@ class PermissionObject:
|
|
20
20
|
'id': 'str',
|
21
21
|
'permission': 'str',
|
22
22
|
'permission_type': 'str',
|
23
|
-
'created_at': '
|
23
|
+
'created_at': 'datetime'
|
24
24
|
}
|
25
25
|
|
26
26
|
attribute_map = {
|
@@ -37,12 +37,12 @@ class PermissionObject:
|
|
37
37
|
|
38
38
|
:param id: permission的ID,唯一标识。
|
39
39
|
:type id: str
|
40
|
-
:param permission: permission列表。 权限格式为: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
|
-
:param permission_type: 终端节点服务白名单类型。
|
42
|
+
:param permission_type: 终端节点服务白名单类型。 - domainId:基于账户ID配置终端节点服务白名单。 - orgPath:基于账户所在组织路径配置终端节点服务白名单。
|
43
43
|
:type permission_type: str
|
44
44
|
:param created_at: 白名单的添加时间。 采用UTC时间格式,格式为:YYYY-MMDDTHH:MM:SSZ
|
45
|
-
:type created_at:
|
45
|
+
:type created_at: datetime
|
46
46
|
"""
|
47
47
|
|
48
48
|
|
@@ -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
|
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
|
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
|
@@ -110,7 +110,7 @@ class PermissionObject:
|
|
110
110
|
def permission_type(self):
|
111
111
|
"""Gets the permission_type of this PermissionObject.
|
112
112
|
|
113
|
-
终端节点服务白名单类型。
|
113
|
+
终端节点服务白名单类型。 - domainId:基于账户ID配置终端节点服务白名单。 - orgPath:基于账户所在组织路径配置终端节点服务白名单。
|
114
114
|
|
115
115
|
:return: The permission_type of this PermissionObject.
|
116
116
|
:rtype: str
|
@@ -121,7 +121,7 @@ class PermissionObject:
|
|
121
121
|
def permission_type(self, permission_type):
|
122
122
|
"""Sets the permission_type of this PermissionObject.
|
123
123
|
|
124
|
-
终端节点服务白名单类型。
|
124
|
+
终端节点服务白名单类型。 - domainId:基于账户ID配置终端节点服务白名单。 - orgPath:基于账户所在组织路径配置终端节点服务白名单。
|
125
125
|
|
126
126
|
:param permission_type: The permission_type of this PermissionObject.
|
127
127
|
:type permission_type: str
|
@@ -135,7 +135,7 @@ class PermissionObject:
|
|
135
135
|
白名单的添加时间。 采用UTC时间格式,格式为:YYYY-MMDDTHH:MM:SSZ
|
136
136
|
|
137
137
|
:return: The created_at of this PermissionObject.
|
138
|
-
:rtype:
|
138
|
+
:rtype: datetime
|
139
139
|
"""
|
140
140
|
return self._created_at
|
141
141
|
|
@@ -146,7 +146,7 @@ class PermissionObject:
|
|
146
146
|
白名单的添加时间。 采用UTC时间格式,格式为:YYYY-MMDDTHH:MM:SSZ
|
147
147
|
|
148
148
|
:param created_at: The created_at of this PermissionObject.
|
149
|
-
:type created_at:
|
149
|
+
:type created_at: datetime
|
150
150
|
"""
|
151
151
|
self._created_at = created_at
|
152
152
|
|
@@ -33,7 +33,7 @@ class PolicyStatement:
|
|
33
33
|
|
34
34
|
The model defined in huaweicloud sdk
|
35
35
|
|
36
|
-
:param effect:
|
36
|
+
:param effect: Allow允许或Refuse拒绝,控制访问权限
|
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
|
-
|
59
|
+
Allow允许或Refuse拒绝,控制访问权限
|
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
|
-
|
70
|
+
Allow允许或Refuse拒绝,控制访问权限
|
71
71
|
|
72
72
|
:param effect: The effect of this PolicyStatement.
|
73
73
|
:type effect: str
|
@@ -33,7 +33,7 @@ class Quotas:
|
|
33
33
|
|
34
34
|
The model defined in huaweicloud sdk
|
35
35
|
|
36
|
-
:param type: 资源类型。支持根据资源类型过滤查询指定类型的配额。
|
36
|
+
:param type: 资源类型。支持根据资源类型过滤查询指定类型的配额。 - endpoint_service:终端节点服务 - endpoint:终端节点
|
37
37
|
:type type: str
|
38
38
|
:param used: 已创建的资源个数。 取值范围:0~quota数。
|
39
39
|
:type used: int
|
@@ -59,7 +59,7 @@ class Quotas:
|
|
59
59
|
def type(self):
|
60
60
|
"""Gets the type of this Quotas.
|
61
61
|
|
62
|
-
资源类型。支持根据资源类型过滤查询指定类型的配额。
|
62
|
+
资源类型。支持根据资源类型过滤查询指定类型的配额。 - endpoint_service:终端节点服务 - endpoint:终端节点
|
63
63
|
|
64
64
|
:return: The type of this Quotas.
|
65
65
|
:rtype: str
|
@@ -70,7 +70,7 @@ class Quotas:
|
|
70
70
|
def type(self, type):
|
71
71
|
"""Sets the type of this Quotas.
|
72
72
|
|
73
|
-
资源类型。支持根据资源类型过滤查询指定类型的配额。
|
73
|
+
资源类型。支持根据资源类型过滤查询指定类型的配额。 - endpoint_service:终端节点服务 - endpoint:终端节点
|
74
74
|
|
75
75
|
:param type: The type of this Quotas.
|
76
76
|
:type type: str
|
@@ -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 ResourcesResponseBody:
|
9
9
|
|
10
10
|
"""
|
11
11
|
Attributes:
|
@@ -25,7 +25,7 @@ class ResourcesResp:
|
|
25
25
|
}
|
26
26
|
|
27
27
|
def __init__(self, resources=None):
|
28
|
-
"""
|
28
|
+
"""ResourcesResponseBody
|
29
29
|
|
30
30
|
The model defined in huaweicloud sdk
|
31
31
|
|
@@ -43,22 +43,22 @@ class ResourcesResp:
|
|
43
43
|
|
44
44
|
@property
|
45
45
|
def resources(self):
|
46
|
-
"""Gets the resources of this
|
46
|
+
"""Gets the resources of this ResourcesResponseBody.
|
47
47
|
|
48
48
|
资源列表
|
49
49
|
|
50
|
-
:return: The resources of this
|
50
|
+
:return: The resources of this ResourcesResponseBody.
|
51
51
|
:rtype: list[:class:`huaweicloudsdkvpcep.v1.Quotas`]
|
52
52
|
"""
|
53
53
|
return self._resources
|
54
54
|
|
55
55
|
@resources.setter
|
56
56
|
def resources(self, resources):
|
57
|
-
"""Sets the resources of this
|
57
|
+
"""Sets the resources of this ResourcesResponseBody.
|
58
58
|
|
59
59
|
资源列表
|
60
60
|
|
61
|
-
:param resources: The resources of this
|
61
|
+
:param resources: The resources of this ResourcesResponseBody.
|
62
62
|
:type resources: list[:class:`huaweicloudsdkvpcep.v1.Quotas`]
|
63
63
|
"""
|
64
64
|
self._resources = resources
|
@@ -105,7 +105,7 @@ class ResourcesResp:
|
|
105
105
|
|
106
106
|
def __eq__(self, other):
|
107
107
|
"""Returns true if both objects are equal"""
|
108
|
-
if not isinstance(other,
|
108
|
+
if not isinstance(other, ResourcesResponseBody):
|
109
109
|
return False
|
110
110
|
|
111
111
|
return self.__dict__ == other.__dict__
|
@@ -25,8 +25,8 @@ class ServiceList:
|
|
25
25
|
'approval_enabled': 'bool',
|
26
26
|
'status': 'str',
|
27
27
|
'service_type': 'str',
|
28
|
-
'created_at': '
|
29
|
-
'updated_at': '
|
28
|
+
'created_at': 'datetime',
|
29
|
+
'updated_at': 'datetime',
|
30
30
|
'project_id': 'str',
|
31
31
|
'domain_id': 'str',
|
32
32
|
'ports': 'list[PortList]',
|
@@ -69,24 +69,24 @@ class ServiceList:
|
|
69
69
|
|
70
70
|
:param id: 终端节点服务的ID,唯一标识。
|
71
71
|
:type id: str
|
72
|
-
:param port_id: 标识终端节点服务后端资源的ID, 格式为通用唯一识别码(Universally Unique Identifier,下文简称UUID)。取值为:
|
72
|
+
:param port_id: 标识终端节点服务后端资源的ID, 格式为通用唯一识别码(Universally Unique Identifier,下文简称UUID)。取值为: - LB类型:负载均衡器内网IP对应的端口ID。 - VM类型:弹性云服务器IP地址对应的网卡ID。 - VIP类型:虚拟资源所在物理服务器对应的网卡ID。(该字段已废弃,请优先使用LB类型)
|
73
73
|
:type port_id: str
|
74
74
|
:param service_name: 终端节点服务的名称。
|
75
75
|
:type service_name: str
|
76
|
-
:param server_type: 资源类型。
|
76
|
+
:param server_type: 资源类型。 - VM:云服务器。 - VIP:虚拟IP。 - LB:增强负载均衡型。
|
77
77
|
:type server_type: str
|
78
78
|
:param vpc_id: 终端节点服务对应后端资源所在的VPC的ID。
|
79
79
|
:type vpc_id: str
|
80
|
-
:param approval_enabled: 是否需要审批。
|
80
|
+
:param approval_enabled: 是否需要审批。 - false:不需要审批,创建的终端节点连接直接为accepted状态。 - true:需要审批,创建的终端节点连接为pendingAcceptance状态, 需要终端节点服务所属用户审核后方可使用。
|
81
81
|
:type approval_enabled: bool
|
82
|
-
:param status: 终端节点服务的状态。
|
82
|
+
:param status: 终端节点服务的状态。 - creating:创建中 - available:可连接 - failed:失败 - deleting:删除中
|
83
83
|
:type status: str
|
84
|
-
:param service_type: 终端节点服务类型。 终端节点服务类型包括“网关(
|
84
|
+
:param service_type: 终端节点服务类型。 终端节点服务类型包括“网关(gateway)型”和“接口(interface)型”: - gateway:由运维人员配置。用户无需创建,可直接使用。 - interface:包括运维人员配置的云服务和用户自己创建的私有服务。 其中,运维人员配置的云服务无需创建,用户可直接使用。 您可以通过创建终端节点创建访问Gateway和Interface类型终端节点服务的终端节点。
|
85
85
|
:type service_type: str
|
86
86
|
:param created_at: 终端节点服务的创建时间。 采用UTC时间格式,格式为:YYYY-MMDDTHH:MM:SSZ
|
87
|
-
:type created_at:
|
87
|
+
:type created_at: datetime
|
88
88
|
:param updated_at: 终端节点服务的更新时间。 采用UTC时间格式,格式为:YYYY-MMDDTHH:MM:SSZ
|
89
|
-
:type updated_at:
|
89
|
+
:type updated_at: datetime
|
90
90
|
:param project_id: 项目ID,获取方法请参见获取项目ID。
|
91
91
|
:type project_id: str
|
92
92
|
:param domain_id: Domain ID
|
@@ -97,7 +97,7 @@ class ServiceList:
|
|
97
97
|
:type tags: list[:class:`huaweicloudsdkvpcep.v1.TagList`]
|
98
98
|
:param connection_count: 终端节点服务下连接的状态为“创建中”或“已接受”的终端节点的个数。
|
99
99
|
:type connection_count: int
|
100
|
-
:param tcp_proxy: 用于控制将哪些信息(如客户端的源IP、源端口、marker_id等)携带到服务端。 支持携带的客户端信息包括如下两种类型:
|
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”。 - proxy_vni: 关闭toa,开启proxy和vni。 默认值为“close”。
|
101
101
|
:type tcp_proxy: str
|
102
102
|
:param error: 提交任务异常时返回的异常信息
|
103
103
|
:type error: list[:class:`huaweicloudsdkvpcep.v1.Error`]
|
@@ -105,7 +105,7 @@ class ServiceList:
|
|
105
105
|
:type description: str
|
106
106
|
:param public_border_group: 终端节点服务对应Pool的Public Border Group信息
|
107
107
|
:type public_border_group: str
|
108
|
-
:param enable_policy: 是否开启终端节点策略。
|
108
|
+
:param enable_policy: 是否开启终端节点策略。 - false:不支持设置终端节点策略 - true:支持设置终端节点策略 默认为false
|
109
109
|
:type enable_policy: bool
|
110
110
|
"""
|
111
111
|
|
@@ -200,7 +200,7 @@ class ServiceList:
|
|
200
200
|
def port_id(self):
|
201
201
|
"""Gets the port_id of this ServiceList.
|
202
202
|
|
203
|
-
标识终端节点服务后端资源的ID, 格式为通用唯一识别码(Universally Unique Identifier,下文简称UUID)。取值为:
|
203
|
+
标识终端节点服务后端资源的ID, 格式为通用唯一识别码(Universally Unique Identifier,下文简称UUID)。取值为: - LB类型:负载均衡器内网IP对应的端口ID。 - VM类型:弹性云服务器IP地址对应的网卡ID。 - VIP类型:虚拟资源所在物理服务器对应的网卡ID。(该字段已废弃,请优先使用LB类型)
|
204
204
|
|
205
205
|
:return: The port_id of this ServiceList.
|
206
206
|
:rtype: str
|
@@ -211,7 +211,7 @@ class ServiceList:
|
|
211
211
|
def port_id(self, port_id):
|
212
212
|
"""Sets the port_id of this ServiceList.
|
213
213
|
|
214
|
-
标识终端节点服务后端资源的ID, 格式为通用唯一识别码(Universally Unique Identifier,下文简称UUID)。取值为:
|
214
|
+
标识终端节点服务后端资源的ID, 格式为通用唯一识别码(Universally Unique Identifier,下文简称UUID)。取值为: - LB类型:负载均衡器内网IP对应的端口ID。 - VM类型:弹性云服务器IP地址对应的网卡ID。 - VIP类型:虚拟资源所在物理服务器对应的网卡ID。(该字段已废弃,请优先使用LB类型)
|
215
215
|
|
216
216
|
:param port_id: The port_id of this ServiceList.
|
217
217
|
:type port_id: str
|
@@ -244,7 +244,7 @@ class ServiceList:
|
|
244
244
|
def server_type(self):
|
245
245
|
"""Gets the server_type of this ServiceList.
|
246
246
|
|
247
|
-
资源类型。
|
247
|
+
资源类型。 - VM:云服务器。 - VIP:虚拟IP。 - LB:增强负载均衡型。
|
248
248
|
|
249
249
|
:return: The server_type of this ServiceList.
|
250
250
|
:rtype: str
|
@@ -255,7 +255,7 @@ class ServiceList:
|
|
255
255
|
def server_type(self, server_type):
|
256
256
|
"""Sets the server_type of this ServiceList.
|
257
257
|
|
258
|
-
资源类型。
|
258
|
+
资源类型。 - VM:云服务器。 - VIP:虚拟IP。 - LB:增强负载均衡型。
|
259
259
|
|
260
260
|
:param server_type: The server_type of this ServiceList.
|
261
261
|
:type server_type: str
|
@@ -288,7 +288,7 @@ class ServiceList:
|
|
288
288
|
def approval_enabled(self):
|
289
289
|
"""Gets the approval_enabled of this ServiceList.
|
290
290
|
|
291
|
-
是否需要审批。
|
291
|
+
是否需要审批。 - false:不需要审批,创建的终端节点连接直接为accepted状态。 - true:需要审批,创建的终端节点连接为pendingAcceptance状态, 需要终端节点服务所属用户审核后方可使用。
|
292
292
|
|
293
293
|
:return: The approval_enabled of this ServiceList.
|
294
294
|
:rtype: bool
|
@@ -299,7 +299,7 @@ class ServiceList:
|
|
299
299
|
def approval_enabled(self, approval_enabled):
|
300
300
|
"""Sets the approval_enabled of this ServiceList.
|
301
301
|
|
302
|
-
是否需要审批。
|
302
|
+
是否需要审批。 - false:不需要审批,创建的终端节点连接直接为accepted状态。 - true:需要审批,创建的终端节点连接为pendingAcceptance状态, 需要终端节点服务所属用户审核后方可使用。
|
303
303
|
|
304
304
|
:param approval_enabled: The approval_enabled of this ServiceList.
|
305
305
|
:type approval_enabled: bool
|
@@ -310,7 +310,7 @@ class ServiceList:
|
|
310
310
|
def status(self):
|
311
311
|
"""Gets the status of this ServiceList.
|
312
312
|
|
313
|
-
终端节点服务的状态。
|
313
|
+
终端节点服务的状态。 - creating:创建中 - available:可连接 - failed:失败 - deleting:删除中
|
314
314
|
|
315
315
|
:return: The status of this ServiceList.
|
316
316
|
:rtype: str
|
@@ -321,7 +321,7 @@ class ServiceList:
|
|
321
321
|
def status(self, status):
|
322
322
|
"""Sets the status of this ServiceList.
|
323
323
|
|
324
|
-
终端节点服务的状态。
|
324
|
+
终端节点服务的状态。 - creating:创建中 - available:可连接 - failed:失败 - deleting:删除中
|
325
325
|
|
326
326
|
:param status: The status of this ServiceList.
|
327
327
|
:type status: str
|
@@ -332,7 +332,7 @@ class ServiceList:
|
|
332
332
|
def service_type(self):
|
333
333
|
"""Gets the service_type of this ServiceList.
|
334
334
|
|
335
|
-
终端节点服务类型。 终端节点服务类型包括“网关(
|
335
|
+
终端节点服务类型。 终端节点服务类型包括“网关(gateway)型”和“接口(interface)型”: - gateway:由运维人员配置。用户无需创建,可直接使用。 - interface:包括运维人员配置的云服务和用户自己创建的私有服务。 其中,运维人员配置的云服务无需创建,用户可直接使用。 您可以通过创建终端节点创建访问Gateway和Interface类型终端节点服务的终端节点。
|
336
336
|
|
337
337
|
:return: The service_type of this ServiceList.
|
338
338
|
:rtype: str
|
@@ -343,7 +343,7 @@ class ServiceList:
|
|
343
343
|
def service_type(self, service_type):
|
344
344
|
"""Sets the service_type of this ServiceList.
|
345
345
|
|
346
|
-
终端节点服务类型。 终端节点服务类型包括“网关(
|
346
|
+
终端节点服务类型。 终端节点服务类型包括“网关(gateway)型”和“接口(interface)型”: - gateway:由运维人员配置。用户无需创建,可直接使用。 - interface:包括运维人员配置的云服务和用户自己创建的私有服务。 其中,运维人员配置的云服务无需创建,用户可直接使用。 您可以通过创建终端节点创建访问Gateway和Interface类型终端节点服务的终端节点。
|
347
347
|
|
348
348
|
:param service_type: The service_type of this ServiceList.
|
349
349
|
:type service_type: str
|
@@ -357,7 +357,7 @@ class ServiceList:
|
|
357
357
|
终端节点服务的创建时间。 采用UTC时间格式,格式为:YYYY-MMDDTHH:MM:SSZ
|
358
358
|
|
359
359
|
:return: The created_at of this ServiceList.
|
360
|
-
:rtype:
|
360
|
+
:rtype: datetime
|
361
361
|
"""
|
362
362
|
return self._created_at
|
363
363
|
|
@@ -368,7 +368,7 @@ class ServiceList:
|
|
368
368
|
终端节点服务的创建时间。 采用UTC时间格式,格式为:YYYY-MMDDTHH:MM:SSZ
|
369
369
|
|
370
370
|
:param created_at: The created_at of this ServiceList.
|
371
|
-
:type created_at:
|
371
|
+
:type created_at: datetime
|
372
372
|
"""
|
373
373
|
self._created_at = created_at
|
374
374
|
|
@@ -379,7 +379,7 @@ class ServiceList:
|
|
379
379
|
终端节点服务的更新时间。 采用UTC时间格式,格式为:YYYY-MMDDTHH:MM:SSZ
|
380
380
|
|
381
381
|
:return: The updated_at of this ServiceList.
|
382
|
-
:rtype:
|
382
|
+
:rtype: datetime
|
383
383
|
"""
|
384
384
|
return self._updated_at
|
385
385
|
|
@@ -390,7 +390,7 @@ class ServiceList:
|
|
390
390
|
终端节点服务的更新时间。 采用UTC时间格式,格式为:YYYY-MMDDTHH:MM:SSZ
|
391
391
|
|
392
392
|
:param updated_at: The updated_at of this ServiceList.
|
393
|
-
:type updated_at:
|
393
|
+
:type updated_at: datetime
|
394
394
|
"""
|
395
395
|
self._updated_at = updated_at
|
396
396
|
|
@@ -508,7 +508,7 @@ class ServiceList:
|
|
508
508
|
def tcp_proxy(self):
|
509
509
|
"""Gets the tcp_proxy of this ServiceList.
|
510
510
|
|
511
|
-
用于控制将哪些信息(如客户端的源IP、源端口、marker_id等)携带到服务端。 支持携带的客户端信息包括如下两种类型:
|
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”。 - proxy_vni: 关闭toa,开启proxy和vni。 默认值为“close”。
|
512
512
|
|
513
513
|
:return: The tcp_proxy of this ServiceList.
|
514
514
|
:rtype: str
|
@@ -519,7 +519,7 @@ class ServiceList:
|
|
519
519
|
def tcp_proxy(self, tcp_proxy):
|
520
520
|
"""Sets the tcp_proxy of this ServiceList.
|
521
521
|
|
522
|
-
用于控制将哪些信息(如客户端的源IP、源端口、marker_id等)携带到服务端。 支持携带的客户端信息包括如下两种类型:
|
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”。 - proxy_vni: 关闭toa,开启proxy和vni。 默认值为“close”。
|
523
523
|
|
524
524
|
:param tcp_proxy: The tcp_proxy of this ServiceList.
|
525
525
|
:type tcp_proxy: str
|
@@ -596,7 +596,7 @@ class ServiceList:
|
|
596
596
|
def enable_policy(self):
|
597
597
|
"""Gets the enable_policy of this ServiceList.
|
598
598
|
|
599
|
-
是否开启终端节点策略。
|
599
|
+
是否开启终端节点策略。 - false:不支持设置终端节点策略 - true:支持设置终端节点策略 默认为false
|
600
600
|
|
601
601
|
:return: The enable_policy of this ServiceList.
|
602
602
|
:rtype: bool
|
@@ -607,7 +607,7 @@ class ServiceList:
|
|
607
607
|
def enable_policy(self, enable_policy):
|
608
608
|
"""Sets the enable_policy of this ServiceList.
|
609
609
|
|
610
|
-
是否开启终端节点策略。
|
610
|
+
是否开启终端节点策略。 - false:不支持设置终端节点策略 - true:支持设置终端节点策略 默认为false
|
611
611
|
|
612
612
|
:param enable_policy: The enable_policy of this ServiceList.
|
613
613
|
:type enable_policy: bool
|
@@ -18,7 +18,7 @@ class UpdateEndpointConnectionsDescRequest:
|
|
18
18
|
|
19
19
|
openapi_types = {
|
20
20
|
'vpc_endpoint_service_id': 'str',
|
21
|
-
'body': '
|
21
|
+
'body': 'UpdateEndpointConnectionsDescRequestBody'
|
22
22
|
}
|
23
23
|
|
24
24
|
attribute_map = {
|
@@ -34,7 +34,7 @@ class UpdateEndpointConnectionsDescRequest:
|
|
34
34
|
:param vpc_endpoint_service_id: 终端节点服务ID
|
35
35
|
:type vpc_endpoint_service_id: str
|
36
36
|
:param body: Body of the UpdateEndpointConnectionsDescRequest
|
37
|
-
:type body: :class:`huaweicloudsdkvpcep.v1.
|
37
|
+
:type body: :class:`huaweicloudsdkvpcep.v1.UpdateEndpointConnectionsDescRequestBody`
|
38
38
|
"""
|
39
39
|
|
40
40
|
|
@@ -74,7 +74,7 @@ class UpdateEndpointConnectionsDescRequest:
|
|
74
74
|
"""Gets the body of this UpdateEndpointConnectionsDescRequest.
|
75
75
|
|
76
76
|
:return: The body of this UpdateEndpointConnectionsDescRequest.
|
77
|
-
:rtype: :class:`huaweicloudsdkvpcep.v1.
|
77
|
+
:rtype: :class:`huaweicloudsdkvpcep.v1.UpdateEndpointConnectionsDescRequestBody`
|
78
78
|
"""
|
79
79
|
return self._body
|
80
80
|
|
@@ -83,7 +83,7 @@ class UpdateEndpointConnectionsDescRequest:
|
|
83
83
|
"""Sets the body of this UpdateEndpointConnectionsDescRequest.
|
84
84
|
|
85
85
|
:param body: The body of this UpdateEndpointConnectionsDescRequest.
|
86
|
-
:type body: :class:`huaweicloudsdkvpcep.v1.
|
86
|
+
:type body: :class:`huaweicloudsdkvpcep.v1.UpdateEndpointConnectionsDescRequestBody`
|
87
87
|
"""
|
88
88
|
self._body = body
|
89
89
|
|
@@ -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 UpdateEndpointConnectionsDescRequestBody:
|
9
9
|
|
10
10
|
"""
|
11
11
|
Attributes:
|
@@ -25,7 +25,7 @@ class UpdateEpConnections:
|
|
25
25
|
}
|
26
26
|
|
27
27
|
def __init__(self, connections=None):
|
28
|
-
"""
|
28
|
+
"""UpdateEndpointConnectionsDescRequestBody
|
29
29
|
|
30
30
|
The model defined in huaweicloud sdk
|
31
31
|
|
@@ -42,22 +42,22 @@ class UpdateEpConnections:
|
|
42
42
|
|
43
43
|
@property
|
44
44
|
def connections(self):
|
45
|
-
"""Gets the connections of this
|
45
|
+
"""Gets the connections of this UpdateEndpointConnectionsDescRequestBody.
|
46
46
|
|
47
47
|
连接管理描述字段列表
|
48
48
|
|
49
|
-
:return: The connections of this
|
49
|
+
:return: The connections of this UpdateEndpointConnectionsDescRequestBody.
|
50
50
|
:rtype: list[:class:`huaweicloudsdkvpcep.v1.ConnectionsDesc`]
|
51
51
|
"""
|
52
52
|
return self._connections
|
53
53
|
|
54
54
|
@connections.setter
|
55
55
|
def connections(self, connections):
|
56
|
-
"""Sets the connections of this
|
56
|
+
"""Sets the connections of this UpdateEndpointConnectionsDescRequestBody.
|
57
57
|
|
58
58
|
连接管理描述字段列表
|
59
59
|
|
60
|
-
:param connections: The connections of this
|
60
|
+
:param connections: The connections of this UpdateEndpointConnectionsDescRequestBody.
|
61
61
|
:type connections: list[:class:`huaweicloudsdkvpcep.v1.ConnectionsDesc`]
|
62
62
|
"""
|
63
63
|
self._connections = connections
|
@@ -104,7 +104,7 @@ class UpdateEpConnections:
|
|
104
104
|
|
105
105
|
def __eq__(self, other):
|
106
106
|
"""Returns true if both objects are equal"""
|
107
|
-
if not isinstance(other,
|
107
|
+
if not isinstance(other, UpdateEndpointConnectionsDescRequestBody):
|
108
108
|
return False
|
109
109
|
|
110
110
|
return self.__dict__ == other.__dict__
|