Class: TencentCloud::Eis::V20210601::GetRuntimeResourceMonitorMetricMCRequest

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20210601/models.rb

Overview

GetRuntimeResourceMonitorMetricMC请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(runtimeid = nil, starttime = nil, endtime = nil, metrictype = nil, ratetype = nil, interval = nil, runtimeclass = nil, aggregationtype = nil) ⇒ GetRuntimeResourceMonitorMetricMCRequest

Returns a new instance of GetRuntimeResourceMonitorMetricMCRequest.



146
147
148
149
150
151
152
153
154
155
# File 'lib/v20210601/models.rb', line 146

def initialize(runtimeid=nil, starttime=nil, endtime=nil, metrictype=nil, ratetype=nil, interval=nil, runtimeclass=nil, aggregationtype=nil)
  @RuntimeId = runtimeid
  @StartTime = starttime
  @EndTime = endtime
  @MetricType = metrictype
  @RateType = ratetype
  @Interval = interval
  @RuntimeClass = runtimeclass
  @AggregationType = aggregationtype
end

Instance Attribute Details

#AggregationTypeObject

Parameters:

  • RuntimeId:

    运行时id

  • StartTime:

    起始时间

  • EndTime:

    结束时间

  • MetricType:

    指标类型:0:CPU, 1:MemUsageBytes, 2:K8sWorkloadNetworkReceiveBytesBw, 3:K8sWorkloadNetworkTransmitBytesBw

  • RateType:

    是否返回百分比数值,仅支持CPU,Memory

  • Interval:

    采样粒度:60(s), 300(s), 3600(s), 86400(s)

  • RuntimeClass:

    环境运行类型:0:运行时类型、1:api类型

  • AggregationType:

    资源指标聚合类型:0: 环境维度 1:执行引擎维度 2:datatwaypy维度 3.datawayjava维度



144
145
146
# File 'lib/v20210601/models.rb', line 144

def AggregationType
  @AggregationType
end

#EndTimeObject

Parameters:

  • RuntimeId:

    运行时id

  • StartTime:

    起始时间

  • EndTime:

    结束时间

  • MetricType:

    指标类型:0:CPU, 1:MemUsageBytes, 2:K8sWorkloadNetworkReceiveBytesBw, 3:K8sWorkloadNetworkTransmitBytesBw

  • RateType:

    是否返回百分比数值,仅支持CPU,Memory

  • Interval:

    采样粒度:60(s), 300(s), 3600(s), 86400(s)

  • RuntimeClass:

    环境运行类型:0:运行时类型、1:api类型

  • AggregationType:

    资源指标聚合类型:0: 环境维度 1:执行引擎维度 2:datatwaypy维度 3.datawayjava维度



144
145
146
# File 'lib/v20210601/models.rb', line 144

def EndTime
  @EndTime
end

#IntervalObject

Parameters:

  • RuntimeId:

    运行时id

  • StartTime:

    起始时间

  • EndTime:

    结束时间

  • MetricType:

    指标类型:0:CPU, 1:MemUsageBytes, 2:K8sWorkloadNetworkReceiveBytesBw, 3:K8sWorkloadNetworkTransmitBytesBw

  • RateType:

    是否返回百分比数值,仅支持CPU,Memory

  • Interval:

    采样粒度:60(s), 300(s), 3600(s), 86400(s)

  • RuntimeClass:

    环境运行类型:0:运行时类型、1:api类型

  • AggregationType:

    资源指标聚合类型:0: 环境维度 1:执行引擎维度 2:datatwaypy维度 3.datawayjava维度



144
145
146
# File 'lib/v20210601/models.rb', line 144

def Interval
  @Interval
end

#MetricTypeObject

Parameters:

  • RuntimeId:

    运行时id

  • StartTime:

    起始时间

  • EndTime:

    结束时间

  • MetricType:

    指标类型:0:CPU, 1:MemUsageBytes, 2:K8sWorkloadNetworkReceiveBytesBw, 3:K8sWorkloadNetworkTransmitBytesBw

  • RateType:

    是否返回百分比数值,仅支持CPU,Memory

  • Interval:

    采样粒度:60(s), 300(s), 3600(s), 86400(s)

  • RuntimeClass:

    环境运行类型:0:运行时类型、1:api类型

  • AggregationType:

    资源指标聚合类型:0: 环境维度 1:执行引擎维度 2:datatwaypy维度 3.datawayjava维度



