Class: TencentCloud::Antiddos::V20200309::StandardPackageConfig

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

Overview

"Region": "ap-guangzhou",
"ProtectIpCount": 1,
"Bandwidth": 100,
"ElasticBandwidthFlag": true

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(region = nil, protectipcount = nil, bandwidth = nil, elasticbandwidthflag = nil) ⇒ StandardPackageConfig

Returns a new instance of StandardPackageConfig.



8553
8554
8555
8556
8557
8558
# File 'lib/v20200309/models.rb', line 8553

def initialize(region=nil, protectipcount=nil, bandwidth=nil, elasticbandwidthflag=nil)
  @Region = region
  @ProtectIpCount = protectipcount
  @Bandwidth = bandwidth
  @ElasticBandwidthFlag = elasticbandwidthflag
end

Instance Attribute Details

#BandwidthObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。默认为false 不开启注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Region:

    高防包购买地域

  • ProtectIpCount:

    防护IP数量

  • Bandwidth:

    防护业务带宽 50Mbps

  • ElasticBandwidthFlag:

    是否开启弹性防护带宽 true 开启



8551
8552
8553
# File 'lib/v20200309/models.rb', line 8551

def Bandwidth
  @Bandwidth
end

#ElasticBandwidthFlagObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。默认为false 不开启注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Region:

    高防包购买地域

  • ProtectIpCount:

    防护IP数量

  • Bandwidth:

    防护业务带宽 50Mbps

  • ElasticBandwidthFlag:

    是否开启弹性防护带宽 true 开启



8551
8552
8553
# File 'lib/v20200309/models.rb', line 8551

def ElasticBandwidthFlag
  @ElasticBandwidthFlag
end

#ProtectIpCountObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。默认为false 不开启注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Region:

    高防包购买地域

  • ProtectIpCount:

    防护IP数量

  • Bandwidth:

    防护业务带宽 50Mbps

  • ElasticBandwidthFlag:

    是否开启弹性防护带宽 true 开启



8551
8552
8553
# File 'lib/v20200309/models.rb', line 8551

def ProtectIpCount
  @ProtectIpCount
end

#RegionObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。默认为false 不开启注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Region:

    高防包购买地域

  • ProtectIpCount:

    防护IP数量

  • Bandwidth:

    防护业务带宽 50Mbps

  • ElasticBandwidthFlag:

    是否开启弹性防护带宽 true 开启



8551
8552
8553
# File 'lib/v20200309/models.rb', line 8551

def Region
  @Region
end

Instance Method Details

#deserialize(params) ⇒ Object



8560
8561
8562
8563
8564
8565
# File 'lib/v20200309/models.rb', line 8560

def deserialize(params)
  @Region = params['Region']
  @ProtectIpCount = params['ProtectIpCount']
  @Bandwidth = params['Bandwidth']
  @ElasticBandwidthFlag = params['ElasticBandwidthFlag']
end