Class: TencentCloud::Apm::V20210622::AutoProfilingConfig
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Apm::V20210622::AutoProfilingConfig
- Defined in:
- lib/v20210622/models.rb
Overview
自动性能剖析配置
Instance Attribute Summary collapse
- #CpuProfilingDuration ⇒ Object
- #CpuProfilingEnable ⇒ Object
- #CpuProfilingThreshold ⇒ Object
- #MemoryProfilingDuration ⇒ Object
- #MemoryProfilingEnable ⇒ Object
- #MemoryProfilingThreshold ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(cpuprofilingenable = nil, memoryprofilingenable = nil, cpuprofilingthreshold = nil, memoryprofilingthreshold = nil, cpuprofilingduration = nil, memoryprofilingduration = nil) ⇒ AutoProfilingConfig
constructor
A new instance of AutoProfilingConfig.
Constructor Details
#initialize(cpuprofilingenable = nil, memoryprofilingenable = nil, cpuprofilingthreshold = nil, memoryprofilingthreshold = nil, cpuprofilingduration = nil, memoryprofilingduration = nil) ⇒ AutoProfilingConfig
Returns a new instance of AutoProfilingConfig.
1127 1128 1129 1130 1131 1132 1133 1134 |
# File 'lib/v20210622/models.rb', line 1127 def initialize(cpuprofilingenable=nil, memoryprofilingenable=nil, cpuprofilingthreshold=nil, memoryprofilingthreshold=nil, cpuprofilingduration=nil, memoryprofilingduration=nil) @CpuProfilingEnable = cpuprofilingenable @MemoryProfilingEnable = memoryprofilingenable @CpuProfilingThreshold = cpuprofilingthreshold @MemoryProfilingThreshold = memoryprofilingthreshold @CpuProfilingDuration = cpuprofilingduration @MemoryProfilingDuration = memoryprofilingduration end |
Instance Attribute Details
#CpuProfilingDuration ⇒ Object
1125 1126 1127 |
# File 'lib/v20210622/models.rb', line 1125 def CpuProfilingDuration @CpuProfilingDuration end |
#CpuProfilingEnable ⇒ Object
1125 1126 1127 |
# File 'lib/v20210622/models.rb', line 1125 def CpuProfilingEnable @CpuProfilingEnable end |
#CpuProfilingThreshold ⇒ Object
1125 1126 1127 |
# File 'lib/v20210622/models.rb', line 1125 def CpuProfilingThreshold @CpuProfilingThreshold end |
#MemoryProfilingDuration ⇒ Object
1125 1126 1127 |
# File 'lib/v20210622/models.rb', line 1125 def MemoryProfilingDuration @MemoryProfilingDuration end |
#MemoryProfilingEnable ⇒ Object
1125 1126 1127 |
# File 'lib/v20210622/models.rb', line 1125 def MemoryProfilingEnable @MemoryProfilingEnable end |
#MemoryProfilingThreshold ⇒ Object
1125 1126 1127 |
# File 'lib/v20210622/models.rb', line 1125 def MemoryProfilingThreshold @MemoryProfilingThreshold end |
Instance Method Details
#deserialize(params) ⇒ Object
1136 1137 1138 1139 1140 1141 1142 1143 |
# File 'lib/v20210622/models.rb', line 1136 def deserialize(params) @CpuProfilingEnable = params['CpuProfilingEnable'] @MemoryProfilingEnable = params['MemoryProfilingEnable'] @CpuProfilingThreshold = params['CpuProfilingThreshold'] @MemoryProfilingThreshold = params['MemoryProfilingThreshold'] @CpuProfilingDuration = params['CpuProfilingDuration'] @MemoryProfilingDuration = params['MemoryProfilingDuration'] end |