Class: TencentCloud::Thpc::V20230321::InternetAccessible

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



2214
2215
2216
2217
# File 'lib/v20230321/models.rb', line 2214

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:带宽包用户 默认取值:非带宽包用户默认与子机付费类型保持一致。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • InternetChargeType:

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

  • InternetMaxBandwidthOut:

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



2212
2213
2214
# File 'lib/v20230321/models.rb', line 2212

def InternetChargeType
  @InternetChargeType
end

#InternetMaxBandwidthOutObject

BANDWIDTH_PREPAID:预付费按带宽结算 TRAFFIC_POSTPAID_BY_HOUR:流量按小时后付费 BANDWIDTH_POSTPAID_BY_HOUR:带宽按小时后付费 BANDWIDTH_PACKAGE:带宽包用户 默认取值:非带宽包用户默认与子机付费类型保持一致。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • InternetChargeType:

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

  • InternetMaxBandwidthOut:

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



2212
2213
2214
# File 'lib/v20230321/models.rb', line 2212

def InternetMaxBandwidthOut
  @InternetMaxBandwidthOut
end

Instance Method Details

#deserialize(params) ⇒ Object



2219
2220
2221
2222
# File 'lib/v20230321/models.rb', line 2219

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