Class: TencentCloud::Thpc::V20230321::SpaceInternetAccessible

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, publicipassigned = nil, bandwidthpackageid = nil) ⇒ SpaceInternetAccessible

Returns a new instance of SpaceInternetAccessible.



3388
3389
3390
3391
3392
3393
# File 'lib/v20230321/models.rb', line 3388

def initialize(internetchargetype=nil, internetmaxbandwidthout=nil, publicipassigned=nil, bandwidthpackageid=nil)
  @InternetChargeType = internetchargetype
  @InternetMaxBandwidthOut = internetmaxbandwidthout
  @PublicIpAssigned = publicipassigned
  @BandwidthPackageId = bandwidthpackageid
end

Instance Attribute Details

#BandwidthPackageIdObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • InternetChargeType:

    网络计费类型

  • InternetMaxBandwidthOut:

    公网出带宽上限,默认为0

  • PublicIpAssigned:

    是否分配公网IP

  • BandwidthPackageId:

    带宽包ID



3386
3387
3388
# File 'lib/v20230321/models.rb', line 3386

def BandwidthPackageId
  @BandwidthPackageId
end

#InternetChargeTypeObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • InternetChargeType:

    网络计费类型

  • InternetMaxBandwidthOut:

    公网出带宽上限,默认为0

  • PublicIpAssigned:

    是否分配公网IP

  • BandwidthPackageId:

    带宽包ID



3386
3387
3388
# File 'lib/v20230321/models.rb', line 3386

def InternetChargeType
  @InternetChargeType
end

#InternetMaxBandwidthOutObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • InternetChargeType:

    网络计费类型

  • InternetMaxBandwidthOut:

    公网出带宽上限,默认为0

  • PublicIpAssigned:

    是否分配公网IP

  • BandwidthPackageId:

    带宽包ID



3386
3387
3388
# File 'lib/v20230321/models.rb', line 3386

def InternetMaxBandwidthOut
  @InternetMaxBandwidthOut
end

#PublicIpAssignedObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • InternetChargeType:

    网络计费类型

  • InternetMaxBandwidthOut:

    公网出带宽上限,默认为0

  • PublicIpAssigned:

    是否分配公网IP

  • BandwidthPackageId:

    带宽包ID



3386
3387
3388
# File 'lib/v20230321/models.rb', line 3386

def PublicIpAssigned
  @PublicIpAssigned
end

Instance Method Details

#deserialize(params) ⇒ Object



3395
3396
3397
3398
3399
3400
# File 'lib/v20230321/models.rb', line 3395

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