Class: TencentCloud::Apm::V20210622::ApmApplicationConfigView
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Apm::V20210622::ApmApplicationConfigView
- Defined in:
- lib/v20210622/models.rb
Overview
应用相关的配置列表项
Instance Attribute Summary collapse
- #AgentEnable ⇒ Object
- #AutoProfilingConfig ⇒ Object
- #DbStatementParametersEnabled ⇒ Object
- #DesensitizationRule ⇒ Object
- #DisableCpuUsed ⇒ Object
- #DisableMemoryUsed ⇒ Object
- #EnableDesensitizationRule ⇒ Object
- #ErrorCodeFilter ⇒ Object
- #EventEnable ⇒ Object
- #ExceptionFilter ⇒ Object
- #InstanceKey ⇒ Object
- #InstrumentList ⇒ Object
- #IsRelatedLog ⇒ Object
- #LogSet ⇒ Object
- #LogSource ⇒ Object
- #LogTopicID ⇒ Object
- #OperationNameFilter ⇒ Object
- #ServiceName ⇒ Object
- #SlowSQLThresholds ⇒ Object
- #SnapshotEnable ⇒ Object
- #SnapshotTimeout ⇒ Object
- #TraceSquash ⇒ Object
- #UrlConvergence ⇒ Object
- #UrlConvergenceSwitch ⇒ Object
- #UrlConvergenceThreshold ⇒ Object
- #UrlExclude ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(instancekey = nil, servicename = nil, operationnamefilter = nil, exceptionfilter = nil, errorcodefilter = nil, eventenable = nil, urlconvergenceswitch = nil, urlconvergencethreshold = nil, urlconvergence = nil, urlexclude = nil, isrelatedlog = nil, logsource = nil, logset = nil, logtopicid = nil, snapshotenable = nil, snapshottimeout = nil, agentenable = nil, instrumentlist = nil, tracesquash = nil, disablememoryused = nil, disablecpuused = nil, dbstatementparametersenabled = nil, slowsqlthresholds = nil, enabledesensitizationrule = nil, desensitizationrule = nil, autoprofilingconfig = nil) ⇒ ApmApplicationConfigView
constructor
A new instance of ApmApplicationConfigView.
Constructor Details
#initialize(instancekey = nil, servicename = nil, operationnamefilter = nil, exceptionfilter = nil, errorcodefilter = nil, eventenable = nil, urlconvergenceswitch = nil, urlconvergencethreshold = nil, urlconvergence = nil, urlexclude = nil, isrelatedlog = nil, logsource = nil, logset = nil, logtopicid = nil, snapshotenable = nil, snapshottimeout = nil, agentenable = nil, instrumentlist = nil, tracesquash = nil, disablememoryused = nil, disablecpuused = nil, dbstatementparametersenabled = nil, slowsqlthresholds = nil, enabledesensitizationrule = nil, desensitizationrule = nil, autoprofilingconfig = nil) ⇒ ApmApplicationConfigView
Returns a new instance of ApmApplicationConfigView.
467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 |
# File 'lib/v20210622/models.rb', line 467 def initialize(instancekey=nil, servicename=nil, operationnamefilter=nil, exceptionfilter=nil, errorcodefilter=nil, eventenable=nil, urlconvergenceswitch=nil, urlconvergencethreshold=nil, urlconvergence=nil, urlexclude=nil, =nil, logsource=nil, logset=nil, logtopicid=nil, snapshotenable=nil, snapshottimeout=nil, agentenable=nil, instrumentlist=nil, tracesquash=nil, disablememoryused=nil, disablecpuused=nil, dbstatementparametersenabled=nil, slowsqlthresholds=nil, enabledesensitizationrule=nil, desensitizationrule=nil, autoprofilingconfig=nil) @InstanceKey = instancekey @ServiceName = servicename @OperationNameFilter = operationnamefilter @ExceptionFilter = exceptionfilter @ErrorCodeFilter = errorcodefilter @EventEnable = eventenable @UrlConvergenceSwitch = urlconvergenceswitch @UrlConvergenceThreshold = urlconvergencethreshold @UrlConvergence = urlconvergence @UrlExclude = urlexclude = @LogSource = logsource @LogSet = logset @LogTopicID = logtopicid @SnapshotEnable = snapshotenable @SnapshotTimeout = snapshottimeout @AgentEnable = agentenable @InstrumentList = instrumentlist @TraceSquash = tracesquash @DisableMemoryUsed = disablememoryused @DisableCpuUsed = disablecpuused @DbStatementParametersEnabled = dbstatementparametersenabled @SlowSQLThresholds = slowsqlthresholds @EnableDesensitizationRule = enabledesensitizationrule @DesensitizationRule = desensitizationrule @AutoProfilingConfig = autoprofilingconfig end |
Instance Attribute Details
#AgentEnable ⇒ Object
465 466 467 |
# File 'lib/v20210622/models.rb', line 465 def AgentEnable @AgentEnable end |
#AutoProfilingConfig ⇒ Object
465 466 467 |
# File 'lib/v20210622/models.rb', line 465 def AutoProfilingConfig @AutoProfilingConfig end |
#DbStatementParametersEnabled ⇒ Object
465 466 467 |
# File 'lib/v20210622/models.rb', line 465 def DbStatementParametersEnabled @DbStatementParametersEnabled end |
#DesensitizationRule ⇒ Object
465 466 467 |
# File 'lib/v20210622/models.rb', line 465 def DesensitizationRule @DesensitizationRule end |
#DisableCpuUsed ⇒ Object
465 466 467 |
# File 'lib/v20210622/models.rb', line 465 def DisableCpuUsed @DisableCpuUsed end |
#DisableMemoryUsed ⇒ Object
465 466 467 |
# File 'lib/v20210622/models.rb', line 465 def DisableMemoryUsed @DisableMemoryUsed end |
#EnableDesensitizationRule ⇒ Object
465 466 467 |
# File 'lib/v20210622/models.rb', line 465 def EnableDesensitizationRule @EnableDesensitizationRule end |
#ErrorCodeFilter ⇒ Object
465 466 467 |
# File 'lib/v20210622/models.rb', line 465 def ErrorCodeFilter @ErrorCodeFilter end |
#EventEnable ⇒ Object
465 466 467 |
# File 'lib/v20210622/models.rb', line 465 def EventEnable @EventEnable end |
#ExceptionFilter ⇒ Object
465 466 467 |
# File 'lib/v20210622/models.rb', line 465 def ExceptionFilter @ExceptionFilter end |
#InstanceKey ⇒ Object
465 466 467 |
# File 'lib/v20210622/models.rb', line 465 def InstanceKey @InstanceKey end |
#InstrumentList ⇒ Object
465 466 467 |
# File 'lib/v20210622/models.rb', line 465 def InstrumentList @InstrumentList end |
#IsRelatedLog ⇒ Object
465 466 467 |
# File 'lib/v20210622/models.rb', line 465 def end |
#LogSet ⇒ Object
465 466 467 |
# File 'lib/v20210622/models.rb', line 465 def LogSet @LogSet end |
#LogSource ⇒ Object
465 466 467 |
# File 'lib/v20210622/models.rb', line 465 def LogSource @LogSource end |
#LogTopicID ⇒ Object
465 466 467 |
# File 'lib/v20210622/models.rb', line 465 def LogTopicID @LogTopicID end |
#OperationNameFilter ⇒ Object
465 466 467 |
# File 'lib/v20210622/models.rb', line 465 def OperationNameFilter @OperationNameFilter end |
#ServiceName ⇒ Object
465 466 467 |
# File 'lib/v20210622/models.rb', line 465 def ServiceName @ServiceName end |
#SlowSQLThresholds ⇒ Object
465 466 467 |
# File 'lib/v20210622/models.rb', line 465 def SlowSQLThresholds @SlowSQLThresholds end |
#SnapshotEnable ⇒ Object
465 466 467 |
# File 'lib/v20210622/models.rb', line 465 def SnapshotEnable @SnapshotEnable end |
#SnapshotTimeout ⇒ Object
465 466 467 |
# File 'lib/v20210622/models.rb', line 465 def SnapshotTimeout @SnapshotTimeout end |
#TraceSquash ⇒ Object
465 466 467 |
# File 'lib/v20210622/models.rb', line 465 def TraceSquash @TraceSquash end |
#UrlConvergence ⇒ Object
465 466 467 |
# File 'lib/v20210622/models.rb', line 465 def UrlConvergence @UrlConvergence end |
#UrlConvergenceSwitch ⇒ Object
465 466 467 |
# File 'lib/v20210622/models.rb', line 465 def UrlConvergenceSwitch @UrlConvergenceSwitch end |
#UrlConvergenceThreshold ⇒ Object
465 466 467 |
# File 'lib/v20210622/models.rb', line 465 def UrlConvergenceThreshold @UrlConvergenceThreshold end |
#UrlExclude ⇒ Object
465 466 467 |
# File 'lib/v20210622/models.rb', line 465 def UrlExclude @UrlExclude end |
Instance Method Details
#deserialize(params) ⇒ Object
496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 |
# File 'lib/v20210622/models.rb', line 496 def deserialize(params) @InstanceKey = params['InstanceKey'] @ServiceName = params['ServiceName'] @OperationNameFilter = params['OperationNameFilter'] @ExceptionFilter = params['ExceptionFilter'] @ErrorCodeFilter = params['ErrorCodeFilter'] @EventEnable = params['EventEnable'] @UrlConvergenceSwitch = params['UrlConvergenceSwitch'] @UrlConvergenceThreshold = params['UrlConvergenceThreshold'] @UrlConvergence = params['UrlConvergence'] @UrlExclude = params['UrlExclude'] = params['IsRelatedLog'] @LogSource = params['LogSource'] @LogSet = params['LogSet'] @LogTopicID = params['LogTopicID'] @SnapshotEnable = params['SnapshotEnable'] @SnapshotTimeout = params['SnapshotTimeout'] @AgentEnable = params['AgentEnable'] unless params['InstrumentList'].nil? @InstrumentList = [] params['InstrumentList'].each do |i| instrument_tmp = Instrument.new instrument_tmp.deserialize(i) @InstrumentList << instrument_tmp end end @TraceSquash = params['TraceSquash'] @DisableMemoryUsed = params['DisableMemoryUsed'] @DisableCpuUsed = params['DisableCpuUsed'] @DbStatementParametersEnabled = params['DbStatementParametersEnabled'] unless params['SlowSQLThresholds'].nil? @SlowSQLThresholds = [] params['SlowSQLThresholds'].each do |i| apmtag_tmp = ApmTag.new apmtag_tmp.deserialize(i) @SlowSQLThresholds << apmtag_tmp end end @EnableDesensitizationRule = params['EnableDesensitizationRule'] @DesensitizationRule = params['DesensitizationRule'] unless params['AutoProfilingConfig'].nil? @AutoProfilingConfig = AutoProfilingConfig.new @AutoProfilingConfig.deserialize(params['AutoProfilingConfig']) end end |