Class: TencentCloud::Cvm::V20170312::InternetAccessible

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

Overview

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(internetchargetype = nil, internetmaxbandwidthout = nil, publicipassigned = nil, bandwidthpackageid = nil, internetserviceprovider = nil, ipv4addresstype = nil, ipv6addresstype = nil, antiddospackageid = nil) ⇒ InternetAccessible

Returns a new instance of InternetAccessible.



5780
5781
5782
5783
5784
5785
5786
5787
5788
5789
# File 'lib/v20170312/models.rb', line 5780

def initialize(internetchargetype=nil, internetmaxbandwidthout=nil, publicipassigned=nil, bandwidthpackageid=nil, internetserviceprovider=nil, ipv4addresstype=nil, ipv6addresstype=nil, antiddospackageid=nil)
  @InternetChargeType = internetchargetype
  @InternetMaxBandwidthOut = internetmaxbandwidthout
  @PublicIpAssigned = publicipassigned
  @BandwidthPackageId = bandwidthpackageid
  @InternetServiceProvider = internetserviceprovider
  @IPv4AddressType = ipv4addresstype
  @IPv6AddressType = ipv6addresstype
  @AntiDDoSPackageId = antiddospackageid
end

Instance Attribute Details

#AntiDDoSPackageId ⇒ Object

此功能仅部分地区灰度开放,如需使用请提交工单咨询

Parameters:

  • AntiDDoSPackageId: —

    高防包唯一ID,申请高防IP时,该字段必传。



5778
5779
5780
# File 'lib/v20170312/models.rb', line 5778

def AntiDDoSPackageId
  @AntiDDoSPackageId
end

#BandwidthPackageId ⇒ Object

此功能仅部分地区灰度开放,如需使用请提交工单咨询

Parameters:

  • AntiDDoSPackageId: —

    高防包唯一ID,申请高防IP时,该字段必传。



5778
5779
5780
# File 'lib/v20170312/models.rb', line 5778

def BandwidthPackageId
  @BandwidthPackageId
end

#InternetChargeType ⇒ Object

此功能仅部分地区灰度开放,如需使用请提交工单咨询

Parameters:

  • AntiDDoSPackageId: —

    高防包唯一ID,申请高防IP时,该字段必传。



5778
5779
5780
# File 'lib/v20170312/models.rb', line 5778

def InternetChargeType
  @InternetChargeType
end

#InternetMaxBandwidthOut ⇒ Object

此功能仅部分地区灰度开放,如需使用请提交工单咨询

Parameters:

  • AntiDDoSPackageId: —

    高防包唯一ID,申请高防IP时,该字段必传。



5778
5779
5780
# File 'lib/v20170312/models.rb', line 5778

def InternetMaxBandwidthOut
  @InternetMaxBandwidthOut
end

#InternetServiceProvider ⇒ Object

此功能仅部分地区灰度开放,如需使用请提交工单咨询

Parameters:

  • AntiDDoSPackageId: —

    高防包唯一ID,申请高防IP时,该字段必传。



5778
5779
5780
# File 'lib/v20170312/models.rb', line 5778

def InternetServiceProvider
  @InternetServiceProvider
end

#IPv4AddressType ⇒ Object

此功能仅部分地区灰度开放,如需使用请提交工单咨询

Parameters:

  • AntiDDoSPackageId: —

    高防包唯一ID,申请高防IP时,该字段必传。



5778
5779
5780
# File 'lib/v20170312/models.rb', line 5778

def IPv4AddressType
  @IPv4AddressType
end

#IPv6AddressType ⇒ Object

此功能仅部分地区灰度开放,如需使用请提交工单咨询

Parameters:

  • AntiDDoSPackageId: —

    高防包唯一ID,申请高防IP时,该字段必传。



5778
5779
5780
# File 'lib/v20170312/models.rb', line 5778

def IPv6AddressType
  @IPv6AddressType
end

#PublicIpAssigned ⇒ Object

此功能仅部分地区灰度开放,如需使用请提交工单咨询

Parameters:

  • AntiDDoSPackageId: —

    高防包唯一ID,申请高防IP时,该字段必传。



5778
5779
5780
# File 'lib/v20170312/models.rb', line 5778

def PublicIpAssigned
  @PublicIpAssigned
end

Instance Method Details

#deserialize(params) ⇒ Object



5791
5792
5793
5794
5795
5796
5797
5798
5799
5800
# File 'lib/v20170312/models.rb', line 5791

def deserialize(params)
  @InternetChargeType = params['InternetChargeType']
  @InternetMaxBandwidthOut = params['InternetMaxBandwidthOut']
  @PublicIpAssigned = params['PublicIpAssigned']
  @BandwidthPackageId = params['BandwidthPackageId']
  @InternetServiceProvider = params['InternetServiceProvider']
  @IPv4AddressType = params['IPv4AddressType']
  @IPv6AddressType = params['IPv6AddressType']
  @AntiDDoSPackageId = params['AntiDDoSPackageId']
end