tencentcloud-sdk-nodejs 4.0.259 → 4.0.263
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.
- package/CHANGELOG.md +807 -116
- package/SERVICE_CHANGELOG.md +68052 -0
- package/package.json +1 -1
- package/products.md +51 -50
- package/src/common/sdk_version.ts +1 -1
- package/src/services/ame/v20190916/ame_models.ts +6 -4
- package/src/services/ams/v20201229/ams_client.ts +1 -1
- package/src/services/ams/v20201229/ams_models.ts +24 -0
- package/src/services/antiddos/v20200309/antiddos_client.ts +40 -3
- package/src/services/antiddos/v20200309/antiddos_models.ts +226 -121
- package/src/services/asr/v20190614/asr_models.ts +5 -0
- package/src/services/cam/v20190116/cam_client.ts +32 -8
- package/src/services/cam/v20190116/cam_models.ts +118 -18
- package/src/services/cat/v20180409/cat_client.ts +4 -2
- package/src/services/cat/v20180409/cat_models.ts +54 -8
- package/src/services/cbs/v20170312/cbs_models.ts +10 -0
- package/src/services/cdb/v20170320/cdb_client.ts +27 -39
- package/src/services/cdb/v20170320/cdb_models.ts +172 -174
- package/src/services/chdfs/v20201112/chdfs_models.ts +55 -11
- package/src/services/ckafka/v20190819/ckafka_client.ts +50 -9
- package/src/services/ckafka/v20190819/ckafka_models.ts +308 -28
- package/src/services/clb/v20180317/clb_client.ts +14 -2
- package/src/services/clb/v20180317/clb_models.ts +19 -19
- package/src/services/cme/v20191029/cme_client.ts +2 -1
- package/src/services/cme/v20191029/cme_models.ts +31 -14
- package/src/services/cvm/v20170312/cvm_client.ts +168 -76
- package/src/services/cvm/v20170312/cvm_models.ts +935 -188
- package/src/services/dlc/v20210125/dlc_client.ts +15 -2
- package/src/services/dlc/v20210125/dlc_models.ts +163 -28
- package/src/services/dts/v20180330/dts_models.ts +10 -9
- package/src/services/ecdn/v20191012/ecdn_client.ts +5 -4
- package/src/services/ecdn/v20191012/ecdn_models.ts +127 -77
- package/src/services/es/v20180416/es_client.ts +17 -2
- package/src/services/es/v20180416/es_models.ts +291 -18
- package/src/services/essbasic/v20210526/essbasic_client.ts +72 -17
- package/src/services/essbasic/v20210526/essbasic_models.ts +495 -162
- package/src/services/faceid/v20180301/faceid_client.ts +3 -2
- package/src/services/faceid/v20180301/faceid_models.ts +6 -6
- package/src/services/gme/v20180711/gme_client.ts +1 -3
- package/src/services/gme/v20180711/gme_models.ts +8 -3
- package/src/services/iecp/index.ts +5 -0
- package/src/services/iecp/v20210914/iecp_client.ts +1064 -0
- package/src/services/iecp/v20210914/iecp_models.ts +5727 -0
- package/src/services/iecp/v20210914/index.ts +6 -0
- package/src/services/index.ts +1 -0
- package/src/services/kms/v20190118/kms_client.ts +1 -1
- package/src/services/kms/v20190118/kms_models.ts +63 -41
- package/src/services/lighthouse/v20200324/lighthouse_client.ts +3 -2
- package/src/services/lighthouse/v20200324/lighthouse_models.ts +56 -8
- package/src/services/nlp/v20190408/nlp_client.ts +4 -4
- package/src/services/nlp/v20190408/nlp_models.ts +3 -3
- package/src/services/oceanus/v20190422/oceanus_models.ts +10 -0
- package/src/services/ocr/v20181119/ocr_models.ts +8 -2
- package/src/services/organization/v20210331/organization_client.ts +14 -1
- package/src/services/organization/v20210331/organization_models.ts +124 -17
- package/src/services/postgres/v20170312/postgres_models.ts +56 -12
- package/src/services/privatedns/v20201028/privatedns_models.ts +1 -1
- package/src/services/scf/v20180416/scf_models.ts +12 -12
- package/src/services/ssl/v20191205/ssl_models.ts +2 -2
- package/src/services/taf/v20200210/taf_client.ts +1 -0
- package/src/services/taf/v20200210/taf_models.ts +20 -0
- package/src/services/tcss/v20201101/tcss_models.ts +33 -7
- package/src/services/tdmq/v20200217/tdmq_client.ts +29 -3
- package/src/services/tdmq/v20200217/tdmq_models.ts +337 -148
- package/src/services/tem/v20210701/tem_client.ts +139 -88
- package/src/services/tem/v20210701/tem_models.ts +171 -16
- package/src/services/thpc/v20211109/thpc_client.ts +25 -10
- package/src/services/thpc/v20211109/thpc_models.ts +259 -141
- package/src/services/tiia/v20190529/tiia_client.ts +1 -6
- package/src/services/tiia/v20190529/tiia_models.ts +1 -1
- package/src/services/tiw/v20190919/tiw_models.ts +13 -2
- package/src/services/tke/v20180525/tke_models.ts +19 -4
- package/src/services/tms/v20201229/tms_models.ts +13 -1
- package/src/services/tsf/v20180326/tsf_client.ts +2 -0
- package/src/services/tsf/v20180326/tsf_models.ts +61 -1
- package/src/services/tts/v20190823/tts_models.ts +1 -1
- package/src/services/vm/v20201229/vm_models.ts +30 -0
- package/src/services/vod/v20180717/vod_client.ts +2 -2
- package/src/services/vod/v20180717/vod_models.ts +360 -360
- package/src/services/vpc/v20170312/vpc_models.ts +41 -1
- package/src/services/wav/v20210129/wav_client.ts +45 -7
- package/src/services/wav/v20210129/wav_models.ts +370 -134
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/ame/v20190916/ame_models.d.ts +4 -2
- package/tencentcloud/services/ams/v20201229/ams_client.d.ts +1 -1
- package/tencentcloud/services/ams/v20201229/ams_client.js +1 -1
- package/tencentcloud/services/ams/v20201229/ams_models.d.ts +20 -0
- package/tencentcloud/services/antiddos/v20200309/antiddos_client.d.ts +13 -1
- package/tencentcloud/services/antiddos/v20200309/antiddos_client.js +18 -0
- package/tencentcloud/services/antiddos/v20200309/antiddos_models.d.ts +196 -105
- package/tencentcloud/services/asr/v20190614/asr_models.d.ts +4 -0
- package/tencentcloud/services/cam/v20190116/cam_client.d.ts +11 -3
- package/tencentcloud/services/cam/v20190116/cam_client.js +15 -3
- package/tencentcloud/services/cam/v20190116/cam_models.d.ts +102 -16
- package/tencentcloud/services/cat/v20180409/cat_client.d.ts +2 -2
- package/tencentcloud/services/cat/v20180409/cat_client.js +2 -2
- package/tencentcloud/services/cat/v20180409/cat_models.d.ts +47 -8
- package/tencentcloud/services/cbs/v20170312/cbs_models.d.ts +8 -0
- package/tencentcloud/services/cdb/v20170320/cdb_client.d.ts +10 -14
- package/tencentcloud/services/cdb/v20170320/cdb_client.js +13 -19
- package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +144 -147
- package/tencentcloud/services/chdfs/v20201112/chdfs_models.d.ts +47 -11
- package/tencentcloud/services/ckafka/v20190819/ckafka_client.d.ts +15 -3
- package/tencentcloud/services/ckafka/v20190819/ckafka_client.js +21 -3
- package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +261 -24
- package/tencentcloud/services/clb/v20180317/clb_client.d.ts +13 -1
- package/tencentcloud/services/clb/v20180317/clb_client.js +13 -1
- package/tencentcloud/services/clb/v20180317/clb_models.d.ts +19 -19
- package/tencentcloud/services/cme/v20191029/cme_models.d.ts +28 -13
- package/tencentcloud/services/cvm/v20170312/cvm_client.d.ts +76 -44
- package/tencentcloud/services/cvm/v20170312/cvm_client.js +95 -49
- package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +747 -122
- package/tencentcloud/services/dlc/v20210125/dlc_client.d.ts +5 -1
- package/tencentcloud/services/dlc/v20210125/dlc_client.js +6 -0
- package/tencentcloud/services/dlc/v20210125/dlc_models.d.ts +136 -24
- package/tencentcloud/services/dts/v20180330/dts_models.d.ts +9 -9
- package/tencentcloud/services/ecdn/v20191012/ecdn_client.d.ts +1 -1
- package/tencentcloud/services/ecdn/v20191012/ecdn_models.d.ts +113 -70
- package/tencentcloud/services/es/v20180416/es_client.d.ts +5 -1
- package/tencentcloud/services/es/v20180416/es_client.js +6 -0
- package/tencentcloud/services/es/v20180416/es_models.d.ts +242 -18
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +31 -5
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +38 -6
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +401 -121
- package/tencentcloud/services/faceid/v20180301/faceid_client.d.ts +2 -1
- package/tencentcloud/services/faceid/v20180301/faceid_client.js +2 -1
- package/tencentcloud/services/faceid/v20180301/faceid_models.d.ts +6 -6
- package/tencentcloud/services/gme/v20180711/gme_client.d.ts +1 -3
- package/tencentcloud/services/gme/v20180711/gme_client.js +1 -3
- package/tencentcloud/services/gme/v20180711/gme_models.d.ts +7 -3
- package/tencentcloud/services/iecp/index.d.ts +6 -0
- package/tencentcloud/services/iecp/index.js +7 -0
- package/tencentcloud/services/iecp/v20210914/iecp_client.d.ts +334 -0
- package/tencentcloud/services/iecp/v20210914/iecp_client.js +517 -0
- package/tencentcloud/services/iecp/v20210914/iecp_models.d.ts +4845 -0
- package/tencentcloud/services/iecp/v20210914/iecp_models.js +18 -0
- package/tencentcloud/services/iecp/v20210914/index.d.ts +6 -0
- package/tencentcloud/services/iecp/v20210914/index.js +9 -0
- package/tencentcloud/services/index.d.ts +1 -0
- package/tencentcloud/services/index.js +2 -0
- package/tencentcloud/services/kms/v20190118/kms_client.d.ts +1 -1
- package/tencentcloud/services/kms/v20190118/kms_client.js +1 -1
- package/tencentcloud/services/kms/v20190118/kms_models.d.ts +57 -39
- package/tencentcloud/services/lighthouse/v20200324/lighthouse_client.d.ts +2 -2
- package/tencentcloud/services/lighthouse/v20200324/lighthouse_client.js +2 -2
- package/tencentcloud/services/lighthouse/v20200324/lighthouse_models.d.ts +48 -8
- package/tencentcloud/services/nlp/v20190408/nlp_client.d.ts +4 -4
- package/tencentcloud/services/nlp/v20190408/nlp_client.js +4 -4
- package/tencentcloud/services/nlp/v20190408/nlp_models.d.ts +3 -3
- package/tencentcloud/services/oceanus/v20190422/oceanus_models.d.ts +8 -0
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +7 -2
- package/tencentcloud/services/organization/v20210331/organization_client.d.ts +5 -1
- package/tencentcloud/services/organization/v20210331/organization_client.js +6 -0
- package/tencentcloud/services/organization/v20210331/organization_models.d.ts +107 -16
- package/tencentcloud/services/postgres/v20170312/postgres_models.d.ts +46 -10
- package/tencentcloud/services/privatedns/v20201028/privatedns_models.d.ts +1 -1
- package/tencentcloud/services/scf/v20180416/scf_models.d.ts +12 -12
- package/tencentcloud/services/ssl/v20191205/ssl_models.d.ts +2 -2
- package/tencentcloud/services/taf/v20200210/taf_models.d.ts +17 -0
- package/tencentcloud/services/tcss/v20201101/tcss_models.d.ts +27 -5
- package/tencentcloud/services/tdmq/v20200217/tdmq_client.d.ts +9 -1
- package/tencentcloud/services/tdmq/v20200217/tdmq_client.js +12 -0
- package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +288 -128
- package/tencentcloud/services/tem/v20210701/tem_client.d.ts +52 -33
- package/tencentcloud/services/tem/v20210701/tem_client.js +75 -48
- package/tencentcloud/services/tem/v20210701/tem_models.d.ts +147 -15
- package/tencentcloud/services/thpc/v20211109/thpc_client.d.ts +5 -1
- package/tencentcloud/services/thpc/v20211109/thpc_client.js +6 -0
- package/tencentcloud/services/thpc/v20211109/thpc_models.d.ts +235 -135
- package/tencentcloud/services/tiia/v20190529/tiia_client.d.ts +0 -5
- package/tencentcloud/services/tiia/v20190529/tiia_client.js +0 -5
- package/tencentcloud/services/tiia/v20190529/tiia_models.d.ts +1 -1
- package/tencentcloud/services/tiw/v20190919/tiw_models.d.ts +12 -2
- package/tencentcloud/services/tke/v20180525/tke_models.d.ts +16 -4
- package/tencentcloud/services/tms/v20201229/tms_models.d.ts +11 -1
- package/tencentcloud/services/tsf/v20180326/tsf_models.d.ts +51 -1
- package/tencentcloud/services/tts/v20190823/tts_models.d.ts +1 -1
- package/tencentcloud/services/vm/v20201229/vm_models.d.ts +25 -0
- package/tencentcloud/services/vod/v20180717/vod_client.d.ts +2 -2
- package/tencentcloud/services/vod/v20180717/vod_client.js +2 -2
- package/tencentcloud/services/vod/v20180717/vod_models.d.ts +360 -360
- package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +33 -1
- package/tencentcloud/services/wav/v20210129/wav_client.d.ts +13 -1
- package/tencentcloud/services/wav/v20210129/wav_client.js +18 -0
- package/tencentcloud/services/wav/v20210129/wav_models.d.ts +314 -116
- package/test/antiddos.v20200309.test.js +30 -0
- package/test/cam.v20190116.test.js +22 -2
- package/test/cdb.v20170320.test.js +20 -30
- package/test/ckafka.v20190819.test.js +32 -2
- package/test/cvm.v20170312.test.js +82 -12
- package/test/dlc.v20210125.test.js +10 -0
- package/test/es.v20180416.test.js +10 -0
- package/test/essbasic.v20210526.test.js +34 -4
- package/test/iecp.v20210914.test.js +831 -0
- package/test/organization.v20210331.test.js +10 -0
- package/test/tdmq.v20200217.test.js +20 -0
- package/test/tem.v20210701.test.js +74 -34
- package/test/thpc.v20211109.test.js +10 -0
- package/test/wav.v20210129.test.js +30 -0
|
@@ -0,0 +1,4845 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* DescribeApplicationYaml返回参数结构体
|
|
3
|
+
*/
|
|
4
|
+
export interface DescribeApplicationYamlResponse {
|
|
5
|
+
/**
|
|
6
|
+
* base64 后的yaml
|
|
7
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8
|
+
*/
|
|
9
|
+
Yaml: string;
|
|
10
|
+
/**
|
|
11
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
12
|
+
*/
|
|
13
|
+
RequestId?: string;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* 操作日志状态查询条件
|
|
17
|
+
*/
|
|
18
|
+
export interface OperationLogsCondition {
|
|
19
|
+
/**
|
|
20
|
+
* 状态列表
|
|
21
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
22
|
+
*/
|
|
23
|
+
Status?: Array<number>;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* RedeployEdgeUnitApplication返回参数结构体
|
|
27
|
+
*/
|
|
28
|
+
export interface RedeployEdgeUnitApplicationResponse {
|
|
29
|
+
/**
|
|
30
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
31
|
+
*/
|
|
32
|
+
RequestId?: string;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* CreateEdgeUnitCloud返回参数结构体
|
|
36
|
+
*/
|
|
37
|
+
export interface CreateEdgeUnitCloudResponse {
|
|
38
|
+
/**
|
|
39
|
+
* tke集群ID
|
|
40
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
41
|
+
*/
|
|
42
|
+
ClusterId: string;
|
|
43
|
+
/**
|
|
44
|
+
* IECP集群ID
|
|
45
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
46
|
+
*/
|
|
47
|
+
EdgeUnitId: number;
|
|
48
|
+
/**
|
|
49
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
50
|
+
*/
|
|
51
|
+
RequestId?: string;
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* ModifyEdgeUnitApplicationBasicInfo请求参数结构体
|
|
55
|
+
*/
|
|
56
|
+
export interface ModifyEdgeUnitApplicationBasicInfoRequest {
|
|
57
|
+
/**
|
|
58
|
+
* 应用基本信息
|
|
59
|
+
*/
|
|
60
|
+
BasicInfo: ApplicationBasicInfo;
|
|
61
|
+
/**
|
|
62
|
+
* 单元ID
|
|
63
|
+
*/
|
|
64
|
+
EdgeUnitId?: number;
|
|
65
|
+
/**
|
|
66
|
+
* 应用ID
|
|
67
|
+
*/
|
|
68
|
+
ApplicationId?: number;
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* CreateEdgeNodeGroup请求参数结构体
|
|
72
|
+
*/
|
|
73
|
+
export interface CreateEdgeNodeGroupRequest {
|
|
74
|
+
/**
|
|
75
|
+
* IECP边缘单元ID
|
|
76
|
+
*/
|
|
77
|
+
EdgeUnitId: number;
|
|
78
|
+
/**
|
|
79
|
+
* NodeGroup名称
|
|
80
|
+
*/
|
|
81
|
+
Name: string;
|
|
82
|
+
/**
|
|
83
|
+
* 命名空间,不填默认为default
|
|
84
|
+
*/
|
|
85
|
+
Namespace?: string;
|
|
86
|
+
/**
|
|
87
|
+
* 描述
|
|
88
|
+
*/
|
|
89
|
+
Description?: string;
|
|
90
|
+
/**
|
|
91
|
+
* 模版ID数组
|
|
92
|
+
*/
|
|
93
|
+
NodeUnitTemplateIDs?: Array<number>;
|
|
94
|
+
}
|
|
95
|
+
/**
|
|
96
|
+
* CreateEdgeUnitApplicationVisualization请求参数结构体
|
|
97
|
+
*/
|
|
98
|
+
export interface CreateEdgeUnitApplicationVisualizationRequest {
|
|
99
|
+
/**
|
|
100
|
+
* 基本信息
|
|
101
|
+
*/
|
|
102
|
+
BasicInfo: ApplicationBasicInfo;
|
|
103
|
+
/**
|
|
104
|
+
* 基本配置
|
|
105
|
+
*/
|
|
106
|
+
BasicConfig: ApplicationBasicConfig;
|
|
107
|
+
/**
|
|
108
|
+
* 单元ID
|
|
109
|
+
*/
|
|
110
|
+
EdgeUnitId: number;
|
|
111
|
+
/**
|
|
112
|
+
* 卷列表
|
|
113
|
+
*/
|
|
114
|
+
Volumes?: Array<Volume>;
|
|
115
|
+
/**
|
|
116
|
+
* 服务配置
|
|
117
|
+
*/
|
|
118
|
+
Service?: Service;
|
|
119
|
+
/**
|
|
120
|
+
* 模版ID
|
|
121
|
+
*/
|
|
122
|
+
TemplateID?: number;
|
|
123
|
+
/**
|
|
124
|
+
* Job配置
|
|
125
|
+
*/
|
|
126
|
+
Job?: Job;
|
|
127
|
+
/**
|
|
128
|
+
* CronJob配置
|
|
129
|
+
*/
|
|
130
|
+
CronJob?: CronJob;
|
|
131
|
+
/**
|
|
132
|
+
* 重新运行策略
|
|
133
|
+
*/
|
|
134
|
+
RestartPolicy?: string;
|
|
135
|
+
/**
|
|
136
|
+
* 镜像拉取密钥
|
|
137
|
+
*/
|
|
138
|
+
ImagePullSecrets?: Array<string>;
|
|
139
|
+
/**
|
|
140
|
+
* HPA配置
|
|
141
|
+
*/
|
|
142
|
+
HorizontalPodAutoscaler?: HorizontalPodAutoscaler;
|
|
143
|
+
/**
|
|
144
|
+
* 初始化容器列表
|
|
145
|
+
*/
|
|
146
|
+
InitContainers?: Array<Container>;
|
|
147
|
+
/**
|
|
148
|
+
* 容器列表
|
|
149
|
+
*/
|
|
150
|
+
Containers?: Array<Container>;
|
|
151
|
+
}
|
|
152
|
+
/**
|
|
153
|
+
* GridPod信息
|
|
154
|
+
*/
|
|
155
|
+
export interface GridPodInfo {
|
|
156
|
+
/**
|
|
157
|
+
* Pod名称
|
|
158
|
+
*/
|
|
159
|
+
Name: string;
|
|
160
|
+
/**
|
|
161
|
+
* 命名空间
|
|
162
|
+
*/
|
|
163
|
+
NameSpace: string;
|
|
164
|
+
/**
|
|
165
|
+
* 状态(Pending|Running|Succeeded|Failed|Unknown)
|
|
166
|
+
*/
|
|
167
|
+
Status: string;
|
|
168
|
+
/**
|
|
169
|
+
* 节点名
|
|
170
|
+
*/
|
|
171
|
+
NodeName: string;
|
|
172
|
+
/**
|
|
173
|
+
* 节点IP
|
|
174
|
+
*/
|
|
175
|
+
NodeIP: string;
|
|
176
|
+
/**
|
|
177
|
+
* Pod的IP
|
|
178
|
+
*/
|
|
179
|
+
PodIP: string;
|
|
180
|
+
/**
|
|
181
|
+
* 启动时间
|
|
182
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
183
|
+
*/
|
|
184
|
+
StartTime: string;
|
|
185
|
+
/**
|
|
186
|
+
* 运行时长(秒)
|
|
187
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
188
|
+
*/
|
|
189
|
+
RunSec: number;
|
|
190
|
+
/**
|
|
191
|
+
* 重启次数
|
|
192
|
+
*/
|
|
193
|
+
RestartCount: number;
|
|
194
|
+
/**
|
|
195
|
+
* 集群名称ID
|
|
196
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
197
|
+
*/
|
|
198
|
+
ClusterID: string;
|
|
199
|
+
}
|
|
200
|
+
/**
|
|
201
|
+
* CreateSecret请求参数结构体
|
|
202
|
+
*/
|
|
203
|
+
export interface CreateSecretRequest {
|
|
204
|
+
/**
|
|
205
|
+
* 单元ID
|
|
206
|
+
*/
|
|
207
|
+
EdgeUnitID: number;
|
|
208
|
+
/**
|
|
209
|
+
* secret名
|
|
210
|
+
*/
|
|
211
|
+
SecretName: string;
|
|
212
|
+
/**
|
|
213
|
+
* 命名空间(默认:default)
|
|
214
|
+
*/
|
|
215
|
+
SecretNamespace?: string;
|
|
216
|
+
/**
|
|
217
|
+
* secret类型(取值范围:DockerConfigJson,Opaque 默认Opaque)
|
|
218
|
+
*/
|
|
219
|
+
SecretType?: string;
|
|
220
|
+
/**
|
|
221
|
+
* DockerConfig的序列化base64编码后的字符串
|
|
222
|
+
*/
|
|
223
|
+
DockerConfigJson?: string;
|
|
224
|
+
/**
|
|
225
|
+
* Opaque类型的Secret内容
|
|
226
|
+
*/
|
|
227
|
+
CloudData?: Array<KeyValueObj>;
|
|
228
|
+
/**
|
|
229
|
+
* DockerConfig配置
|
|
230
|
+
*/
|
|
231
|
+
DockerConfig?: DockerConfig;
|
|
232
|
+
}
|
|
233
|
+
/**
|
|
234
|
+
* DescribeEdgeUnitApplicationYaml请求参数结构体
|
|
235
|
+
*/
|
|
236
|
+
export interface DescribeEdgeUnitApplicationYamlRequest {
|
|
237
|
+
/**
|
|
238
|
+
* 单元ID
|
|
239
|
+
*/
|
|
240
|
+
EdgeUnitId: number;
|
|
241
|
+
/**
|
|
242
|
+
* 应用ID
|
|
243
|
+
*/
|
|
244
|
+
ApplicationId: number;
|
|
245
|
+
}
|
|
246
|
+
/**
|
|
247
|
+
* CreateEdgeUnitApplicationVisualization返回参数结构体
|
|
248
|
+
*/
|
|
249
|
+
export interface CreateEdgeUnitApplicationVisualizationResponse {
|
|
250
|
+
/**
|
|
251
|
+
* 应用ID
|
|
252
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
253
|
+
*/
|
|
254
|
+
ApplicationId: number;
|
|
255
|
+
/**
|
|
256
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
257
|
+
*/
|
|
258
|
+
RequestId?: string;
|
|
259
|
+
}
|
|
260
|
+
/**
|
|
261
|
+
* DescribeEdgeUnitApplicationYamlError请求参数结构体
|
|
262
|
+
*/
|
|
263
|
+
export interface DescribeEdgeUnitApplicationYamlErrorRequest {
|
|
264
|
+
/**
|
|
265
|
+
* Yaml配置
|
|
266
|
+
*/
|
|
267
|
+
Yaml: string;
|
|
268
|
+
}
|
|
269
|
+
/**
|
|
270
|
+
* DescribeNamespaces返回参数结构体
|
|
271
|
+
*/
|
|
272
|
+
export interface DescribeNamespacesResponse {
|
|
273
|
+
/**
|
|
274
|
+
* 命名空间信息列表
|
|
275
|
+
*/
|
|
276
|
+
Items: Array<NamespaceInfo>;
|
|
277
|
+
/**
|
|
278
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
279
|
+
*/
|
|
280
|
+
RequestId?: string;
|
|
281
|
+
}
|
|
282
|
+
/**
|
|
283
|
+
* DescribeSecret返回参数结构体
|
|
284
|
+
*/
|
|
285
|
+
export interface DescribeSecretResponse {
|
|
286
|
+
/**
|
|
287
|
+
* Secret名
|
|
288
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
289
|
+
*/
|
|
290
|
+
Name: string;
|
|
291
|
+
/**
|
|
292
|
+
* 命名空间
|
|
293
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
294
|
+
*/
|
|
295
|
+
Namespace: string;
|
|
296
|
+
/**
|
|
297
|
+
* 创建时间
|
|
298
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
299
|
+
*/
|
|
300
|
+
CreateTime: string;
|
|
301
|
+
/**
|
|
302
|
+
* secret的yaml格式
|
|
303
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
304
|
+
*/
|
|
305
|
+
Yaml: string;
|
|
306
|
+
/**
|
|
307
|
+
* secret的json格式
|
|
308
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
309
|
+
*/
|
|
310
|
+
Json: string;
|
|
311
|
+
/**
|
|
312
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
313
|
+
*/
|
|
314
|
+
RequestId?: string;
|
|
315
|
+
}
|
|
316
|
+
/**
|
|
317
|
+
* NodeUnit模版信息
|
|
318
|
+
*/
|
|
319
|
+
export interface NodeUnitTemplate {
|
|
320
|
+
/**
|
|
321
|
+
* NodeUnit模版ID
|
|
322
|
+
*/
|
|
323
|
+
ID: number;
|
|
324
|
+
/**
|
|
325
|
+
* NodeUnit模版名称
|
|
326
|
+
*/
|
|
327
|
+
Name: string;
|
|
328
|
+
/**
|
|
329
|
+
* 命名空间
|
|
330
|
+
*/
|
|
331
|
+
Namespace: string;
|
|
332
|
+
/**
|
|
333
|
+
* 描述
|
|
334
|
+
*/
|
|
335
|
+
Description: string;
|
|
336
|
+
/**
|
|
337
|
+
* 包含节点列表
|
|
338
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
339
|
+
*/
|
|
340
|
+
NodeList: Array<NodeSimpleInfo>;
|
|
341
|
+
/**
|
|
342
|
+
* NodeGroup列表
|
|
343
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
344
|
+
*/
|
|
345
|
+
NodeGroups: Array<string>;
|
|
346
|
+
/**
|
|
347
|
+
* 更新时间
|
|
348
|
+
*/
|
|
349
|
+
UpdateTime: string;
|
|
350
|
+
/**
|
|
351
|
+
* 创建时间
|
|
352
|
+
*/
|
|
353
|
+
CreateTime: string;
|
|
354
|
+
}
|
|
355
|
+
/**
|
|
356
|
+
* DescribeSecretYamlError返回参数结构体
|
|
357
|
+
*/
|
|
358
|
+
export interface DescribeSecretYamlErrorResponse {
|
|
359
|
+
/**
|
|
360
|
+
* 校验是通过
|
|
361
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
362
|
+
*/
|
|
363
|
+
CheckPass: boolean;
|
|
364
|
+
/**
|
|
365
|
+
* 错误类型
|
|
366
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
367
|
+
*/
|
|
368
|
+
ErrType: number;
|
|
369
|
+
/**
|
|
370
|
+
* 错误信息
|
|
371
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
372
|
+
*/
|
|
373
|
+
ErrInfo: string;
|
|
374
|
+
/**
|
|
375
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
376
|
+
*/
|
|
377
|
+
RequestId?: string;
|
|
378
|
+
}
|
|
379
|
+
/**
|
|
380
|
+
* ModifyEdgeUnitDeployGridItem请求参数结构体
|
|
381
|
+
*/
|
|
382
|
+
export interface ModifyEdgeUnitDeployGridItemRequest {
|
|
383
|
+
/**
|
|
384
|
+
* IECP边缘单元ID
|
|
385
|
+
*/
|
|
386
|
+
EdgeUnitId: number;
|
|
387
|
+
/**
|
|
388
|
+
* Grid名称
|
|
389
|
+
*/
|
|
390
|
+
GridItemName: string;
|
|
391
|
+
/**
|
|
392
|
+
* 负载类型(StatefulSetGrid|DeploymentGrid)
|
|
393
|
+
*/
|
|
394
|
+
WorkloadKind: string;
|
|
395
|
+
/**
|
|
396
|
+
* 副本数
|
|
397
|
+
*/
|
|
398
|
+
Replicas: number;
|
|
399
|
+
/**
|
|
400
|
+
* 命名空间,默认default
|
|
401
|
+
*/
|
|
402
|
+
Namespace?: string;
|
|
403
|
+
}
|
|
404
|
+
/**
|
|
405
|
+
* 指定NodeGroup中查询NodeUnit模版
|
|
406
|
+
*/
|
|
407
|
+
export interface NodeGroupNodeUnitTemplateInfo {
|
|
408
|
+
/**
|
|
409
|
+
* 模版ID
|
|
410
|
+
*/
|
|
411
|
+
ID: number;
|
|
412
|
+
/**
|
|
413
|
+
* 名称
|
|
414
|
+
*/
|
|
415
|
+
Name: string;
|
|
416
|
+
/**
|
|
417
|
+
* 命名空间
|
|
418
|
+
*/
|
|
419
|
+
Namespace: string;
|
|
420
|
+
/**
|
|
421
|
+
* 描述
|
|
422
|
+
*/
|
|
423
|
+
Description: string;
|
|
424
|
+
/**
|
|
425
|
+
* 包含节点列表
|
|
426
|
+
*/
|
|
427
|
+
NodeList: Array<NodeSimpleInfo>;
|
|
428
|
+
/**
|
|
429
|
+
* 更新时间
|
|
430
|
+
*/
|
|
431
|
+
UpdateTime: string;
|
|
432
|
+
/**
|
|
433
|
+
* 创建时间
|
|
434
|
+
*/
|
|
435
|
+
CreateTime: string;
|
|
436
|
+
/**
|
|
437
|
+
* 是否关联
|
|
438
|
+
*/
|
|
439
|
+
Relation: boolean;
|
|
440
|
+
}
|
|
441
|
+
/**
|
|
442
|
+
* DescribeEdgeUnitMonitorStatus请求参数结构体
|
|
443
|
+
*/
|
|
444
|
+
export interface DescribeEdgeUnitMonitorStatusRequest {
|
|
445
|
+
/**
|
|
446
|
+
* IECP边缘单元ID
|
|
447
|
+
*/
|
|
448
|
+
EdgeUnitId: number;
|
|
449
|
+
}
|
|
450
|
+
/**
|
|
451
|
+
* GetMarketComponent返回参数结构体
|
|
452
|
+
*/
|
|
453
|
+
export interface GetMarketComponentResponse {
|
|
454
|
+
/**
|
|
455
|
+
* 组件ID
|
|
456
|
+
*/
|
|
457
|
+
ID: number;
|
|
458
|
+
/**
|
|
459
|
+
* 组件名称
|
|
460
|
+
*/
|
|
461
|
+
AppName: string;
|
|
462
|
+
/**
|
|
463
|
+
* 发行组织
|
|
464
|
+
*/
|
|
465
|
+
Author: string;
|
|
466
|
+
/**
|
|
467
|
+
* 发布时间
|
|
468
|
+
*/
|
|
469
|
+
ReleaseTime: string;
|
|
470
|
+
/**
|
|
471
|
+
* 组件简介
|
|
472
|
+
*/
|
|
473
|
+
Outline: string;
|
|
474
|
+
/**
|
|
475
|
+
* 详细介绍链接
|
|
476
|
+
*/
|
|
477
|
+
Detail: string;
|
|
478
|
+
/**
|
|
479
|
+
* 图标连接
|
|
480
|
+
*/
|
|
481
|
+
Icon: string;
|
|
482
|
+
/**
|
|
483
|
+
* 组件版本
|
|
484
|
+
*/
|
|
485
|
+
Version: string;
|
|
486
|
+
/**
|
|
487
|
+
* 组件可视化配置
|
|
488
|
+
*/
|
|
489
|
+
WorkloadVisualConfig: string;
|
|
490
|
+
/**
|
|
491
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
492
|
+
*/
|
|
493
|
+
RequestId?: string;
|
|
494
|
+
}
|
|
495
|
+
/**
|
|
496
|
+
* CreateApplicationVisualization请求参数结构体
|
|
497
|
+
*/
|
|
498
|
+
export interface CreateApplicationVisualizationRequest {
|
|
499
|
+
/**
|
|
500
|
+
* 基本信息
|
|
501
|
+
*/
|
|
502
|
+
BasicInfo: ApplicationBasicInfo;
|
|
503
|
+
/**
|
|
504
|
+
* 基本配置
|
|
505
|
+
*/
|
|
506
|
+
BasicConfig: ApplicationBasicConfig;
|
|
507
|
+
/**
|
|
508
|
+
* 卷列表
|
|
509
|
+
*/
|
|
510
|
+
Volumes?: Array<Volume>;
|
|
511
|
+
/**
|
|
512
|
+
* 服务配置
|
|
513
|
+
*/
|
|
514
|
+
Service?: Service;
|
|
515
|
+
/**
|
|
516
|
+
* Job配置
|
|
517
|
+
*/
|
|
518
|
+
Job?: Job;
|
|
519
|
+
/**
|
|
520
|
+
* CronJob配置
|
|
521
|
+
*/
|
|
522
|
+
CronJob?: CronJob;
|
|
523
|
+
/**
|
|
524
|
+
* 重新运行策略
|
|
525
|
+
*/
|
|
526
|
+
RestartPolicy?: string;
|
|
527
|
+
/**
|
|
528
|
+
* 镜像拉取密钥
|
|
529
|
+
*/
|
|
530
|
+
ImagePullSecrets?: Array<string>;
|
|
531
|
+
/**
|
|
532
|
+
* HPA配置
|
|
533
|
+
*/
|
|
534
|
+
HorizontalPodAutoscaler?: HorizontalPodAutoscaler;
|
|
535
|
+
/**
|
|
536
|
+
* 初始化容器列表
|
|
537
|
+
*/
|
|
538
|
+
InitContainers?: Array<Container>;
|
|
539
|
+
/**
|
|
540
|
+
* 容器列表
|
|
541
|
+
*/
|
|
542
|
+
Containers?: Array<Container>;
|
|
543
|
+
}
|
|
544
|
+
/**
|
|
545
|
+
* 服务配置
|
|
546
|
+
*/
|
|
547
|
+
export interface Service {
|
|
548
|
+
/**
|
|
549
|
+
* 名称
|
|
550
|
+
*/
|
|
551
|
+
Name: string;
|
|
552
|
+
/**
|
|
553
|
+
* 类型 (ClusterIP|NodePort)
|
|
554
|
+
*/
|
|
555
|
+
Type: string;
|
|
556
|
+
/**
|
|
557
|
+
* 端口配置
|
|
558
|
+
*/
|
|
559
|
+
Ports: Array<PortConfig>;
|
|
560
|
+
/**
|
|
561
|
+
* 标签
|
|
562
|
+
*/
|
|
563
|
+
Labels: Array<Label>;
|
|
564
|
+
/**
|
|
565
|
+
* 命名空间默认default
|
|
566
|
+
*/
|
|
567
|
+
Namespace?: string;
|
|
568
|
+
/**
|
|
569
|
+
* 服务IP
|
|
570
|
+
*/
|
|
571
|
+
ClusterIP?: string;
|
|
572
|
+
}
|
|
573
|
+
/**
|
|
574
|
+
* DeleteNodeUnit返回参数结构体
|
|
575
|
+
*/
|
|
576
|
+
export interface DeleteNodeUnitResponse {
|
|
577
|
+
/**
|
|
578
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
579
|
+
*/
|
|
580
|
+
RequestId?: string;
|
|
581
|
+
}
|
|
582
|
+
/**
|
|
583
|
+
* NFS挂载卷
|
|
584
|
+
*/
|
|
585
|
+
export interface VolumeNFS {
|
|
586
|
+
/**
|
|
587
|
+
* 服务地址
|
|
588
|
+
*/
|
|
589
|
+
Server: string;
|
|
590
|
+
/**
|
|
591
|
+
* 对应服务器路径
|
|
592
|
+
*/
|
|
593
|
+
ServerPath: string;
|
|
594
|
+
/**
|
|
595
|
+
* 对应本地路径
|
|
596
|
+
*/
|
|
597
|
+
Path: string;
|
|
598
|
+
}
|
|
599
|
+
/**
|
|
600
|
+
* DescribeNodeUnitTemplateOnNodeGroup返回参数结构体
|
|
601
|
+
*/
|
|
602
|
+
export interface DescribeNodeUnitTemplateOnNodeGroupResponse {
|
|
603
|
+
/**
|
|
604
|
+
* 记录总数
|
|
605
|
+
*/
|
|
606
|
+
Total: number;
|
|
607
|
+
/**
|
|
608
|
+
* NodeUnit模版
|
|
609
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
610
|
+
*/
|
|
611
|
+
NodeUnitTemplates: Array<NodeGroupNodeUnitTemplateInfo>;
|
|
612
|
+
/**
|
|
613
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
614
|
+
*/
|
|
615
|
+
RequestId?: string;
|
|
616
|
+
}
|
|
617
|
+
/**
|
|
618
|
+
* 应用状态
|
|
619
|
+
*/
|
|
620
|
+
export interface ApplicationStatusInfo {
|
|
621
|
+
/**
|
|
622
|
+
* 应用ID
|
|
623
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
624
|
+
*/
|
|
625
|
+
Id?: number;
|
|
626
|
+
/**
|
|
627
|
+
* 应用名称
|
|
628
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
629
|
+
*/
|
|
630
|
+
Name: string;
|
|
631
|
+
/**
|
|
632
|
+
* 应用版本
|
|
633
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
634
|
+
*/
|
|
635
|
+
Version: string;
|
|
636
|
+
/**
|
|
637
|
+
* 应用状态(1:待部署 2:部署中 3:运行中 4:待更新 5:更新中 6:待删除 7:删除中 8:已删除
|
|
638
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
639
|
+
*/
|
|
640
|
+
Status: string;
|
|
641
|
+
/**
|
|
642
|
+
* 开始时间
|
|
643
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
644
|
+
*/
|
|
645
|
+
StartTime: string;
|
|
646
|
+
/**
|
|
647
|
+
* 管理地址
|
|
648
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
649
|
+
*/
|
|
650
|
+
ManageUrl: string;
|
|
651
|
+
/**
|
|
652
|
+
* 负载类型
|
|
653
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
654
|
+
*/
|
|
655
|
+
WorkloadKind: string;
|
|
656
|
+
/**
|
|
657
|
+
* 应用部署模式
|
|
658
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
659
|
+
*/
|
|
660
|
+
DeployMode: ApplicationDeployMode;
|
|
661
|
+
/**
|
|
662
|
+
* 期望Pod数
|
|
663
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
664
|
+
*/
|
|
665
|
+
Replicas: number;
|
|
666
|
+
/**
|
|
667
|
+
* 运行Pod数
|
|
668
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
669
|
+
*/
|
|
670
|
+
AvailableReplicas: number;
|
|
671
|
+
}
|
|
672
|
+
/**
|
|
673
|
+
* DescribeEdgeUnitGridEvents返回参数结构体
|
|
674
|
+
*/
|
|
675
|
+
export interface DescribeEdgeUnitGridEventsResponse {
|
|
676
|
+
/**
|
|
677
|
+
* 事件列表
|
|
678
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
679
|
+
*/
|
|
680
|
+
EventSet: Array<GridEventInfo>;
|
|
681
|
+
/**
|
|
682
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
683
|
+
*/
|
|
684
|
+
RequestId?: string;
|
|
685
|
+
}
|
|
686
|
+
/**
|
|
687
|
+
* ModifyApplicationVisualization返回参数结构体
|
|
688
|
+
*/
|
|
689
|
+
export interface ModifyApplicationVisualizationResponse {
|
|
690
|
+
/**
|
|
691
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
692
|
+
*/
|
|
693
|
+
RequestId?: string;
|
|
694
|
+
}
|
|
695
|
+
/**
|
|
696
|
+
* DescribeEdgeUnitApplicationYamlError返回参数结构体
|
|
697
|
+
*/
|
|
698
|
+
export interface DescribeEdgeUnitApplicationYamlErrorResponse {
|
|
699
|
+
/**
|
|
700
|
+
* 是否通过
|
|
701
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
702
|
+
*/
|
|
703
|
+
CheckPass: boolean;
|
|
704
|
+
/**
|
|
705
|
+
* 错误类型
|
|
706
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
707
|
+
*/
|
|
708
|
+
ErrType: number;
|
|
709
|
+
/**
|
|
710
|
+
* 错误信息
|
|
711
|
+
*/
|
|
712
|
+
ErrInfo: string;
|
|
713
|
+
/**
|
|
714
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
715
|
+
*/
|
|
716
|
+
RequestId?: string;
|
|
717
|
+
}
|
|
718
|
+
/**
|
|
719
|
+
* DeleteEdgeUnitCloud返回参数结构体
|
|
720
|
+
*/
|
|
721
|
+
export interface DeleteEdgeUnitCloudResponse {
|
|
722
|
+
/**
|
|
723
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
724
|
+
*/
|
|
725
|
+
RequestId?: string;
|
|
726
|
+
}
|
|
727
|
+
/**
|
|
728
|
+
* ModifyConfigMap请求参数结构体
|
|
729
|
+
*/
|
|
730
|
+
export interface ModifyConfigMapRequest {
|
|
731
|
+
/**
|
|
732
|
+
* 单元ID
|
|
733
|
+
*/
|
|
734
|
+
EdgeUnitID: number;
|
|
735
|
+
/**
|
|
736
|
+
* ConfigMap名称
|
|
737
|
+
*/
|
|
738
|
+
ConfigMapName: string;
|
|
739
|
+
/**
|
|
740
|
+
* Yaml配置
|
|
741
|
+
*/
|
|
742
|
+
Yaml: string;
|
|
743
|
+
/**
|
|
744
|
+
* ConfigMap命名空间
|
|
745
|
+
*/
|
|
746
|
+
ConfigMapNamespace?: string;
|
|
747
|
+
}
|
|
748
|
+
/**
|
|
749
|
+
* 应用基本配置
|
|
750
|
+
*/
|
|
751
|
+
export interface ApplicationBasicConfig {
|
|
752
|
+
/**
|
|
753
|
+
* 名称
|
|
754
|
+
*/
|
|
755
|
+
Name: string;
|
|
756
|
+
/**
|
|
757
|
+
* 命名空间
|
|
758
|
+
*/
|
|
759
|
+
Namespace: string;
|
|
760
|
+
/**
|
|
761
|
+
* 工作负载类型
|
|
762
|
+
*/
|
|
763
|
+
WorkflowKind: string;
|
|
764
|
+
/**
|
|
765
|
+
* 标签信息
|
|
766
|
+
*/
|
|
767
|
+
Labels?: Array<Label>;
|
|
768
|
+
/**
|
|
769
|
+
* Grid唯一Key
|
|
770
|
+
*/
|
|
771
|
+
GridUniqKey?: string;
|
|
772
|
+
/**
|
|
773
|
+
* NodeSelector标签
|
|
774
|
+
*/
|
|
775
|
+
NodeSelector?: Array<Label>;
|
|
776
|
+
/**
|
|
777
|
+
* 实例数
|
|
778
|
+
*/
|
|
779
|
+
Replicas?: number;
|
|
780
|
+
/**
|
|
781
|
+
* 可用实例数
|
|
782
|
+
*/
|
|
783
|
+
AvailableReplicas?: number;
|
|
784
|
+
/**
|
|
785
|
+
* 是否开启service环境变量注入pod
|
|
786
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
787
|
+
*/
|
|
788
|
+
EnableServiceLinks?: boolean;
|
|
789
|
+
}
|
|
790
|
+
/**
|
|
791
|
+
* 数据挂载
|
|
792
|
+
*/
|
|
793
|
+
export interface VolumeMount {
|
|
794
|
+
/**
|
|
795
|
+
* 名称
|
|
796
|
+
*/
|
|
797
|
+
Name: string;
|
|
798
|
+
/**
|
|
799
|
+
* 挂载路径
|
|
800
|
+
*/
|
|
801
|
+
MountPath: string;
|
|
802
|
+
/**
|
|
803
|
+
* 子路径
|
|
804
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
805
|
+
*/
|
|
806
|
+
SubPath?: string;
|
|
807
|
+
/**
|
|
808
|
+
* 是否只读
|
|
809
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
810
|
+
*/
|
|
811
|
+
ReadOnly?: boolean;
|
|
812
|
+
}
|
|
813
|
+
/**
|
|
814
|
+
* ModifyApplicationBasicInfo返回参数结构体
|
|
815
|
+
*/
|
|
816
|
+
export interface ModifyApplicationBasicInfoResponse {
|
|
817
|
+
/**
|
|
818
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
819
|
+
*/
|
|
820
|
+
RequestId?: string;
|
|
821
|
+
}
|
|
822
|
+
/**
|
|
823
|
+
* DeleteEdgeNodeGroup请求参数结构体
|
|
824
|
+
*/
|
|
825
|
+
export interface DeleteEdgeNodeGroupRequest {
|
|
826
|
+
/**
|
|
827
|
+
* IECP边缘单元ID
|
|
828
|
+
*/
|
|
829
|
+
EdgeUnitId: number;
|
|
830
|
+
/**
|
|
831
|
+
* NodeGroup名称
|
|
832
|
+
*/
|
|
833
|
+
Name: string;
|
|
834
|
+
/**
|
|
835
|
+
* 命名空间,默认为default
|
|
836
|
+
*/
|
|
837
|
+
Namespace?: string;
|
|
838
|
+
}
|
|
839
|
+
/**
|
|
840
|
+
* DeleteEdgeUnitDeployGridItem返回参数结构体
|
|
841
|
+
*/
|
|
842
|
+
export interface DeleteEdgeUnitDeployGridItemResponse {
|
|
843
|
+
/**
|
|
844
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
845
|
+
*/
|
|
846
|
+
RequestId?: string;
|
|
847
|
+
}
|
|
848
|
+
/**
|
|
849
|
+
* DescribeApplicationVisualization请求参数结构体
|
|
850
|
+
*/
|
|
851
|
+
export interface DescribeApplicationVisualizationRequest {
|
|
852
|
+
/**
|
|
853
|
+
* 应用模板ID
|
|
854
|
+
*/
|
|
855
|
+
ApplicationId: number;
|
|
856
|
+
}
|
|
857
|
+
/**
|
|
858
|
+
* 安全上下文
|
|
859
|
+
*/
|
|
860
|
+
export interface SecurityContext {
|
|
861
|
+
/**
|
|
862
|
+
* 是否开启特权模式
|
|
863
|
+
*/
|
|
864
|
+
Privilege: boolean;
|
|
865
|
+
/**
|
|
866
|
+
* 目录/Proc挂载方式
|
|
867
|
+
*/
|
|
868
|
+
ProcMount: string;
|
|
869
|
+
/**
|
|
870
|
+
* 安全配置
|
|
871
|
+
*/
|
|
872
|
+
Capabilities?: SecurityCapabilities;
|
|
873
|
+
}
|
|
874
|
+
/**
|
|
875
|
+
* DescribeEdgeUnitApplications请求参数结构体
|
|
876
|
+
*/
|
|
877
|
+
export interface DescribeEdgeUnitApplicationsRequest {
|
|
878
|
+
/**
|
|
879
|
+
* 单元ID
|
|
880
|
+
*/
|
|
881
|
+
EdgeUnitId: number;
|
|
882
|
+
/**
|
|
883
|
+
* 翻页偏移
|
|
884
|
+
*/
|
|
885
|
+
Offset: number;
|
|
886
|
+
/**
|
|
887
|
+
* 翻页大小
|
|
888
|
+
*/
|
|
889
|
+
Limit: number;
|
|
890
|
+
/**
|
|
891
|
+
* 名称模糊匹配
|
|
892
|
+
*/
|
|
893
|
+
NamePattern?: string;
|
|
894
|
+
/**
|
|
895
|
+
* 字段排序 (Sort.Filed为:StartTime)
|
|
896
|
+
*/
|
|
897
|
+
Sort?: Array<FieldSort>;
|
|
898
|
+
/**
|
|
899
|
+
* 命名空间过滤
|
|
900
|
+
*/
|
|
901
|
+
Namespace?: string;
|
|
902
|
+
}
|
|
903
|
+
/**
|
|
904
|
+
* DescribeEdgeUnitApplicationYaml返回参数结构体
|
|
905
|
+
*/
|
|
906
|
+
export interface DescribeEdgeUnitApplicationYamlResponse {
|
|
907
|
+
/**
|
|
908
|
+
* Yaml配置
|
|
909
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
910
|
+
*/
|
|
911
|
+
Yaml: string;
|
|
912
|
+
/**
|
|
913
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
914
|
+
*/
|
|
915
|
+
RequestId?: string;
|
|
916
|
+
}
|
|
917
|
+
/**
|
|
918
|
+
* DescribeConfigMapYamlError返回参数结构体
|
|
919
|
+
*/
|
|
920
|
+
export interface DescribeConfigMapYamlErrorResponse {
|
|
921
|
+
/**
|
|
922
|
+
* 校验是通过
|
|
923
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
924
|
+
*/
|
|
925
|
+
CheckPass: boolean;
|
|
926
|
+
/**
|
|
927
|
+
* 错误类型
|
|
928
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
929
|
+
*/
|
|
930
|
+
ErrType: number;
|
|
931
|
+
/**
|
|
932
|
+
* 错误信息
|
|
933
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
934
|
+
*/
|
|
935
|
+
ErrInfo: string;
|
|
936
|
+
/**
|
|
937
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
938
|
+
*/
|
|
939
|
+
RequestId?: string;
|
|
940
|
+
}
|
|
941
|
+
/**
|
|
942
|
+
* DescribeConfigMap返回参数结构体
|
|
943
|
+
*/
|
|
944
|
+
export interface DescribeConfigMapResponse {
|
|
945
|
+
/**
|
|
946
|
+
* 名称
|
|
947
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
948
|
+
*/
|
|
949
|
+
Name: string;
|
|
950
|
+
/**
|
|
951
|
+
* 命名空间
|
|
952
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
953
|
+
*/
|
|
954
|
+
Namespace: string;
|
|
955
|
+
/**
|
|
956
|
+
* 创建时间
|
|
957
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
958
|
+
*/
|
|
959
|
+
CreateTime: string;
|
|
960
|
+
/**
|
|
961
|
+
* yaml配置
|
|
962
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
963
|
+
*/
|
|
964
|
+
Yaml: string;
|
|
965
|
+
/**
|
|
966
|
+
* 配置项的json格式(base64编码)
|
|
967
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
968
|
+
*/
|
|
969
|
+
Json: string;
|
|
970
|
+
/**
|
|
971
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
972
|
+
*/
|
|
973
|
+
RequestId?: string;
|
|
974
|
+
}
|
|
975
|
+
/**
|
|
976
|
+
* DescribeApplicationYaml请求参数结构体
|
|
977
|
+
*/
|
|
978
|
+
export interface DescribeApplicationYamlRequest {
|
|
979
|
+
/**
|
|
980
|
+
* 应用模板ID
|
|
981
|
+
*/
|
|
982
|
+
ApplicationId: number;
|
|
983
|
+
}
|
|
984
|
+
/**
|
|
985
|
+
* ModifyApplicationVisualization请求参数结构体
|
|
986
|
+
*/
|
|
987
|
+
export interface ModifyApplicationVisualizationRequest {
|
|
988
|
+
/**
|
|
989
|
+
* 应用ID
|
|
990
|
+
*/
|
|
991
|
+
ApplicationId: number;
|
|
992
|
+
/**
|
|
993
|
+
* 应用配置
|
|
994
|
+
*/
|
|
995
|
+
BasicConfig: ApplicationBasicConfig;
|
|
996
|
+
/**
|
|
997
|
+
* 卷配置
|
|
998
|
+
*/
|
|
999
|
+
Volumes?: Array<Volume>;
|
|
1000
|
+
/**
|
|
1001
|
+
* 初始容器
|
|
1002
|
+
*/
|
|
1003
|
+
InitContainers?: Array<Container>;
|
|
1004
|
+
/**
|
|
1005
|
+
* 容器配置
|
|
1006
|
+
*/
|
|
1007
|
+
Containers?: Array<Container>;
|
|
1008
|
+
/**
|
|
1009
|
+
* 服务配置
|
|
1010
|
+
*/
|
|
1011
|
+
Service?: Service;
|
|
1012
|
+
/**
|
|
1013
|
+
* Job配置
|
|
1014
|
+
*/
|
|
1015
|
+
Job?: Job;
|
|
1016
|
+
/**
|
|
1017
|
+
* CronJob配置
|
|
1018
|
+
*/
|
|
1019
|
+
CronJob?: CronJob;
|
|
1020
|
+
/**
|
|
1021
|
+
* 重启策略
|
|
1022
|
+
*/
|
|
1023
|
+
RestartPolicy?: string;
|
|
1024
|
+
/**
|
|
1025
|
+
* 镜像拉取密钥
|
|
1026
|
+
*/
|
|
1027
|
+
ImagePullSecrets?: Array<string>;
|
|
1028
|
+
/**
|
|
1029
|
+
* HPA配置
|
|
1030
|
+
*/
|
|
1031
|
+
HorizontalPodAutoscaler?: HorizontalPodAutoscaler;
|
|
1032
|
+
/**
|
|
1033
|
+
* 单个初始化容器
|
|
1034
|
+
*/
|
|
1035
|
+
InitContainer?: Container;
|
|
1036
|
+
}
|
|
1037
|
+
/**
|
|
1038
|
+
* DescribeEdgeUnitNodeUnitTemplates请求参数结构体
|
|
1039
|
+
*/
|
|
1040
|
+
export interface DescribeEdgeUnitNodeUnitTemplatesRequest {
|
|
1041
|
+
/**
|
|
1042
|
+
* IECP边缘单元ID
|
|
1043
|
+
*/
|
|
1044
|
+
EdgeUnitId: number;
|
|
1045
|
+
/**
|
|
1046
|
+
* 命名空间,默认为default
|
|
1047
|
+
*/
|
|
1048
|
+
Namespace?: string;
|
|
1049
|
+
/**
|
|
1050
|
+
* 分页查询offset,默认为0
|
|
1051
|
+
*/
|
|
1052
|
+
Offset?: number;
|
|
1053
|
+
/**
|
|
1054
|
+
* 分页查询limit,默认为20
|
|
1055
|
+
*/
|
|
1056
|
+
Limit?: number;
|
|
1057
|
+
/**
|
|
1058
|
+
* 模糊匹配,精确匹配时失效
|
|
1059
|
+
*/
|
|
1060
|
+
NameFilter?: string;
|
|
1061
|
+
/**
|
|
1062
|
+
* 精确匹配
|
|
1063
|
+
*/
|
|
1064
|
+
NameMatched?: string;
|
|
1065
|
+
/**
|
|
1066
|
+
* 按时间排序顺序,默认为DESC
|
|
1067
|
+
*/
|
|
1068
|
+
Order?: string;
|
|
1069
|
+
}
|
|
1070
|
+
/**
|
|
1071
|
+
* DeleteEdgeUnitApplications请求参数结构体
|
|
1072
|
+
*/
|
|
1073
|
+
export interface DeleteEdgeUnitApplicationsRequest {
|
|
1074
|
+
/**
|
|
1075
|
+
* 单元ID
|
|
1076
|
+
*/
|
|
1077
|
+
EdgeUnitID: number;
|
|
1078
|
+
/**
|
|
1079
|
+
* 应用ID列表
|
|
1080
|
+
*/
|
|
1081
|
+
ApplicationIDs: Array<number>;
|
|
1082
|
+
}
|
|
1083
|
+
/**
|
|
1084
|
+
* DeleteApplications请求参数结构体
|
|
1085
|
+
*/
|
|
1086
|
+
export interface DeleteApplicationsRequest {
|
|
1087
|
+
/**
|
|
1088
|
+
* 应用模板ID列表
|
|
1089
|
+
*/
|
|
1090
|
+
ApplicationIds: Array<number>;
|
|
1091
|
+
}
|
|
1092
|
+
/**
|
|
1093
|
+
* DescribeEdgeUnitApplicationPodContainers请求参数结构体
|
|
1094
|
+
*/
|
|
1095
|
+
export interface DescribeEdgeUnitApplicationPodContainersRequest {
|
|
1096
|
+
/**
|
|
1097
|
+
* 单元ID
|
|
1098
|
+
*/
|
|
1099
|
+
EdgeUnitId: number;
|
|
1100
|
+
/**
|
|
1101
|
+
* 应用ID
|
|
1102
|
+
*/
|
|
1103
|
+
ApplicationId: number;
|
|
1104
|
+
/**
|
|
1105
|
+
* Pod名
|
|
1106
|
+
*/
|
|
1107
|
+
PodName: string;
|
|
1108
|
+
}
|
|
1109
|
+
/**
|
|
1110
|
+
* TCP探测配置
|
|
1111
|
+
*/
|
|
1112
|
+
export interface TcpProbe {
|
|
1113
|
+
/**
|
|
1114
|
+
* 连接端口
|
|
1115
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1116
|
+
*/
|
|
1117
|
+
Port: number;
|
|
1118
|
+
}
|
|
1119
|
+
/**
|
|
1120
|
+
* ConfigMap的key挂载到路径
|
|
1121
|
+
*/
|
|
1122
|
+
export interface VolumeConfigMapKeyToPath {
|
|
1123
|
+
/**
|
|
1124
|
+
* 健名
|
|
1125
|
+
*/
|
|
1126
|
+
Key: string;
|
|
1127
|
+
/**
|
|
1128
|
+
* 对应本地路径
|
|
1129
|
+
*/
|
|
1130
|
+
Path: string;
|
|
1131
|
+
/**
|
|
1132
|
+
* 对应权限模式
|
|
1133
|
+
*/
|
|
1134
|
+
Mode: string;
|
|
1135
|
+
}
|
|
1136
|
+
/**
|
|
1137
|
+
* DescribeEdgeUnitApplications返回参数结构体
|
|
1138
|
+
*/
|
|
1139
|
+
export interface DescribeEdgeUnitApplicationsResponse {
|
|
1140
|
+
/**
|
|
1141
|
+
* 总数
|
|
1142
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1143
|
+
*/
|
|
1144
|
+
TotalCount: number;
|
|
1145
|
+
/**
|
|
1146
|
+
* 应用列表
|
|
1147
|
+
*/
|
|
1148
|
+
ApplicationSet: Array<ApplicationStatusInfo>;
|
|
1149
|
+
/**
|
|
1150
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1151
|
+
*/
|
|
1152
|
+
RequestId?: string;
|
|
1153
|
+
}
|
|
1154
|
+
/**
|
|
1155
|
+
* DescribeEdgeUnitDeployGridItem请求参数结构体
|
|
1156
|
+
*/
|
|
1157
|
+
export interface DescribeEdgeUnitDeployGridItemRequest {
|
|
1158
|
+
/**
|
|
1159
|
+
* 边缘单元ID
|
|
1160
|
+
*/
|
|
1161
|
+
EdgeUnitId: number;
|
|
1162
|
+
/**
|
|
1163
|
+
* Grid名称
|
|
1164
|
+
*/
|
|
1165
|
+
GridName: string;
|
|
1166
|
+
/**
|
|
1167
|
+
* 负载类型(StatefulSetGrid|DeploymentGrid)
|
|
1168
|
+
*/
|
|
1169
|
+
WorkloadKind: string;
|
|
1170
|
+
/**
|
|
1171
|
+
* 命名空间,默认default
|
|
1172
|
+
*/
|
|
1173
|
+
Namespace?: string;
|
|
1174
|
+
/**
|
|
1175
|
+
* 排序,默认ASC
|
|
1176
|
+
*/
|
|
1177
|
+
Order?: string;
|
|
1178
|
+
}
|
|
1179
|
+
/**
|
|
1180
|
+
* ModifyEdgeUnit请求参数结构体
|
|
1181
|
+
*/
|
|
1182
|
+
export interface ModifyEdgeUnitRequest {
|
|
1183
|
+
/**
|
|
1184
|
+
* 边缘集群ID
|
|
1185
|
+
*/
|
|
1186
|
+
EdgeUnitId: number;
|
|
1187
|
+
/**
|
|
1188
|
+
* 边缘集群名称,64字符以内
|
|
1189
|
+
*/
|
|
1190
|
+
Name: string;
|
|
1191
|
+
/**
|
|
1192
|
+
* 集群描述,200字符以内
|
|
1193
|
+
*/
|
|
1194
|
+
Description?: string;
|
|
1195
|
+
}
|
|
1196
|
+
/**
|
|
1197
|
+
* 容器状态
|
|
1198
|
+
*/
|
|
1199
|
+
export interface ContainerStatus {
|
|
1200
|
+
/**
|
|
1201
|
+
* 容器名
|
|
1202
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1203
|
+
*/
|
|
1204
|
+
Name: string;
|
|
1205
|
+
/**
|
|
1206
|
+
* 容器ID
|
|
1207
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1208
|
+
*/
|
|
1209
|
+
ID: string;
|
|
1210
|
+
/**
|
|
1211
|
+
* 镜像
|
|
1212
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1213
|
+
*/
|
|
1214
|
+
Image: string;
|
|
1215
|
+
/**
|
|
1216
|
+
* 重启次数
|
|
1217
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1218
|
+
*/
|
|
1219
|
+
RestartCount: number;
|
|
1220
|
+
/**
|
|
1221
|
+
* 状态
|
|
1222
|
+
*/
|
|
1223
|
+
Status: string;
|
|
1224
|
+
}
|
|
1225
|
+
/**
|
|
1226
|
+
* DescribeEdgeUnitCloud返回参数结构体
|
|
1227
|
+
*/
|
|
1228
|
+
export interface DescribeEdgeUnitCloudResponse {
|
|
1229
|
+
/**
|
|
1230
|
+
* 边缘集群名称
|
|
1231
|
+
*/
|
|
1232
|
+
Name: string;
|
|
1233
|
+
/**
|
|
1234
|
+
* 描述
|
|
1235
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1236
|
+
*/
|
|
1237
|
+
Description: string;
|
|
1238
|
+
/**
|
|
1239
|
+
* 创建时间
|
|
1240
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1241
|
+
*/
|
|
1242
|
+
CreateTime: string;
|
|
1243
|
+
/**
|
|
1244
|
+
* 更新时间
|
|
1245
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1246
|
+
*/
|
|
1247
|
+
UpdateTime: string;
|
|
1248
|
+
/**
|
|
1249
|
+
* 集群最后探活时间
|
|
1250
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1251
|
+
*/
|
|
1252
|
+
LiveTime: string;
|
|
1253
|
+
/**
|
|
1254
|
+
* 集群状态
|
|
1255
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1256
|
+
*/
|
|
1257
|
+
MasterStatus: string;
|
|
1258
|
+
/**
|
|
1259
|
+
* 版本号
|
|
1260
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1261
|
+
*/
|
|
1262
|
+
K8sVersion: string;
|
|
1263
|
+
/**
|
|
1264
|
+
* pod cidr
|
|
1265
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1266
|
+
*/
|
|
1267
|
+
PodCIDR: string;
|
|
1268
|
+
/**
|
|
1269
|
+
* service cidr
|
|
1270
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1271
|
+
*/
|
|
1272
|
+
ServiceCIDR: string;
|
|
1273
|
+
/**
|
|
1274
|
+
* 集群内网访问地址
|
|
1275
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1276
|
+
*/
|
|
1277
|
+
APIServerAddress: string;
|
|
1278
|
+
/**
|
|
1279
|
+
* 集群外网访问地址
|
|
1280
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1281
|
+
*/
|
|
1282
|
+
APIServerExposeAddress: string;
|
|
1283
|
+
/**
|
|
1284
|
+
* 用户ID
|
|
1285
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1286
|
+
*/
|
|
1287
|
+
UID: string;
|
|
1288
|
+
/**
|
|
1289
|
+
* 集群ID
|
|
1290
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1291
|
+
*/
|
|
1292
|
+
UnitID: number;
|
|
1293
|
+
/**
|
|
1294
|
+
* 集群标识
|
|
1295
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1296
|
+
*/
|
|
1297
|
+
Cluster: string;
|
|
1298
|
+
/**
|
|
1299
|
+
* 节点统计
|
|
1300
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1301
|
+
*/
|
|
1302
|
+
Node: EdgeUnitStatisticItem;
|
|
1303
|
+
/**
|
|
1304
|
+
* 工作负载统计
|
|
1305
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1306
|
+
*/
|
|
1307
|
+
Workload: EdgeUnitStatisticItem;
|
|
1308
|
+
/**
|
|
1309
|
+
* Grid应用统计
|
|
1310
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1311
|
+
*/
|
|
1312
|
+
Grid: EdgeUnitStatisticItem;
|
|
1313
|
+
/**
|
|
1314
|
+
* 设备统计
|
|
1315
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1316
|
+
*/
|
|
1317
|
+
SubDevice: EdgeUnitStatisticItem;
|
|
1318
|
+
/**
|
|
1319
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1320
|
+
*/
|
|
1321
|
+
RequestId?: string;
|
|
1322
|
+
}
|
|
1323
|
+
/**
|
|
1324
|
+
* Pod状态信息
|
|
1325
|
+
*/
|
|
1326
|
+
export interface PodStatus {
|
|
1327
|
+
/**
|
|
1328
|
+
* 名称
|
|
1329
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1330
|
+
*/
|
|
1331
|
+
Name: string;
|
|
1332
|
+
/**
|
|
1333
|
+
* 命名空间
|
|
1334
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1335
|
+
*/
|
|
1336
|
+
NameSpace: string;
|
|
1337
|
+
/**
|
|
1338
|
+
* 状态
|
|
1339
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1340
|
+
*/
|
|
1341
|
+
Status: string;
|
|
1342
|
+
/**
|
|
1343
|
+
* IP地址
|
|
1344
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1345
|
+
*/
|
|
1346
|
+
IP: string;
|
|
1347
|
+
/**
|
|
1348
|
+
* 启动时间
|
|
1349
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1350
|
+
*/
|
|
1351
|
+
StartTime: string;
|
|
1352
|
+
/**
|
|
1353
|
+
* 运行时间
|
|
1354
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1355
|
+
*/
|
|
1356
|
+
RunSec: number;
|
|
1357
|
+
/**
|
|
1358
|
+
* 重启次数
|
|
1359
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1360
|
+
*/
|
|
1361
|
+
RestartCount: number;
|
|
1362
|
+
}
|
|
1363
|
+
/**
|
|
1364
|
+
* RedeployEdgeUnitApplication请求参数结构体
|
|
1365
|
+
*/
|
|
1366
|
+
export interface RedeployEdgeUnitApplicationRequest {
|
|
1367
|
+
/**
|
|
1368
|
+
* 单元ID
|
|
1369
|
+
*/
|
|
1370
|
+
EdgeUnitId: number;
|
|
1371
|
+
/**
|
|
1372
|
+
* 应用ID
|
|
1373
|
+
*/
|
|
1374
|
+
ApplicationId: number;
|
|
1375
|
+
}
|
|
1376
|
+
/**
|
|
1377
|
+
* DeleteSecret返回参数结构体
|
|
1378
|
+
*/
|
|
1379
|
+
export interface DeleteSecretResponse {
|
|
1380
|
+
/**
|
|
1381
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1382
|
+
*/
|
|
1383
|
+
RequestId?: string;
|
|
1384
|
+
}
|
|
1385
|
+
/**
|
|
1386
|
+
* DeleteConfigMap返回参数结构体
|
|
1387
|
+
*/
|
|
1388
|
+
export interface DeleteConfigMapResponse {
|
|
1389
|
+
/**
|
|
1390
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1391
|
+
*/
|
|
1392
|
+
RequestId?: string;
|
|
1393
|
+
}
|
|
1394
|
+
/**
|
|
1395
|
+
* DescribeApplications返回参数结构体
|
|
1396
|
+
*/
|
|
1397
|
+
export interface DescribeApplicationsResponse {
|
|
1398
|
+
/**
|
|
1399
|
+
* 总条数
|
|
1400
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1401
|
+
*/
|
|
1402
|
+
TotalCount: number;
|
|
1403
|
+
/**
|
|
1404
|
+
* 详细列表
|
|
1405
|
+
*/
|
|
1406
|
+
ApplicationSet: Array<ApplicationTemplate>;
|
|
1407
|
+
/**
|
|
1408
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1409
|
+
*/
|
|
1410
|
+
RequestId?: string;
|
|
1411
|
+
}
|
|
1412
|
+
/**
|
|
1413
|
+
* DeleteConfigMap请求参数结构体
|
|
1414
|
+
*/
|
|
1415
|
+
export interface DeleteConfigMapRequest {
|
|
1416
|
+
/**
|
|
1417
|
+
* 单元ID
|
|
1418
|
+
*/
|
|
1419
|
+
EdgeUnitID: number;
|
|
1420
|
+
/**
|
|
1421
|
+
* ConfigMap名
|
|
1422
|
+
*/
|
|
1423
|
+
ConfigMapName: string;
|
|
1424
|
+
/**
|
|
1425
|
+
* ConfigMap命名空间,默认:default
|
|
1426
|
+
*/
|
|
1427
|
+
ConfigMapNamespace?: string;
|
|
1428
|
+
}
|
|
1429
|
+
/**
|
|
1430
|
+
* DescribeEdgeUnitDeployGridItem返回参数结构体
|
|
1431
|
+
*/
|
|
1432
|
+
export interface DescribeEdgeUnitDeployGridItemResponse {
|
|
1433
|
+
/**
|
|
1434
|
+
* 记录总数
|
|
1435
|
+
*/
|
|
1436
|
+
TotalCount: number;
|
|
1437
|
+
/**
|
|
1438
|
+
* Grid部署列表
|
|
1439
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1440
|
+
*/
|
|
1441
|
+
DeploySet: Array<GridItemInfo>;
|
|
1442
|
+
/**
|
|
1443
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1444
|
+
*/
|
|
1445
|
+
RequestId?: string;
|
|
1446
|
+
}
|
|
1447
|
+
/**
|
|
1448
|
+
* NodeUnit信息
|
|
1449
|
+
*/
|
|
1450
|
+
export interface NodeUnitInfo {
|
|
1451
|
+
/**
|
|
1452
|
+
* NodeUnitId
|
|
1453
|
+
*/
|
|
1454
|
+
Id: number;
|
|
1455
|
+
/**
|
|
1456
|
+
* NodeUnit名称
|
|
1457
|
+
*/
|
|
1458
|
+
NodeUnitName: string;
|
|
1459
|
+
/**
|
|
1460
|
+
* 包含节点列表
|
|
1461
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1462
|
+
*/
|
|
1463
|
+
NodeList: Array<NodeUnitNodeInfo>;
|
|
1464
|
+
}
|
|
1465
|
+
/**
|
|
1466
|
+
* DescribeEdgeUnitExtra请求参数结构体
|
|
1467
|
+
*/
|
|
1468
|
+
export interface DescribeEdgeUnitExtraRequest {
|
|
1469
|
+
/**
|
|
1470
|
+
* IECP边缘单元ID
|
|
1471
|
+
*/
|
|
1472
|
+
EdgeUnitId: number;
|
|
1473
|
+
}
|
|
1474
|
+
/**
|
|
1475
|
+
* CreateUpdateNodeUnit请求参数结构体
|
|
1476
|
+
*/
|
|
1477
|
+
export interface CreateUpdateNodeUnitRequest {
|
|
1478
|
+
/**
|
|
1479
|
+
* IECP边缘单元ID
|
|
1480
|
+
*/
|
|
1481
|
+
EdgeUnitId: number;
|
|
1482
|
+
/**
|
|
1483
|
+
* NodeUnit所属的NodeGroup名称
|
|
1484
|
+
*/
|
|
1485
|
+
NodeGroupName: string;
|
|
1486
|
+
/**
|
|
1487
|
+
* 命名空间,默认为default
|
|
1488
|
+
*/
|
|
1489
|
+
Namespace?: string;
|
|
1490
|
+
/**
|
|
1491
|
+
* NodeUnit名称,通过模版创建可不填
|
|
1492
|
+
*/
|
|
1493
|
+
NodeUnitName?: string;
|
|
1494
|
+
/**
|
|
1495
|
+
* NodeUnit包含的节点列表,通过模版创建可不填
|
|
1496
|
+
*/
|
|
1497
|
+
Nodes?: Array<string>;
|
|
1498
|
+
/**
|
|
1499
|
+
* NodeUnit模版ID列表
|
|
1500
|
+
*/
|
|
1501
|
+
NodeUnitTemplateIDs?: Array<number>;
|
|
1502
|
+
}
|
|
1503
|
+
/**
|
|
1504
|
+
* 事件信息
|
|
1505
|
+
*/
|
|
1506
|
+
export interface Event {
|
|
1507
|
+
/**
|
|
1508
|
+
* 第一次出现时间
|
|
1509
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1510
|
+
*/
|
|
1511
|
+
FirstTime: string;
|
|
1512
|
+
/**
|
|
1513
|
+
* 最后一次出现时间
|
|
1514
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1515
|
+
*/
|
|
1516
|
+
LastTime: string;
|
|
1517
|
+
/**
|
|
1518
|
+
* 事件关联对象类型
|
|
1519
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1520
|
+
*/
|
|
1521
|
+
InvolvedObjectKind: string;
|
|
1522
|
+
/**
|
|
1523
|
+
* 事件关联对象名
|
|
1524
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1525
|
+
*/
|
|
1526
|
+
InvolvedObjectName: string;
|
|
1527
|
+
/**
|
|
1528
|
+
* 事件类型(Normal|Warning)
|
|
1529
|
+
*/
|
|
1530
|
+
Type: string;
|
|
1531
|
+
/**
|
|
1532
|
+
* 原因
|
|
1533
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1534
|
+
*/
|
|
1535
|
+
Reason: string;
|
|
1536
|
+
/**
|
|
1537
|
+
* 内容
|
|
1538
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1539
|
+
*/
|
|
1540
|
+
Message: string;
|
|
1541
|
+
/**
|
|
1542
|
+
* 出现次数
|
|
1543
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1544
|
+
*/
|
|
1545
|
+
Count: number;
|
|
1546
|
+
}
|
|
1547
|
+
/**
|
|
1548
|
+
* CreateConfigMap返回参数结构体
|
|
1549
|
+
*/
|
|
1550
|
+
export interface CreateConfigMapResponse {
|
|
1551
|
+
/**
|
|
1552
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1553
|
+
*/
|
|
1554
|
+
RequestId?: string;
|
|
1555
|
+
}
|
|
1556
|
+
/**
|
|
1557
|
+
* DescribeEdgeUnitsCloud请求参数结构体
|
|
1558
|
+
*/
|
|
1559
|
+
export interface DescribeEdgeUnitsCloudRequest {
|
|
1560
|
+
/**
|
|
1561
|
+
* 偏移量
|
|
1562
|
+
*/
|
|
1563
|
+
Offset: number;
|
|
1564
|
+
/**
|
|
1565
|
+
* limit值
|
|
1566
|
+
*/
|
|
1567
|
+
Limit: number;
|
|
1568
|
+
/**
|
|
1569
|
+
* 集群名称模糊匹配
|
|
1570
|
+
*/
|
|
1571
|
+
NamePattern?: string;
|
|
1572
|
+
/**
|
|
1573
|
+
* 排序,ASC/DESC(默认)
|
|
1574
|
+
*/
|
|
1575
|
+
Order?: string;
|
|
1576
|
+
}
|
|
1577
|
+
/**
|
|
1578
|
+
* 应用模板列表详情
|
|
1579
|
+
*/
|
|
1580
|
+
export interface ApplicationTemplate {
|
|
1581
|
+
/**
|
|
1582
|
+
* 模板ID
|
|
1583
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1584
|
+
*/
|
|
1585
|
+
Id: number;
|
|
1586
|
+
/**
|
|
1587
|
+
* 模板名称
|
|
1588
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1589
|
+
*/
|
|
1590
|
+
Name: string;
|
|
1591
|
+
/**
|
|
1592
|
+
* 来源。1 自定义应用模板 ; 2 官方应用模板
|
|
1593
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1594
|
+
*/
|
|
1595
|
+
Source: number;
|
|
1596
|
+
/**
|
|
1597
|
+
* 应用类型
|
|
1598
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1599
|
+
*/
|
|
1600
|
+
WorkloadKind: string;
|
|
1601
|
+
/**
|
|
1602
|
+
* 管理地址
|
|
1603
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1604
|
+
*/
|
|
1605
|
+
ManageUrl: string;
|
|
1606
|
+
/**
|
|
1607
|
+
* 发布时间
|
|
1608
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1609
|
+
*/
|
|
1610
|
+
DistributeTime: string;
|
|
1611
|
+
}
|
|
1612
|
+
/**
|
|
1613
|
+
* 应用基本信息
|
|
1614
|
+
*/
|
|
1615
|
+
export interface ApplicationBasicInfo {
|
|
1616
|
+
/**
|
|
1617
|
+
* 名称
|
|
1618
|
+
*/
|
|
1619
|
+
Name: string;
|
|
1620
|
+
/**
|
|
1621
|
+
* 管理URL地址
|
|
1622
|
+
*/
|
|
1623
|
+
ManageUrl?: string;
|
|
1624
|
+
/**
|
|
1625
|
+
* 描述信息
|
|
1626
|
+
*/
|
|
1627
|
+
Description?: string;
|
|
1628
|
+
/**
|
|
1629
|
+
* 创建时间
|
|
1630
|
+
*/
|
|
1631
|
+
CreateTime?: string;
|
|
1632
|
+
}
|
|
1633
|
+
/**
|
|
1634
|
+
* DescribeEdgeDefaultVpc请求参数结构体
|
|
1635
|
+
*/
|
|
1636
|
+
export declare type DescribeEdgeDefaultVpcRequest = null;
|
|
1637
|
+
/**
|
|
1638
|
+
* DescribeSecrets返回参数结构体
|
|
1639
|
+
*/
|
|
1640
|
+
export interface DescribeSecretsResponse {
|
|
1641
|
+
/**
|
|
1642
|
+
* 总数目
|
|
1643
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1644
|
+
*/
|
|
1645
|
+
TotalCount: number;
|
|
1646
|
+
/**
|
|
1647
|
+
* Secret列表
|
|
1648
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1649
|
+
*/
|
|
1650
|
+
Items: Array<SecretItem>;
|
|
1651
|
+
/**
|
|
1652
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1653
|
+
*/
|
|
1654
|
+
RequestId?: string;
|
|
1655
|
+
}
|
|
1656
|
+
/**
|
|
1657
|
+
* DescribeEdgeAgentNodeInstaller请求参数结构体
|
|
1658
|
+
*/
|
|
1659
|
+
export interface DescribeEdgeAgentNodeInstallerRequest {
|
|
1660
|
+
/**
|
|
1661
|
+
* IECP边缘单元ID
|
|
1662
|
+
*/
|
|
1663
|
+
EdgeUnitId: number;
|
|
1664
|
+
/**
|
|
1665
|
+
* IECP边缘节点ID
|
|
1666
|
+
*/
|
|
1667
|
+
NodeId: number;
|
|
1668
|
+
}
|
|
1669
|
+
/**
|
|
1670
|
+
* 环境变量选择
|
|
1671
|
+
*/
|
|
1672
|
+
export interface EnvValueSelector {
|
|
1673
|
+
/**
|
|
1674
|
+
* 健名
|
|
1675
|
+
*/
|
|
1676
|
+
Key: string;
|
|
1677
|
+
/**
|
|
1678
|
+
* 对象名
|
|
1679
|
+
*/
|
|
1680
|
+
ObjectName: string;
|
|
1681
|
+
/**
|
|
1682
|
+
* 对象值
|
|
1683
|
+
*/
|
|
1684
|
+
ObjectType: string;
|
|
1685
|
+
}
|
|
1686
|
+
/**
|
|
1687
|
+
* DescribeEdgeNodePods返回参数结构体
|
|
1688
|
+
*/
|
|
1689
|
+
export interface DescribeEdgeNodePodsResponse {
|
|
1690
|
+
/**
|
|
1691
|
+
* Pod列表
|
|
1692
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1693
|
+
*/
|
|
1694
|
+
PodSet: Array<EdgeNodePodInfo>;
|
|
1695
|
+
/**
|
|
1696
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1697
|
+
*/
|
|
1698
|
+
RequestId?: string;
|
|
1699
|
+
}
|
|
1700
|
+
/**
|
|
1701
|
+
* DescribeEdgePod返回参数结构体
|
|
1702
|
+
*/
|
|
1703
|
+
export interface DescribeEdgePodResponse {
|
|
1704
|
+
/**
|
|
1705
|
+
* Pod详情信息
|
|
1706
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1707
|
+
*/
|
|
1708
|
+
Pod: EdgeNodePodInfo;
|
|
1709
|
+
/**
|
|
1710
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1711
|
+
*/
|
|
1712
|
+
RequestId?: string;
|
|
1713
|
+
}
|
|
1714
|
+
/**
|
|
1715
|
+
* CreateEdgeNodeUnitTemplate返回参数结构体
|
|
1716
|
+
*/
|
|
1717
|
+
export interface CreateEdgeNodeUnitTemplateResponse {
|
|
1718
|
+
/**
|
|
1719
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1720
|
+
*/
|
|
1721
|
+
RequestId?: string;
|
|
1722
|
+
}
|
|
1723
|
+
/**
|
|
1724
|
+
* DescribeMonitorMetrics返回参数结构体
|
|
1725
|
+
*/
|
|
1726
|
+
export interface DescribeMonitorMetricsResponse {
|
|
1727
|
+
/**
|
|
1728
|
+
* 查询监控指标结果
|
|
1729
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1730
|
+
*/
|
|
1731
|
+
Metrics: Array<MonitorMetricsColumn>;
|
|
1732
|
+
/**
|
|
1733
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1734
|
+
*/
|
|
1735
|
+
RequestId?: string;
|
|
1736
|
+
}
|
|
1737
|
+
/**
|
|
1738
|
+
* 环境变量
|
|
1739
|
+
*/
|
|
1740
|
+
export interface Env {
|
|
1741
|
+
/**
|
|
1742
|
+
* 名称
|
|
1743
|
+
*/
|
|
1744
|
+
Name: string;
|
|
1745
|
+
/**
|
|
1746
|
+
* 值
|
|
1747
|
+
*/
|
|
1748
|
+
Value: string;
|
|
1749
|
+
/**
|
|
1750
|
+
* 值引用
|
|
1751
|
+
*/
|
|
1752
|
+
ValueFrom: EnvValueSelector;
|
|
1753
|
+
}
|
|
1754
|
+
/**
|
|
1755
|
+
* DescribeConfigMaps返回参数结构体
|
|
1756
|
+
*/
|
|
1757
|
+
export interface DescribeConfigMapsResponse {
|
|
1758
|
+
/**
|
|
1759
|
+
* ConfigMap列表
|
|
1760
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1761
|
+
*/
|
|
1762
|
+
Items: Array<ConfigMapBasicInfo>;
|
|
1763
|
+
/**
|
|
1764
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1765
|
+
*/
|
|
1766
|
+
RequestId?: string;
|
|
1767
|
+
}
|
|
1768
|
+
/**
|
|
1769
|
+
* NodeGroup信息
|
|
1770
|
+
*/
|
|
1771
|
+
export interface NodeGroupInfo {
|
|
1772
|
+
/**
|
|
1773
|
+
* 描述
|
|
1774
|
+
*/
|
|
1775
|
+
Description: string;
|
|
1776
|
+
/**
|
|
1777
|
+
* 创建时间
|
|
1778
|
+
*/
|
|
1779
|
+
CreateTime: string;
|
|
1780
|
+
/**
|
|
1781
|
+
* NodeGroup名称
|
|
1782
|
+
*/
|
|
1783
|
+
NodeGroupName: string;
|
|
1784
|
+
/**
|
|
1785
|
+
* DeploymentGrid数组
|
|
1786
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1787
|
+
*/
|
|
1788
|
+
DeploymentGridList: Array<GridDetail>;
|
|
1789
|
+
/**
|
|
1790
|
+
* StatefulSetGrid数组
|
|
1791
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1792
|
+
*/
|
|
1793
|
+
StatefulSetGridList: Array<GridDetail>;
|
|
1794
|
+
/**
|
|
1795
|
+
* 是否平台保护
|
|
1796
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1797
|
+
*/
|
|
1798
|
+
Protect: boolean;
|
|
1799
|
+
}
|
|
1800
|
+
/**
|
|
1801
|
+
* 操作日志
|
|
1802
|
+
*/
|
|
1803
|
+
export interface OperationLog {
|
|
1804
|
+
/**
|
|
1805
|
+
* 操作时间
|
|
1806
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1807
|
+
*/
|
|
1808
|
+
OperateTime: string;
|
|
1809
|
+
/**
|
|
1810
|
+
* 模块名
|
|
1811
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1812
|
+
*/
|
|
1813
|
+
Module: string;
|
|
1814
|
+
/**
|
|
1815
|
+
* 操作信息
|
|
1816
|
+
*/
|
|
1817
|
+
Description: string;
|
|
1818
|
+
/**
|
|
1819
|
+
* 用户ID
|
|
1820
|
+
*/
|
|
1821
|
+
UserId: string;
|
|
1822
|
+
/**
|
|
1823
|
+
* 状态: 1:成功 2:失败
|
|
1824
|
+
*/
|
|
1825
|
+
Status: number;
|
|
1826
|
+
/**
|
|
1827
|
+
* 操作用户ID
|
|
1828
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1829
|
+
*/
|
|
1830
|
+
OperatorUserID: string;
|
|
1831
|
+
/**
|
|
1832
|
+
* 操作动作
|
|
1833
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1834
|
+
*/
|
|
1835
|
+
Action: string;
|
|
1836
|
+
}
|
|
1837
|
+
/**
|
|
1838
|
+
* GetMarketComponentList返回参数结构体
|
|
1839
|
+
*/
|
|
1840
|
+
export interface GetMarketComponentListResponse {
|
|
1841
|
+
/**
|
|
1842
|
+
* 组件列表
|
|
1843
|
+
*/
|
|
1844
|
+
ComponentList: Array<MarketComponentInfo>;
|
|
1845
|
+
/**
|
|
1846
|
+
* 组件总数
|
|
1847
|
+
*/
|
|
1848
|
+
TotalCount: number;
|
|
1849
|
+
/**
|
|
1850
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1851
|
+
*/
|
|
1852
|
+
RequestId?: string;
|
|
1853
|
+
}
|
|
1854
|
+
/**
|
|
1855
|
+
* DescribeEdgeNodePodContainers返回参数结构体
|
|
1856
|
+
*/
|
|
1857
|
+
export interface DescribeEdgeNodePodContainersResponse {
|
|
1858
|
+
/**
|
|
1859
|
+
* Pod容器列表
|
|
1860
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1861
|
+
*/
|
|
1862
|
+
ContainerSet: Array<EdgeNodePodContainerInfo>;
|
|
1863
|
+
/**
|
|
1864
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1865
|
+
*/
|
|
1866
|
+
RequestId?: string;
|
|
1867
|
+
}
|
|
1868
|
+
/**
|
|
1869
|
+
* CreateNamespace返回参数结构体
|
|
1870
|
+
*/
|
|
1871
|
+
export interface CreateNamespaceResponse {
|
|
1872
|
+
/**
|
|
1873
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1874
|
+
*/
|
|
1875
|
+
RequestId?: string;
|
|
1876
|
+
}
|
|
1877
|
+
/**
|
|
1878
|
+
* CronJob配置
|
|
1879
|
+
*/
|
|
1880
|
+
export interface CronJob {
|
|
1881
|
+
/**
|
|
1882
|
+
* 调度配置
|
|
1883
|
+
*/
|
|
1884
|
+
Schedule: string;
|
|
1885
|
+
/**
|
|
1886
|
+
* 运行时间
|
|
1887
|
+
*/
|
|
1888
|
+
StartingDeadlineSeconds: number;
|
|
1889
|
+
/**
|
|
1890
|
+
* job并行策略(Allow|Forbid|Replace)
|
|
1891
|
+
*/
|
|
1892
|
+
ConcurrencyPolicy: string;
|
|
1893
|
+
/**
|
|
1894
|
+
* Job配置
|
|
1895
|
+
*/
|
|
1896
|
+
Job: Job;
|
|
1897
|
+
}
|
|
1898
|
+
/**
|
|
1899
|
+
* DeleteEdgeUnitPod请求参数结构体
|
|
1900
|
+
*/
|
|
1901
|
+
export interface DeleteEdgeUnitPodRequest {
|
|
1902
|
+
/**
|
|
1903
|
+
* 集群ID
|
|
1904
|
+
*/
|
|
1905
|
+
ClusterID: string;
|
|
1906
|
+
/**
|
|
1907
|
+
* Pod名称
|
|
1908
|
+
*/
|
|
1909
|
+
PodName: string;
|
|
1910
|
+
/**
|
|
1911
|
+
* 命名空间
|
|
1912
|
+
*/
|
|
1913
|
+
Namespace: string;
|
|
1914
|
+
}
|
|
1915
|
+
/**
|
|
1916
|
+
* CreateSecret返回参数结构体
|
|
1917
|
+
*/
|
|
1918
|
+
export interface CreateSecretResponse {
|
|
1919
|
+
/**
|
|
1920
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1921
|
+
*/
|
|
1922
|
+
RequestId?: string;
|
|
1923
|
+
}
|
|
1924
|
+
/**
|
|
1925
|
+
* DeleteEdgeNodeUnitTemplates请求参数结构体
|
|
1926
|
+
*/
|
|
1927
|
+
export interface DeleteEdgeNodeUnitTemplatesRequest {
|
|
1928
|
+
/**
|
|
1929
|
+
* IECP边缘单元ID
|
|
1930
|
+
*/
|
|
1931
|
+
EdgeUnitId: number;
|
|
1932
|
+
/**
|
|
1933
|
+
* 删除的NodeUnit模版ID列表
|
|
1934
|
+
*/
|
|
1935
|
+
NodeUnitTemplateIDs: Array<number>;
|
|
1936
|
+
}
|
|
1937
|
+
/**
|
|
1938
|
+
* ModifyEdgeNodeLabels返回参数结构体
|
|
1939
|
+
*/
|
|
1940
|
+
export interface ModifyEdgeNodeLabelsResponse {
|
|
1941
|
+
/**
|
|
1942
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1943
|
+
*/
|
|
1944
|
+
RequestId?: string;
|
|
1945
|
+
}
|
|
1946
|
+
/**
|
|
1947
|
+
* DescribeEdgeUnitNodeGroup请求参数结构体
|
|
1948
|
+
*/
|
|
1949
|
+
export interface DescribeEdgeUnitNodeGroupRequest {
|
|
1950
|
+
/**
|
|
1951
|
+
* IECP边缘单元ID
|
|
1952
|
+
*/
|
|
1953
|
+
EdgeUnitId: number;
|
|
1954
|
+
/**
|
|
1955
|
+
* 命名空间,默认为default
|
|
1956
|
+
*/
|
|
1957
|
+
Namespace?: string;
|
|
1958
|
+
/**
|
|
1959
|
+
* 分页offset,默认为0
|
|
1960
|
+
*/
|
|
1961
|
+
Offset?: number;
|
|
1962
|
+
/**
|
|
1963
|
+
* 分页limit,默认为20
|
|
1964
|
+
*/
|
|
1965
|
+
Limit?: number;
|
|
1966
|
+
/**
|
|
1967
|
+
* 模糊匹配参数,精确匹配时失效
|
|
1968
|
+
*/
|
|
1969
|
+
NameFilter?: string;
|
|
1970
|
+
/**
|
|
1971
|
+
* 精确匹配参数
|
|
1972
|
+
*/
|
|
1973
|
+
NameMatched?: string;
|
|
1974
|
+
/**
|
|
1975
|
+
* 按时间排序,ASC/DESC,默认为DESC
|
|
1976
|
+
*/
|
|
1977
|
+
Order?: string;
|
|
1978
|
+
}
|
|
1979
|
+
/**
|
|
1980
|
+
* 单元内的统计信息
|
|
1981
|
+
*/
|
|
1982
|
+
export interface EdgeUnitStatisticItem {
|
|
1983
|
+
/**
|
|
1984
|
+
* 总数
|
|
1985
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1986
|
+
*/
|
|
1987
|
+
Total: number;
|
|
1988
|
+
/**
|
|
1989
|
+
* 在线数
|
|
1990
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1991
|
+
*/
|
|
1992
|
+
Online: number;
|
|
1993
|
+
/**
|
|
1994
|
+
* 异常数
|
|
1995
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1996
|
+
*/
|
|
1997
|
+
Abnormal: number;
|
|
1998
|
+
/**
|
|
1999
|
+
* 离线数
|
|
2000
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2001
|
+
*/
|
|
2002
|
+
Offline: number;
|
|
2003
|
+
/**
|
|
2004
|
+
* 未激活
|
|
2005
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2006
|
+
*/
|
|
2007
|
+
NotActive: number;
|
|
2008
|
+
}
|
|
2009
|
+
/**
|
|
2010
|
+
* DescribeEdgeUnitApplicationPods请求参数结构体
|
|
2011
|
+
*/
|
|
2012
|
+
export interface DescribeEdgeUnitApplicationPodsRequest {
|
|
2013
|
+
/**
|
|
2014
|
+
* 单元ID
|
|
2015
|
+
*/
|
|
2016
|
+
EdgeUnitId: number;
|
|
2017
|
+
/**
|
|
2018
|
+
* 应用ID
|
|
2019
|
+
*/
|
|
2020
|
+
ApplicationId: number;
|
|
2021
|
+
}
|
|
2022
|
+
/**
|
|
2023
|
+
* Job配置
|
|
2024
|
+
*/
|
|
2025
|
+
export interface Job {
|
|
2026
|
+
/**
|
|
2027
|
+
* 并发数
|
|
2028
|
+
*/
|
|
2029
|
+
Parallelism: number;
|
|
2030
|
+
/**
|
|
2031
|
+
* 完成数
|
|
2032
|
+
*/
|
|
2033
|
+
Completion: number;
|
|
2034
|
+
/**
|
|
2035
|
+
* 最大运行时间
|
|
2036
|
+
*/
|
|
2037
|
+
ActiveDeadlineSeconds: number;
|
|
2038
|
+
/**
|
|
2039
|
+
* 失败前重试次数
|
|
2040
|
+
*/
|
|
2041
|
+
BackOffLimit: number;
|
|
2042
|
+
}
|
|
2043
|
+
/**
|
|
2044
|
+
* DescribeEdgeUnitApplicationLogs返回参数结构体
|
|
2045
|
+
*/
|
|
2046
|
+
export interface DescribeEdgeUnitApplicationLogsResponse {
|
|
2047
|
+
/**
|
|
2048
|
+
* 日志列表
|
|
2049
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2050
|
+
*/
|
|
2051
|
+
LogSet: Array<string>;
|
|
2052
|
+
/**
|
|
2053
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2054
|
+
*/
|
|
2055
|
+
RequestId?: string;
|
|
2056
|
+
}
|
|
2057
|
+
/**
|
|
2058
|
+
* ModifyEdgeUnitDeployGridItem返回参数结构体
|
|
2059
|
+
*/
|
|
2060
|
+
export interface ModifyEdgeUnitDeployGridItemResponse {
|
|
2061
|
+
/**
|
|
2062
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2063
|
+
*/
|
|
2064
|
+
RequestId?: string;
|
|
2065
|
+
}
|
|
2066
|
+
/**
|
|
2067
|
+
* CreateEdgeNode请求参数结构体
|
|
2068
|
+
*/
|
|
2069
|
+
export interface CreateEdgeNodeRequest {
|
|
2070
|
+
/**
|
|
2071
|
+
* 边缘单元ID
|
|
2072
|
+
*/
|
|
2073
|
+
EdgeUnitId: number;
|
|
2074
|
+
/**
|
|
2075
|
+
* 节点名称
|
|
2076
|
+
*/
|
|
2077
|
+
Name: string;
|
|
2078
|
+
}
|
|
2079
|
+
/**
|
|
2080
|
+
* DescribeEdgeUnitMonitorStatus返回参数结构体
|
|
2081
|
+
*/
|
|
2082
|
+
export interface DescribeEdgeUnitMonitorStatusResponse {
|
|
2083
|
+
/**
|
|
2084
|
+
* 监控状态描述:
|
|
2085
|
+
"running" 单元监控正常运行
|
|
2086
|
+
"deploying" 单元监控部署中
|
|
2087
|
+
"norsc" 单元需要可用节点以部署监控
|
|
2088
|
+
"abnormal" 单元监控异常
|
|
2089
|
+
"none" 单元监控不可用
|
|
2090
|
+
*/
|
|
2091
|
+
MonitorStatus: string;
|
|
2092
|
+
/**
|
|
2093
|
+
* 监控是否就绪
|
|
2094
|
+
*/
|
|
2095
|
+
IsAvailable: boolean;
|
|
2096
|
+
/**
|
|
2097
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2098
|
+
*/
|
|
2099
|
+
RequestId?: string;
|
|
2100
|
+
}
|
|
2101
|
+
/**
|
|
2102
|
+
* DeleteNamespace返回参数结构体
|
|
2103
|
+
*/
|
|
2104
|
+
export interface DeleteNamespaceResponse {
|
|
2105
|
+
/**
|
|
2106
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2107
|
+
*/
|
|
2108
|
+
RequestId?: string;
|
|
2109
|
+
}
|
|
2110
|
+
/**
|
|
2111
|
+
* DescribeEdgeUnitExtra返回参数结构体
|
|
2112
|
+
*/
|
|
2113
|
+
export interface DescribeEdgeUnitExtraResponse {
|
|
2114
|
+
/**
|
|
2115
|
+
* APIServer类型
|
|
2116
|
+
*/
|
|
2117
|
+
APIServerType: string;
|
|
2118
|
+
/**
|
|
2119
|
+
* 域名URL
|
|
2120
|
+
*/
|
|
2121
|
+
APIServerURL: string;
|
|
2122
|
+
/**
|
|
2123
|
+
* 域名URL对应的端口
|
|
2124
|
+
*/
|
|
2125
|
+
APIServerURLPort: string;
|
|
2126
|
+
/**
|
|
2127
|
+
* 域名URL对应的端口
|
|
2128
|
+
*/
|
|
2129
|
+
APIServerResolveIP: string;
|
|
2130
|
+
/**
|
|
2131
|
+
* 对外可访问的IP
|
|
2132
|
+
*/
|
|
2133
|
+
APIServerExposeAddress: string;
|
|
2134
|
+
/**
|
|
2135
|
+
* 是否开启监控
|
|
2136
|
+
*/
|
|
2137
|
+
IsCreatePrometheus: boolean;
|
|
2138
|
+
/**
|
|
2139
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2140
|
+
*/
|
|
2141
|
+
RequestId?: string;
|
|
2142
|
+
}
|
|
2143
|
+
/**
|
|
2144
|
+
* DescribeConfigMaps请求参数结构体
|
|
2145
|
+
*/
|
|
2146
|
+
export interface DescribeConfigMapsRequest {
|
|
2147
|
+
/**
|
|
2148
|
+
* 单元ID
|
|
2149
|
+
*/
|
|
2150
|
+
EdgeUnitID: number;
|
|
2151
|
+
/**
|
|
2152
|
+
* 翻页偏移量
|
|
2153
|
+
*/
|
|
2154
|
+
Offset: number;
|
|
2155
|
+
/**
|
|
2156
|
+
* 每页大小(最大100)
|
|
2157
|
+
*/
|
|
2158
|
+
Limit: number;
|
|
2159
|
+
/**
|
|
2160
|
+
* 命名空间
|
|
2161
|
+
*/
|
|
2162
|
+
ConfigMapNamespace?: string;
|
|
2163
|
+
/**
|
|
2164
|
+
* 模糊匹配的名称
|
|
2165
|
+
*/
|
|
2166
|
+
NamePattern?: string;
|
|
2167
|
+
/**
|
|
2168
|
+
* Sort.Fileld填写CreateTime Sort.Order(ASC|DESC) 默认ASC
|
|
2169
|
+
*/
|
|
2170
|
+
Sort?: FieldSort;
|
|
2171
|
+
}
|
|
2172
|
+
/**
|
|
2173
|
+
* DescribeEdgeUnitNodeUnitTemplates返回参数结构体
|
|
2174
|
+
*/
|
|
2175
|
+
export interface DescribeEdgeUnitNodeUnitTemplatesResponse {
|
|
2176
|
+
/**
|
|
2177
|
+
* 符合查询条件的记录总数
|
|
2178
|
+
*/
|
|
2179
|
+
Total: number;
|
|
2180
|
+
/**
|
|
2181
|
+
* NodeUnit模版列表
|
|
2182
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2183
|
+
*/
|
|
2184
|
+
NodeUnitTemplates: Array<NodeUnitTemplate>;
|
|
2185
|
+
/**
|
|
2186
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2187
|
+
*/
|
|
2188
|
+
RequestId?: string;
|
|
2189
|
+
}
|
|
2190
|
+
/**
|
|
2191
|
+
* ServiceGroup中Grid信息
|
|
2192
|
+
*/
|
|
2193
|
+
export interface GridDetail {
|
|
2194
|
+
/**
|
|
2195
|
+
* Grid名称
|
|
2196
|
+
*/
|
|
2197
|
+
Name: string;
|
|
2198
|
+
/**
|
|
2199
|
+
* GridID
|
|
2200
|
+
*/
|
|
2201
|
+
Id: number;
|
|
2202
|
+
}
|
|
2203
|
+
/**
|
|
2204
|
+
* ModifyEdgeNodeLabels请求参数结构体
|
|
2205
|
+
*/
|
|
2206
|
+
export interface ModifyEdgeNodeLabelsRequest {
|
|
2207
|
+
/**
|
|
2208
|
+
* IECP边缘单元ID
|
|
2209
|
+
*/
|
|
2210
|
+
EdgeUnitId: number;
|
|
2211
|
+
/**
|
|
2212
|
+
* IECP边缘节点ID
|
|
2213
|
+
*/
|
|
2214
|
+
NodeId: number;
|
|
2215
|
+
/**
|
|
2216
|
+
* 标签列表
|
|
2217
|
+
*/
|
|
2218
|
+
Labels: Array<KeyValueObj>;
|
|
2219
|
+
}
|
|
2220
|
+
/**
|
|
2221
|
+
* CreateEdgeNodeGroup返回参数结构体
|
|
2222
|
+
*/
|
|
2223
|
+
export interface CreateEdgeNodeGroupResponse {
|
|
2224
|
+
/**
|
|
2225
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2226
|
+
*/
|
|
2227
|
+
RequestId?: string;
|
|
2228
|
+
}
|
|
2229
|
+
/**
|
|
2230
|
+
* 边缘节点Pod信息
|
|
2231
|
+
*/
|
|
2232
|
+
export interface EdgeNodePodInfo {
|
|
2233
|
+
/**
|
|
2234
|
+
* Pod名称
|
|
2235
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2236
|
+
*/
|
|
2237
|
+
Name: string;
|
|
2238
|
+
/**
|
|
2239
|
+
* Pod状态
|
|
2240
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2241
|
+
*/
|
|
2242
|
+
Status: string;
|
|
2243
|
+
/**
|
|
2244
|
+
* 所在节点IP
|
|
2245
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2246
|
+
*/
|
|
2247
|
+
NodeIp: string;
|
|
2248
|
+
/**
|
|
2249
|
+
* 实例IP
|
|
2250
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2251
|
+
*/
|
|
2252
|
+
Ip: string;
|
|
2253
|
+
/**
|
|
2254
|
+
* CPU Request
|
|
2255
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2256
|
+
*/
|
|
2257
|
+
CpuRequest: string;
|
|
2258
|
+
/**
|
|
2259
|
+
* Memory Request
|
|
2260
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2261
|
+
*/
|
|
2262
|
+
MemoryRequest: string;
|
|
2263
|
+
/**
|
|
2264
|
+
* 命名空间
|
|
2265
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2266
|
+
*/
|
|
2267
|
+
Namespace: string;
|
|
2268
|
+
/**
|
|
2269
|
+
* 工作负载类型
|
|
2270
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2271
|
+
*/
|
|
2272
|
+
WorkloadType: string;
|
|
2273
|
+
/**
|
|
2274
|
+
* 工作负载名称
|
|
2275
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2276
|
+
*/
|
|
2277
|
+
WorkloadName: string;
|
|
2278
|
+
/**
|
|
2279
|
+
* 创建时间
|
|
2280
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2281
|
+
*/
|
|
2282
|
+
StartTime: string;
|
|
2283
|
+
/**
|
|
2284
|
+
* 重启次数
|
|
2285
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2286
|
+
*/
|
|
2287
|
+
RestartCount: number;
|
|
2288
|
+
/**
|
|
2289
|
+
* 集群ID
|
|
2290
|
+
*/
|
|
2291
|
+
ClusterID: string;
|
|
2292
|
+
}
|
|
2293
|
+
/**
|
|
2294
|
+
* ModifyNodeUnitTemplate请求参数结构体
|
|
2295
|
+
*/
|
|
2296
|
+
export interface ModifyNodeUnitTemplateRequest {
|
|
2297
|
+
/**
|
|
2298
|
+
* IECP边缘单元ID
|
|
2299
|
+
*/
|
|
2300
|
+
EdgeUnitId: number;
|
|
2301
|
+
/**
|
|
2302
|
+
* NodeUnit模版ID
|
|
2303
|
+
*/
|
|
2304
|
+
NodeUnitTemplateID: number;
|
|
2305
|
+
/**
|
|
2306
|
+
* 包含的节点列表
|
|
2307
|
+
*/
|
|
2308
|
+
Nodes?: Array<string>;
|
|
2309
|
+
}
|
|
2310
|
+
/**
|
|
2311
|
+
* DescribeEdgeDefaultVpc返回参数结构体
|
|
2312
|
+
*/
|
|
2313
|
+
export interface DescribeEdgeDefaultVpcResponse {
|
|
2314
|
+
/**
|
|
2315
|
+
* 私有网络ID
|
|
2316
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2317
|
+
*/
|
|
2318
|
+
VpcId: string;
|
|
2319
|
+
/**
|
|
2320
|
+
* 网络CIDR
|
|
2321
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2322
|
+
*/
|
|
2323
|
+
VpcCidrBlock: string;
|
|
2324
|
+
/**
|
|
2325
|
+
* 子网ID
|
|
2326
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2327
|
+
*/
|
|
2328
|
+
SubnetId: string;
|
|
2329
|
+
/**
|
|
2330
|
+
* 子网CIDR
|
|
2331
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2332
|
+
*/
|
|
2333
|
+
SubnetCidrBlock: string;
|
|
2334
|
+
/**
|
|
2335
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2336
|
+
*/
|
|
2337
|
+
RequestId?: string;
|
|
2338
|
+
}
|
|
2339
|
+
/**
|
|
2340
|
+
* Http探测头
|
|
2341
|
+
*/
|
|
2342
|
+
export interface HttpHeader {
|
|
2343
|
+
/**
|
|
2344
|
+
* HTTP头的名称
|
|
2345
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2346
|
+
*/
|
|
2347
|
+
Name: string;
|
|
2348
|
+
/**
|
|
2349
|
+
* HTTP头的值
|
|
2350
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2351
|
+
*/
|
|
2352
|
+
Value: string;
|
|
2353
|
+
}
|
|
2354
|
+
/**
|
|
2355
|
+
* DeleteEdgeUnitApplications返回参数结构体
|
|
2356
|
+
*/
|
|
2357
|
+
export interface DeleteEdgeUnitApplicationsResponse {
|
|
2358
|
+
/**
|
|
2359
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2360
|
+
*/
|
|
2361
|
+
RequestId?: string;
|
|
2362
|
+
}
|
|
2363
|
+
/**
|
|
2364
|
+
* DescribeEdgeUnitApplicationEvents返回参数结构体
|
|
2365
|
+
*/
|
|
2366
|
+
export interface DescribeEdgeUnitApplicationEventsResponse {
|
|
2367
|
+
/**
|
|
2368
|
+
* 事件列表
|
|
2369
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2370
|
+
*/
|
|
2371
|
+
EventSet: Array<Event>;
|
|
2372
|
+
/**
|
|
2373
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2374
|
+
*/
|
|
2375
|
+
RequestId?: string;
|
|
2376
|
+
}
|
|
2377
|
+
/**
|
|
2378
|
+
* DeleteApplications返回参数结构体
|
|
2379
|
+
*/
|
|
2380
|
+
export interface DeleteApplicationsResponse {
|
|
2381
|
+
/**
|
|
2382
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2383
|
+
*/
|
|
2384
|
+
RequestId?: string;
|
|
2385
|
+
}
|
|
2386
|
+
/**
|
|
2387
|
+
* docker配置
|
|
2388
|
+
*/
|
|
2389
|
+
export interface DockerConfig {
|
|
2390
|
+
/**
|
|
2391
|
+
* 镜像仓库地址
|
|
2392
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2393
|
+
*/
|
|
2394
|
+
RegistryDomain: string;
|
|
2395
|
+
/**
|
|
2396
|
+
* 用户名
|
|
2397
|
+
*/
|
|
2398
|
+
UserName: string;
|
|
2399
|
+
/**
|
|
2400
|
+
* 密码
|
|
2401
|
+
*/
|
|
2402
|
+
Password: string;
|
|
2403
|
+
}
|
|
2404
|
+
/**
|
|
2405
|
+
* DescribeEdgeUnitDeployGridItemYaml请求参数结构体
|
|
2406
|
+
*/
|
|
2407
|
+
export interface DescribeEdgeUnitDeployGridItemYamlRequest {
|
|
2408
|
+
/**
|
|
2409
|
+
* IECP边缘单元ID
|
|
2410
|
+
*/
|
|
2411
|
+
EdgeUnitId: number;
|
|
2412
|
+
/**
|
|
2413
|
+
* 负载类型(StatefulSetGrid|DeploymentGrid)
|
|
2414
|
+
*/
|
|
2415
|
+
WorkloadKind: string;
|
|
2416
|
+
/**
|
|
2417
|
+
* Grid部署项名称
|
|
2418
|
+
*/
|
|
2419
|
+
GridItemName: string;
|
|
2420
|
+
/**
|
|
2421
|
+
* 命名空间,默认default
|
|
2422
|
+
*/
|
|
2423
|
+
Namespace?: string;
|
|
2424
|
+
}
|
|
2425
|
+
/**
|
|
2426
|
+
* DescribeNamespace请求参数结构体
|
|
2427
|
+
*/
|
|
2428
|
+
export interface DescribeNamespaceRequest {
|
|
2429
|
+
/**
|
|
2430
|
+
* 单元ID
|
|
2431
|
+
*/
|
|
2432
|
+
EdgeUnitID: number;
|
|
2433
|
+
/**
|
|
2434
|
+
* 命名空间名
|
|
2435
|
+
*/
|
|
2436
|
+
Namespace: string;
|
|
2437
|
+
}
|
|
2438
|
+
/**
|
|
2439
|
+
* DescribeNamespace返回参数结构体
|
|
2440
|
+
*/
|
|
2441
|
+
export interface DescribeNamespaceResponse {
|
|
2442
|
+
/**
|
|
2443
|
+
* 命名空间名
|
|
2444
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2445
|
+
*/
|
|
2446
|
+
Namespace: string;
|
|
2447
|
+
/**
|
|
2448
|
+
* 状态 (Active|Terminating)
|
|
2449
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2450
|
+
*/
|
|
2451
|
+
Status: string;
|
|
2452
|
+
/**
|
|
2453
|
+
* 描述信息
|
|
2454
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2455
|
+
*/
|
|
2456
|
+
Description: string;
|
|
2457
|
+
/**
|
|
2458
|
+
* 创建时间
|
|
2459
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2460
|
+
*/
|
|
2461
|
+
CreateTime: string;
|
|
2462
|
+
/**
|
|
2463
|
+
* 是否保护-不允许删除
|
|
2464
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2465
|
+
*/
|
|
2466
|
+
Protected: boolean;
|
|
2467
|
+
/**
|
|
2468
|
+
* Yaml文件格式
|
|
2469
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2470
|
+
*/
|
|
2471
|
+
Yaml: string;
|
|
2472
|
+
/**
|
|
2473
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2474
|
+
*/
|
|
2475
|
+
RequestId?: string;
|
|
2476
|
+
}
|
|
2477
|
+
/**
|
|
2478
|
+
* 组件市场的组件描述
|
|
2479
|
+
*/
|
|
2480
|
+
export interface MarketComponentInfo {
|
|
2481
|
+
/**
|
|
2482
|
+
* 组件ID
|
|
2483
|
+
*/
|
|
2484
|
+
ID: number;
|
|
2485
|
+
/**
|
|
2486
|
+
* 组件名称
|
|
2487
|
+
*/
|
|
2488
|
+
AppName: string;
|
|
2489
|
+
/**
|
|
2490
|
+
* 发布者
|
|
2491
|
+
*/
|
|
2492
|
+
Author?: string;
|
|
2493
|
+
/**
|
|
2494
|
+
* 发布时间
|
|
2495
|
+
*/
|
|
2496
|
+
ReleaseTime?: string;
|
|
2497
|
+
/**
|
|
2498
|
+
* 组件简介
|
|
2499
|
+
*/
|
|
2500
|
+
Outline?: string;
|
|
2501
|
+
/**
|
|
2502
|
+
* 指向详细描述的url
|
|
2503
|
+
*/
|
|
2504
|
+
Detail?: string;
|
|
2505
|
+
/**
|
|
2506
|
+
* 图标链接
|
|
2507
|
+
*/
|
|
2508
|
+
Icon?: string;
|
|
2509
|
+
/**
|
|
2510
|
+
* 组件版本
|
|
2511
|
+
*/
|
|
2512
|
+
Version?: string;
|
|
2513
|
+
/**
|
|
2514
|
+
* 组件可视化信息
|
|
2515
|
+
*/
|
|
2516
|
+
WorkloadVisualConfig?: string;
|
|
2517
|
+
}
|
|
2518
|
+
/**
|
|
2519
|
+
* DescribeConfigMap请求参数结构体
|
|
2520
|
+
*/
|
|
2521
|
+
export interface DescribeConfigMapRequest {
|
|
2522
|
+
/**
|
|
2523
|
+
* 单元ID
|
|
2524
|
+
*/
|
|
2525
|
+
EdgeUnitID: number;
|
|
2526
|
+
/**
|
|
2527
|
+
* ConfigMap名称
|
|
2528
|
+
*/
|
|
2529
|
+
ConfigMapName: string;
|
|
2530
|
+
/**
|
|
2531
|
+
* ConfigMap命名空间
|
|
2532
|
+
*/
|
|
2533
|
+
ConfigMapNamespace?: string;
|
|
2534
|
+
}
|
|
2535
|
+
/**
|
|
2536
|
+
* ConfigMap基本信息
|
|
2537
|
+
*/
|
|
2538
|
+
export interface ConfigMapBasicInfo {
|
|
2539
|
+
/**
|
|
2540
|
+
* 名称
|
|
2541
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2542
|
+
*/
|
|
2543
|
+
Name: string;
|
|
2544
|
+
/**
|
|
2545
|
+
* 命名空间
|
|
2546
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2547
|
+
*/
|
|
2548
|
+
Namespace: string;
|
|
2549
|
+
/**
|
|
2550
|
+
* 创建时间
|
|
2551
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2552
|
+
*/
|
|
2553
|
+
CreateTime: string;
|
|
2554
|
+
}
|
|
2555
|
+
/**
|
|
2556
|
+
* 命名空间信息
|
|
2557
|
+
*/
|
|
2558
|
+
export interface NamespaceInfo {
|
|
2559
|
+
/**
|
|
2560
|
+
* 命名空间名
|
|
2561
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2562
|
+
*/
|
|
2563
|
+
Namespace: string;
|
|
2564
|
+
/**
|
|
2565
|
+
* 状态(Active|Terminating)
|
|
2566
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2567
|
+
*/
|
|
2568
|
+
Status: string;
|
|
2569
|
+
/**
|
|
2570
|
+
* 描述信息
|
|
2571
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2572
|
+
*/
|
|
2573
|
+
Description: string;
|
|
2574
|
+
/**
|
|
2575
|
+
* 创建时间
|
|
2576
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2577
|
+
*/
|
|
2578
|
+
CreateTime: string;
|
|
2579
|
+
/**
|
|
2580
|
+
* 是否保护(不允许删除)
|
|
2581
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2582
|
+
*/
|
|
2583
|
+
Protected: boolean;
|
|
2584
|
+
/**
|
|
2585
|
+
* 对应的Yaml配置
|
|
2586
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2587
|
+
*/
|
|
2588
|
+
Yaml: string;
|
|
2589
|
+
}
|
|
2590
|
+
/**
|
|
2591
|
+
* CreateEdgeNodeUnitTemplate请求参数结构体
|
|
2592
|
+
*/
|
|
2593
|
+
export interface CreateEdgeNodeUnitTemplateRequest {
|
|
2594
|
+
/**
|
|
2595
|
+
* IECP边缘单元ID
|
|
2596
|
+
*/
|
|
2597
|
+
EdgeUnitId: number;
|
|
2598
|
+
/**
|
|
2599
|
+
* NodeUnit模版名称
|
|
2600
|
+
*/
|
|
2601
|
+
Name: string;
|
|
2602
|
+
/**
|
|
2603
|
+
* 命名空间,默认default
|
|
2604
|
+
*/
|
|
2605
|
+
Namespace?: string;
|
|
2606
|
+
/**
|
|
2607
|
+
* 包含的节点列表
|
|
2608
|
+
*/
|
|
2609
|
+
Nodes?: Array<string>;
|
|
2610
|
+
/**
|
|
2611
|
+
* 描述
|
|
2612
|
+
*/
|
|
2613
|
+
Description?: string;
|
|
2614
|
+
}
|
|
2615
|
+
/**
|
|
2616
|
+
* Grid信息
|
|
2617
|
+
*/
|
|
2618
|
+
export interface GridInfo {
|
|
2619
|
+
/**
|
|
2620
|
+
* DeployGridId
|
|
2621
|
+
*/
|
|
2622
|
+
Id: number;
|
|
2623
|
+
/**
|
|
2624
|
+
* 名称
|
|
2625
|
+
*/
|
|
2626
|
+
Name: string;
|
|
2627
|
+
/**
|
|
2628
|
+
* Key
|
|
2629
|
+
*/
|
|
2630
|
+
GridUniqKey: string;
|
|
2631
|
+
/**
|
|
2632
|
+
* 描述
|
|
2633
|
+
*/
|
|
2634
|
+
Description: string;
|
|
2635
|
+
/**
|
|
2636
|
+
* 工作负载类型
|
|
2637
|
+
*/
|
|
2638
|
+
WorkloadKind: string;
|
|
2639
|
+
/**
|
|
2640
|
+
* 启动时间
|
|
2641
|
+
*/
|
|
2642
|
+
StartTime: string;
|
|
2643
|
+
/**
|
|
2644
|
+
* 副本数
|
|
2645
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2646
|
+
*/
|
|
2647
|
+
Replicas: number;
|
|
2648
|
+
/**
|
|
2649
|
+
* 创建人
|
|
2650
|
+
*/
|
|
2651
|
+
Publisher: string;
|
|
2652
|
+
/**
|
|
2653
|
+
* 版本信息
|
|
2654
|
+
*/
|
|
2655
|
+
Version: string;
|
|
2656
|
+
}
|
|
2657
|
+
/**
|
|
2658
|
+
* CreateApplicationVisualization返回参数结构体
|
|
2659
|
+
*/
|
|
2660
|
+
export interface CreateApplicationVisualizationResponse {
|
|
2661
|
+
/**
|
|
2662
|
+
* 应用ID
|
|
2663
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2664
|
+
*/
|
|
2665
|
+
ApplicationId: number;
|
|
2666
|
+
/**
|
|
2667
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2668
|
+
*/
|
|
2669
|
+
RequestId?: string;
|
|
2670
|
+
}
|
|
2671
|
+
/**
|
|
2672
|
+
* DescribeEdgeUnitCloud请求参数结构体
|
|
2673
|
+
*/
|
|
2674
|
+
export interface DescribeEdgeUnitCloudRequest {
|
|
2675
|
+
/**
|
|
2676
|
+
* 边缘集群ID
|
|
2677
|
+
*/
|
|
2678
|
+
EdgeUnitId: number;
|
|
2679
|
+
}
|
|
2680
|
+
/**
|
|
2681
|
+
* CreateEdgeUnitApplicationYaml返回参数结构体
|
|
2682
|
+
*/
|
|
2683
|
+
export interface CreateEdgeUnitApplicationYamlResponse {
|
|
2684
|
+
/**
|
|
2685
|
+
* 应用ID
|
|
2686
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2687
|
+
*/
|
|
2688
|
+
ApplicationId: number;
|
|
2689
|
+
/**
|
|
2690
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2691
|
+
*/
|
|
2692
|
+
RequestId?: string;
|
|
2693
|
+
}
|
|
2694
|
+
/**
|
|
2695
|
+
* DescribeSecretYamlError请求参数结构体
|
|
2696
|
+
*/
|
|
2697
|
+
export interface DescribeSecretYamlErrorRequest {
|
|
2698
|
+
/**
|
|
2699
|
+
* yaml文件
|
|
2700
|
+
*/
|
|
2701
|
+
Yaml: string;
|
|
2702
|
+
}
|
|
2703
|
+
/**
|
|
2704
|
+
* 字段排序
|
|
2705
|
+
*/
|
|
2706
|
+
export interface FieldSort {
|
|
2707
|
+
/**
|
|
2708
|
+
* 字段名
|
|
2709
|
+
*/
|
|
2710
|
+
Field?: string;
|
|
2711
|
+
/**
|
|
2712
|
+
* 排序(ASC:升序 DESC:降序
|
|
2713
|
+
*/
|
|
2714
|
+
Order?: string;
|
|
2715
|
+
}
|
|
2716
|
+
/**
|
|
2717
|
+
* 获取边缘集群列表
|
|
2718
|
+
*/
|
|
2719
|
+
export interface EdgeCloudCluster {
|
|
2720
|
+
/**
|
|
2721
|
+
* IECP侧边缘集群ID
|
|
2722
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2723
|
+
*/
|
|
2724
|
+
EdgeId: number;
|
|
2725
|
+
/**
|
|
2726
|
+
* 边缘集群ID
|
|
2727
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2728
|
+
*/
|
|
2729
|
+
ClusterId: string;
|
|
2730
|
+
/**
|
|
2731
|
+
* 区域
|
|
2732
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2733
|
+
*/
|
|
2734
|
+
Region: string;
|
|
2735
|
+
/**
|
|
2736
|
+
* 集群名称
|
|
2737
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2738
|
+
*/
|
|
2739
|
+
ClusterName: string;
|
|
2740
|
+
/**
|
|
2741
|
+
* 集群版本
|
|
2742
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2743
|
+
*/
|
|
2744
|
+
K8SVersion: string;
|
|
2745
|
+
/**
|
|
2746
|
+
* 私有网络ID
|
|
2747
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2748
|
+
*/
|
|
2749
|
+
VpcId: string;
|
|
2750
|
+
/**
|
|
2751
|
+
* 描述
|
|
2752
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2753
|
+
*/
|
|
2754
|
+
ClusterDesc: string;
|
|
2755
|
+
/**
|
|
2756
|
+
* 集群状态
|
|
2757
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2758
|
+
*/
|
|
2759
|
+
Status: string;
|
|
2760
|
+
/**
|
|
2761
|
+
* 创建时间
|
|
2762
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2763
|
+
*/
|
|
2764
|
+
CreateTime: string;
|
|
2765
|
+
/**
|
|
2766
|
+
* pod cidr
|
|
2767
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2768
|
+
*/
|
|
2769
|
+
PodCIDR: string;
|
|
2770
|
+
/**
|
|
2771
|
+
* service cidr
|
|
2772
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2773
|
+
*/
|
|
2774
|
+
ServiceCIDR: string;
|
|
2775
|
+
/**
|
|
2776
|
+
* 边缘版本类型
|
|
2777
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2778
|
+
*/
|
|
2779
|
+
EdgeClusterVersion: string;
|
|
2780
|
+
/**
|
|
2781
|
+
* 用户ID
|
|
2782
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2783
|
+
*/
|
|
2784
|
+
UID: string;
|
|
2785
|
+
}
|
|
2786
|
+
/**
|
|
2787
|
+
* DeleteSecret请求参数结构体
|
|
2788
|
+
*/
|
|
2789
|
+
export interface DeleteSecretRequest {
|
|
2790
|
+
/**
|
|
2791
|
+
* 单元ID
|
|
2792
|
+
*/
|
|
2793
|
+
EdgeUnitID: number;
|
|
2794
|
+
/**
|
|
2795
|
+
* secret名称
|
|
2796
|
+
*/
|
|
2797
|
+
SecretName: string;
|
|
2798
|
+
/**
|
|
2799
|
+
* secret命名空间(默认:default)
|
|
2800
|
+
*/
|
|
2801
|
+
SecretNamespace?: string;
|
|
2802
|
+
}
|
|
2803
|
+
/**
|
|
2804
|
+
* DescribeEdgeUnitApplicationPods返回参数结构体
|
|
2805
|
+
*/
|
|
2806
|
+
export interface DescribeEdgeUnitApplicationPodsResponse {
|
|
2807
|
+
/**
|
|
2808
|
+
* Pod列表
|
|
2809
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2810
|
+
*/
|
|
2811
|
+
PodSet: Array<PodStatus>;
|
|
2812
|
+
/**
|
|
2813
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2814
|
+
*/
|
|
2815
|
+
RequestId?: string;
|
|
2816
|
+
}
|
|
2817
|
+
/**
|
|
2818
|
+
* DescribeEdgeUnitApplicationVisualization请求参数结构体
|
|
2819
|
+
*/
|
|
2820
|
+
export interface DescribeEdgeUnitApplicationVisualizationRequest {
|
|
2821
|
+
/**
|
|
2822
|
+
* 单元ID
|
|
2823
|
+
*/
|
|
2824
|
+
EdgeUnitId: number;
|
|
2825
|
+
/**
|
|
2826
|
+
* 应用ID
|
|
2827
|
+
*/
|
|
2828
|
+
ApplicationId: number;
|
|
2829
|
+
}
|
|
2830
|
+
/**
|
|
2831
|
+
* DescribeEdgeNodes返回参数结构体
|
|
2832
|
+
*/
|
|
2833
|
+
export interface DescribeEdgeNodesResponse {
|
|
2834
|
+
/**
|
|
2835
|
+
* 边缘节点数量
|
|
2836
|
+
*/
|
|
2837
|
+
TotalCount: number;
|
|
2838
|
+
/**
|
|
2839
|
+
* 节点列表
|
|
2840
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2841
|
+
*/
|
|
2842
|
+
NodeSet: Array<EdgeNodeInfo>;
|
|
2843
|
+
/**
|
|
2844
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2845
|
+
*/
|
|
2846
|
+
RequestId?: string;
|
|
2847
|
+
}
|
|
2848
|
+
/**
|
|
2849
|
+
* DescribeEdgeUnitGridPods请求参数结构体
|
|
2850
|
+
*/
|
|
2851
|
+
export interface DescribeEdgeUnitGridPodsRequest {
|
|
2852
|
+
/**
|
|
2853
|
+
* IECP边缘单元ID
|
|
2854
|
+
*/
|
|
2855
|
+
EdgeUnitId: number;
|
|
2856
|
+
/**
|
|
2857
|
+
* Grid名称
|
|
2858
|
+
*/
|
|
2859
|
+
GridName: string;
|
|
2860
|
+
/**
|
|
2861
|
+
* 负载类型(StatefulSetGrid|DeploymentGrid)
|
|
2862
|
+
*/
|
|
2863
|
+
WorkloadKind: string;
|
|
2864
|
+
/**
|
|
2865
|
+
* NodeUnit名
|
|
2866
|
+
*/
|
|
2867
|
+
NodeUnit: string;
|
|
2868
|
+
/**
|
|
2869
|
+
* 命名空间,默认default
|
|
2870
|
+
*/
|
|
2871
|
+
Namespace?: string;
|
|
2872
|
+
}
|
|
2873
|
+
/**
|
|
2874
|
+
* ConfigMap挂载卷
|
|
2875
|
+
*/
|
|
2876
|
+
export interface VolumeConfigMap {
|
|
2877
|
+
/**
|
|
2878
|
+
* 名称
|
|
2879
|
+
*/
|
|
2880
|
+
Name: string;
|
|
2881
|
+
/**
|
|
2882
|
+
* Key列表配置
|
|
2883
|
+
*/
|
|
2884
|
+
Items: Array<VolumeConfigMapKeyToPath>;
|
|
2885
|
+
}
|
|
2886
|
+
/**
|
|
2887
|
+
* CreateEdgeUnitApplicationYaml请求参数结构体
|
|
2888
|
+
*/
|
|
2889
|
+
export interface CreateEdgeUnitApplicationYamlRequest {
|
|
2890
|
+
/**
|
|
2891
|
+
* 单元ID
|
|
2892
|
+
*/
|
|
2893
|
+
EdgeUnitId: number;
|
|
2894
|
+
/**
|
|
2895
|
+
* 基本信息
|
|
2896
|
+
*/
|
|
2897
|
+
BasicInfo: ApplicationBasicInfo;
|
|
2898
|
+
/**
|
|
2899
|
+
* Yaml配置
|
|
2900
|
+
*/
|
|
2901
|
+
Yaml: string;
|
|
2902
|
+
}
|
|
2903
|
+
/**
|
|
2904
|
+
* DescribeSecret请求参数结构体
|
|
2905
|
+
*/
|
|
2906
|
+
export interface DescribeSecretRequest {
|
|
2907
|
+
/**
|
|
2908
|
+
* 边缘单元ID
|
|
2909
|
+
*/
|
|
2910
|
+
EdgeUnitID: number;
|
|
2911
|
+
/**
|
|
2912
|
+
* secret名
|
|
2913
|
+
*/
|
|
2914
|
+
SecretName: string;
|
|
2915
|
+
/**
|
|
2916
|
+
* 命名空间(默认值:default)
|
|
2917
|
+
*/
|
|
2918
|
+
SecretNamespace?: string;
|
|
2919
|
+
}
|
|
2920
|
+
/**
|
|
2921
|
+
* DescribeEdgeNodes请求参数结构体
|
|
2922
|
+
*/
|
|
2923
|
+
export interface DescribeEdgeNodesRequest {
|
|
2924
|
+
/**
|
|
2925
|
+
* IECP边缘单元ID
|
|
2926
|
+
*/
|
|
2927
|
+
EdgeUnitId: number;
|
|
2928
|
+
/**
|
|
2929
|
+
* 边缘节点名称模糊搜索串
|
|
2930
|
+
*/
|
|
2931
|
+
NamePattern?: string;
|
|
2932
|
+
/**
|
|
2933
|
+
* 边缘节点名称列表,支持批量查询 ,优先于模糊查询
|
|
2934
|
+
*/
|
|
2935
|
+
NameMatchedList?: Array<string>;
|
|
2936
|
+
/**
|
|
2937
|
+
* 排序信息列表
|
|
2938
|
+
*/
|
|
2939
|
+
Sort?: Array<Sort>;
|
|
2940
|
+
/**
|
|
2941
|
+
* 偏移量
|
|
2942
|
+
*/
|
|
2943
|
+
Offset?: number;
|
|
2944
|
+
/**
|
|
2945
|
+
* 页面大小Limit
|
|
2946
|
+
*/
|
|
2947
|
+
Limit?: number;
|
|
2948
|
+
/**
|
|
2949
|
+
* 节点类型
|
|
2950
|
+
*/
|
|
2951
|
+
NodeType?: number;
|
|
2952
|
+
}
|
|
2953
|
+
/**
|
|
2954
|
+
* DescribeEdgeUnitApplicationLogs请求参数结构体
|
|
2955
|
+
*/
|
|
2956
|
+
export interface DescribeEdgeUnitApplicationLogsRequest {
|
|
2957
|
+
/**
|
|
2958
|
+
* 单元ID
|
|
2959
|
+
*/
|
|
2960
|
+
EdgeUnitId: number;
|
|
2961
|
+
/**
|
|
2962
|
+
* 应用ID
|
|
2963
|
+
*/
|
|
2964
|
+
ApplicationId: number;
|
|
2965
|
+
/**
|
|
2966
|
+
* 最大条数
|
|
2967
|
+
*/
|
|
2968
|
+
Limit: number;
|
|
2969
|
+
/**
|
|
2970
|
+
* Pod名
|
|
2971
|
+
*/
|
|
2972
|
+
PodName: string;
|
|
2973
|
+
/**
|
|
2974
|
+
* 容器名
|
|
2975
|
+
*/
|
|
2976
|
+
ContainerName?: string;
|
|
2977
|
+
}
|
|
2978
|
+
/**
|
|
2979
|
+
* DescribeEdgeAgentNodeInstaller返回参数结构体
|
|
2980
|
+
*/
|
|
2981
|
+
export interface DescribeEdgeAgentNodeInstallerResponse {
|
|
2982
|
+
/**
|
|
2983
|
+
* 节点在线安装信息
|
|
2984
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2985
|
+
*/
|
|
2986
|
+
Online: EdgeNodeInstallerOnline;
|
|
2987
|
+
/**
|
|
2988
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2989
|
+
*/
|
|
2990
|
+
RequestId?: string;
|
|
2991
|
+
}
|
|
2992
|
+
/**
|
|
2993
|
+
* ModifyEdgeUnitApplicationVisualization请求参数结构体
|
|
2994
|
+
*/
|
|
2995
|
+
export interface ModifyEdgeUnitApplicationVisualizationRequest {
|
|
2996
|
+
/**
|
|
2997
|
+
* 单元ID
|
|
2998
|
+
*/
|
|
2999
|
+
EdgeUnitId: number;
|
|
3000
|
+
/**
|
|
3001
|
+
* 应用ID
|
|
3002
|
+
*/
|
|
3003
|
+
ApplicationId: number;
|
|
3004
|
+
/**
|
|
3005
|
+
* 应用配置
|
|
3006
|
+
*/
|
|
3007
|
+
BasicConfig: ApplicationBasicConfig;
|
|
3008
|
+
/**
|
|
3009
|
+
* 卷配置
|
|
3010
|
+
*/
|
|
3011
|
+
Volumes?: Array<Volume>;
|
|
3012
|
+
/**
|
|
3013
|
+
* 初始容器列表
|
|
3014
|
+
*/
|
|
3015
|
+
InitContainers?: Array<Container>;
|
|
3016
|
+
/**
|
|
3017
|
+
* 容器配置
|
|
3018
|
+
*/
|
|
3019
|
+
Containers?: Array<Container>;
|
|
3020
|
+
/**
|
|
3021
|
+
* 服务配置
|
|
3022
|
+
*/
|
|
3023
|
+
Service?: Service;
|
|
3024
|
+
/**
|
|
3025
|
+
* Job配置
|
|
3026
|
+
*/
|
|
3027
|
+
Job?: Job;
|
|
3028
|
+
/**
|
|
3029
|
+
* CronJob配置
|
|
3030
|
+
*/
|
|
3031
|
+
CronJob?: CronJob;
|
|
3032
|
+
/**
|
|
3033
|
+
* 重启策略
|
|
3034
|
+
*/
|
|
3035
|
+
RestartPolicy?: string;
|
|
3036
|
+
/**
|
|
3037
|
+
* 镜像拉取密钥
|
|
3038
|
+
*/
|
|
3039
|
+
ImagePullSecrets?: Array<string>;
|
|
3040
|
+
/**
|
|
3041
|
+
* HPA配置
|
|
3042
|
+
*/
|
|
3043
|
+
HorizontalPodAutoscaler?: HorizontalPodAutoscaler;
|
|
3044
|
+
}
|
|
3045
|
+
/**
|
|
3046
|
+
* ModifyConfigMap返回参数结构体
|
|
3047
|
+
*/
|
|
3048
|
+
export interface ModifyConfigMapResponse {
|
|
3049
|
+
/**
|
|
3050
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3051
|
+
*/
|
|
3052
|
+
RequestId?: string;
|
|
3053
|
+
}
|
|
3054
|
+
/**
|
|
3055
|
+
* DescribeEdgeNodePods请求参数结构体
|
|
3056
|
+
*/
|
|
3057
|
+
export interface DescribeEdgeNodePodsRequest {
|
|
3058
|
+
/**
|
|
3059
|
+
* IECP边缘单元ID
|
|
3060
|
+
*/
|
|
3061
|
+
EdgeUnitId: number;
|
|
3062
|
+
/**
|
|
3063
|
+
* 节点ID
|
|
3064
|
+
*/
|
|
3065
|
+
NodeId: number;
|
|
3066
|
+
/**
|
|
3067
|
+
* 命名空间
|
|
3068
|
+
*/
|
|
3069
|
+
Namespace?: string;
|
|
3070
|
+
/**
|
|
3071
|
+
* Pod名称过滤串
|
|
3072
|
+
*/
|
|
3073
|
+
PodNamePattern?: string;
|
|
3074
|
+
}
|
|
3075
|
+
/**
|
|
3076
|
+
* GetMarketComponentList请求参数结构体
|
|
3077
|
+
*/
|
|
3078
|
+
export interface GetMarketComponentListRequest {
|
|
3079
|
+
/**
|
|
3080
|
+
* 页偏移,从0开始
|
|
3081
|
+
*/
|
|
3082
|
+
Offset: number;
|
|
3083
|
+
/**
|
|
3084
|
+
* 每页条数
|
|
3085
|
+
*/
|
|
3086
|
+
Limit: number;
|
|
3087
|
+
/**
|
|
3088
|
+
* 名称模糊筛选
|
|
3089
|
+
*/
|
|
3090
|
+
Filter?: string;
|
|
3091
|
+
/**
|
|
3092
|
+
* 以名称排序,ASC、DESC
|
|
3093
|
+
*/
|
|
3094
|
+
Order?: string;
|
|
3095
|
+
}
|
|
3096
|
+
/**
|
|
3097
|
+
* DescribeApplicationVisualization返回参数结构体
|
|
3098
|
+
*/
|
|
3099
|
+
export interface DescribeApplicationVisualizationResponse {
|
|
3100
|
+
/**
|
|
3101
|
+
* 基本信息
|
|
3102
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3103
|
+
*/
|
|
3104
|
+
BasicInfo: ApplicationBasicInfo;
|
|
3105
|
+
/**
|
|
3106
|
+
* 基本配置
|
|
3107
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3108
|
+
*/
|
|
3109
|
+
BasicConfig: ApplicationBasicConfig;
|
|
3110
|
+
/**
|
|
3111
|
+
* 卷配置
|
|
3112
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3113
|
+
*/
|
|
3114
|
+
Volumes: Array<Volume>;
|
|
3115
|
+
/**
|
|
3116
|
+
* 初始化容器配置
|
|
3117
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3118
|
+
*/
|
|
3119
|
+
InitContainers: Array<Container>;
|
|
3120
|
+
/**
|
|
3121
|
+
* 容器配置
|
|
3122
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3123
|
+
*/
|
|
3124
|
+
Containers: Array<Container>;
|
|
3125
|
+
/**
|
|
3126
|
+
* 服务配置
|
|
3127
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3128
|
+
*/
|
|
3129
|
+
Service: Service;
|
|
3130
|
+
/**
|
|
3131
|
+
* Job配置
|
|
3132
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3133
|
+
*/
|
|
3134
|
+
Job: Job;
|
|
3135
|
+
/**
|
|
3136
|
+
* CronJob配置
|
|
3137
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3138
|
+
*/
|
|
3139
|
+
CronJob: CronJob;
|
|
3140
|
+
/**
|
|
3141
|
+
* 重启策略
|
|
3142
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3143
|
+
*/
|
|
3144
|
+
RestartPolicy: string;
|
|
3145
|
+
/**
|
|
3146
|
+
* HPA
|
|
3147
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3148
|
+
*/
|
|
3149
|
+
HorizontalPodAutoscaler: HorizontalPodAutoscaler;
|
|
3150
|
+
/**
|
|
3151
|
+
* 镜像拉取Secret
|
|
3152
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3153
|
+
*/
|
|
3154
|
+
ImagePullSecrets: Array<string>;
|
|
3155
|
+
/**
|
|
3156
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3157
|
+
*/
|
|
3158
|
+
RequestId?: string;
|
|
3159
|
+
}
|
|
3160
|
+
/**
|
|
3161
|
+
* CreateNamespace请求参数结构体
|
|
3162
|
+
*/
|
|
3163
|
+
export interface CreateNamespaceRequest {
|
|
3164
|
+
/**
|
|
3165
|
+
* 单元ID
|
|
3166
|
+
*/
|
|
3167
|
+
EdgeUnitID: number;
|
|
3168
|
+
/**
|
|
3169
|
+
* 命名空间
|
|
3170
|
+
*/
|
|
3171
|
+
Namespace: string;
|
|
3172
|
+
/**
|
|
3173
|
+
* 描述信息
|
|
3174
|
+
*/
|
|
3175
|
+
Description?: string;
|
|
3176
|
+
}
|
|
3177
|
+
/**
|
|
3178
|
+
* 数据卷主机路径,取值参考: https://kubernetes.io/docs/concepts/storage/volumes#hostpath
|
|
3179
|
+
*/
|
|
3180
|
+
export interface VolumeHostPath {
|
|
3181
|
+
/**
|
|
3182
|
+
* 类型
|
|
3183
|
+
*/
|
|
3184
|
+
Type: string;
|
|
3185
|
+
/**
|
|
3186
|
+
* 路径
|
|
3187
|
+
*/
|
|
3188
|
+
Path: string;
|
|
3189
|
+
}
|
|
3190
|
+
/**
|
|
3191
|
+
* DescribeEdgeOperationLogs请求参数结构体
|
|
3192
|
+
*/
|
|
3193
|
+
export interface DescribeEdgeOperationLogsRequest {
|
|
3194
|
+
/**
|
|
3195
|
+
* 开始时间
|
|
3196
|
+
*/
|
|
3197
|
+
BeginTime: string;
|
|
3198
|
+
/**
|
|
3199
|
+
* 结束时间
|
|
3200
|
+
*/
|
|
3201
|
+
EndTime: string;
|
|
3202
|
+
/**
|
|
3203
|
+
* 偏移量
|
|
3204
|
+
*/
|
|
3205
|
+
Offset: number;
|
|
3206
|
+
/**
|
|
3207
|
+
* 翻页大小
|
|
3208
|
+
*/
|
|
3209
|
+
Limit: number;
|
|
3210
|
+
/**
|
|
3211
|
+
* 排序字段
|
|
3212
|
+
*/
|
|
3213
|
+
Sort?: Array<FieldSort>;
|
|
3214
|
+
/**
|
|
3215
|
+
* 模块
|
|
3216
|
+
*/
|
|
3217
|
+
Module?: string;
|
|
3218
|
+
/**
|
|
3219
|
+
* 过滤条件
|
|
3220
|
+
*/
|
|
3221
|
+
Condition?: OperationLogsCondition;
|
|
3222
|
+
}
|
|
3223
|
+
/**
|
|
3224
|
+
* DescribeNamespaceResources返回参数结构体
|
|
3225
|
+
*/
|
|
3226
|
+
export interface DescribeNamespaceResourcesResponse {
|
|
3227
|
+
/**
|
|
3228
|
+
* 资源列表
|
|
3229
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3230
|
+
*/
|
|
3231
|
+
Resources: Array<NamespaceResource>;
|
|
3232
|
+
/**
|
|
3233
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3234
|
+
*/
|
|
3235
|
+
RequestId?: string;
|
|
3236
|
+
}
|
|
3237
|
+
/**
|
|
3238
|
+
* DescribeEdgeUnitGridEvents请求参数结构体
|
|
3239
|
+
*/
|
|
3240
|
+
export interface DescribeEdgeUnitGridEventsRequest {
|
|
3241
|
+
/**
|
|
3242
|
+
* IECP边缘单元ID
|
|
3243
|
+
*/
|
|
3244
|
+
EdgeUnitId: number;
|
|
3245
|
+
/**
|
|
3246
|
+
* Grid名称
|
|
3247
|
+
*/
|
|
3248
|
+
GridName: string;
|
|
3249
|
+
/**
|
|
3250
|
+
* 负载类型(StatefulSetGrid|DeploymentGrid)
|
|
3251
|
+
*/
|
|
3252
|
+
WorkloadKind: string;
|
|
3253
|
+
/**
|
|
3254
|
+
* 命名空间,默认为default
|
|
3255
|
+
*/
|
|
3256
|
+
Namespace?: string;
|
|
3257
|
+
/**
|
|
3258
|
+
* NodeUnit名称
|
|
3259
|
+
*/
|
|
3260
|
+
NodeUnit?: string;
|
|
3261
|
+
/**
|
|
3262
|
+
* Pod名称
|
|
3263
|
+
*/
|
|
3264
|
+
PodName?: string;
|
|
3265
|
+
}
|
|
3266
|
+
/**
|
|
3267
|
+
* Secret信息
|
|
3268
|
+
*/
|
|
3269
|
+
export interface SecretItem {
|
|
3270
|
+
/**
|
|
3271
|
+
* Secret名
|
|
3272
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3273
|
+
*/
|
|
3274
|
+
Name: string;
|
|
3275
|
+
/**
|
|
3276
|
+
* 命名空间
|
|
3277
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3278
|
+
*/
|
|
3279
|
+
Namespace: string;
|
|
3280
|
+
/**
|
|
3281
|
+
* 创建时间
|
|
3282
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3283
|
+
*/
|
|
3284
|
+
CreateTime: string;
|
|
3285
|
+
/**
|
|
3286
|
+
* Secret类型
|
|
3287
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3288
|
+
*/
|
|
3289
|
+
SecretType: string;
|
|
3290
|
+
}
|
|
3291
|
+
/**
|
|
3292
|
+
* DescribeNodeUnit返回参数结构体
|
|
3293
|
+
*/
|
|
3294
|
+
export interface DescribeNodeUnitResponse {
|
|
3295
|
+
/**
|
|
3296
|
+
* 符合查询条件的记录总数
|
|
3297
|
+
*/
|
|
3298
|
+
TotalCount: number;
|
|
3299
|
+
/**
|
|
3300
|
+
* NodeUnit信息数组
|
|
3301
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3302
|
+
*/
|
|
3303
|
+
NodeGridInfo: Array<NodeUnitInfo>;
|
|
3304
|
+
/**
|
|
3305
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3306
|
+
*/
|
|
3307
|
+
RequestId?: string;
|
|
3308
|
+
}
|
|
3309
|
+
/**
|
|
3310
|
+
* DeleteEdgeNodeGroup返回参数结构体
|
|
3311
|
+
*/
|
|
3312
|
+
export interface DeleteEdgeNodeGroupResponse {
|
|
3313
|
+
/**
|
|
3314
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3315
|
+
*/
|
|
3316
|
+
RequestId?: string;
|
|
3317
|
+
}
|
|
3318
|
+
/**
|
|
3319
|
+
* KeyValue对象
|
|
3320
|
+
*/
|
|
3321
|
+
export interface KeyValueObj {
|
|
3322
|
+
/**
|
|
3323
|
+
* Key值
|
|
3324
|
+
*/
|
|
3325
|
+
Key: string;
|
|
3326
|
+
/**
|
|
3327
|
+
* Value值
|
|
3328
|
+
*/
|
|
3329
|
+
Value: string;
|
|
3330
|
+
}
|
|
3331
|
+
/**
|
|
3332
|
+
* 标签信息
|
|
3333
|
+
*/
|
|
3334
|
+
export interface Label {
|
|
3335
|
+
/**
|
|
3336
|
+
* 健名
|
|
3337
|
+
*/
|
|
3338
|
+
Key: string;
|
|
3339
|
+
/**
|
|
3340
|
+
* 健值
|
|
3341
|
+
*/
|
|
3342
|
+
Value: string;
|
|
3343
|
+
}
|
|
3344
|
+
/**
|
|
3345
|
+
* ModifyEdgeUnit返回参数结构体
|
|
3346
|
+
*/
|
|
3347
|
+
export interface ModifyEdgeUnitResponse {
|
|
3348
|
+
/**
|
|
3349
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3350
|
+
*/
|
|
3351
|
+
RequestId?: string;
|
|
3352
|
+
}
|
|
3353
|
+
/**
|
|
3354
|
+
* NodeUnit中边缘节点信息
|
|
3355
|
+
*/
|
|
3356
|
+
export interface NodeUnitNodeInfo {
|
|
3357
|
+
/**
|
|
3358
|
+
* 节点ID
|
|
3359
|
+
*/
|
|
3360
|
+
Id: number;
|
|
3361
|
+
/**
|
|
3362
|
+
* 节点状态 NodeStatusHealthy (健康)/NodeStatusAbnormal (异常)/NodeStatusOffline (下线)/NodeStatusNotActivated (未激活
|
|
3363
|
+
*/
|
|
3364
|
+
Status: string;
|
|
3365
|
+
/**
|
|
3366
|
+
* 节点名称
|
|
3367
|
+
*/
|
|
3368
|
+
NodeName: string;
|
|
3369
|
+
/**
|
|
3370
|
+
* 内网节点IP
|
|
3371
|
+
*/
|
|
3372
|
+
InternalIP: string;
|
|
3373
|
+
}
|
|
3374
|
+
/**
|
|
3375
|
+
* DescribeEdgeUnitsCloud返回参数结构体
|
|
3376
|
+
*/
|
|
3377
|
+
export interface DescribeEdgeUnitsCloudResponse {
|
|
3378
|
+
/**
|
|
3379
|
+
* 总条数
|
|
3380
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3381
|
+
*/
|
|
3382
|
+
TotalCount: number;
|
|
3383
|
+
/**
|
|
3384
|
+
* 集群详情
|
|
3385
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3386
|
+
*/
|
|
3387
|
+
EdgeUnitSet: Array<EdgeCloudCluster>;
|
|
3388
|
+
/**
|
|
3389
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3390
|
+
*/
|
|
3391
|
+
RequestId?: string;
|
|
3392
|
+
}
|
|
3393
|
+
/**
|
|
3394
|
+
* CreateConfigMap请求参数结构体
|
|
3395
|
+
*/
|
|
3396
|
+
export interface CreateConfigMapRequest {
|
|
3397
|
+
/**
|
|
3398
|
+
* 单元ID
|
|
3399
|
+
*/
|
|
3400
|
+
EdgeUnitID: number;
|
|
3401
|
+
/**
|
|
3402
|
+
* ConfigMap名称
|
|
3403
|
+
*/
|
|
3404
|
+
ConfigMapName: string;
|
|
3405
|
+
/**
|
|
3406
|
+
* ConfigMap内容
|
|
3407
|
+
*/
|
|
3408
|
+
ConfigMapData: Array<KeyValueObj>;
|
|
3409
|
+
/**
|
|
3410
|
+
* ConfigMap命名空间,默认:default
|
|
3411
|
+
*/
|
|
3412
|
+
ConfigMapNamespace?: string;
|
|
3413
|
+
}
|
|
3414
|
+
/**
|
|
3415
|
+
* DescribeEdgeUnitDeployGrid返回参数结构体
|
|
3416
|
+
*/
|
|
3417
|
+
export interface DescribeEdgeUnitDeployGridResponse {
|
|
3418
|
+
/**
|
|
3419
|
+
* 记录总数
|
|
3420
|
+
*/
|
|
3421
|
+
TotalCount: number;
|
|
3422
|
+
/**
|
|
3423
|
+
* Grid列表
|
|
3424
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3425
|
+
*/
|
|
3426
|
+
GridSet: Array<GridInfo>;
|
|
3427
|
+
/**
|
|
3428
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3429
|
+
*/
|
|
3430
|
+
RequestId?: string;
|
|
3431
|
+
}
|
|
3432
|
+
/**
|
|
3433
|
+
* CreateUpdateNodeUnit返回参数结构体
|
|
3434
|
+
*/
|
|
3435
|
+
export interface CreateUpdateNodeUnitResponse {
|
|
3436
|
+
/**
|
|
3437
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3438
|
+
*/
|
|
3439
|
+
RequestId?: string;
|
|
3440
|
+
}
|
|
3441
|
+
/**
|
|
3442
|
+
* ModifyEdgeUnitApplicationVisualization返回参数结构体
|
|
3443
|
+
*/
|
|
3444
|
+
export interface ModifyEdgeUnitApplicationVisualizationResponse {
|
|
3445
|
+
/**
|
|
3446
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3447
|
+
*/
|
|
3448
|
+
RequestId?: string;
|
|
3449
|
+
}
|
|
3450
|
+
/**
|
|
3451
|
+
* DeleteEdgeNodes返回参数结构体
|
|
3452
|
+
*/
|
|
3453
|
+
export interface DeleteEdgeNodesResponse {
|
|
3454
|
+
/**
|
|
3455
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3456
|
+
*/
|
|
3457
|
+
RequestId?: string;
|
|
3458
|
+
}
|
|
3459
|
+
/**
|
|
3460
|
+
* 边缘节点Pod容器信息
|
|
3461
|
+
*/
|
|
3462
|
+
export interface EdgeNodePodContainerInfo {
|
|
3463
|
+
/**
|
|
3464
|
+
* Pod名称
|
|
3465
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3466
|
+
*/
|
|
3467
|
+
Name: string;
|
|
3468
|
+
/**
|
|
3469
|
+
* 容器ID
|
|
3470
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3471
|
+
*/
|
|
3472
|
+
Id: string;
|
|
3473
|
+
/**
|
|
3474
|
+
* 镜像(含版本号)
|
|
3475
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3476
|
+
*/
|
|
3477
|
+
Image: string;
|
|
3478
|
+
/**
|
|
3479
|
+
* CPU Request
|
|
3480
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3481
|
+
*/
|
|
3482
|
+
CpuRequest: string;
|
|
3483
|
+
/**
|
|
3484
|
+
* CPU Limit
|
|
3485
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3486
|
+
*/
|
|
3487
|
+
CpuLimit: string;
|
|
3488
|
+
/**
|
|
3489
|
+
* Memory Request
|
|
3490
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3491
|
+
*/
|
|
3492
|
+
MemoryRequest: string;
|
|
3493
|
+
/**
|
|
3494
|
+
* Memory Limit
|
|
3495
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3496
|
+
*/
|
|
3497
|
+
MemoryLimit: string;
|
|
3498
|
+
/**
|
|
3499
|
+
* 重启次数
|
|
3500
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3501
|
+
*/
|
|
3502
|
+
RestartCount: number;
|
|
3503
|
+
/**
|
|
3504
|
+
* 容器状态
|
|
3505
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3506
|
+
*/
|
|
3507
|
+
Status: string;
|
|
3508
|
+
}
|
|
3509
|
+
/**
|
|
3510
|
+
* Grid事件信息
|
|
3511
|
+
*/
|
|
3512
|
+
export interface GridEventInfo {
|
|
3513
|
+
/**
|
|
3514
|
+
* 首次出现时间
|
|
3515
|
+
*/
|
|
3516
|
+
FirstTime: string;
|
|
3517
|
+
/**
|
|
3518
|
+
* 最后出现时间
|
|
3519
|
+
*/
|
|
3520
|
+
LastTime: string;
|
|
3521
|
+
/**
|
|
3522
|
+
* 对象类型
|
|
3523
|
+
*/
|
|
3524
|
+
InvolvedObjectKind: string;
|
|
3525
|
+
/**
|
|
3526
|
+
* 对象名称
|
|
3527
|
+
*/
|
|
3528
|
+
InvolvedObjectName: string;
|
|
3529
|
+
/**
|
|
3530
|
+
* 事件类型(Normal,Warning)
|
|
3531
|
+
*/
|
|
3532
|
+
Type: string;
|
|
3533
|
+
/**
|
|
3534
|
+
* 事件原因
|
|
3535
|
+
*/
|
|
3536
|
+
Reason: string;
|
|
3537
|
+
/**
|
|
3538
|
+
* 事件内容
|
|
3539
|
+
*/
|
|
3540
|
+
Message: string;
|
|
3541
|
+
/**
|
|
3542
|
+
* 次数
|
|
3543
|
+
*/
|
|
3544
|
+
Count: number;
|
|
3545
|
+
/**
|
|
3546
|
+
* 节点名(Pod事件类型时有值)
|
|
3547
|
+
*/
|
|
3548
|
+
NodeName: string;
|
|
3549
|
+
/**
|
|
3550
|
+
* 节点内部IP(Pod事件类型时有值)
|
|
3551
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3552
|
+
*/
|
|
3553
|
+
IP: string;
|
|
3554
|
+
}
|
|
3555
|
+
/**
|
|
3556
|
+
* 资源目标指标
|
|
3557
|
+
*/
|
|
3558
|
+
export interface ResourceMetricTarget {
|
|
3559
|
+
/**
|
|
3560
|
+
* 类型(cpu|memory)
|
|
3561
|
+
*/
|
|
3562
|
+
Type: string;
|
|
3563
|
+
/**
|
|
3564
|
+
* 平均值
|
|
3565
|
+
*/
|
|
3566
|
+
AverageValue: number;
|
|
3567
|
+
/**
|
|
3568
|
+
* 单位
|
|
3569
|
+
*/
|
|
3570
|
+
Scale: string;
|
|
3571
|
+
/**
|
|
3572
|
+
* 平均值
|
|
3573
|
+
*/
|
|
3574
|
+
AverageUtilization: number;
|
|
3575
|
+
}
|
|
3576
|
+
/**
|
|
3577
|
+
* DescribeEdgeNodePodContainers请求参数结构体
|
|
3578
|
+
*/
|
|
3579
|
+
export interface DescribeEdgeNodePodContainersRequest {
|
|
3580
|
+
/**
|
|
3581
|
+
* IECP边缘单元ID
|
|
3582
|
+
*/
|
|
3583
|
+
EdgeUnitId: number;
|
|
3584
|
+
/**
|
|
3585
|
+
* 节点ID
|
|
3586
|
+
*/
|
|
3587
|
+
NodeId: number;
|
|
3588
|
+
/**
|
|
3589
|
+
* Pod名称
|
|
3590
|
+
*/
|
|
3591
|
+
PodName: string;
|
|
3592
|
+
/**
|
|
3593
|
+
* 命名空间
|
|
3594
|
+
*/
|
|
3595
|
+
Namespace?: string;
|
|
3596
|
+
}
|
|
3597
|
+
/**
|
|
3598
|
+
* ApplyMarketComponent请求参数结构体
|
|
3599
|
+
*/
|
|
3600
|
+
export interface ApplyMarketComponentRequest {
|
|
3601
|
+
/**
|
|
3602
|
+
* 组件ID
|
|
3603
|
+
*/
|
|
3604
|
+
ID: number;
|
|
3605
|
+
}
|
|
3606
|
+
/**
|
|
3607
|
+
* ModifySecret请求参数结构体
|
|
3608
|
+
*/
|
|
3609
|
+
export interface ModifySecretRequest {
|
|
3610
|
+
/**
|
|
3611
|
+
* 边缘单元ID
|
|
3612
|
+
*/
|
|
3613
|
+
EdgeUnitID: number;
|
|
3614
|
+
/**
|
|
3615
|
+
* Secret名
|
|
3616
|
+
*/
|
|
3617
|
+
SecretName: string;
|
|
3618
|
+
/**
|
|
3619
|
+
* Secret的Yaml格式
|
|
3620
|
+
*/
|
|
3621
|
+
Yaml: string;
|
|
3622
|
+
/**
|
|
3623
|
+
* Secret命名空间(默认:default)
|
|
3624
|
+
*/
|
|
3625
|
+
SecretNamespace?: string;
|
|
3626
|
+
}
|
|
3627
|
+
/**
|
|
3628
|
+
* DeleteEdgeUnitPod返回参数结构体
|
|
3629
|
+
*/
|
|
3630
|
+
export interface DeleteEdgeUnitPodResponse {
|
|
3631
|
+
/**
|
|
3632
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3633
|
+
*/
|
|
3634
|
+
RequestId?: string;
|
|
3635
|
+
}
|
|
3636
|
+
/**
|
|
3637
|
+
* 探针配置
|
|
3638
|
+
*/
|
|
3639
|
+
export interface Probe {
|
|
3640
|
+
/**
|
|
3641
|
+
* 启动后,延迟探测时间 单位:秒
|
|
3642
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3643
|
+
*/
|
|
3644
|
+
InitialDelaySeconds?: number;
|
|
3645
|
+
/**
|
|
3646
|
+
* 探测间隔,单位:秒
|
|
3647
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3648
|
+
*/
|
|
3649
|
+
PeriodSeconds?: number;
|
|
3650
|
+
/**
|
|
3651
|
+
* 探测超时时间 单位:秒
|
|
3652
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3653
|
+
*/
|
|
3654
|
+
TimeoutSeconds?: number;
|
|
3655
|
+
/**
|
|
3656
|
+
* 失败后检查成功的最小连续成功次数。默认为1.活跃度必须为1。最小值为1
|
|
3657
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3658
|
+
*/
|
|
3659
|
+
SuccessThreshold?: number;
|
|
3660
|
+
/**
|
|
3661
|
+
* 当Pod成功启动且检查失败时,放弃之前尝试次数。默认为3.最小值为1
|
|
3662
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3663
|
+
*/
|
|
3664
|
+
FailureThreshold?: number;
|
|
3665
|
+
/**
|
|
3666
|
+
* HTTP探测配置
|
|
3667
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3668
|
+
*/
|
|
3669
|
+
HttpProbe?: HttpProbe;
|
|
3670
|
+
/**
|
|
3671
|
+
* TCP探测配置
|
|
3672
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3673
|
+
*/
|
|
3674
|
+
TcpProbe?: TcpProbe;
|
|
3675
|
+
}
|
|
3676
|
+
/**
|
|
3677
|
+
* 容器配置信息
|
|
3678
|
+
*/
|
|
3679
|
+
export interface Container {
|
|
3680
|
+
/**
|
|
3681
|
+
* 名称
|
|
3682
|
+
*/
|
|
3683
|
+
Name: string;
|
|
3684
|
+
/**
|
|
3685
|
+
* 镜像名
|
|
3686
|
+
*/
|
|
3687
|
+
ImageName: string;
|
|
3688
|
+
/**
|
|
3689
|
+
* 镜像版本
|
|
3690
|
+
*/
|
|
3691
|
+
ImageVersion: string;
|
|
3692
|
+
/**
|
|
3693
|
+
* 镜像拉取策略(Always|Never|IfNotPresent)
|
|
3694
|
+
*/
|
|
3695
|
+
ImagePullPolicy: string;
|
|
3696
|
+
/**
|
|
3697
|
+
* 卷挂载配置
|
|
3698
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3699
|
+
*/
|
|
3700
|
+
VolumeMounts: Array<VolumeMount>;
|
|
3701
|
+
/**
|
|
3702
|
+
* cpu最低配置
|
|
3703
|
+
*/
|
|
3704
|
+
CpuRequest: string;
|
|
3705
|
+
/**
|
|
3706
|
+
* cpu最高限制
|
|
3707
|
+
*/
|
|
3708
|
+
CpuLimit: string;
|
|
3709
|
+
/**
|
|
3710
|
+
* 内存最低要求
|
|
3711
|
+
*/
|
|
3712
|
+
MemoryRequest: string;
|
|
3713
|
+
/**
|
|
3714
|
+
* 内存最高要求
|
|
3715
|
+
*/
|
|
3716
|
+
MemoryLimit: string;
|
|
3717
|
+
/**
|
|
3718
|
+
* 内存单位
|
|
3719
|
+
*/
|
|
3720
|
+
MemoryUnit: string;
|
|
3721
|
+
/**
|
|
3722
|
+
* gpu最高限制
|
|
3723
|
+
*/
|
|
3724
|
+
GpuLimit?: string;
|
|
3725
|
+
/**
|
|
3726
|
+
* 资源配置
|
|
3727
|
+
*/
|
|
3728
|
+
ResourceMapCloud?: Array<KeyValueObj>;
|
|
3729
|
+
/**
|
|
3730
|
+
* 环境配置
|
|
3731
|
+
*/
|
|
3732
|
+
Envs?: Array<Env>;
|
|
3733
|
+
/**
|
|
3734
|
+
* 工作目录
|
|
3735
|
+
*/
|
|
3736
|
+
WorkingDir?: string;
|
|
3737
|
+
/**
|
|
3738
|
+
* 命令
|
|
3739
|
+
*/
|
|
3740
|
+
Commands?: Array<string>;
|
|
3741
|
+
/**
|
|
3742
|
+
* 参数
|
|
3743
|
+
*/
|
|
3744
|
+
Args?: Array<string>;
|
|
3745
|
+
/**
|
|
3746
|
+
* 安全配置
|
|
3747
|
+
*/
|
|
3748
|
+
SecurityContext?: SecurityContext;
|
|
3749
|
+
/**
|
|
3750
|
+
* 就绪探针配置
|
|
3751
|
+
*/
|
|
3752
|
+
ReadinessProbe?: Probe;
|
|
3753
|
+
}
|
|
3754
|
+
/**
|
|
3755
|
+
* DescribeEdgeUnitApplicationEvents请求参数结构体
|
|
3756
|
+
*/
|
|
3757
|
+
export interface DescribeEdgeUnitApplicationEventsRequest {
|
|
3758
|
+
/**
|
|
3759
|
+
* 单元ID
|
|
3760
|
+
*/
|
|
3761
|
+
EdgeUnitId: number;
|
|
3762
|
+
/**
|
|
3763
|
+
* 应用ID
|
|
3764
|
+
*/
|
|
3765
|
+
ApplicationId: number;
|
|
3766
|
+
}
|
|
3767
|
+
/**
|
|
3768
|
+
* DescribeNamespaces请求参数结构体
|
|
3769
|
+
*/
|
|
3770
|
+
export interface DescribeNamespacesRequest {
|
|
3771
|
+
/**
|
|
3772
|
+
* IECP边缘单元ID
|
|
3773
|
+
*/
|
|
3774
|
+
EdgeUnitID: number;
|
|
3775
|
+
/**
|
|
3776
|
+
* 边缘节点名称模糊搜索串
|
|
3777
|
+
*/
|
|
3778
|
+
NamePattern?: string;
|
|
3779
|
+
}
|
|
3780
|
+
/**
|
|
3781
|
+
* pod水平伸缩配置
|
|
3782
|
+
*/
|
|
3783
|
+
export interface HorizontalPodAutoscaler {
|
|
3784
|
+
/**
|
|
3785
|
+
* 名称
|
|
3786
|
+
*/
|
|
3787
|
+
Name: string;
|
|
3788
|
+
/**
|
|
3789
|
+
* 命名空间
|
|
3790
|
+
*/
|
|
3791
|
+
Namespace: string;
|
|
3792
|
+
/**
|
|
3793
|
+
* 最小实例数
|
|
3794
|
+
*/
|
|
3795
|
+
MinReplicas: number;
|
|
3796
|
+
/**
|
|
3797
|
+
* 最大实例数
|
|
3798
|
+
*/
|
|
3799
|
+
MaxReplicas: number;
|
|
3800
|
+
/**
|
|
3801
|
+
* 资源目标指标
|
|
3802
|
+
*/
|
|
3803
|
+
ResourceMetricTarget: Array<ResourceMetricTarget>;
|
|
3804
|
+
}
|
|
3805
|
+
/**
|
|
3806
|
+
* 节点基础信息
|
|
3807
|
+
*/
|
|
3808
|
+
export interface NodeSimpleInfo {
|
|
3809
|
+
/**
|
|
3810
|
+
* 节点ID
|
|
3811
|
+
*/
|
|
3812
|
+
ID: number;
|
|
3813
|
+
/**
|
|
3814
|
+
* 节点名称
|
|
3815
|
+
*/
|
|
3816
|
+
NodeName: string;
|
|
3817
|
+
}
|
|
3818
|
+
/**
|
|
3819
|
+
* 命名空间下资源描述
|
|
3820
|
+
*/
|
|
3821
|
+
export interface NamespaceResource {
|
|
3822
|
+
/**
|
|
3823
|
+
* 类型(workload|grid|configmap|secret)
|
|
3824
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3825
|
+
*/
|
|
3826
|
+
Type: string;
|
|
3827
|
+
/**
|
|
3828
|
+
* 总数
|
|
3829
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3830
|
+
*/
|
|
3831
|
+
Count: number;
|
|
3832
|
+
/**
|
|
3833
|
+
* 名称(最多返回5个)
|
|
3834
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3835
|
+
*/
|
|
3836
|
+
Names: Array<string>;
|
|
3837
|
+
}
|
|
3838
|
+
/**
|
|
3839
|
+
* 节点在线安装信息
|
|
3840
|
+
*/
|
|
3841
|
+
export interface EdgeNodeInstallerOnline {
|
|
3842
|
+
/**
|
|
3843
|
+
* 节点安装脚本名称
|
|
3844
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3845
|
+
*/
|
|
3846
|
+
ScriptName: string;
|
|
3847
|
+
/**
|
|
3848
|
+
* 节点安装脚本下载链接
|
|
3849
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3850
|
+
*/
|
|
3851
|
+
ScriptDownloadUrl: string;
|
|
3852
|
+
/**
|
|
3853
|
+
* 节点安装命令
|
|
3854
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3855
|
+
*/
|
|
3856
|
+
Guide: string;
|
|
3857
|
+
}
|
|
3858
|
+
/**
|
|
3859
|
+
* DescribeEdgeUnitApplicationPodContainers返回参数结构体
|
|
3860
|
+
*/
|
|
3861
|
+
export interface DescribeEdgeUnitApplicationPodContainersResponse {
|
|
3862
|
+
/**
|
|
3863
|
+
* 容器列表
|
|
3864
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3865
|
+
*/
|
|
3866
|
+
ContainerSet: Array<ContainerStatus>;
|
|
3867
|
+
/**
|
|
3868
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3869
|
+
*/
|
|
3870
|
+
RequestId?: string;
|
|
3871
|
+
}
|
|
3872
|
+
/**
|
|
3873
|
+
* ModifyApplicationBasicInfo请求参数结构体
|
|
3874
|
+
*/
|
|
3875
|
+
export interface ModifyApplicationBasicInfoRequest {
|
|
3876
|
+
/**
|
|
3877
|
+
* 应用模板ID
|
|
3878
|
+
*/
|
|
3879
|
+
ApplicationId: number;
|
|
3880
|
+
/**
|
|
3881
|
+
* 应用模板基本信息
|
|
3882
|
+
*/
|
|
3883
|
+
BasicInfo: ApplicationBasicInfo;
|
|
3884
|
+
}
|
|
3885
|
+
/**
|
|
3886
|
+
* DescribeEdgeUnitNodeGroup返回参数结构体
|
|
3887
|
+
*/
|
|
3888
|
+
export interface DescribeEdgeUnitNodeGroupResponse {
|
|
3889
|
+
/**
|
|
3890
|
+
* 记录总数
|
|
3891
|
+
*/
|
|
3892
|
+
Total: number;
|
|
3893
|
+
/**
|
|
3894
|
+
* NodeGroup数组
|
|
3895
|
+
*/
|
|
3896
|
+
NodeGroupInfo: Array<NodeGroupInfo>;
|
|
3897
|
+
/**
|
|
3898
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3899
|
+
*/
|
|
3900
|
+
RequestId?: string;
|
|
3901
|
+
}
|
|
3902
|
+
/**
|
|
3903
|
+
* DescribeEdgeOperationLogs返回参数结构体
|
|
3904
|
+
*/
|
|
3905
|
+
export interface DescribeEdgeOperationLogsResponse {
|
|
3906
|
+
/**
|
|
3907
|
+
* 总数
|
|
3908
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3909
|
+
*/
|
|
3910
|
+
TotalCount: number;
|
|
3911
|
+
/**
|
|
3912
|
+
* 操作日志列表
|
|
3913
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3914
|
+
*/
|
|
3915
|
+
OperationLogSet: Array<OperationLog>;
|
|
3916
|
+
/**
|
|
3917
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3918
|
+
*/
|
|
3919
|
+
RequestId?: string;
|
|
3920
|
+
}
|
|
3921
|
+
/**
|
|
3922
|
+
* DeleteEdgeUnitDeployGridItem请求参数结构体
|
|
3923
|
+
*/
|
|
3924
|
+
export interface DeleteEdgeUnitDeployGridItemRequest {
|
|
3925
|
+
/**
|
|
3926
|
+
* IECP边缘单元ID
|
|
3927
|
+
*/
|
|
3928
|
+
EdgeUnitId: number;
|
|
3929
|
+
/**
|
|
3930
|
+
* 负载类型(StatefulSetGrid|DeploymentGrid)
|
|
3931
|
+
*/
|
|
3932
|
+
WorkloadKind: string;
|
|
3933
|
+
/**
|
|
3934
|
+
* Grid部署名称
|
|
3935
|
+
*/
|
|
3936
|
+
GridItemName: string;
|
|
3937
|
+
/**
|
|
3938
|
+
* 命名空间,默认default
|
|
3939
|
+
*/
|
|
3940
|
+
Namespace?: string;
|
|
3941
|
+
}
|
|
3942
|
+
/**
|
|
3943
|
+
* 应用部署模式
|
|
3944
|
+
*/
|
|
3945
|
+
export interface ApplicationDeployMode {
|
|
3946
|
+
/**
|
|
3947
|
+
* 1:指定节点部署 2:单元部署
|
|
3948
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3949
|
+
*/
|
|
3950
|
+
Type: number;
|
|
3951
|
+
/**
|
|
3952
|
+
* 资源ID
|
|
3953
|
+
*/
|
|
3954
|
+
ResourceID: number;
|
|
3955
|
+
/**
|
|
3956
|
+
* 资源名
|
|
3957
|
+
*/
|
|
3958
|
+
ResourceName: string;
|
|
3959
|
+
}
|
|
3960
|
+
/**
|
|
3961
|
+
* ModifySecret返回参数结构体
|
|
3962
|
+
*/
|
|
3963
|
+
export interface ModifySecretResponse {
|
|
3964
|
+
/**
|
|
3965
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3966
|
+
*/
|
|
3967
|
+
RequestId?: string;
|
|
3968
|
+
}
|
|
3969
|
+
/**
|
|
3970
|
+
* 查询结果排序条件
|
|
3971
|
+
*/
|
|
3972
|
+
export interface Sort {
|
|
3973
|
+
/**
|
|
3974
|
+
* 排序字段
|
|
3975
|
+
*/
|
|
3976
|
+
Field?: string;
|
|
3977
|
+
/**
|
|
3978
|
+
* 排序方式,升序ASC / 降序DESC
|
|
3979
|
+
*/
|
|
3980
|
+
Order?: string;
|
|
3981
|
+
}
|
|
3982
|
+
/**
|
|
3983
|
+
* DescribeEdgeUnitDeployGridItemYaml返回参数结构体
|
|
3984
|
+
*/
|
|
3985
|
+
export interface DescribeEdgeUnitDeployGridItemYamlResponse {
|
|
3986
|
+
/**
|
|
3987
|
+
* yaml,base64编码字符串
|
|
3988
|
+
*/
|
|
3989
|
+
Yaml: string;
|
|
3990
|
+
/**
|
|
3991
|
+
* 对应类型的副本数
|
|
3992
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3993
|
+
*/
|
|
3994
|
+
Replicas: Array<number>;
|
|
3995
|
+
/**
|
|
3996
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3997
|
+
*/
|
|
3998
|
+
RequestId?: string;
|
|
3999
|
+
}
|
|
4000
|
+
/**
|
|
4001
|
+
* DescribeEdgeUnitApplicationVisualization返回参数结构体
|
|
4002
|
+
*/
|
|
4003
|
+
export interface DescribeEdgeUnitApplicationVisualizationResponse {
|
|
4004
|
+
/**
|
|
4005
|
+
* 基本信息
|
|
4006
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4007
|
+
*/
|
|
4008
|
+
BasicInfo: ApplicationBasicInfo;
|
|
4009
|
+
/**
|
|
4010
|
+
* 基本配置
|
|
4011
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4012
|
+
*/
|
|
4013
|
+
BasicConfig: ApplicationBasicConfig;
|
|
4014
|
+
/**
|
|
4015
|
+
* 卷配置
|
|
4016
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4017
|
+
*/
|
|
4018
|
+
Volumes: Array<Volume>;
|
|
4019
|
+
/**
|
|
4020
|
+
* 初始化容器配置
|
|
4021
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4022
|
+
*/
|
|
4023
|
+
InitContainers: Array<Container>;
|
|
4024
|
+
/**
|
|
4025
|
+
* 容器配置
|
|
4026
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4027
|
+
*/
|
|
4028
|
+
Containers: Array<Container>;
|
|
4029
|
+
/**
|
|
4030
|
+
* 服务配置
|
|
4031
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4032
|
+
*/
|
|
4033
|
+
Service: Service;
|
|
4034
|
+
/**
|
|
4035
|
+
* Job配置
|
|
4036
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4037
|
+
*/
|
|
4038
|
+
Job: Job;
|
|
4039
|
+
/**
|
|
4040
|
+
* CronJob配置
|
|
4041
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4042
|
+
*/
|
|
4043
|
+
CronJob: CronJob;
|
|
4044
|
+
/**
|
|
4045
|
+
* 重启策略
|
|
4046
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4047
|
+
*/
|
|
4048
|
+
RestartPolicy: string;
|
|
4049
|
+
/**
|
|
4050
|
+
* HPA
|
|
4051
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4052
|
+
*/
|
|
4053
|
+
HorizontalPodAutoscaler: HorizontalPodAutoscaler;
|
|
4054
|
+
/**
|
|
4055
|
+
* 镜像拉取Secret
|
|
4056
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4057
|
+
*/
|
|
4058
|
+
ImagePullSecrets: Array<string>;
|
|
4059
|
+
/**
|
|
4060
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
4061
|
+
*/
|
|
4062
|
+
RequestId?: string;
|
|
4063
|
+
}
|
|
4064
|
+
/**
|
|
4065
|
+
* DescribeEdgePod请求参数结构体
|
|
4066
|
+
*/
|
|
4067
|
+
export interface DescribeEdgePodRequest {
|
|
4068
|
+
/**
|
|
4069
|
+
* IECP边缘单元ID
|
|
4070
|
+
*/
|
|
4071
|
+
EdgeUnitId: number;
|
|
4072
|
+
/**
|
|
4073
|
+
* 命名空间
|
|
4074
|
+
*/
|
|
4075
|
+
Namespace: string;
|
|
4076
|
+
/**
|
|
4077
|
+
* Pod名称
|
|
4078
|
+
*/
|
|
4079
|
+
Name: string;
|
|
4080
|
+
}
|
|
4081
|
+
/**
|
|
4082
|
+
* DescribeNamespaceResources请求参数结构体
|
|
4083
|
+
*/
|
|
4084
|
+
export interface DescribeNamespaceResourcesRequest {
|
|
4085
|
+
/**
|
|
4086
|
+
* 单元ID
|
|
4087
|
+
*/
|
|
4088
|
+
EdgeUnitID: number;
|
|
4089
|
+
/**
|
|
4090
|
+
* 命名空间
|
|
4091
|
+
*/
|
|
4092
|
+
Namespace: string;
|
|
4093
|
+
}
|
|
4094
|
+
/**
|
|
4095
|
+
* DescribeMonitorMetrics请求参数结构体
|
|
4096
|
+
*/
|
|
4097
|
+
export interface DescribeMonitorMetricsRequest {
|
|
4098
|
+
/**
|
|
4099
|
+
* IECP边缘单元ID
|
|
4100
|
+
*/
|
|
4101
|
+
EdgeUnitId: number;
|
|
4102
|
+
/**
|
|
4103
|
+
* 查询维度
|
|
4104
|
+
*/
|
|
4105
|
+
QueryType: string;
|
|
4106
|
+
/**
|
|
4107
|
+
* 起始时间Unix秒时间戳
|
|
4108
|
+
*/
|
|
4109
|
+
StartTime: number;
|
|
4110
|
+
/**
|
|
4111
|
+
* 终止时间Unix秒时间戳
|
|
4112
|
+
*/
|
|
4113
|
+
EndTime: number;
|
|
4114
|
+
/**
|
|
4115
|
+
* 步长(分钟)
|
|
4116
|
+
*/
|
|
4117
|
+
Interval: number;
|
|
4118
|
+
/**
|
|
4119
|
+
* 节点名称,查询节点监控时必填
|
|
4120
|
+
*/
|
|
4121
|
+
NodeName?: string;
|
|
4122
|
+
/**
|
|
4123
|
+
* 命名空间,不填则默认为default
|
|
4124
|
+
*/
|
|
4125
|
+
Namespace?: string;
|
|
4126
|
+
/**
|
|
4127
|
+
* Pod名称,查询Pod监控时必填
|
|
4128
|
+
*/
|
|
4129
|
+
PodName?: string;
|
|
4130
|
+
/**
|
|
4131
|
+
* Workload名称,查询Workload监控时必填
|
|
4132
|
+
*/
|
|
4133
|
+
WorkloadName?: string;
|
|
4134
|
+
}
|
|
4135
|
+
/**
|
|
4136
|
+
* ModifyNodeUnitTemplate返回参数结构体
|
|
4137
|
+
*/
|
|
4138
|
+
export interface ModifyNodeUnitTemplateResponse {
|
|
4139
|
+
/**
|
|
4140
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
4141
|
+
*/
|
|
4142
|
+
RequestId?: string;
|
|
4143
|
+
}
|
|
4144
|
+
/**
|
|
4145
|
+
* 卷
|
|
4146
|
+
*/
|
|
4147
|
+
export interface Volume {
|
|
4148
|
+
/**
|
|
4149
|
+
* 来源(emptyDir|hostPath|configMap|secret|nfs)
|
|
4150
|
+
*/
|
|
4151
|
+
Source: string;
|
|
4152
|
+
/**
|
|
4153
|
+
* 名称
|
|
4154
|
+
*/
|
|
4155
|
+
Name: string;
|
|
4156
|
+
/**
|
|
4157
|
+
* Host挂载配置
|
|
4158
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4159
|
+
*/
|
|
4160
|
+
HostPath?: VolumeHostPath;
|
|
4161
|
+
/**
|
|
4162
|
+
* ConfigMap挂载配置
|
|
4163
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4164
|
+
*/
|
|
4165
|
+
ConfigMap?: VolumeConfigMap;
|
|
4166
|
+
/**
|
|
4167
|
+
* Secret挂载配置
|
|
4168
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4169
|
+
*/
|
|
4170
|
+
Secret?: VolumeConfigMap;
|
|
4171
|
+
/**
|
|
4172
|
+
* NFS挂载配置
|
|
4173
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4174
|
+
*/
|
|
4175
|
+
NFS?: VolumeNFS;
|
|
4176
|
+
}
|
|
4177
|
+
/**
|
|
4178
|
+
* DescribeApplications请求参数结构体
|
|
4179
|
+
*/
|
|
4180
|
+
export interface DescribeApplicationsRequest {
|
|
4181
|
+
/**
|
|
4182
|
+
* 模糊搜索字符串
|
|
4183
|
+
*/
|
|
4184
|
+
NamePattern?: string;
|
|
4185
|
+
/**
|
|
4186
|
+
* 默认 0
|
|
4187
|
+
*/
|
|
4188
|
+
Offset?: number;
|
|
4189
|
+
/**
|
|
4190
|
+
* 默认 20
|
|
4191
|
+
*/
|
|
4192
|
+
Limit?: number;
|
|
4193
|
+
/**
|
|
4194
|
+
* 仅支持对 DistributeTime 字段排序,ASC/DESC
|
|
4195
|
+
*/
|
|
4196
|
+
Sort?: Array<FieldSort>;
|
|
4197
|
+
}
|
|
4198
|
+
/**
|
|
4199
|
+
* Grid部署应用信息
|
|
4200
|
+
*/
|
|
4201
|
+
export interface GridItemInfo {
|
|
4202
|
+
/**
|
|
4203
|
+
* 名称
|
|
4204
|
+
*/
|
|
4205
|
+
Name: string;
|
|
4206
|
+
/**
|
|
4207
|
+
* 期望副本数
|
|
4208
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4209
|
+
*/
|
|
4210
|
+
Replicas: number;
|
|
4211
|
+
/**
|
|
4212
|
+
* 可用副本数
|
|
4213
|
+
*/
|
|
4214
|
+
AvailableReplicas: number;
|
|
4215
|
+
/**
|
|
4216
|
+
* 启动时间
|
|
4217
|
+
*/
|
|
4218
|
+
StartTime: string;
|
|
4219
|
+
/**
|
|
4220
|
+
* 工作负载类型
|
|
4221
|
+
*/
|
|
4222
|
+
WorkloadKind: string;
|
|
4223
|
+
}
|
|
4224
|
+
/**
|
|
4225
|
+
* 边缘节点标签
|
|
4226
|
+
*/
|
|
4227
|
+
export interface EdgeNodeLabel {
|
|
4228
|
+
/**
|
|
4229
|
+
* 标签名称
|
|
4230
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4231
|
+
*/
|
|
4232
|
+
Key: string;
|
|
4233
|
+
/**
|
|
4234
|
+
* 标签值
|
|
4235
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4236
|
+
*/
|
|
4237
|
+
Value: string;
|
|
4238
|
+
/**
|
|
4239
|
+
* 是否受保护
|
|
4240
|
+
*/
|
|
4241
|
+
Protected: boolean;
|
|
4242
|
+
}
|
|
4243
|
+
/**
|
|
4244
|
+
* DeleteNamespace请求参数结构体
|
|
4245
|
+
*/
|
|
4246
|
+
export interface DeleteNamespaceRequest {
|
|
4247
|
+
/**
|
|
4248
|
+
* 单元ID
|
|
4249
|
+
*/
|
|
4250
|
+
EdgeUnitID: number;
|
|
4251
|
+
/**
|
|
4252
|
+
* 命名空间
|
|
4253
|
+
*/
|
|
4254
|
+
Namespace: string;
|
|
4255
|
+
}
|
|
4256
|
+
/**
|
|
4257
|
+
* 边缘节点信息
|
|
4258
|
+
*/
|
|
4259
|
+
export interface EdgeNodeInfo {
|
|
4260
|
+
/**
|
|
4261
|
+
* IECP边缘节点ID
|
|
4262
|
+
*/
|
|
4263
|
+
Id: number;
|
|
4264
|
+
/**
|
|
4265
|
+
* 节点名称
|
|
4266
|
+
*/
|
|
4267
|
+
Name: string;
|
|
4268
|
+
/**
|
|
4269
|
+
* 节点状态 (1健康|2异常|3离线|4未激活)
|
|
4270
|
+
*/
|
|
4271
|
+
Status: number;
|
|
4272
|
+
/**
|
|
4273
|
+
* 创建时间
|
|
4274
|
+
*/
|
|
4275
|
+
CreateTime: string;
|
|
4276
|
+
/**
|
|
4277
|
+
* 节点资源信息
|
|
4278
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4279
|
+
*/
|
|
4280
|
+
Resource: EdgeNodeResourceInfo;
|
|
4281
|
+
/**
|
|
4282
|
+
* CPU体系结构
|
|
4283
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4284
|
+
*/
|
|
4285
|
+
CpuArchitecture: string;
|
|
4286
|
+
/**
|
|
4287
|
+
* IP地址
|
|
4288
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4289
|
+
*/
|
|
4290
|
+
Ip: string;
|
|
4291
|
+
/**
|
|
4292
|
+
* 操作系统
|
|
4293
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4294
|
+
*/
|
|
4295
|
+
OperatingSystem: string;
|
|
4296
|
+
/**
|
|
4297
|
+
* 节点所属的NodeUnit
|
|
4298
|
+
key:NodeUnit模版ID,Value:NodeUnit模版名称
|
|
4299
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4300
|
+
*/
|
|
4301
|
+
NodeUnits: KeyValueObj;
|
|
4302
|
+
}
|
|
4303
|
+
/**
|
|
4304
|
+
* GetMarketComponent请求参数结构体
|
|
4305
|
+
*/
|
|
4306
|
+
export interface GetMarketComponentRequest {
|
|
4307
|
+
/**
|
|
4308
|
+
* 组件ID
|
|
4309
|
+
*/
|
|
4310
|
+
ID: number;
|
|
4311
|
+
}
|
|
4312
|
+
/**
|
|
4313
|
+
* HTTP探测配置
|
|
4314
|
+
*/
|
|
4315
|
+
export interface HttpProbe {
|
|
4316
|
+
/**
|
|
4317
|
+
* 请求路径
|
|
4318
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4319
|
+
*/
|
|
4320
|
+
Path: string;
|
|
4321
|
+
/**
|
|
4322
|
+
* 请求端口
|
|
4323
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4324
|
+
*/
|
|
4325
|
+
Port: number;
|
|
4326
|
+
/**
|
|
4327
|
+
* 请求地址,默认Pod的IP
|
|
4328
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4329
|
+
*/
|
|
4330
|
+
Host?: string;
|
|
4331
|
+
/**
|
|
4332
|
+
* 请求模式 HTTP|HTTPS,默认HTTP
|
|
4333
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4334
|
+
*/
|
|
4335
|
+
Scheme?: string;
|
|
4336
|
+
/**
|
|
4337
|
+
* HTTP的请求头
|
|
4338
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4339
|
+
*/
|
|
4340
|
+
Headers?: Array<HttpHeader>;
|
|
4341
|
+
}
|
|
4342
|
+
/**
|
|
4343
|
+
* DescribeEdgeUnitDeployGrid请求参数结构体
|
|
4344
|
+
*/
|
|
4345
|
+
export interface DescribeEdgeUnitDeployGridRequest {
|
|
4346
|
+
/**
|
|
4347
|
+
* IECP边缘单元ID
|
|
4348
|
+
*/
|
|
4349
|
+
EdgeUnitId: number;
|
|
4350
|
+
/**
|
|
4351
|
+
* 命名空间,默认为default
|
|
4352
|
+
*/
|
|
4353
|
+
Namespace?: string;
|
|
4354
|
+
/**
|
|
4355
|
+
* 模糊匹配
|
|
4356
|
+
*/
|
|
4357
|
+
NamePattern?: string;
|
|
4358
|
+
/**
|
|
4359
|
+
* 分页offset,默认为0
|
|
4360
|
+
*/
|
|
4361
|
+
Offset?: number;
|
|
4362
|
+
/**
|
|
4363
|
+
* 分页limit,默认为20
|
|
4364
|
+
*/
|
|
4365
|
+
Limit?: number;
|
|
4366
|
+
/**
|
|
4367
|
+
* 排序,默认为ASC
|
|
4368
|
+
*/
|
|
4369
|
+
Order?: string;
|
|
4370
|
+
}
|
|
4371
|
+
/**
|
|
4372
|
+
* ApplyMarketComponent返回参数结构体
|
|
4373
|
+
*/
|
|
4374
|
+
export interface ApplyMarketComponentResponse {
|
|
4375
|
+
/**
|
|
4376
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
4377
|
+
*/
|
|
4378
|
+
RequestId?: string;
|
|
4379
|
+
}
|
|
4380
|
+
/**
|
|
4381
|
+
* DescribeApplicationYamlError返回参数结构体
|
|
4382
|
+
*/
|
|
4383
|
+
export interface DescribeApplicationYamlErrorResponse {
|
|
4384
|
+
/**
|
|
4385
|
+
* 是否通过
|
|
4386
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4387
|
+
*/
|
|
4388
|
+
CheckPass: boolean;
|
|
4389
|
+
/**
|
|
4390
|
+
* 错误类型
|
|
4391
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4392
|
+
*/
|
|
4393
|
+
ErrType: number;
|
|
4394
|
+
/**
|
|
4395
|
+
* 错误信息
|
|
4396
|
+
*/
|
|
4397
|
+
ErrInfo: string;
|
|
4398
|
+
/**
|
|
4399
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
4400
|
+
*/
|
|
4401
|
+
RequestId?: string;
|
|
4402
|
+
}
|
|
4403
|
+
/**
|
|
4404
|
+
* CreateEdgeNode返回参数结构体
|
|
4405
|
+
*/
|
|
4406
|
+
export interface CreateEdgeNodeResponse {
|
|
4407
|
+
/**
|
|
4408
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
4409
|
+
*/
|
|
4410
|
+
RequestId?: string;
|
|
4411
|
+
}
|
|
4412
|
+
/**
|
|
4413
|
+
* DeleteEdgeNodes请求参数结构体
|
|
4414
|
+
*/
|
|
4415
|
+
export interface DeleteEdgeNodesRequest {
|
|
4416
|
+
/**
|
|
4417
|
+
* IECP边缘单元ID
|
|
4418
|
+
*/
|
|
4419
|
+
EdgeUnitId: number;
|
|
4420
|
+
/**
|
|
4421
|
+
* IECP边缘节点ID列表
|
|
4422
|
+
*/
|
|
4423
|
+
NodeIds: Array<number>;
|
|
4424
|
+
}
|
|
4425
|
+
/**
|
|
4426
|
+
* DescribeApplicationYamlError请求参数结构体
|
|
4427
|
+
*/
|
|
4428
|
+
export interface DescribeApplicationYamlErrorRequest {
|
|
4429
|
+
/**
|
|
4430
|
+
* Yaml配置
|
|
4431
|
+
*/
|
|
4432
|
+
Yaml: string;
|
|
4433
|
+
}
|
|
4434
|
+
/**
|
|
4435
|
+
* 端口配置
|
|
4436
|
+
*/
|
|
4437
|
+
export interface PortConfig {
|
|
4438
|
+
/**
|
|
4439
|
+
* 协议类型(tcp|udp)
|
|
4440
|
+
*/
|
|
4441
|
+
Protocol: string;
|
|
4442
|
+
/**
|
|
4443
|
+
* 源端口
|
|
4444
|
+
*/
|
|
4445
|
+
Port: number;
|
|
4446
|
+
/**
|
|
4447
|
+
* 目标端口
|
|
4448
|
+
*/
|
|
4449
|
+
TargetPort: number;
|
|
4450
|
+
/**
|
|
4451
|
+
* 节点端口
|
|
4452
|
+
*/
|
|
4453
|
+
NodePort: number;
|
|
4454
|
+
}
|
|
4455
|
+
/**
|
|
4456
|
+
* DescribeSecrets请求参数结构体
|
|
4457
|
+
*/
|
|
4458
|
+
export interface DescribeSecretsRequest {
|
|
4459
|
+
/**
|
|
4460
|
+
* 边缘单元ID
|
|
4461
|
+
*/
|
|
4462
|
+
EdgeUnitID: number;
|
|
4463
|
+
/**
|
|
4464
|
+
* 页号
|
|
4465
|
+
*/
|
|
4466
|
+
Offset: number;
|
|
4467
|
+
/**
|
|
4468
|
+
* 每页数目
|
|
4469
|
+
*/
|
|
4470
|
+
Limit: number;
|
|
4471
|
+
/**
|
|
4472
|
+
* 命名空间
|
|
4473
|
+
*/
|
|
4474
|
+
SecretNamespace?: string;
|
|
4475
|
+
/**
|
|
4476
|
+
* Secret名(模糊匹配)
|
|
4477
|
+
*/
|
|
4478
|
+
NamePattern?: string;
|
|
4479
|
+
/**
|
|
4480
|
+
* Sort.Field:CreateTime Sort.Order:ASC|DESC
|
|
4481
|
+
*/
|
|
4482
|
+
Sort?: FieldSort;
|
|
4483
|
+
/**
|
|
4484
|
+
* Secret类型(DockerConfigJson或Opaque)
|
|
4485
|
+
*/
|
|
4486
|
+
SecretType?: string;
|
|
4487
|
+
}
|
|
4488
|
+
/**
|
|
4489
|
+
* DescribeNodeUnitTemplateOnNodeGroup请求参数结构体
|
|
4490
|
+
*/
|
|
4491
|
+
export interface DescribeNodeUnitTemplateOnNodeGroupRequest {
|
|
4492
|
+
/**
|
|
4493
|
+
* IECP边缘单元ID
|
|
4494
|
+
*/
|
|
4495
|
+
EdgeUnitId: number;
|
|
4496
|
+
/**
|
|
4497
|
+
* NodeGroup名称
|
|
4498
|
+
*/
|
|
4499
|
+
NodeGroupName: string;
|
|
4500
|
+
/**
|
|
4501
|
+
* 命名空间,默认default
|
|
4502
|
+
*/
|
|
4503
|
+
Namespace?: string;
|
|
4504
|
+
/**
|
|
4505
|
+
* 名称模糊匹配
|
|
4506
|
+
*/
|
|
4507
|
+
NodeUnitNamePattern?: string;
|
|
4508
|
+
/**
|
|
4509
|
+
* 分页查询offset,默认0
|
|
4510
|
+
*/
|
|
4511
|
+
Offset?: number;
|
|
4512
|
+
/**
|
|
4513
|
+
* 分页查询limit,默认20
|
|
4514
|
+
*/
|
|
4515
|
+
Limit?: number;
|
|
4516
|
+
/**
|
|
4517
|
+
* 排序,默认DESC
|
|
4518
|
+
*/
|
|
4519
|
+
Order?: string;
|
|
4520
|
+
}
|
|
4521
|
+
/**
|
|
4522
|
+
* 监控数据列
|
|
4523
|
+
*/
|
|
4524
|
+
export interface MonitorMetricsColumn {
|
|
4525
|
+
/**
|
|
4526
|
+
* 数据名称
|
|
4527
|
+
*/
|
|
4528
|
+
ColumnName: string;
|
|
4529
|
+
/**
|
|
4530
|
+
* 数据内容
|
|
4531
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4532
|
+
*/
|
|
4533
|
+
ColumnData: Array<string>;
|
|
4534
|
+
/**
|
|
4535
|
+
* 数据所属,查询Workload类型时有值
|
|
4536
|
+
*/
|
|
4537
|
+
ColumnBelong: string;
|
|
4538
|
+
/**
|
|
4539
|
+
* 最大值
|
|
4540
|
+
*/
|
|
4541
|
+
MaxValue: number;
|
|
4542
|
+
/**
|
|
4543
|
+
* 最小值
|
|
4544
|
+
*/
|
|
4545
|
+
MinValue: number;
|
|
4546
|
+
/**
|
|
4547
|
+
* 平均值
|
|
4548
|
+
*/
|
|
4549
|
+
AvgValue: number;
|
|
4550
|
+
/**
|
|
4551
|
+
* 时间戳数组
|
|
4552
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4553
|
+
*/
|
|
4554
|
+
ColumnTime: number;
|
|
4555
|
+
}
|
|
4556
|
+
/**
|
|
4557
|
+
* DescribeEdgeNode请求参数结构体
|
|
4558
|
+
*/
|
|
4559
|
+
export interface DescribeEdgeNodeRequest {
|
|
4560
|
+
/**
|
|
4561
|
+
* IECP边缘单元ID
|
|
4562
|
+
*/
|
|
4563
|
+
EdgeUnitId: number;
|
|
4564
|
+
/**
|
|
4565
|
+
* IECP边缘节点ID
|
|
4566
|
+
*/
|
|
4567
|
+
NodeId: number;
|
|
4568
|
+
}
|
|
4569
|
+
/**
|
|
4570
|
+
* DescribeNodeUnit请求参数结构体
|
|
4571
|
+
*/
|
|
4572
|
+
export interface DescribeNodeUnitRequest {
|
|
4573
|
+
/**
|
|
4574
|
+
* 边缘单元ID
|
|
4575
|
+
*/
|
|
4576
|
+
EdgeUnitId: number;
|
|
4577
|
+
/**
|
|
4578
|
+
* NodeUnit所属的NodeGroup名称
|
|
4579
|
+
*/
|
|
4580
|
+
NodeGroupName: string;
|
|
4581
|
+
/**
|
|
4582
|
+
* 命名空间,默认default
|
|
4583
|
+
*/
|
|
4584
|
+
Namespace?: string;
|
|
4585
|
+
/**
|
|
4586
|
+
* 分页查询limit,默认20
|
|
4587
|
+
*/
|
|
4588
|
+
Limit?: number;
|
|
4589
|
+
/**
|
|
4590
|
+
* 分页查询offset,默认0
|
|
4591
|
+
*/
|
|
4592
|
+
Offset?: number;
|
|
4593
|
+
/**
|
|
4594
|
+
* 模糊匹配
|
|
4595
|
+
*/
|
|
4596
|
+
NameFilter?: string;
|
|
4597
|
+
}
|
|
4598
|
+
/**
|
|
4599
|
+
* DeleteNodeUnit请求参数结构体
|
|
4600
|
+
*/
|
|
4601
|
+
export interface DeleteNodeUnitRequest {
|
|
4602
|
+
/**
|
|
4603
|
+
* IECP边缘单元ID
|
|
4604
|
+
*/
|
|
4605
|
+
EdgeUnitId: number;
|
|
4606
|
+
/**
|
|
4607
|
+
* NodeUnit所属的NodeGroup名称
|
|
4608
|
+
*/
|
|
4609
|
+
NodeGroupName: string;
|
|
4610
|
+
/**
|
|
4611
|
+
* NodeUnit名称
|
|
4612
|
+
*/
|
|
4613
|
+
NodeUnitName: string;
|
|
4614
|
+
/**
|
|
4615
|
+
* 命名空间,默认为default
|
|
4616
|
+
*/
|
|
4617
|
+
Namespace?: string;
|
|
4618
|
+
/**
|
|
4619
|
+
* NodeUnit包含的节点列表
|
|
4620
|
+
*/
|
|
4621
|
+
Nodes?: Array<string>;
|
|
4622
|
+
}
|
|
4623
|
+
/**
|
|
4624
|
+
* ModifyEdgeUnitApplicationYaml返回参数结构体
|
|
4625
|
+
*/
|
|
4626
|
+
export interface ModifyEdgeUnitApplicationYamlResponse {
|
|
4627
|
+
/**
|
|
4628
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
4629
|
+
*/
|
|
4630
|
+
RequestId?: string;
|
|
4631
|
+
}
|
|
4632
|
+
/**
|
|
4633
|
+
* 边缘节点资源信息
|
|
4634
|
+
*/
|
|
4635
|
+
export interface EdgeNodeResourceInfo {
|
|
4636
|
+
/**
|
|
4637
|
+
* 可使用的CPU 单位: m核
|
|
4638
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4639
|
+
*/
|
|
4640
|
+
AllocatedCPU: string;
|
|
4641
|
+
/**
|
|
4642
|
+
* CPU总量 单位:m核
|
|
4643
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4644
|
+
*/
|
|
4645
|
+
TotalCPU: string;
|
|
4646
|
+
/**
|
|
4647
|
+
* 已分配的内存 单位G
|
|
4648
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4649
|
+
*/
|
|
4650
|
+
AllocatedMemory: string;
|
|
4651
|
+
/**
|
|
4652
|
+
* 内存总量 单位G
|
|
4653
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4654
|
+
*/
|
|
4655
|
+
TotalMemory: string;
|
|
4656
|
+
/**
|
|
4657
|
+
* 已分配的GPU资源
|
|
4658
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4659
|
+
*/
|
|
4660
|
+
AllocatedGPU: string;
|
|
4661
|
+
/**
|
|
4662
|
+
* GPU总量
|
|
4663
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4664
|
+
*/
|
|
4665
|
+
TotalGPU: string;
|
|
4666
|
+
/**
|
|
4667
|
+
* 可使用的CPU 单位: m核
|
|
4668
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4669
|
+
*/
|
|
4670
|
+
AvailableCPU: string;
|
|
4671
|
+
/**
|
|
4672
|
+
* 可使用的内存 单位: G
|
|
4673
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4674
|
+
*/
|
|
4675
|
+
AvailableMemory: string;
|
|
4676
|
+
/**
|
|
4677
|
+
* 可使用的GPU资源
|
|
4678
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4679
|
+
*/
|
|
4680
|
+
AvailableGPU: string;
|
|
4681
|
+
}
|
|
4682
|
+
/**
|
|
4683
|
+
* 安全能力
|
|
4684
|
+
*/
|
|
4685
|
+
export interface SecurityCapabilities {
|
|
4686
|
+
/**
|
|
4687
|
+
* 允许操作列表
|
|
4688
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4689
|
+
*/
|
|
4690
|
+
Add?: Array<string>;
|
|
4691
|
+
/**
|
|
4692
|
+
* 禁止操作列表
|
|
4693
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4694
|
+
*/
|
|
4695
|
+
Drop?: Array<string>;
|
|
4696
|
+
}
|
|
4697
|
+
/**
|
|
4698
|
+
* DeleteEdgeNodeUnitTemplates返回参数结构体
|
|
4699
|
+
*/
|
|
4700
|
+
export interface DeleteEdgeNodeUnitTemplatesResponse {
|
|
4701
|
+
/**
|
|
4702
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
4703
|
+
*/
|
|
4704
|
+
RequestId?: string;
|
|
4705
|
+
}
|
|
4706
|
+
/**
|
|
4707
|
+
* DescribeEdgeNode返回参数结构体
|
|
4708
|
+
*/
|
|
4709
|
+
export interface DescribeEdgeNodeResponse {
|
|
4710
|
+
/**
|
|
4711
|
+
* 节点ID
|
|
4712
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4713
|
+
*/
|
|
4714
|
+
Id: number;
|
|
4715
|
+
/**
|
|
4716
|
+
* 节点类型
|
|
4717
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4718
|
+
*/
|
|
4719
|
+
Kind: string;
|
|
4720
|
+
/**
|
|
4721
|
+
* 节点名称
|
|
4722
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4723
|
+
*/
|
|
4724
|
+
Name: string;
|
|
4725
|
+
/**
|
|
4726
|
+
* 节点状态 (1健康|2异常|3离线|4未激活)
|
|
4727
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4728
|
+
*/
|
|
4729
|
+
Status: number;
|
|
4730
|
+
/**
|
|
4731
|
+
* CPU体系结构
|
|
4732
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4733
|
+
*/
|
|
4734
|
+
CpuArchitecture: string;
|
|
4735
|
+
/**
|
|
4736
|
+
* AI处理器体系结构
|
|
4737
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4738
|
+
*/
|
|
4739
|
+
AiChipArchitecture: string;
|
|
4740
|
+
/**
|
|
4741
|
+
* IP地址
|
|
4742
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4743
|
+
*/
|
|
4744
|
+
Ip: string;
|
|
4745
|
+
/**
|
|
4746
|
+
* 节点标签列表
|
|
4747
|
+
*/
|
|
4748
|
+
Labels: Array<EdgeNodeLabel>;
|
|
4749
|
+
/**
|
|
4750
|
+
* 节点资源信息
|
|
4751
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4752
|
+
*/
|
|
4753
|
+
Resource: EdgeNodeResourceInfo;
|
|
4754
|
+
/**
|
|
4755
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
4756
|
+
*/
|
|
4757
|
+
RequestId?: string;
|
|
4758
|
+
}
|
|
4759
|
+
/**
|
|
4760
|
+
* ModifyEdgeUnitApplicationYaml请求参数结构体
|
|
4761
|
+
*/
|
|
4762
|
+
export interface ModifyEdgeUnitApplicationYamlRequest {
|
|
4763
|
+
/**
|
|
4764
|
+
* 单元ID
|
|
4765
|
+
*/
|
|
4766
|
+
EdgeUnitId: number;
|
|
4767
|
+
/**
|
|
4768
|
+
* 应用ID
|
|
4769
|
+
*/
|
|
4770
|
+
ApplicationId: number;
|
|
4771
|
+
/**
|
|
4772
|
+
* Yaml配置
|
|
4773
|
+
*/
|
|
4774
|
+
Yaml: string;
|
|
4775
|
+
}
|
|
4776
|
+
/**
|
|
4777
|
+
* DeleteEdgeUnitCloud请求参数结构体
|
|
4778
|
+
*/
|
|
4779
|
+
export interface DeleteEdgeUnitCloudRequest {
|
|
4780
|
+
/**
|
|
4781
|
+
* 边缘集群ID
|
|
4782
|
+
*/
|
|
4783
|
+
EdgeUnitId: number;
|
|
4784
|
+
}
|
|
4785
|
+
/**
|
|
4786
|
+
* CreateEdgeUnitCloud请求参数结构体
|
|
4787
|
+
*/
|
|
4788
|
+
export interface CreateEdgeUnitCloudRequest {
|
|
4789
|
+
/**
|
|
4790
|
+
* 集群名称,长度小于32
|
|
4791
|
+
*/
|
|
4792
|
+
Name: string;
|
|
4793
|
+
/**
|
|
4794
|
+
* k8s版本,仅支持1.16.7 和 1.18.2
|
|
4795
|
+
*/
|
|
4796
|
+
K8sVersion: string;
|
|
4797
|
+
/**
|
|
4798
|
+
* 私有网络ID
|
|
4799
|
+
*/
|
|
4800
|
+
VpcId?: string;
|
|
4801
|
+
/**
|
|
4802
|
+
* 集群描述
|
|
4803
|
+
*/
|
|
4804
|
+
Description?: string;
|
|
4805
|
+
/**
|
|
4806
|
+
* 集群pod cidr, 默认 10.1.0.0/16
|
|
4807
|
+
*/
|
|
4808
|
+
PodCIDR?: string;
|
|
4809
|
+
/**
|
|
4810
|
+
* 集群service cidr, 默认 10.2.0.0/16
|
|
4811
|
+
*/
|
|
4812
|
+
ServiceCIDR?: string;
|
|
4813
|
+
}
|
|
4814
|
+
/**
|
|
4815
|
+
* DescribeEdgeUnitGridPods返回参数结构体
|
|
4816
|
+
*/
|
|
4817
|
+
export interface DescribeEdgeUnitGridPodsResponse {
|
|
4818
|
+
/**
|
|
4819
|
+
* Pod列表
|
|
4820
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4821
|
+
*/
|
|
4822
|
+
PodSet: Array<GridPodInfo>;
|
|
4823
|
+
/**
|
|
4824
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
4825
|
+
*/
|
|
4826
|
+
RequestId?: string;
|
|
4827
|
+
}
|
|
4828
|
+
/**
|
|
4829
|
+
* DescribeConfigMapYamlError请求参数结构体
|
|
4830
|
+
*/
|
|
4831
|
+
export interface DescribeConfigMapYamlErrorRequest {
|
|
4832
|
+
/**
|
|
4833
|
+
* yaml文件
|
|
4834
|
+
*/
|
|
4835
|
+
Yaml: string;
|
|
4836
|
+
}
|
|
4837
|
+
/**
|
|
4838
|
+
* ModifyEdgeUnitApplicationBasicInfo返回参数结构体
|
|
4839
|
+
*/
|
|
4840
|
+
export interface ModifyEdgeUnitApplicationBasicInfoResponse {
|
|
4841
|
+
/**
|
|
4842
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
4843
|
+
*/
|
|
4844
|
+
RequestId?: string;
|
|
4845
|
+
}
|