tencentcloud-sdk-es 3.0.1140 → 3.0.1143
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/v20180416/client.rb +24 -0
- data/lib/v20180416/models.rb +111 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5fba657ab8a69ea3a2d0971adc753146070c8d68
|
4
|
+
data.tar.gz: 3e17ce4b917d51c71839f8a797ba4ab98f0296ac
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a81d4f481e33d7f5bb8f5e8bcb259a26c60522db90476d1cb874d52d619c675249daef4ac503daa1ff3ebe9d9ee4beec1021cea1f7c2ef57981038cc8fa87fbe
|
7
|
+
data.tar.gz: 520b8cb512365c60d464bf1163a82352d66a294d656dc67586d6e594033f8e6cdb95fddda3a9846c55a32eb4150b89072aa5f0fa66f9fe5d5b20c0cd982a9fa5
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1143
|
data/lib/v20180416/client.rb
CHANGED
@@ -870,6 +870,30 @@ module TencentCloud
|
|
870
870
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
871
871
|
end
|
872
872
|
|
873
|
+
# 查询IP溯源日志原始数据
|
874
|
+
|
875
|
+
# @param request: Request instance for ExportIpTraceLog.
|
876
|
+
# @type request: :class:`Tencentcloud::es::V20180416::ExportIpTraceLogRequest`
|
877
|
+
# @rtype: :class:`Tencentcloud::es::V20180416::ExportIpTraceLogResponse`
|
878
|
+
def ExportIpTraceLog(request)
|
879
|
+
body = send_request('ExportIpTraceLog', request.serialize)
|
880
|
+
response = JSON.parse(body)
|
881
|
+
if response['Response'].key?('Error') == false
|
882
|
+
model = ExportIpTraceLogResponse.new
|
883
|
+
model.deserialize(response['Response'])
|
884
|
+
model
|
885
|
+
else
|
886
|
+
code = response['Response']['Error']['Code']
|
887
|
+
message = response['Response']['Error']['Message']
|
888
|
+
reqid = response['Response']['RequestId']
|
889
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
890
|
+
end
|
891
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
892
|
+
raise e
|
893
|
+
rescue StandardError => e
|
894
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
895
|
+
end
|
896
|
+
|
873
897
|
# 查看智能运维配置
|
874
898
|
|
875
899
|
# @param request: Request instance for GetDiagnoseSettings.
|
data/lib/v20180416/models.rb
CHANGED
@@ -3508,6 +3508,93 @@ module TencentCloud
|
|
3508
3508
|
end
|
3509
3509
|
end
|
3510
3510
|
|
3511
|
+
# ExportIpTraceLog请求参数结构体
|
3512
|
+
class ExportIpTraceLogRequest < TencentCloud::Common::AbstractModel
|
3513
|
+
# @param InstanceId: ES集群ID
|
3514
|
+
# @type InstanceId: String
|
3515
|
+
# @param StartTime: 开始时间
|
3516
|
+
# @type StartTime: String
|
3517
|
+
# @param EndTime: 结束时间
|
3518
|
+
# @type EndTime: String
|
3519
|
+
# @param Offset: 起始偏移量
|
3520
|
+
# @type Offset: Integer
|
3521
|
+
# @param Limit: 数据条数
|
3522
|
+
# @type Limit: Integer
|
3523
|
+
# @param RemoteIp: 访问IP
|
3524
|
+
# @type RemoteIp: Array
|
3525
|
+
# @param TraceType: Request/Response 请求/返回, 非必填
|
3526
|
+
# @type TraceType: Array
|
3527
|
+
# @param NetType: Public/Private 公网访问/内网访问, 非必填
|
3528
|
+
# @type NetType: Array
|
3529
|
+
# @param ReqTypeOrRspStatus: POST/GET/PUT/DELETE/HEAD/OPTIONS/PATCH/CONNECT/TRACE/CONNECT等, 非必填
|
3530
|
+
# @type ReqTypeOrRspStatus: Array
|
3531
|
+
# @param SearchKey: 关键字模糊查询,支持Lucene Query String
|
3532
|
+
# @type SearchKey: String
|
3533
|
+
# @param Uri: uri搜索
|
3534
|
+
# @type Uri: String
|
3535
|
+
# @param NodeIp: 集群节点IP
|
3536
|
+
# @type NodeIp: Array
|
3537
|
+
|
3538
|
+
attr_accessor :InstanceId, :StartTime, :EndTime, :Offset, :Limit, :RemoteIp, :TraceType, :NetType, :ReqTypeOrRspStatus, :SearchKey, :Uri, :NodeIp
|
3539
|
+
|
3540
|
+
def initialize(instanceid=nil, starttime=nil, endtime=nil, offset=nil, limit=nil, remoteip=nil, tracetype=nil, nettype=nil, reqtypeorrspstatus=nil, searchkey=nil, uri=nil, nodeip=nil)
|
3541
|
+
@InstanceId = instanceid
|
3542
|
+
@StartTime = starttime
|
3543
|
+
@EndTime = endtime
|
3544
|
+
@Offset = offset
|
3545
|
+
@Limit = limit
|
3546
|
+
@RemoteIp = remoteip
|
3547
|
+
@TraceType = tracetype
|
3548
|
+
@NetType = nettype
|
3549
|
+
@ReqTypeOrRspStatus = reqtypeorrspstatus
|
3550
|
+
@SearchKey = searchkey
|
3551
|
+
@Uri = uri
|
3552
|
+
@NodeIp = nodeip
|
3553
|
+
end
|
3554
|
+
|
3555
|
+
def deserialize(params)
|
3556
|
+
@InstanceId = params['InstanceId']
|
3557
|
+
@StartTime = params['StartTime']
|
3558
|
+
@EndTime = params['EndTime']
|
3559
|
+
@Offset = params['Offset']
|
3560
|
+
@Limit = params['Limit']
|
3561
|
+
@RemoteIp = params['RemoteIp']
|
3562
|
+
@TraceType = params['TraceType']
|
3563
|
+
@NetType = params['NetType']
|
3564
|
+
@ReqTypeOrRspStatus = params['ReqTypeOrRspStatus']
|
3565
|
+
@SearchKey = params['SearchKey']
|
3566
|
+
@Uri = params['Uri']
|
3567
|
+
@NodeIp = params['NodeIp']
|
3568
|
+
end
|
3569
|
+
end
|
3570
|
+
|
3571
|
+
# ExportIpTraceLog返回参数结构体
|
3572
|
+
class ExportIpTraceLogResponse < TencentCloud::Common::AbstractModel
|
3573
|
+
# @param IpTraceList: IP时间列表
|
3574
|
+
# @type IpTraceList: Array
|
3575
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
3576
|
+
# @type RequestId: String
|
3577
|
+
|
3578
|
+
attr_accessor :IpTraceList, :RequestId
|
3579
|
+
|
3580
|
+
def initialize(iptracelist=nil, requestid=nil)
|
3581
|
+
@IpTraceList = iptracelist
|
3582
|
+
@RequestId = requestid
|
3583
|
+
end
|
3584
|
+
|
3585
|
+
def deserialize(params)
|
3586
|
+
unless params['IpTraceList'].nil?
|
3587
|
+
@IpTraceList = []
|
3588
|
+
params['IpTraceList'].each do |i|
|
3589
|
+
iptimepair_tmp = IpTimePair.new
|
3590
|
+
iptimepair_tmp.deserialize(i)
|
3591
|
+
@IpTraceList << iptimepair_tmp
|
3592
|
+
end
|
3593
|
+
end
|
3594
|
+
@RequestId = params['RequestId']
|
3595
|
+
end
|
3596
|
+
end
|
3597
|
+
|
3511
3598
|
# 索引备份失败的数据结构
|
3512
3599
|
class Failures < TencentCloud::Common::AbstractModel
|
3513
3600
|
# @param Index: 备份失败的索引名称
|
@@ -4544,6 +4631,30 @@ module TencentCloud
|
|
4544
4631
|
end
|
4545
4632
|
end
|
4546
4633
|
|
4634
|
+
# 节点IP、访问IP、访问时间
|
4635
|
+
class IpTimePair < TencentCloud::Common::AbstractModel
|
4636
|
+
# @param Ip: IP地址
|
4637
|
+
# @type Ip: String
|
4638
|
+
# @param Timestamp: 时间戳,毫秒
|
4639
|
+
# @type Timestamp: Integer
|
4640
|
+
# @param NodeIp: 集群节点IP
|
4641
|
+
# @type NodeIp: String
|
4642
|
+
|
4643
|
+
attr_accessor :Ip, :Timestamp, :NodeIp
|
4644
|
+
|
4645
|
+
def initialize(ip=nil, timestamp=nil, nodeip=nil)
|
4646
|
+
@Ip = ip
|
4647
|
+
@Timestamp = timestamp
|
4648
|
+
@NodeIp = nodeip
|
4649
|
+
end
|
4650
|
+
|
4651
|
+
def deserialize(params)
|
4652
|
+
@Ip = params['Ip']
|
4653
|
+
@Timestamp = params['Timestamp']
|
4654
|
+
@NodeIp = params['NodeIp']
|
4655
|
+
end
|
4656
|
+
end
|
4657
|
+
|
4547
4658
|
# 智能运维诊断参数
|
4548
4659
|
class JobParam < TencentCloud::Common::AbstractModel
|
4549
4660
|
# @param Jobs: 诊断项列表
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-es
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.1143
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-09-
|
11
|
+
date: 2025-09-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|