lib/v20210622/models.rb in tencentcloud-sdk-apm-3.0.904 vs lib/v20210622/models.rb in tencentcloud-sdk-apm-3.0.905
- old
+ new
@@ -343,14 +343,17 @@
# 注意:此字段可能返回 null,表示取不到有效值。
# @type PayMode: Integer
# @param PayModeEffective: 实例计费模式是否生效
# 注意:此字段可能返回 null,表示取不到有效值。
# @type PayModeEffective: Boolean
+ # @param ResponseDurationWarningThreshold: 响应时间满意阈值
+ # 注意:此字段可能返回 null,表示取不到有效值。
+ # @type ResponseDurationWarningThreshold: Integer
- attr_accessor :AmountOfUsedStorage, :Name, :Tags, :InstanceId, :CreateUin, :ServiceCount, :CountOfReportSpanPerDay, :AppId, :TraceDuration, :Description, :Status, :Region, :SpanDailyCounters, :BillingInstance, :ErrRateThreshold, :SampleRate, :ErrorSample, :SlowRequestSavedThreshold, :LogRegion, :LogSource, :IsRelatedLog, :LogTopicID, :ClientCount, :TotalCount, :LogSet, :MetricDuration, :CustomShowTags, :PayMode, :PayModeEffective
+ attr_accessor :AmountOfUsedStorage, :Name, :Tags, :InstanceId, :CreateUin, :ServiceCount, :CountOfReportSpanPerDay, :AppId, :TraceDuration, :Description, :Status, :Region, :SpanDailyCounters, :BillingInstance, :ErrRateThreshold, :SampleRate, :ErrorSample, :SlowRequestSavedThreshold, :LogRegion, :LogSource, :IsRelatedLog, :LogTopicID, :ClientCount, :TotalCount, :LogSet, :MetricDuration, :CustomShowTags, :PayMode, :PayModeEffective, :ResponseDurationWarningThreshold
- def initialize(amountofusedstorage=nil, name=nil, tags=nil, instanceid=nil, createuin=nil, servicecount=nil, countofreportspanperday=nil, appid=nil, traceduration=nil, description=nil, status=nil, region=nil, spandailycounters=nil, billinginstance=nil, errratethreshold=nil, samplerate=nil, errorsample=nil, slowrequestsavedthreshold=nil, logregion=nil, logsource=nil, isrelatedlog=nil, logtopicid=nil, clientcount=nil, totalcount=nil, logset=nil, metricduration=nil, customshowtags=nil, paymode=nil, paymodeeffective=nil)
+ def initialize(amountofusedstorage=nil, name=nil, tags=nil, instanceid=nil, createuin=nil, servicecount=nil, countofreportspanperday=nil, appid=nil, traceduration=nil, description=nil, status=nil, region=nil, spandailycounters=nil, billinginstance=nil, errratethreshold=nil, samplerate=nil, errorsample=nil, slowrequestsavedthreshold=nil, logregion=nil, logsource=nil, isrelatedlog=nil, logtopicid=nil, clientcount=nil, totalcount=nil, logset=nil, metricduration=nil, customshowtags=nil, paymode=nil, paymodeeffective=nil, responsedurationwarningthreshold=nil)
@AmountOfUsedStorage = amountofusedstorage
@Name = name
@Tags = tags
@InstanceId = instanceid
@CreateUin = createuin
@@ -376,10 +379,11 @@
@LogSet = logset
@MetricDuration = metricduration
@CustomShowTags = customshowtags
@PayMode = paymode
@PayModeEffective = paymodeeffective
+ @ResponseDurationWarningThreshold = responsedurationwarningthreshold
end
def deserialize(params)
@AmountOfUsedStorage = params['AmountOfUsedStorage']
@Name = params['Name']
@@ -415,10 +419,11 @@
@LogSet = params['LogSet']
@MetricDuration = params['MetricDuration']
@CustomShowTags = params['CustomShowTags']
@PayMode = params['PayMode']
@PayModeEffective = params['PayModeEffective']
+ @ResponseDurationWarningThreshold = params['ResponseDurationWarningThreshold']
end
end
# 指标列表单元
class ApmMetricRecord < TencentCloud::Common::AbstractModel
@@ -1334,14 +1339,16 @@
# @type CustomShowTags: Array
# @param PayMode: 修改计费模式
# 1为预付费
# 0为按量付费
# @type PayMode: Integer
+ # @param ResponseDurationWarningThreshold: 响应时间满意阈值
+ # @type ResponseDurationWarningThreshold: Integer
- attr_accessor :InstanceId, :Name, :Tags, :Description, :TraceDuration, :OpenBilling, :SpanDailyCounters, :ErrRateThreshold, :SampleRate, :ErrorSample, :SlowRequestSavedThreshold, :IsRelatedLog, :LogRegion, :LogTopicID, :LogSet, :LogSource, :CustomShowTags, :PayMode
+ attr_accessor :InstanceId, :Name, :Tags, :Description, :TraceDuration, :OpenBilling, :SpanDailyCounters, :ErrRateThreshold, :SampleRate, :ErrorSample, :SlowRequestSavedThreshold, :IsRelatedLog, :LogRegion, :LogTopicID, :LogSet, :LogSource, :CustomShowTags, :PayMode, :ResponseDurationWarningThreshold
- def initialize(instanceid=nil, name=nil, tags=nil, description=nil, traceduration=nil, openbilling=nil, spandailycounters=nil, errratethreshold=nil, samplerate=nil, errorsample=nil, slowrequestsavedthreshold=nil, isrelatedlog=nil, logregion=nil, logtopicid=nil, logset=nil, logsource=nil, customshowtags=nil, paymode=nil)
+ def initialize(instanceid=nil, name=nil, tags=nil, description=nil, traceduration=nil, openbilling=nil, spandailycounters=nil, errratethreshold=nil, samplerate=nil, errorsample=nil, slowrequestsavedthreshold=nil, isrelatedlog=nil, logregion=nil, logtopicid=nil, logset=nil, logsource=nil, customshowtags=nil, paymode=nil, responsedurationwarningthreshold=nil)
@InstanceId = instanceid
@Name = name
@Tags = tags
@Description = description
@TraceDuration = traceduration
@@ -1356,10 +1363,11 @@
@LogTopicID = logtopicid
@LogSet = logset
@LogSource = logsource
@CustomShowTags = customshowtags
@PayMode = paymode
+ @ResponseDurationWarningThreshold = responsedurationwarningthreshold
end
def deserialize(params)
@InstanceId = params['InstanceId']
@Name = params['Name']
@@ -1384,9 +1392,10 @@
@LogTopicID = params['LogTopicID']
@LogSet = params['LogSet']
@LogSource = params['LogSource']
@CustomShowTags = params['CustomShowTags']
@PayMode = params['PayMode']
+ @ResponseDurationWarningThreshold = params['ResponseDurationWarningThreshold']
end
end
# ModifyApmInstance返回参数结构体
class ModifyApmInstanceResponse < TencentCloud::Common::AbstractModel