huaweicloudsdktics 3.1.160__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.
Potentially problematic release.
This version of huaweicloudsdktics might be problematic. Click here for more details.
- huaweicloudsdktics/__init__.py +0 -0
- huaweicloudsdktics/v1/__init__.py +74 -0
- huaweicloudsdktics/v1/model/__init__.py +71 -0
- huaweicloudsdktics/v1/model/agent_list_vo.py +521 -0
- huaweicloudsdktics/v1/model/deploy_vo.py +228 -0
- huaweicloudsdktics/v1/model/fl_job_list_vo.py +457 -0
- huaweicloudsdktics/v1/model/job_report_base_info_vo.py +256 -0
- huaweicloudsdktics/v1/model/job_report_env_vo.py +231 -0
- huaweicloudsdktics/v1/model/job_report_output_vo.py +173 -0
- huaweicloudsdktics/v1/model/job_report_partner_vo.py +231 -0
- huaweicloudsdktics/v1/model/league_dataset_statistics_vo.py +260 -0
- huaweicloudsdktics/v1/model/league_partner_statistics_vo.py +318 -0
- huaweicloudsdktics/v1/model/league_update_vo.py +173 -0
- huaweicloudsdktics/v1/model/list_agents_request.py +200 -0
- huaweicloudsdktics/v1/model/list_agents_response.py +145 -0
- huaweicloudsdktics/v1/model/list_audit_info_request.py +170 -0
- huaweicloudsdktics/v1/model/list_audit_info_response.py +145 -0
- huaweicloudsdktics/v1/model/list_fl_job_request.py +170 -0
- huaweicloudsdktics/v1/model/list_fl_job_response.py +145 -0
- huaweicloudsdktics/v1/model/list_instance_history_request.py +199 -0
- huaweicloudsdktics/v1/model/list_instance_history_response.py +145 -0
- huaweicloudsdktics/v1/model/list_league_datasets_request.py +228 -0
- huaweicloudsdktics/v1/model/list_league_datasets_response.py +145 -0
- huaweicloudsdktics/v1/model/list_leagues_request.py +170 -0
- huaweicloudsdktics/v1/model/list_leagues_response.py +145 -0
- huaweicloudsdktics/v1/model/list_nodes_request.py +170 -0
- huaweicloudsdktics/v1/model/list_nodes_response.py +145 -0
- huaweicloudsdktics/v1/model/list_notices_request.py +142 -0
- huaweicloudsdktics/v1/model/list_notices_response.py +145 -0
- huaweicloudsdktics/v1/model/list_partners_request.py +170 -0
- huaweicloudsdktics/v1/model/list_partners_response.py +145 -0
- huaweicloudsdktics/v1/model/list_sql_job_request.py +170 -0
- huaweicloudsdktics/v1/model/list_sql_job_response.py +145 -0
- huaweicloudsdktics/v1/model/partner_data_vo.py +289 -0
- huaweicloudsdktics/v1/model/processor_vo.py +374 -0
- huaweicloudsdktics/v1/model/round_deploy_vo.py +144 -0
- huaweicloudsdktics/v1/model/show_agent_detail_request.py +114 -0
- huaweicloudsdktics/v1/model/show_agent_detail_response.py +212 -0
- huaweicloudsdktics/v1/model/show_dataset_statistics_request.py +172 -0
- huaweicloudsdktics/v1/model/show_dataset_statistics_response.py +112 -0
- huaweicloudsdktics/v1/model/show_instance_report_request.py +142 -0
- huaweicloudsdktics/v1/model/show_instance_report_response.py +220 -0
- huaweicloudsdktics/v1/model/show_job_instance_dag_request.py +170 -0
- huaweicloudsdktics/v1/model/show_job_instance_dag_response.py +112 -0
- huaweicloudsdktics/v1/model/show_job_statistics_request.py +172 -0
- huaweicloudsdktics/v1/model/show_job_statistics_response.py +232 -0
- huaweicloudsdktics/v1/model/show_league_request.py +114 -0
- huaweicloudsdktics/v1/model/show_league_response.py +725 -0
- huaweicloudsdktics/v1/model/show_overview_request.py +84 -0
- huaweicloudsdktics/v1/model/show_overview_response.py +203 -0
- huaweicloudsdktics/v1/model/show_partner_statistics_request.py +172 -0
- huaweicloudsdktics/v1/model/show_partner_statistics_response.py +112 -0
- huaweicloudsdktics/v1/model/stage_vo.py +201 -0
- huaweicloudsdktics/v1/model/tics_agent_deploy.py +724 -0
- huaweicloudsdktics/v1/model/tics_agent_deploy_bcs.py +289 -0
- huaweicloudsdktics/v1/model/tics_agent_deploy_detail.py +463 -0
- huaweicloudsdktics/v1/model/tics_agent_nat_common_info.py +202 -0
- huaweicloudsdktics/v1/model/tics_agent_node_info.py +492 -0
- huaweicloudsdktics/v1/model/tics_approve_log_vo.py +484 -0
- huaweicloudsdktics/v1/model/tics_dataset_column.py +405 -0
- huaweicloudsdktics/v1/model/tics_job_instance_vo.py +401 -0
- huaweicloudsdktics/v1/model/tics_league_audit_log.py +376 -0
- huaweicloudsdktics/v1/model/tics_league_list_vo.py +543 -0
- huaweicloudsdktics/v1/model/tics_league_notice_vo.py +430 -0
- huaweicloudsdktics/v1/model/tics_league_partner_vo.py +202 -0
- huaweicloudsdktics/v1/model/tics_sql_job_vo.py +483 -0
- huaweicloudsdktics/v1/model/tics_trust_info_vo.py +347 -0
- huaweicloudsdktics/v1/model/update_league_request.py +139 -0
- huaweicloudsdktics/v1/model/update_league_response.py +112 -0
- huaweicloudsdktics/v1/region/__init__.py +0 -0
- huaweicloudsdktics/v1/region/tics_region.py +34 -0
- huaweicloudsdktics/v1/tics_async_client.py +1382 -0
- huaweicloudsdktics/v1/tics_client.py +1379 -0
- huaweicloudsdktics-3.1.160.dist-info/LICENSE +13 -0
- huaweicloudsdktics-3.1.160.dist-info/METADATA +26 -0
- huaweicloudsdktics-3.1.160.dist-info/RECORD +78 -0
- huaweicloudsdktics-3.1.160.dist-info/WHEEL +5 -0
- huaweicloudsdktics-3.1.160.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,463 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
import six
|
|
4
|
+
|
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class TicsAgentDeployDetail:
|
|
9
|
+
|
|
10
|
+
"""
|
|
11
|
+
Attributes:
|
|
12
|
+
openapi_types (dict): The key is attribute name
|
|
13
|
+
and the value is attribute type.
|
|
14
|
+
attribute_map (dict): The key is attribute name
|
|
15
|
+
and the value is json key in definition.
|
|
16
|
+
"""
|
|
17
|
+
sensitive_list = []
|
|
18
|
+
|
|
19
|
+
openapi_types = {
|
|
20
|
+
'agent_access_address': 'str',
|
|
21
|
+
'agent_id': 'str',
|
|
22
|
+
'cce_cluster_id': 'str',
|
|
23
|
+
'cce_cluster_name': 'str',
|
|
24
|
+
'console_ip': 'str',
|
|
25
|
+
'console_port': 'int',
|
|
26
|
+
'host_path': 'str',
|
|
27
|
+
'ief_instance_id': 'str',
|
|
28
|
+
'namespace_name': 'str',
|
|
29
|
+
'obs_pvc_name': 'str',
|
|
30
|
+
'persistence_id': 'str',
|
|
31
|
+
'resource_spec_code': 'str',
|
|
32
|
+
'web_port': 'int'
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
attribute_map = {
|
|
36
|
+
'agent_access_address': 'agent_access_address',
|
|
37
|
+
'agent_id': 'agent_id',
|
|
38
|
+
'cce_cluster_id': 'cce_cluster_id',
|
|
39
|
+
'cce_cluster_name': 'cce_cluster_name',
|
|
40
|
+
'console_ip': 'console_ip',
|
|
41
|
+
'console_port': 'console_port',
|
|
42
|
+
'host_path': 'host_path',
|
|
43
|
+
'ief_instance_id': 'ief_instance_id',
|
|
44
|
+
'namespace_name': 'namespace_name',
|
|
45
|
+
'obs_pvc_name': 'obs_pvc_name',
|
|
46
|
+
'persistence_id': 'persistence_id',
|
|
47
|
+
'resource_spec_code': 'resource_spec_code',
|
|
48
|
+
'web_port': 'web_port'
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
def __init__(self, agent_access_address=None, agent_id=None, cce_cluster_id=None, cce_cluster_name=None, console_ip=None, console_port=None, host_path=None, ief_instance_id=None, namespace_name=None, obs_pvc_name=None, persistence_id=None, resource_spec_code=None, web_port=None):
|
|
52
|
+
r"""TicsAgentDeployDetail
|
|
53
|
+
|
|
54
|
+
The model defined in huaweicloud sdk
|
|
55
|
+
|
|
56
|
+
:param agent_access_address: 可信节点访问地址
|
|
57
|
+
:type agent_access_address: str
|
|
58
|
+
:param agent_id: 可信节点Id
|
|
59
|
+
:type agent_id: str
|
|
60
|
+
:param cce_cluster_id: 可信节点所在cce集群的Id
|
|
61
|
+
:type cce_cluster_id: str
|
|
62
|
+
:param cce_cluster_name: 可信节点所在cce集群的名称
|
|
63
|
+
:type cce_cluster_name: str
|
|
64
|
+
:param console_ip: 可信节点所在ip
|
|
65
|
+
:type console_ip: str
|
|
66
|
+
:param console_port: 可信节点服务端口
|
|
67
|
+
:type console_port: int
|
|
68
|
+
:param host_path: 主机挂载路径,本地挂载才会有值
|
|
69
|
+
:type host_path: str
|
|
70
|
+
:param ief_instance_id: ief白金版实例id, 仅IEF高可用部署有值
|
|
71
|
+
:type ief_instance_id: str
|
|
72
|
+
:param namespace_name: 命名空间名称
|
|
73
|
+
:type namespace_name: str
|
|
74
|
+
:param obs_pvc_name: 可信节点CCE部署场景,对象文件存储PVC
|
|
75
|
+
:type obs_pvc_name: str
|
|
76
|
+
:param persistence_id: 持久化存储唯一标识
|
|
77
|
+
:type persistence_id: str
|
|
78
|
+
:param resource_spec_code: 代理部署规格
|
|
79
|
+
:type resource_spec_code: str
|
|
80
|
+
:param web_port: 可信节点访问端口
|
|
81
|
+
:type web_port: int
|
|
82
|
+
"""
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
self._agent_access_address = None
|
|
87
|
+
self._agent_id = None
|
|
88
|
+
self._cce_cluster_id = None
|
|
89
|
+
self._cce_cluster_name = None
|
|
90
|
+
self._console_ip = None
|
|
91
|
+
self._console_port = None
|
|
92
|
+
self._host_path = None
|
|
93
|
+
self._ief_instance_id = None
|
|
94
|
+
self._namespace_name = None
|
|
95
|
+
self._obs_pvc_name = None
|
|
96
|
+
self._persistence_id = None
|
|
97
|
+
self._resource_spec_code = None
|
|
98
|
+
self._web_port = None
|
|
99
|
+
self.discriminator = None
|
|
100
|
+
|
|
101
|
+
if agent_access_address is not None:
|
|
102
|
+
self.agent_access_address = agent_access_address
|
|
103
|
+
if agent_id is not None:
|
|
104
|
+
self.agent_id = agent_id
|
|
105
|
+
if cce_cluster_id is not None:
|
|
106
|
+
self.cce_cluster_id = cce_cluster_id
|
|
107
|
+
if cce_cluster_name is not None:
|
|
108
|
+
self.cce_cluster_name = cce_cluster_name
|
|
109
|
+
if console_ip is not None:
|
|
110
|
+
self.console_ip = console_ip
|
|
111
|
+
if console_port is not None:
|
|
112
|
+
self.console_port = console_port
|
|
113
|
+
if host_path is not None:
|
|
114
|
+
self.host_path = host_path
|
|
115
|
+
if ief_instance_id is not None:
|
|
116
|
+
self.ief_instance_id = ief_instance_id
|
|
117
|
+
if namespace_name is not None:
|
|
118
|
+
self.namespace_name = namespace_name
|
|
119
|
+
if obs_pvc_name is not None:
|
|
120
|
+
self.obs_pvc_name = obs_pvc_name
|
|
121
|
+
if persistence_id is not None:
|
|
122
|
+
self.persistence_id = persistence_id
|
|
123
|
+
if resource_spec_code is not None:
|
|
124
|
+
self.resource_spec_code = resource_spec_code
|
|
125
|
+
if web_port is not None:
|
|
126
|
+
self.web_port = web_port
|
|
127
|
+
|
|
128
|
+
@property
|
|
129
|
+
def agent_access_address(self):
|
|
130
|
+
r"""Gets the agent_access_address of this TicsAgentDeployDetail.
|
|
131
|
+
|
|
132
|
+
可信节点访问地址
|
|
133
|
+
|
|
134
|
+
:return: The agent_access_address of this TicsAgentDeployDetail.
|
|
135
|
+
:rtype: str
|
|
136
|
+
"""
|
|
137
|
+
return self._agent_access_address
|
|
138
|
+
|
|
139
|
+
@agent_access_address.setter
|
|
140
|
+
def agent_access_address(self, agent_access_address):
|
|
141
|
+
r"""Sets the agent_access_address of this TicsAgentDeployDetail.
|
|
142
|
+
|
|
143
|
+
可信节点访问地址
|
|
144
|
+
|
|
145
|
+
:param agent_access_address: The agent_access_address of this TicsAgentDeployDetail.
|
|
146
|
+
:type agent_access_address: str
|
|
147
|
+
"""
|
|
148
|
+
self._agent_access_address = agent_access_address
|
|
149
|
+
|
|
150
|
+
@property
|
|
151
|
+
def agent_id(self):
|
|
152
|
+
r"""Gets the agent_id of this TicsAgentDeployDetail.
|
|
153
|
+
|
|
154
|
+
可信节点Id
|
|
155
|
+
|
|
156
|
+
:return: The agent_id of this TicsAgentDeployDetail.
|
|
157
|
+
:rtype: str
|
|
158
|
+
"""
|
|
159
|
+
return self._agent_id
|
|
160
|
+
|
|
161
|
+
@agent_id.setter
|
|
162
|
+
def agent_id(self, agent_id):
|
|
163
|
+
r"""Sets the agent_id of this TicsAgentDeployDetail.
|
|
164
|
+
|
|
165
|
+
可信节点Id
|
|
166
|
+
|
|
167
|
+
:param agent_id: The agent_id of this TicsAgentDeployDetail.
|
|
168
|
+
:type agent_id: str
|
|
169
|
+
"""
|
|
170
|
+
self._agent_id = agent_id
|
|
171
|
+
|
|
172
|
+
@property
|
|
173
|
+
def cce_cluster_id(self):
|
|
174
|
+
r"""Gets the cce_cluster_id of this TicsAgentDeployDetail.
|
|
175
|
+
|
|
176
|
+
可信节点所在cce集群的Id
|
|
177
|
+
|
|
178
|
+
:return: The cce_cluster_id of this TicsAgentDeployDetail.
|
|
179
|
+
:rtype: str
|
|
180
|
+
"""
|
|
181
|
+
return self._cce_cluster_id
|
|
182
|
+
|
|
183
|
+
@cce_cluster_id.setter
|
|
184
|
+
def cce_cluster_id(self, cce_cluster_id):
|
|
185
|
+
r"""Sets the cce_cluster_id of this TicsAgentDeployDetail.
|
|
186
|
+
|
|
187
|
+
可信节点所在cce集群的Id
|
|
188
|
+
|
|
189
|
+
:param cce_cluster_id: The cce_cluster_id of this TicsAgentDeployDetail.
|
|
190
|
+
:type cce_cluster_id: str
|
|
191
|
+
"""
|
|
192
|
+
self._cce_cluster_id = cce_cluster_id
|
|
193
|
+
|
|
194
|
+
@property
|
|
195
|
+
def cce_cluster_name(self):
|
|
196
|
+
r"""Gets the cce_cluster_name of this TicsAgentDeployDetail.
|
|
197
|
+
|
|
198
|
+
可信节点所在cce集群的名称
|
|
199
|
+
|
|
200
|
+
:return: The cce_cluster_name of this TicsAgentDeployDetail.
|
|
201
|
+
:rtype: str
|
|
202
|
+
"""
|
|
203
|
+
return self._cce_cluster_name
|
|
204
|
+
|
|
205
|
+
@cce_cluster_name.setter
|
|
206
|
+
def cce_cluster_name(self, cce_cluster_name):
|
|
207
|
+
r"""Sets the cce_cluster_name of this TicsAgentDeployDetail.
|
|
208
|
+
|
|
209
|
+
可信节点所在cce集群的名称
|
|
210
|
+
|
|
211
|
+
:param cce_cluster_name: The cce_cluster_name of this TicsAgentDeployDetail.
|
|
212
|
+
:type cce_cluster_name: str
|
|
213
|
+
"""
|
|
214
|
+
self._cce_cluster_name = cce_cluster_name
|
|
215
|
+
|
|
216
|
+
@property
|
|
217
|
+
def console_ip(self):
|
|
218
|
+
r"""Gets the console_ip of this TicsAgentDeployDetail.
|
|
219
|
+
|
|
220
|
+
可信节点所在ip
|
|
221
|
+
|
|
222
|
+
:return: The console_ip of this TicsAgentDeployDetail.
|
|
223
|
+
:rtype: str
|
|
224
|
+
"""
|
|
225
|
+
return self._console_ip
|
|
226
|
+
|
|
227
|
+
@console_ip.setter
|
|
228
|
+
def console_ip(self, console_ip):
|
|
229
|
+
r"""Sets the console_ip of this TicsAgentDeployDetail.
|
|
230
|
+
|
|
231
|
+
可信节点所在ip
|
|
232
|
+
|
|
233
|
+
:param console_ip: The console_ip of this TicsAgentDeployDetail.
|
|
234
|
+
:type console_ip: str
|
|
235
|
+
"""
|
|
236
|
+
self._console_ip = console_ip
|
|
237
|
+
|
|
238
|
+
@property
|
|
239
|
+
def console_port(self):
|
|
240
|
+
r"""Gets the console_port of this TicsAgentDeployDetail.
|
|
241
|
+
|
|
242
|
+
可信节点服务端口
|
|
243
|
+
|
|
244
|
+
:return: The console_port of this TicsAgentDeployDetail.
|
|
245
|
+
:rtype: int
|
|
246
|
+
"""
|
|
247
|
+
return self._console_port
|
|
248
|
+
|
|
249
|
+
@console_port.setter
|
|
250
|
+
def console_port(self, console_port):
|
|
251
|
+
r"""Sets the console_port of this TicsAgentDeployDetail.
|
|
252
|
+
|
|
253
|
+
可信节点服务端口
|
|
254
|
+
|
|
255
|
+
:param console_port: The console_port of this TicsAgentDeployDetail.
|
|
256
|
+
:type console_port: int
|
|
257
|
+
"""
|
|
258
|
+
self._console_port = console_port
|
|
259
|
+
|
|
260
|
+
@property
|
|
261
|
+
def host_path(self):
|
|
262
|
+
r"""Gets the host_path of this TicsAgentDeployDetail.
|
|
263
|
+
|
|
264
|
+
主机挂载路径,本地挂载才会有值
|
|
265
|
+
|
|
266
|
+
:return: The host_path of this TicsAgentDeployDetail.
|
|
267
|
+
:rtype: str
|
|
268
|
+
"""
|
|
269
|
+
return self._host_path
|
|
270
|
+
|
|
271
|
+
@host_path.setter
|
|
272
|
+
def host_path(self, host_path):
|
|
273
|
+
r"""Sets the host_path of this TicsAgentDeployDetail.
|
|
274
|
+
|
|
275
|
+
主机挂载路径,本地挂载才会有值
|
|
276
|
+
|
|
277
|
+
:param host_path: The host_path of this TicsAgentDeployDetail.
|
|
278
|
+
:type host_path: str
|
|
279
|
+
"""
|
|
280
|
+
self._host_path = host_path
|
|
281
|
+
|
|
282
|
+
@property
|
|
283
|
+
def ief_instance_id(self):
|
|
284
|
+
r"""Gets the ief_instance_id of this TicsAgentDeployDetail.
|
|
285
|
+
|
|
286
|
+
ief白金版实例id, 仅IEF高可用部署有值
|
|
287
|
+
|
|
288
|
+
:return: The ief_instance_id of this TicsAgentDeployDetail.
|
|
289
|
+
:rtype: str
|
|
290
|
+
"""
|
|
291
|
+
return self._ief_instance_id
|
|
292
|
+
|
|
293
|
+
@ief_instance_id.setter
|
|
294
|
+
def ief_instance_id(self, ief_instance_id):
|
|
295
|
+
r"""Sets the ief_instance_id of this TicsAgentDeployDetail.
|
|
296
|
+
|
|
297
|
+
ief白金版实例id, 仅IEF高可用部署有值
|
|
298
|
+
|
|
299
|
+
:param ief_instance_id: The ief_instance_id of this TicsAgentDeployDetail.
|
|
300
|
+
:type ief_instance_id: str
|
|
301
|
+
"""
|
|
302
|
+
self._ief_instance_id = ief_instance_id
|
|
303
|
+
|
|
304
|
+
@property
|
|
305
|
+
def namespace_name(self):
|
|
306
|
+
r"""Gets the namespace_name of this TicsAgentDeployDetail.
|
|
307
|
+
|
|
308
|
+
命名空间名称
|
|
309
|
+
|
|
310
|
+
:return: The namespace_name of this TicsAgentDeployDetail.
|
|
311
|
+
:rtype: str
|
|
312
|
+
"""
|
|
313
|
+
return self._namespace_name
|
|
314
|
+
|
|
315
|
+
@namespace_name.setter
|
|
316
|
+
def namespace_name(self, namespace_name):
|
|
317
|
+
r"""Sets the namespace_name of this TicsAgentDeployDetail.
|
|
318
|
+
|
|
319
|
+
命名空间名称
|
|
320
|
+
|
|
321
|
+
:param namespace_name: The namespace_name of this TicsAgentDeployDetail.
|
|
322
|
+
:type namespace_name: str
|
|
323
|
+
"""
|
|
324
|
+
self._namespace_name = namespace_name
|
|
325
|
+
|
|
326
|
+
@property
|
|
327
|
+
def obs_pvc_name(self):
|
|
328
|
+
r"""Gets the obs_pvc_name of this TicsAgentDeployDetail.
|
|
329
|
+
|
|
330
|
+
可信节点CCE部署场景,对象文件存储PVC
|
|
331
|
+
|
|
332
|
+
:return: The obs_pvc_name of this TicsAgentDeployDetail.
|
|
333
|
+
:rtype: str
|
|
334
|
+
"""
|
|
335
|
+
return self._obs_pvc_name
|
|
336
|
+
|
|
337
|
+
@obs_pvc_name.setter
|
|
338
|
+
def obs_pvc_name(self, obs_pvc_name):
|
|
339
|
+
r"""Sets the obs_pvc_name of this TicsAgentDeployDetail.
|
|
340
|
+
|
|
341
|
+
可信节点CCE部署场景,对象文件存储PVC
|
|
342
|
+
|
|
343
|
+
:param obs_pvc_name: The obs_pvc_name of this TicsAgentDeployDetail.
|
|
344
|
+
:type obs_pvc_name: str
|
|
345
|
+
"""
|
|
346
|
+
self._obs_pvc_name = obs_pvc_name
|
|
347
|
+
|
|
348
|
+
@property
|
|
349
|
+
def persistence_id(self):
|
|
350
|
+
r"""Gets the persistence_id of this TicsAgentDeployDetail.
|
|
351
|
+
|
|
352
|
+
持久化存储唯一标识
|
|
353
|
+
|
|
354
|
+
:return: The persistence_id of this TicsAgentDeployDetail.
|
|
355
|
+
:rtype: str
|
|
356
|
+
"""
|
|
357
|
+
return self._persistence_id
|
|
358
|
+
|
|
359
|
+
@persistence_id.setter
|
|
360
|
+
def persistence_id(self, persistence_id):
|
|
361
|
+
r"""Sets the persistence_id of this TicsAgentDeployDetail.
|
|
362
|
+
|
|
363
|
+
持久化存储唯一标识
|
|
364
|
+
|
|
365
|
+
:param persistence_id: The persistence_id of this TicsAgentDeployDetail.
|
|
366
|
+
:type persistence_id: str
|
|
367
|
+
"""
|
|
368
|
+
self._persistence_id = persistence_id
|
|
369
|
+
|
|
370
|
+
@property
|
|
371
|
+
def resource_spec_code(self):
|
|
372
|
+
r"""Gets the resource_spec_code of this TicsAgentDeployDetail.
|
|
373
|
+
|
|
374
|
+
代理部署规格
|
|
375
|
+
|
|
376
|
+
:return: The resource_spec_code of this TicsAgentDeployDetail.
|
|
377
|
+
:rtype: str
|
|
378
|
+
"""
|
|
379
|
+
return self._resource_spec_code
|
|
380
|
+
|
|
381
|
+
@resource_spec_code.setter
|
|
382
|
+
def resource_spec_code(self, resource_spec_code):
|
|
383
|
+
r"""Sets the resource_spec_code of this TicsAgentDeployDetail.
|
|
384
|
+
|
|
385
|
+
代理部署规格
|
|
386
|
+
|
|
387
|
+
:param resource_spec_code: The resource_spec_code of this TicsAgentDeployDetail.
|
|
388
|
+
:type resource_spec_code: str
|
|
389
|
+
"""
|
|
390
|
+
self._resource_spec_code = resource_spec_code
|
|
391
|
+
|
|
392
|
+
@property
|
|
393
|
+
def web_port(self):
|
|
394
|
+
r"""Gets the web_port of this TicsAgentDeployDetail.
|
|
395
|
+
|
|
396
|
+
可信节点访问端口
|
|
397
|
+
|
|
398
|
+
:return: The web_port of this TicsAgentDeployDetail.
|
|
399
|
+
:rtype: int
|
|
400
|
+
"""
|
|
401
|
+
return self._web_port
|
|
402
|
+
|
|
403
|
+
@web_port.setter
|
|
404
|
+
def web_port(self, web_port):
|
|
405
|
+
r"""Sets the web_port of this TicsAgentDeployDetail.
|
|
406
|
+
|
|
407
|
+
可信节点访问端口
|
|
408
|
+
|
|
409
|
+
:param web_port: The web_port of this TicsAgentDeployDetail.
|
|
410
|
+
:type web_port: int
|
|
411
|
+
"""
|
|
412
|
+
self._web_port = web_port
|
|
413
|
+
|
|
414
|
+
def to_dict(self):
|
|
415
|
+
"""Returns the model properties as a dict"""
|
|
416
|
+
result = {}
|
|
417
|
+
|
|
418
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
|
419
|
+
value = getattr(self, attr)
|
|
420
|
+
if isinstance(value, list):
|
|
421
|
+
result[attr] = list(map(
|
|
422
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
423
|
+
value
|
|
424
|
+
))
|
|
425
|
+
elif hasattr(value, "to_dict"):
|
|
426
|
+
result[attr] = value.to_dict()
|
|
427
|
+
elif isinstance(value, dict):
|
|
428
|
+
result[attr] = dict(map(
|
|
429
|
+
lambda item: (item[0], item[1].to_dict())
|
|
430
|
+
if hasattr(item[1], "to_dict") else item,
|
|
431
|
+
value.items()
|
|
432
|
+
))
|
|
433
|
+
else:
|
|
434
|
+
if attr in self.sensitive_list:
|
|
435
|
+
result[attr] = "****"
|
|
436
|
+
else:
|
|
437
|
+
result[attr] = value
|
|
438
|
+
|
|
439
|
+
return result
|
|
440
|
+
|
|
441
|
+
def to_str(self):
|
|
442
|
+
"""Returns the string representation of the model"""
|
|
443
|
+
import simplejson as json
|
|
444
|
+
if six.PY2:
|
|
445
|
+
import sys
|
|
446
|
+
reload(sys)
|
|
447
|
+
sys.setdefaultencoding("utf-8")
|
|
448
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
449
|
+
|
|
450
|
+
def __repr__(self):
|
|
451
|
+
"""For `print`"""
|
|
452
|
+
return self.to_str()
|
|
453
|
+
|
|
454
|
+
def __eq__(self, other):
|
|
455
|
+
"""Returns true if both objects are equal"""
|
|
456
|
+
if not isinstance(other, TicsAgentDeployDetail):
|
|
457
|
+
return False
|
|
458
|
+
|
|
459
|
+
return self.__dict__ == other.__dict__
|
|
460
|
+
|
|
461
|
+
def __ne__(self, other):
|
|
462
|
+
"""Returns true if both objects are not equal"""
|
|
463
|
+
return not self == other
|
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
import six
|
|
4
|
+
|
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class TicsAgentNatCommonInfo:
|
|
9
|
+
|
|
10
|
+
"""
|
|
11
|
+
Attributes:
|
|
12
|
+
openapi_types (dict): The key is attribute name
|
|
13
|
+
and the value is attribute type.
|
|
14
|
+
attribute_map (dict): The key is attribute name
|
|
15
|
+
and the value is json key in definition.
|
|
16
|
+
"""
|
|
17
|
+
sensitive_list = []
|
|
18
|
+
|
|
19
|
+
openapi_types = {
|
|
20
|
+
'nat_id': 'str',
|
|
21
|
+
'project_id': 'str',
|
|
22
|
+
'subnet_id': 'str',
|
|
23
|
+
'vpc_id': 'str'
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
attribute_map = {
|
|
27
|
+
'nat_id': 'nat_id',
|
|
28
|
+
'project_id': 'project_id',
|
|
29
|
+
'subnet_id': 'subnet_id',
|
|
30
|
+
'vpc_id': 'vpc_id'
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
def __init__(self, nat_id=None, project_id=None, subnet_id=None, vpc_id=None):
|
|
34
|
+
r"""TicsAgentNatCommonInfo
|
|
35
|
+
|
|
36
|
+
The model defined in huaweicloud sdk
|
|
37
|
+
|
|
38
|
+
:param nat_id: 可信节点绑定的网关id
|
|
39
|
+
:type nat_id: str
|
|
40
|
+
:param project_id: 项目id
|
|
41
|
+
:type project_id: str
|
|
42
|
+
:param subnet_id: 可信节点绑定的CCE集群所在子网id
|
|
43
|
+
:type subnet_id: str
|
|
44
|
+
:param vpc_id: 可信节点绑定的CCE集群所在虚拟私有云id
|
|
45
|
+
:type vpc_id: str
|
|
46
|
+
"""
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
self._nat_id = None
|
|
51
|
+
self._project_id = None
|
|
52
|
+
self._subnet_id = None
|
|
53
|
+
self._vpc_id = None
|
|
54
|
+
self.discriminator = None
|
|
55
|
+
|
|
56
|
+
if nat_id is not None:
|
|
57
|
+
self.nat_id = nat_id
|
|
58
|
+
if project_id is not None:
|
|
59
|
+
self.project_id = project_id
|
|
60
|
+
if subnet_id is not None:
|
|
61
|
+
self.subnet_id = subnet_id
|
|
62
|
+
if vpc_id is not None:
|
|
63
|
+
self.vpc_id = vpc_id
|
|
64
|
+
|
|
65
|
+
@property
|
|
66
|
+
def nat_id(self):
|
|
67
|
+
r"""Gets the nat_id of this TicsAgentNatCommonInfo.
|
|
68
|
+
|
|
69
|
+
可信节点绑定的网关id
|
|
70
|
+
|
|
71
|
+
:return: The nat_id of this TicsAgentNatCommonInfo.
|
|
72
|
+
:rtype: str
|
|
73
|
+
"""
|
|
74
|
+
return self._nat_id
|
|
75
|
+
|
|
76
|
+
@nat_id.setter
|
|
77
|
+
def nat_id(self, nat_id):
|
|
78
|
+
r"""Sets the nat_id of this TicsAgentNatCommonInfo.
|
|
79
|
+
|
|
80
|
+
可信节点绑定的网关id
|
|
81
|
+
|
|
82
|
+
:param nat_id: The nat_id of this TicsAgentNatCommonInfo.
|
|
83
|
+
:type nat_id: str
|
|
84
|
+
"""
|
|
85
|
+
self._nat_id = nat_id
|
|
86
|
+
|
|
87
|
+
@property
|
|
88
|
+
def project_id(self):
|
|
89
|
+
r"""Gets the project_id of this TicsAgentNatCommonInfo.
|
|
90
|
+
|
|
91
|
+
项目id
|
|
92
|
+
|
|
93
|
+
:return: The project_id of this TicsAgentNatCommonInfo.
|
|
94
|
+
:rtype: str
|
|
95
|
+
"""
|
|
96
|
+
return self._project_id
|
|
97
|
+
|
|
98
|
+
@project_id.setter
|
|
99
|
+
def project_id(self, project_id):
|
|
100
|
+
r"""Sets the project_id of this TicsAgentNatCommonInfo.
|
|
101
|
+
|
|
102
|
+
项目id
|
|
103
|
+
|
|
104
|
+
:param project_id: The project_id of this TicsAgentNatCommonInfo.
|
|
105
|
+
:type project_id: str
|
|
106
|
+
"""
|
|
107
|
+
self._project_id = project_id
|
|
108
|
+
|
|
109
|
+
@property
|
|
110
|
+
def subnet_id(self):
|
|
111
|
+
r"""Gets the subnet_id of this TicsAgentNatCommonInfo.
|
|
112
|
+
|
|
113
|
+
可信节点绑定的CCE集群所在子网id
|
|
114
|
+
|
|
115
|
+
:return: The subnet_id of this TicsAgentNatCommonInfo.
|
|
116
|
+
:rtype: str
|
|
117
|
+
"""
|
|
118
|
+
return self._subnet_id
|
|
119
|
+
|
|
120
|
+
@subnet_id.setter
|
|
121
|
+
def subnet_id(self, subnet_id):
|
|
122
|
+
r"""Sets the subnet_id of this TicsAgentNatCommonInfo.
|
|
123
|
+
|
|
124
|
+
可信节点绑定的CCE集群所在子网id
|
|
125
|
+
|
|
126
|
+
:param subnet_id: The subnet_id of this TicsAgentNatCommonInfo.
|
|
127
|
+
:type subnet_id: str
|
|
128
|
+
"""
|
|
129
|
+
self._subnet_id = subnet_id
|
|
130
|
+
|
|
131
|
+
@property
|
|
132
|
+
def vpc_id(self):
|
|
133
|
+
r"""Gets the vpc_id of this TicsAgentNatCommonInfo.
|
|
134
|
+
|
|
135
|
+
可信节点绑定的CCE集群所在虚拟私有云id
|
|
136
|
+
|
|
137
|
+
:return: The vpc_id of this TicsAgentNatCommonInfo.
|
|
138
|
+
:rtype: str
|
|
139
|
+
"""
|
|
140
|
+
return self._vpc_id
|
|
141
|
+
|
|
142
|
+
@vpc_id.setter
|
|
143
|
+
def vpc_id(self, vpc_id):
|
|
144
|
+
r"""Sets the vpc_id of this TicsAgentNatCommonInfo.
|
|
145
|
+
|
|
146
|
+
可信节点绑定的CCE集群所在虚拟私有云id
|
|
147
|
+
|
|
148
|
+
:param vpc_id: The vpc_id of this TicsAgentNatCommonInfo.
|
|
149
|
+
:type vpc_id: str
|
|
150
|
+
"""
|
|
151
|
+
self._vpc_id = vpc_id
|
|
152
|
+
|
|
153
|
+
def to_dict(self):
|
|
154
|
+
"""Returns the model properties as a dict"""
|
|
155
|
+
result = {}
|
|
156
|
+
|
|
157
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
|
158
|
+
value = getattr(self, attr)
|
|
159
|
+
if isinstance(value, list):
|
|
160
|
+
result[attr] = list(map(
|
|
161
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
162
|
+
value
|
|
163
|
+
))
|
|
164
|
+
elif hasattr(value, "to_dict"):
|
|
165
|
+
result[attr] = value.to_dict()
|
|
166
|
+
elif isinstance(value, dict):
|
|
167
|
+
result[attr] = dict(map(
|
|
168
|
+
lambda item: (item[0], item[1].to_dict())
|
|
169
|
+
if hasattr(item[1], "to_dict") else item,
|
|
170
|
+
value.items()
|
|
171
|
+
))
|
|
172
|
+
else:
|
|
173
|
+
if attr in self.sensitive_list:
|
|
174
|
+
result[attr] = "****"
|
|
175
|
+
else:
|
|
176
|
+
result[attr] = value
|
|
177
|
+
|
|
178
|
+
return result
|
|
179
|
+
|
|
180
|
+
def to_str(self):
|
|
181
|
+
"""Returns the string representation of the model"""
|
|
182
|
+
import simplejson as json
|
|
183
|
+
if six.PY2:
|
|
184
|
+
import sys
|
|
185
|
+
reload(sys)
|
|
186
|
+
sys.setdefaultencoding("utf-8")
|
|
187
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
188
|
+
|
|
189
|
+
def __repr__(self):
|
|
190
|
+
"""For `print`"""
|
|
191
|
+
return self.to_str()
|
|
192
|
+
|
|
193
|
+
def __eq__(self, other):
|
|
194
|
+
"""Returns true if both objects are equal"""
|
|
195
|
+
if not isinstance(other, TicsAgentNatCommonInfo):
|
|
196
|
+
return False
|
|
197
|
+
|
|
198
|
+
return self.__dict__ == other.__dict__
|
|
199
|
+
|
|
200
|
+
def __ne__(self, other):
|
|
201
|
+
"""Returns true if both objects are not equal"""
|
|
202
|
+
return not self == other
|