Class: TencentCloud::Cbs::V20170312::ModifyDiskExtraPerformanceRequest

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

Overview

ModifyDiskExtraPerformance请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(throughputperformance = nil, diskid = nil) ⇒ ModifyDiskExtraPerformanceRequest

Returns a new instance of ModifyDiskExtraPerformanceRequest.



2763
2764
2765
2766
# File 'lib/v20170312/models.rb', line 2763

def initialize(throughputperformance=nil, diskid=nil)
  @ThroughputPerformance = throughputperformance
  @DiskId = diskid
end

Instance Attribute Details

#DiskIdObject

Parameters:

  • ThroughputPerformance:

    额外购买的云硬盘性能值,单位MiB/s。

  • DiskId:

    需要购买额外性能值的云硬盘ID,可通过(/document/product/362/16315)接口查询。仅大小超过460GiB的增强型SSD(CLOUD_HSSD)和极速型SSD(CLOUD_TSSD)云硬盘才支持购买额外性能。



2761
2762
2763
# File 'lib/v20170312/models.rb', line 2761

def DiskId
  @DiskId
end

#ThroughputPerformanceObject

Parameters:

  • ThroughputPerformance:

    额外购买的云硬盘性能值,单位MiB/s。

  • DiskId:

    需要购买额外性能值的云硬盘ID,可通过(/document/product/362/16315)接口查询。仅大小超过460GiB的增强型SSD(CLOUD_HSSD)和极速型SSD(CLOUD_TSSD)云硬盘才支持购买额外性能。



2761
2762
2763
# File 'lib/v20170312/models.rb', line 2761

def ThroughputPerformance
  @ThroughputPerformance
end

Instance Method Details

#deserialize(params) ⇒ Object



2768
2769
2770
2771
# File 'lib/v20170312/models.rb', line 2768

def deserialize(params)
  @ThroughputPerformance = params['ThroughputPerformance']
  @DiskId = params['DiskId']
end