tencentcloud-sdk-es 1.0.354 → 1.0.355

Sign up to get free protection for your applications and to get access to all the features.
@@ -424,6 +424,113 @@ module TencentCloud
424
424
  end
425
425
  end
426
426
 
427
+ # CreateLogstashInstance请求参数结构体
428
+ class CreateLogstashInstanceRequest < TencentCloud::Common::AbstractModel
429
+ # @param InstanceName: 实例名称(1-50 个英文、汉字、数字、连接线-或下划线_)
430
+ # @type InstanceName: String
431
+ # @param Zone: 可用区
432
+ # @type Zone: String
433
+ # @param LogstashVersion: 实例版本(支持"6.8.13"、"7.10.1")
434
+ # @type LogstashVersion: String
435
+ # @param VpcId: 私有网络ID
436
+ # @type VpcId: String
437
+ # @param SubnetId: 子网ID
438
+ # @type SubnetId: String
439
+ # @param NodeNum: 节点数量(2-50个)
440
+ # @type NodeNum: Integer
441
+ # @param ChargeType: 计费类型<li>PREPAID:预付费,即包年包月</li><li>POSTPAID_BY_HOUR:按小时后付费</li>默认值POSTPAID_BY_HOUR
442
+ # @type ChargeType: String
443
+ # @param ChargePeriod: 包年包月购买时长(单位由参数TimeUnit决定)
444
+ # @type ChargePeriod: Integer
445
+ # @param TimeUnit: 计费时长单位(ChargeType为PREPAID时需要设置,默认值为“m”,表示月,当前只支持“m”)
446
+ # @type TimeUnit: String
447
+ # @param AutoVoucher: 是否自动使用代金券<li>0:不自动使用</li><li>1:自动使用</li>默认值0
448
+ # @type AutoVoucher: Integer
449
+ # @param VoucherIds: 代金券ID列表(目前仅支持指定一张代金券)
450
+ # @type VoucherIds: Array
451
+ # @param RenewFlag: 自动续费标识<li>RENEW_FLAG_AUTO:自动续费</li><li>RENEW_FLAG_MANUAL:不自动续费,用户手动续费</li>ChargeType为PREPAID时需要设置,如不传递该参数,普通用户默认不自动续费,SVIP用户自动续费
452
+ # @type RenewFlag: String
453
+ # @param NodeType: 节点规格<li>LOGSTASH.S1.SMALL2:1核2G</li><li>LOGSTASH.S1.MEDIUM4:2核4G</li><li>LOGSTASH.S1.MEDIUM8:2核8G</li><li>LOGSTASH.S1.LARGE16:4核16G</li><li>LOGSTASH.S1.2XLARGE32:8核32G</li><li>LOGSTASH.S1.4XLARGE32:16核32G</li><li>LOGSTASH.S1.4XLARGE64:16核64G</li>
454
+ # @type NodeType: String
455
+ # @param DiskType: 节点磁盘类型<li>CLOUD_SSD:SSD云硬盘</li><li>CLOUD_PREMIUM:高硬能云硬盘</li>默认值CLOUD_SSD
456
+ # @type DiskType: String
457
+ # @param DiskSize: 节点磁盘容量(单位GB)
458
+ # @type DiskSize: Integer
459
+ # @param LicenseType: License类型<li>oss:开源版</li><li>xpack:xpack版</li>默认值xpack
460
+ # @type LicenseType: String
461
+ # @param TagList: 标签信息列表
462
+ # @type TagList: Array
463
+
464
+ attr_accessor :InstanceName, :Zone, :LogstashVersion, :VpcId, :SubnetId, :NodeNum, :ChargeType, :ChargePeriod, :TimeUnit, :AutoVoucher, :VoucherIds, :RenewFlag, :NodeType, :DiskType, :DiskSize, :LicenseType, :TagList
465
+
466
+ def initialize(instancename=nil, zone=nil, logstashversion=nil, vpcid=nil, subnetid=nil, nodenum=nil, chargetype=nil, chargeperiod=nil, timeunit=nil, autovoucher=nil, voucherids=nil, renewflag=nil, nodetype=nil, disktype=nil, disksize=nil, licensetype=nil, taglist=nil)
467
+ @InstanceName = instancename
468
+ @Zone = zone
469
+ @LogstashVersion = logstashversion
470
+ @VpcId = vpcid
471
+ @SubnetId = subnetid
472
+ @NodeNum = nodenum
473
+ @ChargeType = chargetype
474
+ @ChargePeriod = chargeperiod
475
+ @TimeUnit = timeunit
476
+ @AutoVoucher = autovoucher
477
+ @VoucherIds = voucherids
478
+ @RenewFlag = renewflag
479
+ @NodeType = nodetype
480
+ @DiskType = disktype
481
+ @DiskSize = disksize
482
+ @LicenseType = licensetype
483
+ @TagList = taglist
484
+ end
485
+
486
+ def deserialize(params)
487
+ @InstanceName = params['InstanceName']
488
+ @Zone = params['Zone']
489
+ @LogstashVersion = params['LogstashVersion']
490
+ @VpcId = params['VpcId']
491
+ @SubnetId = params['SubnetId']
492
+ @NodeNum = params['NodeNum']
493
+ @ChargeType = params['ChargeType']
494
+ @ChargePeriod = params['ChargePeriod']
495
+ @TimeUnit = params['TimeUnit']
496
+ @AutoVoucher = params['AutoVoucher']
497
+ @VoucherIds = params['VoucherIds']
498
+ @RenewFlag = params['RenewFlag']
499
+ @NodeType = params['NodeType']
500
+ @DiskType = params['DiskType']
501
+ @DiskSize = params['DiskSize']
502
+ @LicenseType = params['LicenseType']
503
+ unless params['TagList'].nil?
504
+ @TagList = []
505
+ params['TagList'].each do |i|
506
+ taginfo_tmp = TagInfo.new
507
+ taginfo_tmp.deserialize(i)
508
+ @TagList << taginfo_tmp
509
+ end
510
+ end
511
+ end
512
+ end
513
+
514
+ # CreateLogstashInstance返回参数结构体
515
+ class CreateLogstashInstanceResponse < TencentCloud::Common::AbstractModel
516
+ # @param InstanceId: 实例ID
517
+ # @type InstanceId: String
518
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
519
+ # @type RequestId: String
520
+
521
+ attr_accessor :InstanceId, :RequestId
522
+
523
+ def initialize(instanceid=nil, requestid=nil)
524
+ @InstanceId = instanceid
525
+ @RequestId = requestid
526
+ end
527
+
528
+ def deserialize(params)
529
+ @InstanceId = params['InstanceId']
530
+ @RequestId = params['RequestId']
531
+ end
532
+ end
533
+
427
534
  # DeleteIndex请求参数结构体
428
535
  class DeleteIndexRequest < TencentCloud::Common::AbstractModel
429
536
  # @param InstanceId: ES集群ID
@@ -508,6 +615,74 @@ module TencentCloud
508
615
  end
509
616
  end
510
617
 
