lib/v20210622/models.rb in tencentcloud-sdk-apm-3.0.590 vs lib/v20210622/models.rb in tencentcloud-sdk-apm-3.0.591

- old
+ new

@@ -25,11 +25,11 @@ # @param Value: Value值定义 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Value: Float attr_accessor :Key, :Value - + def initialize(key=nil, value=nil) @Key = key @Value = value end @@ -47,11 +47,11 @@ # @param Value: Value值定义 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Value: String attr_accessor :Key, :Value - + def initialize(key=nil, value=nil) @Key = key @Value = value end @@ -81,11 +81,11 @@ # @param PrivateLinkCollectorURL: 内网上报地址(Private Link上报地址) # 注意:此字段可能返回 null,表示取不到有效值。 # @type PrivateLinkCollectorURL: String attr_accessor :AgentDownloadURL, :CollectorURL, :Token, :PublicCollectorURL, :InnerCollectorURL, :PrivateLinkCollectorURL - + def initialize(agentdownloadurl=nil, collectorurl=nil, token=nil, publiccollectorurl=nil, innercollectorurl=nil, privatelinkcollectorurl=nil) @AgentDownloadURL = agentdownloadurl @CollectorURL = collectorurl @Token = token @PublicCollectorURL = publiccollectorurl @@ -122,11 +122,11 @@ # @param LastPeriodValue: 同环比上周期具体数值 # 注意:此字段可能返回 null,表示取不到有效值。 # @type LastPeriodValue: Array attr_accessor :CompareVal, :CompareVals, :Value, :Unit, :Key, :LastPeriodValue - + def initialize(compareval=nil, comparevals=nil, value=nil, unit=nil, key=nil, lastperiodvalue=nil) @CompareVal = compareval @CompareVals = comparevals @Value = value @Unit = unit @@ -236,11 +236,11 @@ # @param MetricDuration: Metric数据保存时长 # 注意:此字段可能返回 null,表示取不到有效值。 # @type MetricDuration: 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 - + 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) @AmountOfUsedStorage = amountofusedstorage @Name = name @Tags = tags @InstanceId = instanceid @@ -311,11 +311,11 @@ # @type Fields: Array # @param Tags: tag数组 # @type Tags: Array attr_accessor :Fields, :Tags - + def initialize(fields=nil, tags=nil) @Fields = fields @Tags = tags end @@ -345,11 +345,11 @@ # @type Key: String # @param Value: 维度值(标签值) # @type Value: String attr_accessor :Key, :Value - + def initialize(key=nil, value=nil) @Key = key @Value = value end @@ -371,11 +371,11 @@ # @type Tags: Array # @param SpanDailyCounters: 实例上报额度值 # @type SpanDailyCounters: Integer attr_accessor :Name, :Description, :TraceDuration, :Tags, :SpanDailyCounters - + def initialize(name=nil, description=nil, traceduration=nil, tags=nil, spandailycounters=nil) @Name = name @Description = description @TraceDuration = traceduration @Tags = tags @@ -405,11 +405,11 @@ # @type InstanceId: String # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :InstanceId, :RequestId - + def initialize(instanceid=nil, requestid=nil) @InstanceId = instanceid @RequestId = requestid end @@ -431,11 +431,11 @@ # @type LanguageEnvironment: String # @param ReportMethod: 上报方式 # @type ReportMethod: String attr_accessor :InstanceId, :AgentType, :NetworkMode, :LanguageEnvironment, :ReportMethod - + def initialize(instanceid=nil, agenttype=nil, networkmode=nil, languageenvironment=nil, reportmethod=nil) @InstanceId = instanceid @AgentType = agenttype @NetworkMode = networkmode @LanguageEnvironment = languageenvironment @@ -458,11 +458,11 @@ # @type ApmAgent: :class:`Tencentcloud::Apm.v20210622.models.ApmAgentInfo` # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :ApmAgent, :RequestId - + def initialize(apmagent=nil, requestid=nil) @ApmAgent = apmagent @RequestId = requestid end @@ -485,11 +485,11 @@ # @type InstanceIds: Array # @param DemoInstanceFlag: 是否查询官方demo实例 # @type DemoInstanceFlag: Integer attr_accessor :Tags, :InstanceName, :InstanceIds, :DemoInstanceFlag - + def initialize(tags=nil, instancename=nil, instanceids=nil, demoinstanceflag=nil) @Tags = tags @InstanceName = instancename @InstanceIds = instanceids @DemoInstanceFlag = demoinstanceflag @@ -517,11 +517,11 @@ # @type Instances: Array # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :Instances, :RequestId - + def initialize(instances=nil, requestid=nil) @Instances = instances @RequestId = requestid end @@ -578,11 +578,11 @@ # @type OrderBy: :class:`Tencentcloud::Apm.v20210622.models.OrderBy` # @param PageSize: 查询指标的限制条数,目前最多展示50条数据,PageSize取值为1-50,上送PageSize则根据PageSize的值展示限制条数。 # @type PageSize: Integer attr_accessor :Filters, :Metrics, :InstanceId, :ViewName, :GroupBy, :StartTime, :EndTime, :Period, :OrderBy, :PageSize - + def initialize(filters=nil, metrics=nil, instanceid=nil, viewname=nil, groupby=nil, starttime=nil, endtime=nil, period=nil, orderby=nil, pagesize=nil) @Filters = filters @Metrics = metrics @InstanceId = instanceid @ViewName = viewname @@ -625,11 +625,11 @@ # @type Records: Array # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :Records, :RequestId - + def initialize(records=nil, requestid=nil) @Records = records @RequestId = requestid end @@ -672,11 +672,11 @@ # @type PageIndex: Integer # @param PageSize: 页长 # @type PageSize: Integer attr_accessor :Filters, :Metrics, :GroupBy, :OrderBy, :InstanceId, :Limit, :StartTime, :Offset, :EndTime, :BusinessName, :PageIndex, :PageSize - + def initialize(filters=nil, metrics=nil, groupby=nil, orderby=nil, instanceid=nil, limit=nil, starttime=nil, offset=nil, endtime=nil, businessname=nil, pageindex=nil, pagesize=nil) @Filters = filters @Metrics = metrics @GroupBy = groupby @OrderBy = orderby @@ -733,11 +733,11 @@ # @type TotalCount: Integer # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :Records, :TotalCount, :RequestId - + def initialize(records=nil, totalcount=nil, requestid=nil) @Records = records @TotalCount = totalcount @RequestId = requestid end @@ -776,11 +776,11 @@ # @type Offset: Integer # @param EndTime: 结束时间 # @type EndTime: Integer attr_accessor :Filters, :Metrics, :GroupBy, :OrderBy, :InstanceId, :Limit, :StartTime, :Offset, :EndTime - + def initialize(filters=nil, metrics=nil, groupby=nil, orderby=nil, instanceid=nil, limit=nil, starttime=nil, offset=nil, endtime=nil) @Filters = filters @Metrics = metrics @GroupBy = groupby @OrderBy = orderby @@ -828,11 +828,11 @@ # @type Records: Array # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :Records, :RequestId - + def initialize(records=nil, requestid=nil) @Records = records @RequestId = requestid end @@ -857,11 +857,11 @@ # @type Key: String # @param Value: 过滤值,in过滤方式用逗号分割多个值 # @type Value: String attr_accessor :Type, :Key, :Value - + def initialize(type=nil, key=nil, value=nil) @Type = type @Key = key @Value = value end @@ -879,11 +879,11 @@ # @type Key: String # @param Value: 过滤值 # @type Value: String attr_accessor :Key, :Value - + def initialize(key=nil, value=nil) @Key = key @Value = value end @@ -907,11 +907,11 @@ # @param Tags: 维度列表 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Tags: Array attr_accessor :MetricName, :MetricNameCN, :TimeSerial, :DataSerial, :Tags - + def initialize(metricname=nil, metricnamecn=nil, timeserial=nil, dataserial=nil, tags=nil) @MetricName = metricname @MetricNameCN = metricnamecn @TimeSerial = timeserial @DataSerial = dataserial @@ -968,11 +968,11 @@ # @type LogSet: String # @param LogSource: CLS | ES # @type LogSource: String attr_accessor :InstanceId, :Name, :Tags, :Description, :TraceDuration, :OpenBilling, :SpanDailyCounters, :ErrRateThreshold, :SampleRate, :ErrorSample, :SlowRequestSavedThreshold, :IsRelatedLog, :LogRegion, :LogTopicID, :LogSet, :LogSource - + 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) @InstanceId = instanceid @Name = name @Tags = tags @Description = description @@ -1021,11 +1021,11 @@ class ModifyApmInstanceResponse < TencentCloud::Common::AbstractModel # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :RequestId - + def initialize(requestid=nil) @RequestId = requestid end def deserialize(params) @@ -1039,11 +1039,11 @@ # @type Key: String # @param Value: 顺序排序/倒序排序 # @type Value: String attr_accessor :Key, :Value - + def initialize(key=nil, value=nil) @Key = key @Value = value end @@ -1061,11 +1061,11 @@ # @type Compare: String # @param Compares: 同比,支持多种同比方式 # @type Compares: Array attr_accessor :MetricName, :Compare, :Compares - + def initialize(metricname=nil, compare=nil, compares=nil) @MetricName = metricname @Compare = compare @Compares = compares end @@ -1081,11 +1081,11 @@ class TerminateApmInstanceRequest < TencentCloud::Common::AbstractModel # @param InstanceId: 实例ID # @type InstanceId: String attr_accessor :InstanceId - + def initialize(instanceid=nil) @InstanceId = instanceid end def deserialize(params) @@ -1097,10 +1097,10 @@ class TerminateApmInstanceResponse < TencentCloud::Common::AbstractModel # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :RequestId - + def initialize(requestid=nil) @RequestId = requestid end def deserialize(params)