huaweicloudsdkvpcep 3.1.102__py2.py3-none-any.whl → 3.1.104__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/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/create_endpoint_request_body.py +102 -15
- huaweicloudsdkvpcep/v1/model/create_endpoint_response.py +47 -18
- huaweicloudsdkvpcep/v1/model/create_endpoint_service_request_body.py +27 -27
- huaweicloudsdkvpcep/v1/model/create_endpoint_service_response.py +38 -9
- huaweicloudsdkvpcep/v1/model/delete_endpoint_policy_response.py +9 -9
- huaweicloudsdkvpcep/v1/model/endpoint_response_body.py +12 -12
- huaweicloudsdkvpcep/v1/model/endpoint_service.py +3 -3
- 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 +44 -15
- huaweicloudsdkvpcep/v1/model/list_endpoints_request.py +3 -32
- huaweicloudsdkvpcep/v1/model/list_service_describe_details_response.py +3 -3
- huaweicloudsdkvpcep/v1/model/list_service_details_response.py +6 -6
- huaweicloudsdkvpcep/v1/model/list_service_permissions_details_request.py +3 -3
- huaweicloudsdkvpcep/v1/model/permission_object.py +3 -3
- huaweicloudsdkvpcep/v1/model/service_list.py +6 -6
- huaweicloudsdkvpcep/v1/model/update_endpoint_policy_request_body.py +3 -3
- huaweicloudsdkvpcep/v1/model/update_endpoint_policy_response.py +9 -9
- huaweicloudsdkvpcep/v1/model/update_endpoint_service_request_body.py +6 -6
- huaweicloudsdkvpcep/v1/model/update_endpoint_service_response.py +38 -9
- huaweicloudsdkvpcep/v1/model/update_endpoint_white_response.py +6 -6
- huaweicloudsdkvpcep/v1/vpcep_async_client.py +3 -5
- huaweicloudsdkvpcep/v1/vpcep_client.py +3 -5
- {huaweicloudsdkvpcep-3.1.102.dist-info → huaweicloudsdkvpcep-3.1.104.dist-info}/METADATA +2 -2
- {huaweicloudsdkvpcep-3.1.102.dist-info → huaweicloudsdkvpcep-3.1.104.dist-info}/RECORD +30 -30
- {huaweicloudsdkvpcep-3.1.102.dist-info → huaweicloudsdkvpcep-3.1.104.dist-info}/LICENSE +0 -0
- {huaweicloudsdkvpcep-3.1.102.dist-info → huaweicloudsdkvpcep-3.1.104.dist-info}/WHEEL +0 -0
- {huaweicloudsdkvpcep-3.1.102.dist-info → huaweicloudsdkvpcep-3.1.104.dist-info}/top_level.txt +0 -0
@@ -33,7 +33,7 @@ class AddOrRemoveServicePermissionsRequestBody:
|
|
33
33
|
|
34
34
|
The model defined in huaweicloud sdk
|
35
35
|
|
36
|
-
:param permissions: permission列表。 权限格式为: - iam:domain::domain_id。其中: “iam:domain::”为固定格式,“domain_id
|
36
|
+
:param permissions: 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/* - *
|
37
37
|
:type permissions: list[str]
|
38
38
|
:param permission_type: 终端节点服务白名单类型。 - domainId:基于账户ID配置终端节点服务白名单。 - orgPath:基于账户所在组织路径配置终端节点服务白名单。
|
39
39
|
:type permission_type: str
|
@@ -57,7 +57,7 @@ class AddOrRemoveServicePermissionsRequestBody:
|
|
57
57
|
def permissions(self):
|
58
58
|
"""Gets the permissions of this AddOrRemoveServicePermissionsRequestBody.
|
59
59
|
|
60
|
-
permission列表。 权限格式为: - iam:domain::domain_id。其中: “iam:domain::”为固定格式,“domain_id
|
60
|
+
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/* - *
|
61
61
|
|
62
62
|
:return: The permissions of this AddOrRemoveServicePermissionsRequestBody.
|
63
63
|
:rtype: list[str]
|
@@ -68,7 +68,7 @@ class AddOrRemoveServicePermissionsRequestBody:
|
|
68
68
|
def permissions(self, permissions):
|
69
69
|
"""Sets the permissions of this AddOrRemoveServicePermissionsRequestBody.
|
70
70
|
|
71
|
-
permission列表。 权限格式为: - iam:domain::domain_id。其中: “iam:domain::”为固定格式,“domain_id
|
71
|
+
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/* - *
|
72
72
|
|
73
73
|
:param permissions: The permissions of this AddOrRemoveServicePermissionsRequestBody.
|
74
74
|
:type permissions: list[str]
|
@@ -32,7 +32,7 @@ class AddOrRemoveServicePermissionsResponse(SdkResponse):
|
|
32
32
|
|
33
33
|
The model defined in huaweicloud sdk
|
34
34
|
|
35
|
-
:param permissions: permission列表。 权限格式为: - iam:domain::domain_id。其中: “iam:domain::”为固定格式,“domain_id
|
35
|
+
:param permissions: 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/* - *
|
36
36
|
:type permissions: list[str]
|
37
37
|
:param permission_type: 终端节点服务白名单类型。 - domainId:基于账户ID配置终端节点服务白名单。 - orgPath:基于账户所在组织路径配置终端节点服务白名单。
|
38
38
|
:type permission_type: str
|
@@ -53,7 +53,7 @@ class AddOrRemoveServicePermissionsResponse(SdkResponse):
|
|
53
53
|
def permissions(self):
|
54
54
|
"""Gets the permissions of this AddOrRemoveServicePermissionsResponse.
|
55
55
|
|
56
|
-
permission列表。 权限格式为: - iam:domain::domain_id。其中: “iam:domain::”为固定格式,“domain_id
|
56
|
+
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/* - *
|
57
57
|
|
58
58
|
:return: The permissions of this AddOrRemoveServicePermissionsResponse.
|
59
59
|
:rtype: list[str]
|
@@ -64,7 +64,7 @@ class AddOrRemoveServicePermissionsResponse(SdkResponse):
|
|
64
64
|
def permissions(self, permissions):
|
65
65
|
"""Sets the permissions of this AddOrRemoveServicePermissionsResponse.
|
66
66
|
|
67
|
-
permission列表。 权限格式为: - iam:domain::domain_id。其中: “iam:domain::”为固定格式,“domain_id
|
67
|
+
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/* - *
|
68
68
|
|
69
69
|
:param permissions: The permissions of this AddOrRemoveServicePermissionsResponse.
|
70
70
|
:type permissions: list[str]
|
@@ -26,7 +26,10 @@ class CreateEndpointRequestBody:
|
|
26
26
|
'port_ip': 'str',
|
27
27
|
'whitelist': 'list[str]',
|
28
28
|
'enable_whitelist': 'bool',
|
29
|
-
'description': 'str'
|
29
|
+
'description': 'str',
|
30
|
+
'policy_statement': 'list[PolicyStatement]',
|
31
|
+
'ip_version': 'str',
|
32
|
+
'ipv6_address': 'str'
|
30
33
|
}
|
31
34
|
|
32
35
|
attribute_map = {
|
@@ -39,25 +42,28 @@ class CreateEndpointRequestBody:
|
|
39
42
|
'port_ip': 'port_ip',
|
40
43
|
'whitelist': 'whitelist',
|
41
44
|
'enable_whitelist': 'enable_whitelist',
|
42
|
-
'description': 'description'
|
45
|
+
'description': 'description',
|
46
|
+
'policy_statement': 'policy_statement',
|
47
|
+
'ip_version': 'ip_version',
|
48
|
+
'ipv6_address': 'ipv6_address'
|
43
49
|
}
|
44
50
|
|
45
|
-
def __init__(self, subnet_id=None, endpoint_service_id=None, vpc_id=None, enable_dns=None, tags=None, routetables=None, port_ip=None, whitelist=None, enable_whitelist=None, description=None):
|
51
|
+
def __init__(self, subnet_id=None, endpoint_service_id=None, vpc_id=None, enable_dns=None, tags=None, routetables=None, port_ip=None, whitelist=None, enable_whitelist=None, description=None, policy_statement=None, ip_version=None, ipv6_address=None):
|
46
52
|
"""CreateEndpointRequestBody
|
47
53
|
|
48
54
|
The model defined in huaweicloud sdk
|
49
55
|
|
50
|
-
:param subnet_id:
|
56
|
+
:param subnet_id: 创建连接Interface类型终端节点服务的终端节点时,此参数必选。 需要指定vpc_id对应VPC下已创建的网络(network)的ID,UUID格式。 说明: - VPC的子网网段不能与198.19.128.0/17重叠 - VPC路由表中自定义路由的目的地址不能与198.19.128.0/17重叠
|
51
57
|
:type subnet_id: str
|
52
58
|
:param endpoint_service_id: 终端节点服务的ID。 可以通过查询终端节点服务概 要获取要连接的终端节点服务 ID。
|
53
59
|
:type endpoint_service_id: str
|
54
|
-
:param vpc_id: 终端节点所在的VPC的ID。
|
60
|
+
:param vpc_id: 终端节点所在的VPC的ID。
|
55
61
|
:type vpc_id: str
|
56
|
-
:param enable_dns: 是否创建域名。 - true:创建域名 - false:不创建域名 默认值为false。 说明
|
62
|
+
:param enable_dns: 是否创建域名。 - true:创建域名 - false:不创建域名 默认值为false。 说明 当创建gateway类型终端节点服务的终端节点时, “enable_dns”设置为true或者false,均不创建域名。
|
57
63
|
:type enable_dns: bool
|
58
64
|
:param tags: 标签列表,没有标签默认为空数组。
|
59
65
|
:type tags: list[:class:`huaweicloudsdkvpcep.v1.TagList`]
|
60
|
-
:param routetables: 路由表ID
|
66
|
+
:param routetables: 路由表ID列表。 创建gateway类型终端节点服务的终端节点时,此参数必选。 不设置此参数时,选择默认路由表。
|
61
67
|
:type routetables: list[str]
|
62
68
|
:param port_ip: 访问所连接的终端节点服务的IP。 创建终端节点时,可以指定访问所连接的终端节点服务的IP,目前只支持IPv4类型 。 创建连接Interface类型终端节点服务的终端节点时,此参数必选。
|
63
69
|
:type port_ip: str
|
@@ -67,6 +73,12 @@ class CreateEndpointRequestBody:
|
|
67
73
|
:type enable_whitelist: bool
|
68
74
|
:param description: 描述字段,支持中英文字母、数字等字符,不支持“<”或“>”字符。
|
69
75
|
:type description: str
|
76
|
+
:param policy_statement: 终端节点策略信息
|
77
|
+
:type policy_statement: list[:class:`huaweicloudsdkvpcep.v1.PolicyStatement`]
|
78
|
+
:param ip_version: 指定终端节点的IP版本,仅专业型终端节点支持此参数。 ● ipv4, IPv4 ● dualstack, 双栈
|
79
|
+
:type ip_version: str
|
80
|
+
:param ipv6_address: 访问所连接的终端节点服务的IPv6的地址。 创建终端节点时,可以指定访问所连接的终端节点服务的IP,不指定的情况下,会使用系统生成的一个地址。 仅专业型终端节点支持此参数。
|
81
|
+
:type ipv6_address: str
|
70
82
|
"""
|
71
83
|
|
72
84
|
|
@@ -81,6 +93,9 @@ class CreateEndpointRequestBody:
|
|
81
93
|
self._whitelist = None
|
82
94
|
self._enable_whitelist = None
|
83
95
|
self._description = None
|
96
|
+
self._policy_statement = None
|
97
|
+
self._ip_version = None
|
98
|
+
self._ipv6_address = None
|
84
99
|
self.discriminator = None
|
85
100
|
|
86
101
|
if subnet_id is not None:
|
@@ -101,12 +116,18 @@ class CreateEndpointRequestBody:
|
|
101
116
|
self.enable_whitelist = enable_whitelist
|
102
117
|
if description is not None:
|
103
118
|
self.description = description
|
119
|
+
if policy_statement is not None:
|
120
|
+
self.policy_statement = policy_statement
|
121
|
+
if ip_version is not None:
|
122
|
+
self.ip_version = ip_version
|
123
|
+
if ipv6_address is not None:
|
124
|
+
self.ipv6_address = ipv6_address
|
104
125
|
|
105
126
|
@property
|
106
127
|
def subnet_id(self):
|
107
128
|
"""Gets the subnet_id of this CreateEndpointRequestBody.
|
108
129
|
|
109
|
-
|
130
|
+
创建连接Interface类型终端节点服务的终端节点时,此参数必选。 需要指定vpc_id对应VPC下已创建的网络(network)的ID,UUID格式。 说明: - VPC的子网网段不能与198.19.128.0/17重叠 - VPC路由表中自定义路由的目的地址不能与198.19.128.0/17重叠
|
110
131
|
|
111
132
|
:return: The subnet_id of this CreateEndpointRequestBody.
|
112
133
|
:rtype: str
|
@@ -117,7 +138,7 @@ class CreateEndpointRequestBody:
|
|
117
138
|
def subnet_id(self, subnet_id):
|
118
139
|
"""Sets the subnet_id of this CreateEndpointRequestBody.
|
119
140
|
|
120
|
-
|
141
|
+
创建连接Interface类型终端节点服务的终端节点时,此参数必选。 需要指定vpc_id对应VPC下已创建的网络(network)的ID,UUID格式。 说明: - VPC的子网网段不能与198.19.128.0/17重叠 - VPC路由表中自定义路由的目的地址不能与198.19.128.0/17重叠
|
121
142
|
|
122
143
|
:param subnet_id: The subnet_id of this CreateEndpointRequestBody.
|
123
144
|
:type subnet_id: str
|
@@ -150,7 +171,7 @@ class CreateEndpointRequestBody:
|
|
150
171
|
def vpc_id(self):
|
151
172
|
"""Gets the vpc_id of this CreateEndpointRequestBody.
|
152
173
|
|
153
|
-
终端节点所在的VPC的ID。
|
174
|
+
终端节点所在的VPC的ID。
|
154
175
|
|
155
176
|
:return: The vpc_id of this CreateEndpointRequestBody.
|
156
177
|
:rtype: str
|
@@ -161,7 +182,7 @@ class CreateEndpointRequestBody:
|
|
161
182
|
def vpc_id(self, vpc_id):
|
162
183
|
"""Sets the vpc_id of this CreateEndpointRequestBody.
|
163
184
|
|
164
|
-
终端节点所在的VPC的ID。
|
185
|
+
终端节点所在的VPC的ID。
|
165
186
|
|
166
187
|
:param vpc_id: The vpc_id of this CreateEndpointRequestBody.
|
167
188
|
:type vpc_id: str
|
@@ -172,7 +193,7 @@ class CreateEndpointRequestBody:
|
|
172
193
|
def enable_dns(self):
|
173
194
|
"""Gets the enable_dns of this CreateEndpointRequestBody.
|
174
195
|
|
175
|
-
是否创建域名。 - true:创建域名 - false:不创建域名 默认值为false。 说明
|
196
|
+
是否创建域名。 - true:创建域名 - false:不创建域名 默认值为false。 说明 当创建gateway类型终端节点服务的终端节点时, “enable_dns”设置为true或者false,均不创建域名。
|
176
197
|
|
177
198
|
:return: The enable_dns of this CreateEndpointRequestBody.
|
178
199
|
:rtype: bool
|
@@ -183,7 +204,7 @@ class CreateEndpointRequestBody:
|
|
183
204
|
def enable_dns(self, enable_dns):
|
184
205
|
"""Sets the enable_dns of this CreateEndpointRequestBody.
|
185
206
|
|
186
|
-
是否创建域名。 - true:创建域名 - false:不创建域名 默认值为false。 说明
|
207
|
+
是否创建域名。 - true:创建域名 - false:不创建域名 默认值为false。 说明 当创建gateway类型终端节点服务的终端节点时, “enable_dns”设置为true或者false,均不创建域名。
|
187
208
|
|
188
209
|
:param enable_dns: The enable_dns of this CreateEndpointRequestBody.
|
189
210
|
:type enable_dns: bool
|
@@ -216,7 +237,7 @@ class CreateEndpointRequestBody:
|
|
216
237
|
def routetables(self):
|
217
238
|
"""Gets the routetables of this CreateEndpointRequestBody.
|
218
239
|
|
219
|
-
路由表ID
|
240
|
+
路由表ID列表。 创建gateway类型终端节点服务的终端节点时,此参数必选。 不设置此参数时,选择默认路由表。
|
220
241
|
|
221
242
|
:return: The routetables of this CreateEndpointRequestBody.
|
222
243
|
:rtype: list[str]
|
@@ -227,7 +248,7 @@ class CreateEndpointRequestBody:
|
|
227
248
|
def routetables(self, routetables):
|
228
249
|
"""Sets the routetables of this CreateEndpointRequestBody.
|
229
250
|
|
230
|
-
路由表ID
|
251
|
+
路由表ID列表。 创建gateway类型终端节点服务的终端节点时,此参数必选。 不设置此参数时,选择默认路由表。
|
231
252
|
|
232
253
|
:param routetables: The routetables of this CreateEndpointRequestBody.
|
233
254
|
:type routetables: list[str]
|
@@ -322,6 +343,72 @@ class CreateEndpointRequestBody:
|
|
322
343
|
"""
|
323
344
|
self._description = description
|
324
345
|
|
346
|
+
@property
|
347
|
+
def policy_statement(self):
|
348
|
+
"""Gets the policy_statement of this CreateEndpointRequestBody.
|
349
|
+
|
350
|
+
终端节点策略信息
|
351
|
+
|
352
|
+
:return: The policy_statement of this CreateEndpointRequestBody.
|
353
|
+
:rtype: list[:class:`huaweicloudsdkvpcep.v1.PolicyStatement`]
|
354
|
+
"""
|
355
|
+
return self._policy_statement
|
356
|
+
|
357
|
+
@policy_statement.setter
|
358
|
+
def policy_statement(self, policy_statement):
|
359
|
+
"""Sets the policy_statement of this CreateEndpointRequestBody.
|
360
|
+
|
361
|
+
终端节点策略信息
|
362
|
+
|
363
|
+
:param policy_statement: The policy_statement of this CreateEndpointRequestBody.
|
364
|
+
:type policy_statement: list[:class:`huaweicloudsdkvpcep.v1.PolicyStatement`]
|
365
|
+
"""
|
366
|
+
self._policy_statement = policy_statement
|
367
|
+
|
368
|
+
@property
|
369
|
+
def ip_version(self):
|
370
|
+
"""Gets the ip_version of this CreateEndpointRequestBody.
|
371
|
+
|
372
|
+
指定终端节点的IP版本,仅专业型终端节点支持此参数。 ● ipv4, IPv4 ● dualstack, 双栈
|
373
|
+
|
374
|
+
:return: The ip_version of this CreateEndpointRequestBody.
|
375
|
+
:rtype: str
|
376
|
+
"""
|
377
|
+
return self._ip_version
|
378
|
+
|
379
|
+
@ip_version.setter
|
380
|
+
def ip_version(self, ip_version):
|
381
|
+
"""Sets the ip_version of this CreateEndpointRequestBody.
|
382
|
+
|
383
|
+
指定终端节点的IP版本,仅专业型终端节点支持此参数。 ● ipv4, IPv4 ● dualstack, 双栈
|
384
|
+
|
385
|
+
:param ip_version: The ip_version of this CreateEndpointRequestBody.
|
386
|
+
:type ip_version: str
|
387
|
+
"""
|
388
|
+
self._ip_version = ip_version
|
389
|
+
|
390
|
+
@property
|
391
|
+
def ipv6_address(self):
|
392
|
+
"""Gets the ipv6_address of this CreateEndpointRequestBody.
|
393
|
+
|
394
|
+
访问所连接的终端节点服务的IPv6的地址。 创建终端节点时,可以指定访问所连接的终端节点服务的IP,不指定的情况下,会使用系统生成的一个地址。 仅专业型终端节点支持此参数。
|
395
|
+
|
396
|
+
:return: The ipv6_address of this CreateEndpointRequestBody.
|
397
|
+
:rtype: str
|
398
|
+
"""
|
399
|
+
return self._ipv6_address
|
400
|
+
|
401
|
+
@ipv6_address.setter
|
402
|
+
def ipv6_address(self, ipv6_address):
|
403
|
+
"""Sets the ipv6_address of this CreateEndpointRequestBody.
|
404
|
+
|
405
|
+
访问所连接的终端节点服务的IPv6的地址。 创建终端节点时,可以指定访问所连接的终端节点服务的IP,不指定的情况下,会使用系统生成的一个地址。 仅专业型终端节点支持此参数。
|
406
|
+
|
407
|
+
:param ipv6_address: The ipv6_address of this CreateEndpointRequestBody.
|
408
|
+
:type ipv6_address: str
|
409
|
+
"""
|
410
|
+
self._ipv6_address = ipv6_address
|
411
|
+
|
325
412
|
def to_dict(self):
|
326
413
|
"""Returns the model properties as a dict"""
|
327
414
|
result = {}
|
@@ -41,7 +41,8 @@ class CreateEndpointResponse(SdkResponse):
|
|
41
41
|
'policy_statement': 'list[PolicyStatement]',
|
42
42
|
'enable_status': 'str',
|
43
43
|
'endpoint_pool_id': 'str',
|
44
|
-
'public_border_group': 'str'
|
44
|
+
'public_border_group': 'str',
|
45
|
+
'ipv6_address': 'str'
|
45
46
|
}
|
46
47
|
|
47
48
|
attribute_map = {
|
@@ -68,23 +69,24 @@ class CreateEndpointResponse(SdkResponse):
|
|
68
69
|
'policy_statement': 'policy_statement',
|
69
70
|
'enable_status': 'enable_status',
|
70
71
|
'endpoint_pool_id': 'endpoint_pool_id',
|
71
|
-
'public_border_group': 'public_border_group'
|
72
|
+
'public_border_group': 'public_border_group',
|
73
|
+
'ipv6_address': 'ipv6_address'
|
72
74
|
}
|
73
75
|
|
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):
|
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, 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, ipv6_address=None):
|
75
77
|
"""CreateEndpointResponse
|
76
78
|
|
77
79
|
The model defined in huaweicloud sdk
|
78
80
|
|
79
81
|
:param id: 终端节点的ID,唯一标识。
|
80
82
|
:type id: str
|
81
|
-
:param service_type: 终端节点连接的终端节点服务类型。
|
83
|
+
:param service_type: 终端节点连接的终端节点服务类型。 - gateway:由运维人员配置。用户无需创建,可直接使用。 - interface:包括运维人员配置的云服务和用户自己创建的私有服务。 其中,运维人员配置的云服务无需创建,用户可直接使用。 您可以通过\"查询公共终端节点服务列表\"查看由运维人员配置的所有用户可见且可连接的终端节点服务,并通过创建终端节点服务创建Interface类型的终端节点服务。
|
82
84
|
:type service_type: str
|
83
85
|
:param status: 终端节点的状态。 - pendingAcceptance:待接受 - creating:创建中 - accepted:已接受 - rejected:已拒绝 - failed:失败 - deleting:删除中
|
84
86
|
:type status: str
|
85
87
|
:param ip: 终端节点ip
|
86
88
|
:type ip: str
|
87
|
-
:param active_status:
|
89
|
+
:param active_status: 账号状态。 - frozen:冻结 - active:解冻
|
88
90
|
:type active_status: list[str]
|
89
91
|
:param endpoint_service_name: 终端节点服务的名称。
|
90
92
|
:type endpoint_service_name: str
|
@@ -92,7 +94,7 @@ class CreateEndpointResponse(SdkResponse):
|
|
92
94
|
:type marker_id: int
|
93
95
|
:param endpoint_service_id: 终端节点服务的ID。
|
94
96
|
:type endpoint_service_id: str
|
95
|
-
:param enable_dns: 是否创建域名。 - true:创建域名 - false:不创建域名 说明
|
97
|
+
:param enable_dns: 是否创建域名。 - true:创建域名 - false:不创建域名 说明 当创建gateway类型终端节点服务的终端节点时, “enable_dns”设置为true或者false,均不创建域名。
|
96
98
|
:type enable_dns: bool
|
97
99
|
:param subnet_id: vpc_id对应VPC下已创建的网络(network)的ID,UUID格式。
|
98
100
|
:type subnet_id: str
|
@@ -110,13 +112,13 @@ class CreateEndpointResponse(SdkResponse):
|
|
110
112
|
:type whitelist: list[str]
|
111
113
|
:param enable_whitelist: 是否开启网络ACL隔离。 - true:开启网络ACL隔离 - false:不开启网络ACL隔离 若未指定,则返回false。 创建连接Interface类型终端节点服务的终端节点时,显示此参数。
|
112
114
|
:type enable_whitelist: bool
|
113
|
-
:param routetables: 路由表ID列表。 若未指定,返回默认VPC下路由表ID。
|
115
|
+
:param routetables: 路由表ID列表。 若未指定,返回默认VPC下路由表ID。 创建gateway类型终端节点服务的终端节点时,显示此参数。
|
114
116
|
:type routetables: list[str]
|
115
117
|
:param specification_name: 规格名称
|
116
118
|
:type specification_name: str
|
117
119
|
:param description: 描述
|
118
120
|
:type description: str
|
119
|
-
:param policy_statement:
|
121
|
+
:param policy_statement: 终端节点策略信息
|
120
122
|
:type policy_statement: list[:class:`huaweicloudsdkvpcep.v1.PolicyStatement`]
|
121
123
|
:param enable_status: 终端节点是否可用。 - enable:启用 - disable:不启用
|
122
124
|
:type enable_status: str
|
@@ -124,6 +126,8 @@ class CreateEndpointResponse(SdkResponse):
|
|
124
126
|
:type endpoint_pool_id: str
|
125
127
|
:param public_border_group: 终端节点对应Pool的Public Border Group信息
|
126
128
|
:type public_border_group: str
|
129
|
+
:param ipv6_address: 终端节点的IPv6地址,仅专业型终端节点支持此参数
|
130
|
+
:type ipv6_address: str
|
127
131
|
"""
|
128
132
|
|
129
133
|
super(CreateEndpointResponse, self).__init__()
|
@@ -152,6 +156,7 @@ class CreateEndpointResponse(SdkResponse):
|
|
152
156
|
self._enable_status = None
|
153
157
|
self._endpoint_pool_id = None
|
154
158
|
self._public_border_group = None
|
159
|
+
self._ipv6_address = None
|
155
160
|
self.discriminator = None
|
156
161
|
|
157
162
|
if id is not None:
|
@@ -202,6 +207,8 @@ class CreateEndpointResponse(SdkResponse):
|
|
202
207
|
self.endpoint_pool_id = endpoint_pool_id
|
203
208
|
if public_border_group is not None:
|
204
209
|
self.public_border_group = public_border_group
|
210
|
+
if ipv6_address is not None:
|
211
|
+
self.ipv6_address = ipv6_address
|
205
212
|
|
206
213
|
@property
|
207
214
|
def id(self):
|
@@ -229,7 +236,7 @@ class CreateEndpointResponse(SdkResponse):
|
|
229
236
|
def service_type(self):
|
230
237
|
"""Gets the service_type of this CreateEndpointResponse.
|
231
238
|
|
232
|
-
终端节点连接的终端节点服务类型。
|
239
|
+
终端节点连接的终端节点服务类型。 - gateway:由运维人员配置。用户无需创建,可直接使用。 - interface:包括运维人员配置的云服务和用户自己创建的私有服务。 其中,运维人员配置的云服务无需创建,用户可直接使用。 您可以通过\"查询公共终端节点服务列表\"查看由运维人员配置的所有用户可见且可连接的终端节点服务,并通过创建终端节点服务创建Interface类型的终端节点服务。
|
233
240
|
|
234
241
|
:return: The service_type of this CreateEndpointResponse.
|
235
242
|
:rtype: str
|
@@ -240,7 +247,7 @@ class CreateEndpointResponse(SdkResponse):
|
|
240
247
|
def service_type(self, service_type):
|
241
248
|
"""Sets the service_type of this CreateEndpointResponse.
|
242
249
|
|
243
|
-
终端节点连接的终端节点服务类型。
|
250
|
+
终端节点连接的终端节点服务类型。 - gateway:由运维人员配置。用户无需创建,可直接使用。 - interface:包括运维人员配置的云服务和用户自己创建的私有服务。 其中,运维人员配置的云服务无需创建,用户可直接使用。 您可以通过\"查询公共终端节点服务列表\"查看由运维人员配置的所有用户可见且可连接的终端节点服务,并通过创建终端节点服务创建Interface类型的终端节点服务。
|
244
251
|
|
245
252
|
:param service_type: The service_type of this CreateEndpointResponse.
|
246
253
|
:type service_type: str
|
@@ -295,7 +302,7 @@ class CreateEndpointResponse(SdkResponse):
|
|
295
302
|
def active_status(self):
|
296
303
|
"""Gets the active_status of this CreateEndpointResponse.
|
297
304
|
|
298
|
-
|
305
|
+
账号状态。 - frozen:冻结 - active:解冻
|
299
306
|
|
300
307
|
:return: The active_status of this CreateEndpointResponse.
|
301
308
|
:rtype: list[str]
|
@@ -306,7 +313,7 @@ class CreateEndpointResponse(SdkResponse):
|
|
306
313
|
def active_status(self, active_status):
|
307
314
|
"""Sets the active_status of this CreateEndpointResponse.
|
308
315
|
|
309
|
-
|
316
|
+
账号状态。 - frozen:冻结 - active:解冻
|
310
317
|
|
311
318
|
:param active_status: The active_status of this CreateEndpointResponse.
|
312
319
|
:type active_status: list[str]
|
@@ -383,7 +390,7 @@ class CreateEndpointResponse(SdkResponse):
|
|
383
390
|
def enable_dns(self):
|
384
391
|
"""Gets the enable_dns of this CreateEndpointResponse.
|
385
392
|
|
386
|
-
是否创建域名。 - true:创建域名 - false:不创建域名 说明
|
393
|
+
是否创建域名。 - true:创建域名 - false:不创建域名 说明 当创建gateway类型终端节点服务的终端节点时, “enable_dns”设置为true或者false,均不创建域名。
|
387
394
|
|
388
395
|
:return: The enable_dns of this CreateEndpointResponse.
|
389
396
|
:rtype: bool
|
@@ -394,7 +401,7 @@ class CreateEndpointResponse(SdkResponse):
|
|
394
401
|
def enable_dns(self, enable_dns):
|
395
402
|
"""Sets the enable_dns of this CreateEndpointResponse.
|
396
403
|
|
397
|
-
是否创建域名。 - true:创建域名 - false:不创建域名 说明
|
404
|
+
是否创建域名。 - true:创建域名 - false:不创建域名 说明 当创建gateway类型终端节点服务的终端节点时, “enable_dns”设置为true或者false,均不创建域名。
|
398
405
|
|
399
406
|
:param enable_dns: The enable_dns of this CreateEndpointResponse.
|
400
407
|
:type enable_dns: bool
|
@@ -581,7 +588,7 @@ class CreateEndpointResponse(SdkResponse):
|
|
581
588
|
def routetables(self):
|
582
589
|
"""Gets the routetables of this CreateEndpointResponse.
|
583
590
|
|
584
|
-
路由表ID列表。 若未指定,返回默认VPC下路由表ID。
|
591
|
+
路由表ID列表。 若未指定,返回默认VPC下路由表ID。 创建gateway类型终端节点服务的终端节点时,显示此参数。
|
585
592
|
|
586
593
|
:return: The routetables of this CreateEndpointResponse.
|
587
594
|
:rtype: list[str]
|
@@ -592,7 +599,7 @@ class CreateEndpointResponse(SdkResponse):
|
|
592
599
|
def routetables(self, routetables):
|
593
600
|
"""Sets the routetables of this CreateEndpointResponse.
|
594
601
|
|
595
|
-
路由表ID列表。 若未指定,返回默认VPC下路由表ID。
|
602
|
+
路由表ID列表。 若未指定,返回默认VPC下路由表ID。 创建gateway类型终端节点服务的终端节点时,显示此参数。
|
596
603
|
|
597
604
|
:param routetables: The routetables of this CreateEndpointResponse.
|
598
605
|
:type routetables: list[str]
|
@@ -647,7 +654,7 @@ class CreateEndpointResponse(SdkResponse):
|
|
647
654
|
def policy_statement(self):
|
648
655
|
"""Gets the policy_statement of this CreateEndpointResponse.
|
649
656
|
|
650
|
-
|
657
|
+
终端节点策略信息
|
651
658
|
|
652
659
|
:return: The policy_statement of this CreateEndpointResponse.
|
653
660
|
:rtype: list[:class:`huaweicloudsdkvpcep.v1.PolicyStatement`]
|
@@ -658,7 +665,7 @@ class CreateEndpointResponse(SdkResponse):
|
|
658
665
|
def policy_statement(self, policy_statement):
|
659
666
|
"""Sets the policy_statement of this CreateEndpointResponse.
|
660
667
|
|
661
|
-
|
668
|
+
终端节点策略信息
|
662
669
|
|
663
670
|
:param policy_statement: The policy_statement of this CreateEndpointResponse.
|
664
671
|
:type policy_statement: list[:class:`huaweicloudsdkvpcep.v1.PolicyStatement`]
|
@@ -731,6 +738,28 @@ class CreateEndpointResponse(SdkResponse):
|
|
731
738
|
"""
|
732
739
|
self._public_border_group = public_border_group
|
733
740
|
|
741
|
+
@property
|
742
|
+
def ipv6_address(self):
|
743
|
+
"""Gets the ipv6_address of this CreateEndpointResponse.
|
744
|
+
|
745
|
+
终端节点的IPv6地址,仅专业型终端节点支持此参数
|
746
|
+
|
747
|
+
:return: The ipv6_address of this CreateEndpointResponse.
|
748
|
+
:rtype: str
|
749
|
+
"""
|
750
|
+
return self._ipv6_address
|
751
|
+
|
752
|
+
@ipv6_address.setter
|
753
|
+
def ipv6_address(self, ipv6_address):
|
754
|
+
"""Sets the ipv6_address of this CreateEndpointResponse.
|
755
|
+
|
756
|
+
终端节点的IPv6地址,仅专业型终端节点支持此参数
|
757
|
+
|
758
|
+
:param ipv6_address: The ipv6_address of this CreateEndpointResponse.
|
759
|
+
:type ipv6_address: str
|
760
|
+
"""
|
761
|
+
self._ipv6_address = ipv6_address
|
762
|
+
|
734
763
|
def to_dict(self):
|
735
764
|
"""Returns the model properties as a dict"""
|
736
765
|
result = {}
|