618
+ # DeleteLogstashInstance请求参数结构体
619
+ class DeleteLogstashInstanceRequest < TencentCloud::Common::AbstractModel
620
+ # @param InstanceId: 实例ID
621
+ # @type InstanceId: String
622
+
623
+ attr_accessor :InstanceId
624
+
625
+ def initialize(instanceid=nil)
626
+ @InstanceId = instanceid
627
+ end
628
+
629
+ def deserialize(params)
630
+ @InstanceId = params['InstanceId']
631
+ end
632
+ end
633
+
634
+ # DeleteLogstashInstance返回参数结构体
635
+ class DeleteLogstashInstanceResponse < TencentCloud::Common::AbstractModel
636
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
637
+ # @type RequestId: String
638
+
639
+ attr_accessor :RequestId
640
+
641
+ def initialize(requestid=nil)
642
+ @RequestId = requestid
643
+ end
644
+
645
+ def deserialize(params)
646
+ @RequestId = params['RequestId']
647
+ end
648
+ end
649
+
650
+ # DeleteLogstashPipelines请求参数结构体
651
+ class DeleteLogstashPipelinesRequest < TencentCloud::Common::AbstractModel
652
+ # @param InstanceId: 实例ID
653
+ # @type InstanceId: String
654
+ # @param PipelineIds: 管道ID列表
655
+ # @type PipelineIds: Array
656
+
657
+ attr_accessor :InstanceId, :PipelineIds
658
+
659
+ def initialize(instanceid=nil, pipelineids=nil)
660
+ @InstanceId = instanceid
661
+ @PipelineIds = pipelineids
662
+ end
663
+
664
+ def deserialize(params)
665
+ @InstanceId = params['InstanceId']
666
+ @PipelineIds = params['PipelineIds']
667
+ end
668
+ end
669
+
670
+ # DeleteLogstashPipelines返回参数结构体
671
+ class DeleteLogstashPipelinesResponse < TencentCloud::Common::AbstractModel
672
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
673
+ # @type RequestId: String
674
+
675
+ attr_accessor :RequestId
676
+
677
+ def initialize(requestid=nil)
678
+ @RequestId = requestid
679
+ end
680
+
681
+ def deserialize(params)
682
+ @RequestId = params['RequestId']
683
+ end
684
+ end
685
+
511
686
  # DescribeIndexList请求参数结构体
512
687
  class DescribeIndexListRequest < TencentCloud::Common::AbstractModel
513
688
  # @param IndexType: 索引类型。auto:自治索引;normal:普通索引
@@ -699,8 +874,249 @@ module TencentCloud
699
874
  end
700
875
  end
701
876
 
702
- # DescribeInstanceLogs返回参数结构体
703
- class DescribeInstanceLogsResponse < TencentCloud::Common::AbstractModel
877
+ # DescribeInstanceLogs返回参数结构体
878
+ class DescribeInstanceLogsResponse < TencentCloud::Common::AbstractModel
879
+ # @param TotalCount: 返回的日志条数
880
+ # @type TotalCount: Integer
881
+ # @param InstanceLogList: 日志详细信息列表
882
+ # @type InstanceLogList: Array
883
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
884
+ # @type RequestId: String
885
+
886
+ attr_accessor :TotalCount, :InstanceLogList, :RequestId
887
+
888
+ def initialize(totalcount=nil, instanceloglist=nil, requestid=nil)
889
+ @TotalCount = totalcount
890
+ @InstanceLogList = instanceloglist
891
+ @RequestId = requestid
892
+ end
893
+
894
+ def deserialize(params)
895
+ @TotalCount = params['TotalCount']
896
+ unless params['InstanceLogList'].nil?
897
+ @InstanceLogList = []
898
+ params['InstanceLogList'].each do |i|
899
+ instancelog_tmp = InstanceLog.new
900
+ instancelog_tmp.deserialize(i)
901
+ @InstanceLogList << instancelog_tmp
902
+ end
903
+ end
904
+ @RequestId = params['RequestId']
905
+ end
906
+ end
907
+
908
+ # DescribeInstanceOperations请求参数结构体
909
+ class DescribeInstanceOperationsRequest < TencentCloud::Common::AbstractModel
910
+ # @param InstanceId: 集群实例ID
911
+ # @type InstanceId: String
912
+ # @param StartTime: 起始时间, e.g. "2019-03-07 16:30:39"
913
+ # @type StartTime: String
914
+ # @param EndTime: 结束时间, e.g. "2019-03-30 20:18:03"
915
+ # @type EndTime: String
916
+ # @param Offset: 分页起始值
917
+ # @type Offset: Integer
918
+ # @param Limit: 分页大小
919
+ # @type Limit: Integer
920
+
921
+ attr_accessor :InstanceId, :StartTime, :EndTime, :Offset, :Limit
922
+
923
+ def initialize(instanceid=nil, starttime=nil, endtime=nil, offset=nil, limit=nil)
924
+ @InstanceId = instanceid
925
+ @StartTime = starttime
926
+ @EndTime = endtime
927
+ @Offset = offset
928
+ @Limit = limit
929
+ end
930
+
931
+ def deserialize(params)
932
+ @InstanceId = params['InstanceId']
933
+ @StartTime = params['StartTime']
934
+ @EndTime = params['EndTime']
935
+ @Offset = params['Offset']
936
+ @Limit = params['Limit']
937
+ end
938
+ end
939
+
940
+ # DescribeInstanceOperations返回参数结构体
941
+ class DescribeInstanceOperationsResponse < TencentCloud::Common::AbstractModel
942
+ # @param TotalCount: 操作记录总数
943
+ # @type TotalCount: Integer
944
+ # @param Operations: 操作记录
945
+ # @type Operations: Array
946
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
947
+ # @type RequestId: String
948
+
949
+ attr_accessor :TotalCount, :Operations, :RequestId
950
+
951
+ def initialize(totalcount=nil, operations=nil, requestid=nil)
952
+ @TotalCount = totalcount
953
+ @Operations = operations
954
+ @RequestId = requestid
955
+ end
956
+
957
+ def deserialize(params)
958
+ @TotalCount = params['TotalCount']
959
+ unless params['Operations'].nil?
960
+ @Operations = []
961
+ params['Operations'].each do |i|
962
+ operation_tmp = Operation.new
963
+ operation_tmp.deserialize(i)
964
+ @Operations << operation_tmp
965
+ end
966
+ end
967
+ @RequestId = params['RequestId']
968
+ end
969
+ end
970
+
971
+ # DescribeInstances请求参数结构体
972
+ class DescribeInstancesRequest < TencentCloud::Common::AbstractModel
973
+ # @param Zone: 集群实例所属可用区,不传则默认所有可用区
974
+ # @type Zone: String
975
+ # @param InstanceIds: 集群实例ID列表
976
+ # @type InstanceIds: Array
977
+ # @param InstanceNames: 集群实例名称列表
978
+ # @type InstanceNames: Array
979
+ # @param Offset: 分页起始值, 默认值0
980
+ # @type Offset: Integer
981
+ # @param Limit: 分页大小,默认值20
982
+ # @type Limit: Integer
983
+ # @param OrderByKey: 排序字段<li>1:实例ID</li><li>2:实例名称</li><li>3:可用区</li><li>4:创建时间</li>若orderKey未传递则按创建时间降序排序
984
+ # @type OrderByKey: Integer
985
+ # @param OrderByType: 排序方式<li>0:升序</li><li>1:降序</li>若传递了orderByKey未传递orderByType, 则默认升序
986
+ # @type OrderByType: Integer
987
+ # @param TagList: 节点标签信息列表
988
+ # @type TagList: Array
989
+ # @param IpList: 私有网络vip列表
990
+ # @type IpList: Array
991
+ # @param ZoneList: 可用区列表
992
+ # @type ZoneList: Array
993
+ # @param HealthStatus: 健康状态筛列表
994
+ # @type HealthStatus: Array
995
+ # @param VpcIds: Vpc列表 筛选项
996
+ # @type VpcIds: Array
997
+
998
+ attr_accessor :Zone, :InstanceIds, :InstanceNames, :Offset, :Limit, :OrderByKey, :OrderByType, :TagList, :IpList, :ZoneList, :HealthStatus, :VpcIds
999
+
1000
+ def initialize(zone=nil, instanceids=nil, instancenames=nil, offset=nil, limit=nil, orderbykey=nil, orderbytype=nil, taglist=nil, iplist=nil, zonelist=nil, healthstatus=nil, vpcids=nil)
1001
+ @Zone = zone
1002
+ @InstanceIds = instanceids
1003
+ @InstanceNames = instancenames
1004
+ @Offset = offset
1005
+ @Limit = limit
1006
+ @OrderByKey = orderbykey
1007
+ @OrderByType = orderbytype
1008
+ @TagList = taglist
1009
+ @IpList = iplist
1010
+ @ZoneList = zonelist
1011
+ @HealthStatus = healthstatus
1012
+ @VpcIds = vpcids
1013
+ end
1014
+
1015
+ def deserialize(params)
1016
+ @Zone = params['Zone']
1017
+ @InstanceIds = params['InstanceIds']
1018
+ @InstanceNames = params['InstanceNames']
1019
+ @Offset = params['Offset']
1020
+ @Limit = params['Limit']
1021
+ @OrderByKey = params['OrderByKey']
1022
+ @OrderByType = params['OrderByType']
1023
+ unless params['TagList'].nil?
1024
+ @TagList = []
1025
+ params['TagList'].each do |i|
1026
+ taginfo_tmp = TagInfo.new
1027
+ taginfo_tmp.deserialize(i)
1028
+ @TagList << taginfo_tmp
1029
+ end
1030
+ end
1031
+ @IpList = params['IpList']
1032
+ @ZoneList = params['ZoneList']
1033
+ @HealthStatus = params['HealthStatus']
1034
+ @VpcIds = params['VpcIds']
1035
+ end
1036
+ end
1037
+
1038
+ # DescribeInstances返回参数结构体
1039
+ class DescribeInstancesResponse < TencentCloud::Common::AbstractModel
1040
+ # @param TotalCount: 返回的实例个数
1041
+ # @type TotalCount: Integer
1042
+ # @param InstanceList: 实例详细信息列表
1043
+ # @type InstanceList: Array
1044
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1045
+ # @type RequestId: String
1046
+
1047
+ attr_accessor :TotalCount, :InstanceList, :RequestId
1048
+
1049
+ def initialize(totalcount=nil, instancelist=nil, requestid=nil)
1050
+ @TotalCount = totalcount
1051
+ @InstanceList = instancelist
1052
+ @RequestId = requestid
1053
+ end
1054
+
1055
+ def deserialize(params)
1056
+ @TotalCount = params['TotalCount']
1057
+ unless params['InstanceList'].nil?
1058
+ @InstanceList = []
1059
+ params['InstanceList'].each do |i|
1060
+ instanceinfo_tmp = InstanceInfo.new
1061
+ instanceinfo_tmp.deserialize(i)
1062
+ @InstanceList << instanceinfo_tmp
1063
+ end
1064
+ end
1065
+ @RequestId = params['RequestId']
1066
+ end
1067
+ end
1068
+
1069
+ # DescribeLogstashInstanceLogs请求参数结构体
1070
+ class DescribeLogstashInstanceLogsRequest < TencentCloud::Common::AbstractModel
1071
+ # @param InstanceId: 实例ID
1072
+ # @type InstanceId: String
1073
+ # @param LogType: 日志类型,默认值为1
1074
+ # <li>1, 主日志</li>
1075
+ # <li>2, 慢日志</li>
1076
+ # <li>3, GC日志</li>
1077
+ # @type LogType: Integer
1078
+ # @param SearchKey: 搜索词,支持LUCENE语法,如 level:WARN、ip:1.1.1.1、message:test-index等
1079
+ # @type SearchKey: String
1080
+ # @param StartTime: 日志开始时间,格式为YYYY-MM-DD HH:MM:SS, 如2019-01-22 20:15:53
1081
+ # @type StartTime: String
1082
+ # @param EndTime: 日志结束时间,格式为YYYY-MM-DD HH:MM:SS, 如2019-01-22 20:15:53
1083
+ # @type EndTime: String
1084
+ # @param Offset: 分页起始值, 默认值为0
1085
+ # @type Offset: Integer
1086
+ # @param Limit: 分页大小,默认值为100,最大值100
1087
+ # @type Limit: Integer
1088
+ # @param OrderByType: 时间排序方式,默认值为0
1089
+ # <li>0, 降序</li>
1090
+ # <li>1, 升序</li>
1091
+ # @type OrderByType: Integer
1092
+
1093
+ attr_accessor :InstanceId, :LogType, :SearchKey, :StartTime, :EndTime, :Offset, :Limit, :OrderByType
1094
+
1095
+ def initialize(instanceid=nil, logtype=nil, searchkey=nil, starttime=nil, endtime=nil, offset=nil, limit=nil, orderbytype=nil)
1096
+ @InstanceId = instanceid
1097
+ @LogType = logtype
1098
+ @SearchKey = searchkey
1099
+ @StartTime = starttime
1100
+ @EndTime = endtime
1101
+ @Offset = offset
1102
+ @Limit = limit
1103
+ @OrderByType = orderbytype
1104
+ end
1105
+
1106
+ def deserialize(params)
1107
+ @InstanceId = params['InstanceId']
1108
+ @LogType = params['LogType']
1109
+ @SearchKey = params['SearchKey']
1110
+ @StartTime = params['StartTime']
1111
+ @EndTime = params['EndTime']
1112
+ @Offset = params['Offset']
1113
+ @Limit = params['Limit']
1114
+ @OrderByType = params['OrderByType']
1115
+ end
1116
+ end
1117
+
1118
+ # DescribeLogstashInstanceLogs返回参数结构体
1119
+ class DescribeLogstashInstanceLogsResponse < TencentCloud::Common::AbstractModel
704
1120
  # @param TotalCount: 返回的日志条数
