tencentcloud-sdk-tem 3.0.371 → 3.0.380
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/tencentcloud-sdk-tem.rb +3 -3
- data/lib/v20210701/client.rb +362 -2
- data/lib/v20210701/models.rb +1732 -88
- metadata +11 -11
data/lib/v20210701/models.rb
CHANGED
@@ -17,6 +17,127 @@
|
|
17
17
|
module TencentCloud
|
18
18
|
module Tem
|
19
19
|
module V20210701
|
20
|
+
# 弹性伸缩策略组合
|
21
|
+
class Autoscaler < TencentCloud::Common::AbstractModel
|
22
|
+
# @param MinReplicas: 弹性伸缩最小实例数
|
23
|
+
# @type MinReplicas: Integer
|
24
|
+
# @param MaxReplicas: 弹性伸缩最大实例数
|
25
|
+
# @type MaxReplicas: Integer
|
26
|
+
# @param HorizontalAutoscaler: 指标弹性伸缩策略
|
27
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
28
|
+
# @type HorizontalAutoscaler: Array
|
29
|
+
# @param CronHorizontalAutoscaler: 定时弹性伸缩策略
|
30
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
31
|
+
# @type CronHorizontalAutoscaler: Array
|
32
|
+
# @param AutoscalerId: 弹性伸缩ID
|
33
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
34
|
+
# @type AutoscalerId: String
|
35
|
+
# @param AutoscalerName: 弹性伸缩名称
|
36
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
37
|
+
# @type AutoscalerName: String
|
38
|
+
# @param Description: 弹性伸缩描述
|
39
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
40
|
+
# @type Description: String
|
41
|
+
# @param CreateDate: 创建日期
|
42
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
43
|
+
# @type CreateDate: String
|
44
|
+
# @param ModifyDate: 修改时间
|
45
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
46
|
+
# @type ModifyDate: String
|
47
|
+
# @param EnableDate: 启用时间
|
48
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
49
|
+
# @type EnableDate: String
|
50
|
+
# @param Enabled: 是否启用
|
51
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
52
|
+
# @type Enabled: Boolean
|
53
|
+
|
54
|
+
attr_accessor :MinReplicas, :MaxReplicas, :HorizontalAutoscaler, :CronHorizontalAutoscaler, :AutoscalerId, :AutoscalerName, :Description, :CreateDate, :ModifyDate, :EnableDate, :Enabled
|
55
|
+
|
56
|
+
def initialize(minreplicas=nil, maxreplicas=nil, horizontalautoscaler=nil, cronhorizontalautoscaler=nil, autoscalerid=nil, autoscalername=nil, description=nil, createdate=nil, modifydate=nil, enabledate=nil, enabled=nil)
|
57
|
+
@MinReplicas = minreplicas
|
58
|
+
@MaxReplicas = maxreplicas
|
59
|
+
@HorizontalAutoscaler = horizontalautoscaler
|
60
|
+
@CronHorizontalAutoscaler = cronhorizontalautoscaler
|
61
|
+
@AutoscalerId = autoscalerid
|
62
|
+
@AutoscalerName = autoscalername
|
63
|
+
@Description = description
|
64
|
+
@CreateDate = createdate
|
65
|
+
@ModifyDate = modifydate
|
66
|
+
@EnableDate = enabledate
|
67
|
+
@Enabled = enabled
|
68
|
+
end
|
69
|
+
|
70
|
+
def deserialize(params)
|
71
|
+
@MinReplicas = params['MinReplicas']
|
72
|
+
@MaxReplicas = params['MaxReplicas']
|
73
|
+
unless params['HorizontalAutoscaler'].nil?
|
74
|
+
@HorizontalAutoscaler = []
|
75
|
+
params['HorizontalAutoscaler'].each do |i|
|
76
|
+
horizontalautoscaler_tmp = HorizontalAutoscaler.new
|
77
|
+
horizontalautoscaler_tmp.deserialize(i)
|
78
|
+
@HorizontalAutoscaler << horizontalautoscaler_tmp
|
79
|
+
end
|
80
|
+
end
|
81
|
+
unless params['CronHorizontalAutoscaler'].nil?
|
82
|
+
@CronHorizontalAutoscaler = []
|
83
|
+
params['CronHorizontalAutoscaler'].each do |i|
|
84
|
+
cronhorizontalautoscaler_tmp = CronHorizontalAutoscaler.new
|
85
|
+
cronhorizontalautoscaler_tmp.deserialize(i)
|
86
|
+
@CronHorizontalAutoscaler << cronhorizontalautoscaler_tmp
|
87
|
+
end
|
88
|
+
end
|
89
|
+
@AutoscalerId = params['AutoscalerId']
|
90
|
+
@AutoscalerName = params['AutoscalerName']
|
91
|
+
@Description = params['Description']
|
92
|
+
@CreateDate = params['CreateDate']
|
93
|
+
@ModifyDate = params['ModifyDate']
|
94
|
+
@EnableDate = params['EnableDate']
|
95
|
+
@Enabled = params['Enabled']
|
96
|
+
end
|
97
|
+
end
|
98
|
+
|
99
|
+
# 配置
|
100
|
+
class ConfigData < TencentCloud::Common::AbstractModel
|
101
|
+
# @param Name: 配置名称
|
102
|
+
# @type Name: String
|
103
|
+
# @param CreateTime: 创建时间
|
104
|
+
# @type CreateTime: String
|
105
|
+
# @param RelatedApplications: 关联的服务列表
|
106
|
+
# @type RelatedApplications: Array
|
107
|
+
# @param Data: 配置条目
|
108
|
+
# @type Data: Array
|
109
|
+
|
110
|
+
attr_accessor :Name, :CreateTime, :RelatedApplications, :Data
|
111
|
+
|
112
|
+
def initialize(name=nil, createtime=nil, relatedapplications=nil, data=nil)
|
113
|
+
@Name = name
|
114
|
+
@CreateTime = createtime
|
115
|
+
@RelatedApplications = relatedapplications
|
116
|
+
@Data = data
|
117
|
+
end
|
118
|
+
|
119
|
+
def deserialize(params)
|
120
|
+
@Name = params['Name']
|
121
|
+
@CreateTime = params['CreateTime']
|
122
|
+
unless params['RelatedApplications'].nil?
|
123
|
+
@RelatedApplications = []
|
124
|
+
params['RelatedApplications'].each do |i|
|
125
|
+
temservice_tmp = TemService.new
|
126
|
+
temservice_tmp.deserialize(i)
|
127
|
+
@RelatedApplications << temservice_tmp
|
128
|
+
end
|
129
|
+
end
|
130
|
+
unless params['Data'].nil?
|
131
|
+
@Data = []
|
132
|
+
params['Data'].each do |i|
|
133
|
+
pair_tmp = Pair.new
|
134
|
+
pair_tmp.deserialize(i)
|
135
|
+
@Data << pair_tmp
|
136
|
+
end
|
137
|
+
end
|
138
|
+
end
|
139
|
+
end
|
140
|
+
|
20
141
|
# Cos token
|
21
142
|
class CosToken < TencentCloud::Common::AbstractModel
|
22
143
|
# @param RequestId: 唯一请求 ID
|
@@ -65,6 +186,58 @@ module TencentCloud
|
|
65
186
|
end
|
66
187
|
end
|
67
188
|
|
189
|
+
# CreateApplicationAutoscaler请求参数结构体
|
190
|
+
class CreateApplicationAutoscalerRequest < TencentCloud::Common::AbstractModel
|
191
|
+
# @param ApplicationId: 服务id
|
192
|
+
# @type ApplicationId: String
|
193
|
+
# @param EnvironmentId: 环境ID
|
194
|
+
# @type EnvironmentId: String
|
195
|
+
# @param SourceChannel: 来源渠道
|
196
|
+
# @type SourceChannel: Integer
|
197
|
+
# @param Autoscaler: 弹性伸缩策略
|
198
|
+
# @type Autoscaler: :class:`Tencentcloud::Tem.v20210701.models.Autoscaler`
|
199
|
+
|
200
|
+
attr_accessor :ApplicationId, :EnvironmentId, :SourceChannel, :Autoscaler
|
201
|
+
|
202
|
+
def initialize(applicationid=nil, environmentid=nil, sourcechannel=nil, autoscaler=nil)
|
203
|
+
@ApplicationId = applicationid
|
204
|
+
@EnvironmentId = environmentid
|
205
|
+
@SourceChannel = sourcechannel
|
206
|
+
@Autoscaler = autoscaler
|
207
|
+
end
|
208
|
+
|
209
|
+
def deserialize(params)
|
210
|
+
@ApplicationId = params['ApplicationId']
|
211
|
+
@EnvironmentId = params['EnvironmentId']
|
212
|
+
@SourceChannel = params['SourceChannel']
|
213
|
+
unless params['Autoscaler'].nil?
|
214
|
+
@Autoscaler = Autoscaler.new
|
215
|
+
@Autoscaler.deserialize(params['Autoscaler'])
|
216
|
+
end
|
217
|
+
end
|
218
|
+
end
|
219
|
+
|
220
|
+
# CreateApplicationAutoscaler返回参数结构体
|
221
|
+
class CreateApplicationAutoscalerResponse < TencentCloud::Common::AbstractModel
|
222
|
+
# @param Result: 弹性伸缩策略组合ID
|
223
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
224
|
+
# @type Result: String
|
225
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
226
|
+
# @type RequestId: String
|
227
|
+
|
228
|
+
attr_accessor :Result, :RequestId
|
229
|
+
|
230
|
+
def initialize(result=nil, requestid=nil)
|
231
|
+
@Result = result
|
232
|
+
@RequestId = requestid
|
233
|
+
end
|
234
|
+
|
235
|
+
def deserialize(params)
|
236
|
+
@Result = params['Result']
|
237
|
+
@RequestId = params['RequestId']
|
238
|
+
end
|
239
|
+
end
|
240
|
+
|
68
241
|
# CreateApplication请求参数结构体
|
69
242
|
class CreateApplicationRequest < TencentCloud::Common::AbstractModel
|
70
243
|
# @param ApplicationName: 应用名
|
@@ -157,6 +330,61 @@ module TencentCloud
|
|
157
330
|
end
|
158
331
|
end
|
159
332
|
|
333
|
+
# CreateConfigData请求参数结构体
|
334
|
+
class CreateConfigDataRequest < TencentCloud::Common::AbstractModel
|
335
|
+
# @param EnvironmentId: 环境 ID
|
336
|
+
# @type EnvironmentId: String
|
337
|
+
# @param Name: 配置名
|
338
|
+
# @type Name: String
|
339
|
+
# @param SourceChannel: 来源渠道
|
340
|
+
# @type SourceChannel: Integer
|
341
|
+
# @param Data: 配置信息
|
342
|
+
# @type Data: Array
|
343
|
+
|
344
|
+
attr_accessor :EnvironmentId, :Name, :SourceChannel, :Data
|
345
|
+
|
346
|
+
def initialize(environmentid=nil, name=nil, sourcechannel=nil, data=nil)
|
347
|
+
@EnvironmentId = environmentid
|
348
|
+
@Name = name
|
349
|
+
@SourceChannel = sourcechannel
|
350
|
+
@Data = data
|
351
|
+
end
|
352
|
+
|
353
|
+
def deserialize(params)
|
354
|
+
@EnvironmentId = params['EnvironmentId']
|
355
|
+
@Name = params['Name']
|
356
|
+
@SourceChannel = params['SourceChannel']
|
357
|
+
unless params['Data'].nil?
|
358
|
+
@Data = []
|
359
|
+
params['Data'].each do |i|
|
360
|
+
pair_tmp = Pair.new
|
361
|
+
pair_tmp.deserialize(i)
|
362
|
+
@Data << pair_tmp
|
363
|
+
end
|
364
|
+
end
|
365
|
+
end
|
366
|
+
end
|
367
|
+
|
368
|
+
# CreateConfigData返回参数结构体
|
369
|
+
class CreateConfigDataResponse < TencentCloud::Common::AbstractModel
|
370
|
+
# @param Result: 创建是否成功
|
371
|
+
# @type Result: Boolean
|
372
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
373
|
+
# @type RequestId: String
|
374
|
+
|
375
|
+
attr_accessor :Result, :RequestId
|
376
|
+
|
377
|
+
def initialize(result=nil, requestid=nil)
|
378
|
+
@Result = result
|
379
|
+
@RequestId = requestid
|
380
|
+
end
|
381
|
+
|
382
|
+
def deserialize(params)
|
383
|
+
@Result = params['Result']
|
384
|
+
@RequestId = params['RequestId']
|
385
|
+
end
|
386
|
+
end
|
387
|
+
|
160
388
|
# CreateCosToken请求参数结构体
|
161
389
|
class CreateCosTokenRequest < TencentCloud::Common::AbstractModel
|
162
390
|
# @param ApplicationId: 应用ID
|
@@ -274,6 +502,78 @@ module TencentCloud
|
|
274
502
|
end
|
275
503
|
end
|
276
504
|
|
505
|
+
# CreateLogConfig请求参数结构体
|
506
|
+
class CreateLogConfigRequest < TencentCloud::Common::AbstractModel
|
507
|
+
# @param EnvironmentId: 环境 ID
|
508
|
+
# @type EnvironmentId: String
|
509
|
+
# @param Name: 配置名
|
510
|
+
# @type Name: String
|
511
|
+
# @param InputType: 收集类型,container_stdout 为标准输出;container_file 为文件;
|
512
|
+
# @type InputType: String
|
513
|
+
# @param ApplicationId: 应用 ID
|
514
|
+
# @type ApplicationId: String
|
515
|
+
# @param LogsetId: 日志集 ID
|
516
|
+
# @type LogsetId: String
|
517
|
+
# @param TopicId: 日志主题 ID
|
518
|
+
# @type TopicId: String
|
519
|
+
# @param LogType: 日志提取模式,minimalist_log 为单行全文;multiline_log 为多行全文;
|
520
|
+
# @type LogType: String
|
521
|
+
# @param BeginningRegex: 首行正则表达式,当LogType=multiline_log 时生效
|
522
|
+
# @type BeginningRegex: String
|
523
|
+
# @param LogPath: 收集文件目录,当 InputType=container_file 时生效
|
524
|
+
# @type LogPath: String
|
525
|
+
# @param FilePattern: 收集文件名模式,当 InputType=container_file 时生效
|
526
|
+
# @type FilePattern: String
|
527
|
+
|
528
|
+
attr_accessor :EnvironmentId, :Name, :InputType, :ApplicationId, :LogsetId, :TopicId, :LogType, :BeginningRegex, :LogPath, :FilePattern
|
529
|
+
|
530
|
+
def initialize(environmentid=nil, name=nil, inputtype=nil, applicationid=nil, logsetid=nil, topicid=nil, logtype=nil, beginningregex=nil, logpath=nil, filepattern=nil)
|
531
|
+
@EnvironmentId = environmentid
|
532
|
+
@Name = name
|
533
|
+
@InputType = inputtype
|
534
|
+
@ApplicationId = applicationid
|
535
|
+
@LogsetId = logsetid
|
536
|
+
@TopicId = topicid
|
537
|
+
@LogType = logtype
|
538
|
+
@BeginningRegex = beginningregex
|
539
|
+
@LogPath = logpath
|
540
|
+
@FilePattern = filepattern
|
541
|
+
end
|
542
|
+
|
543
|
+
def deserialize(params)
|
544
|
+
@EnvironmentId = params['EnvironmentId']
|
545
|
+
@Name = params['Name']
|
546
|
+
@InputType = params['InputType']
|
547
|
+
@ApplicationId = params['ApplicationId']
|
548
|
+
@LogsetId = params['LogsetId']
|
549
|
+
@TopicId = params['TopicId']
|
550
|
+
@LogType = params['LogType']
|
551
|
+
@BeginningRegex = params['BeginningRegex']
|
552
|
+
@LogPath = params['LogPath']
|
553
|
+
@FilePattern = params['FilePattern']
|
554
|
+
end
|
555
|
+
end
|
556
|
+
|
557
|
+
# CreateLogConfig返回参数结构体
|
558
|
+
class CreateLogConfigResponse < TencentCloud::Common::AbstractModel
|
559
|
+
# @param Result: 创建是否成功
|
560
|
+
# @type Result: Boolean
|
561
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
562
|
+
# @type RequestId: String
|
563
|
+
|
564
|
+
attr_accessor :Result, :RequestId
|
565
|
+
|
566
|
+
def initialize(result=nil, requestid=nil)
|
567
|
+
@Result = result
|
568
|
+
@RequestId = requestid
|
569
|
+
end
|
570
|
+
|
571
|
+
def deserialize(params)
|
572
|
+
@Result = params['Result']
|
573
|
+
@RequestId = params['RequestId']
|
574
|
+
end
|
575
|
+
end
|
576
|
+
|
277
577
|
# CreateResource请求参数结构体
|
278
578
|
class CreateResourceRequest < TencentCloud::Common::AbstractModel
|
279
579
|
# @param EnvironmentId: 环境 Id
|
@@ -398,6 +698,55 @@ module TencentCloud
|
|
398
698
|
end
|
399
699
|
end
|
400
700
|
|
701
|
+
# DeleteApplicationAutoscaler请求参数结构体
|
702
|
+
class DeleteApplicationAutoscalerRequest < TencentCloud::Common::AbstractModel
|
703
|
+
# @param ApplicationId: 服务id
|
704
|
+
# @type ApplicationId: String
|
705
|
+
# @param EnvironmentId: 环境ID
|
706
|
+
# @type EnvironmentId: String
|
707
|
+
# @param SourceChannel: 来源渠道
|
708
|
+
# @type SourceChannel: Integer
|
709
|
+
# @param AutoscalerId: 弹性伸缩策略ID
|
710
|
+
# @type AutoscalerId: String
|
711
|
+
|
712
|
+
attr_accessor :ApplicationId, :EnvironmentId, :SourceChannel, :AutoscalerId
|
713
|
+
|
714
|
+
def initialize(applicationid=nil, environmentid=nil, sourcechannel=nil, autoscalerid=nil)
|
715
|
+
@ApplicationId = applicationid
|
716
|
+
@EnvironmentId = environmentid
|
717
|
+
@SourceChannel = sourcechannel
|
718
|
+
@AutoscalerId = autoscalerid
|
719
|
+
end
|
720
|
+
|
721
|
+
def deserialize(params)
|
722
|
+
@ApplicationId = params['ApplicationId']
|
723
|
+
@EnvironmentId = params['EnvironmentId']
|
724
|
+
@SourceChannel = params['SourceChannel']
|
725
|
+
@AutoscalerId = params['AutoscalerId']
|
726
|
+
end
|
727
|
+
end
|
728
|
+
|
729
|
+
# DeleteApplicationAutoscaler返回参数结构体
|
730
|
+
class DeleteApplicationAutoscalerResponse < TencentCloud::Common::AbstractModel
|
731
|
+
# @param Result: 是否成功
|
732
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
733
|
+
# @type Result: Boolean
|
734
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
735
|
+
# @type RequestId: String
|
736
|
+
|
737
|
+
attr_accessor :Result, :RequestId
|
738
|
+
|
739
|
+
def initialize(result=nil, requestid=nil)
|
740
|
+
@Result = result
|
741
|
+
@RequestId = requestid
|
742
|
+
end
|
743
|
+
|
744
|
+
def deserialize(params)
|
745
|
+
@Result = params['Result']
|
746
|
+
@RequestId = params['RequestId']
|
747
|
+
end
|
748
|
+
end
|
749
|
+
|
401
750
|
# DeleteApplication请求参数结构体
|
402
751
|
class DeleteApplicationRequest < TencentCloud::Common::AbstractModel
|
403
752
|
# @param ApplicationId: 服务Id
|
@@ -921,19 +1270,118 @@ module TencentCloud
|
|
921
1270
|
end
|
922
1271
|
end
|
923
1272
|
|
924
|
-
#
|
925
|
-
class
|
926
|
-
# @param
|
927
|
-
# @type EnvironmentId: String
|
928
|
-
# @param ApplicationId: 应用id
|
1273
|
+
# DescribeApplicationAutoscalerList请求参数结构体
|
1274
|
+
class DescribeApplicationAutoscalerListRequest < TencentCloud::Common::AbstractModel
|
1275
|
+
# @param ApplicationId: 服务id
|
929
1276
|
# @type ApplicationId: String
|
930
|
-
# @param
|
931
|
-
# @type
|
932
|
-
# @param
|
933
|
-
# @type
|
934
|
-
|
935
|
-
|
936
|
-
|
1277
|
+
# @param EnvironmentId: 环境ID
|
1278
|
+
# @type EnvironmentId: String
|
1279
|
+
# @param SourceChannel: 来源渠道
|
1280
|
+
# @type SourceChannel: Integer
|
1281
|
+
|
1282
|
+
attr_accessor :ApplicationId, :EnvironmentId, :SourceChannel
|
1283
|
+
|
1284
|
+
def initialize(applicationid=nil, environmentid=nil, sourcechannel=nil)
|
1285
|
+
@ApplicationId = applicationid
|
1286
|
+
@EnvironmentId = environmentid
|
1287
|
+
@SourceChannel = sourcechannel
|
1288
|
+
end
|
1289
|
+
|
1290
|
+
def deserialize(params)
|
1291
|
+
@ApplicationId = params['ApplicationId']
|
1292
|
+
@EnvironmentId = params['EnvironmentId']
|
1293
|
+
@SourceChannel = params['SourceChannel']
|
1294
|
+
end
|
1295
|
+
end
|
1296
|
+
|
1297
|
+
# DescribeApplicationAutoscalerList返回参数结构体
|
1298
|
+
class DescribeApplicationAutoscalerListResponse < TencentCloud::Common::AbstractModel
|
1299
|
+
# @param Result: 弹性伸缩策略组合
|
1300
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1301
|
+
# @type Result: Array
|
1302
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1303
|
+
# @type RequestId: String
|
1304
|
+
|
1305
|
+
attr_accessor :Result, :RequestId
|
1306
|
+
|
1307
|
+
def initialize(result=nil, requestid=nil)
|
1308
|
+
@Result = result
|
1309
|
+
@RequestId = requestid
|
1310
|
+
end
|
1311
|
+
|
1312
|
+
def deserialize(params)
|
1313
|
+
unless params['Result'].nil?
|
1314
|
+
@Result = []
|
1315
|
+
params['Result'].each do |i|
|
1316
|
+
autoscaler_tmp = Autoscaler.new
|
1317
|
+
autoscaler_tmp.deserialize(i)
|
1318
|
+
@Result << autoscaler_tmp
|
1319
|
+
end
|
1320
|
+
end
|
1321
|
+
@RequestId = params['RequestId']
|
1322
|
+
end
|
1323
|
+
end
|
1324
|
+
|
1325
|
+
# DescribeApplicationInfo请求参数结构体
|
1326
|
+
class DescribeApplicationInfoRequest < TencentCloud::Common::AbstractModel
|
1327
|
+
# @param ApplicationId: 服务版本ID
|
1328
|
+
# @type ApplicationId: String
|
1329
|
+
# @param SourceChannel: 来源渠道
|
1330
|
+
# @type SourceChannel: Integer
|
1331
|
+
# @param EnvironmentId: 环境ID
|
1332
|
+
# @type EnvironmentId: String
|
1333
|
+
|
1334
|
+
attr_accessor :ApplicationId, :SourceChannel, :EnvironmentId
|
1335
|
+
|
1336
|
+
def initialize(applicationid=nil, sourcechannel=nil, environmentid=nil)
|
1337
|
+
@ApplicationId = applicationid
|
1338
|
+
@SourceChannel = sourcechannel
|
1339
|
+
@EnvironmentId = environmentid
|
1340
|
+
end
|
1341
|
+
|
1342
|
+
def deserialize(params)
|
1343
|
+
@ApplicationId = params['ApplicationId']
|
1344
|
+
@SourceChannel = params['SourceChannel']
|
1345
|
+
@EnvironmentId = params['EnvironmentId']
|
1346
|
+
end
|
1347
|
+
end
|
1348
|
+
|
1349
|
+
# DescribeApplicationInfo返回参数结构体
|
1350
|
+
class DescribeApplicationInfoResponse < TencentCloud::Common::AbstractModel
|
1351
|
+
# @param Result: 返回结果
|
1352
|
+
# @type Result: :class:`Tencentcloud::Tem.v20210701.models.TemServiceVersionInfo`
|
1353
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1354
|
+
# @type RequestId: String
|
1355
|
+
|
1356
|
+
attr_accessor :Result, :RequestId
|
1357
|
+
|
1358
|
+
def initialize(result=nil, requestid=nil)
|
1359
|
+
@Result = result
|
1360
|
+
@RequestId = requestid
|
1361
|
+
end
|
1362
|
+
|
1363
|
+
def deserialize(params)
|
1364
|
+
unless params['Result'].nil?
|
1365
|
+
@Result = TemServiceVersionInfo.new
|
1366
|
+
@Result.deserialize(params['Result'])
|
1367
|
+
end
|
1368
|
+
@RequestId = params['RequestId']
|
1369
|
+
end
|
1370
|
+
end
|
1371
|
+
|
1372
|
+
# DescribeApplicationPods请求参数结构体
|
1373
|
+
class DescribeApplicationPodsRequest < TencentCloud::Common::AbstractModel
|
1374
|
+
# @param EnvironmentId: 环境id
|
1375
|
+
# @type EnvironmentId: String
|
1376
|
+
# @param ApplicationId: 应用id
|
1377
|
+
# @type ApplicationId: String
|
1378
|
+
# @param Limit: 单页条数,默认值20
|
1379
|
+
# @type Limit: Integer
|
1380
|
+
# @param Offset: 分页下标,默认值0
|
1381
|
+
# @type Offset: Integer
|
1382
|
+
# @param Status: 实例状态
|
1383
|
+
# - Running
|
1384
|
+
# - Pending
|
937
1385
|
# - Error
|
938
1386
|
# @type Status: String
|
939
1387
|
# @param PodName: 实例名字
|
@@ -1093,6 +1541,137 @@ module TencentCloud
|
|
1093
1541
|
end
|
1094
1542
|
end
|
1095
1543
|
|
1544
|
+
# 配置信息的分页列表
|
1545
|
+
class DescribeConfigDataListPage < TencentCloud::Common::AbstractModel
|
1546
|
+
# @param Records: 记录
|
1547
|
+
# @type Records: Array
|
1548
|
+
# @param ContinueToken: 分页游标,用以查询下一页
|
1549
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1550
|
+
# @type ContinueToken: String
|
1551
|
+
# @param RemainingCount: 剩余数目
|
1552
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1553
|
+
# @type RemainingCount: Integer
|
1554
|
+
|
1555
|
+
attr_accessor :Records, :ContinueToken, :RemainingCount
|
1556
|
+
|
1557
|
+
def initialize(records=nil, continuetoken=nil, remainingcount=nil)
|
1558
|
+
@Records = records
|
1559
|
+
@ContinueToken = continuetoken
|
1560
|
+
@RemainingCount = remainingcount
|
1561
|
+
end
|
1562
|
+
|
1563
|
+
def deserialize(params)
|
1564
|
+
unless params['Records'].nil?
|
1565
|
+
@Records = []
|
1566
|
+
params['Records'].each do |i|
|
1567
|
+
configdata_tmp = ConfigData.new
|
1568
|
+
configdata_tmp.deserialize(i)
|
1569
|
+
@Records << configdata_tmp
|
1570
|
+
end
|
1571
|
+
end
|
1572
|
+
@ContinueToken = params['ContinueToken']
|
1573
|
+
@RemainingCount = params['RemainingCount']
|
1574
|
+
end
|
1575
|
+
end
|
1576
|
+
|
1577
|
+
# DescribeConfigDataList请求参数结构体
|
1578
|
+
class DescribeConfigDataListRequest < TencentCloud::Common::AbstractModel
|
1579
|
+
# @param EnvironmentId: 环境 ID
|
1580
|
+
# @type EnvironmentId: String
|
1581
|
+
# @param SourceChannel: 来源渠道
|
1582
|
+
# @type SourceChannel: Integer
|
1583
|
+
# @param ContinueToken: 查询游标
|
1584
|
+
# @type ContinueToken: String
|
1585
|
+
# @param Limit: 分页 limit
|
1586
|
+
# @type Limit: Integer
|
1587
|
+
|
1588
|
+
attr_accessor :EnvironmentId, :SourceChannel, :ContinueToken, :Limit
|
1589
|
+
|
1590
|
+
def initialize(environmentid=nil, sourcechannel=nil, continuetoken=nil, limit=nil)
|
1591
|
+
@EnvironmentId = environmentid
|
1592
|
+
@SourceChannel = sourcechannel
|
1593
|
+
@ContinueToken = continuetoken
|
1594
|
+
@Limit = limit
|
1595
|
+
end
|
1596
|
+
|
1597
|
+
def deserialize(params)
|
1598
|
+
@EnvironmentId = params['EnvironmentId']
|
1599
|
+
@SourceChannel = params['SourceChannel']
|
1600
|
+
@ContinueToken = params['ContinueToken']
|
1601
|
+
@Limit = params['Limit']
|
1602
|
+
end
|
1603
|
+
end
|
1604
|
+
|
1605
|
+
# DescribeConfigDataList返回参数结构体
|
1606
|
+
class DescribeConfigDataListResponse < TencentCloud::Common::AbstractModel
|
1607
|
+
# @param Result: 配置列表
|
1608
|
+
# @type Result: :class:`Tencentcloud::Tem.v20210701.models.DescribeConfigDataListPage`
|
1609
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1610
|
+
# @type RequestId: String
|
1611
|
+
|
1612
|
+
attr_accessor :Result, :RequestId
|
1613
|
+
|
1614
|
+
def initialize(result=nil, requestid=nil)
|
1615
|
+
@Result = result
|
1616
|
+
@RequestId = requestid
|
1617
|
+
end
|
1618
|
+
|
1619
|
+
def deserialize(params)
|
1620
|
+
unless params['Result'].nil?
|
1621
|
+
@Result = DescribeConfigDataListPage.new
|
1622
|
+
@Result.deserialize(params['Result'])
|
1623
|
+
end
|
1624
|
+
@RequestId = params['RequestId']
|
1625
|
+
end
|
1626
|
+
end
|
1627
|
+
|
1628
|
+
# DescribeConfigData请求参数结构体
|
1629
|
+
class DescribeConfigDataRequest < TencentCloud::Common::AbstractModel
|
1630
|
+
# @param EnvironmentId: 环境 ID
|
1631
|
+
# @type EnvironmentId: String
|
1632
|
+
# @param Name: 配置名
|
1633
|
+
# @type Name: String
|
1634
|
+
# @param SourceChannel: 来源渠道
|
1635
|
+
# @type SourceChannel: Integer
|
1636
|
+
|
1637
|
+
attr_accessor :EnvironmentId, :Name, :SourceChannel
|
1638
|
+
|
1639
|
+
def initialize(environmentid=nil, name=nil, sourcechannel=nil)
|
1640
|
+
@EnvironmentId = environmentid
|
1641
|
+
@Name = name
|
1642
|
+
@SourceChannel = sourcechannel
|
1643
|
+
end
|
1644
|
+
|
1645
|
+
def deserialize(params)
|
1646
|
+
@EnvironmentId = params['EnvironmentId']
|
1647
|
+
@Name = params['Name']
|
1648
|
+
@SourceChannel = params['SourceChannel']
|
1649
|
+
end
|
1650
|
+
end
|
1651
|
+
|
1652
|
+
# DescribeConfigData返回参数结构体
|
1653
|
+
class DescribeConfigDataResponse < TencentCloud::Common::AbstractModel
|
1654
|
+
# @param Result: 配置
|
1655
|
+
# @type Result: :class:`Tencentcloud::Tem.v20210701.models.ConfigData`
|
1656
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1657
|
+
# @type RequestId: String
|
1658
|
+
|
1659
|
+
attr_accessor :Result, :RequestId
|
1660
|
+
|
1661
|
+
def initialize(result=nil, requestid=nil)
|
1662
|
+
@Result = result
|
1663
|
+
@RequestId = requestid
|
1664
|
+
end
|
1665
|
+
|
1666
|
+
def deserialize(params)
|
1667
|
+
unless params['Result'].nil?
|
1668
|
+
@Result = ConfigData.new
|
1669
|
+
@Result.deserialize(params['Result'])
|
1670
|
+
end
|
1671
|
+
@RequestId = params['RequestId']
|
1672
|
+
end
|
1673
|
+
end
|
1674
|
+
|
1096
1675
|
# DescribeDeployApplicationDetail请求参数结构体
|
1097
1676
|
class DescribeDeployApplicationDetailRequest < TencentCloud::Common::AbstractModel
|
1098
1677
|
# @param ApplicationId: 服务id
|
@@ -1341,39 +1920,34 @@ module TencentCloud
|
|
1341
1920
|
end
|
1342
1921
|
end
|
1343
1922
|
|
1344
|
-
#
|
1345
|
-
class
|
1346
|
-
# @param EnvironmentId: 环境
|
1923
|
+
# DescribeLogConfig请求参数结构体
|
1924
|
+
class DescribeLogConfigRequest < TencentCloud::Common::AbstractModel
|
1925
|
+
# @param EnvironmentId: 环境 ID
|
1347
1926
|
# @type EnvironmentId: String
|
1348
|
-
# @param
|
1349
|
-
# @type
|
1350
|
-
# @param SourceChannel: 来源渠道
|
1351
|
-
# @type SourceChannel: Integer
|
1927
|
+
# @param Name: 配置名
|
1928
|
+
# @type Name: String
|
1352
1929
|
# @param ApplicationId: 应用 ID
|
1353
1930
|
# @type ApplicationId: String
|
1354
1931
|
|
1355
|
-
attr_accessor :EnvironmentId, :
|
1932
|
+
attr_accessor :EnvironmentId, :Name, :ApplicationId
|
1356
1933
|
|
1357
|
-
def initialize(environmentid=nil,
|
1934
|
+
def initialize(environmentid=nil, name=nil, applicationid=nil)
|
1358
1935
|
@EnvironmentId = environmentid
|
1359
|
-
@
|
1360
|
-
@SourceChannel = sourcechannel
|
1936
|
+
@Name = name
|
1361
1937
|
@ApplicationId = applicationid
|
1362
1938
|
end
|
1363
1939
|
|
1364
1940
|
def deserialize(params)
|
1365
1941
|
@EnvironmentId = params['EnvironmentId']
|
1366
|
-
@
|
1367
|
-
@SourceChannel = params['SourceChannel']
|
1942
|
+
@Name = params['Name']
|
1368
1943
|
@ApplicationId = params['ApplicationId']
|
1369
1944
|
end
|
1370
1945
|
end
|
1371
1946
|
|
1372
|
-
#
|
1373
|
-
class
|
1374
|
-
# @param Result:
|
1375
|
-
#
|
1376
|
-
# @type Result: Array
|
1947
|
+
# DescribeLogConfig返回参数结构体
|
1948
|
+
class DescribeLogConfigResponse < TencentCloud::Common::AbstractModel
|
1949
|
+
# @param Result: 配置
|
1950
|
+
# @type Result: :class:`Tencentcloud::Tem.v20210701.models.LogConfig`
|
1377
1951
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1378
1952
|
# @type RequestId: String
|
1379
1953
|
|
@@ -1386,60 +1960,215 @@ module TencentCloud
|
|
1386
1960
|
|
1387
1961
|
def deserialize(params)
|
1388
1962
|
unless params['Result'].nil?
|
1389
|
-
@Result =
|
1390
|
-
params['Result']
|
1391
|
-
ingressinfo_tmp = IngressInfo.new
|
1392
|
-
ingressinfo_tmp.deserialize(i)
|
1393
|
-
@Result << ingressinfo_tmp
|
1394
|
-
end
|
1963
|
+
@Result = LogConfig.new
|
1964
|
+
@Result.deserialize(params['Result'])
|
1395
1965
|
end
|
1396
1966
|
@RequestId = params['RequestId']
|
1397
1967
|
end
|
1398
1968
|
end
|
1399
1969
|
|
1400
|
-
#
|
1401
|
-
class
|
1402
|
-
# @param
|
1403
|
-
# @type
|
1404
|
-
# @param
|
1970
|
+
# DescribePagedLogConfigList请求参数结构体
|
1971
|
+
class DescribePagedLogConfigListRequest < TencentCloud::Common::AbstractModel
|
1972
|
+
# @param EnvironmentId: 环境 ID
|
1973
|
+
# @type EnvironmentId: String
|
1974
|
+
# @param ApplicationId: 应用 ID
|
1975
|
+
# @type ApplicationId: String
|
1976
|
+
# @param ApplicationName: 应用名
|
1977
|
+
# @type ApplicationName: String
|
1978
|
+
# @param Name: 规则名
|
1979
|
+
# @type Name: String
|
1980
|
+
# @param Limit: 分页大小,默认 20
|
1405
1981
|
# @type Limit: Integer
|
1406
|
-
# @param
|
1407
|
-
# @type
|
1408
|
-
# @param RequestId: 请求id
|
1409
|
-
# @type RequestId: String
|
1410
|
-
# @param PodList: 条目
|
1411
|
-
# @type PodList: Array
|
1982
|
+
# @param ContinueToken: 翻页游标
|
1983
|
+
# @type ContinueToken: String
|
1412
1984
|
|
1413
|
-
attr_accessor :
|
1985
|
+
attr_accessor :EnvironmentId, :ApplicationId, :ApplicationName, :Name, :Limit, :ContinueToken
|
1414
1986
|
|
1415
|
-
def initialize(
|
1416
|
-
@
|
1987
|
+
def initialize(environmentid=nil, applicationid=nil, applicationname=nil, name=nil, limit=nil, continuetoken=nil)
|
1988
|
+
@EnvironmentId = environmentid
|
1989
|
+
@ApplicationId = applicationid
|
1990
|
+
@ApplicationName = applicationname
|
1991
|
+
@Name = name
|
1417
1992
|
@Limit = limit
|
1418
|
-
@
|
1419
|
-
@RequestId = requestid
|
1420
|
-
@PodList = podlist
|
1993
|
+
@ContinueToken = continuetoken
|
1421
1994
|
end
|
1422
1995
|
|
1423
1996
|
def deserialize(params)
|
1424
|
-
@
|
1997
|
+
@EnvironmentId = params['EnvironmentId']
|
1998
|
+
@ApplicationId = params['ApplicationId']
|
1999
|
+
@ApplicationName = params['ApplicationName']
|
2000
|
+
@Name = params['Name']
|
1425
2001
|
@Limit = params['Limit']
|
1426
|
-
@
|
1427
|
-
@RequestId = params['RequestId']
|
1428
|
-
unless params['PodList'].nil?
|
1429
|
-
@PodList = []
|
1430
|
-
params['PodList'].each do |i|
|
1431
|
-
runversionpod_tmp = RunVersionPod.new
|
1432
|
-
runversionpod_tmp.deserialize(i)
|
1433
|
-
@PodList << runversionpod_tmp
|
1434
|
-
end
|
1435
|
-
end
|
2002
|
+
@ContinueToken = params['ContinueToken']
|
1436
2003
|
end
|
1437
2004
|
end
|
1438
2005
|
|
1439
|
-
#
|
1440
|
-
class
|
1441
|
-
# @param
|
1442
|
-
# @type
|
2006
|
+
# DescribePagedLogConfigList返回参数结构体
|
2007
|
+
class DescribePagedLogConfigListResponse < TencentCloud::Common::AbstractModel
|
2008
|
+
# @param Result: 日志收集配置列表
|
2009
|
+
# @type Result: :class:`Tencentcloud::Tem.v20210701.models.LogConfigListPage`
|
2010
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2011
|
+
# @type RequestId: String
|
2012
|
+
|
2013
|
+
attr_accessor :Result, :RequestId
|
2014
|
+
|
2015
|
+
def initialize(result=nil, requestid=nil)
|
2016
|
+
@Result = result
|
2017
|
+
@RequestId = requestid
|
2018
|
+
end
|
2019
|
+
|
2020
|
+
def deserialize(params)
|
2021
|
+
unless params['Result'].nil?
|
2022
|
+
@Result = LogConfigListPage.new
|
2023
|
+
@Result.deserialize(params['Result'])
|
2024
|
+
end
|
2025
|
+
@RequestId = params['RequestId']
|
2026
|
+
end
|
2027
|
+
end
|
2028
|
+
|
2029
|
+
# DescribeRelatedIngresses请求参数结构体
|
2030
|
+
class DescribeRelatedIngressesRequest < TencentCloud::Common::AbstractModel
|
2031
|
+
# @param EnvironmentId: 环境 id
|
2032
|
+
# @type EnvironmentId: String
|
2033
|
+
# @param ClusterNamespace: 环境 namespace
|
2034
|
+
# @type ClusterNamespace: String
|
2035
|
+
# @param SourceChannel: 来源渠道
|
2036
|
+
# @type SourceChannel: Integer
|
2037
|
+
# @param ApplicationId: 应用 ID
|
2038
|
+
# @type ApplicationId: String
|
2039
|
+
|
2040
|
+
attr_accessor :EnvironmentId, :ClusterNamespace, :SourceChannel, :ApplicationId
|
2041
|
+
|
2042
|
+
def initialize(environmentid=nil, clusternamespace=nil, sourcechannel=nil, applicationid=nil)
|
2043
|
+
@EnvironmentId = environmentid
|
2044
|
+
@ClusterNamespace = clusternamespace
|
2045
|
+
@SourceChannel = sourcechannel
|
2046
|
+
@ApplicationId = applicationid
|
2047
|
+
end
|
2048
|
+
|
2049
|
+
def deserialize(params)
|
2050
|
+
@EnvironmentId = params['EnvironmentId']
|
2051
|
+
@ClusterNamespace = params['ClusterNamespace']
|
2052
|
+
@SourceChannel = params['SourceChannel']
|
2053
|
+
@ApplicationId = params['ApplicationId']
|
2054
|
+
end
|
2055
|
+
end
|
2056
|
+
|
2057
|
+
# DescribeRelatedIngresses返回参数结构体
|
2058
|
+
class DescribeRelatedIngressesResponse < TencentCloud::Common::AbstractModel
|
2059
|
+
# @param Result: ingress 数组
|
2060
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2061
|
+
# @type Result: Array
|
2062
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2063
|
+
# @type RequestId: String
|
2064
|
+
|
2065
|
+
attr_accessor :Result, :RequestId
|
2066
|
+
|
2067
|
+
def initialize(result=nil, requestid=nil)
|
2068
|
+
@Result = result
|
2069
|
+
@RequestId = requestid
|
2070
|
+
end
|
2071
|
+
|
2072
|
+
def deserialize(params)
|
2073
|
+
unless params['Result'].nil?
|
2074
|
+
@Result = []
|
2075
|
+
params['Result'].each do |i|
|
2076
|
+
ingressinfo_tmp = IngressInfo.new
|
2077
|
+
ingressinfo_tmp.deserialize(i)
|
2078
|
+
@Result << ingressinfo_tmp
|
2079
|
+
end
|
2080
|
+
end
|
2081
|
+
@RequestId = params['RequestId']
|
2082
|
+
end
|
2083
|
+
end
|
2084
|
+
|
2085
|
+
# 版本pod列表
|
2086
|
+
class DescribeRunPodPage < TencentCloud::Common::AbstractModel
|
2087
|
+
# @param Offset: 分页下标
|
2088
|
+
# @type Offset: Integer
|
2089
|
+
# @param Limit: 单页条数
|
2090
|
+
# @type Limit: Integer
|
2091
|
+
# @param TotalCount: 总数
|
2092
|
+
# @type TotalCount: Integer
|
2093
|
+
# @param RequestId: 请求id
|
2094
|
+
# @type RequestId: String
|
2095
|
+
# @param PodList: 条目
|
2096
|
+
# @type PodList: Array
|
2097
|
+
|
2098
|
+
attr_accessor :Offset, :Limit, :TotalCount, :RequestId, :PodList
|
2099
|
+
|
2100
|
+
def initialize(offset=nil, limit=nil, totalcount=nil, requestid=nil, podlist=nil)
|
2101
|
+
@Offset = offset
|
2102
|
+
@Limit = limit
|
2103
|
+
@TotalCount = totalcount
|
2104
|
+
@RequestId = requestid
|
2105
|
+
@PodList = podlist
|
2106
|
+
end
|
2107
|
+
|
2108
|
+
def deserialize(params)
|
2109
|
+
@Offset = params['Offset']
|
2110
|
+
@Limit = params['Limit']
|
2111
|
+
@TotalCount = params['TotalCount']
|
2112
|
+
@RequestId = params['RequestId']
|
2113
|
+
unless params['PodList'].nil?
|
2114
|
+
@PodList = []
|
2115
|
+
params['PodList'].each do |i|
|
2116
|
+
runversionpod_tmp = RunVersionPod.new
|
2117
|
+
runversionpod_tmp.deserialize(i)
|
2118
|
+
@PodList << runversionpod_tmp
|
2119
|
+
end
|
2120
|
+
end
|
2121
|
+
end
|
2122
|
+
end
|
2123
|
+
|
2124
|
+
# DestroyConfigData请求参数结构体
|
2125
|
+
class DestroyConfigDataRequest < TencentCloud::Common::AbstractModel
|
2126
|
+
# @param EnvironmentId: 环境 ID
|
2127
|
+
# @type EnvironmentId: String
|
2128
|
+
# @param Name: 配置名
|
2129
|
+
# @type Name: String
|
2130
|
+
# @param SourceChannel: 来源渠道
|
2131
|
+
# @type SourceChannel: Integer
|
2132
|
+
|
2133
|
+
attr_accessor :EnvironmentId, :Name, :SourceChannel
|
2134
|
+
|
2135
|
+
def initialize(environmentid=nil, name=nil, sourcechannel=nil)
|
2136
|
+
@EnvironmentId = environmentid
|
2137
|
+
@Name = name
|
2138
|
+
@SourceChannel = sourcechannel
|
2139
|
+
end
|
2140
|
+
|
2141
|
+
def deserialize(params)
|
2142
|
+
@EnvironmentId = params['EnvironmentId']
|
2143
|
+
@Name = params['Name']
|
2144
|
+
@SourceChannel = params['SourceChannel']
|
2145
|
+
end
|
2146
|
+
end
|
2147
|
+
|
2148
|
+
# DestroyConfigData返回参数结构体
|
2149
|
+
class DestroyConfigDataResponse < TencentCloud::Common::AbstractModel
|
2150
|
+
# @param Result: 返回结果
|
2151
|
+
# @type Result: Boolean
|
2152
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2153
|
+
# @type RequestId: String
|
2154
|
+
|
2155
|
+
attr_accessor :Result, :RequestId
|
2156
|
+
|
2157
|
+
def initialize(result=nil, requestid=nil)
|
2158
|
+
@Result = result
|
2159
|
+
@RequestId = requestid
|
2160
|
+
end
|
2161
|
+
|
2162
|
+
def deserialize(params)
|
2163
|
+
@Result = params['Result']
|
2164
|
+
@RequestId = params['RequestId']
|
2165
|
+
end
|
2166
|
+
end
|
2167
|
+
|
2168
|
+
# DestroyEnvironment请求参数结构体
|
2169
|
+
class DestroyEnvironmentRequest < TencentCloud::Common::AbstractModel
|
2170
|
+
# @param EnvironmentId: 命名空间ID
|
2171
|
+
# @type EnvironmentId: String
|
1443
2172
|
# @param SourceChannel: Namespace
|
1444
2173
|
# @type SourceChannel: Integer
|
1445
2174
|
|
@@ -1476,6 +2205,50 @@ module TencentCloud
|
|
1476
2205
|
end
|
1477
2206
|
end
|
1478
2207
|
|
2208
|
+
# DestroyLogConfig请求参数结构体
|
2209
|
+
class DestroyLogConfigRequest < TencentCloud::Common::AbstractModel
|
2210
|
+
# @param EnvironmentId: 环境 ID
|
2211
|
+
# @type EnvironmentId: String
|
2212
|
+
# @param Name: 配置名
|
2213
|
+
# @type Name: String
|
2214
|
+
# @param ApplicationId: 应用 ID
|
2215
|
+
# @type ApplicationId: String
|
2216
|
+
|
2217
|
+
attr_accessor :EnvironmentId, :Name, :ApplicationId
|
2218
|
+
|
2219
|
+
def initialize(environmentid=nil, name=nil, applicationid=nil)
|
2220
|
+
@EnvironmentId = environmentid
|
2221
|
+
@Name = name
|
2222
|
+
@ApplicationId = applicationid
|
2223
|
+
end
|
2224
|
+
|
2225
|
+
def deserialize(params)
|
2226
|
+
@EnvironmentId = params['EnvironmentId']
|
2227
|
+
@Name = params['Name']
|
2228
|
+
@ApplicationId = params['ApplicationId']
|
2229
|
+
end
|
2230
|
+
end
|
2231
|
+
|
2232
|
+
# DestroyLogConfig返回参数结构体
|
2233
|
+
class DestroyLogConfigResponse < TencentCloud::Common::AbstractModel
|
2234
|
+
# @param Result: 返回结果
|
2235
|
+
# @type Result: Boolean
|
2236
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2237
|
+
# @type RequestId: String
|
2238
|
+
|
2239
|
+
attr_accessor :Result, :RequestId
|
2240
|
+
|
2241
|
+
def initialize(result=nil, requestid=nil)
|
2242
|
+
@Result = result
|
2243
|
+
@RequestId = requestid
|
2244
|
+
end
|
2245
|
+
|
2246
|
+
def deserialize(params)
|
2247
|
+
@Result = params['Result']
|
2248
|
+
@RequestId = params['RequestId']
|
2249
|
+
end
|
2250
|
+
end
|
2251
|
+
|
1479
2252
|
# eks service info
|
1480
2253
|
class EksService < TencentCloud::Common::AbstractModel
|
1481
2254
|
# @param Name: service name
|
@@ -1511,10 +2284,25 @@ module TencentCloud
|
|
1511
2284
|
# @param PortMappings: 端口映射
|
1512
2285
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
1513
2286
|
# @type PortMappings: Array
|
2287
|
+
# @param ServicePortMappingList: 每种类型访问配置详情
|
2288
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2289
|
+
# @type ServicePortMappingList: Array
|
2290
|
+
# @param FlushAll: 刷新复写所有类型
|
2291
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2292
|
+
# @type FlushAll: Boolean
|
2293
|
+
# @param EnableRegistryNextDeploy: 1: 下次部署自动注入注册中心信息;0:不注入
|
2294
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2295
|
+
# @type EnableRegistryNextDeploy: Integer
|
2296
|
+
# @param ApplicationId: 返回应用id
|
2297
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2298
|
+
# @type ApplicationId: String
|
2299
|
+
# @param AllIpDone: 所有服务IP是否已经ready
|
2300
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2301
|
+
# @type AllIpDone: Boolean
|
1514
2302
|
|
1515
|
-
attr_accessor :Name, :Ports, :Yaml, :ApplicationName, :VersionName, :ClusterIp, :ExternalIp, :Type, :SubnetId, :LoadBalanceId, :PortMappings
|
2303
|
+
attr_accessor :Name, :Ports, :Yaml, :ApplicationName, :VersionName, :ClusterIp, :ExternalIp, :Type, :SubnetId, :LoadBalanceId, :PortMappings, :ServicePortMappingList, :FlushAll, :EnableRegistryNextDeploy, :ApplicationId, :AllIpDone
|
1516
2304
|
|
1517
|
-
def initialize(name=nil, ports=nil, yaml=nil, applicationname=nil, versionname=nil, clusterip=nil, externalip=nil, type=nil, subnetid=nil, loadbalanceid=nil, portmappings=nil)
|
2305
|
+
def initialize(name=nil, ports=nil, yaml=nil, applicationname=nil, versionname=nil, clusterip=nil, externalip=nil, type=nil, subnetid=nil, loadbalanceid=nil, portmappings=nil, serviceportmappinglist=nil, flushall=nil, enableregistrynextdeploy=nil, applicationid=nil, allipdone=nil)
|
1518
2306
|
@Name = name
|
1519
2307
|
@Ports = ports
|
1520
2308
|
@Yaml = yaml
|
@@ -1526,6 +2314,11 @@ module TencentCloud
|
|
1526
2314
|
@SubnetId = subnetid
|
1527
2315
|
@LoadBalanceId = loadbalanceid
|
1528
2316
|
@PortMappings = portmappings
|
2317
|
+
@ServicePortMappingList = serviceportmappinglist
|
2318
|
+
@FlushAll = flushall
|
2319
|
+
@EnableRegistryNextDeploy = enableregistrynextdeploy
|
2320
|
+
@ApplicationId = applicationid
|
2321
|
+
@AllIpDone = allipdone
|
1529
2322
|
end
|
1530
2323
|
|
1531
2324
|
def deserialize(params)
|
@@ -1547,6 +2340,18 @@ module TencentCloud
|
|
1547
2340
|
@PortMappings << portmapping_tmp
|
1548
2341
|
end
|
1549
2342
|
end
|
2343
|
+
unless params['ServicePortMappingList'].nil?
|
2344
|
+
@ServicePortMappingList = []
|
2345
|
+
params['ServicePortMappingList'].each do |i|
|
2346
|
+
serviceportmapping_tmp = ServicePortMapping.new
|
2347
|
+
serviceportmapping_tmp.deserialize(i)
|
2348
|
+
@ServicePortMappingList << serviceportmapping_tmp
|
2349
|
+
end
|
2350
|
+
end
|
2351
|
+
@FlushAll = params['FlushAll']
|
2352
|
+
@EnableRegistryNextDeploy = params['EnableRegistryNextDeploy']
|
2353
|
+
@ApplicationId = params['ApplicationId']
|
2354
|
+
@AllIpDone = params['AllIpDone']
|
1550
2355
|
end
|
1551
2356
|
end
|
1552
2357
|
|
@@ -1928,6 +2733,104 @@ module TencentCloud
|
|
1928
2733
|
end
|
1929
2734
|
end
|
1930
2735
|
|
2736
|
+
# 日志收集配置
|
2737
|
+
class LogConfig < TencentCloud::Common::AbstractModel
|
2738
|
+
# @param Name: 名称
|
2739
|
+
# @type Name: String
|
2740
|
+
# @param InputType: 收集类型,container_stdout 为标准输出;container_file 为文件;
|
2741
|
+
# @type InputType: String
|
2742
|
+
# @param LogsetId: 日志集 ID
|
2743
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2744
|
+
# @type LogsetId: String
|
2745
|
+
# @param TopicId: 日志主题 ID
|
2746
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2747
|
+
# @type TopicId: String
|
2748
|
+
# @param LogType: 日志提取模式,minimalist_log 为单行全文;multiline_log 为多行全文;
|
2749
|
+
# @type LogType: String
|
2750
|
+
# @param BeginningRegex: 首行正则表达式,当LogType=multiline_log 时生效
|
2751
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2752
|
+
# @type BeginningRegex: String
|
2753
|
+
# @param LogPath: 收集文件目录,当 InputType=container_file 时生效
|
2754
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2755
|
+
# @type LogPath: String
|
2756
|
+
# @param FilePattern: 收集文件名模式,当 InputType=container_file 时生效
|
2757
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2758
|
+
# @type FilePattern: String
|
2759
|
+
# @param CreateDate: 创建时间
|
2760
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2761
|
+
# @type CreateDate: String
|
2762
|
+
# @param ModifyDate: 更新时间
|
2763
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2764
|
+
# @type ModifyDate: String
|
2765
|
+
# @param ApplicationId: 应用 ID
|
2766
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2767
|
+
# @type ApplicationId: String
|
2768
|
+
# @param ApplicationName: 应用名
|
2769
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2770
|
+
# @type ApplicationName: String
|
2771
|
+
|
2772
|
+
attr_accessor :Name, :InputType, :LogsetId, :TopicId, :LogType, :BeginningRegex, :LogPath, :FilePattern, :CreateDate, :ModifyDate, :ApplicationId, :ApplicationName
|
2773
|
+
|
2774
|
+
def initialize(name=nil, inputtype=nil, logsetid=nil, topicid=nil, logtype=nil, beginningregex=nil, logpath=nil, filepattern=nil, createdate=nil, modifydate=nil, applicationid=nil, applicationname=nil)
|
2775
|
+
@Name = name
|
2776
|
+
@InputType = inputtype
|
2777
|
+
@LogsetId = logsetid
|
2778
|
+
@TopicId = topicid
|
2779
|
+
@LogType = logtype
|
2780
|
+
@BeginningRegex = beginningregex
|
2781
|
+
@LogPath = logpath
|
2782
|
+
@FilePattern = filepattern
|
2783
|
+
@CreateDate = createdate
|
2784
|
+
@ModifyDate = modifydate
|
2785
|
+
@ApplicationId = applicationid
|
2786
|
+
@ApplicationName = applicationname
|
2787
|
+
end
|
2788
|
+
|
2789
|
+
def deserialize(params)
|
2790
|
+
@Name = params['Name']
|
2791
|
+
@InputType = params['InputType']
|
2792
|
+
@LogsetId = params['LogsetId']
|
2793
|
+
@TopicId = params['TopicId']
|
2794
|
+
@LogType = params['LogType']
|
2795
|
+
@BeginningRegex = params['BeginningRegex']
|
2796
|
+
@LogPath = params['LogPath']
|
2797
|
+
@FilePattern = params['FilePattern']
|
2798
|
+
@CreateDate = params['CreateDate']
|
2799
|
+
@ModifyDate = params['ModifyDate']
|
2800
|
+
@ApplicationId = params['ApplicationId']
|
2801
|
+
@ApplicationName = params['ApplicationName']
|
2802
|
+
end
|
2803
|
+
end
|
2804
|
+
|
2805
|
+
# LogConfig 列表结果
|
2806
|
+
class LogConfigListPage < TencentCloud::Common::AbstractModel
|
2807
|
+
# @param Records: 记录
|
2808
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2809
|
+
# @type Records: Array
|
2810
|
+
# @param ContinueToken: 翻页游标
|
2811
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2812
|
+
# @type ContinueToken: String
|
2813
|
+
|
2814
|
+
attr_accessor :Records, :ContinueToken
|
2815
|
+
|
2816
|
+
def initialize(records=nil, continuetoken=nil)
|
2817
|
+
@Records = records
|
2818
|
+
@ContinueToken = continuetoken
|
2819
|
+
end
|
2820
|
+
|
2821
|
+
def deserialize(params)
|
2822
|
+
unless params['Records'].nil?
|
2823
|
+
@Records = []
|
2824
|
+
params['Records'].each do |i|
|
2825
|
+
logconfig_tmp = LogConfig.new
|
2826
|
+
logconfig_tmp.deserialize(i)
|
2827
|
+
@Records << logconfig_tmp
|
2828
|
+
end
|
2829
|
+
end
|
2830
|
+
@ContinueToken = params['ContinueToken']
|
2831
|
+
end
|
2832
|
+
end
|
2833
|
+
|
1931
2834
|
# 日志输出配置
|
1932
2835
|
class LogOutputConf < TencentCloud::Common::AbstractModel
|
1933
2836
|
# @param OutputType: 日志消费端类型
|
@@ -1960,11 +2863,67 @@ module TencentCloud
|
|
1960
2863
|
end
|
1961
2864
|
end
|
1962
2865
|
|
1963
|
-
#
|
1964
|
-
class
|
1965
|
-
# @param ApplicationId:
|
2866
|
+
# ModifyApplicationAutoscaler请求参数结构体
|
2867
|
+
class ModifyApplicationAutoscalerRequest < TencentCloud::Common::AbstractModel
|
2868
|
+
# @param ApplicationId: 服务id
|
1966
2869
|
# @type ApplicationId: String
|
1967
|
-
# @param
|
2870
|
+
# @param EnvironmentId: 环境ID
|
2871
|
+
# @type EnvironmentId: String
|
2872
|
+
# @param SourceChannel: 来源渠道
|
2873
|
+
# @type SourceChannel: Integer
|
2874
|
+
# @param AutoscalerId: 弹性伸缩策略ID
|
2875
|
+
# @type AutoscalerId: String
|
2876
|
+
# @param Autoscaler: 弹性伸缩策略
|
2877
|
+
# @type Autoscaler: :class:`Tencentcloud::Tem.v20210701.models.Autoscaler`
|
2878
|
+
|
2879
|
+
attr_accessor :ApplicationId, :EnvironmentId, :SourceChannel, :AutoscalerId, :Autoscaler
|
2880
|
+
|
2881
|
+
def initialize(applicationid=nil, environmentid=nil, sourcechannel=nil, autoscalerid=nil, autoscaler=nil)
|
2882
|
+
@ApplicationId = applicationid
|
2883
|
+
@EnvironmentId = environmentid
|
2884
|
+
@SourceChannel = sourcechannel
|
2885
|
+
@AutoscalerId = autoscalerid
|
2886
|
+
@Autoscaler = autoscaler
|
2887
|
+
end
|
2888
|
+
|
2889
|
+
def deserialize(params)
|
2890
|
+
@ApplicationId = params['ApplicationId']
|
2891
|
+
@EnvironmentId = params['EnvironmentId']
|
2892
|
+
@SourceChannel = params['SourceChannel']
|
2893
|
+
@AutoscalerId = params['AutoscalerId']
|
2894
|
+
unless params['Autoscaler'].nil?
|
2895
|
+
@Autoscaler = Autoscaler.new
|
2896
|
+
@Autoscaler.deserialize(params['Autoscaler'])
|
2897
|
+
end
|
2898
|
+
end
|
2899
|
+
end
|
2900
|
+
|
2901
|
+
# ModifyApplicationAutoscaler返回参数结构体
|
2902
|
+
class ModifyApplicationAutoscalerResponse < TencentCloud::Common::AbstractModel
|
2903
|
+
# @param Result: 是否成功
|
2904
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2905
|
+
# @type Result: Boolean
|
2906
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2907
|
+
# @type RequestId: String
|
2908
|
+
|
2909
|
+
attr_accessor :Result, :RequestId
|
2910
|
+
|
2911
|
+
def initialize(result=nil, requestid=nil)
|
2912
|
+
@Result = result
|
2913
|
+
@RequestId = requestid
|
2914
|
+
end
|
2915
|
+
|
2916
|
+
def deserialize(params)
|
2917
|
+
@Result = params['Result']
|
2918
|
+
@RequestId = params['RequestId']
|
2919
|
+
end
|
2920
|
+
end
|
2921
|
+
|
2922
|
+
# ModifyApplicationInfo请求参数结构体
|
2923
|
+
class ModifyApplicationInfoRequest < TencentCloud::Common::AbstractModel
|
2924
|
+
# @param ApplicationId: 应用ID
|
2925
|
+
# @type ApplicationId: String
|
2926
|
+
# @param Description: 描述
|
1968
2927
|
# @type Description: String
|
1969
2928
|
# @param SourceChannel: 来源渠道
|
1970
2929
|
# @type SourceChannel: Integer
|
@@ -2053,6 +3012,61 @@ module TencentCloud
|
|
2053
3012
|
end
|
2054
3013
|
end
|
2055
3014
|
|
3015
|
+
# ModifyConfigData请求参数结构体
|
3016
|
+
class ModifyConfigDataRequest < TencentCloud::Common::AbstractModel
|
3017
|
+
# @param EnvironmentId: 环境 ID
|
3018
|
+
# @type EnvironmentId: String
|
3019
|
+
# @param Name: 配置名
|
3020
|
+
# @type Name: String
|
3021
|
+
# @param SourceChannel: 来源渠道
|
3022
|
+
# @type SourceChannel: Integer
|
3023
|
+
# @param Data: 配置信息
|
3024
|
+
# @type Data: Array
|
3025
|
+
|
3026
|
+
attr_accessor :EnvironmentId, :Name, :SourceChannel, :Data
|
3027
|
+
|
3028
|
+
def initialize(environmentid=nil, name=nil, sourcechannel=nil, data=nil)
|
3029
|
+
@EnvironmentId = environmentid
|
3030
|
+
@Name = name
|
3031
|
+
@SourceChannel = sourcechannel
|
3032
|
+
@Data = data
|
3033
|
+
end
|
3034
|
+
|
3035
|
+
def deserialize(params)
|
3036
|
+
@EnvironmentId = params['EnvironmentId']
|
3037
|
+
@Name = params['Name']
|
3038
|
+
@SourceChannel = params['SourceChannel']
|
3039
|
+
unless params['Data'].nil?
|
3040
|
+
@Data = []
|
3041
|
+
params['Data'].each do |i|
|
3042
|
+
pair_tmp = Pair.new
|
3043
|
+
pair_tmp.deserialize(i)
|
3044
|
+
@Data << pair_tmp
|
3045
|
+
end
|
3046
|
+
end
|
3047
|
+
end
|
3048
|
+
end
|
3049
|
+
|
3050
|
+
# ModifyConfigData返回参数结构体
|
3051
|
+
class ModifyConfigDataResponse < TencentCloud::Common::AbstractModel
|
3052
|
+
# @param Result: 编辑是否成功
|
3053
|
+
# @type Result: Boolean
|
3054
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3055
|
+
# @type RequestId: String
|
3056
|
+
|
3057
|
+
attr_accessor :Result, :RequestId
|
3058
|
+
|
3059
|
+
def initialize(result=nil, requestid=nil)
|
3060
|
+
@Result = result
|
3061
|
+
@RequestId = requestid
|
3062
|
+
end
|
3063
|
+
|
3064
|
+
def deserialize(params)
|
3065
|
+
@Result = params['Result']
|
3066
|
+
@RequestId = params['RequestId']
|
3067
|
+
end
|
3068
|
+
end
|
3069
|
+
|
2056
3070
|
# ModifyEnvironment请求参数结构体
|
2057
3071
|
class ModifyEnvironmentRequest < TencentCloud::Common::AbstractModel
|
2058
3072
|
# @param EnvironmentId: 环境id
|
@@ -2154,6 +3168,57 @@ module TencentCloud
|
|
2154
3168
|
end
|
2155
3169
|
end
|
2156
3170
|
|
3171
|
+
# ModifyLogConfig请求参数结构体
|
3172
|
+
class ModifyLogConfigRequest < TencentCloud::Common::AbstractModel
|
3173
|
+
# @param EnvironmentId: 环境 ID
|
3174
|
+
# @type EnvironmentId: String
|
3175
|
+
# @param Name: 配置名
|
3176
|
+
# @type Name: String
|
3177
|
+
# @param Data: 日志收集配置信息
|
3178
|
+
# @type Data: :class:`Tencentcloud::Tem.v20210701.models.LogConfig`
|
3179
|
+
# @param ApplicationId: 应用 ID
|
3180
|
+
# @type ApplicationId: String
|
3181
|
+
|
3182
|
+
attr_accessor :EnvironmentId, :Name, :Data, :ApplicationId
|
3183
|
+
|
3184
|
+
def initialize(environmentid=nil, name=nil, data=nil, applicationid=nil)
|
3185
|
+
@EnvironmentId = environmentid
|
3186
|
+
@Name = name
|
3187
|
+
@Data = data
|
3188
|
+
@ApplicationId = applicationid
|
3189
|
+
end
|
3190
|
+
|
3191
|
+
def deserialize(params)
|
3192
|
+
@EnvironmentId = params['EnvironmentId']
|
3193
|
+
@Name = params['Name']
|
3194
|
+
unless params['Data'].nil?
|
3195
|
+
@Data = LogConfig.new
|
3196
|
+
@Data.deserialize(params['Data'])
|
3197
|
+
end
|
3198
|
+
@ApplicationId = params['ApplicationId']
|
3199
|
+
end
|
3200
|
+
end
|
3201
|
+
|
3202
|
+
# ModifyLogConfig返回参数结构体
|
3203
|
+
class ModifyLogConfigResponse < TencentCloud::Common::AbstractModel
|
3204
|
+
# @param Result: 编辑是否成功
|
3205
|
+
# @type Result: Boolean
|
3206
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3207
|
+
# @type RequestId: String
|
3208
|
+
|
3209
|
+
attr_accessor :Result, :RequestId
|
3210
|
+
|
3211
|
+
def initialize(result=nil, requestid=nil)
|
3212
|
+
@Result = result
|
3213
|
+
@RequestId = requestid
|
3214
|
+
end
|
3215
|
+
|
3216
|
+
def deserialize(params)
|
3217
|
+
@Result = params['Result']
|
3218
|
+
@RequestId = params['RequestId']
|
3219
|
+
end
|
3220
|
+
end
|
3221
|
+
|
2157
3222
|
# 挂载配置信息
|
2158
3223
|
class MountedSettingConf < TencentCloud::Common::AbstractModel
|
2159
3224
|
# @param ConfigDataName: 配置名称
|
@@ -2268,6 +3333,42 @@ module TencentCloud
|
|
2268
3333
|
end
|
2269
3334
|
end
|
2270
3335
|
|
3336
|
+
# node信息
|
3337
|
+
class NodeInfo < TencentCloud::Common::AbstractModel
|
3338
|
+
# @param Name: node名字
|
3339
|
+
# @type Name: String
|
3340
|
+
# @param Zone: node可用区
|
3341
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3342
|
+
# @type Zone: String
|
3343
|
+
# @param SubnetId: node子网ID
|
3344
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3345
|
+
# @type SubnetId: String
|
3346
|
+
# @param AvailableIpCount: 可用IP数
|
3347
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3348
|
+
# @type AvailableIpCount: String
|
3349
|
+
# @param Cidr: cidr块
|
3350
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3351
|
+
# @type Cidr: String
|
3352
|
+
|
3353
|
+
attr_accessor :Name, :Zone, :SubnetId, :AvailableIpCount, :Cidr
|
3354
|
+
|
3355
|
+
def initialize(name=nil, zone=nil, subnetid=nil, availableipcount=nil, cidr=nil)
|
3356
|
+
@Name = name
|
3357
|
+
@Zone = zone
|
3358
|
+
@SubnetId = subnetid
|
3359
|
+
@AvailableIpCount = availableipcount
|
3360
|
+
@Cidr = cidr
|
3361
|
+
end
|
3362
|
+
|
3363
|
+
def deserialize(params)
|
3364
|
+
@Name = params['Name']
|
3365
|
+
@Zone = params['Zone']
|
3366
|
+
@SubnetId = params['SubnetId']
|
3367
|
+
@AvailableIpCount = params['AvailableIpCount']
|
3368
|
+
@Cidr = params['Cidr']
|
3369
|
+
end
|
3370
|
+
end
|
3371
|
+
|
2271
3372
|
# 键值对
|
2272
3373
|
class Pair < TencentCloud::Common::AbstractModel
|
2273
3374
|
# @param Key: 键
|
@@ -2680,6 +3781,102 @@ module TencentCloud
|
|
2680
3781
|
end
|
2681
3782
|
end
|
2682
3783
|
|
3784
|
+
# 端口映射详细信息结构体
|
3785
|
+
class ServicePortMapping < TencentCloud::Common::AbstractModel
|
3786
|
+
# @param Type: 服务类型
|
3787
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3788
|
+
# @type Type: String
|
3789
|
+
# @param ServiceName: 服务名称
|
3790
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3791
|
+
# @type ServiceName: String
|
3792
|
+
# @param ClusterIp: 集群内访问vip
|
3793
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3794
|
+
# @type ClusterIp: String
|
3795
|
+
# @param ExternalIp: 集群外方位vip
|
3796
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3797
|
+
# @type ExternalIp: String
|
3798
|
+
# @param SubnetId: 子网id
|
3799
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3800
|
+
# @type SubnetId: String
|
3801
|
+
# @param VpcId: vpc id
|
3802
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3803
|
+
# @type VpcId: String
|
3804
|
+
# @param LoadBalanceId: LoadBalance Id
|
3805
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3806
|
+
# @type LoadBalanceId: String
|
3807
|
+
# @param Yaml: yaml 内容
|
3808
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3809
|
+
# @type Yaml: String
|
3810
|
+
# @param Ports: 暴露端口列表
|
3811
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3812
|
+
# @type Ports: Array
|
3813
|
+
# @param PortMappingItemList: 端口映射数组
|
3814
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3815
|
+
# @type PortMappingItemList: Array
|
3816
|
+
|
3817
|
+
attr_accessor :Type, :ServiceName, :ClusterIp, :ExternalIp, :SubnetId, :VpcId, :LoadBalanceId, :Yaml, :Ports, :PortMappingItemList
|
3818
|
+
|
3819
|
+
def initialize(type=nil, servicename=nil, clusterip=nil, externalip=nil, subnetid=nil, vpcid=nil, loadbalanceid=nil, yaml=nil, ports=nil, portmappingitemlist=nil)
|
3820
|
+
@Type = type
|
3821
|
+
@ServiceName = servicename
|
3822
|
+
@ClusterIp = clusterip
|
3823
|
+
@ExternalIp = externalip
|
3824
|
+
@SubnetId = subnetid
|
3825
|
+
@VpcId = vpcid
|
3826
|
+
@LoadBalanceId = loadbalanceid
|
3827
|
+
@Yaml = yaml
|
3828
|
+
@Ports = ports
|
3829
|
+
@PortMappingItemList = portmappingitemlist
|
3830
|
+
end
|
3831
|
+
|
3832
|
+
def deserialize(params)
|
3833
|
+
@Type = params['Type']
|
3834
|
+
@ServiceName = params['ServiceName']
|
3835
|
+
@ClusterIp = params['ClusterIp']
|
3836
|
+
@ExternalIp = params['ExternalIp']
|
3837
|
+
@SubnetId = params['SubnetId']
|
3838
|
+
@VpcId = params['VpcId']
|
3839
|
+
@LoadBalanceId = params['LoadBalanceId']
|
3840
|
+
@Yaml = params['Yaml']
|
3841
|
+
@Ports = params['Ports']
|
3842
|
+
unless params['PortMappingItemList'].nil?
|
3843
|
+
@PortMappingItemList = []
|
3844
|
+
params['PortMappingItemList'].each do |i|
|
3845
|
+
serviceportmappingitem_tmp = ServicePortMappingItem.new
|
3846
|
+
serviceportmappingitem_tmp.deserialize(i)
|
3847
|
+
@PortMappingItemList << serviceportmappingitem_tmp
|
3848
|
+
end
|
3849
|
+
end
|
3850
|
+
end
|
3851
|
+
end
|
3852
|
+
|
3853
|
+
# 服务端口映射条目
|
3854
|
+
class ServicePortMappingItem < TencentCloud::Common::AbstractModel
|
3855
|
+
# @param Port: 应用访问端口
|
3856
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3857
|
+
# @type Port: Integer
|
3858
|
+
# @param TargetPort: 应用监听端口
|
3859
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3860
|
+
# @type TargetPort: Integer
|
3861
|
+
# @param Protocol: 协议类型
|
3862
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3863
|
+
# @type Protocol: String
|
3864
|
+
|
3865
|
+
attr_accessor :Port, :TargetPort, :Protocol
|
3866
|
+
|
3867
|
+
def initialize(port=nil, targetport=nil, protocol=nil)
|
3868
|
+
@Port = port
|
3869
|
+
@TargetPort = targetport
|
3870
|
+
@Protocol = protocol
|
3871
|
+
end
|
3872
|
+
|
3873
|
+
def deserialize(params)
|
3874
|
+
@Port = params['Port']
|
3875
|
+
@TargetPort = params['TargetPort']
|
3876
|
+
@Protocol = params['Protocol']
|
3877
|
+
end
|
3878
|
+
end
|
3879
|
+
|
2683
3880
|
# 服务版本信息列表
|
2684
3881
|
class ServiceVersionBrief < TencentCloud::Common::AbstractModel
|
2685
3882
|
# @param VersionName: 版本名称
|
@@ -3171,23 +4368,448 @@ module TencentCloud
|
|
3171
4368
|
end
|
3172
4369
|
end
|
3173
4370
|
|
3174
|
-
#
|
3175
|
-
class
|
3176
|
-
# @param
|
4371
|
+
# 版本信息
|
4372
|
+
class TemServiceVersionInfo < TencentCloud::Common::AbstractModel
|
4373
|
+
# @param VersionId: 主键
|
4374
|
+
# @type VersionId: String
|
4375
|
+
# @param ApplicationId: 服务id
|
4376
|
+
# @type ApplicationId: Boolean
|
4377
|
+
# @param DeployMode: 部署方式
|
4378
|
+
# @type DeployMode: String
|
4379
|
+
# @param JdkVersion: jdk版本
|
4380
|
+
# @type JdkVersion: String
|
4381
|
+
# @param Description: 描述
|
4382
|
+
# @type Description: String
|
4383
|
+
# @param DeployVersion: 部署版本
|
4384
|
+
# @type DeployVersion: String
|
4385
|
+
# @param PublishMode: 发布方式
|
4386
|
+
# @type PublishMode: String
|
4387
|
+
# @param JvmOpts: 启动参数
|
4388
|
+
# @type JvmOpts: String
|
4389
|
+
# @param InitPodNum: 初始实例
|
4390
|
+
# @type InitPodNum: Integer
|
4391
|
+
# @param CpuSpec: cpu规格
|
4392
|
+
# @type CpuSpec: Float
|
4393
|
+
# @param MemorySpec: 内存规格
|
4394
|
+
# @type MemorySpec: Float
|
4395
|
+
# @param ImgRepo: 镜像路径
|
4396
|
+
# @type ImgRepo: String
|
4397
|
+
# @param ImgName: 镜像名称
|
4398
|
+
# @type ImgName: String
|
4399
|
+
# @param ImgVersion: 镜像版本
|
4400
|
+
# @type ImgVersion: String
|
4401
|
+
# @param EsInfo: 弹性配置
|
4402
|
+
# @type EsInfo: :class:`Tencentcloud::Tem.v20210701.models.EsInfo`
|
4403
|
+
# @param EnvConf: 环境配置
|
4404
|
+
# @type EnvConf: Array
|
4405
|
+
# @param StorageConfs: 存储配置
|
4406
|
+
# @type StorageConfs: Array
|
4407
|
+
# @param Status: 运行状态
|
4408
|
+
# @type Status: String
|
4409
|
+
# @param Vpc: 私有网络
|
4410
|
+
# @type Vpc: String
|
4411
|
+
# @param SubnetId: 子网网络
|
4412
|
+
# @type SubnetId: String
|
4413
|
+
# @param CreateDate: 创建时间
|
4414
|
+
# @type CreateDate: String
|
4415
|
+
# @param ModifyDate: 修改时间
|
4416
|
+
# @type ModifyDate: String
|
4417
|
+
# @param StorageMountConfs: 挂载配置
|
3177
4418
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
3178
|
-
# @type
|
3179
|
-
# @param
|
4419
|
+
# @type StorageMountConfs: Array
|
4420
|
+
# @param VersionName: 版本名称
|
3180
4421
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
3181
|
-
# @type
|
3182
|
-
# @param
|
4422
|
+
# @type VersionName: String
|
4423
|
+
# @param LogOutputConf: 日志输出配置
|
3183
4424
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
3184
|
-
# @type
|
3185
|
-
|
3186
|
-
|
3187
|
-
|
3188
|
-
|
3189
|
-
|
3190
|
-
|
4425
|
+
# @type LogOutputConf: :class:`Tencentcloud::Tem.v20210701.models.LogOutputConf`
|
4426
|
+
# @param ApplicationName: 服务名称
|
4427
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4428
|
+
# @type ApplicationName: String
|
4429
|
+
# @param ApplicationDescription: 服务描述
|
4430
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4431
|
+
# @type ApplicationDescription: String
|
4432
|
+
# @param EnvironmentName: 环境名称
|
4433
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4434
|
+
# @type EnvironmentName: String
|
4435
|
+
# @param EnvironmentId: 环境ID
|
4436
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4437
|
+
# @type EnvironmentId: String
|
4438
|
+
# @param PublicDomain: 公网地址
|
4439
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4440
|
+
# @type PublicDomain: String
|
4441
|
+
# @param EnablePublicAccess: 是否开通公网访问
|
4442
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4443
|
+
# @type EnablePublicAccess: Boolean
|
4444
|
+
# @param CurrentInstances: 现有的实例
|
4445
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4446
|
+
# @type CurrentInstances: Integer
|
4447
|
+
# @param ExpectedInstances: 期望的实例
|
4448
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4449
|
+
# @type ExpectedInstances: Integer
|
4450
|
+
# @param CodingLanguage: 编程语言
|
4451
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4452
|
+
# @type CodingLanguage: String
|
4453
|
+
# @param PkgName: 程序包名
|
4454
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4455
|
+
# @type PkgName: String
|
4456
|
+
# @param EsEnable: 是否启用弹性伸缩
|
4457
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4458
|
+
# @type EsEnable: Integer
|
4459
|
+
# @param EsStrategy: 弹性策略
|
4460
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4461
|
+
# @type EsStrategy: Integer
|
4462
|
+
# @param ImageTag: 镜像tag
|
4463
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4464
|
+
# @type ImageTag: String
|
4465
|
+
# @param LogEnable: 是否启用log
|
4466
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4467
|
+
# @type LogEnable: Integer
|
4468
|
+
# @param MinAliveInstances: 最小实例数
|
4469
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4470
|
+
# @type MinAliveInstances: Integer
|
4471
|
+
# @param SecurityGroupIds: 安全组
|
4472
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4473
|
+
# @type SecurityGroupIds: Array
|
4474
|
+
# @param ImageCommand: 镜像命令
|
4475
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4476
|
+
# @type ImageCommand: String
|
4477
|
+
# @param ImageArgs: 镜像命令参数
|
4478
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4479
|
+
# @type ImageArgs: Array
|
4480
|
+
# @param UseRegistryDefaultConfig: 是否使用默认注册中心配置
|
4481
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4482
|
+
# @type UseRegistryDefaultConfig: Boolean
|
4483
|
+
# @param Service: eks 访问设置
|
4484
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4485
|
+
# @type Service: :class:`Tencentcloud::Tem.v20210701.models.EksService`
|
4486
|
+
# @param SettingConfs: 挂载配置信息
|
4487
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4488
|
+
# @type SettingConfs: Array
|
4489
|
+
# @param LogConfs: log path数组信息
|
4490
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4491
|
+
# @type LogConfs: Array
|
4492
|
+
# @param PostStart: 启动后立即执行的脚本
|
4493
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4494
|
+
# @type PostStart: String
|
4495
|
+
# @param PreStop: 停止前执行的脚本
|
4496
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4497
|
+
# @type PreStop: String
|
4498
|
+
# @param Liveness: 存活探针配置
|
4499
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4500
|
+
# @type Liveness: :class:`Tencentcloud::Tem.v20210701.models.HealthCheckConfig`
|
4501
|
+
# @param Readiness: 就绪探针配置
|
4502
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4503
|
+
# @type Readiness: :class:`Tencentcloud::Tem.v20210701.models.HealthCheckConfig`
|
4504
|
+
# @param HorizontalAutoscaler: 弹性策略
|
4505
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4506
|
+
# @type HorizontalAutoscaler: Array
|
4507
|
+
# @param CronHorizontalAutoscaler: 定时弹性策略
|
4508
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4509
|
+
# @type CronHorizontalAutoscaler: Array
|
4510
|
+
# @param Zones: 应用实际可用区
|
4511
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4512
|
+
# @type Zones: Array
|
4513
|
+
# @param LastDeployDate: 最新部署时间
|
4514
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4515
|
+
# @type LastDeployDate: String
|
4516
|
+
# @param LastDeploySuccessDate: 最新部署成功时间
|
4517
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4518
|
+
# @type LastDeploySuccessDate: String
|
4519
|
+
# @param NodeInfos: 应用所在node信息
|
4520
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4521
|
+
# @type NodeInfos: Array
|
4522
|
+
# @param ImageType: image类型 -0 为demo -1为正常image
|
4523
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4524
|
+
# @type ImageType: Integer
|
4525
|
+
# @param EnableTracing: 是否启用调用链组件
|
4526
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4527
|
+
# @type EnableTracing: Integer
|
4528
|
+
# @param EnableTracingReport: 是否开启调用链上报,只有 EnableTracing=1 时生效
|
4529
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4530
|
+
# @type EnableTracingReport: Integer
|
4531
|
+
# @param RepoType: 镜像类型:0-个人镜像、1-企业镜像、2-公有镜像
|
4532
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4533
|
+
# @type RepoType: Integer
|
4534
|
+
# @param BatchDeployStatus: 分批发布子状态:batch_updating、batch_updating_waiting_confirm
|
4535
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4536
|
+
# @type BatchDeployStatus: String
|
4537
|
+
# @param ApmInstanceId: APM 资源 ID
|
4538
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4539
|
+
# @type ApmInstanceId: String
|
4540
|
+
# @param WorkloadInfo: 工作负载信息
|
4541
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4542
|
+
# @type WorkloadInfo: :class:`Tencentcloud::Tem.v20210701.models.WorkloadInfo`
|
4543
|
+
# @param SpeedUp: 是否启用应用加速
|
4544
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4545
|
+
# @type SpeedUp: Boolean
|
4546
|
+
# @param StartupProbe: 启动检测探针配置
|
4547
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4548
|
+
# @type StartupProbe: :class:`Tencentcloud::Tem.v20210701.models.HealthCheckConfig`
|
4549
|
+
# @param OsFlavour: 操作系统版本,可选参数:
|
4550
|
+
# - ALPINE
|
4551
|
+
# - CENTOS
|
4552
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4553
|
+
# @type OsFlavour: String
|
4554
|
+
# @param RepoServer: 镜像仓库server
|
4555
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4556
|
+
# @type RepoServer: String
|
4557
|
+
# @param UnderDeploying: 是否正在发布中
|
4558
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4559
|
+
# @type UnderDeploying: Boolean
|
4560
|
+
# @param EnablePrometheusConf: 是否开启prometheus业务指标监控
|
4561
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4562
|
+
# @type EnablePrometheusConf: :class:`Tencentcloud::Tem.v20210701.models.EnablePrometheusConf`
|
4563
|
+
# @param StoppedManually: 是否为手动停止
|
4564
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4565
|
+
# @type StoppedManually: Boolean
|
4566
|
+
# @param TcrInstanceId: tcr实例ID
|
4567
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4568
|
+
# @type TcrInstanceId: String
|
4569
|
+
|
4570
|
+
attr_accessor :VersionId, :ApplicationId, :DeployMode, :JdkVersion, :Description, :DeployVersion, :PublishMode, :JvmOpts, :InitPodNum, :CpuSpec, :MemorySpec, :ImgRepo, :ImgName, :ImgVersion, :EsInfo, :EnvConf, :StorageConfs, :Status, :Vpc, :SubnetId, :CreateDate, :ModifyDate, :StorageMountConfs, :VersionName, :LogOutputConf, :ApplicationName, :ApplicationDescription, :EnvironmentName, :EnvironmentId, :PublicDomain, :EnablePublicAccess, :CurrentInstances, :ExpectedInstances, :CodingLanguage, :PkgName, :EsEnable, :EsStrategy, :ImageTag, :LogEnable, :MinAliveInstances, :SecurityGroupIds, :ImageCommand, :ImageArgs, :UseRegistryDefaultConfig, :Service, :SettingConfs, :LogConfs, :PostStart, :PreStop, :Liveness, :Readiness, :HorizontalAutoscaler, :CronHorizontalAutoscaler, :Zones, :LastDeployDate, :LastDeploySuccessDate, :NodeInfos, :ImageType, :EnableTracing, :EnableTracingReport, :RepoType, :BatchDeployStatus, :ApmInstanceId, :WorkloadInfo, :SpeedUp, :StartupProbe, :OsFlavour, :RepoServer, :UnderDeploying, :EnablePrometheusConf, :StoppedManually, :TcrInstanceId
|
4571
|
+
|
4572
|
+
def initialize(versionid=nil, applicationid=nil, deploymode=nil, jdkversion=nil, description=nil, deployversion=nil, publishmode=nil, jvmopts=nil, initpodnum=nil, cpuspec=nil, memoryspec=nil, imgrepo=nil, imgname=nil, imgversion=nil, esinfo=nil, envconf=nil, storageconfs=nil, status=nil, vpc=nil, subnetid=nil, createdate=nil, modifydate=nil, storagemountconfs=nil, versionname=nil, logoutputconf=nil, applicationname=nil, applicationdescription=nil, environmentname=nil, environmentid=nil, publicdomain=nil, enablepublicaccess=nil, currentinstances=nil, expectedinstances=nil, codinglanguage=nil, pkgname=nil, esenable=nil, esstrategy=nil, imagetag=nil, logenable=nil, minaliveinstances=nil, securitygroupids=nil, imagecommand=nil, imageargs=nil, useregistrydefaultconfig=nil, service=nil, settingconfs=nil, logconfs=nil, poststart=nil, prestop=nil, liveness=nil, readiness=nil, horizontalautoscaler=nil, cronhorizontalautoscaler=nil, zones=nil, lastdeploydate=nil, lastdeploysuccessdate=nil, nodeinfos=nil, imagetype=nil, enabletracing=nil, enabletracingreport=nil, repotype=nil, batchdeploystatus=nil, apminstanceid=nil, workloadinfo=nil, speedup=nil, startupprobe=nil, osflavour=nil, reposerver=nil, underdeploying=nil, enableprometheusconf=nil, stoppedmanually=nil, tcrinstanceid=nil)
|
4573
|
+
@VersionId = versionid
|
4574
|
+
@ApplicationId = applicationid
|
4575
|
+
@DeployMode = deploymode
|
4576
|
+
@JdkVersion = jdkversion
|
4577
|
+
@Description = description
|
4578
|
+
@DeployVersion = deployversion
|
4579
|
+
@PublishMode = publishmode
|
4580
|
+
@JvmOpts = jvmopts
|
4581
|
+
@InitPodNum = initpodnum
|
4582
|
+
@CpuSpec = cpuspec
|
4583
|
+
@MemorySpec = memoryspec
|
4584
|
+
@ImgRepo = imgrepo
|
4585
|
+
@ImgName = imgname
|
4586
|
+
@ImgVersion = imgversion
|
4587
|
+
@EsInfo = esinfo
|
4588
|
+
@EnvConf = envconf
|
4589
|
+
@StorageConfs = storageconfs
|
4590
|
+
@Status = status
|
4591
|
+
@Vpc = vpc
|
4592
|
+
@SubnetId = subnetid
|
4593
|
+
@CreateDate = createdate
|
4594
|
+
@ModifyDate = modifydate
|
4595
|
+
@StorageMountConfs = storagemountconfs
|
4596
|
+
@VersionName = versionname
|
4597
|
+
@LogOutputConf = logoutputconf
|
4598
|
+
@ApplicationName = applicationname
|
4599
|
+
@ApplicationDescription = applicationdescription
|
4600
|
+
@EnvironmentName = environmentname
|
4601
|
+
@EnvironmentId = environmentid
|
4602
|
+
@PublicDomain = publicdomain
|
4603
|
+
@EnablePublicAccess = enablepublicaccess
|
4604
|
+
@CurrentInstances = currentinstances
|
4605
|
+
@ExpectedInstances = expectedinstances
|
4606
|
+
@CodingLanguage = codinglanguage
|
4607
|
+
@PkgName = pkgname
|
4608
|
+
@EsEnable = esenable
|
4609
|
+
@EsStrategy = esstrategy
|
4610
|
+
@ImageTag = imagetag
|
4611
|
+
@LogEnable = logenable
|
4612
|
+
@MinAliveInstances = minaliveinstances
|
4613
|
+
@SecurityGroupIds = securitygroupids
|
4614
|
+
@ImageCommand = imagecommand
|
4615
|
+
@ImageArgs = imageargs
|
4616
|
+
@UseRegistryDefaultConfig = useregistrydefaultconfig
|
4617
|
+
@Service = service
|
4618
|
+
@SettingConfs = settingconfs
|
4619
|
+
@LogConfs = logconfs
|
4620
|
+
@PostStart = poststart
|
4621
|
+
@PreStop = prestop
|
4622
|
+
@Liveness = liveness
|
4623
|
+
@Readiness = readiness
|
4624
|
+
@HorizontalAutoscaler = horizontalautoscaler
|
4625
|
+
@CronHorizontalAutoscaler = cronhorizontalautoscaler
|
4626
|
+
@Zones = zones
|
4627
|
+
@LastDeployDate = lastdeploydate
|
4628
|
+
@LastDeploySuccessDate = lastdeploysuccessdate
|
4629
|
+
@NodeInfos = nodeinfos
|
4630
|
+
@ImageType = imagetype
|
4631
|
+
@EnableTracing = enabletracing
|
4632
|
+
@EnableTracingReport = enabletracingreport
|
4633
|
+
@RepoType = repotype
|
4634
|
+
@BatchDeployStatus = batchdeploystatus
|
4635
|
+
@ApmInstanceId = apminstanceid
|
4636
|
+
@WorkloadInfo = workloadinfo
|
4637
|
+
@SpeedUp = speedup
|
4638
|
+
@StartupProbe = startupprobe
|
4639
|
+
@OsFlavour = osflavour
|
4640
|
+
@RepoServer = reposerver
|
4641
|
+
@UnderDeploying = underdeploying
|
4642
|
+
@EnablePrometheusConf = enableprometheusconf
|
4643
|
+
@StoppedManually = stoppedmanually
|
4644
|
+
@TcrInstanceId = tcrinstanceid
|
4645
|
+
end
|
4646
|
+
|
4647
|
+
def deserialize(params)
|
4648
|
+
@VersionId = params['VersionId']
|
4649
|
+
@ApplicationId = params['ApplicationId']
|
4650
|
+
@DeployMode = params['DeployMode']
|
4651
|
+
@JdkVersion = params['JdkVersion']
|
4652
|
+
@Description = params['Description']
|
4653
|
+
@DeployVersion = params['DeployVersion']
|
4654
|
+
@PublishMode = params['PublishMode']
|
4655
|
+
@JvmOpts = params['JvmOpts']
|
4656
|
+
@InitPodNum = params['InitPodNum']
|
4657
|
+
@CpuSpec = params['CpuSpec']
|
4658
|
+
@MemorySpec = params['MemorySpec']
|
4659
|
+
@ImgRepo = params['ImgRepo']
|
4660
|
+
@ImgName = params['ImgName']
|
4661
|
+
@ImgVersion = params['ImgVersion']
|
4662
|
+
unless params['EsInfo'].nil?
|
4663
|
+
@EsInfo = EsInfo.new
|
4664
|
+
@EsInfo.deserialize(params['EsInfo'])
|
4665
|
+
end
|
4666
|
+
unless params['EnvConf'].nil?
|
4667
|
+
@EnvConf = []
|
4668
|
+
params['EnvConf'].each do |i|
|
4669
|
+
pair_tmp = Pair.new
|
4670
|
+
pair_tmp.deserialize(i)
|
4671
|
+
@EnvConf << pair_tmp
|
4672
|
+
end
|
4673
|
+
end
|
4674
|
+
unless params['StorageConfs'].nil?
|
4675
|
+
@StorageConfs = []
|
4676
|
+
params['StorageConfs'].each do |i|
|
4677
|
+
storageconf_tmp = StorageConf.new
|
4678
|
+
storageconf_tmp.deserialize(i)
|
4679
|
+
@StorageConfs << storageconf_tmp
|
4680
|
+
end
|
4681
|
+
end
|
4682
|
+
@Status = params['Status']
|
4683
|
+
@Vpc = params['Vpc']
|
4684
|
+
@SubnetId = params['SubnetId']
|
4685
|
+
@CreateDate = params['CreateDate']
|
4686
|
+
@ModifyDate = params['ModifyDate']
|
4687
|
+
unless params['StorageMountConfs'].nil?
|
4688
|
+
@StorageMountConfs = []
|
4689
|
+
params['StorageMountConfs'].each do |i|
|
4690
|
+
storagemountconf_tmp = StorageMountConf.new
|
4691
|
+
storagemountconf_tmp.deserialize(i)
|
4692
|
+
@StorageMountConfs << storagemountconf_tmp
|
4693
|
+
end
|
4694
|
+
end
|
4695
|
+
@VersionName = params['VersionName']
|
4696
|
+
unless params['LogOutputConf'].nil?
|
4697
|
+
@LogOutputConf = LogOutputConf.new
|
4698
|
+
@LogOutputConf.deserialize(params['LogOutputConf'])
|
4699
|
+
end
|
4700
|
+
@ApplicationName = params['ApplicationName']
|
4701
|
+
@ApplicationDescription = params['ApplicationDescription']
|
4702
|
+
@EnvironmentName = params['EnvironmentName']
|
4703
|
+
@EnvironmentId = params['EnvironmentId']
|
4704
|
+
@PublicDomain = params['PublicDomain']
|
4705
|
+
@EnablePublicAccess = params['EnablePublicAccess']
|
4706
|
+
@CurrentInstances = params['CurrentInstances']
|
4707
|
+
@ExpectedInstances = params['ExpectedInstances']
|
4708
|
+
@CodingLanguage = params['CodingLanguage']
|
4709
|
+
@PkgName = params['PkgName']
|
4710
|
+
@EsEnable = params['EsEnable']
|
4711
|
+
@EsStrategy = params['EsStrategy']
|
4712
|
+
@ImageTag = params['ImageTag']
|
4713
|
+
@LogEnable = params['LogEnable']
|
4714
|
+
@MinAliveInstances = params['MinAliveInstances']
|
4715
|
+
@SecurityGroupIds = params['SecurityGroupIds']
|
4716
|
+
@ImageCommand = params['ImageCommand']
|
4717
|
+
@ImageArgs = params['ImageArgs']
|
4718
|
+
@UseRegistryDefaultConfig = params['UseRegistryDefaultConfig']
|
4719
|
+
unless params['Service'].nil?
|
4720
|
+
@Service = EksService.new
|
4721
|
+
@Service.deserialize(params['Service'])
|
4722
|
+
end
|
4723
|
+
unless params['SettingConfs'].nil?
|
4724
|
+
@SettingConfs = []
|
4725
|
+
params['SettingConfs'].each do |i|
|
4726
|
+
mountedsettingconf_tmp = MountedSettingConf.new
|
4727
|
+
mountedsettingconf_tmp.deserialize(i)
|
4728
|
+
@SettingConfs << mountedsettingconf_tmp
|
4729
|
+
end
|
4730
|
+
end
|
4731
|
+
@LogConfs = params['LogConfs']
|
4732
|
+
@PostStart = params['PostStart']
|
4733
|
+
@PreStop = params['PreStop']
|
4734
|
+
unless params['Liveness'].nil?
|
4735
|
+
@Liveness = HealthCheckConfig.new
|
4736
|
+
@Liveness.deserialize(params['Liveness'])
|
4737
|
+
end
|
4738
|
+
unless params['Readiness'].nil?
|
4739
|
+
@Readiness = HealthCheckConfig.new
|
4740
|
+
@Readiness.deserialize(params['Readiness'])
|
4741
|
+
end
|
4742
|
+
unless params['HorizontalAutoscaler'].nil?
|
4743
|
+
@HorizontalAutoscaler = []
|
4744
|
+
params['HorizontalAutoscaler'].each do |i|
|
4745
|
+
horizontalautoscaler_tmp = HorizontalAutoscaler.new
|
4746
|
+
horizontalautoscaler_tmp.deserialize(i)
|
4747
|
+
@HorizontalAutoscaler << horizontalautoscaler_tmp
|
4748
|
+
end
|
4749
|
+
end
|
4750
|
+
unless params['CronHorizontalAutoscaler'].nil?
|
4751
|
+
@CronHorizontalAutoscaler = []
|
4752
|
+
params['CronHorizontalAutoscaler'].each do |i|
|
4753
|
+
cronhorizontalautoscaler_tmp = CronHorizontalAutoscaler.new
|
4754
|
+
cronhorizontalautoscaler_tmp.deserialize(i)
|
4755
|
+
@CronHorizontalAutoscaler << cronhorizontalautoscaler_tmp
|
4756
|
+
end
|
4757
|
+
end
|
4758
|
+
@Zones = params['Zones']
|
4759
|
+
@LastDeployDate = params['LastDeployDate']
|
4760
|
+
@LastDeploySuccessDate = params['LastDeploySuccessDate']
|
4761
|
+
unless params['NodeInfos'].nil?
|
4762
|
+
@NodeInfos = []
|
4763
|
+
params['NodeInfos'].each do |i|
|
4764
|
+
nodeinfo_tmp = NodeInfo.new
|
4765
|
+
nodeinfo_tmp.deserialize(i)
|
4766
|
+
@NodeInfos << nodeinfo_tmp
|
4767
|
+
end
|
4768
|
+
end
|
4769
|
+
@ImageType = params['ImageType']
|
4770
|
+
@EnableTracing = params['EnableTracing']
|
4771
|
+
@EnableTracingReport = params['EnableTracingReport']
|
4772
|
+
@RepoType = params['RepoType']
|
4773
|
+
@BatchDeployStatus = params['BatchDeployStatus']
|
4774
|
+
@ApmInstanceId = params['ApmInstanceId']
|
4775
|
+
unless params['WorkloadInfo'].nil?
|
4776
|
+
@WorkloadInfo = WorkloadInfo.new
|
4777
|
+
@WorkloadInfo.deserialize(params['WorkloadInfo'])
|
4778
|
+
end
|
4779
|
+
@SpeedUp = params['SpeedUp']
|
4780
|
+
unless params['StartupProbe'].nil?
|
4781
|
+
@StartupProbe = HealthCheckConfig.new
|
4782
|
+
@StartupProbe.deserialize(params['StartupProbe'])
|
4783
|
+
end
|
4784
|
+
@OsFlavour = params['OsFlavour']
|
4785
|
+
@RepoServer = params['RepoServer']
|
4786
|
+
@UnderDeploying = params['UnderDeploying']
|
4787
|
+
unless params['EnablePrometheusConf'].nil?
|
4788
|
+
@EnablePrometheusConf = EnablePrometheusConf.new
|
4789
|
+
@EnablePrometheusConf.deserialize(params['EnablePrometheusConf'])
|
4790
|
+
end
|
4791
|
+
@StoppedManually = params['StoppedManually']
|
4792
|
+
@TcrInstanceId = params['TcrInstanceId']
|
4793
|
+
end
|
4794
|
+
end
|
4795
|
+
|
4796
|
+
# 创建应用,创建仓库参数
|
4797
|
+
class UseDefaultRepoParameters < TencentCloud::Common::AbstractModel
|
4798
|
+
# @param EnterpriseInstanceName: 企业版实例名
|
4799
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4800
|
+
# @type EnterpriseInstanceName: String
|
4801
|
+
# @param EnterpriseInstanceChargeType: 企业版收费类型 0 按量收费 1 包年包月
|
4802
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4803
|
+
# @type EnterpriseInstanceChargeType: Integer
|
4804
|
+
# @param EnterpriseInstanceType: 企业版规格:basic-基础班 ,standard-标准版,premium-高级版
|
4805
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4806
|
+
# @type EnterpriseInstanceType: String
|
4807
|
+
|
4808
|
+
attr_accessor :EnterpriseInstanceName, :EnterpriseInstanceChargeType, :EnterpriseInstanceType
|
4809
|
+
|
4810
|
+
def initialize(enterpriseinstancename=nil, enterpriseinstancechargetype=nil, enterpriseinstancetype=nil)
|
4811
|
+
@EnterpriseInstanceName = enterpriseinstancename
|
4812
|
+
@EnterpriseInstanceChargeType = enterpriseinstancechargetype
|
3191
4813
|
@EnterpriseInstanceType = enterpriseinstancetype
|
3192
4814
|
end
|
3193
4815
|
|
@@ -3198,6 +4820,28 @@ module TencentCloud
|
|
3198
4820
|
end
|
3199
4821
|
end
|
3200
4822
|
|
4823
|
+
# 工作负载详情
|
4824
|
+
class WorkloadInfo < TencentCloud::Common::AbstractModel
|
4825
|
+
# @param ClusterId: 资源 ID
|
4826
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4827
|
+
# @type ClusterId: String
|
4828
|
+
# @param ApplicationName: 应用名
|
4829
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4830
|
+
# @type ApplicationName: String
|
4831
|
+
|
4832
|
+
attr_accessor :ClusterId, :ApplicationName
|
4833
|
+
|
4834
|
+
def initialize(clusterid=nil, applicationname=nil)
|
4835
|
+
@ClusterId = clusterid
|
4836
|
+
@ApplicationName = applicationname
|
4837
|
+
end
|
4838
|
+
|
4839
|
+
def deserialize(params)
|
4840
|
+
@ClusterId = params['ClusterId']
|
4841
|
+
@ApplicationName = params['ApplicationName']
|
4842
|
+
end
|
4843
|
+
end
|
4844
|
+
|
3201
4845
|
end
|
3202
4846
|
end
|
3203
4847
|
end
|