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.

Files changed (78) hide show
  1. huaweicloudsdktics/__init__.py +0 -0
  2. huaweicloudsdktics/v1/__init__.py +74 -0
  3. huaweicloudsdktics/v1/model/__init__.py +71 -0
  4. huaweicloudsdktics/v1/model/agent_list_vo.py +521 -0
  5. huaweicloudsdktics/v1/model/deploy_vo.py +228 -0
  6. huaweicloudsdktics/v1/model/fl_job_list_vo.py +457 -0
  7. huaweicloudsdktics/v1/model/job_report_base_info_vo.py +256 -0
  8. huaweicloudsdktics/v1/model/job_report_env_vo.py +231 -0
  9. huaweicloudsdktics/v1/model/job_report_output_vo.py +173 -0
  10. huaweicloudsdktics/v1/model/job_report_partner_vo.py +231 -0
  11. huaweicloudsdktics/v1/model/league_dataset_statistics_vo.py +260 -0
  12. huaweicloudsdktics/v1/model/league_partner_statistics_vo.py +318 -0
  13. huaweicloudsdktics/v1/model/league_update_vo.py +173 -0
  14. huaweicloudsdktics/v1/model/list_agents_request.py +200 -0
  15. huaweicloudsdktics/v1/model/list_agents_response.py +145 -0
  16. huaweicloudsdktics/v1/model/list_audit_info_request.py +170 -0
  17. huaweicloudsdktics/v1/model/list_audit_info_response.py +145 -0
  18. huaweicloudsdktics/v1/model/list_fl_job_request.py +170 -0
  19. huaweicloudsdktics/v1/model/list_fl_job_response.py +145 -0
  20. huaweicloudsdktics/v1/model/list_instance_history_request.py +199 -0
  21. huaweicloudsdktics/v1/model/list_instance_history_response.py +145 -0
  22. huaweicloudsdktics/v1/model/list_league_datasets_request.py +228 -0
  23. huaweicloudsdktics/v1/model/list_league_datasets_response.py +145 -0
  24. huaweicloudsdktics/v1/model/list_leagues_request.py +170 -0
  25. huaweicloudsdktics/v1/model/list_leagues_response.py +145 -0
  26. huaweicloudsdktics/v1/model/list_nodes_request.py +170 -0
  27. huaweicloudsdktics/v1/model/list_nodes_response.py +145 -0
  28. huaweicloudsdktics/v1/model/list_notices_request.py +142 -0
  29. huaweicloudsdktics/v1/model/list_notices_response.py +145 -0
  30. huaweicloudsdktics/v1/model/list_partners_request.py +170 -0
  31. huaweicloudsdktics/v1/model/list_partners_response.py +145 -0
  32. huaweicloudsdktics/v1/model/list_sql_job_request.py +170 -0
  33. huaweicloudsdktics/v1/model/list_sql_job_response.py +145 -0
  34. huaweicloudsdktics/v1/model/partner_data_vo.py +289 -0
  35. huaweicloudsdktics/v1/model/processor_vo.py +374 -0
  36. huaweicloudsdktics/v1/model/round_deploy_vo.py +144 -0
  37. huaweicloudsdktics/v1/model/show_agent_detail_request.py +114 -0
  38. huaweicloudsdktics/v1/model/show_agent_detail_response.py +212 -0
  39. huaweicloudsdktics/v1/model/show_dataset_statistics_request.py +172 -0
  40. huaweicloudsdktics/v1/model/show_dataset_statistics_response.py +112 -0
  41. huaweicloudsdktics/v1/model/show_instance_report_request.py +142 -0
  42. huaweicloudsdktics/v1/model/show_instance_report_response.py +220 -0
  43. huaweicloudsdktics/v1/model/show_job_instance_dag_request.py +170 -0
  44. huaweicloudsdktics/v1/model/show_job_instance_dag_response.py +112 -0
  45. huaweicloudsdktics/v1/model/show_job_statistics_request.py +172 -0
  46. huaweicloudsdktics/v1/model/show_job_statistics_response.py +232 -0
  47. huaweicloudsdktics/v1/model/show_league_request.py +114 -0
  48. huaweicloudsdktics/v1/model/show_league_response.py +725 -0
  49. huaweicloudsdktics/v1/model/show_overview_request.py +84 -0
  50. huaweicloudsdktics/v1/model/show_overview_response.py +203 -0
  51. huaweicloudsdktics/v1/model/show_partner_statistics_request.py +172 -0
  52. huaweicloudsdktics/v1/model/show_partner_statistics_response.py +112 -0
  53. huaweicloudsdktics/v1/model/stage_vo.py +201 -0
  54. huaweicloudsdktics/v1/model/tics_agent_deploy.py +724 -0
  55. huaweicloudsdktics/v1/model/tics_agent_deploy_bcs.py +289 -0
  56. huaweicloudsdktics/v1/model/tics_agent_deploy_detail.py +463 -0
  57. huaweicloudsdktics/v1/model/tics_agent_nat_common_info.py +202 -0
  58. huaweicloudsdktics/v1/model/tics_agent_node_info.py +492 -0
  59. huaweicloudsdktics/v1/model/tics_approve_log_vo.py +484 -0
  60. huaweicloudsdktics/v1/model/tics_dataset_column.py +405 -0
  61. huaweicloudsdktics/v1/model/tics_job_instance_vo.py +401 -0
  62. huaweicloudsdktics/v1/model/tics_league_audit_log.py +376 -0
  63. huaweicloudsdktics/v1/model/tics_league_list_vo.py +543 -0
  64. huaweicloudsdktics/v1/model/tics_league_notice_vo.py +430 -0
  65. huaweicloudsdktics/v1/model/tics_league_partner_vo.py +202 -0
  66. huaweicloudsdktics/v1/model/tics_sql_job_vo.py +483 -0
  67. huaweicloudsdktics/v1/model/tics_trust_info_vo.py +347 -0
  68. huaweicloudsdktics/v1/model/update_league_request.py +139 -0
  69. huaweicloudsdktics/v1/model/update_league_response.py +112 -0
  70. huaweicloudsdktics/v1/region/__init__.py +0 -0
  71. huaweicloudsdktics/v1/region/tics_region.py +34 -0
  72. huaweicloudsdktics/v1/tics_async_client.py +1382 -0
  73. huaweicloudsdktics/v1/tics_client.py +1379 -0
  74. huaweicloudsdktics-3.1.160.dist-info/LICENSE +13 -0
  75. huaweicloudsdktics-3.1.160.dist-info/METADATA +26 -0
  76. huaweicloudsdktics-3.1.160.dist-info/RECORD +78 -0
  77. huaweicloudsdktics-3.1.160.dist-info/WHEEL +5 -0
  78. huaweicloudsdktics-3.1.160.dist-info/top_level.txt +1 -0
