lib/v20170312/models.rb in tencentcloud-sdk-cbs-3.0.481 vs lib/v20170312/models.rb in tencentcloud-sdk-cbs-3.0.482

- old
+ new

@@ -485,9 +485,49 @@ @NextTriggerTime = params['NextTriggerTime'] @RequestId = params['RequestId'] end end + # CreateDiskBackup请求参数结构体 + class CreateDiskBackupRequest < TencentCloud::Common::AbstractModel + # @param DiskId: 要创建备份点的云硬盘名称。 + # @type DiskId: String + # @param DiskBackupName: 云硬盘备份点名称。长度不能超过100个字符。 + # @type DiskBackupName: String + + attr_accessor :DiskId, :DiskBackupName + + def initialize(diskid=nil, diskbackupname=nil) + @DiskId = diskid + @DiskBackupName = diskbackupname + end + + def deserialize(params) + @DiskId = params['DiskId'] + @DiskBackupName = params['DiskBackupName'] + end + end + + # CreateDiskBackup返回参数结构体 + class CreateDiskBackupResponse < TencentCloud::Common::AbstractModel + # @param DiskBackupId: 云硬盘备份点的ID。 + # @type DiskBackupId: String + # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + # @type RequestId: String + + attr_accessor :DiskBackupId, :RequestId + + def initialize(diskbackupid=nil, requestid=nil) + @DiskBackupId = diskbackupid + @RequestId = requestid + end + + def deserialize(params) + @DiskBackupId = params['DiskBackupId'] + @RequestId = params['RequestId'] + end + end + # CreateDisks请求参数结构体 class CreateDisksRequest < TencentCloud::Common::AbstractModel # @param Placement: 实例所在的位置。通过该参数可以指定实例所属可用区,所属项目。若不指定项目,将在默认项目下进行创建。 # @type Placement: :class:`Tencentcloud::Cbs.v20170312.models.Placement` # @param DiskChargeType: 云硬盘计费类型。<br><li>PREPAID:预付费,即包年包月<br><li>POSTPAID_BY_HOUR:按小时后付费<br><li>CDCPAID:独享集群付费<br>各类型价格请参考云硬盘[价格总览](/document/product/362/2413)。