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.
- 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 +514 -0
- huaweicloudsdktics/v1/model/deploy_vo.py +221 -0
- huaweicloudsdktics/v1/model/fl_job_list_vo.py +450 -0
- huaweicloudsdktics/v1/model/job_report_base_info_vo.py +249 -0
- huaweicloudsdktics/v1/model/job_report_env_vo.py +224 -0
- huaweicloudsdktics/v1/model/job_report_output_vo.py +166 -0
- huaweicloudsdktics/v1/model/job_report_partner_vo.py +224 -0
- huaweicloudsdktics/v1/model/league_dataset_statistics_vo.py +253 -0
- huaweicloudsdktics/v1/model/league_partner_statistics_vo.py +311 -0
- huaweicloudsdktics/v1/model/league_update_vo.py +166 -0
- huaweicloudsdktics/v1/model/list_agents_request.py +193 -0
- huaweicloudsdktics/v1/model/list_agents_response.py +141 -0
- huaweicloudsdktics/v1/model/list_audit_info_request.py +163 -0
- huaweicloudsdktics/v1/model/list_audit_info_response.py +141 -0
- huaweicloudsdktics/v1/model/list_fl_job_request.py +163 -0
- huaweicloudsdktics/v1/model/list_fl_job_response.py +141 -0
- huaweicloudsdktics/v1/model/list_instance_history_request.py +192 -0
- huaweicloudsdktics/v1/model/list_instance_history_response.py +141 -0
- huaweicloudsdktics/v1/model/list_league_datasets_request.py +221 -0
- huaweicloudsdktics/v1/model/list_league_datasets_response.py +141 -0
- huaweicloudsdktics/v1/model/list_leagues_request.py +163 -0
- huaweicloudsdktics/v1/model/list_leagues_response.py +141 -0
- huaweicloudsdktics/v1/model/list_nodes_request.py +163 -0
- huaweicloudsdktics/v1/model/list_nodes_response.py +141 -0
- huaweicloudsdktics/v1/model/list_notices_request.py +135 -0
- huaweicloudsdktics/v1/model/list_notices_response.py +141 -0
- huaweicloudsdktics/v1/model/list_partners_request.py +163 -0
- huaweicloudsdktics/v1/model/list_partners_response.py +141 -0
- huaweicloudsdktics/v1/model/list_sql_job_request.py +163 -0
- huaweicloudsdktics/v1/model/list_sql_job_response.py +141 -0
- huaweicloudsdktics/v1/model/partner_data_vo.py +282 -0
- huaweicloudsdktics/v1/model/processor_vo.py +367 -0
- huaweicloudsdktics/v1/model/round_deploy_vo.py +137 -0
- huaweicloudsdktics/v1/model/show_agent_detail_request.py +107 -0
- huaweicloudsdktics/v1/model/show_agent_detail_response.py +208 -0
- huaweicloudsdktics/v1/model/show_dataset_statistics_request.py +165 -0
- huaweicloudsdktics/v1/model/show_dataset_statistics_response.py +108 -0
- huaweicloudsdktics/v1/model/show_instance_report_request.py +135 -0
- huaweicloudsdktics/v1/model/show_instance_report_response.py +216 -0
- huaweicloudsdktics/v1/model/show_job_instance_dag_request.py +163 -0
- huaweicloudsdktics/v1/model/show_job_instance_dag_response.py +108 -0
- huaweicloudsdktics/v1/model/show_job_statistics_request.py +165 -0
- huaweicloudsdktics/v1/model/show_job_statistics_response.py +228 -0
- huaweicloudsdktics/v1/model/show_league_request.py +107 -0
- huaweicloudsdktics/v1/model/show_league_response.py +721 -0
- huaweicloudsdktics/v1/model/show_overview_request.py +77 -0
- huaweicloudsdktics/v1/model/show_overview_response.py +199 -0
- huaweicloudsdktics/v1/model/show_partner_statistics_request.py +165 -0
- huaweicloudsdktics/v1/model/show_partner_statistics_response.py +108 -0
- huaweicloudsdktics/v1/model/stage_vo.py +194 -0
- huaweicloudsdktics/v1/model/tics_agent_deploy.py +717 -0
- huaweicloudsdktics/v1/model/tics_agent_deploy_bcs.py +282 -0
- huaweicloudsdktics/v1/model/tics_agent_deploy_detail.py +456 -0
- huaweicloudsdktics/v1/model/tics_agent_nat_common_info.py +195 -0
- huaweicloudsdktics/v1/model/tics_agent_node_info.py +485 -0
- huaweicloudsdktics/v1/model/tics_approve_log_vo.py +477 -0
- huaweicloudsdktics/v1/model/tics_dataset_column.py +398 -0
- huaweicloudsdktics/v1/model/tics_job_instance_vo.py +394 -0
- huaweicloudsdktics/v1/model/tics_league_audit_log.py +369 -0
- huaweicloudsdktics/v1/model/tics_league_list_vo.py +536 -0
- huaweicloudsdktics/v1/model/tics_league_notice_vo.py +423 -0
- huaweicloudsdktics/v1/model/tics_league_partner_vo.py +195 -0
- huaweicloudsdktics/v1/model/tics_sql_job_vo.py +476 -0
- huaweicloudsdktics/v1/model/tics_trust_info_vo.py +340 -0
- huaweicloudsdktics/v1/model/update_league_request.py +132 -0
- huaweicloudsdktics/v1/model/update_league_response.py +108 -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.181.dist-info/METADATA +25 -0
- huaweicloudsdktics-3.1.181.dist-info/RECORD +77 -0
- huaweicloudsdktics-3.1.181.dist-info/WHEEL +4 -0
- huaweicloudsdktics-3.1.181.dist-info/licenses/LICENSE +13 -0
|
File without changes
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
from __future__ import absolute_import
|
|
4
|
+
|
|
5
|
+
from huaweicloudsdktics.v1.tics_client import TicsClient
|
|
6
|
+
from huaweicloudsdktics.v1.tics_async_client import TicsAsyncClient
|
|
7
|
+
|
|
8
|
+
from huaweicloudsdktics.v1.model.agent_list_vo import AgentListVo
|
|
9
|
+
from huaweicloudsdktics.v1.model.deploy_vo import DeployVo
|
|
10
|
+
from huaweicloudsdktics.v1.model.fl_job_list_vo import FlJobListVo
|
|
11
|
+
from huaweicloudsdktics.v1.model.job_report_base_info_vo import JobReportBaseInfoVo
|
|
12
|
+
from huaweicloudsdktics.v1.model.job_report_env_vo import JobReportEnvVo
|
|
13
|
+
from huaweicloudsdktics.v1.model.job_report_output_vo import JobReportOutputVo
|
|
14
|
+
from huaweicloudsdktics.v1.model.job_report_partner_vo import JobReportPartnerVo
|
|
15
|
+
from huaweicloudsdktics.v1.model.league_dataset_statistics_vo import LeagueDatasetStatisticsVo
|
|
16
|
+
from huaweicloudsdktics.v1.model.league_partner_statistics_vo import LeaguePartnerStatisticsVo
|
|
17
|
+
from huaweicloudsdktics.v1.model.league_update_vo import LeagueUpdateVo
|
|
18
|
+
from huaweicloudsdktics.v1.model.list_agents_request import ListAgentsRequest
|
|
19
|
+
from huaweicloudsdktics.v1.model.list_agents_response import ListAgentsResponse
|
|
20
|
+
from huaweicloudsdktics.v1.model.list_audit_info_request import ListAuditInfoRequest
|
|
21
|
+
from huaweicloudsdktics.v1.model.list_audit_info_response import ListAuditInfoResponse
|
|
22
|
+
from huaweicloudsdktics.v1.model.list_fl_job_request import ListFlJobRequest
|
|
23
|
+
from huaweicloudsdktics.v1.model.list_fl_job_response import ListFlJobResponse
|
|
24
|
+
from huaweicloudsdktics.v1.model.list_instance_history_request import ListInstanceHistoryRequest
|
|
25
|
+
from huaweicloudsdktics.v1.model.list_instance_history_response import ListInstanceHistoryResponse
|
|
26
|
+
from huaweicloudsdktics.v1.model.list_league_datasets_request import ListLeagueDatasetsRequest
|
|
27
|
+
from huaweicloudsdktics.v1.model.list_league_datasets_response import ListLeagueDatasetsResponse
|
|
28
|
+
from huaweicloudsdktics.v1.model.list_leagues_request import ListLeaguesRequest
|
|
29
|
+
from huaweicloudsdktics.v1.model.list_leagues_response import ListLeaguesResponse
|
|
30
|
+
from huaweicloudsdktics.v1.model.list_nodes_request import ListNodesRequest
|
|
31
|
+
from huaweicloudsdktics.v1.model.list_nodes_response import ListNodesResponse
|
|
32
|
+
from huaweicloudsdktics.v1.model.list_notices_request import ListNoticesRequest
|
|
33
|
+
from huaweicloudsdktics.v1.model.list_notices_response import ListNoticesResponse
|
|
34
|
+
from huaweicloudsdktics.v1.model.list_partners_request import ListPartnersRequest
|
|
35
|
+
from huaweicloudsdktics.v1.model.list_partners_response import ListPartnersResponse
|
|
36
|
+
from huaweicloudsdktics.v1.model.list_sql_job_request import ListSqlJobRequest
|
|
37
|
+
from huaweicloudsdktics.v1.model.list_sql_job_response import ListSqlJobResponse
|
|
38
|
+
from huaweicloudsdktics.v1.model.partner_data_vo import PartnerDataVo
|
|
39
|
+
from huaweicloudsdktics.v1.model.processor_vo import ProcessorVo
|
|
40
|
+
from huaweicloudsdktics.v1.model.round_deploy_vo import RoundDeployVo
|
|
41
|
+
from huaweicloudsdktics.v1.model.show_agent_detail_request import ShowAgentDetailRequest
|
|
42
|
+
from huaweicloudsdktics.v1.model.show_agent_detail_response import ShowAgentDetailResponse
|
|
43
|
+
from huaweicloudsdktics.v1.model.show_dataset_statistics_request import ShowDatasetStatisticsRequest
|
|
44
|
+
from huaweicloudsdktics.v1.model.show_dataset_statistics_response import ShowDatasetStatisticsResponse
|
|
45
|
+
from huaweicloudsdktics.v1.model.show_instance_report_request import ShowInstanceReportRequest
|
|
46
|
+
from huaweicloudsdktics.v1.model.show_instance_report_response import ShowInstanceReportResponse
|
|
47
|
+
from huaweicloudsdktics.v1.model.show_job_instance_dag_request import ShowJobInstanceDagRequest
|
|
48
|
+
from huaweicloudsdktics.v1.model.show_job_instance_dag_response import ShowJobInstanceDagResponse
|
|
49
|
+
from huaweicloudsdktics.v1.model.show_job_statistics_request import ShowJobStatisticsRequest
|
|
50
|
+
from huaweicloudsdktics.v1.model.show_job_statistics_response import ShowJobStatisticsResponse
|
|
51
|
+
from huaweicloudsdktics.v1.model.show_league_request import ShowLeagueRequest
|
|
52
|
+
from huaweicloudsdktics.v1.model.show_league_response import ShowLeagueResponse
|
|
53
|
+
from huaweicloudsdktics.v1.model.show_overview_request import ShowOverviewRequest
|
|
54
|
+
from huaweicloudsdktics.v1.model.show_overview_response import ShowOverviewResponse
|
|
55
|
+
from huaweicloudsdktics.v1.model.show_partner_statistics_request import ShowPartnerStatisticsRequest
|
|
56
|
+
from huaweicloudsdktics.v1.model.show_partner_statistics_response import ShowPartnerStatisticsResponse
|
|
57
|
+
from huaweicloudsdktics.v1.model.stage_vo import StageVo
|
|
58
|
+
from huaweicloudsdktics.v1.model.tics_agent_deploy import TicsAgentDeploy
|
|
59
|
+
from huaweicloudsdktics.v1.model.tics_agent_deploy_bcs import TicsAgentDeployBcs
|
|
60
|
+
from huaweicloudsdktics.v1.model.tics_agent_deploy_detail import TicsAgentDeployDetail
|
|
61
|
+
from huaweicloudsdktics.v1.model.tics_agent_nat_common_info import TicsAgentNatCommonInfo
|
|
62
|
+
from huaweicloudsdktics.v1.model.tics_agent_node_info import TicsAgentNodeInfo
|
|
63
|
+
from huaweicloudsdktics.v1.model.tics_approve_log_vo import TicsApproveLogVo
|
|
64
|
+
from huaweicloudsdktics.v1.model.tics_dataset_column import TicsDatasetColumn
|
|
65
|
+
from huaweicloudsdktics.v1.model.tics_job_instance_vo import TicsJobInstanceVo
|
|
66
|
+
from huaweicloudsdktics.v1.model.tics_league_audit_log import TicsLeagueAuditLog
|
|
67
|
+
from huaweicloudsdktics.v1.model.tics_league_list_vo import TicsLeagueListVo
|
|
68
|
+
from huaweicloudsdktics.v1.model.tics_league_notice_vo import TicsLeagueNoticeVo
|
|
69
|
+
from huaweicloudsdktics.v1.model.tics_league_partner_vo import TicsLeaguePartnerVo
|
|
70
|
+
from huaweicloudsdktics.v1.model.tics_sql_job_vo import TicsSqlJobVo
|
|
71
|
+
from huaweicloudsdktics.v1.model.tics_trust_info_vo import TicsTrustInfoVo
|
|
72
|
+
from huaweicloudsdktics.v1.model.update_league_request import UpdateLeagueRequest
|
|
73
|
+
from huaweicloudsdktics.v1.model.update_league_response import UpdateLeagueResponse
|
|
74
|
+
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
from __future__ import absolute_import
|
|
4
|
+
|
|
5
|
+
# import models into model package
|
|
6
|
+
from huaweicloudsdktics.v1.model.agent_list_vo import AgentListVo
|
|
7
|
+
from huaweicloudsdktics.v1.model.deploy_vo import DeployVo
|
|
8
|
+
from huaweicloudsdktics.v1.model.fl_job_list_vo import FlJobListVo
|
|
9
|
+
from huaweicloudsdktics.v1.model.job_report_base_info_vo import JobReportBaseInfoVo
|
|
10
|
+
from huaweicloudsdktics.v1.model.job_report_env_vo import JobReportEnvVo
|
|
11
|
+
from huaweicloudsdktics.v1.model.job_report_output_vo import JobReportOutputVo
|
|
12
|
+
from huaweicloudsdktics.v1.model.job_report_partner_vo import JobReportPartnerVo
|
|
13
|
+
from huaweicloudsdktics.v1.model.league_dataset_statistics_vo import LeagueDatasetStatisticsVo
|
|
14
|
+
from huaweicloudsdktics.v1.model.league_partner_statistics_vo import LeaguePartnerStatisticsVo
|
|
15
|
+
from huaweicloudsdktics.v1.model.league_update_vo import LeagueUpdateVo
|
|
16
|
+
from huaweicloudsdktics.v1.model.list_agents_request import ListAgentsRequest
|
|
17
|
+
from huaweicloudsdktics.v1.model.list_agents_response import ListAgentsResponse
|
|
18
|
+
from huaweicloudsdktics.v1.model.list_audit_info_request import ListAuditInfoRequest
|
|
19
|
+
from huaweicloudsdktics.v1.model.list_audit_info_response import ListAuditInfoResponse
|
|
20
|
+
from huaweicloudsdktics.v1.model.list_fl_job_request import ListFlJobRequest
|
|
21
|
+
from huaweicloudsdktics.v1.model.list_fl_job_response import ListFlJobResponse
|
|
22
|
+
from huaweicloudsdktics.v1.model.list_instance_history_request import ListInstanceHistoryRequest
|
|
23
|
+
from huaweicloudsdktics.v1.model.list_instance_history_response import ListInstanceHistoryResponse
|
|
24
|
+
from huaweicloudsdktics.v1.model.list_league_datasets_request import ListLeagueDatasetsRequest
|
|
25
|
+
from huaweicloudsdktics.v1.model.list_league_datasets_response import ListLeagueDatasetsResponse
|
|
26
|
+
from huaweicloudsdktics.v1.model.list_leagues_request import ListLeaguesRequest
|
|
27
|
+
from huaweicloudsdktics.v1.model.list_leagues_response import ListLeaguesResponse
|
|
28
|
+
from huaweicloudsdktics.v1.model.list_nodes_request import ListNodesRequest
|
|
29
|
+
from huaweicloudsdktics.v1.model.list_nodes_response import ListNodesResponse
|
|
30
|
+
from huaweicloudsdktics.v1.model.list_notices_request import ListNoticesRequest
|
|
31
|
+
from huaweicloudsdktics.v1.model.list_notices_response import ListNoticesResponse
|
|
32
|
+
from huaweicloudsdktics.v1.model.list_partners_request import ListPartnersRequest
|
|
33
|
+
from huaweicloudsdktics.v1.model.list_partners_response import ListPartnersResponse
|
|
34
|
+
from huaweicloudsdktics.v1.model.list_sql_job_request import ListSqlJobRequest
|
|
35
|
+
from huaweicloudsdktics.v1.model.list_sql_job_response import ListSqlJobResponse
|
|
36
|
+
from huaweicloudsdktics.v1.model.partner_data_vo import PartnerDataVo
|
|
37
|
+
from huaweicloudsdktics.v1.model.processor_vo import ProcessorVo
|
|
38
|
+
from huaweicloudsdktics.v1.model.round_deploy_vo import RoundDeployVo
|
|
39
|
+
from huaweicloudsdktics.v1.model.show_agent_detail_request import ShowAgentDetailRequest
|
|
40
|
+
from huaweicloudsdktics.v1.model.show_agent_detail_response import ShowAgentDetailResponse
|
|
41
|
+
from huaweicloudsdktics.v1.model.show_dataset_statistics_request import ShowDatasetStatisticsRequest
|
|
42
|
+
from huaweicloudsdktics.v1.model.show_dataset_statistics_response import ShowDatasetStatisticsResponse
|
|
43
|
+
from huaweicloudsdktics.v1.model.show_instance_report_request import ShowInstanceReportRequest
|
|
44
|
+
from huaweicloudsdktics.v1.model.show_instance_report_response import ShowInstanceReportResponse
|
|
45
|
+
from huaweicloudsdktics.v1.model.show_job_instance_dag_request import ShowJobInstanceDagRequest
|
|
46
|
+
from huaweicloudsdktics.v1.model.show_job_instance_dag_response import ShowJobInstanceDagResponse
|
|
47
|
+
from huaweicloudsdktics.v1.model.show_job_statistics_request import ShowJobStatisticsRequest
|
|
48
|
+
from huaweicloudsdktics.v1.model.show_job_statistics_response import ShowJobStatisticsResponse
|
|
49
|
+
from huaweicloudsdktics.v1.model.show_league_request import ShowLeagueRequest
|
|
50
|
+
from huaweicloudsdktics.v1.model.show_league_response import ShowLeagueResponse
|
|
51
|
+
from huaweicloudsdktics.v1.model.show_overview_request import ShowOverviewRequest
|
|
52
|
+
from huaweicloudsdktics.v1.model.show_overview_response import ShowOverviewResponse
|
|
53
|
+
from huaweicloudsdktics.v1.model.show_partner_statistics_request import ShowPartnerStatisticsRequest
|
|
54
|
+
from huaweicloudsdktics.v1.model.show_partner_statistics_response import ShowPartnerStatisticsResponse
|
|
55
|
+
from huaweicloudsdktics.v1.model.stage_vo import StageVo
|
|
56
|
+
from huaweicloudsdktics.v1.model.tics_agent_deploy import TicsAgentDeploy
|
|
57
|
+
from huaweicloudsdktics.v1.model.tics_agent_deploy_bcs import TicsAgentDeployBcs
|
|
58
|
+
from huaweicloudsdktics.v1.model.tics_agent_deploy_detail import TicsAgentDeployDetail
|
|
59
|
+
from huaweicloudsdktics.v1.model.tics_agent_nat_common_info import TicsAgentNatCommonInfo
|
|
60
|
+
from huaweicloudsdktics.v1.model.tics_agent_node_info import TicsAgentNodeInfo
|
|
61
|
+
from huaweicloudsdktics.v1.model.tics_approve_log_vo import TicsApproveLogVo
|
|
62
|
+
from huaweicloudsdktics.v1.model.tics_dataset_column import TicsDatasetColumn
|
|
63
|
+
from huaweicloudsdktics.v1.model.tics_job_instance_vo import TicsJobInstanceVo
|
|
64
|
+
from huaweicloudsdktics.v1.model.tics_league_audit_log import TicsLeagueAuditLog
|
|
65
|
+
from huaweicloudsdktics.v1.model.tics_league_list_vo import TicsLeagueListVo
|
|
66
|
+
from huaweicloudsdktics.v1.model.tics_league_notice_vo import TicsLeagueNoticeVo
|
|
67
|
+
from huaweicloudsdktics.v1.model.tics_league_partner_vo import TicsLeaguePartnerVo
|
|
68
|
+
from huaweicloudsdktics.v1.model.tics_sql_job_vo import TicsSqlJobVo
|
|
69
|
+
from huaweicloudsdktics.v1.model.tics_trust_info_vo import TicsTrustInfoVo
|
|
70
|
+
from huaweicloudsdktics.v1.model.update_league_request import UpdateLeagueRequest
|
|
71
|
+
from huaweicloudsdktics.v1.model.update_league_response import UpdateLeagueResponse
|
|
@@ -0,0 +1,514 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class AgentListVo:
|
|
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
|
+
'create_time': 'datetime',
|
|
21
|
+
'creator_domain_id': 'str',
|
|
22
|
+
'creator_user_name': 'str',
|
|
23
|
+
'deploy_status': 'str',
|
|
24
|
+
'deploy_type': 'str',
|
|
25
|
+
'deployment_event_information': 'str',
|
|
26
|
+
'enable_delete': 'bool',
|
|
27
|
+
'enable_upgrade': 'bool',
|
|
28
|
+
'image_version': 'str',
|
|
29
|
+
'is_high_avail': 'bool',
|
|
30
|
+
'league_id': 'str',
|
|
31
|
+
'league_name': 'str',
|
|
32
|
+
'league_version': 'str'
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
attribute_map = {
|
|
36
|
+
'agent_id': 'agent_id',
|
|
37
|
+
'agent_name': 'agent_name',
|
|
38
|
+
'create_time': 'create_time',
|
|
39
|
+
'creator_domain_id': 'creator_domain_id',
|
|
40
|
+
'creator_user_name': 'creator_user_name',
|
|
41
|
+
'deploy_status': 'deploy_status',
|
|
42
|
+
'deploy_type': 'deploy_type',
|
|
43
|
+
'deployment_event_information': 'deployment_event_information',
|
|
44
|
+
'enable_delete': 'enable_delete',
|
|
45
|
+
'enable_upgrade': 'enable_upgrade',
|
|
46
|
+
'image_version': 'image_version',
|
|
47
|
+
'is_high_avail': 'is_high_avail',
|
|
48
|
+
'league_id': 'league_id',
|
|
49
|
+
'league_name': 'league_name',
|
|
50
|
+
'league_version': 'league_version'
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
def __init__(self, agent_id=None, agent_name=None, create_time=None, creator_domain_id=None, creator_user_name=None, deploy_status=None, deploy_type=None, deployment_event_information=None, enable_delete=None, enable_upgrade=None, image_version=None, is_high_avail=None, league_id=None, league_name=None, league_version=None):
|
|
54
|
+
r"""AgentListVo
|
|
55
|
+
|
|
56
|
+
The model defined in huaweicloud sdk
|
|
57
|
+
|
|
58
|
+
:param agent_id: 可信节点id
|
|
59
|
+
:type agent_id: str
|
|
60
|
+
:param agent_name: 可信节点名称
|
|
61
|
+
:type agent_name: str
|
|
62
|
+
:param create_time: 创建时间
|
|
63
|
+
:type create_time: datetime
|
|
64
|
+
:param creator_domain_id: 创建者租户id
|
|
65
|
+
:type creator_domain_id: str
|
|
66
|
+
:param creator_user_name: 创建者名称
|
|
67
|
+
:type creator_user_name: str
|
|
68
|
+
: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.进行中
|
|
69
|
+
:type deploy_status: str
|
|
70
|
+
:param deploy_type: 部署类型 CCE,IEF,EXTERNAL
|
|
71
|
+
:type deploy_type: str
|
|
72
|
+
:param deployment_event_information: 部署事件状态
|
|
73
|
+
:type deployment_event_information: str
|
|
74
|
+
:param enable_delete: 是否可删除
|
|
75
|
+
:type enable_delete: bool
|
|
76
|
+
:param enable_upgrade: 是否可升级
|
|
77
|
+
:type enable_upgrade: bool
|
|
78
|
+
:param image_version: 节点镜像版本
|
|
79
|
+
:type image_version: str
|
|
80
|
+
:param is_high_avail: 节点是否高可用
|
|
81
|
+
:type is_high_avail: bool
|
|
82
|
+
:param league_id: 联盟ID
|
|
83
|
+
:type league_id: str
|
|
84
|
+
:param league_name: 联盟名称
|
|
85
|
+
:type league_name: str
|
|
86
|
+
:param league_version: 联盟版本
|
|
87
|
+
:type league_version: str
|
|
88
|
+
"""
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
self._agent_id = None
|
|
93
|
+
self._agent_name = None
|
|
94
|
+
self._create_time = None
|
|
95
|
+
self._creator_domain_id = None
|
|
96
|
+
self._creator_user_name = None
|
|
97
|
+
self._deploy_status = None
|
|
98
|
+
self._deploy_type = None
|
|
99
|
+
self._deployment_event_information = None
|
|
100
|
+
self._enable_delete = None
|
|
101
|
+
self._enable_upgrade = None
|
|
102
|
+
self._image_version = None
|
|
103
|
+
self._is_high_avail = None
|
|
104
|
+
self._league_id = None
|
|
105
|
+
self._league_name = None
|
|
106
|
+
self._league_version = None
|
|
107
|
+
self.discriminator = None
|
|
108
|
+
|
|
109
|
+
if agent_id is not None:
|
|
110
|
+
self.agent_id = agent_id
|
|
111
|
+
if agent_name is not None:
|
|
112
|
+
self.agent_name = agent_name
|
|
113
|
+
if create_time is not None:
|
|
114
|
+
self.create_time = create_time
|
|
115
|
+
if creator_domain_id is not None:
|
|
116
|
+
self.creator_domain_id = creator_domain_id
|
|
117
|
+
if creator_user_name is not None:
|
|
118
|
+
self.creator_user_name = creator_user_name
|
|
119
|
+
if deploy_status is not None:
|
|
120
|
+
self.deploy_status = deploy_status
|
|
121
|
+
if deploy_type is not None:
|
|
122
|
+
self.deploy_type = deploy_type
|
|
123
|
+
if deployment_event_information is not None:
|
|
124
|
+
self.deployment_event_information = deployment_event_information
|
|
125
|
+
if enable_delete is not None:
|
|
126
|
+
self.enable_delete = enable_delete
|
|
127
|
+
if enable_upgrade is not None:
|
|
128
|
+
self.enable_upgrade = enable_upgrade
|
|
129
|
+
if image_version is not None:
|
|
130
|
+
self.image_version = image_version
|
|
131
|
+
if is_high_avail is not None:
|
|
132
|
+
self.is_high_avail = is_high_avail
|
|
133
|
+
if league_id is not None:
|
|
134
|
+
self.league_id = league_id
|
|
135
|
+
if league_name is not None:
|
|
136
|
+
self.league_name = league_name
|
|
137
|
+
if league_version is not None:
|
|
138
|
+
self.league_version = league_version
|
|
139
|
+
|
|
140
|
+
@property
|
|
141
|
+
def agent_id(self):
|
|
142
|
+
r"""Gets the agent_id of this AgentListVo.
|
|
143
|
+
|
|
144
|
+
可信节点id
|
|
145
|
+
|
|
146
|
+
:return: The agent_id of this AgentListVo.
|
|
147
|
+
:rtype: str
|
|
148
|
+
"""
|
|
149
|
+
return self._agent_id
|
|
150
|
+
|
|
151
|
+
@agent_id.setter
|
|
152
|
+
def agent_id(self, agent_id):
|
|
153
|
+
r"""Sets the agent_id of this AgentListVo.
|
|
154
|
+
|
|
155
|
+
可信节点id
|
|
156
|
+
|
|
157
|
+
:param agent_id: The agent_id of this AgentListVo.
|
|
158
|
+
:type agent_id: str
|
|
159
|
+
"""
|
|
160
|
+
self._agent_id = agent_id
|
|
161
|
+
|
|
162
|
+
@property
|
|
163
|
+
def agent_name(self):
|
|
164
|
+
r"""Gets the agent_name of this AgentListVo.
|
|
165
|
+
|
|
166
|
+
可信节点名称
|
|
167
|
+
|
|
168
|
+
:return: The agent_name of this AgentListVo.
|
|
169
|
+
:rtype: str
|
|
170
|
+
"""
|
|
171
|
+
return self._agent_name
|
|
172
|
+
|
|
173
|
+
@agent_name.setter
|
|
174
|
+
def agent_name(self, agent_name):
|
|
175
|
+
r"""Sets the agent_name of this AgentListVo.
|
|
176
|
+
|
|
177
|
+
可信节点名称
|
|
178
|
+
|
|
179
|
+
:param agent_name: The agent_name of this AgentListVo.
|
|
180
|
+
:type agent_name: str
|
|
181
|
+
"""
|
|
182
|
+
self._agent_name = agent_name
|
|
183
|
+
|
|
184
|
+
@property
|
|
185
|
+
def create_time(self):
|
|
186
|
+
r"""Gets the create_time of this AgentListVo.
|
|
187
|
+
|
|
188
|
+
创建时间
|
|
189
|
+
|
|
190
|
+
:return: The create_time of this AgentListVo.
|
|
191
|
+
:rtype: datetime
|
|
192
|
+
"""
|
|
193
|
+
return self._create_time
|
|
194
|
+
|
|
195
|
+
@create_time.setter
|
|
196
|
+
def create_time(self, create_time):
|
|
197
|
+
r"""Sets the create_time of this AgentListVo.
|
|
198
|
+
|
|
199
|
+
创建时间
|
|
200
|
+
|
|
201
|
+
:param create_time: The create_time of this AgentListVo.
|
|
202
|
+
:type create_time: datetime
|
|
203
|
+
"""
|
|
204
|
+
self._create_time = create_time
|
|
205
|
+
|
|
206
|
+
@property
|
|
207
|
+
def creator_domain_id(self):
|
|
208
|
+
r"""Gets the creator_domain_id of this AgentListVo.
|
|
209
|
+
|
|
210
|
+
创建者租户id
|
|
211
|
+
|
|
212
|
+
:return: The creator_domain_id of this AgentListVo.
|
|
213
|
+
:rtype: str
|
|
214
|
+
"""
|
|
215
|
+
return self._creator_domain_id
|
|
216
|
+
|
|
217
|
+
@creator_domain_id.setter
|
|
218
|
+
def creator_domain_id(self, creator_domain_id):
|
|
219
|
+
r"""Sets the creator_domain_id of this AgentListVo.
|
|
220
|
+
|
|
221
|
+
创建者租户id
|
|
222
|
+
|
|
223
|
+
:param creator_domain_id: The creator_domain_id of this AgentListVo.
|
|
224
|
+
:type creator_domain_id: str
|
|
225
|
+
"""
|
|
226
|
+
self._creator_domain_id = creator_domain_id
|
|
227
|
+
|
|
228
|
+
@property
|
|
229
|
+
def creator_user_name(self):
|
|
230
|
+
r"""Gets the creator_user_name of this AgentListVo.
|
|
231
|
+
|
|
232
|
+
创建者名称
|
|
233
|
+
|
|
234
|
+
:return: The creator_user_name of this AgentListVo.
|
|
235
|
+
:rtype: str
|
|
236
|
+
"""
|
|
237
|
+
return self._creator_user_name
|
|
238
|
+
|
|
239
|
+
@creator_user_name.setter
|
|
240
|
+
def creator_user_name(self, creator_user_name):
|
|
241
|
+
r"""Sets the creator_user_name of this AgentListVo.
|
|
242
|
+
|
|
243
|
+
创建者名称
|
|
244
|
+
|
|
245
|
+
:param creator_user_name: The creator_user_name of this AgentListVo.
|
|
246
|
+
:type creator_user_name: str
|
|
247
|
+
"""
|
|
248
|
+
self._creator_user_name = creator_user_name
|
|
249
|
+
|
|
250
|
+
@property
|
|
251
|
+
def deploy_status(self):
|
|
252
|
+
r"""Gets the deploy_status of this AgentListVo.
|
|
253
|
+
|
|
254
|
+
部署状态 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.进行中
|
|
255
|
+
|
|
256
|
+
:return: The deploy_status of this AgentListVo.
|
|
257
|
+
:rtype: str
|
|
258
|
+
"""
|
|
259
|
+
return self._deploy_status
|
|
260
|
+
|
|
261
|
+
@deploy_status.setter
|
|
262
|
+
def deploy_status(self, deploy_status):
|
|
263
|
+
r"""Sets the deploy_status of this AgentListVo.
|
|
264
|
+
|
|
265
|
+
部署状态 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.进行中
|
|
266
|
+
|
|
267
|
+
:param deploy_status: The deploy_status of this AgentListVo.
|
|
268
|
+
:type deploy_status: str
|
|
269
|
+
"""
|
|
270
|
+
self._deploy_status = deploy_status
|
|
271
|
+
|
|
272
|
+
@property
|
|
273
|
+
def deploy_type(self):
|
|
274
|
+
r"""Gets the deploy_type of this AgentListVo.
|
|
275
|
+
|
|
276
|
+
部署类型 CCE,IEF,EXTERNAL
|
|
277
|
+
|
|
278
|
+
:return: The deploy_type of this AgentListVo.
|
|
279
|
+
:rtype: str
|
|
280
|
+
"""
|
|
281
|
+
return self._deploy_type
|
|
282
|
+
|
|
283
|
+
@deploy_type.setter
|
|
284
|
+
def deploy_type(self, deploy_type):
|
|
285
|
+
r"""Sets the deploy_type of this AgentListVo.
|
|
286
|
+
|
|
287
|
+
部署类型 CCE,IEF,EXTERNAL
|
|
288
|
+
|
|
289
|
+
:param deploy_type: The deploy_type of this AgentListVo.
|
|
290
|
+
:type deploy_type: str
|
|
291
|
+
"""
|
|
292
|
+
self._deploy_type = deploy_type
|
|
293
|
+
|
|
294
|
+
@property
|
|
295
|
+
def deployment_event_information(self):
|
|
296
|
+
r"""Gets the deployment_event_information of this AgentListVo.
|
|
297
|
+
|
|
298
|
+
部署事件状态
|
|
299
|
+
|
|
300
|
+
:return: The deployment_event_information of this AgentListVo.
|
|
301
|
+
:rtype: str
|
|
302
|
+
"""
|
|
303
|
+
return self._deployment_event_information
|
|
304
|
+
|
|
305
|
+
@deployment_event_information.setter
|
|
306
|
+
def deployment_event_information(self, deployment_event_information):
|
|
307
|
+
r"""Sets the deployment_event_information of this AgentListVo.
|
|
308
|
+
|
|
309
|
+
部署事件状态
|
|
310
|
+
|
|
311
|
+
:param deployment_event_information: The deployment_event_information of this AgentListVo.
|
|
312
|
+
:type deployment_event_information: str
|
|
313
|
+
"""
|
|
314
|
+
self._deployment_event_information = deployment_event_information
|
|
315
|
+
|
|
316
|
+
@property
|
|
317
|
+
def enable_delete(self):
|
|
318
|
+
r"""Gets the enable_delete of this AgentListVo.
|
|
319
|
+
|
|
320
|
+
是否可删除
|
|
321
|
+
|
|
322
|
+
:return: The enable_delete of this AgentListVo.
|
|
323
|
+
:rtype: bool
|
|
324
|
+
"""
|
|
325
|
+
return self._enable_delete
|
|
326
|
+
|
|
327
|
+
@enable_delete.setter
|
|
328
|
+
def enable_delete(self, enable_delete):
|
|
329
|
+
r"""Sets the enable_delete of this AgentListVo.
|
|
330
|
+
|
|
331
|
+
是否可删除
|
|
332
|
+
|
|
333
|
+
:param enable_delete: The enable_delete of this AgentListVo.
|
|
334
|
+
:type enable_delete: bool
|
|
335
|
+
"""
|
|
336
|
+
self._enable_delete = enable_delete
|
|
337
|
+
|
|
338
|
+
@property
|
|
339
|
+
def enable_upgrade(self):
|
|
340
|
+
r"""Gets the enable_upgrade of this AgentListVo.
|
|
341
|
+
|
|
342
|
+
是否可升级
|
|
343
|
+
|
|
344
|
+
:return: The enable_upgrade of this AgentListVo.
|
|
345
|
+
:rtype: bool
|
|
346
|
+
"""
|
|
347
|
+
return self._enable_upgrade
|
|
348
|
+
|
|
349
|
+
@enable_upgrade.setter
|
|
350
|
+
def enable_upgrade(self, enable_upgrade):
|
|
351
|
+
r"""Sets the enable_upgrade of this AgentListVo.
|
|
352
|
+
|
|
353
|
+
是否可升级
|
|
354
|
+
|
|
355
|
+
:param enable_upgrade: The enable_upgrade of this AgentListVo.
|
|
356
|
+
:type enable_upgrade: bool
|
|
357
|
+
"""
|
|
358
|
+
self._enable_upgrade = enable_upgrade
|
|
359
|
+
|
|
360
|
+
@property
|
|
361
|
+
def image_version(self):
|
|
362
|
+
r"""Gets the image_version of this AgentListVo.
|
|
363
|
+
|
|
364
|
+
节点镜像版本
|
|
365
|
+
|
|
366
|
+
:return: The image_version of this AgentListVo.
|
|
367
|
+
:rtype: str
|
|
368
|
+
"""
|
|
369
|
+
return self._image_version
|
|
370
|
+
|
|
371
|
+
@image_version.setter
|
|
372
|
+
def image_version(self, image_version):
|
|
373
|
+
r"""Sets the image_version of this AgentListVo.
|
|
374
|
+
|
|
375
|
+
节点镜像版本
|
|
376
|
+
|
|
377
|
+
:param image_version: The image_version of this AgentListVo.
|
|
378
|
+
:type image_version: str
|
|
379
|
+
"""
|
|
380
|
+
self._image_version = image_version
|
|
381
|
+
|
|
382
|
+
@property
|
|
383
|
+
def is_high_avail(self):
|
|
384
|
+
r"""Gets the is_high_avail of this AgentListVo.
|
|
385
|
+
|
|
386
|
+
节点是否高可用
|
|
387
|
+
|
|
388
|
+
:return: The is_high_avail of this AgentListVo.
|
|
389
|
+
:rtype: bool
|
|
390
|
+
"""
|
|
391
|
+
return self._is_high_avail
|
|
392
|
+
|
|
393
|
+
@is_high_avail.setter
|
|
394
|
+
def is_high_avail(self, is_high_avail):
|
|
395
|
+
r"""Sets the is_high_avail of this AgentListVo.
|
|
396
|
+
|
|
397
|
+
节点是否高可用
|
|
398
|
+
|
|
399
|
+
:param is_high_avail: The is_high_avail of this AgentListVo.
|
|
400
|
+
:type is_high_avail: bool
|
|
401
|
+
"""
|
|
402
|
+
self._is_high_avail = is_high_avail
|
|
403
|
+
|
|
404
|
+
@property
|
|
405
|
+
def league_id(self):
|
|
406
|
+
r"""Gets the league_id of this AgentListVo.
|
|
407
|
+
|
|
408
|
+
联盟ID
|
|
409
|
+
|
|
410
|
+
:return: The league_id of this AgentListVo.
|
|
411
|
+
:rtype: str
|
|
412
|
+
"""
|
|
413
|
+
return self._league_id
|
|
414
|
+
|
|
415
|
+
@league_id.setter
|
|
416
|
+
def league_id(self, league_id):
|
|
417
|
+
r"""Sets the league_id of this AgentListVo.
|
|
418
|
+
|
|
419
|
+
联盟ID
|
|
420
|
+
|
|
421
|
+
:param league_id: The league_id of this AgentListVo.
|
|
422
|
+
:type league_id: str
|
|
423
|
+
"""
|
|
424
|
+
self._league_id = league_id
|
|
425
|
+
|
|
426
|
+
@property
|
|
427
|
+
def league_name(self):
|
|
428
|
+
r"""Gets the league_name of this AgentListVo.
|
|
429
|
+
|
|
430
|
+
联盟名称
|
|
431
|
+
|
|
432
|
+
:return: The league_name of this AgentListVo.
|
|
433
|
+
:rtype: str
|
|
434
|
+
"""
|
|
435
|
+
return self._league_name
|
|
436
|
+
|
|
437
|
+
@league_name.setter
|
|
438
|
+
def league_name(self, league_name):
|
|
439
|
+
r"""Sets the league_name of this AgentListVo.
|
|
440
|
+
|
|
441
|
+
联盟名称
|
|
442
|
+
|
|
443
|
+
:param league_name: The league_name of this AgentListVo.
|
|
444
|
+
:type league_name: str
|
|
445
|
+
"""
|
|
446
|
+
self._league_name = league_name
|
|
447
|
+
|
|
448
|
+
@property
|
|
449
|
+
def league_version(self):
|
|
450
|
+
r"""Gets the league_version of this AgentListVo.
|
|
451
|
+
|
|
452
|
+
联盟版本
|
|
453
|
+
|
|
454
|
+
:return: The league_version of this AgentListVo.
|
|
455
|
+
:rtype: str
|
|
456
|
+
"""
|
|
457
|
+
return self._league_version
|
|
458
|
+
|
|
459
|
+
@league_version.setter
|
|
460
|
+
def league_version(self, league_version):
|
|
461
|
+
r"""Sets the league_version of this AgentListVo.
|
|
462
|
+
|
|
463
|
+
联盟版本
|
|
464
|
+
|
|
465
|
+
:param league_version: The league_version of this AgentListVo.
|
|
466
|
+
:type league_version: str
|
|
467
|
+
"""
|
|
468
|
+
self._league_version = league_version
|
|
469
|
+
|
|
470
|
+
def to_dict(self):
|
|
471
|
+
result = {}
|
|
472
|
+
|
|
473
|
+
for attr, _ in self.openapi_types.items():
|
|
474
|
+
value = getattr(self, attr)
|
|
475
|
+
if isinstance(value, list):
|
|
476
|
+
result[attr] = list(map(
|
|
477
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
478
|
+
value
|
|
479
|
+
))
|
|
480
|
+
elif hasattr(value, "to_dict"):
|
|
481
|
+
result[attr] = value.to_dict()
|
|
482
|
+
elif isinstance(value, dict):
|
|
483
|
+
result[attr] = dict(map(
|
|
484
|
+
lambda item: (item[0], item[1].to_dict())
|
|
485
|
+
if hasattr(item[1], "to_dict") else item,
|
|
486
|
+
value.items()
|
|
487
|
+
))
|
|
488
|
+
else:
|
|
489
|
+
if attr in self.sensitive_list:
|
|
490
|
+
result[attr] = "****"
|
|
491
|
+
else:
|
|
492
|
+
result[attr] = value
|
|
493
|
+
|
|
494
|
+
return result
|
|
495
|
+
|
|
496
|
+
def to_str(self):
|
|
497
|
+
"""Returns the string representation of the model"""
|
|
498
|
+
import simplejson as json
|
|
499
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
500
|
+
|
|
501
|
+
def __repr__(self):
|
|
502
|
+
"""For `print`"""
|
|
503
|
+
return self.to_str()
|
|
504
|
+
|
|
505
|
+
def __eq__(self, other):
|
|
506
|
+
"""Returns true if both objects are equal"""
|
|
507
|
+
if not isinstance(other, AgentListVo):
|
|
508
|
+
return False
|
|
509
|
+
|
|
510
|
+
return self.__dict__ == other.__dict__
|
|
511
|
+
|
|
512
|
+
def __ne__(self, other):
|
|
513
|
+
"""Returns true if both objects are not equal"""
|
|
514
|
+
return not self == other
|