Class: TencentCloud::Waf::V20180125::DescribePeakValueRequest

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

Overview

DescribePeakValue请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(fromtime = nil, totime = nil, domain = nil, edition = nil, instanceid = nil, metricname = nil) ⇒ DescribePeakValueRequest

Returns a new instance of DescribePeakValueRequest.



5979
5980
5981
5982
5983
5984
5985
5986
# File 'lib/v20180125/models.rb', line 5979

def initialize(fromtime=nil, totime=nil, domain=nil, edition=nil, instanceid=nil, metricname=nil)
  @FromTime = fromtime
  @ToTime = totime
  @Domain = domain
  @Edition = edition
  @InstanceID = instanceid
  @MetricName = metricname
end

Instance Attribute Details

#DomainObject

access-峰值qps down-下行峰值带宽 up-上行峰值带宽 attack-Web攻击总数 cc-CC攻击总数趋势图

Parameters:

  • FromTime:

    查询起始时间

  • ToTime:

    查询结束时间

  • Domain:

    需要查询的域名,当前用户所有域名可以不传

  • Edition:

    只有两个值有效,sparta-waf,clb-waf,不传则不过滤

  • InstanceID:

    WAF实例ID,不传则不过滤

  • MetricName:

    五个值可选:



5977
5978
5979
# File 'lib/v20180125/models.rb', line 5977

def Domain
  @Domain
end

#EditionObject

access-峰值qps down-下行峰值带宽 up-上行峰值带宽 attack-Web攻击总数 cc-CC攻击总数趋势图

Parameters:

  • FromTime:

    查询起始时间

  • ToTime:

    查询结束时间

  • Domain:

    需要查询的域名,当前用户所有域名可以不传

  • Edition:

    只有两个值有效,sparta-waf,clb-waf,不传则不过滤

  • InstanceID:

    WAF实例ID,不传则不过滤

  • MetricName:

    五个值可选:



5977
5978
5979
# File 'lib/v20180125/models.rb', line 5977

def Edition
  @Edition
end

#FromTimeObject

access-峰值qps down-下行峰值带宽 up-上行峰值带宽 attack-Web攻击总数 cc-CC攻击总数趋势图

Parameters:

  • FromTime:

    查询起始时间

  • ToTime:

    查询结束时间

  • Domain:

    需要查询的域名,当前用户所有域名可以不传

  • Edition:

    只有两个值有效,sparta-waf,clb-waf,不传则不过滤

  • InstanceID:

    WAF实例ID,不传则不过滤

  • MetricName:

    五个值可选:



5977
5978
5979
# File 'lib/v20180125/models.rb', line 5977

def FromTime
  @FromTime
end

#InstanceIDObject

access-峰值qps down-下行峰值带宽 up-上行峰值带宽 attack-Web攻击总数 cc-CC攻击总数趋势图

Parameters:

  • FromTime:

    查询起始时间

  • ToTime:

    查询结束时间

  • Domain:

    需要查询的域名,当前用户所有域名可以不传

  • Edition:

    只有两个值有效,sparta-waf,clb-waf,不传则不过滤

  • InstanceID:

    WAF实例ID,不传则不过滤

  • MetricName:

    五个值可选:



5977
5978
5979
# File 'lib/v20180125/models.rb', line 5977

def InstanceID
  @InstanceID
end

#MetricNameObject

access-峰值qps down-下行峰值带宽 up-上行峰值带宽 attack-Web攻击总数 cc-CC攻击总数趋势图

Parameters:

  • FromTime:

    查询起始时间

  • ToTime:

    查询结束时间

  • Domain:

    需要查询的域名,当前用户所有域名可以不传

  • Edition:

    只有两个值有效,sparta-waf,clb-waf,不传则不过滤

  • InstanceID:

    WAF实例ID,不传则不过滤

  • MetricName:

    五个值可选:



5977
5978
5979
# File 'lib/v20180125/models.rb', line 5977

def MetricName
  @MetricName
end

#ToTimeObject

access-峰值qps down-下行峰值带宽 up-上行峰值带宽 attack-Web攻击总数 cc-CC攻击总数趋势图

Parameters:

  • FromTime:

    查询起始时间

  • ToTime:

    查询结束时间

  • Domain:

    需要查询的域名,当前用户所有域名可以不传

  • Edition:

    只有两个值有效,sparta-waf,clb-waf,不传则不过滤

  • InstanceID:

    WAF实例ID,不传则不过滤

  • MetricName:

    五个值可选:



5977
5978
5979
# File 'lib/v20180125/models.rb', line 5977

def ToTime
  @ToTime
end

Instance Method Details

#deserialize(params) ⇒ Object



5988
5989
5990
5991
5992
5993
5994
5995
# File 'lib/v20180125/models.rb', line 5988

def deserialize(params)
  @FromTime = params['FromTime']
  @ToTime = params['ToTime']
  @Domain = params['Domain']
  @Edition = params['Edition']
  @InstanceID = params['InstanceID']
  @MetricName = params['MetricName']
end