lib/v20210622/models.rb in tencentcloud-sdk-apm-3.0.722 vs lib/v20210622/models.rb in tencentcloud-sdk-apm-3.0.723
- old
+ new
@@ -237,14 +237,22 @@
# 注意:此字段可能返回 null,表示取不到有效值。
# @type MetricDuration: Integer
# @param CustomShowTags: 用户自定义展示标签列表
# 注意:此字段可能返回 null,表示取不到有效值。
# @type CustomShowTags: Array
+ # @param PayMode: 实例计费模式
+ # 1为预付费
+ # 0为按量付费
+ # 注意:此字段可能返回 null,表示取不到有效值。
+ # @type PayMode: Integer
+ # @param PayModeEffective: 实例计费模式是否生效
+ # 注意:此字段可能返回 null,表示取不到有效值。
+ # @type PayModeEffective: Boolean
- 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
+ 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
- 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)
+ 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)
@AmountOfUsedStorage = amountofusedstorage
@Name = name
@Tags = tags
@InstanceId = instanceid
@CreateUin = createuin
@@ -268,10 +276,12 @@
@ClientCount = clientcount
@TotalCount = totalcount
@LogSet = logset
@MetricDuration = metricduration
@CustomShowTags = customshowtags
+ @PayMode = paymode
+ @PayModeEffective = paymodeeffective
end
def deserialize(params)
@AmountOfUsedStorage = params['AmountOfUsedStorage']
@Name = params['Name']
@@ -305,10 +315,12 @@
@ClientCount = params['ClientCount']
@TotalCount = params['TotalCount']
@LogSet = params['LogSet']
@MetricDuration = params['MetricDuration']
@CustomShowTags = params['CustomShowTags']
+ @PayMode = params['PayMode']
+ @PayModeEffective = params['PayModeEffective']
end
end
# 指标列表单元
class ApmMetricRecord < TencentCloud::Common::AbstractModel
@@ -374,19 +386,22 @@
# @type TraceDuration: Integer
# @param Tags: 标签列表
# @type Tags: Array
# @param SpanDailyCounters: 实例上报额度值
# @type SpanDailyCounters: Integer
+ # @param PayMode: 实例的计费模式
+ # @type PayMode: Integer
- attr_accessor :Name, :Description, :TraceDuration, :Tags, :SpanDailyCounters
+ attr_accessor :Name, :Description, :TraceDuration, :Tags, :SpanDailyCounters, :PayMode
- def initialize(name=nil, description=nil, traceduration=nil, tags=nil, spandailycounters=nil)
+ def initialize(name=nil, description=nil, traceduration=nil, tags=nil, spandailycounters=nil, paymode=nil)
@Name = name
@Description = description
@TraceDuration = traceduration
@Tags = tags
@SpanDailyCounters = spandailycounters
+ @PayMode = paymode
end
def deserialize(params)
@Name = params['Name']
@Description = params['Description']
@@ -398,10 +413,11 @@
apmtag_tmp.deserialize(i)
@Tags << apmtag_tmp
end
end
@SpanDailyCounters = params['SpanDailyCounters']
+ @PayMode = params['PayMode']
end
end
# CreateApmInstance返回参数结构体
class CreateApmInstanceResponse < TencentCloud::Common::AbstractModel
@@ -1073,14 +1089,18 @@
# @type LogSet: String
# @param LogSource: CLS | ES
# @type LogSource: String
# @param CustomShowTags: 用户自定义展示标签列表
# @type CustomShowTags: Array
+ # @param PayMode: 修改计费模式
+ # 1为预付费
+ # 0为按量付费
+ # @type PayMode: Integer
- attr_accessor :InstanceId, :Name, :Tags, :Description, :TraceDuration, :OpenBilling, :SpanDailyCounters, :ErrRateThreshold, :SampleRate, :ErrorSample, :SlowRequestSavedThreshold, :IsRelatedLog, :LogRegion, :LogTopicID, :LogSet, :LogSource, :CustomShowTags
+ attr_accessor :InstanceId, :Name, :Tags, :Description, :TraceDuration, :OpenBilling, :SpanDailyCounters, :ErrRateThreshold, :SampleRate, :ErrorSample, :SlowRequestSavedThreshold, :IsRelatedLog, :LogRegion, :LogTopicID, :LogSet, :LogSource, :CustomShowTags, :PayMode
- 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)
+ 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)
@InstanceId = instanceid
@Name = name
@Tags = tags
@Description = description
@TraceDuration = traceduration
@@ -1094,10 +1114,11 @@
@LogRegion = logregion
@LogTopicID = logtopicid
@LogSet = logset
@LogSource = logsource
@CustomShowTags = customshowtags
+ @PayMode = paymode
end
def deserialize(params)
@InstanceId = params['InstanceId']
@Name = params['Name']
@@ -1121,9 +1142,10 @@
@LogRegion = params['LogRegion']
@LogTopicID = params['LogTopicID']
@LogSet = params['LogSet']
@LogSource = params['LogSource']
@CustomShowTags = params['CustomShowTags']
+ @PayMode = params['PayMode']
end
end
# ModifyApmInstance返回参数结构体
class ModifyApmInstanceResponse < TencentCloud::Common::AbstractModel