tencentcloud-sdk-tsf 3.0.1186 → 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/v20180326/client.rb +0 -26
- data/lib/v20180326/models.rb +0 -190
- 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: 30a10ef37b81efa4ffff1053d987f2e220c6d5cc
|
|
4
|
+
data.tar.gz: 7d7ff93fd8519e9d9834cf4a3968dc3e1a87c24c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a8b10084335940a1a4f2d9578c24a406a4ee24ff896d9abce921c6ab30ef2dc510d235bbc55a343c5e24015368d378dc0beda747aa8519d85ce163d986f9eb83
|
|
7
|
+
data.tar.gz: 53d60e8626c86124b906778d16cc970dd5a988f4a9de5a6713fa8177caafae0c15189813206d82ee0c10d61f4461ae772da47e0f42c67b221c642423a24e807c
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.0.
|
|
1
|
+
3.0.1187
|
data/lib/v20180326/client.rb
CHANGED
|
@@ -2772,32 +2772,6 @@ module TencentCloud
|
|
|
2772
2772
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
2773
2773
|
end
|
|
2774
2774
|
|
|
2775
|
-
# 废弃接口
|
|
2776
|
-
|
|
2777
|
-
# 废弃
|
|
2778
|
-
|
|
2779
|
-
# @param request: Request instance for DescribeInovcationIndicators.
|
|
2780
|
-
# @type request: :class:`Tencentcloud::tsf::V20180326::DescribeInovcationIndicatorsRequest`
|
|
2781
|
-
# @rtype: :class:`Tencentcloud::tsf::V20180326::DescribeInovcationIndicatorsResponse`
|
|
2782
|
-
def DescribeInovcationIndicators(request)
|
|
2783
|
-
body = send_request('DescribeInovcationIndicators', request.serialize)
|
|
2784
|
-
response = JSON.parse(body)
|
|
2785
|
-
if response['Response'].key?('Error') == false
|
|
2786
|
-
model = DescribeInovcationIndicatorsResponse.new
|
|
2787
|
-
model.deserialize(response['Response'])
|
|
2788
|
-
model
|
|
2789
|
-
else
|
|
2790
|
-
code = response['Response']['Error']['Code']
|
|
2791
|
-
message = response['Response']['Error']['Message']
|
|
2792
|
-
reqid = response['Response']['RequestId']
|
|
2793
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
2794
|
-
end
|
|
2795
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
2796
|
-
raise e
|
|
2797
|
-
rescue StandardError => e
|
|
2798
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
2799
|
-
end
|
|
2800
|
-
|
|
2801
2775
|
# 无
|
|
2802
2776
|
|
|
2803
2777
|
# @param request: Request instance for DescribeInstances.
|
data/lib/v20180326/models.rb
CHANGED
|
@@ -9958,90 +9958,6 @@ module TencentCloud
|
|
|
9958
9958
|
end
|
|
9959
9959
|
end
|
|
9960
9960
|
|
|
9961
|
-
# DescribeInovcationIndicators请求参数结构体
|
|
9962
|
-
class DescribeInovcationIndicatorsRequest < TencentCloud::Common::AbstractModel
|
|
9963
|
-
# @param Dimension: 维度
|
|
9964
|
-
# @type Dimension: String
|
|
9965
|
-
# @param StartTime: 开始时间
|
|
9966
|
-
# @type StartTime: String
|
|
9967
|
-
# @param EndTime: 结束时间
|
|
9968
|
-
# @type EndTime: String
|
|
9969
|
-
# @param NamespaceId: 命名空间ID
|
|
9970
|
-
# @type NamespaceId: String
|
|
9971
|
-
# @param ServiceId: 微服务ID
|
|
9972
|
-
# @type ServiceId: String
|
|
9973
|
-
# @param CallerServiceName: 调用方服务名
|
|
9974
|
-
# @type CallerServiceName: String
|
|
9975
|
-
# @param CalleeServiceName: 被调方服务名
|
|
9976
|
-
# @type CalleeServiceName: String
|
|
9977
|
-
# @param CallerInterfaceName: 调用方接口名
|
|
9978
|
-
# @type CallerInterfaceName: String
|
|
9979
|
-
# @param CalleeInterfaceName: 被调方接口名
|
|
9980
|
-
# @type CalleeInterfaceName: String
|
|
9981
|
-
# @param ApplicationId: 应用ID
|
|
9982
|
-
# @type ApplicationId: String
|
|
9983
|
-
# @param GroupId: 部署组ID
|
|
9984
|
-
# @type GroupId: String
|
|
9985
|
-
# @param InstanceId: 实例ID
|
|
9986
|
-
# @type InstanceId: String
|
|
9987
|
-
|
|
9988
|
-
attr_accessor :Dimension, :StartTime, :EndTime, :NamespaceId, :ServiceId, :CallerServiceName, :CalleeServiceName, :CallerInterfaceName, :CalleeInterfaceName, :ApplicationId, :GroupId, :InstanceId
|
|
9989
|
-
|
|
9990
|
-
def initialize(dimension=nil, starttime=nil, endtime=nil, namespaceid=nil, serviceid=nil, callerservicename=nil, calleeservicename=nil, callerinterfacename=nil, calleeinterfacename=nil, applicationid=nil, groupid=nil, instanceid=nil)
|
|
9991
|
-
@Dimension = dimension
|
|
9992
|
-
@StartTime = starttime
|
|
9993
|
-
@EndTime = endtime
|
|
9994
|
-
@NamespaceId = namespaceid
|
|
9995
|
-
@ServiceId = serviceid
|
|
9996
|
-
@CallerServiceName = callerservicename
|
|
9997
|
-
@CalleeServiceName = calleeservicename
|
|
9998
|
-
@CallerInterfaceName = callerinterfacename
|
|
9999
|
-
@CalleeInterfaceName = calleeinterfacename
|
|
10000
|
-
@ApplicationId = applicationid
|
|
10001
|
-
@GroupId = groupid
|
|
10002
|
-
@InstanceId = instanceid
|
|
10003
|
-
end
|
|
10004
|
-
|
|
10005
|
-
def deserialize(params)
|
|
10006
|
-
@Dimension = params['Dimension']
|
|
10007
|
-
@StartTime = params['StartTime']
|
|
10008
|
-
@EndTime = params['EndTime']
|
|
10009
|
-
@NamespaceId = params['NamespaceId']
|
|
10010
|
-
@ServiceId = params['ServiceId']
|
|
10011
|
-
@CallerServiceName = params['CallerServiceName']
|
|
10012
|
-
@CalleeServiceName = params['CalleeServiceName']
|
|
10013
|
-
@CallerInterfaceName = params['CallerInterfaceName']
|
|
10014
|
-
@CalleeInterfaceName = params['CalleeInterfaceName']
|
|
10015
|
-
@ApplicationId = params['ApplicationId']
|
|
10016
|
-
@GroupId = params['GroupId']
|
|
10017
|
-
@InstanceId = params['InstanceId']
|
|
10018
|
-
end
|
|
10019
|
-
end
|
|
10020
|
-
|
|
10021
|
-
# DescribeInovcationIndicators返回参数结构体
|
|
10022
|
-
class DescribeInovcationIndicatorsResponse < TencentCloud::Common::AbstractModel
|
|
10023
|
-
# @param Result: 服务调用监控指标
|
|
10024
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
10025
|
-
# @type Result: :class:`Tencentcloud::Tsf.v20180326.models.InvocationIndicator`
|
|
10026
|
-
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
10027
|
-
# @type RequestId: String
|
|
10028
|
-
|
|
10029
|
-
attr_accessor :Result, :RequestId
|
|
10030
|
-
|
|
10031
|
-
def initialize(result=nil, requestid=nil)
|
|
10032
|
-
@Result = result
|
|
10033
|
-
@RequestId = requestid
|
|
10034
|
-
end
|
|
10035
|
-
|
|
10036
|
-
def deserialize(params)
|
|
10037
|
-
unless params['Result'].nil?
|
|
10038
|
-
@Result = InvocationIndicator.new
|
|
10039
|
-
@Result.deserialize(params['Result'])
|
|
10040
|
-
end
|
|
10041
|
-
@RequestId = params['RequestId']
|
|
10042
|
-
end
|
|
10043
|
-
end
|
|
10044
|
-
|
|
10045
9961
|
# DescribeInstances请求参数结构体
|
|
10046
9962
|
class DescribeInstancesRequest < TencentCloud::Common::AbstractModel
|
|
10047
9963
|
# @param Filters: 过滤条件。多个 filter 之间是与关系,单个 filter 多个 value 之间是或关系。
|
|
@@ -15068,30 +14984,6 @@ module TencentCloud
|
|
|
15068
14984
|
end
|
|
15069
14985
|
end
|
|
15070
14986
|
|
|
15071
|
-
# 监控指标坐标
|
|
15072
|
-
class IndicatorCoord < TencentCloud::Common::AbstractModel
|
|
15073
|
-
# @param CoordX: 指标横坐标值
|
|
15074
|
-
# @type CoordX: String
|
|
15075
|
-
# @param CoordY: 指标纵坐标值
|
|
15076
|
-
# @type CoordY: String
|
|
15077
|
-
# @param CoordTag: 指标标签,用于标识附加信息
|
|
15078
|
-
# @type CoordTag: String
|
|
15079
|
-
|
|
15080
|
-
attr_accessor :CoordX, :CoordY, :CoordTag
|
|
15081
|
-
|
|
15082
|
-
def initialize(coordx=nil, coordy=nil, coordtag=nil)
|
|
15083
|
-
@CoordX = coordx
|
|
15084
|
-
@CoordY = coordy
|
|
15085
|
-
@CoordTag = coordtag
|
|
15086
|
-
end
|
|
15087
|
-
|
|
15088
|
-
def deserialize(params)
|
|
15089
|
-
@CoordX = params['CoordX']
|
|
15090
|
-
@CoordY = params['CoordY']
|
|
15091
|
-
@CoordTag = params['CoordTag']
|
|
15092
|
-
end
|
|
15093
|
-
end
|
|
15094
|
-
|
|
15095
14987
|
# 机器实例
|
|
15096
14988
|
class Instance < TencentCloud::Common::AbstractModel
|
|
15097
14989
|
# @param InstanceId: 机器实例ID
|
|
@@ -15466,88 +15358,6 @@ module TencentCloud
|
|
|
15466
15358
|
end
|
|
15467
15359
|
end
|
|
15468
15360
|
|
|
15469
|
-
# 服务调用监控指标
|
|
15470
|
-
class InvocationIndicator < TencentCloud::Common::AbstractModel
|
|
15471
|
-
# @param InvocationQuantity: 总请求数
|
|
15472
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
15473
|
-
# @type InvocationQuantity: Integer
|
|
15474
|
-
# @param InvocationSuccessRate: 请求成功率,百分比
|
|
15475
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
15476
|
-
# @type InvocationSuccessRate: Float
|
|
15477
|
-
# @param InvocationAvgDuration: 请求平均耗时,单位毫秒
|
|
15478
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
15479
|
-
# @type InvocationAvgDuration: Float
|
|
15480
|
-
# @param InvocationSuccessDistribution: 成功请求数时间分布
|
|
15481
|
-
# @type InvocationSuccessDistribution: Array
|
|
15482
|
-
# @param InvocationFailedDistribution: 失败请求数时间分布
|
|
15483
|
-
# @type InvocationFailedDistribution: Array
|
|
15484
|
-
# @param InvocationStatusDistribution: 状态码分布
|
|
15485
|
-
# @type InvocationStatusDistribution: Array
|
|
15486
|
-
# @param InvocationDurationDistribution: 时延分布
|
|
15487
|
-
# @type InvocationDurationDistribution: Array
|
|
15488
|
-
# @param InvocationQuantityDistribution: 并发请求次数时间分布
|
|
15489
|
-
# @type InvocationQuantityDistribution: Array
|
|
15490
|
-
|
|
15491
|
-
attr_accessor :InvocationQuantity, :InvocationSuccessRate, :InvocationAvgDuration, :InvocationSuccessDistribution, :InvocationFailedDistribution, :InvocationStatusDistribution, :InvocationDurationDistribution, :InvocationQuantityDistribution
|
|
15492
|
-
|
|
15493
|
-
def initialize(invocationquantity=nil, invocationsuccessrate=nil, invocationavgduration=nil, invocationsuccessdistribution=nil, invocationfaileddistribution=nil, invocationstatusdistribution=nil, invocationdurationdistribution=nil, invocationquantitydistribution=nil)
|
|
15494
|
-
@InvocationQuantity = invocationquantity
|
|
15495
|
-
@InvocationSuccessRate = invocationsuccessrate
|
|
15496
|
-
@InvocationAvgDuration = invocationavgduration
|
|
15497
|
-
@InvocationSuccessDistribution = invocationsuccessdistribution
|
|
15498
|
-
@InvocationFailedDistribution = invocationfaileddistribution
|
|
15499
|
-
@InvocationStatusDistribution = invocationstatusdistribution
|
|
15500
|
-
@InvocationDurationDistribution = invocationdurationdistribution
|
|
15501
|
-
@InvocationQuantityDistribution = invocationquantitydistribution
|
|
15502
|
-
end
|
|
15503
|
-
|
|
15504
|
-
def deserialize(params)
|
|
15505
|
-
@InvocationQuantity = params['InvocationQuantity']
|
|
15506
|
-
@InvocationSuccessRate = params['InvocationSuccessRate']
|
|
15507
|
-
@InvocationAvgDuration = params['InvocationAvgDuration']
|
|
15508
|
-
unless params['InvocationSuccessDistribution'].nil?
|
|
15509
|
-
@InvocationSuccessDistribution = []
|
|
15510
|
-
params['InvocationSuccessDistribution'].each do |i|
|
|
15511
|
-
indicatorcoord_tmp = IndicatorCoord.new
|
|
15512
|
-
indicatorcoord_tmp.deserialize(i)
|
|
15513
|
-
@InvocationSuccessDistribution << indicatorcoord_tmp
|
|
15514
|
-
end
|
|
15515
|
-
end
|
|
15516
|
-
unless params['InvocationFailedDistribution'].nil?
|
|
15517
|
-
@InvocationFailedDistribution = []
|
|
15518
|
-
params['InvocationFailedDistribution'].each do |i|
|
|
15519
|
-
indicatorcoord_tmp = IndicatorCoord.new
|
|
15520
|
-
indicatorcoord_tmp.deserialize(i)
|
|
15521
|
-
@InvocationFailedDistribution << indicatorcoord_tmp
|
|
15522
|
-
end
|
|
15523
|
-
end
|
|
15524
|
-
unless params['InvocationStatusDistribution'].nil?
|
|
15525
|
-
@InvocationStatusDistribution = []
|
|
15526
|
-
params['InvocationStatusDistribution'].each do |i|
|
|
15527
|
-
indicatorcoord_tmp = IndicatorCoord.new
|
|
15528
|
-
indicatorcoord_tmp.deserialize(i)
|
|
15529
|
-
@InvocationStatusDistribution << indicatorcoord_tmp
|
|
15530
|
-
end
|
|
15531
|
-
end
|
|
15532
|
-
unless params['InvocationDurationDistribution'].nil?
|
|
15533
|
-
@InvocationDurationDistribution = []
|
|
15534
|
-
params['InvocationDurationDistribution'].each do |i|
|
|
15535
|
-
indicatorcoord_tmp = IndicatorCoord.new
|
|
15536
|
-
indicatorcoord_tmp.deserialize(i)
|
|
15537
|
-
@InvocationDurationDistribution << indicatorcoord_tmp
|
|
15538
|
-
end
|
|
15539
|
-
end
|
|
15540
|
-
unless params['InvocationQuantityDistribution'].nil?
|
|
15541
|
-
@InvocationQuantityDistribution = []
|
|
15542
|
-
params['InvocationQuantityDistribution'].each do |i|
|
|
15543
|
-
indicatorcoord_tmp = IndicatorCoord.new
|
|
15544
|
-
indicatorcoord_tmp.deserialize(i)
|
|
15545
|
-
@InvocationQuantityDistribution << indicatorcoord_tmp
|
|
15546
|
-
end
|
|
15547
|
-
end
|
|
15548
|
-
end
|
|
15549
|
-
end
|
|
15550
|
-
|
|
15551
15361
|
# 监控数据散点图
|
|
15552
15362
|
class InvocationMetricScatterPlot < TencentCloud::Common::AbstractModel
|
|
15553
15363
|
# @param EndTime: 时间轴截止时间,GMT,精确到毫秒
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: tencentcloud-sdk-tsf
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.0.
|
|
4
|
+
version: 3.0.1187
|
|
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-12-
|
|
11
|
+
date: 2025-12-22 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: tencentcloud-sdk-common
|