tencentcloud-sdk-tcbr 3.0.1171 → 3.0.1188
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.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20220217/client.rb +216 -0
- data/lib/v20220217/models.rb +1056 -32
- metadata +2 -2
data/lib/v20220217/models.rb
CHANGED
|
@@ -79,27 +79,25 @@ module TencentCloud
|
|
|
79
79
|
|
|
80
80
|
# CreateCloudRunEnv请求参数结构体
|
|
81
81
|
class CreateCloudRunEnvRequest < TencentCloud::Common::AbstractModel
|
|
82
|
-
# @param PackageType: Trial,Standard,Professional,Enterprise
|
|
82
|
+
# @param PackageType: <p>Trial,Standard,Professional,Enterprise</p>
|
|
83
83
|
# @type PackageType: String
|
|
84
|
-
# @param Alias:
|
|
84
|
+
# @param Alias: <p>环境别名,要以a-z开头,不能包含 a-z,0-9,- 以外的字符</p>
|
|
85
85
|
# @type Alias: String
|
|
86
|
-
# @param FreeQuota:
|
|
86
|
+
# @param FreeQuota: <p>用户享有的免费额度级别,目前只能为“basic”,不传该字段或该字段为空,标识不享受免费额度。</p>
|
|
87
87
|
# @type FreeQuota: String
|
|
88
|
-
# @param Flag:
|
|
89
|
-
# QuickStart:快速启动来源
|
|
90
|
-
# Activity:活动来源
|
|
88
|
+
# @param Flag: <p>订单标记。建议使用方统一转大小写之后再判断。QuickStart:快速启动来源Activity:活动来源</p>
|
|
91
89
|
# @type Flag: String
|
|
92
|
-
# @param VpcId:
|
|
90
|
+
# @param VpcId: <p>私有网络Id</p>
|
|
93
91
|
# @type VpcId: String
|
|
94
|
-
# @param SubNetIds:
|
|
92
|
+
# @param SubNetIds: <p>子网列表</p>
|
|
95
93
|
# @type SubNetIds: Array
|
|
96
|
-
# @param ReqKey:
|
|
94
|
+
# @param ReqKey: <p>请求key 用于防重</p>
|
|
97
95
|
# @type ReqKey: String
|
|
98
|
-
# @param Source:
|
|
96
|
+
# @param Source: <p>来源:wechat | cloud | weda</p>
|
|
99
97
|
# @type Source: String
|
|
100
|
-
# @param Channel:
|
|
98
|
+
# @param Channel: <p>渠道:wechat | cloud | weda</p>
|
|
101
99
|
# @type Channel: String
|
|
102
|
-
# @param EnvId:
|
|
100
|
+
# @param EnvId: <p>环境ID 云开发平台必填</p>
|
|
103
101
|
# @type EnvId: String
|
|
104
102
|
|
|
105
103
|
attr_accessor :PackageType, :Alias, :FreeQuota, :Flag, :VpcId, :SubNetIds, :ReqKey, :Source, :Channel, :EnvId
|
|
@@ -133,9 +131,9 @@ module TencentCloud
|
|
|
133
131
|
|
|
134
132
|
# CreateCloudRunEnv返回参数结构体
|
|
135
133
|
class CreateCloudRunEnvResponse < TencentCloud::Common::AbstractModel
|
|
136
|
-
# @param EnvId:
|
|
134
|
+
# @param EnvId: <p>环境Id</p>
|
|
137
135
|
# @type EnvId: String
|
|
138
|
-
# @param TranId:
|
|
136
|
+
# @param TranId: <p>后付费订单号</p>
|
|
139
137
|
# @type TranId: String
|
|
140
138
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
141
139
|
# @type RequestId: String
|
|
@@ -157,17 +155,17 @@ module TencentCloud
|
|
|
157
155
|
|
|
158
156
|
# CreateCloudRunServer请求参数结构体
|
|
159
157
|
class CreateCloudRunServerRequest < TencentCloud::Common::AbstractModel
|
|
160
|
-
# @param EnvId:
|
|
158
|
+
# @param EnvId: <p>环境Id</p>
|
|
161
159
|
# @type EnvId: String
|
|
162
|
-
# @param ServerName:
|
|
160
|
+
# @param ServerName: <p>服务名</p>
|
|
163
161
|
# @type ServerName: String
|
|
164
|
-
# @param DeployInfo:
|
|
162
|
+
# @param DeployInfo: <p>部署信息</p>
|
|
165
163
|
# @type DeployInfo: :class:`Tencentcloud::Tcbr.v20220217.models.DeployParam`
|
|
166
|
-
# @param ServerConfig:
|
|
164
|
+
# @param ServerConfig: <p>服务配置信息(已废弃)</p>
|
|
167
165
|
# @type ServerConfig: :class:`Tencentcloud::Tcbr.v20220217.models.ServerBaseConfig`
|
|
168
|
-
# @param Items:
|
|
166
|
+
# @param Items: <p>服务配置信息</p>
|
|
169
167
|
# @type Items: Array
|
|
170
|
-
# @param VpcInfo: vpc
|
|
168
|
+
# @param VpcInfo: <p>vpc 信息</p>
|
|
171
169
|
# @type VpcInfo: :class:`Tencentcloud::Tcbr.v20220217.models.CreateVpcInfo`
|
|
172
170
|
|
|
173
171
|
attr_accessor :EnvId, :ServerName, :DeployInfo, :ServerConfig, :Items, :VpcInfo
|
|
@@ -209,7 +207,7 @@ module TencentCloud
|
|
|
209
207
|
|
|
210
208
|
# CreateCloudRunServer返回参数结构体
|
|
211
209
|
class CreateCloudRunServerResponse < TencentCloud::Common::AbstractModel
|
|
212
|
-
# @param TaskId:
|
|
210
|
+
# @param TaskId: <p>一键部署任务Id,微信云托管,暂时用不到</p>
|
|
213
211
|
# @type TaskId: Integer
|
|
214
212
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
215
213
|
# @type RequestId: String
|
|
@@ -280,6 +278,131 @@ module TencentCloud
|
|
|
280
278
|
end
|
|
281
279
|
end
|
|
282
280
|
|
|
281
|
+
# DeleteCloudRunServer请求参数结构体
|
|
282
|
+
class DeleteCloudRunServerRequest < TencentCloud::Common::AbstractModel
|
|
283
|
+
# @param EnvId: 环境Id
|
|
284
|
+
# @type EnvId: String
|
|
285
|
+
# @param ServerName: 服务名
|
|
286
|
+
# @type ServerName: String
|
|
287
|
+
# @param OperatorRemark: 操作人信息
|
|
288
|
+
# @type OperatorRemark: String
|
|
289
|
+
|
|
290
|
+
attr_accessor :EnvId, :ServerName, :OperatorRemark
|
|
291
|
+
|
|
292
|
+
def initialize(envid=nil, servername=nil, operatorremark=nil)
|
|
293
|
+
@EnvId = envid
|
|
294
|
+
@ServerName = servername
|
|
295
|
+
@OperatorRemark = operatorremark
|
|
296
|
+
end
|
|
297
|
+
|
|
298
|
+
def deserialize(params)
|
|
299
|
+
@EnvId = params['EnvId']
|
|
300
|
+
@ServerName = params['ServerName']
|
|
301
|
+
@OperatorRemark = params['OperatorRemark']
|
|
302
|
+
end
|
|
303
|
+
end
|
|
304
|
+
|
|
305
|
+
# DeleteCloudRunServer返回参数结构体
|
|
306
|
+
class DeleteCloudRunServerResponse < TencentCloud::Common::AbstractModel
|
|
307
|
+
# @param Result: 删除结果:success / failed
|
|
308
|
+
# @type Result: String
|
|
309
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
310
|
+
# @type RequestId: String
|
|
311
|
+
|
|
312
|
+
attr_accessor :Result, :RequestId
|
|
313
|
+
|
|
314
|
+
def initialize(result=nil, requestid=nil)
|
|
315
|
+
@Result = result
|
|
316
|
+
@RequestId = requestid
|
|
317
|
+
end
|
|
318
|
+
|
|
319
|
+
def deserialize(params)
|
|
320
|
+
@Result = params['Result']
|
|
321
|
+
@RequestId = params['RequestId']
|
|
322
|
+
end
|
|
323
|
+
end
|
|
324
|
+
|
|
325
|
+
# DeleteCloudRunVersions请求参数结构体
|
|
326
|
+
class DeleteCloudRunVersionsRequest < TencentCloud::Common::AbstractModel
|
|
327
|
+
# @param EnvId: 环境 Id
|
|
328
|
+
# @type EnvId: String
|
|
329
|
+
# @param IsDeleteServer: 是否删除服务,只有最后一个版本的时候才生效
|
|
330
|
+
# @type IsDeleteServer: Boolean
|
|
331
|
+
# @param IsDeleteImage: 只有删除服务的时候,才生效
|
|
332
|
+
# @type IsDeleteImage: Boolean
|
|
333
|
+
# @param SimpleVersions: 删除版本的信息
|
|
334
|
+
# @type SimpleVersions: Array
|
|
335
|
+
# @param OperatorRemark: 操作备注
|
|
336
|
+
# @type OperatorRemark: String
|
|
337
|
+
|
|
338
|
+
attr_accessor :EnvId, :IsDeleteServer, :IsDeleteImage, :SimpleVersions, :OperatorRemark
|
|
339
|
+
|
|
340
|
+
def initialize(envid=nil, isdeleteserver=nil, isdeleteimage=nil, simpleversions=nil, operatorremark=nil)
|
|
341
|
+
@EnvId = envid
|
|
342
|
+
@IsDeleteServer = isdeleteserver
|
|
343
|
+
@IsDeleteImage = isdeleteimage
|
|
344
|
+
@SimpleVersions = simpleversions
|
|
345
|
+
@OperatorRemark = operatorremark
|
|
346
|
+
end
|
|
347
|
+
|
|
348
|
+
def deserialize(params)
|
|
349
|
+
@EnvId = params['EnvId']
|
|
350
|
+
@IsDeleteServer = params['IsDeleteServer']
|
|
351
|
+
@IsDeleteImage = params['IsDeleteImage']
|
|
352
|
+
unless params['SimpleVersions'].nil?
|
|
353
|
+
@SimpleVersions = []
|
|
354
|
+
params['SimpleVersions'].each do |i|
|
|
355
|
+
simpleversion_tmp = SimpleVersion.new
|
|
356
|
+
simpleversion_tmp.deserialize(i)
|
|
357
|
+
@SimpleVersions << simpleversion_tmp
|
|
358
|
+
end
|
|
359
|
+
end
|
|
360
|
+
@OperatorRemark = params['OperatorRemark']
|
|
361
|
+
end
|
|
362
|
+
end
|
|
363
|
+
|
|
364
|
+
# DeleteCloudRunVersions返回参数结构体
|
|
365
|
+
class DeleteCloudRunVersionsResponse < TencentCloud::Common::AbstractModel
|
|
366
|
+
# @param Result: succ | fail | partial
|
|
367
|
+
# @type Result: String
|
|
368
|
+
# @param FailVersions: 删除失败的版本列表
|
|
369
|
+
# @type FailVersions: Array
|
|
370
|
+
# @param SuccessVersions: 删除成功的版本列表
|
|
371
|
+
# @type SuccessVersions: Array
|
|
372
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
373
|
+
# @type RequestId: String
|
|
374
|
+
|
|
375
|
+
attr_accessor :Result, :FailVersions, :SuccessVersions, :RequestId
|
|
376
|
+
|
|
377
|
+
def initialize(result=nil, failversions=nil, successversions=nil, requestid=nil)
|
|
378
|
+
@Result = result
|
|
379
|
+
@FailVersions = failversions
|
|
380
|
+
@SuccessVersions = successversions
|
|
381
|
+
@RequestId = requestid
|
|
382
|
+
end
|
|
383
|
+
|
|
384
|
+
def deserialize(params)
|
|
385
|
+
@Result = params['Result']
|
|
386
|
+
unless params['FailVersions'].nil?
|
|
387
|
+
@FailVersions = []
|
|
388
|
+
params['FailVersions'].each do |i|
|
|
389
|
+
faildeleteversions_tmp = FailDeleteVersions.new
|
|
390
|
+
faildeleteversions_tmp.deserialize(i)
|
|
391
|
+
@FailVersions << faildeleteversions_tmp
|
|
392
|
+
end
|
|
393
|
+
end
|
|
394
|
+
unless params['SuccessVersions'].nil?
|
|
395
|
+
@SuccessVersions = []
|
|
396
|
+
params['SuccessVersions'].each do |i|
|
|
397
|
+
successdeleteversions_tmp = SuccessDeleteVersions.new
|
|
398
|
+
successdeleteversions_tmp.deserialize(i)
|
|
399
|
+
@SuccessVersions << successdeleteversions_tmp
|
|
400
|
+
end
|
|
401
|
+
end
|
|
402
|
+
@RequestId = params['RequestId']
|
|
403
|
+
end
|
|
404
|
+
end
|
|
405
|
+
|
|
283
406
|
# 部署参数
|
|
284
407
|
class DeployParam < TencentCloud::Common::AbstractModel
|
|
285
408
|
# @param DeployType: 部署类型:package/image/repository/pipeline/jar/war
|
|
@@ -330,6 +453,110 @@ module TencentCloud
|
|
|
330
453
|
end
|
|
331
454
|
end
|
|
332
455
|
|
|
456
|
+
# 云托管实例的部署记录, 包括扩缩容状态和流量分配情况
|
|
457
|
+
class DeployRecord < TencentCloud::Common::AbstractModel
|
|
458
|
+
# @param DeployId: 部署Id
|
|
459
|
+
# @type DeployId: String
|
|
460
|
+
# @param DeployTime: 部署开始时间
|
|
461
|
+
# @type DeployTime: String
|
|
462
|
+
# @param Status: 状态:running/deploying/deploy_failed
|
|
463
|
+
# @type Status: String
|
|
464
|
+
# @param RunId: 部署运行Id 用户查询部署日志
|
|
465
|
+
# @type RunId: String
|
|
466
|
+
# @param BuildId: 构建Id
|
|
467
|
+
# @type BuildId: Integer
|
|
468
|
+
# @param FlowRatio: 流量比例
|
|
469
|
+
# @type FlowRatio: Integer
|
|
470
|
+
# @param ImageUrl: 镜像url
|
|
471
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
472
|
+
# @type ImageUrl: String
|
|
473
|
+
# @param ScaleStatus: 缩容状态 缩容为 zero 否则为空
|
|
474
|
+
# @type ScaleStatus: String
|
|
475
|
+
# @param HasTraffic: 是否分配流量
|
|
476
|
+
# @type HasTraffic: Boolean
|
|
477
|
+
# @param TrafficType: 流量分配方式, FLOW: 百分比分配; URL_PARAMS: 匹配 query 参数; HEADERS: 匹配请求 Header
|
|
478
|
+
# @type TrafficType: String
|
|
479
|
+
# @param IsReleasing: 当前版本是否在发布中
|
|
480
|
+
# @type IsReleasing: Boolean
|
|
481
|
+
|
|
482
|
+
attr_accessor :DeployId, :DeployTime, :Status, :RunId, :BuildId, :FlowRatio, :ImageUrl, :ScaleStatus, :HasTraffic, :TrafficType, :IsReleasing
|
|
483
|
+
|
|
484
|
+
def initialize(deployid=nil, deploytime=nil, status=nil, runid=nil, buildid=nil, flowratio=nil, imageurl=nil, scalestatus=nil, hastraffic=nil, traffictype=nil, isreleasing=nil)
|
|
485
|
+
@DeployId = deployid
|
|
486
|
+
@DeployTime = deploytime
|
|
487
|
+
@Status = status
|
|
488
|
+
@RunId = runid
|
|
489
|
+
@BuildId = buildid
|
|
490
|
+
@FlowRatio = flowratio
|
|
491
|
+
@ImageUrl = imageurl
|
|
492
|
+
@ScaleStatus = scalestatus
|
|
493
|
+
@HasTraffic = hastraffic
|
|
494
|
+
@TrafficType = traffictype
|
|
495
|
+
@IsReleasing = isreleasing
|
|
496
|
+
end
|
|
497
|
+
|
|
498
|
+
def deserialize(params)
|
|
499
|
+
@DeployId = params['DeployId']
|
|
500
|
+
@DeployTime = params['DeployTime']
|
|
501
|
+
@Status = params['Status']
|
|
502
|
+
@RunId = params['RunId']
|
|
503
|
+
@BuildId = params['BuildId']
|
|
504
|
+
@FlowRatio = params['FlowRatio']
|
|
505
|
+
@ImageUrl = params['ImageUrl']
|
|
506
|
+
@ScaleStatus = params['ScaleStatus']
|
|
507
|
+
@HasTraffic = params['HasTraffic']
|
|
508
|
+
@TrafficType = params['TrafficType']
|
|
509
|
+
@IsReleasing = params['IsReleasing']
|
|
510
|
+
end
|
|
511
|
+
end
|
|
512
|
+
|
|
513
|
+
# DescribeCloudRunDeployRecord请求参数结构体
|
|
514
|
+
class DescribeCloudRunDeployRecordRequest < TencentCloud::Common::AbstractModel
|
|
515
|
+
# @param EnvId: 环境Id
|
|
516
|
+
# @type EnvId: String
|
|
517
|
+
# @param ServerName: 服务名
|
|
518
|
+
# @type ServerName: String
|
|
519
|
+
|
|
520
|
+
attr_accessor :EnvId, :ServerName
|
|
521
|
+
|
|
522
|
+
def initialize(envid=nil, servername=nil)
|
|
523
|
+
@EnvId = envid
|
|
524
|
+
@ServerName = servername
|
|
525
|
+
end
|
|
526
|
+
|
|
527
|
+
def deserialize(params)
|
|
528
|
+
@EnvId = params['EnvId']
|
|
529
|
+
@ServerName = params['ServerName']
|
|
530
|
+
end
|
|
531
|
+
end
|
|
532
|
+
|
|
533
|
+
# DescribeCloudRunDeployRecord返回参数结构体
|
|
534
|
+
class DescribeCloudRunDeployRecordResponse < TencentCloud::Common::AbstractModel
|
|
535
|
+
# @param DeployRecords: 部署列表
|
|
536
|
+
# @type DeployRecords: Array
|
|
537
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
538
|
+
# @type RequestId: String
|
|
539
|
+
|
|
540
|
+
attr_accessor :DeployRecords, :RequestId
|
|
541
|
+
|
|
542
|
+
def initialize(deployrecords=nil, requestid=nil)
|
|
543
|
+
@DeployRecords = deployrecords
|
|
544
|
+
@RequestId = requestid
|
|
545
|
+
end
|
|
546
|
+
|
|
547
|
+
def deserialize(params)
|
|
548
|
+
unless params['DeployRecords'].nil?
|
|
549
|
+
@DeployRecords = []
|
|
550
|
+
params['DeployRecords'].each do |i|
|
|
551
|
+
deployrecord_tmp = DeployRecord.new
|
|
552
|
+
deployrecord_tmp.deserialize(i)
|
|
553
|
+
@DeployRecords << deployrecord_tmp
|
|
554
|
+
end
|
|
555
|
+
end
|
|
556
|
+
@RequestId = params['RequestId']
|
|
557
|
+
end
|
|
558
|
+
end
|
|
559
|
+
|
|
333
560
|
# DescribeCloudRunEnvs请求参数结构体
|
|
334
561
|
class DescribeCloudRunEnvsRequest < TencentCloud::Common::AbstractModel
|
|
335
562
|
# @param EnvId: 环境ID,如果传了这个参数则只返回该环境的相关信息
|
|
@@ -382,6 +609,111 @@ module TencentCloud
|
|
|
382
609
|
end
|
|
383
610
|
end
|
|
384
611
|
|
|
612
|
+
# DescribeCloudRunPodList请求参数结构体
|
|
613
|
+
class DescribeCloudRunPodListRequest < TencentCloud::Common::AbstractModel
|
|
614
|
+
# @param EnvId: 环境Id
|
|
615
|
+
# @type EnvId: String
|
|
616
|
+
# @param ServerName: 服务名
|
|
617
|
+
# @type ServerName: String
|
|
618
|
+
# @param VersionName: 版本名
|
|
619
|
+
# @type VersionName: String
|
|
620
|
+
# @param PageSize: 默认为10, 最大为50
|
|
621
|
+
# 不传或传0时 取默认10
|
|
622
|
+
# 大于50时取50
|
|
623
|
+
# @type PageSize: Integer
|
|
624
|
+
# @param PageNum: 不传或传0时 会默认为1
|
|
625
|
+
# @type PageNum: Integer
|
|
626
|
+
|
|
627
|
+
attr_accessor :EnvId, :ServerName, :VersionName, :PageSize, :PageNum
|
|
628
|
+
|
|
629
|
+
def initialize(envid=nil, servername=nil, versionname=nil, pagesize=nil, pagenum=nil)
|
|
630
|
+
@EnvId = envid
|
|
631
|
+
@ServerName = servername
|
|
632
|
+
@VersionName = versionname
|
|
633
|
+
@PageSize = pagesize
|
|
634
|
+
@PageNum = pagenum
|
|
635
|
+
end
|
|
636
|
+
|
|
637
|
+
def deserialize(params)
|
|
638
|
+
@EnvId = params['EnvId']
|
|
639
|
+
@ServerName = params['ServerName']
|
|
640
|
+
@VersionName = params['VersionName']
|
|
641
|
+
@PageSize = params['PageSize']
|
|
642
|
+
@PageNum = params['PageNum']
|
|
643
|
+
end
|
|
644
|
+
end
|
|
645
|
+
|
|
646
|
+
# DescribeCloudRunPodList返回参数结构体
|
|
647
|
+
class DescribeCloudRunPodListResponse < TencentCloud::Common::AbstractModel
|
|
648
|
+
# @param PodList: pod实例列表
|
|
649
|
+
# @type PodList: Array
|
|
650
|
+
# @param TotalCount: pod总数
|
|
651
|
+
# @type TotalCount: Integer
|
|
652
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
653
|
+
# @type RequestId: String
|
|
654
|
+
|
|
655
|
+
attr_accessor :PodList, :TotalCount, :RequestId
|
|
656
|
+
|
|
657
|
+
def initialize(podlist=nil, totalcount=nil, requestid=nil)
|
|
658
|
+
@PodList = podlist
|
|
659
|
+
@TotalCount = totalcount
|
|
660
|
+
@RequestId = requestid
|
|
661
|
+
end
|
|
662
|
+
|
|
663
|
+
def deserialize(params)
|
|
664
|
+
unless params['PodList'].nil?
|
|
665
|
+
@PodList = []
|
|
666
|
+
params['PodList'].each do |i|
|
|
667
|
+
versionpodinstance_tmp = VersionPodInstance.new
|
|
668
|
+
versionpodinstance_tmp.deserialize(i)
|
|
669
|
+
@PodList << versionpodinstance_tmp
|
|
670
|
+
end
|
|
671
|
+
end
|
|
672
|
+
@TotalCount = params['TotalCount']
|
|
673
|
+
@RequestId = params['RequestId']
|
|
674
|
+
end
|
|
675
|
+
end
|
|
676
|
+
|
|
677
|
+
# DescribeCloudRunProcessLog请求参数结构体
|
|
678
|
+
class DescribeCloudRunProcessLogRequest < TencentCloud::Common::AbstractModel
|
|
679
|
+
# @param EnvId: 环境 Id
|
|
680
|
+
# @type EnvId: String
|
|
681
|
+
# @param RunId: 操作 Id
|
|
682
|
+
# @type RunId: String
|
|
683
|
+
|
|
684
|
+
attr_accessor :EnvId, :RunId
|
|
685
|
+
|
|
686
|
+
def initialize(envid=nil, runid=nil)
|
|
687
|
+
@EnvId = envid
|
|
688
|
+
@RunId = runid
|
|
689
|
+
end
|
|
690
|
+
|
|
691
|
+
def deserialize(params)
|
|
692
|
+
@EnvId = params['EnvId']
|
|
693
|
+
@RunId = params['RunId']
|
|
694
|
+
end
|
|
695
|
+
end
|
|
696
|
+
|
|
697
|
+
# DescribeCloudRunProcessLog返回参数结构体
|
|
698
|
+
class DescribeCloudRunProcessLogResponse < TencentCloud::Common::AbstractModel
|
|
699
|
+
# @param Logs: 运行日志列表
|
|
700
|
+
# @type Logs: Array
|
|
701
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
702
|
+
# @type RequestId: String
|
|
703
|
+
|
|
704
|
+
attr_accessor :Logs, :RequestId
|
|
705
|
+
|
|
706
|
+
def initialize(logs=nil, requestid=nil)
|
|
707
|
+
@Logs = logs
|
|
708
|
+
@RequestId = requestid
|
|
709
|
+
end
|
|
710
|
+
|
|
711
|
+
def deserialize(params)
|
|
712
|
+
@Logs = params['Logs']
|
|
713
|
+
@RequestId = params['RequestId']
|
|
714
|
+
end
|
|
715
|
+
end
|
|
716
|
+
|
|
385
717
|
# DescribeCloudRunServerDetail请求参数结构体
|
|
386
718
|
class DescribeCloudRunServerDetailRequest < TencentCloud::Common::AbstractModel
|
|
387
719
|
# @param EnvId: 环境Id
|
|
@@ -514,7 +846,7 @@ module TencentCloud
|
|
|
514
846
|
|
|
515
847
|
# DescribeEnvBaseInfo请求参数结构体
|
|
516
848
|
class DescribeEnvBaseInfoRequest < TencentCloud::Common::AbstractModel
|
|
517
|
-
# @param EnvId:
|
|
849
|
+
# @param EnvId: <p>环境 Id</p>
|
|
518
850
|
# @type EnvId: String
|
|
519
851
|
|
|
520
852
|
attr_accessor :EnvId
|
|
@@ -530,9 +862,9 @@ module TencentCloud
|
|
|
530
862
|
|
|
531
863
|
# DescribeEnvBaseInfo返回参数结构体
|
|
532
864
|
class DescribeEnvBaseInfoResponse < TencentCloud::Common::AbstractModel
|
|
533
|
-
# @param EnvBaseInfo:
|
|
865
|
+
# @param EnvBaseInfo: <p>环境基础信息</p>
|
|
534
866
|
# @type EnvBaseInfo: :class:`Tencentcloud::Tcbr.v20220217.models.EnvBaseInfo`
|
|
535
|
-
# @param IsExist:
|
|
867
|
+
# @param IsExist: <p>是否存在</p>
|
|
536
868
|
# @type IsExist: Boolean
|
|
537
869
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
538
870
|
# @type RequestId: String
|
|
@@ -555,6 +887,61 @@ module TencentCloud
|
|
|
555
887
|
end
|
|
556
888
|
end
|
|
557
889
|
|
|
890
|
+
# DescribeReleaseOrder请求参数结构体
|
|
891
|
+
class DescribeReleaseOrderRequest < TencentCloud::Common::AbstractModel
|
|
892
|
+
# @param EnvId: 环境 Id
|
|
893
|
+
# @type EnvId: String
|
|
894
|
+
# @param ServerName: 服务名
|
|
895
|
+
# @type ServerName: String
|
|
896
|
+
# @param Status: 发布单状态
|
|
897
|
+
# @type Status: String
|
|
898
|
+
|
|
899
|
+
attr_accessor :EnvId, :ServerName, :Status
|
|
900
|
+
|
|
901
|
+
def initialize(envid=nil, servername=nil, status=nil)
|
|
902
|
+
@EnvId = envid
|
|
903
|
+
@ServerName = servername
|
|
904
|
+
@Status = status
|
|
905
|
+
end
|
|
906
|
+
|
|
907
|
+
def deserialize(params)
|
|
908
|
+
@EnvId = params['EnvId']
|
|
909
|
+
@ServerName = params['ServerName']
|
|
910
|
+
@Status = params['Status']
|
|
911
|
+
end
|
|
912
|
+
end
|
|
913
|
+
|
|
914
|
+
# DescribeReleaseOrder返回参数结构体
|
|
915
|
+
class DescribeReleaseOrderResponse < TencentCloud::Common::AbstractModel
|
|
916
|
+
# @param IsExist: 是否存在
|
|
917
|
+
# @type IsExist: Boolean
|
|
918
|
+
# @param ReleaseOrderInfo: 发布单信息
|
|
919
|
+
# @type ReleaseOrderInfo: :class:`Tencentcloud::Tcbr.v20220217.models.ReleaseOrderInfo`
|
|
920
|
+
# @param LastReleasedSuccessTime: 上一次成功发布时间
|
|
921
|
+
# @type LastReleasedSuccessTime: String
|
|
922
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
923
|
+
# @type RequestId: String
|
|
924
|
+
|
|
925
|
+
attr_accessor :IsExist, :ReleaseOrderInfo, :LastReleasedSuccessTime, :RequestId
|
|
926
|
+
|
|
927
|
+
def initialize(isexist=nil, releaseorderinfo=nil, lastreleasedsuccesstime=nil, requestid=nil)
|
|
928
|
+
@IsExist = isexist
|
|
929
|
+
@ReleaseOrderInfo = releaseorderinfo
|
|
930
|
+
@LastReleasedSuccessTime = lastreleasedsuccesstime
|
|
931
|
+
@RequestId = requestid
|
|
932
|
+
end
|
|
933
|
+
|
|
934
|
+
def deserialize(params)
|
|
935
|
+
@IsExist = params['IsExist']
|
|
936
|
+
unless params['ReleaseOrderInfo'].nil?
|
|
937
|
+
@ReleaseOrderInfo = ReleaseOrderInfo.new
|
|
938
|
+
@ReleaseOrderInfo.deserialize(params['ReleaseOrderInfo'])
|
|
939
|
+
end
|
|
940
|
+
@LastReleasedSuccessTime = params['LastReleasedSuccessTime']
|
|
941
|
+
@RequestId = params['RequestId']
|
|
942
|
+
end
|
|
943
|
+
end
|
|
944
|
+
|
|
558
945
|
# DescribeServerManageTask请求参数结构体
|
|
559
946
|
class DescribeServerManageTaskRequest < TencentCloud::Common::AbstractModel
|
|
560
947
|
# @param EnvId: 环境Id
|
|
@@ -610,6 +997,143 @@ module TencentCloud
|
|
|
610
997
|
end
|
|
611
998
|
end
|
|
612
999
|
|
|
1000
|
+
# DescribeVersionDetail请求参数结构体
|
|
1001
|
+
class DescribeVersionDetailRequest < TencentCloud::Common::AbstractModel
|
|
1002
|
+
# @param EnvId: 环境Id
|
|
1003
|
+
# @type EnvId: String
|
|
1004
|
+
# @param ServerName: 服务名
|
|
1005
|
+
# @type ServerName: String
|
|
1006
|
+
# @param VersionName: 版本名
|
|
1007
|
+
# @type VersionName: String
|
|
1008
|
+
# @param Channel: channel
|
|
1009
|
+
# @type Channel: String
|
|
1010
|
+
|
|
1011
|
+
attr_accessor :EnvId, :ServerName, :VersionName, :Channel
|
|
1012
|
+
|
|
1013
|
+
def initialize(envid=nil, servername=nil, versionname=nil, channel=nil)
|
|
1014
|
+
@EnvId = envid
|
|
1015
|
+
@ServerName = servername
|
|
1016
|
+
@VersionName = versionname
|
|
1017
|
+
@Channel = channel
|
|
1018
|
+
end
|
|
1019
|
+
|
|
1020
|
+
def deserialize(params)
|
|
1021
|
+
@EnvId = params['EnvId']
|
|
1022
|
+
@ServerName = params['ServerName']
|
|
1023
|
+
@VersionName = params['VersionName']
|
|
1024
|
+
@Channel = params['Channel']
|
|
1025
|
+
end
|
|
1026
|
+
end
|
|
1027
|
+
|
|
1028
|
+
# DescribeVersionDetail返回参数结构体
|
|
1029
|
+
class DescribeVersionDetailResponse < TencentCloud::Common::AbstractModel
|
|
1030
|
+
# @param Name: 版本名
|
|
1031
|
+
# @type Name: String
|
|
1032
|
+
# @param Port: 端口号
|
|
1033
|
+
# @type Port: Integer
|
|
1034
|
+
# @param Cpu: cpu 规格
|
|
1035
|
+
# @type Cpu: Float
|
|
1036
|
+
# @param Mem: mem 规格
|
|
1037
|
+
# @type Mem: Float
|
|
1038
|
+
# @param MinNum: 最小副本数
|
|
1039
|
+
# @type MinNum: Integer
|
|
1040
|
+
# @param MaxNum: 最大副本数
|
|
1041
|
+
# @type MaxNum: Integer
|
|
1042
|
+
# @param PolicyDetails: 扩缩容策略
|
|
1043
|
+
# @type PolicyDetails: Array
|
|
1044
|
+
# @param Dockerfile: Dockerfile path
|
|
1045
|
+
# @type Dockerfile: String
|
|
1046
|
+
# @param BuildDir: 目标目录
|
|
1047
|
+
# @type BuildDir: String
|
|
1048
|
+
# @param EnvParams: 环境变量
|
|
1049
|
+
# @type EnvParams: String
|
|
1050
|
+
# @param Status: 状态
|
|
1051
|
+
# @type Status: String
|
|
1052
|
+
# @param CreatedTime: 创建时间
|
|
1053
|
+
# @type CreatedTime: String
|
|
1054
|
+
# @param UpdatedTime: 更新时间
|
|
1055
|
+
# @type UpdatedTime: String
|
|
1056
|
+
# @param LogPath: 日志采集路径
|
|
1057
|
+
# @type LogPath: String
|
|
1058
|
+
# @param EntryPoint: entryPoint
|
|
1059
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
1060
|
+
# @type EntryPoint: String
|
|
1061
|
+
# @param Cmd: Cmd
|
|
1062
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
1063
|
+
# @type Cmd: String
|
|
1064
|
+
# @param VpcConf: vpc conf
|
|
1065
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
1066
|
+
# @type VpcConf: :class:`Tencentcloud::Tcbr.v20220217.models.VpcConf`
|
|
1067
|
+
# @param VolumesConf: volume conf
|
|
1068
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
1069
|
+
# @type VolumesConf: Array
|
|
1070
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1071
|
+
# @type RequestId: String
|
|
1072
|
+
|
|
1073
|
+
attr_accessor :Name, :Port, :Cpu, :Mem, :MinNum, :MaxNum, :PolicyDetails, :Dockerfile, :BuildDir, :EnvParams, :Status, :CreatedTime, :UpdatedTime, :LogPath, :EntryPoint, :Cmd, :VpcConf, :VolumesConf, :RequestId
|
|
1074
|
+
|
|
1075
|
+
def initialize(name=nil, port=nil, cpu=nil, mem=nil, minnum=nil, maxnum=nil, policydetails=nil, dockerfile=nil, builddir=nil, envparams=nil, status=nil, createdtime=nil, updatedtime=nil, logpath=nil, entrypoint=nil, cmd=nil, vpcconf=nil, volumesconf=nil, requestid=nil)
|
|
1076
|
+
@Name = name
|
|
1077
|
+
@Port = port
|
|
1078
|
+
@Cpu = cpu
|
|
1079
|
+
@Mem = mem
|
|
1080
|
+
@MinNum = minnum
|
|
1081
|
+
@MaxNum = maxnum
|
|
1082
|
+
@PolicyDetails = policydetails
|
|
1083
|
+
@Dockerfile = dockerfile
|
|
1084
|
+
@BuildDir = builddir
|
|
1085
|
+
@EnvParams = envparams
|
|
1086
|
+
@Status = status
|
|
1087
|
+
@CreatedTime = createdtime
|
|
1088
|
+
@UpdatedTime = updatedtime
|
|
1089
|
+
@LogPath = logpath
|
|
1090
|
+
@EntryPoint = entrypoint
|
|
1091
|
+
@Cmd = cmd
|
|
1092
|
+
@VpcConf = vpcconf
|
|
1093
|
+
@VolumesConf = volumesconf
|
|
1094
|
+
@RequestId = requestid
|
|
1095
|
+
end
|
|
1096
|
+
|
|
1097
|
+
def deserialize(params)
|
|
1098
|
+
@Name = params['Name']
|
|
1099
|
+
@Port = params['Port']
|
|
1100
|
+
@Cpu = params['Cpu']
|
|
1101
|
+
@Mem = params['Mem']
|
|
1102
|
+
@MinNum = params['MinNum']
|
|
1103
|
+
@MaxNum = params['MaxNum']
|
|
1104
|
+
unless params['PolicyDetails'].nil?
|
|
1105
|
+
@PolicyDetails = []
|
|
1106
|
+
params['PolicyDetails'].each do |i|
|
|
1107
|
+
hpapolicy_tmp = HpaPolicy.new
|
|
1108
|
+
hpapolicy_tmp.deserialize(i)
|
|
1109
|
+
@PolicyDetails << hpapolicy_tmp
|
|
1110
|
+
end
|
|
1111
|
+
end
|
|
1112
|
+
@Dockerfile = params['Dockerfile']
|
|
1113
|
+
@BuildDir = params['BuildDir']
|
|
1114
|
+
@EnvParams = params['EnvParams']
|
|
1115
|
+
@Status = params['Status']
|
|
1116
|
+
@CreatedTime = params['CreatedTime']
|
|
1117
|
+
@UpdatedTime = params['UpdatedTime']
|
|
1118
|
+
@LogPath = params['LogPath']
|
|
1119
|
+
@EntryPoint = params['EntryPoint']
|
|
1120
|
+
@Cmd = params['Cmd']
|
|
1121
|
+
unless params['VpcConf'].nil?
|
|
1122
|
+
@VpcConf = VpcConf.new
|
|
1123
|
+
@VpcConf.deserialize(params['VpcConf'])
|
|
1124
|
+
end
|
|
1125
|
+
unless params['VolumesConf'].nil?
|
|
1126
|
+
@VolumesConf = []
|
|
1127
|
+
params['VolumesConf'].each do |i|
|
|
1128
|
+
volumeconf_tmp = VolumeConf.new
|
|
1129
|
+
volumeconf_tmp.deserialize(i)
|
|
1130
|
+
@VolumesConf << volumeconf_tmp
|
|
1131
|
+
end
|
|
1132
|
+
end
|
|
1133
|
+
@RequestId = params['RequestId']
|
|
1134
|
+
end
|
|
1135
|
+
end
|
|
1136
|
+
|
|
613
1137
|
# 服务配置入参
|
|
614
1138
|
class DiffConfigItem < TencentCloud::Common::AbstractModel
|
|
615
1139
|
# @param Key: 配置项 Key
|
|
@@ -916,6 +1440,37 @@ module TencentCloud
|
|
|
916
1440
|
end
|
|
917
1441
|
end
|
|
918
1442
|
|
|
1443
|
+
# 删除失败版本信息
|
|
1444
|
+
class FailDeleteVersions < TencentCloud::Common::AbstractModel
|
|
1445
|
+
# @param Version: 删除失败版本信息
|
|
1446
|
+
# @type Version: :class:`Tencentcloud::Tcbr.v20220217.models.SimpleVersion`
|
|
1447
|
+
# @param ErrorCode: 删除失败错误码
|
|
1448
|
+
# @type ErrorCode: Integer
|
|
1449
|
+
# @param ErrorMsg: 删除失败错误信息
|
|
1450
|
+
# @type ErrorMsg: String
|
|
1451
|
+
# @param RequestId: 删除操作 RequestId
|
|
1452
|
+
# @type RequestId: String
|
|
1453
|
+
|
|
1454
|
+
attr_accessor :Version, :ErrorCode, :ErrorMsg, :RequestId
|
|
1455
|
+
|
|
1456
|
+
def initialize(version=nil, errorcode=nil, errormsg=nil, requestid=nil)
|
|
1457
|
+
@Version = version
|
|
1458
|
+
@ErrorCode = errorcode
|
|
1459
|
+
@ErrorMsg = errormsg
|
|
1460
|
+
@RequestId = requestid
|
|
1461
|
+
end
|
|
1462
|
+
|
|
1463
|
+
def deserialize(params)
|
|
1464
|
+
unless params['Version'].nil?
|
|
1465
|
+
@Version = SimpleVersion.new
|
|
1466
|
+
@Version.deserialize(params['Version'])
|
|
1467
|
+
end
|
|
1468
|
+
@ErrorCode = params['ErrorCode']
|
|
1469
|
+
@ErrorMsg = params['ErrorMsg']
|
|
1470
|
+
@RequestId = params['RequestId']
|
|
1471
|
+
end
|
|
1472
|
+
end
|
|
1473
|
+
|
|
919
1474
|
# 函数的信息
|
|
920
1475
|
class FunctionInfo < TencentCloud::Common::AbstractModel
|
|
921
1476
|
# @param Namespace: 命名空间
|
|
@@ -957,6 +1512,86 @@ module TencentCloud
|
|
|
957
1512
|
end
|
|
958
1513
|
end
|
|
959
1514
|
|
|
1515
|
+
# CLS日志单条信息
|
|
1516
|
+
class LogObject < TencentCloud::Common::AbstractModel
|
|
1517
|
+
# @param TopicId: 日志属于的 topic ID
|
|
1518
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
1519
|
+
# @type TopicId: String
|
|
1520
|
+
# @param TopicName: 日志主题的名字
|
|
1521
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
1522
|
+
# @type TopicName: String
|
|
1523
|
+
# @param Timestamp: 日志时间
|
|
1524
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
1525
|
+
# @type Timestamp: String
|
|
1526
|
+
# @param Content: 日志内容
|
|
1527
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
1528
|
+
# @type Content: String
|
|
1529
|
+
# @param FileName: 采集路径
|
|
1530
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
1531
|
+
# @type FileName: String
|
|
1532
|
+
# @param Source: 日志来源设备
|
|
1533
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
1534
|
+
# @type Source: String
|
|
1535
|
+
# @param PkgLogId: 日志唯一标识
|
|
1536
|
+
# @type PkgLogId: String
|
|
1537
|
+
|
|
1538
|
+
attr_accessor :TopicId, :TopicName, :Timestamp, :Content, :FileName, :Source, :PkgLogId
|
|
1539
|
+
|
|
1540
|
+
def initialize(topicid=nil, topicname=nil, timestamp=nil, content=nil, filename=nil, source=nil, pkglogid=nil)
|
|
1541
|
+
@TopicId = topicid
|
|
1542
|
+
@TopicName = topicname
|
|
1543
|
+
@Timestamp = timestamp
|
|
1544
|
+
@Content = content
|
|
1545
|
+
@FileName = filename
|
|
1546
|
+
@Source = source
|
|
1547
|
+
@PkgLogId = pkglogid
|
|
1548
|
+
end
|
|
1549
|
+
|
|
1550
|
+
def deserialize(params)
|
|
1551
|
+
@TopicId = params['TopicId']
|
|
1552
|
+
@TopicName = params['TopicName']
|
|
1553
|
+
@Timestamp = params['Timestamp']
|
|
1554
|
+
@Content = params['Content']
|
|
1555
|
+
@FileName = params['FileName']
|
|
1556
|
+
@Source = params['Source']
|
|
1557
|
+
@PkgLogId = params['PkgLogId']
|
|
1558
|
+
end
|
|
1559
|
+
end
|
|
1560
|
+
|
|
1561
|
+
# CLS日志结果
|
|
1562
|
+
class LogResObject < TencentCloud::Common::AbstractModel
|
|
1563
|
+
# @param Context: 获取更多检索结果的游标
|
|
1564
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
1565
|
+
# @type Context: String
|
|
1566
|
+
# @param ListOver: 搜索结果是否已经全部返回
|
|
1567
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
1568
|
+
# @type ListOver: Boolean
|
|
1569
|
+
# @param Results: 日志内容信息
|
|
1570
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
1571
|
+
# @type Results: Array
|
|
1572
|
+
|
|
1573
|
+
attr_accessor :Context, :ListOver, :Results
|
|
1574
|
+
|
|
1575
|
+
def initialize(context=nil, listover=nil, results=nil)
|
|
1576
|
+
@Context = context
|
|
1577
|
+
@ListOver = listover
|
|
1578
|
+
@Results = results
|
|
1579
|
+
end
|
|
1580
|
+
|
|
1581
|
+
def deserialize(params)
|
|
1582
|
+
@Context = params['Context']
|
|
1583
|
+
@ListOver = params['ListOver']
|
|
1584
|
+
unless params['Results'].nil?
|
|
1585
|
+
@Results = []
|
|
1586
|
+
params['Results'].each do |i|
|
|
1587
|
+
logobject_tmp = LogObject.new
|
|
1588
|
+
logobject_tmp.deserialize(i)
|
|
1589
|
+
@Results << logobject_tmp
|
|
1590
|
+
end
|
|
1591
|
+
end
|
|
1592
|
+
end
|
|
1593
|
+
end
|
|
1594
|
+
|
|
960
1595
|
# 云日志服务相关信息
|
|
961
1596
|
class LogServiceInfo < TencentCloud::Common::AbstractModel
|
|
962
1597
|
# @param LogsetName: log名
|
|
@@ -1009,6 +1644,30 @@ module TencentCloud
|
|
|
1009
1644
|
end
|
|
1010
1645
|
end
|
|
1011
1646
|
|
|
1647
|
+
# 通用键值权重对
|
|
1648
|
+
class ObjectKVPriority < TencentCloud::Common::AbstractModel
|
|
1649
|
+
# @param Key: 键值对Key
|
|
1650
|
+
# @type Key: String
|
|
1651
|
+
# @param Value: 键值对Value
|
|
1652
|
+
# @type Value: String
|
|
1653
|
+
# @param Priority: 键值对权重
|
|
1654
|
+
# @type Priority: Integer
|
|
1655
|
+
|
|
1656
|
+
attr_accessor :Key, :Value, :Priority
|
|
1657
|
+
|
|
1658
|
+
def initialize(key=nil, value=nil, priority=nil)
|
|
1659
|
+
@Key = key
|
|
1660
|
+
@Value = value
|
|
1661
|
+
@Priority = priority
|
|
1662
|
+
end
|
|
1663
|
+
|
|
1664
|
+
def deserialize(params)
|
|
1665
|
+
@Key = params['Key']
|
|
1666
|
+
@Value = params['Value']
|
|
1667
|
+
@Priority = params['Priority']
|
|
1668
|
+
end
|
|
1669
|
+
end
|
|
1670
|
+
|
|
1012
1671
|
# 在线版本信息
|
|
1013
1672
|
class OnlineVersionInfo < TencentCloud::Common::AbstractModel
|
|
1014
1673
|
# @param VersionName: 版本名
|
|
@@ -1144,6 +1803,75 @@ module TencentCloud
|
|
|
1144
1803
|
end
|
|
1145
1804
|
end
|
|
1146
1805
|
|
|
1806
|
+
# 发布单信息
|
|
1807
|
+
class ReleaseOrderInfo < TencentCloud::Common::AbstractModel
|
|
1808
|
+
# @param Id: 发布单Id
|
|
1809
|
+
# @type Id: Integer
|
|
1810
|
+
# @param ServerName: 服务名
|
|
1811
|
+
# @type ServerName: String
|
|
1812
|
+
# @param CurrentVersion: 当前版本
|
|
1813
|
+
# @type CurrentVersion: :class:`Tencentcloud::Tcbr.v20220217.models.VersionInfo`
|
|
1814
|
+
# @param ReleaseVersion: 发布版本
|
|
1815
|
+
# @type ReleaseVersion: :class:`Tencentcloud::Tcbr.v20220217.models.VersionInfo`
|
|
1816
|
+
# @param GrayStatus: 灰度状态
|
|
1817
|
+
# @type GrayStatus: String
|
|
1818
|
+
# @param ReleaseStatus: 发布状态
|
|
1819
|
+
# @type ReleaseStatus: String
|
|
1820
|
+
# @param TrafficTypeValues: 流量值
|
|
1821
|
+
# @type TrafficTypeValues: Array
|
|
1822
|
+
# @param TrafficType: 流量类型
|
|
1823
|
+
# @type TrafficType: String
|
|
1824
|
+
# @param FlowRatio: 百分比
|
|
1825
|
+
# @type FlowRatio: Integer
|
|
1826
|
+
# @param CreateTime: 创建时间
|
|
1827
|
+
# @type CreateTime: String
|
|
1828
|
+
# @param IsReleasing: 是否发布中
|
|
1829
|
+
# @type IsReleasing: Boolean
|
|
1830
|
+
|
|
1831
|
+
attr_accessor :Id, :ServerName, :CurrentVersion, :ReleaseVersion, :GrayStatus, :ReleaseStatus, :TrafficTypeValues, :TrafficType, :FlowRatio, :CreateTime, :IsReleasing
|
|
1832
|
+
|
|
1833
|
+
def initialize(id=nil, servername=nil, currentversion=nil, releaseversion=nil, graystatus=nil, releasestatus=nil, traffictypevalues=nil, traffictype=nil, flowratio=nil, createtime=nil, isreleasing=nil)
|
|
1834
|
+
@Id = id
|
|
1835
|
+
@ServerName = servername
|
|
1836
|
+
@CurrentVersion = currentversion
|
|
1837
|
+
@ReleaseVersion = releaseversion
|
|
1838
|
+
@GrayStatus = graystatus
|
|
1839
|
+
@ReleaseStatus = releasestatus
|
|
1840
|
+
@TrafficTypeValues = traffictypevalues
|
|
1841
|
+
@TrafficType = traffictype
|
|
1842
|
+
@FlowRatio = flowratio
|
|
1843
|
+
@CreateTime = createtime
|
|
1844
|
+
@IsReleasing = isreleasing
|
|
1845
|
+
end
|
|
1846
|
+
|
|
1847
|
+
def deserialize(params)
|
|
1848
|
+
@Id = params['Id']
|
|
1849
|
+
@ServerName = params['ServerName']
|
|
1850
|
+
unless params['CurrentVersion'].nil?
|
|
1851
|
+
@CurrentVersion = VersionInfo.new
|
|
1852
|
+
@CurrentVersion.deserialize(params['CurrentVersion'])
|
|
1853
|
+
end
|
|
1854
|
+
unless params['ReleaseVersion'].nil?
|
|
1855
|
+
@ReleaseVersion = VersionInfo.new
|
|
1856
|
+
@ReleaseVersion.deserialize(params['ReleaseVersion'])
|
|
1857
|
+
end
|
|
1858
|
+
@GrayStatus = params['GrayStatus']
|
|
1859
|
+
@ReleaseStatus = params['ReleaseStatus']
|
|
1860
|
+
unless params['TrafficTypeValues'].nil?
|
|
1861
|
+
@TrafficTypeValues = []
|
|
1862
|
+
params['TrafficTypeValues'].each do |i|
|
|
1863
|
+
objectkv_tmp = ObjectKV.new
|
|
1864
|
+
objectkv_tmp.deserialize(i)
|
|
1865
|
+
@TrafficTypeValues << objectkv_tmp
|
|
1866
|
+
end
|
|
1867
|
+
end
|
|
1868
|
+
@TrafficType = params['TrafficType']
|
|
1869
|
+
@FlowRatio = params['FlowRatio']
|
|
1870
|
+
@CreateTime = params['CreateTime']
|
|
1871
|
+
@IsReleasing = params['IsReleasing']
|
|
1872
|
+
end
|
|
1873
|
+
end
|
|
1874
|
+
|
|
1147
1875
|
# 代码仓库信息
|
|
1148
1876
|
class RepositoryInfo < TencentCloud::Common::AbstractModel
|
|
1149
1877
|
# @param Source: git source
|
|
@@ -1168,6 +1896,77 @@ module TencentCloud
|
|
|
1168
1896
|
end
|
|
1169
1897
|
end
|
|
1170
1898
|
|
|
1899
|
+
# SearchClsLog请求参数结构体
|
|
1900
|
+
class SearchClsLogRequest < TencentCloud::Common::AbstractModel
|
|
1901
|
+
# @param EnvId: 环境Id
|
|
1902
|
+
# @type EnvId: String
|
|
1903
|
+
# @param StartTime: 开始时间
|
|
1904
|
+
# @type StartTime: String
|
|
1905
|
+
# @param EndTime: 结束时间
|
|
1906
|
+
# @type EndTime: String
|
|
1907
|
+
# @param QueryString: 查询语句,详情参考 https://cloud.tencent.com/document/product/614/47044
|
|
1908
|
+
# @type QueryString: String
|
|
1909
|
+
# @param Limit: 单次要返回的日志条数,单次返回的最大条数为100
|
|
1910
|
+
# @type Limit: Integer
|
|
1911
|
+
# @param Context: 加载更多使用,透传上次返回的 context 值,获取后续的日志内容,通过游标最多可获取10000条,请尽可能缩小时间范围
|
|
1912
|
+
# @type Context: String
|
|
1913
|
+
# @param Sort: 按时间排序 asc(升序)或者 desc(降序),默认为 desc
|
|
1914
|
+
# @type Sort: String
|
|
1915
|
+
# @param UseLucene: 是否使用Lucene语法,默认为false
|
|
1916
|
+
# @type UseLucene: Boolean
|
|
1917
|
+
# @param LogType: 日志类型
|
|
1918
|
+
# @type LogType: Integer
|
|
1919
|
+
|
|
1920
|
+
attr_accessor :EnvId, :StartTime, :EndTime, :QueryString, :Limit, :Context, :Sort, :UseLucene, :LogType
|
|
1921
|
+
|
|
1922
|
+
def initialize(envid=nil, starttime=nil, endtime=nil, querystring=nil, limit=nil, context=nil, sort=nil, uselucene=nil, logtype=nil)
|
|
1923
|
+
@EnvId = envid
|
|
1924
|
+
@StartTime = starttime
|
|
1925
|
+
@EndTime = endtime
|
|
1926
|
+
@QueryString = querystring
|
|
1927
|
+
@Limit = limit
|
|
1928
|
+
@Context = context
|
|
1929
|
+
@Sort = sort
|
|
1930
|
+
@UseLucene = uselucene
|
|
1931
|
+
@LogType = logtype
|
|
1932
|
+
end
|
|
1933
|
+
|
|
1934
|
+
def deserialize(params)
|
|
1935
|
+
@EnvId = params['EnvId']
|
|
1936
|
+
@StartTime = params['StartTime']
|
|
1937
|
+
@EndTime = params['EndTime']
|
|
1938
|
+
@QueryString = params['QueryString']
|
|
1939
|
+
@Limit = params['Limit']
|
|
1940
|
+
@Context = params['Context']
|
|
1941
|
+
@Sort = params['Sort']
|
|
1942
|
+
@UseLucene = params['UseLucene']
|
|
1943
|
+
@LogType = params['LogType']
|
|
1944
|
+
end
|
|
1945
|
+
end
|
|
1946
|
+
|
|
1947
|
+
# SearchClsLog返回参数结构体
|
|
1948
|
+
class SearchClsLogResponse < TencentCloud::Common::AbstractModel
|
|
1949
|
+
# @param LogResults: 日志内容结果
|
|
1950
|
+
# @type LogResults: :class:`Tencentcloud::Tcbr.v20220217.models.LogResObject`
|
|
1951
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1952
|
+
# @type RequestId: String
|
|
1953
|
+
|
|
1954
|
+
attr_accessor :LogResults, :RequestId
|
|
1955
|
+
|
|
1956
|
+
def initialize(logresults=nil, requestid=nil)
|
|
1957
|
+
@LogResults = logresults
|
|
1958
|
+
@RequestId = requestid
|
|
1959
|
+
end
|
|
1960
|
+
|
|
1961
|
+
def deserialize(params)
|
|
1962
|
+
unless params['LogResults'].nil?
|
|
1963
|
+
@LogResults = LogResObject.new
|
|
1964
|
+
@LogResults.deserialize(params['LogResults'])
|
|
1965
|
+
end
|
|
1966
|
+
@RequestId = params['RequestId']
|
|
1967
|
+
end
|
|
1968
|
+
end
|
|
1969
|
+
|
|
1171
1970
|
# 服务基础配置信息
|
|
1172
1971
|
class ServerBaseConfig < TencentCloud::Common::AbstractModel
|
|
1173
1972
|
# @param EnvId: 环境 Id
|
|
@@ -1464,6 +2263,30 @@ module TencentCloud
|
|
|
1464
2263
|
end
|
|
1465
2264
|
end
|
|
1466
2265
|
|
|
2266
|
+
# 删除版本时需要的简化信息
|
|
2267
|
+
class SimpleVersion < TencentCloud::Common::AbstractModel
|
|
2268
|
+
# @param EnvId: 要删除版本的环境 Id
|
|
2269
|
+
# @type EnvId: String
|
|
2270
|
+
# @param ServerName: 要删除版本的服务名
|
|
2271
|
+
# @type ServerName: String
|
|
2272
|
+
# @param VersionName: 要删除版本的版本名
|
|
2273
|
+
# @type VersionName: String
|
|
2274
|
+
|
|
2275
|
+
attr_accessor :EnvId, :ServerName, :VersionName
|
|
2276
|
+
|
|
2277
|
+
def initialize(envid=nil, servername=nil, versionname=nil)
|
|
2278
|
+
@EnvId = envid
|
|
2279
|
+
@ServerName = servername
|
|
2280
|
+
@VersionName = versionname
|
|
2281
|
+
end
|
|
2282
|
+
|
|
2283
|
+
def deserialize(params)
|
|
2284
|
+
@EnvId = params['EnvId']
|
|
2285
|
+
@ServerName = params['ServerName']
|
|
2286
|
+
@VersionName = params['VersionName']
|
|
2287
|
+
end
|
|
2288
|
+
end
|
|
2289
|
+
|
|
1467
2290
|
# 静态CDN资源信息
|
|
1468
2291
|
class StaticStorageInfo < TencentCloud::Common::AbstractModel
|
|
1469
2292
|
# @param StaticDomain: 静态CDN域名
|
|
@@ -1525,6 +2348,85 @@ module TencentCloud
|
|
|
1525
2348
|
end
|
|
1526
2349
|
end
|
|
1527
2350
|
|
|
2351
|
+
# SubmitServerRollback请求参数结构体
|
|
2352
|
+
class SubmitServerRollbackRequest < TencentCloud::Common::AbstractModel
|
|
2353
|
+
# @param EnvId: 环境Id
|
|
2354
|
+
# @type EnvId: String
|
|
2355
|
+
# @param ServerName: 服务名
|
|
2356
|
+
# @type ServerName: String
|
|
2357
|
+
# @param CurrentVersionName: 当前版本
|
|
2358
|
+
# @type CurrentVersionName: String
|
|
2359
|
+
# @param RollbackVersionName: 回滚版本
|
|
2360
|
+
# @type RollbackVersionName: String
|
|
2361
|
+
# @param OperatorRemark: 操作标识
|
|
2362
|
+
# @type OperatorRemark: String
|
|
2363
|
+
|
|
2364
|
+
attr_accessor :EnvId, :ServerName, :CurrentVersionName, :RollbackVersionName, :OperatorRemark
|
|
2365
|
+
|
|
2366
|
+
def initialize(envid=nil, servername=nil, currentversionname=nil, rollbackversionname=nil, operatorremark=nil)
|
|
2367
|
+
@EnvId = envid
|
|
2368
|
+
@ServerName = servername
|
|
2369
|
+
@CurrentVersionName = currentversionname
|
|
2370
|
+
@RollbackVersionName = rollbackversionname
|
|
2371
|
+
@OperatorRemark = operatorremark
|
|
2372
|
+
end
|
|
2373
|
+
|
|
2374
|
+
def deserialize(params)
|
|
2375
|
+
@EnvId = params['EnvId']
|
|
2376
|
+
@ServerName = params['ServerName']
|
|
2377
|
+
@CurrentVersionName = params['CurrentVersionName']
|
|
2378
|
+
@RollbackVersionName = params['RollbackVersionName']
|
|
2379
|
+
@OperatorRemark = params['OperatorRemark']
|
|
2380
|
+
end
|
|
2381
|
+
end
|
|
2382
|
+
|
|
2383
|
+
# SubmitServerRollback返回参数结构体
|
|
2384
|
+
class SubmitServerRollbackResponse < TencentCloud::Common::AbstractModel
|
|
2385
|
+
# @param TaskId: 任务Id
|
|
2386
|
+
# @type TaskId: Integer
|
|
2387
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2388
|
+
# @type RequestId: String
|
|
2389
|
+
|
|
2390
|
+
attr_accessor :TaskId, :RequestId
|
|
2391
|
+
|
|
2392
|
+
def initialize(taskid=nil, requestid=nil)
|
|
2393
|
+
@TaskId = taskid
|
|
2394
|
+
@RequestId = requestid
|
|
2395
|
+
end
|
|
2396
|
+
|
|
2397
|
+
def deserialize(params)
|
|
2398
|
+
@TaskId = params['TaskId']
|
|
2399
|
+
@RequestId = params['RequestId']
|
|
2400
|
+
end
|
|
2401
|
+
end
|
|
2402
|
+
|
|
2403
|
+
# 删除成功的版本信息
|
|
2404
|
+
class SuccessDeleteVersions < TencentCloud::Common::AbstractModel
|
|
2405
|
+
# @param Version: 版本简化信息
|
|
2406
|
+
# @type Version: :class:`Tencentcloud::Tcbr.v20220217.models.SimpleVersion`
|
|
2407
|
+
# @param RequestId: 删除版本的 RequestId
|
|
2408
|
+
# @type RequestId: String
|
|
2409
|
+
# @param Result: 删除版本结果
|
|
2410
|
+
# @type Result: String
|
|
2411
|
+
|
|
2412
|
+
attr_accessor :Version, :RequestId, :Result
|
|
2413
|
+
|
|
2414
|
+
def initialize(version=nil, requestid=nil, result=nil)
|
|
2415
|
+
@Version = version
|
|
2416
|
+
@RequestId = requestid
|
|
2417
|
+
@Result = result
|
|
2418
|
+
end
|
|
2419
|
+
|
|
2420
|
+
def deserialize(params)
|
|
2421
|
+
unless params['Version'].nil?
|
|
2422
|
+
@Version = SimpleVersion.new
|
|
2423
|
+
@Version.deserialize(params['Version'])
|
|
2424
|
+
end
|
|
2425
|
+
@RequestId = params['RequestId']
|
|
2426
|
+
@Result = params['Result']
|
|
2427
|
+
end
|
|
2428
|
+
end
|
|
2429
|
+
|
|
1528
2430
|
# 标签键值对
|
|
1529
2431
|
class Tag < TencentCloud::Common::AbstractModel
|
|
1530
2432
|
# @param Key: 标签键
|
|
@@ -1622,17 +2524,17 @@ module TencentCloud
|
|
|
1622
2524
|
|
|
1623
2525
|
# UpdateCloudRunServer请求参数结构体
|
|
1624
2526
|
class UpdateCloudRunServerRequest < TencentCloud::Common::AbstractModel
|
|
1625
|
-
# @param EnvId:
|
|
2527
|
+
# @param EnvId: <p>环境Id</p>
|
|
1626
2528
|
# @type EnvId: String
|
|
1627
|
-
# @param ServerName:
|
|
2529
|
+
# @param ServerName: <p>服务名</p>
|
|
1628
2530
|
# @type ServerName: String
|
|
1629
|
-
# @param DeployInfo:
|
|
2531
|
+
# @param DeployInfo: <p>部署信息</p>
|
|
1630
2532
|
# @type DeployInfo: :class:`Tencentcloud::Tcbr.v20220217.models.DeployParam`
|
|
1631
|
-
# @param ServerConfig:
|
|
2533
|
+
# @param ServerConfig: <p>服务配置信息(已废弃)</p>
|
|
1632
2534
|
# @type ServerConfig: :class:`Tencentcloud::Tcbr.v20220217.models.ServerBaseConfig`
|
|
1633
|
-
# @param Business:
|
|
2535
|
+
# @param Business: <p>业务类型,默认tcr</p>
|
|
1634
2536
|
# @type Business: String
|
|
1635
|
-
# @param Items:
|
|
2537
|
+
# @param Items: <p>服务配置信息</p>
|
|
1636
2538
|
# @type Items: Array
|
|
1637
2539
|
|
|
1638
2540
|
attr_accessor :EnvId, :ServerName, :DeployInfo, :ServerConfig, :Business, :Items
|
|
@@ -1671,9 +2573,9 @@ module TencentCloud
|
|
|
1671
2573
|
|
|
1672
2574
|
# UpdateCloudRunServer返回参数结构体
|
|
1673
2575
|
class UpdateCloudRunServerResponse < TencentCloud::Common::AbstractModel
|
|
1674
|
-
# @param EnvId:
|
|
2576
|
+
# @param EnvId: <p>环境Id</p>
|
|
1675
2577
|
# @type EnvId: String
|
|
1676
|
-
# @param TaskId:
|
|
2578
|
+
# @param TaskId: <p>一键部署任务Id,暂时用不到</p>
|
|
1677
2579
|
# @type TaskId: Integer
|
|
1678
2580
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1679
2581
|
# @type RequestId: String
|
|
@@ -1728,6 +2630,128 @@ module TencentCloud
|
|
|
1728
2630
|
end
|
|
1729
2631
|
end
|
|
1730
2632
|
|
|
2633
|
+
# 版本信息
|
|
2634
|
+
class VersionInfo < TencentCloud::Common::AbstractModel
|
|
2635
|
+
# @param VersionName: 版本名
|
|
2636
|
+
# @type VersionName: String
|
|
2637
|
+
# @param FlowRatio: 流量比例
|
|
2638
|
+
# @type FlowRatio: Integer
|
|
2639
|
+
# @param Status: 版本状态
|
|
2640
|
+
# @type Status: String
|
|
2641
|
+
# @param CreatedTime: 创建时间
|
|
2642
|
+
# @type CreatedTime: String
|
|
2643
|
+
# @param UpdatedTime: 更新时间
|
|
2644
|
+
# @type UpdatedTime: String
|
|
2645
|
+
# @param BuildId: 构建Id
|
|
2646
|
+
# @type BuildId: Integer
|
|
2647
|
+
# @param UploadType: 上传方式
|
|
2648
|
+
# @type UploadType: String
|
|
2649
|
+
# @param Remark: 操作标识
|
|
2650
|
+
# @type Remark: String
|
|
2651
|
+
# @param UrlParam: 测试参数
|
|
2652
|
+
# @type UrlParam: :class:`Tencentcloud::Tcbr.v20220217.models.ObjectKV`
|
|
2653
|
+
# @param Priority: 权重
|
|
2654
|
+
# @type Priority: Integer
|
|
2655
|
+
# @param IsDefaultPriority: 是否默认
|
|
2656
|
+
# @type IsDefaultPriority: Boolean
|
|
2657
|
+
# @param FlowParams: 流量参数
|
|
2658
|
+
# @type FlowParams: Array
|
|
2659
|
+
# @param MinReplicas: 最小副本数
|
|
2660
|
+
# @type MinReplicas: Integer
|
|
2661
|
+
# @param MaxReplicas: 最大副本数
|
|
2662
|
+
# @type MaxReplicas: Integer
|
|
2663
|
+
# @param RunId: 操作Id
|
|
2664
|
+
# @type RunId: String
|
|
2665
|
+
# @param Percent: 百分比
|
|
2666
|
+
# @type Percent: Integer
|
|
2667
|
+
# @param CurrentReplicas: 当前副本数
|
|
2668
|
+
# @type CurrentReplicas: Integer
|
|
2669
|
+
# @param Architecture: 架构类型
|
|
2670
|
+
# @type Architecture: String
|
|
2671
|
+
|
|
2672
|
+
attr_accessor :VersionName, :FlowRatio, :Status, :CreatedTime, :UpdatedTime, :BuildId, :UploadType, :Remark, :UrlParam, :Priority, :IsDefaultPriority, :FlowParams, :MinReplicas, :MaxReplicas, :RunId, :Percent, :CurrentReplicas, :Architecture
|
|
2673
|
+
|
|
2674
|
+
def initialize(versionname=nil, flowratio=nil, status=nil, createdtime=nil, updatedtime=nil, buildid=nil, uploadtype=nil, remark=nil, urlparam=nil, priority=nil, isdefaultpriority=nil, flowparams=nil, minreplicas=nil, maxreplicas=nil, runid=nil, percent=nil, currentreplicas=nil, architecture=nil)
|
|
2675
|
+
@VersionName = versionname
|
|
2676
|
+
@FlowRatio = flowratio
|
|
2677
|
+
@Status = status
|
|
2678
|
+
@CreatedTime = createdtime
|
|
2679
|
+
@UpdatedTime = updatedtime
|
|
2680
|
+
@BuildId = buildid
|
|
2681
|
+
@UploadType = uploadtype
|
|
2682
|
+
@Remark = remark
|
|
2683
|
+
@UrlParam = urlparam
|
|
2684
|
+
@Priority = priority
|
|
2685
|
+
@IsDefaultPriority = isdefaultpriority
|
|
2686
|
+
@FlowParams = flowparams
|
|
2687
|
+
@MinReplicas = minreplicas
|
|
2688
|
+
@MaxReplicas = maxreplicas
|
|
2689
|
+
@RunId = runid
|
|
2690
|
+
@Percent = percent
|
|
2691
|
+
@CurrentReplicas = currentreplicas
|
|
2692
|
+
@Architecture = architecture
|
|
2693
|
+
end
|
|
2694
|
+
|
|
2695
|
+
def deserialize(params)
|
|
2696
|
+
@VersionName = params['VersionName']
|
|
2697
|
+
@FlowRatio = params['FlowRatio']
|
|
2698
|
+
@Status = params['Status']
|
|
2699
|
+
@CreatedTime = params['CreatedTime']
|
|
2700
|
+
@UpdatedTime = params['UpdatedTime']
|
|
2701
|
+
@BuildId = params['BuildId']
|
|
2702
|
+
@UploadType = params['UploadType']
|
|
2703
|
+
@Remark = params['Remark']
|
|
2704
|
+
unless params['UrlParam'].nil?
|
|
2705
|
+
@UrlParam = ObjectKV.new
|
|
2706
|
+
@UrlParam.deserialize(params['UrlParam'])
|
|
2707
|
+
end
|
|
2708
|
+
@Priority = params['Priority']
|
|
2709
|
+
@IsDefaultPriority = params['IsDefaultPriority']
|
|
2710
|
+
unless params['FlowParams'].nil?
|
|
2711
|
+
@FlowParams = []
|
|
2712
|
+
params['FlowParams'].each do |i|
|
|
2713
|
+
objectkvpriority_tmp = ObjectKVPriority.new
|
|
2714
|
+
objectkvpriority_tmp.deserialize(i)
|
|
2715
|
+
@FlowParams << objectkvpriority_tmp
|
|
2716
|
+
end
|
|
2717
|
+
end
|
|
2718
|
+
@MinReplicas = params['MinReplicas']
|
|
2719
|
+
@MaxReplicas = params['MaxReplicas']
|
|
2720
|
+
@RunId = params['RunId']
|
|
2721
|
+
@Percent = params['Percent']
|
|
2722
|
+
@CurrentReplicas = params['CurrentReplicas']
|
|
2723
|
+
@Architecture = params['Architecture']
|
|
2724
|
+
end
|
|
2725
|
+
end
|
|
2726
|
+
|
|
2727
|
+
# 版本Pod实例信息
|
|
2728
|
+
class VersionPodInstance < TencentCloud::Common::AbstractModel
|
|
2729
|
+
# @param Webshell: 实例webshell链接
|
|
2730
|
+
# @type Webshell: String
|
|
2731
|
+
# @param PodId: 实例Id
|
|
2732
|
+
# @type PodId: String
|
|
2733
|
+
# @param Status: 实例状态
|
|
2734
|
+
# @type Status: String
|
|
2735
|
+
# @param CreateTime: 创建时间
|
|
2736
|
+
# @type CreateTime: String
|
|
2737
|
+
|
|
2738
|
+
attr_accessor :Webshell, :PodId, :Status, :CreateTime
|
|
2739
|
+
|
|
2740
|
+
def initialize(webshell=nil, podid=nil, status=nil, createtime=nil)
|
|
2741
|
+
@Webshell = webshell
|
|
2742
|
+
@PodId = podid
|
|
2743
|
+
@Status = status
|
|
2744
|
+
@CreateTime = createtime
|
|
2745
|
+
end
|
|
2746
|
+
|
|
2747
|
+
def deserialize(params)
|
|
2748
|
+
@Webshell = params['Webshell']
|
|
2749
|
+
@PodId = params['PodId']
|
|
2750
|
+
@Status = params['Status']
|
|
2751
|
+
@CreateTime = params['CreateTime']
|
|
2752
|
+
end
|
|
2753
|
+
end
|
|
2754
|
+
|
|
1731
2755
|
# 存储配置
|
|
1732
2756
|
class VolumeConf < TencentCloud::Common::AbstractModel
|
|
1733
2757
|
# @param Type: 存储类型
|