705
1121
  # @type TotalCount: Integer
706
1122
  # @param InstanceLogList: 日志详细信息列表
@@ -730,9 +1146,9 @@ module TencentCloud
730
1146
  end
731
1147
  end
732
1148
 
733
- # DescribeInstanceOperations请求参数结构体
734
- class DescribeInstanceOperationsRequest < TencentCloud::Common::AbstractModel
735
- # @param InstanceId: 集群实例ID
1149
+ # DescribeLogstashInstanceOperations请求参数结构体
1150
+ class DescribeLogstashInstanceOperationsRequest < TencentCloud::Common::AbstractModel
1151
+ # @param InstanceId: 实例ID
736
1152
  # @type InstanceId: String
737
1153
  # @param StartTime: 起始时间, e.g. "2019-03-07 16:30:39"
738
1154
  # @type StartTime: String
@@ -762,8 +1178,8 @@ module TencentCloud
762
1178
  end
763
1179
  end
764
1180
 
765
- # DescribeInstanceOperations返回参数结构体
766
- class DescribeInstanceOperationsResponse < TencentCloud::Common::AbstractModel
1181
+ # DescribeLogstashInstanceOperations返回参数结构体
1182
+ class DescribeLogstashInstanceOperationsResponse < TencentCloud::Common::AbstractModel
767
1183
  # @param TotalCount: 操作记录总数
768
1184
  # @type TotalCount: Integer
769
1185
  # @param Operations: 操作记录
@@ -793,13 +1209,13 @@ module TencentCloud
793
1209
  end
794
1210
  end
795
1211
 
796
- # DescribeInstances请求参数结构体
797
- class DescribeInstancesRequest < TencentCloud::Common::AbstractModel
798
- # @param Zone: 集群实例所属可用区,不传则默认所有可用区
1212
+ # DescribeLogstashInstances请求参数结构体
1213
+ class DescribeLogstashInstancesRequest < TencentCloud::Common::AbstractModel
1214
+ # @param Zone: 实例所属可用区,不传则默认所有可用区
799
1215
  # @type Zone: String
800
- # @param InstanceIds: 集群实例ID列表
1216
+ # @param InstanceIds: 实例ID列表
801
1217
  # @type InstanceIds: Array
802
- # @param InstanceNames: 集群实例名称列表
1218
+ # @param InstanceNames: 实例名称列表
803
1219
  # @type InstanceNames: Array
804
1220
  # @param Offset: 分页起始值, 默认值0
805
1221
  # @type Offset: Integer
@@ -809,20 +1225,10 @@ module TencentCloud
809
1225
  # @type OrderByKey: Integer
810
1226
  # @param OrderByType: 排序方式<li>0:升序</li><li>1:降序</li>若传递了orderByKey未传递orderByType, 则默认升序
811
1227
  # @type OrderByType: Integer
812
- # @param TagList: 节点标签信息列表
813
- # @type TagList: Array
814
- # @param IpList: 私有网络vip列表
815
- # @type IpList: Array
816
- # @param ZoneList: 可用区列表
817
- # @type ZoneList: Array
818
- # @param HealthStatus: 健康状态筛列表
819
- # @type HealthStatus: Array
820
- # @param VpcIds: Vpc列表 筛选项
821
- # @type VpcIds: Array
822
1228
 
