Class: TencentCloud::Thpc::V20211109::InternetAccessible

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

Overview

描述了实例的公网可访问性,声明了实例的公网使用计费模式,最大带宽等

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(internetchargetype = nil, internetmaxbandwidthout = nil) ⇒ InternetAccessible

Returns a new instance of InternetAccessible.



593
594
595
596
# File 'lib/v20211109/models.rb', line 593

def initialize(internetchargetype=nil, internetmaxbandwidthout=nil)
  @InternetChargeType = internetchargetype
  @InternetMaxBandwidthOut = internetmaxbandwidthout
end

Instance Attribute Details

#InternetChargeTypeObject

BANDWIDTH_PREPAID:预付费按带宽结算 TRAFFIC_POSTPAID_BY_HOUR:流量按小时后付费 BANDWIDTH_POSTPAID_BY_HOUR:带宽按小时后付费 BANDWIDTH_PACKAGE:带宽包用户 默认取值:非带宽包用户默认与子机付费类型保持一致。

Parameters:

  • InternetChargeType:

    网络计费类型。取值范围:

  • InternetMaxBandwidthOut:

    公网出带宽上限,单位:Mbps。默认值:0Mbps。不同机型带宽上限范围不一致,具体限制详见购买网络带宽。



591
592
593
# File 'lib/v20211109/models.rb', line 591

def InternetChargeType
  @InternetChargeType
end

#InternetMaxBandwidthOutObject

BANDWIDTH_PREPAID:预付费按带宽结算 TRAFFIC_POSTPAID_BY_HOUR:流量按小时后付费 BANDWIDTH_POSTPAID_BY_HOUR:带宽按小时后付费 BANDWIDTH_PACKAGE:带宽包用户 默认取值:非带宽包用户默认与子机付费类型保持一致。

Parameters:

  • InternetChargeType:

    网络计费类型。取值范围:

  • InternetMaxBandwidthOut:

    公网出带宽上限,单位:Mbps。默认值:0Mbps。不同机型带宽上限范围不一致,具体限制详见购买网络带宽。



591
592
593
# File 'lib/v20211109/models.rb', line 591

def InternetMaxBandwidthOut
  @InternetMaxBandwidthOut
end

Instance Method Details

#deserialize(params) ⇒ Object



598
599
600
601
# File 'lib/v20211109/models.rb', line 598

def deserialize(params)
  @InternetChargeType = params['InternetChargeType']
  @InternetMaxBandwidthOut = params['InternetMaxBandwidthOut']
end