144
145
146
# File 'lib/v20210601/models.rb', line 144

def MetricType
  @MetricType
end

#RateTypeObject

Parameters:

  • RuntimeId:

    运行时id

  • StartTime:

    起始时间

  • EndTime:

    结束时间

  • MetricType:

    指标类型:0:CPU, 1:MemUsageBytes, 2:K8sWorkloadNetworkReceiveBytesBw, 3:K8sWorkloadNetworkTransmitBytesBw

  • RateType:

    是否返回百分比数值,仅支持CPU,Memory

  • Interval:

    采样粒度:60(s), 300(s), 3600(s), 86400(s)

  • RuntimeClass:

    环境运行类型:0:运行时类型、1:api类型

  • AggregationType:

    资源指标聚合类型:0: 环境维度 1:执行引擎维度 2:datatwaypy维度 3.datawayjava维度



144
145
146
# File 'lib/v20210601/models.rb', line 144

def RateType
  @RateType
end

#RuntimeClassObject

Parameters:

  • RuntimeId:

    运行时id

  • StartTime:

    起始时间

  • EndTime:

    结束时间

  • MetricType:

    指标类型:0:CPU, 1:MemUsageBytes, 2:K8sWorkloadNetworkReceiveBytesBw, 3:K8sWorkloadNetworkTransmitBytesBw

  • RateType:

    是否返回百分比数值,仅支持CPU,Memory

  • Interval:

    采样粒度:60(s), 300(s), 3600(s), 86400(s)

  • RuntimeClass:

    环境运行类型:0:运行时类型、1:api类型

  • AggregationType:

    资源指标聚合类型:0: 环境维度 1:执行引擎维度 2:datatwaypy维度 3.datawayjava维度



144
145
146
# File 'lib/v20210601/models.rb', line 144

def RuntimeClass
  @RuntimeClass
end

#RuntimeIdObject

Parameters:

  • RuntimeId:

    运行时id

  • StartTime:

    起始时间

  • EndTime:

    结束时间

  • MetricType:

    指标类型:0:CPU, 1:MemUsageBytes, 2:K8sWorkloadNetworkReceiveBytesBw, 3:K8sWorkloadNetworkTransmitBytesBw

  • RateType:

    是否返回百分比数值,仅支持CPU,Memory

  • Interval:

    采样粒度:60(s), 300(s), 3600(s), 86400(s)

  • RuntimeClass:

    环境运行类型:0:运行时类型、1:api类型

  • AggregationType:

    资源指标聚合类型:0: 环境维度 1:执行引擎维度 2:datatwaypy维度 3.datawayjava维度



144
145
146
# File 'lib/v20210601/models.rb', line 144

def RuntimeId
  @RuntimeId
end

#StartTimeObject

Parameters:

  • RuntimeId:

    运行时id

  • StartTime:

    起始时间

  • EndTime:

    结束时间

  • MetricType:

    指标类型:0:CPU, 1:MemUsageBytes, 2:K8sWorkloadNetworkReceiveBytesBw, 3:K8sWorkloadNetworkTransmitBytesBw

  • RateType:

    是否返回百分比数值,仅支持CPU,Memory

  • Interval:

    采样粒度:60(s), 300(s), 3600(s), 86400(s)

  • RuntimeClass:

    环境运行类型:0:运行时类型、1:api类型

  • AggregationType:

    资源指标聚合类型:0: 环境维度 1:执行引擎维度 2:datatwaypy维度 3.datawayjava维度



144
145
146
# File 'lib/v20210601/models.rb', line 144

def StartTime
  @StartTime
end

Instance Method Details

#deserialize(params) ⇒ Object



157
158
159
160
161
162
163
164
165
166
# File 'lib/v20210601/models.rb', line 157

def deserialize(params)
  @RuntimeId = params['RuntimeId']
  @StartTime = params['StartTime']
  @EndTime = params['EndTime']
  @MetricType = params['MetricType']
  @RateType = params['RateType']
  @Interval = params['Interval']
  @RuntimeClass = params['RuntimeClass']
  @AggregationType = params['AggregationType']
end