Class: TencentCloud::Thpc::V20220401::InternetAccessible

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20220401/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.



1452
1453
1454
1455
# File 'lib/v20220401/models.rb', line 1452

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。不同机型带宽上限范围不一致,具体限制详见购买网络带宽。



1450
1451
1452
# File 'lib/v20220401/models.rb', line 1450

def InternetChargeType
  @InternetChargeType
end

#InternetMaxBandwidthOutObject

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

Parameters:

  • InternetChargeType:

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

  • InternetMaxBandwidthOut:

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



1450
1451
1452
# File 'lib/v20220401/models.rb', line 1450

def InternetMaxBandwidthOut
  @InternetMaxBandwidthOut
end

Instance Method Details

#deserialize(params) ⇒ Object



1457
1458
1459
1460
# File 'lib/v20220401/models.rb', line 1457

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