Class: TencentCloud::Antiddos::V20200309::EnterprisePackageConfig
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Antiddos::V20200309::EnterprisePackageConfig
- Defined in:
- lib/v20200309/models.rb
Overview
"Region": "ap-guangzhou",
"ProtectIpCount": 1,
"BasicProtectBandwidth": 300,
"Bandwidth": 100,
"ElasticProtectBandwidth": 0,
"ElasticBandwidthFlag": true
Instance Attribute Summary collapse
-
#Bandwidth ⇒ Object
默认为0 默认为false.
-
#BasicProtectBandwidth ⇒ Object
默认为0 默认为false.
-
#ElasticBandwidthFlag ⇒ Object
默认为0 默认为false.
-
#ElasticProtectBandwidth ⇒ Object
默认为0 默认为false.
-
#ProtectIpCount ⇒ Object
默认为0 默认为false.
-
#Region ⇒ Object
默认为0 默认为false.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(region = nil, protectipcount = nil, basicprotectbandwidth = nil, bandwidth = nil, elasticprotectbandwidth = nil, elasticbandwidthflag = nil) ⇒ EnterprisePackageConfig
constructor
A new instance of EnterprisePackageConfig.
Constructor Details
#initialize(region = nil, protectipcount = nil, basicprotectbandwidth = nil, bandwidth = nil, elasticprotectbandwidth = nil, elasticbandwidthflag = nil) ⇒ EnterprisePackageConfig
Returns a new instance of EnterprisePackageConfig.
6372 6373 6374 6375 6376 6377 6378 6379 |
# File 'lib/v20200309/models.rb', line 6372 def initialize(region=nil, protectipcount=nil, basicprotectbandwidth=nil, bandwidth=nil, elasticprotectbandwidth=nil, elasticbandwidthflag=nil) @Region = region @ProtectIpCount = protectipcount @BasicProtectBandwidth = basicprotectbandwidth @Bandwidth = bandwidth @ElasticProtectBandwidth = elasticprotectbandwidth @ElasticBandwidthFlag = elasticbandwidthflag end |
Instance Attribute Details
#Bandwidth ⇒ Object
默认为0 默认为false
6370 6371 6372 |
# File 'lib/v20200309/models.rb', line 6370 def Bandwidth @Bandwidth end |
#BasicProtectBandwidth ⇒ Object
默认为0 默认为false
6370 6371 6372 |
# File 'lib/v20200309/models.rb', line 6370 def BasicProtectBandwidth @BasicProtectBandwidth end |
#ElasticBandwidthFlag ⇒ Object
默认为0 默认为false
6370 6371 6372 |
# File 'lib/v20200309/models.rb', line 6370 def ElasticBandwidthFlag @ElasticBandwidthFlag end |
#ElasticProtectBandwidth ⇒ Object
默认为0 默认为false
6370 6371 6372 |
# File 'lib/v20200309/models.rb', line 6370 def ElasticProtectBandwidth @ElasticProtectBandwidth end |
#ProtectIpCount ⇒ Object
默认为0 默认为false
6370 6371 6372 |
# File 'lib/v20200309/models.rb', line 6370 def ProtectIpCount @ProtectIpCount end |
#Region ⇒ Object
默认为0 默认为false
6370 6371 6372 |
# File 'lib/v20200309/models.rb', line 6370 def Region @Region end |
Instance Method Details
#deserialize(params) ⇒ Object
6381 6382 6383 6384 6385 6386 6387 6388 |
# File 'lib/v20200309/models.rb', line 6381 def deserialize(params) @Region = params['Region'] @ProtectIpCount = params['ProtectIpCount'] @BasicProtectBandwidth = params['BasicProtectBandwidth'] @Bandwidth = params['Bandwidth'] @ElasticProtectBandwidth = params['ElasticProtectBandwidth'] @ElasticBandwidthFlag = params['ElasticBandwidthFlag'] end |