823
- attr_accessor :Zone, :InstanceIds, :InstanceNames, :Offset, :Limit, :OrderByKey, :OrderByType, :TagList, :IpList, :ZoneList, :HealthStatus, :VpcIds
1229
+ attr_accessor :Zone, :InstanceIds, :InstanceNames, :Offset, :Limit, :OrderByKey, :OrderByType
824
1230
 
825
- def initialize(zone=nil, instanceids=nil, instancenames=nil, offset=nil, limit=nil, orderbykey=nil, orderbytype=nil, taglist=nil, iplist=nil, zonelist=nil, healthstatus=nil, vpcids=nil)
1231
+ def initialize(zone=nil, instanceids=nil, instancenames=nil, offset=nil, limit=nil, orderbykey=nil, orderbytype=nil)
826
1232
  @Zone = zone
827
1233
  @InstanceIds = instanceids
828
1234
  @InstanceNames = instancenames
@@ -830,11 +1236,6 @@ module TencentCloud
830
1236
  @Limit = limit
831
1237
  @OrderByKey = orderbykey
832
1238
  @OrderByType = orderbytype
833
- @TagList = taglist
834
- @IpList = iplist
835
- @ZoneList = zonelist
836
- @HealthStatus = healthstatus
837
- @VpcIds = vpcids
838
1239
  end
839
1240
 
840
1241
  def deserialize(params)
@@ -845,23 +1246,11 @@ module TencentCloud
845
1246
  @Limit = params['Limit']
846
1247
  @OrderByKey = params['OrderByKey']
847
1248
  @OrderByType = params['OrderByType']
848
- unless params['TagList'].nil?
849
- @TagList = []
850
- params['TagList'].each do |i|
851
- taginfo_tmp = TagInfo.new
852
- taginfo_tmp.deserialize(i)
853
- @TagList << taginfo_tmp
854
- end
855
- end
856
- @IpList = params['IpList']
857
- @ZoneList = params['ZoneList']
858
- @HealthStatus = params['HealthStatus']
859
- @VpcIds = params['VpcIds']
860
1249
  end
861
1250
  end
862
1251
 
863
- # DescribeInstances返回参数结构体
864
- class DescribeInstancesResponse < TencentCloud::Common::AbstractModel
1252
+ # DescribeLogstashInstances返回参数结构体
1253
+ class DescribeLogstashInstancesResponse < TencentCloud::Common::AbstractModel
865
1254
  # @param TotalCount: 返回的实例个数
866
1255
  # @type TotalCount: Integer
867
1256
  # @param InstanceList: 实例详细信息列表
@@ -882,9 +1271,56 @@ module TencentCloud
882
1271
  unless params['InstanceList'].nil?
883
1272
  @InstanceList = []
884
1273
  params['InstanceList'].each do |i|
885
- instanceinfo_tmp = InstanceInfo.new
886
- instanceinfo_tmp.deserialize(i)
887
- @InstanceList << instanceinfo_tmp
1274
+ logstashinstanceinfo_tmp = LogstashInstanceInfo.new
1275
+ logstashinstanceinfo_tmp.deserialize(i)
1276
+ @InstanceList << logstashinstanceinfo_tmp
1277
+ end
1278
+ end
1279
+ @RequestId = params['RequestId']
1280
+ end
1281
+ end
1282
+
1283
+ # DescribeLogstashPipelines请求参数结构体
1284
+ class DescribeLogstashPipelinesRequest < TencentCloud::Common::AbstractModel
1285
+ # @param InstanceId: 实例ID
1286
+ # @type InstanceId: String
1287
+
1288
+ attr_accessor :InstanceId
1289
+
1290
+ def initialize(instanceid=nil)
1291
+ @InstanceId = instanceid
1292
+ end
1293
+
1294
+ def deserialize(params)
1295
+ @InstanceId = params['InstanceId']
1296
+ end
1297
+ end
1298
+
1299
+ # DescribeLogstashPipelines返回参数结构体
1300
+ class DescribeLogstashPipelinesResponse < TencentCloud::Common::AbstractModel
1301
+ # @param TotalCount: 管道总数
1302
+ # @type TotalCount: Integer
1303
+ # @param LogstashPipelineList: 管道列表
1304
+ # @type LogstashPipelineList: Array
1305
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1306
+ # @type RequestId: String
1307
+
1308
+ attr_accessor :TotalCount, :LogstashPipelineList, :RequestId
1309
+
1310
+ def initialize(totalcount=nil, logstashpipelinelist=nil, requestid=nil)
1311
+ @TotalCount = totalcount
1312
+ @LogstashPipelineList = logstashpipelinelist
1313
+ @RequestId = requestid
1314
+ end
1315
+
1316
+ def deserialize(params)
1317
+ @TotalCount = params['TotalCount']
1318
+ unless params['LogstashPipelineList'].nil?
1319
+ @LogstashPipelineList = []
1320
+ params['LogstashPipelineList'].each do |i|
1321
+ logstashpipelineinfo_tmp = LogstashPipelineInfo.new
1322
+ logstashpipelineinfo_tmp.deserialize(i)
1323
+ @LogstashPipelineList << logstashpipelineinfo_tmp
888
1324
  end
889
1325
  end
890
1326
  @RequestId = params['RequestId']
@@ -1881,71 +2317,382 @@ module TencentCloud
1881
2317
  end
1882
2318
  end
1883
2319
 
