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