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