1884
- # Kibana视图数据
1885
- class KibanaView < TencentCloud::Common::AbstractModel
1886
- # @param Ip: Kibana节点IP
2320
+ # Kibana视图数据
2321
+ class KibanaView < TencentCloud::Common::AbstractModel
2322
+ # @param Ip: Kibana节点IP
2323
+ # @type Ip: String
2324
+ # @param DiskSize: 节点总磁盘大小
2325
+ # @type DiskSize: Integer
2326
+ # @param DiskUsage: 磁盘使用率
2327
+ # @type DiskUsage: Float
2328
+ # @param MemSize: 节点内存大小
2329
+ # @type MemSize: Integer
2330
+ # @param MemUsage: 内存使用率
2331
+ # @type MemUsage: Float
2332
+ # @param CpuNum: 节点cpu个数
2333
+ # @type CpuNum: Integer
2334
+ # @param CpuUsage: cpu使用率
2335
+ # @type CpuUsage: Float
2336
+ # @param Zone: 可用区
2337
+ # @type Zone: String
2338
+
2339
+ attr_accessor :Ip, :DiskSize, :DiskUsage, :MemSize, :MemUsage, :CpuNum, :CpuUsage, :Zone
2340
+
2341
+ def initialize(ip=nil, disksize=nil, diskusage=nil, memsize=nil, memusage=nil, cpunum=nil, cpuusage=nil, zone=nil)
2342
+ @Ip = ip
2343
+ @DiskSize = disksize
2344
+ @DiskUsage = diskusage
2345
+ @MemSize = memsize
2346
+ @MemUsage = memusage
2347
+ @CpuNum = cpunum
2348
+ @CpuUsage = cpuusage
2349
+ @Zone = zone
2350
+ end
2351
+
2352
+ def deserialize(params)
2353
+ @Ip = params['Ip']
2354
+ @DiskSize = params['DiskSize']
2355
+ @DiskUsage = params['DiskUsage']
2356
+ @MemSize = params['MemSize']
2357
+ @MemUsage = params['MemUsage']
2358
+ @CpuNum = params['CpuNum']
2359
+ @CpuUsage = params['CpuUsage']
2360
+ @Zone = params['Zone']
2361
+ end
2362
+ end
2363
+
2364
+ # 节点本地盘信息
2365
+ class LocalDiskInfo < TencentCloud::Common::AbstractModel
2366
+ # @param LocalDiskType: 本地盘类型<li>LOCAL_SATA:大数据型</li><li>NVME_SSD:高IO型</li>
2367
+ # @type LocalDiskType: String
2368
+ # @param LocalDiskSize: 本地盘单盘大小
2369
+ # @type LocalDiskSize: Integer
2370
+ # @param LocalDiskCount: 本地盘块数
2371
+ # @type LocalDiskCount: Integer
2372
+
2373
+ attr_accessor :LocalDiskType, :LocalDiskSize, :LocalDiskCount
2374
+
2375
+ def initialize(localdisktype=nil, localdisksize=nil, localdiskcount=nil)
2376
+ @LocalDiskType = localdisktype
2377
+ @LocalDiskSize = localdisksize
2378
+ @LocalDiskCount = localdiskcount
2379
+ end
2380
+
2381
+ def deserialize(params)
2382
+ @LocalDiskType = params['LocalDiskType']
2383
+ @LocalDiskSize = params['LocalDiskSize']
2384
+ @LocalDiskCount = params['LocalDiskCount']
2385
+ end
2386
+ end
2387
+
2388
+ # Logstash绑定的ES集群信息
2389
+ class LogstashBindedES < TencentCloud::Common::AbstractModel
2390
+ # @param ESInstanceId: ES集群ID
2391
+ # @type ESInstanceId: String
2392
+ # @param ESUserName: ES集群用户名
2393
+ # @type ESUserName: String
2394
+ # @param ESPassword: ES集群密码
2395
+ # @type ESPassword: String
2396
+
2397
+ attr_accessor :ESInstanceId, :ESUserName, :ESPassword
2398
+
2399
+ def initialize(esinstanceid=nil, esusername=nil, espassword=nil)
2400
+ @ESInstanceId = esinstanceid
2401
+ @ESUserName = esusername
2402
+ @ESPassword = espassword
2403
+ end
2404
+
2405
+ def deserialize(params)
2406
+ @ESInstanceId = params['ESInstanceId']
2407
+ @ESUserName = params['ESUserName']
2408
+ @ESPassword = params['ESPassword']
2409
+ end
2410
+ end
2411
+
2412
+ # Logstash扩展文件信息
2413
+ class LogstashExtendedFile < TencentCloud::Common::AbstractModel
2414
+ # @param Name: 扩展文件名称
2415
+ # @type Name: String
2416
+ # @param Size: 扩展文件大小,单位B
2417
+ # @type Size: Integer
2418
+
2419
+ attr_accessor :Name, :Size
2420
+
2421
+ def initialize(name=nil, size=nil)
2422
+ @Name = name
2423
+ @Size = size
2424
+ end
2425
+
2426
+ def deserialize(params)
2427
+ @Name = params['Name']
2428
+ @Size = params['Size']
2429
+ end
2430
+ end
2431
+
2432
+ # Logstash实例详细信息
2433
+ class LogstashInstanceInfo < TencentCloud::Common::AbstractModel
2434
+ # @param InstanceId: 实例ID
2435
+ # @type InstanceId: String
2436
+ # @param InstanceName: 实例名称
2437
+ # @type InstanceName: String
2438
+ # @param Region: 地域
2439
+ # @type Region: String
2440
+ # @param Zone: 可用区
2441
+ # @type Zone: String
2442
+ # @param AppId: 用户ID
2443
+ # @type AppId: Integer
2444
+ # @param Uin: 用户UIN
2445
+ # @type Uin: String
2446
+ # @param VpcId: 实例所属VPC的ID
2447
+ # @type VpcId: String
2448
+ # @param SubnetId: 实例所属子网的ID
2449
+ # @type SubnetId: String
2450
+ # @param Status: 实例状态,0:处理中,1:正常,-1停止,-2:销毁中,-3:已销毁
2451
+ # @type Status: Integer
2452
+ # @param ChargeType: 实例计费模式。取值范围: PREPAID:表示预付费,即包年包月 POSTPAID_BY_HOUR:表示后付费,即按量计费 CDHPAID:CDH付费,即只对CDH计费,不对CDH上的实例计费。
2453
+ # @type ChargeType: String
2454
+ # @param ChargePeriod: 包年包月购买时长,单位:月
2455
+ # @type ChargePeriod: Integer
2456
+ # @param RenewFlag: 自动续费标识。取值范围: NOTIFY_AND_AUTO_RENEW:通知过期且自动续费 NOTIFY_AND_MANUAL_RENEW:通知过期不自动续费 DISABLE_NOTIFY_AND_MANUAL_RENEW:不通知过期不自动续费 默认取值:NOTIFY_AND_AUTO_RENEW。若该参数指定为NOTIFY_AND_AUTO_RENEW,在账户余额充足的情况下,实例到期后将按月自动续费。
2457
+ # @type RenewFlag: String
2458
+ # @param NodeType: 节点规格<li>LOGSTASH.S1.SMALL2:1核2G</li><li>LOGSTASH.S1.MEDIUM4:2核4G</li><li>LOGSTASH.S1.MEDIUM8:2核8G</li><li>LOGSTASH.S1.LARGE16:4核16G</li><li>LOGSTASH.S1.2XLARGE32:8核32G</li><li>LOGSTASH.S1.4XLARGE32:16核32G</li><li>LOGSTASH.S1.4XLARGE64:16核64G</li>
2459
+ # @type NodeType: String
2460
+ # @param NodeNum: 节点个数
2461
+ # @type NodeNum: Integer
2462
+ # @param DiskType: 节点磁盘类型
2463
+ # @type DiskType: String
2464
+ # @param DiskSize: 节点磁盘大小,单位GB
2465
+ # @type DiskSize: Integer
2466
+ # @param LogstashVersion: Logstash版本号
2467
+ # @type LogstashVersion: String
2468
+ # @param LicenseType: License类型<li>oss:开源版</li><li>xpack:基础版</li>默认值xpack
2469
+ # @type LicenseType: String
2470
+ # @param CreateTime: 实例创建时间
2471
+ # @type CreateTime: String
2472
+ # @param UpdateTime: 实例最后修改操作时间
2473
+ # @type UpdateTime: String
2474
+ # @param Deadline: 实例到期时间
2475
+ # @type Deadline: String
2476
+ # @param Nodes: 实例节点类型
2477
+ # @type Nodes: Array
2478
+ # @param BindedESInstanceId: 实例绑定的ES集群ID
2479
+ # @type BindedESInstanceId: String
2480
+ # @param YMLConfig: 实例的YML配置
2481
+ # 注意:此字段可能返回 null,表示取不到有效值。
2482
+ # @type YMLConfig: String
2483
+ # @param ExtendedFiles: 扩展文件列表
2484
+ # 注意:此字段可能返回 null,表示取不到有效值。
2485
+ # @type ExtendedFiles: Array
2486
+
2487
+ attr_accessor :InstanceId, :InstanceName, :Region, :Zone, :AppId, :Uin, :VpcId, :SubnetId, :Status, :ChargeType, :ChargePeriod, :RenewFlag, :NodeType, :NodeNum, :DiskType, :DiskSize, :LogstashVersion, :LicenseType, :CreateTime, :UpdateTime, :Deadline, :Nodes, :BindedESInstanceId, :YMLConfig, :ExtendedFiles
2488
+
2489
+ def initialize(instanceid=nil, instancename=nil, region=nil, zone=nil, appid=nil, uin=nil, vpcid=nil, subnetid=nil, status=nil, chargetype=nil, chargeperiod=nil, renewflag=nil, nodetype=nil, nodenum=nil, disktype=nil, disksize=nil, logstashversion=nil, licensetype=nil, createtime=nil, updatetime=nil, deadline=nil, nodes=nil, bindedesinstanceid=nil, ymlconfig=nil, extendedfiles=nil)
2490
+ @InstanceId = instanceid
2491
+ @InstanceName = instancename
2492
+ @Region = region
2493
+ @Zone = zone
2494
+ @AppId = appid
2495
+ @Uin = uin
2496
+ @VpcId = vpcid
2497
+ @SubnetId = subnetid
2498
+ @Status = status
2499
+ @ChargeType = chargetype
2500
+ @ChargePeriod = chargeperiod
2501
+ @RenewFlag = renewflag
2502
+ @NodeType = nodetype
2503
+ @NodeNum = nodenum
2504
+ @DiskType = disktype
2505
+ @DiskSize = disksize
2506
+ @LogstashVersion = logstashversion
2507
+ @LicenseType = licensetype
2508
+ @CreateTime = createtime
2509
+ @UpdateTime = updatetime
2510
+ @Deadline = deadline
2511
+ @Nodes = nodes
2512
+ @BindedESInstanceId = bindedesinstanceid
2513
+ @YMLConfig = ymlconfig
2514
+ @ExtendedFiles = extendedfiles
2515
+ end
2516
+
2517
+ def deserialize(params)
2518
+ @InstanceId = params['InstanceId']
2519
+ @InstanceName = params['InstanceName']
2520
+ @Region = params['Region']
2521
+ @Zone = params['Zone']
2522
+ @AppId = params['AppId']
2523
+ @Uin = params['Uin']
2524
+ @VpcId = params['VpcId']
2525
+ @SubnetId = params['SubnetId']
2526
+ @Status = params['Status']
2527
+ @ChargeType = params['ChargeType']
2528
+ @ChargePeriod = params['ChargePeriod']
2529
+ @RenewFlag = params['RenewFlag']
2530
+ @NodeType = params['NodeType']
2531
+ @NodeNum = params['NodeNum']
2532
+ @DiskType = params['DiskType']
2533
+ @DiskSize = params['DiskSize']
2534
+ @LogstashVersion = params['LogstashVersion']
2535
+ @LicenseType = params['LicenseType']
2536
+ @CreateTime = params['CreateTime']
2537
+ @UpdateTime = params['UpdateTime']
2538
+ @Deadline = params['Deadline']
2539
+ unless params['Nodes'].nil?
2540
+ @Nodes = []
2541
+ params['Nodes'].each do |i|
2542
+ logstashnodeinfo_tmp = LogstashNodeInfo.new
2543
+ logstashnodeinfo_tmp.deserialize(i)
2544
+ @Nodes << logstashnodeinfo_tmp
2545
+ end
2546
+ end
2547
+ @BindedESInstanceId = params['BindedESInstanceId']
2548
+ @YMLConfig = params['YMLConfig']
2549
+ unless params['ExtendedFiles'].nil?
2550
+ @ExtendedFiles = []
2551
+ params['ExtendedFiles'].each do |i|
2552
+ logstashextendedfile_tmp = LogstashExtendedFile.new
2553
+ logstashextendedfile_tmp.deserialize(i)
2554
+ @ExtendedFiles << logstashextendedfile_tmp
2555
+ end
2556
+ end
2557
+ end
2558
+ end
2559
+
2560
+ # Logstash节点信息
2561
+ class LogstashNodeInfo < TencentCloud::Common::AbstractModel
2562
+ # @param NodeId: 节点ID
2563
+ # @type NodeId: String
2564
+ # @param Ip: 节点IP
1887
2565
  # @type Ip: String
