tencentcloud-sdk-nodejs-tem 4.0.397 → 4.0.432

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.
@@ -27,6 +27,19 @@ export interface CreateResourceRequest {
27
27
  */
28
28
  ResourceConfig?: string;
29
29
  }
30
+ /**
31
+ * DescribeConfigData返回参数结构体
32
+ */
33
+ export interface DescribeConfigDataResponse {
34
+ /**
35
+ * 配置
36
+ */
37
+ Result: ConfigData;
38
+ /**
39
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
40
+ */
41
+ RequestId?: string;
42
+ }
30
43
  /**
31
44
  * 命名空间分页
32
45
  */
@@ -49,13 +62,73 @@ export interface NamespacePage {
49
62
  Pages: number;
50
63
  }
51
64
  /**
52
- * DescribeApplicationPods返回参数结构体
65
+ * DescribeApplicationInfo返回参数结构体
53
66
  */
54
- export interface DescribeApplicationPodsResponse {
67
+ export interface DescribeApplicationInfoResponse {
55
68
  /**
56
69
  * 返回结果
57
70
  */
58
- Result: DescribeRunPodPage;
71
+ Result: TemServiceVersionInfo;
72
+ /**
73
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
74
+ */
75
+ RequestId?: string;
76
+ }
77
+ /**
78
+ * ModifyIngress返回参数结构体
79
+ */
80
+ export interface ModifyIngressResponse {
81
+ /**
82
+ * 创建成功
83
+ 注意:此字段可能返回 null,表示取不到有效值。
84
+ */
85
+ Result: boolean;
86
+ /**
87
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
88
+ */
89
+ RequestId?: string;
90
+ }
91
+ /**
92
+ * RestartApplicationPod请求参数结构体
93
+ */
94
+ export interface RestartApplicationPodRequest {
95
+ /**
96
+ * 环境id
97
+ */
98
+ EnvironmentId: string;
99
+ /**
100
+ * 应用id
101
+ */
102
+ ApplicationId: string;
103
+ /**
104
+ * 名字
105
+ */
106
+ PodName: string;
107
+ /**
108
+ * 单页条数
109
+ */
110
+ Limit?: number;
111
+ /**
112
+ * 分页下标
113
+ */
114
+ Offset?: number;
115
+ /**
116
+ * pod状态
117
+ */
118
+ Status?: string;
119
+ /**
120
+ * 来源渠道
121
+ */
122
+ SourceChannel?: number;
123
+ }
124
+ /**
125
+ * DestroyLogConfig返回参数结构体
126
+ */
127
+ export interface DestroyLogConfigResponse {
128
+ /**
129
+ * 返回结果
130
+ */
131
+ Result: boolean;
59
132
  /**
60
133
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
61
134
  */
@@ -92,6 +165,59 @@ export interface StorageConf {
92
165
  */
93
166
  StorageVolIp?: string;
94
167
  }
168
+ /**
169
+ * DescribeApplicationPods请求参数结构体
170
+ */
171
+ export interface DescribeApplicationPodsRequest {
172
+ /**
173
+ * 环境id
174
+ */
175
+ EnvironmentId: string;
176
+ /**
177
+ * 应用id
178
+ */
179
+ ApplicationId: string;
180
+ /**
181
+ * 单页条数,默认值20
182
+ */
183
+ Limit?: number;
184
+ /**
185
+ * 分页下标,默认值0
186
+ */
187
+ Offset?: number;
188
+ /**
189
+ * 实例状态
190
+ - Running
191
+ - Pending
192
+ - Error
193
+ */
194
+ Status?: string;
195
+ /**
196
+ * 实例名字
197
+ */
198
+ PodName?: string;
199
+ /**
200
+ * 来源渠道
201
+ */
202
+ SourceChannel?: number;
203
+ }
204
+ /**
205
+ * ingress tls 配置
206
+ */
207
+ export interface IngressTls {
208
+ /**
209
+ * host 数组, 空数组表示全部域名的默认证书
210
+ */
211
+ Hosts: Array<string>;
212
+ /**
213
+ * secret name,如使用证书,则填空字符串
214
+ */
215
+ SecretName: string;
216
+ /**
217
+ * SSL Certificate Id
218
+ */
219
+ CertificateId?: string;
220
+ }
95
221
  /**
96
222
  * 分批发布单批次详情
97
223
  */
@@ -178,6 +304,20 @@ export interface DeleteApplicationResponse {
178
304
  */
179
305
  RequestId?: string;
180
306
  }
307
+ /**
308
+ * ModifyApplicationAutoscaler返回参数结构体
309
+ */
310
+ export interface ModifyApplicationAutoscalerResponse {
311
+ /**
312
+ * 是否成功
313
+ 注意:此字段可能返回 null,表示取不到有效值。
314
+ */
315
+ Result: boolean;
316
+ /**
317
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
318
+ */
319
+ RequestId?: string;
320
+ }
181
321
  /**
182
322
  * RollingUpdateApplicationByVersion请求参数结构体
183
323
  */
@@ -238,17 +378,17 @@ export interface CreateCosTokenResponse {
238
378
  RequestId?: string;
239
379
  }
240
380
  /**
241
- * RevertDeployApplication请求参数结构体
381
+ * ModifyLogConfig返回参数结构体
242
382
  */
243
- export interface RevertDeployApplicationRequest {
383
+ export interface ModifyLogConfigResponse {
244
384
  /**
245
- * 需要回滚的服务id
385
+ * 编辑是否成功
246
386
  */
247
- ApplicationId?: string;
387
+ Result: boolean;
248
388
  /**
249
- * 需要回滚的服务所在环境id
389
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
250
390
  */
251
- EnvironmentId?: string;
391
+ RequestId?: string;
252
392
  }
253
393
  /**
254
394
  * RollingUpdateApplicationByVersion返回参数结构体
@@ -472,33 +612,89 @@ export interface DescribeEnvironmentsRequest {
472
612
  SourceChannel?: number;
473
613
  }
474
614
  /**
475
- * ModifyEnvironment请求参数结构体
615
+ * LogConfig 列表结果
476
616
  */
477
- export interface ModifyEnvironmentRequest {
617
+ export interface LogConfigListPage {
478
618
  /**
479
- * 环境id
480
- */
481
- EnvironmentId: string;
619
+ * 记录
620
+ 注意:此字段可能返回 null,表示取不到有效值。
621
+ */
622
+ Records: Array<LogConfig>;
482
623
  /**
483
- * 环境名称
624
+ * 翻页游标
625
+ 注意:此字段可能返回 null,表示取不到有效值。
626
+ */
627
+ ContinueToken: string;
628
+ }
629
+ /**
630
+ * 服务版本信息列表
631
+ */
632
+ export interface ServiceVersionBrief {
633
+ /**
634
+ * 版本名称
484
635
  */
485
- EnvironmentName?: string;
636
+ VersionName: string;
486
637
  /**
487
- * 环境描述
638
+ * 状态
488
639
  */
489
- Description?: string;
640
+ Status: string;
490
641
  /**
491
- * 私有网络名称
642
+ * 是否启动弹性 -- 已废弃
492
643
  */
493
- Vpc?: string;
644
+ EnableEs: number;
494
645
  /**
495
- * 子网网络
646
+ * 当前实例
496
647
  */
497
- SubnetIds?: Array<string>;
648
+ CurrentInstances: number;
498
649
  /**
499
- * 来源渠道
650
+ * version的id
500
651
  */
501
- SourceChannel?: number;
652
+ VersionId: string;
653
+ /**
654
+ * 日志输出配置 -- 已废弃
655
+ 注意:此字段可能返回 null,表示取不到有效值。
656
+ */
657
+ LogOutputConf: LogOutputConf;
658
+ /**
659
+ * 期望实例
660
+ 注意:此字段可能返回 null,表示取不到有效值。
661
+ */
662
+ ExpectedInstances: number;
663
+ /**
664
+ * 部署方式
665
+ 注意:此字段可能返回 null,表示取不到有效值。
666
+ */
667
+ DeployMode: string;
668
+ /**
669
+ * 建构任务ID
670
+ 注意:此字段可能返回 null,表示取不到有效值。
671
+ */
672
+ BuildTaskId: string;
673
+ /**
674
+ * 环境ID
675
+ 注意:此字段可能返回 null,表示取不到有效值。
676
+ */
677
+ EnvironmentId: string;
678
+ /**
679
+ * 环境name
680
+ 注意:此字段可能返回 null,表示取不到有效值。
681
+ */
682
+ EnvironmentName: string;
683
+ /**
684
+ * 服务ID
685
+ 注意:此字段可能返回 null,表示取不到有效值。
686
+ */
687
+ ApplicationId: string;
688
+ /**
689
+ * 服务name
690
+ 注意:此字段可能返回 null,表示取不到有效值。
691
+ */
692
+ ApplicationName: string;
693
+ /**
694
+ * 是否正在发布中
695
+ 注意:此字段可能返回 null,表示取不到有效值。
696
+ */
697
+ UnderDeploying: boolean;
502
698
  }
503
699
  /**
504
700
  * CreateEnvironment请求参数结构体
@@ -533,6 +729,52 @@ export interface CreateEnvironmentRequest {
533
729
  */
534
730
  EnableTswTraceService?: boolean;
535
731
  }
732
+ /**
733
+ * node信息
734
+ */
735
+ export interface NodeInfo {
736
+ /**
737
+ * node名字
738
+ */
739
+ Name: string;
740
+ /**
741
+ * node可用区
742
+ 注意:此字段可能返回 null,表示取不到有效值。
743
+ */
744
+ Zone: string;
745
+ /**
746
+ * node子网ID
747
+ 注意:此字段可能返回 null,表示取不到有效值。
748
+ */
749
+ SubnetId: string;
750
+ /**
751
+ * 可用IP数
752
+ 注意:此字段可能返回 null,表示取不到有效值。
753
+ */
754
+ AvailableIpCount: string;
755
+ /**
756
+ * cidr块
757
+ 注意:此字段可能返回 null,表示取不到有效值。
758
+ */
759
+ Cidr: string;
760
+ }
761
+ /**
762
+ * DescribeLogConfig请求参数结构体
763
+ */
764
+ export interface DescribeLogConfigRequest {
765
+ /**
766
+ * 环境 ID
767
+ */
768
+ EnvironmentId: string;
769
+ /**
770
+ * 配置名
771
+ */
772
+ Name: string;
773
+ /**
774
+ * 应用 ID
775
+ */
776
+ ApplicationId?: string;
777
+ }
536
778
  /**
537
779
  * 分批发布详情
538
780
  */
@@ -622,21 +864,81 @@ export interface DescribeEnvironmentStatusResponse {
622
864
  RequestId?: string;
623
865
  }
624
866
  /**
625
- * ingress tls 配置
867
+ * 分批发布策略配置
626
868
  */
627
- export interface IngressTls {
869
+ export interface DeployStrategyConf {
628
870
  /**
629
- * host 数组, 空数组表示全部域名的默认证书
871
+ * 总分批数
630
872
  */
631
- Hosts: Array<string>;
873
+ TotalBatchCount?: number;
632
874
  /**
633
- * secret name,如使用证书,则填空字符串
875
+ * beta分批实例数
634
876
  */
635
- SecretName: string;
877
+ BetaBatchNum?: number;
636
878
  /**
637
- * SSL Certificate Id
879
+ * 分批策略:0-全自动,1-全手动,2-beta分批,beta批一定是手动的,3-首次发布
638
880
  */
639
- CertificateId?: string;
881
+ DeployStrategyType?: number;
882
+ /**
883
+ * 每批暂停间隔
884
+ */
885
+ BatchInterval?: number;
886
+ /**
887
+ * 最小可用实例数
888
+ */
889
+ MinAvailable?: number;
890
+ /**
891
+ * 是否强制发布
892
+ */
893
+ Force?: boolean;
894
+ }
895
+ /**
896
+ * DescribeApplicationPods返回参数结构体
897
+ */
898
+ export interface DescribeApplicationPodsResponse {
899
+ /**
900
+ * 返回结果
901
+ */
902
+ Result: DescribeRunPodPage;
903
+ /**
904
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
905
+ */
906
+ RequestId?: string;
907
+ }
908
+ /**
909
+ * DescribeConfigDataList请求参数结构体
910
+ */
911
+ export interface DescribeConfigDataListRequest {
912
+ /**
913
+ * 环境 ID
914
+ */
915
+ EnvironmentId: string;
916
+ /**
917
+ * 来源渠道
918
+ */
919
+ SourceChannel?: number;
920
+ /**
921
+ * 查询游标
922
+ */
923
+ ContinueToken?: string;
924
+ /**
925
+ * 分页 limit
926
+ */
927
+ Limit?: number;
928
+ }
929
+ /**
930
+ * EnableApplicationAutoscaler返回参数结构体
931
+ */
932
+ export interface EnableApplicationAutoscalerResponse {
933
+ /**
934
+ * 是否成功
935
+ 注意:此字段可能返回 null,表示取不到有效值。
936
+ */
937
+ Result: boolean;
938
+ /**
939
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
940
+ */
941
+ RequestId?: string;
640
942
  }
641
943
  /**
642
944
  * 服务分页
@@ -659,6 +961,413 @@ export interface ServicePage {
659
961
  */
660
962
  Pages: number;
661
963
  }
964
+ /**
965
+ * 版本信息
966
+ */
967
+ export interface TemServiceVersionInfo {
968
+ /**
969
+ * 主键
970
+ */
971
+ VersionId: string;
972
+ /**
973
+ * 服务id
974
+ */
975
+ ApplicationId: string;
976
+ /**
977
+ * 部署方式
978
+ */
979
+ DeployMode: string;
980
+ /**
981
+ * jdk版本
982
+ */
983
+ JdkVersion: string;
984
+ /**
985
+ * 描述
986
+ */
987
+ Description: string;
988
+ /**
989
+ * 部署版本
990
+ */
991
+ DeployVersion: string;
992
+ /**
993
+ * 发布方式
994
+ */
995
+ PublishMode: string;
996
+ /**
997
+ * 启动参数
998
+ */
999
+ JvmOpts: string;
1000
+ /**
1001
+ * 初始实例
1002
+ */
1003
+ InitPodNum: number;
1004
+ /**
1005
+ * cpu规格
1006
+ */
1007
+ CpuSpec: number;
1008
+ /**
1009
+ * 内存规格
1010
+ */
1011
+ MemorySpec: number;
1012
+ /**
1013
+ * 镜像路径
1014
+ */
1015
+ ImgRepo: string;
1016
+ /**
1017
+ * 镜像名称
1018
+ */
1019
+ ImgName: string;
1020
+ /**
1021
+ * 镜像版本
1022
+ */
1023
+ ImgVersion: string;
1024
+ /**
1025
+ * 弹性配置
1026
+ 注意:此字段可能返回 null,表示取不到有效值。
1027
+ */
1028
+ EsInfo: EsInfo;
1029
+ /**
1030
+ * 环境配置
1031
+ */
1032
+ EnvConf: Array<Pair>;
1033
+ /**
1034
+ * 存储配置
1035
+ */
1036
+ StorageConfs: Array<StorageConf>;
1037
+ /**
1038
+ * 运行状态
1039
+ */
1040
+ Status: string;
1041
+ /**
1042
+ * 私有网络
1043
+ */
1044
+ Vpc: string;
1045
+ /**
1046
+ * 子网网络
1047
+ */
1048
+ SubnetId: string;
1049
+ /**
1050
+ * 创建时间
1051
+ */
1052
+ CreateDate: string;
1053
+ /**
1054
+ * 修改时间
1055
+ */
1056
+ ModifyDate: string;
1057
+ /**
1058
+ * 挂载配置
1059
+ 注意:此字段可能返回 null,表示取不到有效值。
1060
+ */
1061
+ StorageMountConfs: Array<StorageMountConf>;
1062
+ /**
1063
+ * 版本名称
1064
+ 注意:此字段可能返回 null,表示取不到有效值。
1065
+ */
1066
+ VersionName: string;
1067
+ /**
1068
+ * 日志输出配置
1069
+ 注意:此字段可能返回 null,表示取不到有效值。
1070
+ */
1071
+ LogOutputConf?: LogOutputConf;
1072
+ /**
1073
+ * 服务名称
1074
+ 注意:此字段可能返回 null,表示取不到有效值。
1075
+ */
1076
+ ApplicationName?: string;
1077
+ /**
1078
+ * 服务描述
1079
+ 注意:此字段可能返回 null,表示取不到有效值。
1080
+ */
1081
+ ApplicationDescription?: string;
1082
+ /**
1083
+ * 环境名称
1084
+ 注意:此字段可能返回 null,表示取不到有效值。
1085
+ */
1086
+ EnvironmentName?: string;
1087
+ /**
1088
+ * 环境ID
1089
+ 注意:此字段可能返回 null,表示取不到有效值。
1090
+ */
1091
+ EnvironmentId?: string;
1092
+ /**
1093
+ * 公网地址
1094
+ 注意:此字段可能返回 null,表示取不到有效值。
1095
+ */
1096
+ PublicDomain?: string;
1097
+ /**
1098
+ * 是否开通公网访问
1099
+ 注意:此字段可能返回 null,表示取不到有效值。
1100
+ */
1101
+ EnablePublicAccess?: boolean;
1102
+ /**
1103
+ * 现有的实例
1104
+ 注意:此字段可能返回 null,表示取不到有效值。
1105
+ */
1106
+ CurrentInstances?: number;
1107
+ /**
1108
+ * 期望的实例
1109
+ 注意:此字段可能返回 null,表示取不到有效值。
1110
+ */
1111
+ ExpectedInstances?: number;
1112
+ /**
1113
+ * 编程语言
1114
+ 注意:此字段可能返回 null,表示取不到有效值。
1115
+ */
1116
+ CodingLanguage?: string;
1117
+ /**
1118
+ * 程序包名
1119
+ 注意:此字段可能返回 null,表示取不到有效值。
1120
+ */
1121
+ PkgName?: string;
1122
+ /**
1123
+ * 是否启用弹性伸缩
1124
+ 注意:此字段可能返回 null,表示取不到有效值。
1125
+ */
1126
+ EsEnable?: number;
1127
+ /**
1128
+ * 弹性策略
1129
+ 注意:此字段可能返回 null,表示取不到有效值。
1130
+ */
1131
+ EsStrategy?: number;
1132
+ /**
1133
+ * 镜像tag
1134
+ 注意:此字段可能返回 null,表示取不到有效值。
1135
+ */
1136
+ ImageTag?: string;
1137
+ /**
1138
+ * 是否启用log
1139
+ 注意:此字段可能返回 null,表示取不到有效值。
1140
+ */
1141
+ LogEnable?: number;
1142
+ /**
1143
+ * 最小实例数
1144
+ 注意:此字段可能返回 null,表示取不到有效值。
1145
+ */
1146
+ MinAliveInstances?: string;
1147
+ /**
1148
+ * 安全组
1149
+ 注意:此字段可能返回 null,表示取不到有效值。
1150
+ */
1151
+ SecurityGroupIds?: Array<string>;
1152
+ /**
1153
+ * 镜像命令
1154
+ 注意:此字段可能返回 null,表示取不到有效值。
1155
+ */
1156
+ ImageCommand?: string;
1157
+ /**
1158
+ * 镜像命令参数
1159
+ 注意:此字段可能返回 null,表示取不到有效值。
1160
+ */
1161
+ ImageArgs?: Array<string>;
1162
+ /**
1163
+ * 是否使用默认注册中心配置
1164
+ 注意:此字段可能返回 null,表示取不到有效值。
1165
+ */
1166
+ UseRegistryDefaultConfig?: boolean;
1167
+ /**
1168
+ * eks 访问设置
1169
+ 注意:此字段可能返回 null,表示取不到有效值。
1170
+ */
1171
+ Service?: EksService;
1172
+ /**
1173
+ * 挂载配置信息
1174
+ 注意:此字段可能返回 null,表示取不到有效值。
1175
+ */
1176
+ SettingConfs?: Array<MountedSettingConf>;
1177
+ /**
1178
+ * log path数组信息
1179
+ 注意:此字段可能返回 null,表示取不到有效值。
1180
+ */
1181
+ LogConfs?: Array<string>;
1182
+ /**
1183
+ * 启动后立即执行的脚本
1184
+ 注意:此字段可能返回 null,表示取不到有效值。
1185
+ */
1186
+ PostStart?: string;
1187
+ /**
1188
+ * 停止前执行的脚本
1189
+ 注意:此字段可能返回 null,表示取不到有效值。
1190
+ */
1191
+ PreStop?: string;
1192
+ /**
1193
+ * 存活探针配置
1194
+ 注意:此字段可能返回 null,表示取不到有效值。
1195
+ */
1196
+ Liveness?: HealthCheckConfig;
1197
+ /**
1198
+ * 就绪探针配置
1199
+ 注意:此字段可能返回 null,表示取不到有效值。
1200
+ */
1201
+ Readiness?: HealthCheckConfig;
1202
+ /**
1203
+ * 弹性策略
1204
+ 注意:此字段可能返回 null,表示取不到有效值。
1205
+ */
1206
+ HorizontalAutoscaler?: Array<HorizontalAutoscaler>;
1207
+ /**
1208
+ * 定时弹性策略
1209
+ 注意:此字段可能返回 null,表示取不到有效值。
1210
+ */
1211
+ CronHorizontalAutoscaler?: Array<CronHorizontalAutoscaler>;
1212
+ /**
1213
+ * 应用实际可用区
1214
+ 注意:此字段可能返回 null,表示取不到有效值。
1215
+ */
1216
+ Zones?: Array<string>;
1217
+ /**
1218
+ * 最新部署时间
1219
+ 注意:此字段可能返回 null,表示取不到有效值。
1220
+ */
1221
+ LastDeployDate?: string;
1222
+ /**
1223
+ * 最新部署成功时间
1224
+ 注意:此字段可能返回 null,表示取不到有效值。
1225
+ */
1226
+ LastDeploySuccessDate?: string;
1227
+ /**
1228
+ * 应用所在node信息
1229
+ 注意:此字段可能返回 null,表示取不到有效值。
1230
+ */
1231
+ NodeInfos?: Array<NodeInfo>;
1232
+ /**
1233
+ * image类型 -0 为demo -1为正常image
1234
+ 注意:此字段可能返回 null,表示取不到有效值。
1235
+ */
1236
+ ImageType?: number;
1237
+ /**
1238
+ * 是否启用调用链组件
1239
+ 注意:此字段可能返回 null,表示取不到有效值。
1240
+ */
1241
+ EnableTracing?: number;
1242
+ /**
1243
+ * 是否开启调用链上报,只有 EnableTracing=1 时生效(参数已弃用)
1244
+ 注意:此字段可能返回 null,表示取不到有效值。
1245
+ */
1246
+ EnableTracingReport?: number;
1247
+ /**
1248
+ * 镜像类型:0-个人镜像、1-企业镜像、2-公有镜像
1249
+ 注意:此字段可能返回 null,表示取不到有效值。
1250
+ */
1251
+ RepoType?: number;
1252
+ /**
1253
+ * 分批发布子状态:batch_updating、batch_updating_waiting_confirm
1254
+ 注意:此字段可能返回 null,表示取不到有效值。
1255
+ */
1256
+ BatchDeployStatus?: string;
1257
+ /**
1258
+ * APM 资源 ID
1259
+ 注意:此字段可能返回 null,表示取不到有效值。
1260
+ */
1261
+ ApmInstanceId?: string;
1262
+ /**
1263
+ * 工作负载信息
1264
+ 注意:此字段可能返回 null,表示取不到有效值。
1265
+ */
1266
+ WorkloadInfo?: WorkloadInfo;
1267
+ /**
1268
+ * 是否启用应用加速
1269
+ 注意:此字段可能返回 null,表示取不到有效值。
1270
+ */
1271
+ SpeedUp?: boolean;
1272
+ /**
1273
+ * 启动检测探针配置
1274
+ 注意:此字段可能返回 null,表示取不到有效值。
1275
+ */
1276
+ StartupProbe?: HealthCheckConfig;
1277
+ /**
1278
+ * 操作系统版本,可选参数:
1279
+ - ALPINE
1280
+ - CENTOS
1281
+ 注意:此字段可能返回 null,表示取不到有效值。
1282
+ */
1283
+ OsFlavour?: string;
1284
+ /**
1285
+ * 镜像仓库server
1286
+ 注意:此字段可能返回 null,表示取不到有效值。
1287
+ */
1288
+ RepoServer?: string;
1289
+ /**
1290
+ * 是否正在发布中
1291
+ 注意:此字段可能返回 null,表示取不到有效值。
1292
+ */
1293
+ UnderDeploying?: boolean;
1294
+ /**
1295
+ * 监控业务指标监控
1296
+ 注意:此字段可能返回 null,表示取不到有效值。
1297
+ */
1298
+ EnablePrometheusConf?: EnablePrometheusConf;
1299
+ /**
1300
+ * 是否为手动停止
1301
+ 注意:此字段可能返回 null,表示取不到有效值。
1302
+ */
1303
+ StoppedManually?: boolean;
1304
+ /**
1305
+ * tcr实例ID
1306
+ 注意:此字段可能返回 null,表示取不到有效值。
1307
+ */
1308
+ TcrInstanceId?: string;
1309
+ /**
1310
+ * 1:开始自动metrics采集(open-telemetry);
1311
+ 0:关闭metrics采集;
1312
+ 注意:此字段可能返回 null,表示取不到有效值。
1313
+ */
1314
+ EnableMetrics?: number;
1315
+ }
1316
+ /**
1317
+ * 端口映射详细信息结构体
1318
+ */
1319
+ export interface ServicePortMapping {
1320
+ /**
1321
+ * 服务类型
1322
+ 注意:此字段可能返回 null,表示取不到有效值。
1323
+ */
1324
+ Type?: string;
1325
+ /**
1326
+ * 服务名称
1327
+ 注意:此字段可能返回 null,表示取不到有效值。
1328
+ */
1329
+ ServiceName?: string;
1330
+ /**
1331
+ * 集群内访问vip
1332
+ 注意:此字段可能返回 null,表示取不到有效值。
1333
+ */
1334
+ ClusterIp?: string;
1335
+ /**
1336
+ * 集群外方位vip
1337
+ 注意:此字段可能返回 null,表示取不到有效值。
1338
+ */
1339
+ ExternalIp?: string;
1340
+ /**
1341
+ * 子网id
1342
+ 注意:此字段可能返回 null,表示取不到有效值。
1343
+ */
1344
+ SubnetId?: string;
1345
+ /**
1346
+ * vpc id
1347
+ 注意:此字段可能返回 null,表示取不到有效值。
1348
+ */
1349
+ VpcId?: string;
1350
+ /**
1351
+ * LoadBalance Id
1352
+ 注意:此字段可能返回 null,表示取不到有效值。
1353
+ */
1354
+ LoadBalanceId?: string;
1355
+ /**
1356
+ * yaml 内容
1357
+ 注意:此字段可能返回 null,表示取不到有效值。
1358
+ */
1359
+ Yaml?: string;
1360
+ /**
1361
+ * 暴露端口列表
1362
+ 注意:此字段可能返回 null,表示取不到有效值。
1363
+ */
1364
+ Ports?: Array<number>;
1365
+ /**
1366
+ * 端口映射数组
1367
+ 注意:此字段可能返回 null,表示取不到有效值。
1368
+ */
1369
+ PortMappingItemList?: Array<ServicePortMappingItem>;
1370
+ }
662
1371
  /**
663
1372
  * CreateCosToken请求参数结构体
664
1373
  */
@@ -684,6 +1393,44 @@ export interface CreateCosTokenRequest {
684
1393
  */
685
1394
  TimeVersion?: string;
686
1395
  }
1396
+ /**
1397
+ * ModifyApplicationAutoscaler请求参数结构体
1398
+ */
1399
+ export interface ModifyApplicationAutoscalerRequest {
1400
+ /**
1401
+ * 服务id
1402
+ */
1403
+ ApplicationId: string;
1404
+ /**
1405
+ * 环境ID
1406
+ */
1407
+ EnvironmentId: string;
1408
+ /**
1409
+ * 来源渠道
1410
+ */
1411
+ SourceChannel?: number;
1412
+ /**
1413
+ * 弹性伸缩策略ID
1414
+ */
1415
+ AutoscalerId?: string;
1416
+ /**
1417
+ * 弹性伸缩策略
1418
+ */
1419
+ Autoscaler?: Autoscaler;
1420
+ }
1421
+ /**
1422
+ * ModifyConfigData返回参数结构体
1423
+ */
1424
+ export interface ModifyConfigDataResponse {
1425
+ /**
1426
+ * 编辑是否成功
1427
+ */
1428
+ Result: boolean;
1429
+ /**
1430
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1431
+ */
1432
+ RequestId?: string;
1433
+ }
687
1434
  /**
688
1435
  * ModifyIngress请求参数结构体
689
1436
  */
@@ -744,6 +1491,51 @@ export interface StorageMountConf {
744
1491
  */
745
1492
  MountPath: string;
746
1493
  }
1494
+ /**
1495
+ * CreateLogConfig请求参数结构体
1496
+ */
1497
+ export interface CreateLogConfigRequest {
1498
+ /**
1499
+ * 环境 ID
1500
+ */
1501
+ EnvironmentId: string;
1502
+ /**
1503
+ * 配置名
1504
+ */
1505
+ Name: string;
1506
+ /**
1507
+ * 收集类型,container_stdout 为标准输出;container_file 为文件;
1508
+ */
1509
+ InputType: string;
1510
+ /**
1511
+ * 应用 ID
1512
+ */
1513
+ ApplicationId?: string;
1514
+ /**
1515
+ * 日志集 ID
1516
+ */
1517
+ LogsetId?: string;
1518
+ /**
1519
+ * 日志主题 ID
1520
+ */
1521
+ TopicId?: string;
1522
+ /**
1523
+ * 日志提取模式,minimalist_log 为单行全文;multiline_log 为多行全文;
1524
+ */
1525
+ LogType?: string;
1526
+ /**
1527
+ * 首行正则表达式,当LogType=multiline_log 时生效
1528
+ */
1529
+ BeginningRegex?: string;
1530
+ /**
1531
+ * 收集文件目录,当 InputType=container_file 时生效
1532
+ */
1533
+ LogPath?: string;
1534
+ /**
1535
+ * 收集文件名模式,当 InputType=container_file 时生效
1536
+ */
1537
+ FilePattern?: string;
1538
+ }
747
1539
  /**
748
1540
  * RestartApplication返回参数结构体
749
1541
  */
@@ -771,6 +1563,40 @@ export interface DescribeIngressesResponse {
771
1563
  */
772
1564
  RequestId?: string;
773
1565
  }
1566
+ /**
1567
+ * ModifyConfigData请求参数结构体
1568
+ */
1569
+ export interface ModifyConfigDataRequest {
1570
+ /**
1571
+ * 环境 ID
1572
+ */
1573
+ EnvironmentId: string;
1574
+ /**
1575
+ * 配置名
1576
+ */
1577
+ Name: string;
1578
+ /**
1579
+ * 来源渠道
1580
+ */
1581
+ SourceChannel?: number;
1582
+ /**
1583
+ * 配置信息
1584
+ */
1585
+ Data?: Array<Pair>;
1586
+ }
1587
+ /**
1588
+ * CreateConfigData返回参数结构体
1589
+ */
1590
+ export interface CreateConfigDataResponse {
1591
+ /**
1592
+ * 创建是否成功
1593
+ */
1594
+ Result: boolean;
1595
+ /**
1596
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1597
+ */
1598
+ RequestId?: string;
1599
+ }
774
1600
  /**
775
1601
  * DescribeApplicationsStatus请求参数结构体
776
1602
  */
@@ -892,6 +1718,20 @@ export interface DestroyEnvironmentResponse {
892
1718
  */
893
1719
  RequestId?: string;
894
1720
  }
1721
+ /**
1722
+ * DisableApplicationAutoscaler返回参数结构体
1723
+ */
1724
+ export interface DisableApplicationAutoscalerResponse {
1725
+ /**
1726
+ * 是否成功
1727
+ 注意:此字段可能返回 null,表示取不到有效值。
1728
+ */
1729
+ Result: boolean;
1730
+ /**
1731
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1732
+ */
1733
+ RequestId?: string;
1734
+ }
895
1735
  /**
896
1736
  * DescribeIngress请求参数结构体
897
1737
  */
@@ -944,36 +1784,92 @@ export interface DeployApplicationResponse {
944
1784
  */
945
1785
  export interface RestartApplicationPodResponse {
946
1786
  /**
947
- * 返回结果
1787
+ * 返回结果
1788
+ 注意:此字段可能返回 null,表示取不到有效值。
1789
+ */
1790
+ Result: boolean;
1791
+ /**
1792
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1793
+ */
1794
+ RequestId?: string;
1795
+ }
1796
+ /**
1797
+ * 环境停止进程(只统计由环境停止操作触发的应用数量)
1798
+ */
1799
+ export interface TemEnvironmentStoppingStatus {
1800
+ /**
1801
+ * 需要停止的应用数量
1802
+ 注意:此字段可能返回 null,表示取不到有效值。
1803
+ */
1804
+ ApplicationNumNeedToStop?: number;
1805
+ /**
1806
+ * 已经停止的应用数量
1807
+ 注意:此字段可能返回 null,表示取不到有效值。
1808
+ */
1809
+ StoppedApplicationNum?: number;
1810
+ }
1811
+ /**
1812
+ * DeleteApplication请求参数结构体
1813
+ */
1814
+ export interface DeleteApplicationRequest {
1815
+ /**
1816
+ * 服务Id
1817
+ */
1818
+ ApplicationId: string;
1819
+ /**
1820
+ * 环境ID
1821
+ */
1822
+ EnvironmentId: string;
1823
+ /**
1824
+ * 来源渠道
1825
+ */
1826
+ SourceChannel?: number;
1827
+ /**
1828
+ * 当服务没有任何运行版本时,是否删除此服务
1829
+ */
1830
+ DeleteApplicationIfNoRunningVersion?: boolean;
1831
+ }
1832
+ /**
1833
+ * CreateApplicationAutoscaler返回参数结构体
1834
+ */
1835
+ export interface CreateApplicationAutoscalerResponse {
1836
+ /**
1837
+ * 弹性伸缩策略组合ID
948
1838
  注意:此字段可能返回 null,表示取不到有效值。
949
1839
  */
950
- Result: boolean;
1840
+ Result: string;
951
1841
  /**
952
1842
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
953
1843
  */
954
1844
  RequestId?: string;
955
1845
  }
956
1846
  /**
957
- * 环境停止进程(只统计由环境停止操作触发的应用数量)
1847
+ * DeleteApplicationAutoscaler请求参数结构体
958
1848
  */
959
- export interface TemEnvironmentStoppingStatus {
1849
+ export interface DeleteApplicationAutoscalerRequest {
960
1850
  /**
961
- * 需要停止的应用数量
962
- 注意:此字段可能返回 null,表示取不到有效值。
963
- */
964
- ApplicationNumNeedToStop?: number;
1851
+ * 服务id
1852
+ */
1853
+ ApplicationId: string;
965
1854
  /**
966
- * 已经停止的应用数量
967
- 注意:此字段可能返回 null,表示取不到有效值。
968
- */
969
- StoppedApplicationNum?: number;
1855
+ * 环境ID
1856
+ */
1857
+ EnvironmentId: string;
1858
+ /**
1859
+ * 来源渠道
1860
+ */
1861
+ SourceChannel?: number;
1862
+ /**
1863
+ * 弹性伸缩策略ID
1864
+ */
1865
+ AutoscalerId?: string;
970
1866
  }
971
1867
  /**
972
- * DeleteApplication请求参数结构体
1868
+ * DescribeApplicationAutoscalerList请求参数结构体
973
1869
  */
974
- export interface DeleteApplicationRequest {
1870
+ export interface DescribeApplicationAutoscalerListRequest {
975
1871
  /**
976
- * 服务Id
1872
+ * 服务id
977
1873
  */
978
1874
  ApplicationId: string;
979
1875
  /**
@@ -984,10 +1880,6 @@ export interface DeleteApplicationRequest {
984
1880
  * 来源渠道
985
1881
  */
986
1882
  SourceChannel?: number;
987
- /**
988
- * 当服务没有任何运行版本时,是否删除此服务
989
- */
990
- DeleteApplicationIfNoRunningVersion?: boolean;
991
1883
  }
992
1884
  /**
993
1885
  * DescribeApplicationsStatus返回参数结构体
@@ -1040,6 +1932,27 @@ export interface DeleteIngressRequest {
1040
1932
  */
1041
1933
  SourceChannel?: number;
1042
1934
  }
1935
+ /**
1936
+ * DisableApplicationAutoscaler请求参数结构体
1937
+ */
1938
+ export interface DisableApplicationAutoscalerRequest {
1939
+ /**
1940
+ * 服务id
1941
+ */
1942
+ ApplicationId: string;
1943
+ /**
1944
+ * 环境ID
1945
+ */
1946
+ EnvironmentId: string;
1947
+ /**
1948
+ * 来源渠道
1949
+ */
1950
+ SourceChannel?: number;
1951
+ /**
1952
+ * 弹性伸缩策略ID
1953
+ */
1954
+ AutoscalerId?: string;
1955
+ }
1043
1956
  /**
1044
1957
  * DescribeRelatedIngresses请求参数结构体
1045
1958
  */
@@ -1137,92 +2050,74 @@ export interface DescribeEnvironmentsResponse {
1137
2050
  RequestId?: string;
1138
2051
  }
1139
2052
  /**
1140
- * DescribeRelatedIngresses返回参数结构体
2053
+ * DeleteApplicationAutoscaler返回参数结构体
1141
2054
  */
1142
- export interface DescribeRelatedIngressesResponse {
2055
+ export interface DeleteApplicationAutoscalerResponse {
1143
2056
  /**
1144
- * ingress 数组
2057
+ * 是否成功
1145
2058
  注意:此字段可能返回 null,表示取不到有效值。
1146
2059
  */
1147
- Result: Array<IngressInfo>;
2060
+ Result: boolean;
1148
2061
  /**
1149
2062
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1150
2063
  */
1151
2064
  RequestId?: string;
1152
2065
  }
1153
2066
  /**
1154
- * 命名空间对象
2067
+ * DescribeRelatedIngresses返回参数结构体
1155
2068
  */
1156
- export interface TemNamespaceInfo {
1157
- /**
1158
- * 环境id
1159
- */
1160
- EnvironmentId: string;
1161
- /**
1162
- * 渠道
1163
- */
1164
- Channel: string;
1165
- /**
1166
- * 环境名称
1167
- */
1168
- EnvironmentName: string;
1169
- /**
1170
- * 区域名称
1171
- */
1172
- Region: string;
2069
+ export interface DescribeRelatedIngressesResponse {
1173
2070
  /**
1174
- * 环境描述
2071
+ * ingress 数组
1175
2072
  注意:此字段可能返回 null,表示取不到有效值。
1176
2073
  */
1177
- Description: string;
1178
- /**
1179
- * 状态,1:已销毁;0:正常
1180
- */
1181
- Status: number;
1182
- /**
1183
- * vpc网络
1184
- */
1185
- Vpc: string;
1186
- /**
1187
- * 创建时间
1188
- */
1189
- CreateDate: string;
2074
+ Result: Array<IngressInfo>;
1190
2075
  /**
1191
- * 修改时间
2076
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1192
2077
  */
1193
- ModifyDate: string;
2078
+ RequestId?: string;
2079
+ }
2080
+ /**
2081
+ * DescribeEnvironment请求参数结构体
2082
+ */
2083
+ export interface DescribeEnvironmentRequest {
1194
2084
  /**
1195
- * 修改人
2085
+ * 命名空间id
1196
2086
  */
1197
- Modifier: string;
2087
+ EnvironmentId: string;
1198
2088
  /**
1199
- * 创建人
2089
+ * 来源Channel
1200
2090
  */
1201
- Creator: string;
2091
+ SourceChannel?: number;
2092
+ }
2093
+ /**
2094
+ * DescribePagedLogConfigList请求参数结构体
2095
+ */
2096
+ export interface DescribePagedLogConfigListRequest {
1202
2097
  /**
1203
- * 应用数
2098
+ * 环境 ID
1204
2099
  */
1205
- ApplicationNum: number;
2100
+ EnvironmentId: string;
1206
2101
  /**
1207
- * 运行实例数
2102
+ * 应用 ID
1208
2103
  */
1209
- RunInstancesNum: number;
2104
+ ApplicationId?: string;
1210
2105
  /**
1211
- * 子网络
2106
+ * 应用名
1212
2107
  */
1213
- SubnetId: string;
2108
+ ApplicationName?: string;
1214
2109
  /**
1215
- * 环境集群 status
2110
+ * 规则名
1216
2111
  */
1217
- ClusterStatus: string;
2112
+ Name?: string;
1218
2113
  /**
1219
- * 是否开启tsw
2114
+ * 分页大小,默认 20
1220
2115
  */
1221
- EnableTswTraceService: boolean;
2116
+ Limit?: number;
1222
2117
  /**
1223
- * 环境锁,1为上锁,0则为上锁
2118
+ * 翻页游标
1224
2119
  */
1225
- Locked: number;
2120
+ ContinueToken?: string;
1226
2121
  }
1227
2122
  /**
1228
2123
  * 环境启动进程(只统计由环境启动操作触发的应用数量)
@@ -1343,59 +2238,185 @@ export interface IngressRule {
1343
2238
  Protocol?: string;
1344
2239
  }
1345
2240
  /**
1346
- * RestartApplicationPod请求参数结构体
2241
+ * 定时伸缩策略
1347
2242
  */
1348
- export interface RestartApplicationPodRequest {
2243
+ export interface CronHorizontalAutoscaler {
2244
+ /**
2245
+ * 定时伸缩策略名称
2246
+ */
2247
+ Name?: string;
2248
+ /**
2249
+ * 策略周期
2250
+ * * *,三个范围,第一个是天,第二个是月,第三个是周,中间用空格隔开
2251
+ 例子:
2252
+ * * * (每天)
2253
+ * * 0-3 (每周日到周三)
2254
+ 1,11,21 * *(每个月1号,11号,21号)
2255
+ */
2256
+ Period?: string;
2257
+ /**
2258
+ * 定时伸缩策略明细
2259
+ */
2260
+ Schedules?: Array<CronHorizontalAutoscalerSchedule>;
2261
+ /**
2262
+ * 是否启用
2263
+ */
2264
+ Enabled?: boolean;
2265
+ /**
2266
+ * 策略优先级,值越大优先级越高,0为最小值
2267
+ */
2268
+ Priority?: number;
2269
+ }
2270
+ /**
2271
+ * DescribeDeployApplicationDetail返回参数结构体
2272
+ */
2273
+ export interface DescribeDeployApplicationDetailResponse {
2274
+ /**
2275
+ * 分批发布结果详情
2276
+ */
2277
+ Result: TemDeployApplicationDetailInfo;
2278
+ /**
2279
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2280
+ */
2281
+ RequestId?: string;
2282
+ }
2283
+ /**
2284
+ * Ingress Rule Value 配置
2285
+ */
2286
+ export interface IngressRuleValue {
2287
+ /**
2288
+ * rule 整体配置
2289
+ */
2290
+ Paths: Array<IngressRulePath>;
2291
+ }
2292
+ /**
2293
+ * DescribeEnvironment返回参数结构体
2294
+ */
2295
+ export interface DescribeEnvironmentResponse {
2296
+ /**
2297
+ * 环境信息
2298
+ */
2299
+ Result: NamespaceInfo;
2300
+ /**
2301
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2302
+ */
2303
+ RequestId?: string;
2304
+ }
2305
+ /**
2306
+ * 命名空间对象
2307
+ */
2308
+ export interface TemNamespaceInfo {
1349
2309
  /**
1350
2310
  * 环境id
1351
2311
  */
1352
2312
  EnvironmentId: string;
1353
2313
  /**
1354
- * 应用id
2314
+ * 渠道
1355
2315
  */
1356
- ApplicationId: string;
2316
+ Channel: string;
1357
2317
  /**
1358
- * 名字
2318
+ * 环境名称
1359
2319
  */
1360
- PodName: string;
2320
+ EnvironmentName: string;
1361
2321
  /**
1362
- * 单页条数
2322
+ * 区域名称
2323
+ */
2324
+ Region: string;
2325
+ /**
2326
+ * 环境描述
2327
+ 注意:此字段可能返回 null,表示取不到有效值。
2328
+ */
2329
+ Description: string;
2330
+ /**
2331
+ * 状态,1:已销毁;0:正常
2332
+ */
2333
+ Status: number;
2334
+ /**
2335
+ * vpc网络
2336
+ */
2337
+ Vpc: string;
2338
+ /**
2339
+ * 创建时间
2340
+ */
2341
+ CreateDate: string;
2342
+ /**
2343
+ * 修改时间
2344
+ */
2345
+ ModifyDate: string;
2346
+ /**
2347
+ * 修改人
2348
+ */
2349
+ Modifier: string;
2350
+ /**
2351
+ * 创建人
2352
+ */
2353
+ Creator: string;
2354
+ /**
2355
+ * 应用数
2356
+ */
2357
+ ApplicationNum: number;
2358
+ /**
2359
+ * 运行实例数
2360
+ */
2361
+ RunInstancesNum: number;
2362
+ /**
2363
+ * 子网络
2364
+ */
2365
+ SubnetId: string;
2366
+ /**
2367
+ * 环境集群 status
2368
+ */
2369
+ ClusterStatus: string;
2370
+ /**
2371
+ * 是否开启tsw
2372
+ */
2373
+ EnableTswTraceService: boolean;
2374
+ /**
2375
+ * 环境锁,1为上锁,0则为上锁
1363
2376
  */
1364
- Limit?: number;
2377
+ Locked: number;
2378
+ }
2379
+ /**
2380
+ * CreateApplicationAutoscaler请求参数结构体
2381
+ */
2382
+ export interface CreateApplicationAutoscalerRequest {
1365
2383
  /**
1366
- * 分页下标
2384
+ * 服务id
1367
2385
  */
1368
- Offset?: number;
2386
+ ApplicationId: string;
1369
2387
  /**
1370
- * pod状态
2388
+ * 环境ID
1371
2389
  */
1372
- Status?: string;
2390
+ EnvironmentId: string;
1373
2391
  /**
1374
2392
  * 来源渠道
1375
2393
  */
1376
2394
  SourceChannel?: number;
2395
+ /**
2396
+ * 弹性伸缩策略
2397
+ */
2398
+ Autoscaler?: Autoscaler;
1377
2399
  }
1378
2400
  /**
1379
- * DescribeDeployApplicationDetail返回参数结构体
2401
+ * 配置
1380
2402
  */
1381
- export interface DescribeDeployApplicationDetailResponse {
2403
+ export interface ConfigData {
1382
2404
  /**
1383
- * 分批发布结果详情
2405
+ * 配置名称
1384
2406
  */
1385
- Result: TemDeployApplicationDetailInfo;
2407
+ Name: string;
1386
2408
  /**
1387
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2409
+ * 创建时间
1388
2410
  */
1389
- RequestId?: string;
1390
- }
1391
- /**
1392
- * Ingress Rule Value 配置
1393
- */
1394
- export interface IngressRuleValue {
2411
+ CreateTime: string;
1395
2412
  /**
1396
- * rule 整体配置
2413
+ * 关联的服务列表
1397
2414
  */
1398
- Paths: Array<IngressRulePath>;
2415
+ RelatedApplications: Array<TemService>;
2416
+ /**
2417
+ * 配置条目
2418
+ */
2419
+ Data: Array<Pair>;
1399
2420
  }
1400
2421
  /**
1401
2422
  * ResumeDeployApplication请求参数结构体
@@ -1410,6 +2431,23 @@ export interface ResumeDeployApplicationRequest {
1410
2431
  */
1411
2432
  EnvironmentId?: string;
1412
2433
  }
2434
+ /**
2435
+ * DescribeConfigData请求参数结构体
2436
+ */
2437
+ export interface DescribeConfigDataRequest {
2438
+ /**
2439
+ * 环境 ID
2440
+ */
2441
+ EnvironmentId: string;
2442
+ /**
2443
+ * 配置名
2444
+ */
2445
+ Name: string;
2446
+ /**
2447
+ * 来源渠道
2448
+ */
2449
+ SourceChannel?: number;
2450
+ }
1413
2451
  /**
1414
2452
  * 挂载配置信息
1415
2453
  */
@@ -1431,6 +2469,45 @@ export interface MountedSettingConf {
1431
2469
  */
1432
2470
  SecretDataName?: string;
1433
2471
  }
2472
+ /**
2473
+ * CreateLogConfig返回参数结构体
2474
+ */
2475
+ export interface CreateLogConfigResponse {
2476
+ /**
2477
+ * 创建是否成功
2478
+ */
2479
+ Result: boolean;
2480
+ /**
2481
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2482
+ */
2483
+ RequestId?: string;
2484
+ }
2485
+ /**
2486
+ * DescribeConfigDataList返回参数结构体
2487
+ */
2488
+ export interface DescribeConfigDataListResponse {
2489
+ /**
2490
+ * 配置列表
2491
+ */
2492
+ Result: DescribeConfigDataListPage;
2493
+ /**
2494
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2495
+ */
2496
+ RequestId?: string;
2497
+ }
2498
+ /**
2499
+ * DescribePagedLogConfigList返回参数结构体
2500
+ */
2501
+ export interface DescribePagedLogConfigListResponse {
2502
+ /**
2503
+ * 日志收集配置列表
2504
+ */
2505
+ Result: LogConfigListPage;
2506
+ /**
2507
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2508
+ */
2509
+ RequestId?: string;
2510
+ }
1434
2511
  /**
1435
2512
  * 健康检查配置
1436
2513
  */
@@ -1513,6 +2590,104 @@ export interface DeployServiceBatchDetail {
1513
2590
  */
1514
2591
  NextBatchStartTime?: number;
1515
2592
  }
2593
+ /**
2594
+ * 弹性伸缩策略组合
2595
+ */
2596
+ export interface Autoscaler {
2597
+ /**
2598
+ * 弹性伸缩最小实例数
2599
+ */
2600
+ MinReplicas: number;
2601
+ /**
2602
+ * 弹性伸缩最大实例数
2603
+ */
2604
+ MaxReplicas: number;
2605
+ /**
2606
+ * 指标弹性伸缩策略
2607
+ 注意:此字段可能返回 null,表示取不到有效值。
2608
+ */
2609
+ HorizontalAutoscaler?: Array<HorizontalAutoscaler>;
2610
+ /**
2611
+ * 定时弹性伸缩策略
2612
+ 注意:此字段可能返回 null,表示取不到有效值。
2613
+ */
2614
+ CronHorizontalAutoscaler?: Array<CronHorizontalAutoscaler>;
2615
+ /**
2616
+ * 弹性伸缩ID
2617
+ 注意:此字段可能返回 null,表示取不到有效值。
2618
+ */
2619
+ AutoscalerId?: string;
2620
+ /**
2621
+ * 弹性伸缩名称
2622
+ 注意:此字段可能返回 null,表示取不到有效值。
2623
+ */
2624
+ AutoscalerName?: string;
2625
+ /**
2626
+ * 弹性伸缩描述
2627
+ 注意:此字段可能返回 null,表示取不到有效值。
2628
+ */
2629
+ Description?: string;
2630
+ /**
2631
+ * 创建日期
2632
+ 注意:此字段可能返回 null,表示取不到有效值。
2633
+ */
2634
+ CreateDate?: string;
2635
+ /**
2636
+ * 修改时间
2637
+ 注意:此字段可能返回 null,表示取不到有效值。
2638
+ */
2639
+ ModifyDate?: string;
2640
+ /**
2641
+ * 启用时间
2642
+ 注意:此字段可能返回 null,表示取不到有效值。
2643
+ */
2644
+ EnableDate?: string;
2645
+ /**
2646
+ * 是否启用
2647
+ 注意:此字段可能返回 null,表示取不到有效值。
2648
+ */
2649
+ Enabled?: boolean;
2650
+ }
2651
+ /**
2652
+ * CreateConfigData请求参数结构体
2653
+ */
2654
+ export interface CreateConfigDataRequest {
2655
+ /**
2656
+ * 环境 ID
2657
+ */
2658
+ EnvironmentId: string;
2659
+ /**
2660
+ * 配置名
2661
+ */
2662
+ Name: string;
2663
+ /**
2664
+ * 来源渠道
2665
+ */
2666
+ SourceChannel?: number;
2667
+ /**
2668
+ * 配置信息
2669
+ */
2670
+ Data?: Array<Pair>;
2671
+ }
2672
+ /**
2673
+ * 配置信息的分页列表
2674
+ */
2675
+ export interface DescribeConfigDataListPage {
2676
+ /**
2677
+ * 记录
2678
+ */
2679
+ Records: Array<ConfigData>;
2680
+ /**
2681
+ * 分页游标,用以查询下一页
2682
+ 注意:此字段可能返回 null,表示取不到有效值。
2683
+ */
2684
+ ContinueToken: string;
2685
+ /**
2686
+ * 剩余数目
2687
+ 注意:此字段可能返回 null,表示取不到有效值。
2688
+ */
2689
+ RemainingCount: number;
2690
+ }
1516
2691
  /**
1517
2692
  * DeployApplication请求参数结构体
1518
2693
  */
@@ -1688,23 +2863,58 @@ export interface DeployApplicationRequest {
1688
2863
  */
1689
2864
  OsFlavour?: string;
1690
2865
  /**
1691
- * 是否开启prometheus 业务指标监控
2866
+ * metrics业务指标监控配置
1692
2867
  */
1693
2868
  EnablePrometheusConf?: EnablePrometheusConf;
1694
2869
  /**
1695
- * 1:开始apm采集(skywalking);
2870
+ * 1:开始自动apm采集(skywalking);
1696
2871
  0:关闭apm采集;
1697
2872
  */
1698
2873
  EnableTracing?: number;
2874
+ /**
2875
+ * 1:开始自动metrics采集(open-telemetry);
2876
+ 0:关闭metrics采集;
2877
+ */
2878
+ EnableMetrics?: number;
1699
2879
  }
1700
2880
  /**
1701
- * ModifyIngress返回参数结构体
2881
+ * DescribeApplicationAutoscalerList返回参数结构体
1702
2882
  */
1703
- export interface ModifyIngressResponse {
2883
+ export interface DescribeApplicationAutoscalerListResponse {
1704
2884
  /**
1705
- * 创建成功
2885
+ * 弹性伸缩策略组合
1706
2886
  注意:此字段可能返回 null,表示取不到有效值。
1707
2887
  */
2888
+ Result: Array<Autoscaler>;
2889
+ /**
2890
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2891
+ */
2892
+ RequestId?: string;
2893
+ }
2894
+ /**
2895
+ * DestroyConfigData请求参数结构体
2896
+ */
2897
+ export interface DestroyConfigDataRequest {
2898
+ /**
2899
+ * 环境 ID
2900
+ */
2901
+ EnvironmentId: string;
2902
+ /**
2903
+ * 配置名
2904
+ */
2905
+ Name: string;
2906
+ /**
2907
+ * 来源渠道
2908
+ */
2909
+ SourceChannel?: number;
2910
+ }
2911
+ /**
2912
+ * DestroyConfigData返回参数结构体
2913
+ */
2914
+ export interface DestroyConfigDataResponse {
2915
+ /**
2916
+ * 返回结果
2917
+ */
1708
2918
  Result: boolean;
1709
2919
  /**
1710
2920
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
@@ -1741,40 +2951,21 @@ export interface DescribeApplicationsRequest {
1741
2951
  Keyword?: string;
1742
2952
  }
1743
2953
  /**
1744
- * DescribeApplicationPods请求参数结构体
2954
+ * DescribeApplicationInfo请求参数结构体
1745
2955
  */
1746
- export interface DescribeApplicationPodsRequest {
1747
- /**
1748
- * 环境id
1749
- */
1750
- EnvironmentId: string;
2956
+ export interface DescribeApplicationInfoRequest {
1751
2957
  /**
1752
- * 应用id
2958
+ * 服务版本ID
1753
2959
  */
1754
2960
  ApplicationId: string;
1755
- /**
1756
- * 单页条数,默认值20
1757
- */
1758
- Limit?: number;
1759
- /**
1760
- * 分页下标,默认值0
1761
- */
1762
- Offset?: number;
1763
- /**
1764
- * 实例状态
1765
- - Running
1766
- - Pending
1767
- - Error
1768
- */
1769
- Status?: string;
1770
- /**
1771
- * 实例名字
1772
- */
1773
- PodName?: string;
1774
2961
  /**
1775
2962
  * 来源渠道
1776
2963
  */
1777
2964
  SourceChannel?: number;
2965
+ /**
2966
+ * 环境ID
2967
+ */
2968
+ EnvironmentId?: string;
1778
2969
  }
1779
2970
  /**
1780
2971
  * CreateApplication请求参数结构体
@@ -1924,60 +3115,76 @@ export interface UseDefaultRepoParameters {
1924
3115
  EnterpriseInstanceType: string;
1925
3116
  }
1926
3117
  /**
1927
- * GenerateApplicationPackageDownloadUrl返回参数结构体
3118
+ * 定时伸缩策略明细
1928
3119
  */
1929
- export interface GenerateApplicationPackageDownloadUrlResponse {
3120
+ export interface CronHorizontalAutoscalerSchedule {
1930
3121
  /**
1931
- * 包下载临时链接
1932
- 注意:此字段可能返回 null,表示取不到有效值。
3122
+ * 触发事件,小时分钟,用:分割
3123
+ 例如
3124
+ 00:00(零点零分触发)
1933
3125
  */
1934
- Result: string;
3126
+ StartAt: string;
1935
3127
  /**
1936
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1937
- */
1938
- RequestId?: string;
3128
+ * 目标实例数(不大于50)
3129
+ 注意:此字段可能返回 null,表示取不到有效值。
3130
+ */
3131
+ TargetReplicas?: number;
1939
3132
  }
1940
3133
  /**
1941
- * Ingress 规则 backend 配置
3134
+ * ModifyEnvironment请求参数结构体
1942
3135
  */
1943
- export interface IngressRuleBackend {
3136
+ export interface ModifyEnvironmentRequest {
1944
3137
  /**
1945
- * eks service 名
3138
+ * 环境id
1946
3139
  */
1947
- ServiceName: string;
3140
+ EnvironmentId: string;
1948
3141
  /**
1949
- * eks service 端口
3142
+ * 环境名称
1950
3143
  */
1951
- ServicePort: number;
1952
- }
1953
- /**
1954
- * 分批发布策略配置
1955
- */
1956
- export interface DeployStrategyConf {
3144
+ EnvironmentName?: string;
1957
3145
  /**
1958
- * 总分批数
3146
+ * 环境描述
1959
3147
  */
1960
- TotalBatchCount?: number;
3148
+ Description?: string;
1961
3149
  /**
1962
- * beta分批实例数
3150
+ * 私有网络名称
1963
3151
  */
1964
- BetaBatchNum?: number;
3152
+ Vpc?: string;
1965
3153
  /**
1966
- * 分批策略:0-全自动,1-全手动,2-beta分批,beta批一定是手动的,3-首次发布
3154
+ * 子网网络
1967
3155
  */
1968
- DeployStrategyType?: number;
3156
+ SubnetIds?: Array<string>;
3157
+ /**
3158
+ * 来源渠道
3159
+ */
3160
+ SourceChannel?: number;
3161
+ }
3162
+ /**
3163
+ * GenerateApplicationPackageDownloadUrl返回参数结构体
3164
+ */
3165
+ export interface GenerateApplicationPackageDownloadUrlResponse {
3166
+ /**
3167
+ * 包下载临时链接
3168
+ 注意:此字段可能返回 null,表示取不到有效值。
3169
+ */
3170
+ Result: string;
1969
3171
  /**
1970
- * 每批暂停间隔
3172
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1971
3173
  */
1972
- BatchInterval?: number;
3174
+ RequestId?: string;
3175
+ }
3176
+ /**
3177
+ * Ingress 规则 backend 配置
3178
+ */
3179
+ export interface IngressRuleBackend {
1973
3180
  /**
1974
- * 最小可用实例数
3181
+ * eks service 名
1975
3182
  */
1976
- MinAvailable?: number;
3183
+ ServiceName: string;
1977
3184
  /**
1978
- * 是否强制发布
3185
+ * eks service 端口
1979
3186
  */
1980
- Force?: boolean;
3187
+ ServicePort: number;
1981
3188
  }
1982
3189
  /**
1983
3190
  * DescribeIngress返回参数结构体
@@ -1992,6 +3199,21 @@ export interface DescribeIngressResponse {
1992
3199
  */
1993
3200
  RequestId?: string;
1994
3201
  }
3202
+ /**
3203
+ * 工作负载详情
3204
+ */
3205
+ export interface WorkloadInfo {
3206
+ /**
3207
+ * 资源 ID
3208
+ 注意:此字段可能返回 null,表示取不到有效值。
3209
+ */
3210
+ ClusterId: string;
3211
+ /**
3212
+ * 应用名
3213
+ 注意:此字段可能返回 null,表示取不到有效值。
3214
+ */
3215
+ ApplicationName: string;
3216
+ }
1995
3217
  /**
1996
3218
  * Ingress Rule Path 配置
1997
3219
  */
@@ -2006,74 +3228,98 @@ export interface IngressRulePath {
2006
3228
  Backend: IngressRuleBackend;
2007
3229
  }
2008
3230
  /**
2009
- * 服务版本信息列表
3231
+ * Namespace 基础信息
2010
3232
  */
2011
- export interface ServiceVersionBrief {
3233
+ export interface NamespaceInfo {
2012
3234
  /**
2013
- * 版本名称
3235
+ * ID 信息
2014
3236
  */
2015
- VersionName: string;
3237
+ EnvironmentId: string;
2016
3238
  /**
2017
- * 状态
3239
+ * 名字(已弃用)
2018
3240
  */
2019
- Status: string;
3241
+ NamespaceName: string;
2020
3242
  /**
2021
- * 是否启动弹性 -- 已废弃
3243
+ * 地域
2022
3244
  */
2023
- EnableEs: number;
3245
+ Region: string;
2024
3246
  /**
2025
- * 当前实例
3247
+ * vpc id
2026
3248
  */
2027
- CurrentInstances: number;
3249
+ VpcId: string;
2028
3250
  /**
2029
- * version的id
3251
+ * subnet id 数组
2030
3252
  */
2031
- VersionId: string;
3253
+ SubnetIds: Array<string>;
2032
3254
  /**
2033
- * 日志输出配置 -- 已废弃
2034
- 注意:此字段可能返回 null,表示取不到有效值。
2035
- */
2036
- LogOutputConf: LogOutputConf;
3255
+ * 描述
3256
+ */
3257
+ Description: string;
2037
3258
  /**
2038
- * 期望实例
2039
- 注意:此字段可能返回 null,表示取不到有效值。
2040
- */
2041
- ExpectedInstances: number;
3259
+ * 创建时间
3260
+ */
3261
+ CreatedDate: string;
2042
3262
  /**
2043
- * 部署方式
3263
+ * 环境名称
2044
3264
  注意:此字段可能返回 null,表示取不到有效值。
2045
3265
  */
2046
- DeployMode: string;
3266
+ EnvironmentName: string;
2047
3267
  /**
2048
- * 建构任务ID
3268
+ * APM 资源 ID
2049
3269
  注意:此字段可能返回 null,表示取不到有效值。
2050
3270
  */
2051
- BuildTaskId: string;
3271
+ ApmInstanceId: string;
2052
3272
  /**
2053
- * 环境ID
3273
+ * 环境是否上锁,1为上锁,0则未上锁
2054
3274
  注意:此字段可能返回 null,表示取不到有效值。
2055
3275
  */
2056
- EnvironmentId: string;
3276
+ Locked: number;
3277
+ }
3278
+ /**
3279
+ * DescribeLogConfig返回参数结构体
3280
+ */
3281
+ export interface DescribeLogConfigResponse {
2057
3282
  /**
2058
- * 环境name
2059
- 注意:此字段可能返回 null,表示取不到有效值。
2060
- */
2061
- EnvironmentName: string;
3283
+ * 配置
3284
+ */
3285
+ Result: LogConfig;
2062
3286
  /**
2063
- * 服务ID
3287
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3288
+ */
3289
+ RequestId?: string;
3290
+ }
3291
+ /**
3292
+ * 服务端口映射条目
3293
+ */
3294
+ export interface ServicePortMappingItem {
3295
+ /**
3296
+ * 应用访问端口
2064
3297
  注意:此字段可能返回 null,表示取不到有效值。
2065
3298
  */
2066
- ApplicationId: string;
3299
+ Port?: number;
2067
3300
  /**
2068
- * 服务name
3301
+ * 应用监听端口
2069
3302
  注意:此字段可能返回 null,表示取不到有效值。
2070
3303
  */
2071
- ApplicationName: string;
3304
+ TargetPort?: number;
2072
3305
  /**
2073
- * 是否正在发布中
3306
+ * 协议类型
2074
3307
  注意:此字段可能返回 null,表示取不到有效值。
2075
3308
  */
2076
- UnderDeploying: boolean;
3309
+ Protocol?: string;
3310
+ }
3311
+ /**
3312
+ * RevertDeployApplication请求参数结构体
3313
+ */
3314
+ export interface RevertDeployApplicationRequest {
3315
+ /**
3316
+ * 需要回滚的服务id
3317
+ */
3318
+ ApplicationId?: string;
3319
+ /**
3320
+ * 需要回滚的服务所在环境id
3321
+ */
3322
+ EnvironmentId?: string;
2077
3323
  }
2078
3324
  /**
2079
3325
  * CreateApplication返回参数结构体
@@ -2089,34 +3335,29 @@ export interface CreateApplicationResponse {
2089
3335
  RequestId?: string;
2090
3336
  }
2091
3337
  /**
2092
- * 定时伸缩策略
3338
+ * 弹性伸缩策略
2093
3339
  */
2094
- export interface CronHorizontalAutoscaler {
3340
+ export interface HorizontalAutoscaler {
2095
3341
  /**
2096
- * 定时伸缩策略名称
3342
+ * 最小实例数(可以不传)
2097
3343
  */
2098
- Name?: string;
3344
+ MinReplicas?: number;
2099
3345
  /**
2100
- * 策略周期
2101
- * * *,三个范围,第一个是天,第二个是月,第三个是周,中间用空格隔开
2102
- 例子:
2103
- * * * (每天)
2104
- * * 0-3 (每周日到周三)
2105
- 1,11,21 * *(每个月1号,11号,21号)
2106
- */
2107
- Period?: string;
3346
+ * 最大实例数(可以不传)
3347
+ */
3348
+ MaxReplicas?: number;
2108
3349
  /**
2109
- * 定时伸缩策略明细
3350
+ * 指标度量(CPU or MEMORY)
2110
3351
  */
2111
- Schedules?: Array<CronHorizontalAutoscalerSchedule>;
3352
+ Metrics?: string;
2112
3353
  /**
2113
- * 是否启用
3354
+ * 阈值(百分比)
2114
3355
  */
2115
- Enabled?: boolean;
3356
+ Threshold?: number;
2116
3357
  /**
2117
- * 策略优先级,值越大优先级越高,0为最小值
3358
+ * 是否启用
2118
3359
  */
2119
- Priority?: number;
3360
+ Enabled?: boolean;
2120
3361
  }
2121
3362
  /**
2122
3363
  * 服务端口映射
@@ -2139,6 +3380,68 @@ export interface PortMapping {
2139
3380
  */
2140
3381
  ServiceName?: string;
2141
3382
  }
3383
+ /**
3384
+ * 日志收集配置
3385
+ */
3386
+ export interface LogConfig {
3387
+ /**
3388
+ * 名称
3389
+ */
3390
+ Name: string;
3391
+ /**
3392
+ * 收集类型,container_stdout 为标准输出;container_file 为文件;
3393
+ */
3394
+ InputType: string;
3395
+ /**
3396
+ * 日志集 ID
3397
+ 注意:此字段可能返回 null,表示取不到有效值。
3398
+ */
3399
+ LogsetId: string;
3400
+ /**
3401
+ * 日志主题 ID
3402
+ 注意:此字段可能返回 null,表示取不到有效值。
3403
+ */
3404
+ TopicId: string;
3405
+ /**
3406
+ * 日志提取模式,minimalist_log 为单行全文;multiline_log 为多行全文;
3407
+ */
3408
+ LogType: string;
3409
+ /**
3410
+ * 首行正则表达式,当LogType=multiline_log 时生效
3411
+ 注意:此字段可能返回 null,表示取不到有效值。
3412
+ */
3413
+ BeginningRegex: string;
3414
+ /**
3415
+ * 收集文件目录,当 InputType=container_file 时生效
3416
+ 注意:此字段可能返回 null,表示取不到有效值。
3417
+ */
3418
+ LogPath: string;
3419
+ /**
3420
+ * 收集文件名模式,当 InputType=container_file 时生效
3421
+ 注意:此字段可能返回 null,表示取不到有效值。
3422
+ */
3423
+ FilePattern: string;
3424
+ /**
3425
+ * 创建时间
3426
+ 注意:此字段可能返回 null,表示取不到有效值。
3427
+ */
3428
+ CreateDate: string;
3429
+ /**
3430
+ * 更新时间
3431
+ 注意:此字段可能返回 null,表示取不到有效值。
3432
+ */
3433
+ ModifyDate: string;
3434
+ /**
3435
+ * 应用 ID
3436
+ 注意:此字段可能返回 null,表示取不到有效值。
3437
+ */
3438
+ ApplicationId: string;
3439
+ /**
3440
+ * 应用名
3441
+ 注意:此字段可能返回 null,表示取不到有效值。
3442
+ */
3443
+ ApplicationName: string;
3444
+ }
2142
3445
  /**
2143
3446
  * ModifyEnvironment返回参数结构体
2144
3447
  */
@@ -2174,6 +3477,65 @@ export interface ModifyApplicationReplicasRequest {
2174
3477
  */
2175
3478
  SourceChannel?: number;
2176
3479
  }
3480
+ /**
3481
+ * ModifyLogConfig请求参数结构体
3482
+ */
3483
+ export interface ModifyLogConfigRequest {
3484
+ /**
3485
+ * 环境 ID
3486
+ */
3487
+ EnvironmentId: string;
3488
+ /**
3489
+ * 配置名
3490
+ */
3491
+ Name: string;
3492
+ /**
3493
+ * 日志收集配置信息
3494
+ */
3495
+ Data?: LogConfig;
3496
+ /**
3497
+ * 应用 ID
3498
+ */
3499
+ ApplicationId?: string;
3500
+ }
3501
+ /**
3502
+ * DestroyLogConfig请求参数结构体
3503
+ */
3504
+ export interface DestroyLogConfigRequest {
3505
+ /**
3506
+ * 环境 ID
3507
+ */
3508
+ EnvironmentId: string;
3509
+ /**
3510
+ * 配置名
3511
+ */
3512
+ Name: string;
3513
+ /**
3514
+ * 应用 ID
3515
+ */
3516
+ ApplicationId?: string;
3517
+ }
3518
+ /**
3519
+ * EnableApplicationAutoscaler请求参数结构体
3520
+ */
3521
+ export interface EnableApplicationAutoscalerRequest {
3522
+ /**
3523
+ * 服务id
3524
+ */
3525
+ ApplicationId: string;
3526
+ /**
3527
+ * 环境ID
3528
+ */
3529
+ EnvironmentId: string;
3530
+ /**
3531
+ * 来源渠道
3532
+ */
3533
+ SourceChannel?: number;
3534
+ /**
3535
+ * 弹性伸缩策略ID
3536
+ */
3537
+ AutoscalerId?: string;
3538
+ }
2177
3539
  /**
2178
3540
  * eks service info
2179
3541
  */
@@ -2233,47 +3595,31 @@ export interface EksService {
2233
3595
  注意:此字段可能返回 null,表示取不到有效值。
2234
3596
  */
2235
3597
  PortMappings?: Array<PortMapping>;
2236
- }
2237
- /**
2238
- * 定时伸缩策略明细
2239
- */
2240
- export interface CronHorizontalAutoscalerSchedule {
2241
3598
  /**
2242
- * 触发事件,小时分钟,用:分割
2243
- 例如
2244
- 00:00(零点零分触发)
3599
+ * 每种类型访问配置详情
3600
+ 注意:此字段可能返回 null,表示取不到有效值。
2245
3601
  */
2246
- StartAt: string;
3602
+ ServicePortMappingList?: Array<ServicePortMapping>;
2247
3603
  /**
2248
- * 目标实例数(不大于50)
3604
+ * 刷新复写所有类型
2249
3605
  注意:此字段可能返回 null,表示取不到有效值。
2250
3606
  */
2251
- TargetReplicas?: number;
2252
- }
2253
- /**
2254
- * 弹性伸缩策略
2255
- */
2256
- export interface HorizontalAutoscaler {
2257
- /**
2258
- * 最小实例数(可以不传)
2259
- */
2260
- MinReplicas?: number;
2261
- /**
2262
- * 最大实例数(可以不传)
2263
- */
2264
- MaxReplicas?: number;
3607
+ FlushAll?: boolean;
2265
3608
  /**
2266
- * 指标度量(CPU or MEMORY)
2267
- */
2268
- Metrics?: string;
3609
+ * 1: 下次部署自动注入注册中心信息;0:不注入
3610
+ 注意:此字段可能返回 null,表示取不到有效值。
3611
+ */
3612
+ EnableRegistryNextDeploy?: number;
2269
3613
  /**
2270
- * 阈值(百分比)
2271
- */
2272
- Threshold?: number;
3614
+ * 返回应用id
3615
+ 注意:此字段可能返回 null,表示取不到有效值。
3616
+ */
3617
+ ApplicationId?: string;
2273
3618
  /**
2274
- * 是否启用
2275
- */
2276
- Enabled?: boolean;
3619
+ * 所有服务IP是否已经ready
3620
+ 注意:此字段可能返回 null,表示取不到有效值。
3621
+ */
3622
+ AllIpDone?: boolean;
2277
3623
  }
2278
3624
  /**
2279
3625
  * 键值对