Class: TencentCloud::Antiddos::V20200309::BGPIPInstanceSpecification

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

Overview

高防IP资产实例的规格信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(protectbandwidth = nil, protectccqps = nil, normalbandwidth = nil, forwardruleslimit = nil, autorenewflag = nil, line = nil, elasticbandwidth = nil) ⇒ BGPIPInstanceSpecification

Returns a new instance of BGPIPInstanceSpecification.



404
405
406
407
408
409
410
411
412
# File 'lib/v20200309/models.rb', line 404

def initialize(protectbandwidth=nil, protectccqps=nil, normalbandwidth=nil, forwardruleslimit=nil, autorenewflag=nil, line=nil, elasticbandwidth=nil)
  @ProtectBandwidth = protectbandwidth
  @ProtectCCQPS = protectccqps
  @NormalBandwidth = normalbandwidth
  @ForwardRulesLimit = forwardruleslimit
  @AutoRenewFlag = autorenewflag
  @Line = line
  @ElasticBandwidth = elasticbandwidth
end

Instance Attribute Details

#AutoRenewFlagObject

0:没有开启自动续费1:开启了自动续费] 1:BGP线路2:电信3:联通4:移动99:第三方合作线路]

Parameters:

  • ProtectBandwidth:

    保底防护峰值,单位Mbps

  • ProtectCCQPS:

    CC防护峰值,单位qps

  • NormalBandwidth:

    正常业务带宽,单位Mbps

  • ForwardRulesLimit:

    转发规则数,单位条

  • AutoRenewFlag:

    自动续费状态,取值[

  • Line:

    高防IP线路,取值为[

  • ElasticBandwidth:

    弹性防护峰值,单位Mbps



402
403
404
# File 'lib/v20200309/models.rb', line 402

def AutoRenewFlag
  @AutoRenewFlag
end

#ElasticBandwidthObject

0:没有开启自动续费1:开启了自动续费] 1:BGP线路2:电信3:联通4:移动99:第三方合作线路]

Parameters:

  • ProtectBandwidth:

    保底防护峰值,单位Mbps

  • ProtectCCQPS:

    CC防护峰值,单位qps

  • NormalBandwidth:

    正常业务带宽,单位Mbps

  • ForwardRulesLimit:

    转发规则数,单位条

  • AutoRenewFlag:

    自动续费状态,取值[

  • Line:

    高防IP线路,取值为[

  • ElasticBandwidth:

    弹性防护峰值,单位Mbps



402
403
404
# File 'lib/v20200309/models.rb', line 402

def ElasticBandwidth
  @ElasticBandwidth
end

#ForwardRulesLimitObject

0:没有开启自动续费1:开启了自动续费] 1:BGP线路2:电信3:联通4:移动99:第三方合作线路]

Parameters:

  • ProtectBandwidth:

    保底防护峰值,单位Mbps

  • ProtectCCQPS:

    CC防护峰值,单位qps

  • NormalBandwidth:

    正常业务带宽,单位Mbps

  • ForwardRulesLimit:

    转发规则数,单位条

  • AutoRenewFlag:

    自动续费状态,取值[

  • Line:

    高防IP线路,取值为[

  • ElasticBandwidth:

    弹性防护峰值,单位Mbps



402
403
404
# File 'lib/v20200309/models.rb', line 402

def ForwardRulesLimit
  @ForwardRulesLimit
end

#LineObject

0:没有开启自动续费1:开启了自动续费] 1:BGP线路2:电信3:联通4:移动99:第三方合作线路]

Parameters:

  • ProtectBandwidth:

    保底防护峰值,单位Mbps

  • ProtectCCQPS:

    CC防护峰值,单位qps

  • NormalBandwidth:

    正常业务带宽,单位Mbps

  • ForwardRulesLimit:

    转发规则数,单位条

  • AutoRenewFlag:

    自动续费状态,取值[

  • Line:

    高防IP线路,取值为[

  • ElasticBandwidth:

    弹性防护峰值,单位Mbps



402
403
404
# File 'lib/v20200309/models.rb', line 402

def Line
  @Line
end

#NormalBandwidthObject

0:没有开启自动续费1:开启了自动续费] 1:BGP线路2:电信3:联通4:移动99:第三方合作线路]

Parameters:

  • ProtectBandwidth:

    保底防护峰值,单位Mbps

  • ProtectCCQPS:

    CC防护峰值,单位qps

  • NormalBandwidth:

    正常业务带宽,单位Mbps

  • ForwardRulesLimit:

    转发规则数,单位条

  • AutoRenewFlag:

    自动续费状态,取值[

  • Line:

    高防IP线路,取值为[

  • ElasticBandwidth:

    弹性防护峰值,单位Mbps



402
403
404
# File 'lib/v20200309/models.rb', line 402

def NormalBandwidth
  @NormalBandwidth
end

#ProtectBandwidthObject

0:没有开启自动续费1:开启了自动续费] 1:BGP线路2:电信3:联通4:移动99:第三方合作线路]

Parameters:

  • ProtectBandwidth:

    保底防护峰值,单位Mbps

  • ProtectCCQPS:

    CC防护峰值,单位qps

  • NormalBandwidth:

    正常业务带宽,单位Mbps

  • ForwardRulesLimit:

    转发规则数,单位条

  • AutoRenewFlag:

    自动续费状态,取值[

  • Line:

    高防IP线路,取值为[

  • ElasticBandwidth:

    弹性防护峰值,单位Mbps



402
403
404
# File 'lib/v20200309/models.rb', line 402

def ProtectBandwidth
  @ProtectBandwidth
end

#ProtectCCQPSObject

0:没有开启自动续费1:开启了自动续费] 1:BGP线路2:电信3:联通4:移动99:第三方合作线路]

Parameters:

  • ProtectBandwidth:

    保底防护峰值,单位Mbps

  • ProtectCCQPS:

    CC防护峰值,单位qps

  • NormalBandwidth:

    正常业务带宽,单位Mbps

  • ForwardRulesLimit:

    转发规则数,单位条

  • AutoRenewFlag:

    自动续费状态,取值[

  • Line:

    高防IP线路,取值为[

  • ElasticBandwidth:

    弹性防护峰值,单位Mbps



402
403
404
# File 'lib/v20200309/models.rb', line 402

def ProtectCCQPS
  @ProtectCCQPS
end

Instance Method Details

#deserialize(params) ⇒ Object



414
415
416
417
418
419
420
421
422
# File 'lib/v20200309/models.rb', line 414

def deserialize(params)
  @ProtectBandwidth = params['ProtectBandwidth']
  @ProtectCCQPS = params['ProtectCCQPS']
  @NormalBandwidth = params['NormalBandwidth']
  @ForwardRulesLimit = params['ForwardRulesLimit']
  @AutoRenewFlag = params['AutoRenewFlag']
  @Line = params['Line']
  @ElasticBandwidth = params['ElasticBandwidth']
end