1888
- # @param DiskSize: 节点总磁盘大小
1889
- # @type DiskSize: Integer
1890
- # @param DiskUsage: 磁盘使用率
1891
- # @type DiskUsage: Float
1892
- # @param MemSize: 节点内存大小
1893
- # @type MemSize: Integer
1894
- # @param MemUsage: 内存使用率
1895
- # @type MemUsage: Float
1896
- # @param CpuNum: 节点cpu个数
1897
- # @type CpuNum: Integer
1898
- # @param CpuUsage: cpu使用率
1899
- # @type CpuUsage: Float
1900
- # @param Zone: 可用区
1901
- # @type Zone: String
2566
+ # @param Port: 节点端口
2567
+ # @type Port: Integer
1902
2568
 
1903
- attr_accessor :Ip, :DiskSize, :DiskUsage, :MemSize, :MemUsage, :CpuNum, :CpuUsage, :Zone
2569
+ attr_accessor :NodeId, :Ip, :Port
1904
2570
 
1905
- def initialize(ip=nil, disksize=nil, diskusage=nil, memsize=nil, memusage=nil, cpunum=nil, cpuusage=nil, zone=nil)
2571
+ def initialize(nodeid=nil, ip=nil, port=nil)
2572
+ @NodeId = nodeid
1906
2573
  @Ip = ip
1907
- @DiskSize = disksize
1908
- @DiskUsage = diskusage
1909
- @MemSize = memsize
1910
- @MemUsage = memusage
1911
- @CpuNum = cpunum
1912
- @CpuUsage = cpuusage
1913
- @Zone = zone
2574
+ @Port = port
1914
2575
  end
1915
2576
 
1916
2577
  def deserialize(params)
2578
+ @NodeId = params['NodeId']
1917
2579
  @Ip = params['Ip']
1918
- @DiskSize = params['DiskSize']
1919
- @DiskUsage = params['DiskUsage']
1920
- @MemSize = params['MemSize']
1921
- @MemUsage = params['MemUsage']
1922
- @CpuNum = params['CpuNum']
1923
- @CpuUsage = params['CpuUsage']
1924
- @Zone = params['Zone']
2580
+ @Port = params['Port']
1925
2581
  end
1926
2582
  end
1927
2583
 
1928
- # 节点本地盘信息
1929
- class LocalDiskInfo < TencentCloud::Common::AbstractModel
1930
- # @param LocalDiskType: 本地盘类型<li>LOCAL_SATA:大数据型</li><li>NVME_SSD:高IO型</li>
1931
- # @type LocalDiskType: String
1932
- # @param LocalDiskSize: 本地盘单盘大小
1933
- # @type LocalDiskSize: Integer
1934
- # @param LocalDiskCount: 本地盘块数
1935
- # @type LocalDiskCount: Integer
2584
+ # Logstash管道信息
2585
+ class LogstashPipeline < TencentCloud::Common::AbstractModel
2586
+ # @param PipelineId: 管道ID
2587
+ # @type PipelineId: String
2588
+ # @param PipelineDesc: 管道描述信息
2589
+ # 注意:此字段可能返回 null,表示取不到有效值。
2590
+ # @type PipelineDesc: String
2591
+ # @param Config: 管道配置内容
2592
+ # @type Config: String
2593
+ # @param Workers: 管道的Worker数量
2594
+ # 注意:此字段可能返回 null,表示取不到有效值。
2595
+ # @type Workers: Integer
2596
+ # @param BatchSize: 管道批处理大小
2597
+ # 注意:此字段可能返回 null,表示取不到有效值。
2598
+ # @type BatchSize: Integer
2599
+ # @param BatchDelay: 管道批处理延迟
2600
+ # 注意:此字段可能返回 null,表示取不到有效值。
2601
+ # @type BatchDelay: Integer
2602
+ # @param QueueType: 管道缓冲队列类型
2603
+ # 注意:此字段可能返回 null,表示取不到有效值。
2604
+ # @type QueueType: String
2605
+ # @param QueueMaxBytes: 管道缓冲队列大小
2606
+ # 注意:此字段可能返回 null,表示取不到有效值。
2607
+ # @type QueueMaxBytes: String
2608
+ # @param QueueCheckPointWrites: 管道缓冲队列检查点写入数
2609
+ # 注意:此字段可能返回 null,表示取不到有效值。
2610
+ # @type QueueCheckPointWrites: Integer
1936
2611
 
1937
- attr_accessor :LocalDiskType, :LocalDiskSize, :LocalDiskCount
2612
+ attr_accessor :PipelineId, :PipelineDesc, :Config, :Workers, :BatchSize, :BatchDelay, :QueueType, :QueueMaxBytes, :QueueCheckPointWrites
1938
2613
 
1939
- def initialize(localdisktype=nil, localdisksize=nil, localdiskcount=nil)
1940
- @LocalDiskType = localdisktype
1941
- @LocalDiskSize = localdisksize
1942
- @LocalDiskCount = localdiskcount
2614
+ def initialize(pipelineid=nil, pipelinedesc=nil, config=nil, workers=nil, batchsize=nil, batchdelay=nil, queuetype=nil, queuemaxbytes=nil, queuecheckpointwrites=nil)
2615
+ @PipelineId = pipelineid
2616
+ @PipelineDesc = pipelinedesc
2617
+ @Config = config
2618
+ @Workers = workers
2619
+ @BatchSize = batchsize
2620
+ @BatchDelay = batchdelay
2621
+ @QueueType = queuetype
2622
+ @QueueMaxBytes = queuemaxbytes
2623
+ @QueueCheckPointWrites = queuecheckpointwrites
1943
2624
  end