@@ -0,0 +1,724 @@
1
+ # coding: utf-8
2
+
3
+ import six
4
+
5
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
6
+
7
+
8
+ class TicsAgentDeploy:
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_id': 'str',
21
+ 'agent_name': 'str',
22
+ 'aom_flag': 'bool',
23
+ 'bcs_flag': 'bool',
24
+ 'cce_version': 'str',
25
+ 'create_time': 'datetime',
26
+ 'creator_domain_id': 'str',
27
+ 'creator_id': 'str',
28
+ 'creator_name': 'str',
29
+ 'creator_project_id': 'str',
30
+ 'deploy_status': 'str',
31
+ 'deploy_type': 'str',
32
+ 'deployment_event_information': 'str',
33
+ 'high_avail': 'bool',
34
+ 'image_id': 'str',
35
+ 'image_version': 'str',
36
+ 'league_id': 'str',
37
+ 'league_name': 'str',
38
+ 'league_region_name': 'str',
39
+ 'league_version': 'str',
40
+ 'nat_id': 'str',
41
+ 'storage_mount_type': 'str'
42
+ }
43
+
44
+ attribute_map = {
45
+ 'agent_id': 'agent_id',
46
+ 'agent_name': 'agent_name',
47
+ 'aom_flag': 'aom_flag',
48
+ 'bcs_flag': 'bcs_flag',
49
+ 'cce_version': 'cce_version',
50
+ 'create_time': 'create_time',
51
+ 'creator_domain_id': 'creator_domain_id',
52
+ 'creator_id': 'creator_id',
53
+ 'creator_name': 'creator_name',
54
+ 'creator_project_id': 'creator_project_id',
55
+ 'deploy_status': 'deploy_status',
56
+ 'deploy_type': 'deploy_type',
57
+ 'deployment_event_information': 'deployment_event_information',
58
+ 'high_avail': 'high_avail',
59
+ 'image_id': 'image_id',
60
+ 'image_version': 'image_version',
61
+ 'league_id': 'league_id',
62
+ 'league_name': 'league_name',
63
+ 'league_region_name': 'league_region_name',
64
+ 'league_version': 'league_version',
65
+ 'nat_id': 'nat_id',
66
+ 'storage_mount_type': 'storage_mount_type'
67
+ }
68
+
69
+ def __init__(self, agent_id=None, agent_name=None, aom_flag=None, bcs_flag=None, cce_version=None, create_time=None, creator_domain_id=None, creator_id=None, creator_name=None, creator_project_id=None, deploy_status=None, deploy_type=None, deployment_event_information=None, high_avail=None, image_id=None, image_version=None, league_id=None, league_name=None, league_region_name=None, league_version=None, nat_id=None, storage_mount_type=None):
70
+ r"""TicsAgentDeploy
71
+
72
+ The model defined in huaweicloud sdk
73
+
74
+ :param agent_id: 可信节点Id
75
+ :type agent_id: str
76
+ :param agent_name: 可信节点名称
77
+ :type agent_name: str
78
+ :param aom_flag: 是否开启aom监控
79
+ :type aom_flag: bool
80
+ :param bcs_flag: 是否使用区块链存证
81
+ :type bcs_flag: bool
82
+ :param cce_version: 可信节点使用cce集群的版本
83
+ :type cce_version: str
84
+ :param create_time: 可信节点创建时间
85
+ :type create_time: datetime
86
+ :param creator_domain_id: 可信节点创建者的租户Id
87
+ :type creator_domain_id: str
88
+ :param creator_id: 可信节点创建者的Id
89
+ :type creator_id: str
90
+ :param creator_name: 可信节点创建者的名称
91
+ :type creator_name: str
92
+ :param creator_project_id: 创建可信节点所在项目Id
93
+ :type creator_project_id: str
94
+ :param deploy_status: 可信节点部署状态,ABNORMAL.正常,RESTARTING.重启中,RESTART_FAILED.重启失败,ROLLBACKING.回滚中,STARTING.启动中,DEPLOYING.创建中,DEPLOY_FAILED.创建失败,DEPLOY_SUCCESS.创建成功,RUNNING.运行中,DELETING.删除中,DELETE_FAILED.删除失败,DELETE_SUCCESS.删除成功,UPGRADING.升级中,UPGRADE_FAILED.升级失败,ROLLBACK.回退中,ROLLBACK_FAILED.回退失败,SUCCESS.成功,FAILED.失败,TO_START.待开始,IN_PROGRESS.进行中
95
+ :type deploy_status: str
96
+ :param deploy_type: 可信节点部署类型,CCE.云容器集群,IEF.边缘容器
97
+ :type deploy_type: str
98
+ :param deployment_event_information: 可信节点部署类型
99
+ :type deployment_event_information: str
100
+ :param high_avail: 可信节点是否高可用部署
101
+ :type high_avail: bool
102
+ :param image_id: 可信节点部署使用的镜像Id
103
+ :type image_id: str
104
+ :param image_version: 可信节点部署使用的镜像版本
105
+ :type image_version: str
106
+ :param league_id: 可信节点所在联盟的Id
107
+ :type league_id: str
108
+ :param league_name: 可信节点所在联盟的名称
109
+ :type league_name: str
110
+ :param league_region_name: 可信节点所在联盟的区域
111
+ :type league_region_name: str
112
+ :param league_version: 可信节点所在联盟的版本
113
+ :type league_version: str
114
+ :param nat_id: 可信节点使用的网关的Id
115
+ :type nat_id: str
116
+ :param storage_mount_type: 可信节点使用的存储方式,HOST_PATH.本地存储,OBS.对象云存储,SFS_TURBO.极速文件存储
117
+ :type storage_mount_type: str
118
+ """
119
+
120
+
121
+
122
+ self._agent_id = None
123
+ self._agent_name = None
124
+ self._aom_flag = None
125
+ self._bcs_flag = None
126
+ self._cce_version = None
127
+ self._create_time = None
128
+ self._creator_domain_id = None
129
+ self._creator_id = None
130
+ self._creator_name = None
131
+ self._creator_project_id = None
132
+ self._deploy_status = None
133
+ self._deploy_type = None
134
+ self._deployment_event_information = None
135
+ self._high_avail = None
136
+ self._image_id = None
137
+ self._image_version = None
138
+ self._league_id = None
139
+ self._league_name = None
140
+ self._league_region_name = None
141
+ self._league_version = None
142
+ self._nat_id = None
143
+ self._storage_mount_type = None
144
+ self.discriminator = None
145
+
146
+ if agent_id is not None:
147
+ self.agent_id = agent_id
148
+ if agent_name is not None:
149
+ self.agent_name = agent_name
150
+ if aom_flag is not None:
151
+ self.aom_flag = aom_flag
152
+ if bcs_flag is not None:
153
+ self.bcs_flag = bcs_flag
154
+ if cce_version is not None:
155
+ self.cce_version = cce_version
156
+ if create_time is not None:
157
+ self.create_time = create_time
158
+ if creator_domain_id is not None:
159
+ self.creator_domain_id = creator_domain_id
160
+ if creator_id is not None:
161
+ self.creator_id = creator_id
162
+ if creator_name is not None:
163
+ self.creator_name = creator_name
164
+ if creator_project_id is not None:
165
+ self.creator_project_id = creator_project_id
166
+ if deploy_status is not None:
167
+ self.deploy_status = deploy_status
168
+ if deploy_type is not None:
169
+ self.deploy_type = deploy_type
170
+ if deployment_event_information is not None:
171
+ self.deployment_event_information = deployment_event_information
172
+ if high_avail is not None:
173
+ self.high_avail = high_avail
174
+ if image_id is not None:
175
+ self.image_id = image_id
176
+ if image_version is not None:
177
+ self.image_version = image_version
178
+ if league_id is not None:
179
+ self.league_id = league_id
180
+ if league_name is not None:
181
+ self.league_name = league_name
182
+ if league_region_name is not None:
183
+ self.league_region_name = league_region_name
184
+ if league_version is not None:
185
+ self.league_version = league_version
186
+ if nat_id is not None:
187
+ self.nat_id = nat_id
188
+ if storage_mount_type is not None:
189
+ self.storage_mount_type = storage_mount_type
190
+
191
+ @property
192
+ def agent_id(self):
193
+ r"""Gets the agent_id of this TicsAgentDeploy.
194
+
195
+ 可信节点Id
196
+
197
+ :return: The agent_id of this TicsAgentDeploy.
198
+ :rtype: str
199
+ """
200
+ return self._agent_id
201
+
202
+ @agent_id.setter
203
+ def agent_id(self, agent_id):
204
+ r"""Sets the agent_id of this TicsAgentDeploy.
205
+
206
+ 可信节点Id
207
+
208
+ :param agent_id: The agent_id of this TicsAgentDeploy.
209
+ :type agent_id: str
210
+ """
211
+ self._agent_id = agent_id
212
+
213
+ @property
214
+ def agent_name(self):
215
+ r"""Gets the agent_name of this TicsAgentDeploy.
216
+
217
+ 可信节点名称
218
+
219
+ :return: The agent_name of this TicsAgentDeploy.
220
+ :rtype: str
221
+ """
222
+ return self._agent_name
223
+
224
+ @agent_name.setter
225
+ def agent_name(self, agent_name):
226
+ r"""Sets the agent_name of this TicsAgentDeploy.
227
+
228
+ 可信节点名称
229
+
230
+ :param agent_name: The agent_name of this TicsAgentDeploy.
231
+ :type agent_name: str
232
+ """
233
+ self._agent_name = agent_name
234
+
235
+ @property
236
+ def aom_flag(self):
237
+ r"""Gets the aom_flag of this TicsAgentDeploy.
238
+
239
+ 是否开启aom监控
240
+
241
+ :return: The aom_flag of this TicsAgentDeploy.
242
+ :rtype: bool
243
+ """
244
+ return self._aom_flag
245
+
246
+ @aom_flag.setter
247
+ def aom_flag(self, aom_flag):
248
+ r"""Sets the aom_flag of this TicsAgentDeploy.
249
+
250
+ 是否开启aom监控
251
+
252
+ :param aom_flag: The aom_flag of this TicsAgentDeploy.
253
+ :type aom_flag: bool
254
+ """
255
+ self._aom_flag = aom_flag
256
+
257
+ @property
258
+ def bcs_flag(self):
259
+ r"""Gets the bcs_flag of this TicsAgentDeploy.
260
+
261
+ 是否使用区块链存证
262
+
263
+ :return: The bcs_flag of this TicsAgentDeploy.
264
+ :rtype: bool
265
+ """
266
+ return self._bcs_flag
267
+
268
+ @bcs_flag.setter
269
+ def bcs_flag(self, bcs_flag):
270
+ r"""Sets the bcs_flag of this TicsAgentDeploy.
271
+
272
+ 是否使用区块链存证
273
+
274
+ :param bcs_flag: The bcs_flag of this TicsAgentDeploy.
275
+ :type bcs_flag: bool
276
+ """
277
+ self._bcs_flag = bcs_flag
278
+
279
+ @property
280
+ def cce_version(self):
281
+ r"""Gets the cce_version of this TicsAgentDeploy.
282
+
283
+ 可信节点使用cce集群的版本
284
+
285
+ :return: The cce_version of this TicsAgentDeploy.
286
+ :rtype: str
287
+ """
288
+ return self._cce_version
289
+
290
+ @cce_version.setter
291
+ def cce_version(self, cce_version):
292
+ r"""Sets the cce_version of this TicsAgentDeploy.
293
+
294
+ 可信节点使用cce集群的版本
295
+
296
+ :param cce_version: The cce_version of this TicsAgentDeploy.
297
+ :type cce_version: str
298
+ """
299
+ self._cce_version = cce_version
300
+
301
+ @property
302
+ def create_time(self):
303
+ r"""Gets the create_time of this TicsAgentDeploy.
304
+
305
+ 可信节点创建时间
306
+
307
+ :return: The create_time of this TicsAgentDeploy.
308
+ :rtype: datetime
309
+ """
310
+ return self._create_time
311
+
312
+ @create_time.setter
313
+ def create_time(self, create_time):
314
+ r"""Sets the create_time of this TicsAgentDeploy.
315
+
316
+ 可信节点创建时间
317
+
318
+ :param create_time: The create_time of this TicsAgentDeploy.
319
+ :type create_time: datetime
320
+ """
321
+ self._create_time = create_time
322
+
323
+ @property
324
+ def creator_domain_id(self):
325
+ r"""Gets the creator_domain_id of this TicsAgentDeploy.
326
+
327
+ 可信节点创建者的租户Id
328
+
329
+ :return: The creator_domain_id of this TicsAgentDeploy.
330
+ :rtype: str
331
+ """
332
+ return self._creator_domain_id
333
+
334
+ @creator_domain_id.setter
335
+ def creator_domain_id(self, creator_domain_id):
336
+ r"""Sets the creator_domain_id of this TicsAgentDeploy.
337
+
338
+ 可信节点创建者的租户Id
339
+
340
+ :param creator_domain_id: The creator_domain_id of this TicsAgentDeploy.
341
+ :type creator_domain_id: str
342
+ """
343
+ self._creator_domain_id = creator_domain_id
344
+
345
+ @property
346
+ def creator_id(self):
347
+ r"""Gets the creator_id of this TicsAgentDeploy.
348
+
349
+ 可信节点创建者的Id
350
+
351
+ :return: The creator_id of this TicsAgentDeploy.
352
+ :rtype: str
353
+ """
354
+ return self._creator_id
355
+
356
+ @creator_id.setter
357
+ def creator_id(self, creator_id):
358
+ r"""Sets the creator_id of this TicsAgentDeploy.
359
+
360
+ 可信节点创建者的Id
361
+
362
+ :param creator_id: The creator_id of this TicsAgentDeploy.
363
+ :type creator_id: str
364
+ """
365
+ self._creator_id = creator_id
366
+
367
+ @property
368
+ def creator_name(self):
369
+ r"""Gets the creator_name of this TicsAgentDeploy.
370
+
371
+ 可信节点创建者的名称
372
+
373
+ :return: The creator_name of this TicsAgentDeploy.
374
+ :rtype: str
375
+ """
376
+ return self._creator_name
377
+
378
+ @creator_name.setter
379
+ def creator_name(self, creator_name):
380
+ r"""Sets the creator_name of this TicsAgentDeploy.
381
+
382
+ 可信节点创建者的名称
383
+
384
+ :param creator_name: The creator_name of this TicsAgentDeploy.
385
+ :type creator_name: str
386
+ """
387
+ self._creator_name = creator_name
388
+
389
+ @property
390
+ def creator_project_id(self):
391
+ r"""Gets the creator_project_id of this TicsAgentDeploy.
392
+
393
+ 创建可信节点所在项目Id
394
+
395
+ :return: The creator_project_id of this TicsAgentDeploy.
396
+ :rtype: str
397
+ """
398
+ return self._creator_project_id
399
+
400
+ @creator_project_id.setter
401
+ def creator_project_id(self, creator_project_id):
402
+ r"""Sets the creator_project_id of this TicsAgentDeploy.
403
+
404
+ 创建可信节点所在项目Id
405
+
406
+ :param creator_project_id: The creator_project_id of this TicsAgentDeploy.
407
+ :type creator_project_id: str
408
+ """
409
+ self._creator_project_id = creator_project_id
410
+
411
+ @property
412
+ def deploy_status(self):
413
+ r"""Gets the deploy_status of this TicsAgentDeploy.
414
+
415
+ 可信节点部署状态,ABNORMAL.正常,RESTARTING.重启中,RESTART_FAILED.重启失败,ROLLBACKING.回滚中,STARTING.启动中,DEPLOYING.创建中,DEPLOY_FAILED.创建失败,DEPLOY_SUCCESS.创建成功,RUNNING.运行中,DELETING.删除中,DELETE_FAILED.删除失败,DELETE_SUCCESS.删除成功,UPGRADING.升级中,UPGRADE_FAILED.升级失败,ROLLBACK.回退中,ROLLBACK_FAILED.回退失败,SUCCESS.成功,FAILED.失败,TO_START.待开始,IN_PROGRESS.进行中
416
+
417
+ :return: The deploy_status of this TicsAgentDeploy.
418
+ :rtype: str
419
+ """
420
+ return self._deploy_status
421
+
422
+ @deploy_status.setter
423
+ def deploy_status(self, deploy_status):
424
+ r"""Sets the deploy_status of this TicsAgentDeploy.
425
+
426
+ 可信节点部署状态,ABNORMAL.正常,RESTARTING.重启中,RESTART_FAILED.重启失败,ROLLBACKING.回滚中,STARTING.启动中,DEPLOYING.创建中,DEPLOY_FAILED.创建失败,DEPLOY_SUCCESS.创建成功,RUNNING.运行中,DELETING.删除中,DELETE_FAILED.删除失败,DELETE_SUCCESS.删除成功,UPGRADING.升级中,UPGRADE_FAILED.升级失败,ROLLBACK.回退中,ROLLBACK_FAILED.回退失败,SUCCESS.成功,FAILED.失败,TO_START.待开始,IN_PROGRESS.进行中
427
+
428
+ :param deploy_status: The deploy_status of this TicsAgentDeploy.
429
+ :type deploy_status: str
430
+ """
431
+ self._deploy_status = deploy_status
432
+
433
+ @property
434
+ def deploy_type(self):
435
+ r"""Gets the deploy_type of this TicsAgentDeploy.
436
+
437
+ 可信节点部署类型,CCE.云容器集群,IEF.边缘容器
438
+
439
+ :return: The deploy_type of this TicsAgentDeploy.
440
+ :rtype: str
441
+ """
442
+ return self._deploy_type
443
+
444
+ @deploy_type.setter
445
+ def deploy_type(self, deploy_type):
446
+ r"""Sets the deploy_type of this TicsAgentDeploy.
447
+
448
+ 可信节点部署类型,CCE.云容器集群,IEF.边缘容器
449
+
450
+ :param deploy_type: The deploy_type of this TicsAgentDeploy.
451
+ :type deploy_type: str
452
+ """
453
+ self._deploy_type = deploy_type
454
+
455
+ @property
456
+ def deployment_event_information(self):
457
+ r"""Gets the deployment_event_information of this TicsAgentDeploy.
458
+
459
+ 可信节点部署类型
460
+
461
+ :return: The deployment_event_information of this TicsAgentDeploy.
462
+ :rtype: str
463
+ """
464
+ return self._deployment_event_information
465
+
466
+ @deployment_event_information.setter
467
+ def deployment_event_information(self, deployment_event_information):
468
+ r"""Sets the deployment_event_information of this TicsAgentDeploy.
469
+
470
+ 可信节点部署类型
471
+
472
+ :param deployment_event_information: The deployment_event_information of this TicsAgentDeploy.
473
+ :type deployment_event_information: str
474
+ """
475
+ self._deployment_event_information = deployment_event_information
476
+
477
+ @property
478
+ def high_avail(self):
479
+ r"""Gets the high_avail of this TicsAgentDeploy.
480
+
481
+ 可信节点是否高可用部署
482
+
483
+ :return: The high_avail of this TicsAgentDeploy.
484
+ :rtype: bool
485
+ """
486
+ return self._high_avail
487
+
488
+ @high_avail.setter
489
+ def high_avail(self, high_avail):
490
+ r"""Sets the high_avail of this TicsAgentDeploy.
491
+
492
+ 可信节点是否高可用部署
493
+
494
+ :param high_avail: The high_avail of this TicsAgentDeploy.
495
+ :type high_avail: bool
496
+ """
497
+ self._high_avail = high_avail
498
+
499
+ @property
500
+ def image_id(self):
501
+ r"""Gets the image_id of this TicsAgentDeploy.
502
+
503
+ 可信节点部署使用的镜像Id
504
+
505
+ :return: The image_id of this TicsAgentDeploy.
506
+ :rtype: str
507
+ """
508
+ return self._image_id
509
+
510
+ @image_id.setter
511
+ def image_id(self, image_id):
512
+ r"""Sets the image_id of this TicsAgentDeploy.
513
+
514
+ 可信节点部署使用的镜像Id
515
+
516
+ :param image_id: The image_id of this TicsAgentDeploy.
517
+ :type image_id: str
518
+ """
519
+ self._image_id = image_id
520
+
521
+ @property
522
+ def image_version(self):
523
+ r"""Gets the image_version of this TicsAgentDeploy.
524
+
525
+ 可信节点部署使用的镜像版本
526
+
527
+ :return: The image_version of this TicsAgentDeploy.
528
+ :rtype: str
529
+ """
530
+ return self._image_version
531
+
532
+ @image_version.setter
533
+ def image_version(self, image_version):
534
+ r"""Sets the image_version of this TicsAgentDeploy.
535
+
536
+ 可信节点部署使用的镜像版本
537
+
538
+ :param image_version: The image_version of this TicsAgentDeploy.
539
+ :type image_version: str
540
+ """
541
+ self._image_version = image_version
542
+
543
+ @property
544
+ def league_id(self):
545
+ r"""Gets the league_id of this TicsAgentDeploy.
546
+
547
+ 可信节点所在联盟的Id
548
+
549
+ :return: The league_id of this TicsAgentDeploy.
550
+ :rtype: str
551
+ """
552
+ return self._league_id
553
+
554
+ @league_id.setter
555
+ def league_id(self, league_id):
556
+ r"""Sets the league_id of this TicsAgentDeploy.
557
+
558
+ 可信节点所在联盟的Id
559
+
560
+ :param league_id: The league_id of this TicsAgentDeploy.
561
+ :type league_id: str
562
+ """
563
+ self._league_id = league_id
564
+
565
+ @property
566
+ def league_name(self):
567
+ r"""Gets the league_name of this TicsAgentDeploy.
568
+
569
+ 可信节点所在联盟的名称
570
+
571
+ :return: The league_name of this TicsAgentDeploy.
572
+ :rtype: str
573
+ """
574
+ return self._league_name
575
+
576
+ @league_name.setter
577
+ def league_name(self, league_name):
578
+ r"""Sets the league_name of this TicsAgentDeploy.
579
+
580
+ 可信节点所在联盟的名称
581
+
582
+ :param league_name: The league_name of this TicsAgentDeploy.
583
+ :type league_name: str
584
+ """
585
+ self._league_name = league_name
586
+
587
+ @property
588
+ def league_region_name(self):
589
+ r"""Gets the league_region_name of this TicsAgentDeploy.
590
+
591
+ 可信节点所在联盟的区域
592
+
593
+ :return: The league_region_name of this TicsAgentDeploy.
594
+ :rtype: str
595
+ """
596
+ return self._league_region_name
597
+
598
+ @league_region_name.setter
599
+ def league_region_name(self, league_region_name):
600
+ r"""Sets the league_region_name of this TicsAgentDeploy.
601
+
602
+ 可信节点所在联盟的区域
603
+
604
+ :param league_region_name: The league_region_name of this TicsAgentDeploy.
605
+ :type league_region_name: str
606
+ """
607
+ self._league_region_name = league_region_name
608
+
609
+ @property
610
+ def league_version(self):
611
+ r"""Gets the league_version of this TicsAgentDeploy.
612
+
613
+ 可信节点所在联盟的版本
614
+
615
+ :return: The league_version of this TicsAgentDeploy.
616
+ :rtype: str
617
+ """
618
+ return self._league_version
619
+
620
+ @league_version.setter
621
+ def league_version(self, league_version):
622
+ r"""Sets the league_version of this TicsAgentDeploy.
623
+
624
+ 可信节点所在联盟的版本
625
+
626
+ :param league_version: The league_version of this TicsAgentDeploy.
627
+ :type league_version: str
628
+ """
629
+ self._league_version = league_version
630
+
631
+ @property
632
+ def nat_id(self):
633
+ r"""Gets the nat_id of this TicsAgentDeploy.
634
+
635
+ 可信节点使用的网关的Id
636
+
637
+ :return: The nat_id of this TicsAgentDeploy.
638
+ :rtype: str
639
+ """
640
+ return self._nat_id
641
+
642
+ @nat_id.setter
643
+ def nat_id(self, nat_id):
644
+ r"""Sets the nat_id of this TicsAgentDeploy.
645
+
646
+ 可信节点使用的网关的Id
647
+
648
+ :param nat_id: The nat_id of this TicsAgentDeploy.
649
+ :type nat_id: str
650
+ """
651
+ self._nat_id = nat_id
652
+
653
+ @property
654
+ def storage_mount_type(self):
655
+ r"""Gets the storage_mount_type of this TicsAgentDeploy.
656
+
657
+ 可信节点使用的存储方式,HOST_PATH.本地存储,OBS.对象云存储,SFS_TURBO.极速文件存储
658
+
659
+ :return: The storage_mount_type of this TicsAgentDeploy.
660
+ :rtype: str
661
+ """
662
+ return self._storage_mount_type
663
+
664
+ @storage_mount_type.setter
665
+ def storage_mount_type(self, storage_mount_type):
666
+ r"""Sets the storage_mount_type of this TicsAgentDeploy.
667
+
668
+ 可信节点使用的存储方式,HOST_PATH.本地存储,OBS.对象云存储,SFS_TURBO.极速文件存储
669
+
670
+ :param storage_mount_type: The storage_mount_type of this TicsAgentDeploy.
671
+ :type storage_mount_type: str
672
+ """
673
+ self._storage_mount_type = storage_mount_type
674
+
675
+ def to_dict(self):
676
+ """Returns the model properties as a dict"""
677
+ result = {}
678
+
679
+ for attr, _ in six.iteritems(self.openapi_types):
680
+ value = getattr(self, attr)
681
+ if isinstance(value, list):
682
+ result[attr] = list(map(
683
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
684
+ value
685
+ ))
686
+ elif hasattr(value, "to_dict"):
687
+ result[attr] = value.to_dict()
688
+ elif isinstance(value, dict):
689
+ result[attr] = dict(map(
690
+ lambda item: (item[0], item[1].to_dict())
691
+ if hasattr(item[1], "to_dict") else item,
692
+ value.items()
693
+ ))
694
+ else:
695
+ if attr in self.sensitive_list:
696
+ result[attr] = "****"
697
+ else:
698
+ result[attr] = value
699
+
700
+ return result
701
+
702
+ def to_str(self):
703
+ """Returns the string representation of the model"""
704
+ import simplejson as json
705
+ if six.PY2:
706
+ import sys
707
+ reload(sys)
708
+ sys.setdefaultencoding("utf-8")
709
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
710
+
711
+ def __repr__(self):
712
+ """For `print`"""
713
+ return self.to_str()
714
+
715
+ def __eq__(self, other):
716
+ """Returns true if both objects are equal"""
717
+ if not isinstance(other, TicsAgentDeploy):
718
+ return False
719
+
720
+ return self.__dict__ == other.__dict__
721
+
722
+ def __ne__(self, other):
723
+ """Returns true if both objects are not equal"""
724
+ return not self == other