Class: TencentCloud::Gaap::V20180529::AccessConfiguration

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

Overview

通道组加速地域列表,包括加速地域,以及该加速地域对应的带宽和并发配置。

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(accessregion = nil, bandwidth = nil, concurrent = nil, networktype = nil) ⇒ AccessConfiguration

Returns a new instance of AccessConfiguration.



33
34
35
36
37
38
# File 'lib/v20180529/models.rb', line 33

def initialize(accessregion=nil, bandwidth=nil, concurrent=nil, networktype=nil)
  @AccessRegion = accessregion
  @Bandwidth = bandwidth
  @Concurrent = concurrent
  @NetworkType = networktype
end

Instance Attribute Details

#AccessRegionObject

Parameters:

  • AccessRegion:

    加速地域。

  • Bandwidth:

    通道带宽上限,单位:Mbps。

  • Concurrent:

    通道并发量上限,表示同时在线的连接数,单位:万。

  • NetworkType:

    网络类型,可取值:normal、cn2,默认值为normal



31
32
33
# File 'lib/v20180529/models.rb', line 31

def AccessRegion
  @AccessRegion
end

#BandwidthObject

Parameters:

  • AccessRegion:

    加速地域。

  • Bandwidth:

    通道带宽上限,单位:Mbps。

  • Concurrent:

    通道并发量上限,表示同时在线的连接数,单位:万。

  • NetworkType:

    网络类型,可取值:normal、cn2,默认值为normal



31
32
33
# File 'lib/v20180529/models.rb', line 31

def Bandwidth
  @Bandwidth
end

#ConcurrentObject

Parameters:

  • AccessRegion:

    加速地域。

  • Bandwidth:

    通道带宽上限,单位:Mbps。

  • Concurrent:

    通道并发量上限,表示同时在线的连接数,单位:万。

  • NetworkType:

    网络类型,可取值:normal、cn2,默认值为normal



31
32
33
# File 'lib/v20180529/models.rb', line 31

def Concurrent
  @Concurrent
end

#NetworkTypeObject

Parameters:

  • AccessRegion:

    加速地域。

  • Bandwidth:

    通道带宽上限,单位:Mbps。

  • Concurrent:

    通道并发量上限,表示同时在线的连接数,单位:万。

  • NetworkType:

    网络类型,可取值:normal、cn2,默认值为normal



31
32
33
# File 'lib/v20180529/models.rb', line 31

def NetworkType
  @NetworkType
end

Instance Method Details

#deserialize(params) ⇒ Object



40
41
42
43
44
45
# File 'lib/v20180529/models.rb', line 40

def deserialize(params)
  @AccessRegion = params['AccessRegion']
  @Bandwidth = params['Bandwidth']
  @Concurrent = params['Concurrent']
  @NetworkType = params['NetworkType']
end