1944
2625
 
1945
2626
  def deserialize(params)
1946
- @LocalDiskType = params['LocalDiskType']
1947
- @LocalDiskSize = params['LocalDiskSize']
1948
- @LocalDiskCount = params['LocalDiskCount']
2627
+ @PipelineId = params['PipelineId']
2628
+ @PipelineDesc = params['PipelineDesc']
2629
+ @Config = params['Config']
2630
+ @Workers = params['Workers']
2631
+ @BatchSize = params['BatchSize']
2632
+ @BatchDelay = params['BatchDelay']
2633
+ @QueueType = params['QueueType']
2634
+ @QueueMaxBytes = params['QueueMaxBytes']
2635
+ @QueueCheckPointWrites = params['QueueCheckPointWrites']
2636
+ end
2637
+ end
2638
+
2639
+ # Logstash管道信息
2640
+ class LogstashPipelineInfo < TencentCloud::Common::AbstractModel
2641
+ # @param PipelineId: 管道ID
2642
+ # @type PipelineId: String
2643
+ # @param PipelineDesc: 管道描述信息
2644
+ # 注意:此字段可能返回 null,表示取不到有效值。
2645
+ # @type PipelineDesc: String
2646
+ # @param Config: 管道配置内容
2647
+ # @type Config: String
2648
+ # @param Status: 管道状态
2649
+ # 注意:此字段可能返回 null,表示取不到有效值。
2650
+ # @type Status: Integer
2651
+ # @param Workers: 管道的Worker数量
2652
+ # 注意:此字段可能返回 null,表示取不到有效值。
2653
+ # @type Workers: Integer
2654
+ # @param BatchSize: 管道批处理大小
2655
+ # 注意:此字段可能返回 null,表示取不到有效值。
2656
+ # @type BatchSize: Integer
2657
+ # @param BatchDelay: 管道批处理延迟
2658
+ # 注意:此字段可能返回 null,表示取不到有效值。
2659
+ # @type BatchDelay: Integer
2660
+ # @param QueueType: 管道缓冲队列类型
2661
+ # 注意:此字段可能返回 null,表示取不到有效值。
2662
+ # @type QueueType: String
2663
+ # @param QueueMaxBytes: 管道缓冲队列大小
2664
+ # 注意:此字段可能返回 null,表示取不到有效值。
2665
+ # @type QueueMaxBytes: String
2666
+ # @param QueueCheckPointWrites: 管道缓冲队列检查点写入数
2667
+ # 注意:此字段可能返回 null,表示取不到有效值。
2668
+ # @type QueueCheckPointWrites: Integer
2669
+
2670
+ attr_accessor :PipelineId, :PipelineDesc, :Config, :Status, :Workers, :BatchSize, :BatchDelay, :QueueType, :QueueMaxBytes, :QueueCheckPointWrites
2671
+
2672
+ def initialize(pipelineid=nil, pipelinedesc=nil, config=nil, status=nil, workers=nil, batchsize=nil, batchdelay=nil, queuetype=nil, queuemaxbytes=nil, queuecheckpointwrites=nil)
2673
+ @PipelineId = pipelineid
2674
+ @PipelineDesc = pipelinedesc
2675
+ @Config = config
2676
+ @Status = status
2677
+ @Workers = workers
2678
+ @BatchSize = batchsize
2679
+ @BatchDelay = batchdelay
2680
+ @QueueType = queuetype
2681
+ @QueueMaxBytes = queuemaxbytes
2682
+ @QueueCheckPointWrites = queuecheckpointwrites
2683
+ end
2684
+
2685
+ def deserialize(params)
2686
+ @PipelineId = params['PipelineId']
2687
+ @PipelineDesc = params['PipelineDesc']
2688
+ @Config = params['Config']
2689
+ @Status = params['Status']
2690
+ @Workers = params['Workers']
2691
+ @BatchSize = params['BatchSize']
2692
+ @BatchDelay = params['BatchDelay']
2693
+ @QueueType = params['QueueType']
2694
+ @QueueMaxBytes = params['QueueMaxBytes']
2695
+ @QueueCheckPointWrites = params['QueueCheckPointWrites']
1949
2696
  end
1950
2697
  end
1951
2698
 
@@ -2347,6 +3094,42 @@ module TencentCloud
2347
3094
  end
2348
3095
  end
2349
3096
 
3097
+ # RestartLogstashInstance请求参数结构体
3098
+ class RestartLogstashInstanceRequest < TencentCloud::Common::AbstractModel
3099
+ # @param InstanceId: 实例ID
3100
+ # @type InstanceId: String
3101
+ # @param Type: 重启类型,0全量重启,1滚动重启
3102
+ # @type Type: Integer
3103
+
3104
+ attr_accessor :InstanceId, :Type
3105
+
3106
+ def initialize(instanceid=nil, type=nil)
3107
+ @InstanceId = instanceid
3108
+ @Type = type
3109
+ end
3110
+
3111
+ def deserialize(params)
3112
+ @InstanceId = params['InstanceId']
3113
+ @Type = params['Type']
3114
+ end
3115
+ end
3116
+
3117
+ # RestartLogstashInstance返回参数结构体
3118
+ class RestartLogstashInstanceResponse < TencentCloud::Common::AbstractModel
3119
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3120
+ # @type RequestId: String
3121
+
3122
+ attr_accessor :RequestId
3123
+
3124
+ def initialize(requestid=nil)
3125
+ @RequestId = requestid
3126
+ end
3127
+
3128
+ def deserialize(params)
3129
+ @RequestId = params['RequestId']
3130
+ end
3131
+ end
3132
+
2350
3133
  # RestartNodes请求参数结构体
2351
3134
  class RestartNodesRequest < TencentCloud::Common::AbstractModel
2352
3135
  # @param InstanceId: 集群实例ID
@@ -2387,6 +3170,121 @@ module TencentCloud
2387
3170
  end
2388
3171
  end
2389
3172
 
3173
+ # SaveAndDeployLogstashPipeline请求参数结构体
3174
+ class SaveAndDeployLogstashPipelineRequest < TencentCloud::Common::AbstractModel
3175
+ # @param InstanceId: 实例ID
3176
+ # @type InstanceId: String
3177
+ # @param Pipeline: 实例管道信息
3178
+ # @type Pipeline: :class:`Tencentcloud::Es.v20180416.models.LogstashPipeline`
3179
+ # @param OpType: 操作类型<li>1:只保存</li><li>2:保存并部署</li>
3180
+ # @type OpType: Integer
3181
+
3182
+ attr_accessor :InstanceId, :Pipeline, :OpType
3183
+
3184
+ def initialize(instanceid=nil, pipeline=nil, optype=nil)
3185
+ @InstanceId = instanceid
3186
+ @Pipeline = pipeline
3187
+ @OpType = optype
3188
+ end
3189
+
3190
+ def deserialize(params)
3191
+ @InstanceId = params['InstanceId']
3192
+ unless params['Pipeline'].nil?
3193
+ @Pipeline = LogstashPipeline.new
3194
+ @Pipeline.deserialize(params['Pipeline'])
3195
+ end
3196
+ @OpType = params['OpType']
3197
+ end
3198
+ end
3199
+
3200
+ # SaveAndDeployLogstashPipeline返回参数结构体
3201
+ class SaveAndDeployLogstashPipelineResponse < TencentCloud::Common::AbstractModel
3202
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3203
+ # @type RequestId: String
3204
+
3205
+ attr_accessor :RequestId
3206
+
3207
+ def initialize(requestid=nil)
3208
+ @RequestId = requestid
3209
+ end
3210
+
3211
+ def deserialize(params)
3212
+ @RequestId = params['RequestId']
3213
+ end
3214
+ end
3215
+
3216
+ # StartLogstashPipelines请求参数结构体
3217
+ class StartLogstashPipelinesRequest < TencentCloud::Common::AbstractModel
3218
+ # @param InstanceId: 实例ID
3219
+ # @type InstanceId: String
3220
+ # @param PipelineIds: 管道ID列表
3221
+ # @type PipelineIds: Array
3222
+
3223
+ attr_accessor :InstanceId, :PipelineIds
3224
+
3225
+ def initialize(instanceid=nil, pipelineids=nil)
3226
+ @InstanceId = instanceid
3227
+ @PipelineIds = pipelineids
3228
+ end
3229
+
3230
+ def deserialize(params)
3231
+ @InstanceId = params['InstanceId']
3232
+ @PipelineIds = params['PipelineIds']
3233
+ end
3234
+ end
3235
+
3236
+ # StartLogstashPipelines返回参数结构体
3237
+ class StartLogstashPipelinesResponse < TencentCloud::Common::AbstractModel
3238
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3239
+ # @type RequestId: String
3240
+
3241
+ attr_accessor :RequestId
3242
+
3243
+ def initialize(requestid=nil)
3244
+ @RequestId = requestid
3245
+ end
3246
+
3247
+ def deserialize(params)
3248
+ @RequestId = params['RequestId']
3249
+ end
3250
+ end
3251
+
3252
+ # StopLogstashPipelines请求参数结构体
3253
+ class StopLogstashPipelinesRequest < TencentCloud::Common::AbstractModel
3254
+ # @param InstanceId: 实例ID
3255
+ # @type InstanceId: String
3256
+ # @param PipelineIds: 管道ID列表
3257
+ # @type PipelineIds: Array
3258
+
3259
+ attr_accessor :InstanceId, :PipelineIds
3260
+
3261
+ def initialize(instanceid=nil, pipelineids=nil)
3262
+ @InstanceId = instanceid
3263
+ @PipelineIds = pipelineids
3264
+ end
3265
+
3266
+ def deserialize(params)
3267
+ @InstanceId = params['InstanceId']
3268
+ @PipelineIds = params['PipelineIds']
3269
+ end
3270
+ end
3271
+
3272
+ # StopLogstashPipelines返回参数结构体
3273
+ class StopLogstashPipelinesResponse < TencentCloud::Common::AbstractModel
3274
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3275
+ # @type RequestId: String
3276
+
3277
+ attr_accessor :RequestId
3278
+
3279
+ def initialize(requestid=nil)
3280
+ @RequestId = requestid
3281
+ end
3282
+
3283
+ def deserialize(params)
3284
+ @RequestId = params['RequestId']
3285
+ end
3286
+ end
3287
+
2390
3288
  # 实例操作记录流程任务中的子任务信息(如升级检查任务中的各个检查项)
2391
3289
  class SubTaskDetail < TencentCloud::Common::AbstractModel
2392
3290
  # @param Name: 子任务名
@@ -2873,6 +3771,116 @@ module TencentCloud
2873
3771
  end
2874
3772
  end
2875
3773
 
3774
+ # UpdateLogstashInstance请求参数结构体
3775
+ class UpdateLogstashInstanceRequest < TencentCloud::Common::AbstractModel
3776
+ # @param InstanceId: 实例ID
3777
+ # @type InstanceId: String
3778
+ # @param NodeNum: 实例节点数量
3779
+ # @type NodeNum: Integer
3780
+ # @param YMLConfig: 实例YML配置
3781
+ # @type YMLConfig: String
3782
+ # @param BindedES: 实例绑定的ES集群信息
3783
+ # @type BindedES: :class:`Tencentcloud::Es.v20180416.models.LogstashBindedES`
3784
+ # @param InstanceName: 实例名称
3785
+ # @type InstanceName: String
3786
+ # @param ExtendedFiles: 扩展文件列表
3787
+ # @type ExtendedFiles: Array
3788
+ # @param NodeType: 实例规格
3789
+ # @type NodeType: String
3790
+ # @param DiskSize: 节点磁盘容量
3791
+ # @type DiskSize: Integer
3792
+
3793
+ attr_accessor :InstanceId, :NodeNum, :YMLConfig, :BindedES, :InstanceName, :ExtendedFiles, :NodeType, :DiskSize
3794
+
3795
+ def initialize(instanceid=nil, nodenum=nil, ymlconfig=nil, bindedes=nil, instancename=nil, extendedfiles=nil, nodetype=nil, disksize=nil)
3796
+ @InstanceId = instanceid
3797
+ @NodeNum = nodenum
3798
+ @YMLConfig = ymlconfig
3799
+ @BindedES = bindedes
3800
+ @InstanceName = instancename
3801
+ @ExtendedFiles = extendedfiles
3802
+ @NodeType = nodetype
3803
+ @DiskSize = disksize
3804
+ end
3805
+
3806
+ def deserialize(params)
3807
+ @InstanceId = params['InstanceId']
3808
+ @NodeNum = params['NodeNum']
3809
+ @YMLConfig = params['YMLConfig']
3810
+ unless params['BindedES'].nil?
3811
+ @BindedES = LogstashBindedES.new
3812
+ @BindedES.deserialize(params['BindedES'])
3813
+ end
3814
+ @InstanceName = params['InstanceName']
3815
+ unless params['ExtendedFiles'].nil?
3816
+ @ExtendedFiles = []
3817
+ params['ExtendedFiles'].each do |i|
3818
+ logstashextendedfile_tmp = LogstashExtendedFile.new
3819
+ logstashextendedfile_tmp.deserialize(i)
3820
+ @ExtendedFiles << logstashextendedfile_tmp
3821
+ end
3822
+ end
3823
+ @NodeType = params['NodeType']
3824
+ @DiskSize = params['DiskSize']
3825
+ end
3826
+ end
3827
+
3828
+ # UpdateLogstashInstance返回参数结构体
3829
+ class UpdateLogstashInstanceResponse < TencentCloud::Common::AbstractModel
3830
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3831
+ # @type RequestId: String
3832
+
3833
+ attr_accessor :RequestId
3834
+
3835
+ def initialize(requestid=nil)
3836
+ @RequestId = requestid
3837
+ end
3838
+
3839
+ def deserialize(params)
3840
+ @RequestId = params['RequestId']
3841
+ end
3842
+ end
3843
+
3844
+ # UpdateLogstashPipelineDesc请求参数结构体
3845
+ class UpdateLogstashPipelineDescRequest < TencentCloud::Common::AbstractModel
3846
+ # @param InstanceId: 实例ID
3847
+ # @type InstanceId: String
3848
+ # @param PipelineId: 实例管道ID
3849
+ # @type PipelineId: String
3850
+ # @param PipelineDesc: 管道描述信息
3851
+ # @type PipelineDesc: String
3852
+
3853
+ attr_accessor :InstanceId, :PipelineId, :PipelineDesc
3854
+
3855
+ def initialize(instanceid=nil, pipelineid=nil, pipelinedesc=nil)
3856
+ @InstanceId = instanceid
3857
+ @PipelineId = pipelineid
3858
+ @PipelineDesc = pipelinedesc
3859
+ end
3860
+
3861
+ def deserialize(params)
3862
+ @InstanceId = params['InstanceId']
3863
+ @PipelineId = params['PipelineId']
3864
+ @PipelineDesc = params['PipelineDesc']
3865
+ end
3866
+ end
3867
+
3868
+ # UpdateLogstashPipelineDesc返回参数结构体
3869
+ class UpdateLogstashPipelineDescResponse < TencentCloud::Common::AbstractModel
3870
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3871
+ # @type RequestId: String
3872
+
3873
+ attr_accessor :RequestId
3874
+
3875
+ def initialize(requestid=nil)
3876
+ @RequestId = requestid
3877
+ end
3878
+
3879
+ def deserialize(params)
3880
+ @RequestId = params['RequestId']
3881
+ end
3882
+ end
3883
+
2876
3884
  # UpdatePlugins请求参数结构体
2877
3885
  class UpdatePluginsRequest < TencentCloud::Common::AbstractModel
2878
3886
  # @param InstanceId: 实例ID