lib/v20170312/models.rb in tencentcloud-sdk-cbs-3.0.559 vs lib/v20170312/models.rb in tencentcloud-sdk-cbs-3.0.560
- old
+ new
@@ -754,10 +754,11 @@
end
# CreateSnapshot返回参数结构体
class CreateSnapshotResponse < TencentCloud::Common::AbstractModel
# @param SnapshotId: 新创建的快照ID。
+ # 注意:此字段可能返回 null,表示取不到有效值。
# @type SnapshotId: String
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :SnapshotId, :RequestId
@@ -1775,14 +1776,17 @@
# 注意:此字段可能返回 null,表示取不到有效值。
# @type LastAttachInsId: String
# @param ErrorPrompt: 云硬盘最后一次操作错误提示
# 注意:此字段可能返回 null,表示取不到有效值。
# @type ErrorPrompt: String
+ # @param BurstPerformance: 云盘是否开启性能突发
+ # 注意:此字段可能返回 null,表示取不到有效值。
+ # @type BurstPerformance: Boolean
- attr_accessor :DeleteWithInstance, :RenewFlag, :DiskType, :DiskState, :SnapshotCount, :AutoRenewFlagError, :Rollbacking, :InstanceIdList, :Encrypt, :DiskName, :BackupDisk, :Tags, :InstanceId, :AttachMode, :AutoSnapshotPolicyIds, :ThroughputPerformance, :Migrating, :DiskId, :SnapshotSize, :Placement, :IsReturnable, :DeadlineTime, :Attached, :DiskSize, :MigratePercent, :DiskUsage, :DiskChargeType, :Portable, :SnapshotAbility, :DeadlineError, :RollbackPercent, :DifferDaysOfDeadline, :ReturnFailCode, :Shareable, :CreateTime, :DeleteSnapshot, :DiskBackupQuota, :DiskBackupCount, :InstanceType, :LastAttachInsId, :ErrorPrompt
+ attr_accessor :DeleteWithInstance, :RenewFlag, :DiskType, :DiskState, :SnapshotCount, :AutoRenewFlagError, :Rollbacking, :InstanceIdList, :Encrypt, :DiskName, :BackupDisk, :Tags, :InstanceId, :AttachMode, :AutoSnapshotPolicyIds, :ThroughputPerformance, :Migrating, :DiskId, :SnapshotSize, :Placement, :IsReturnable, :DeadlineTime, :Attached, :DiskSize, :MigratePercent, :DiskUsage, :DiskChargeType, :Portable, :SnapshotAbility, :DeadlineError, :RollbackPercent, :DifferDaysOfDeadline, :ReturnFailCode, :Shareable, :CreateTime, :DeleteSnapshot, :DiskBackupQuota, :DiskBackupCount, :InstanceType, :LastAttachInsId, :ErrorPrompt, :BurstPerformance
- def initialize(deletewithinstance=nil, renewflag=nil, disktype=nil, diskstate=nil, snapshotcount=nil, autorenewflagerror=nil, rollbacking=nil, instanceidlist=nil, encrypt=nil, diskname=nil, backupdisk=nil, tags=nil, instanceid=nil, attachmode=nil, autosnapshotpolicyids=nil, throughputperformance=nil, migrating=nil, diskid=nil, snapshotsize=nil, placement=nil, isreturnable=nil, deadlinetime=nil, attached=nil, disksize=nil, migratepercent=nil, diskusage=nil, diskchargetype=nil, portable=nil, snapshotability=nil, deadlineerror=nil, rollbackpercent=nil, differdaysofdeadline=nil, returnfailcode=nil, shareable=nil, createtime=nil, deletesnapshot=nil, diskbackupquota=nil, diskbackupcount=nil, instancetype=nil, lastattachinsid=nil, errorprompt=nil)
+ def initialize(deletewithinstance=nil, renewflag=nil, disktype=nil, diskstate=nil, snapshotcount=nil, autorenewflagerror=nil, rollbacking=nil, instanceidlist=nil, encrypt=nil, diskname=nil, backupdisk=nil, tags=nil, instanceid=nil, attachmode=nil, autosnapshotpolicyids=nil, throughputperformance=nil, migrating=nil, diskid=nil, snapshotsize=nil, placement=nil, isreturnable=nil, deadlinetime=nil, attached=nil, disksize=nil, migratepercent=nil, diskusage=nil, diskchargetype=nil, portable=nil, snapshotability=nil, deadlineerror=nil, rollbackpercent=nil, differdaysofdeadline=nil, returnfailcode=nil, shareable=nil, createtime=nil, deletesnapshot=nil, diskbackupquota=nil, diskbackupcount=nil, instancetype=nil, lastattachinsid=nil, errorprompt=nil, burstperformance=nil)
@DeleteWithInstance = deletewithinstance
@RenewFlag = renewflag
@DiskType = disktype
@DiskState = diskstate
@SnapshotCount = snapshotcount
@@ -1820,10 +1824,11 @@
@DiskBackupQuota = diskbackupquota
@DiskBackupCount = diskbackupcount
@InstanceType = instancetype
@LastAttachInsId = lastattachinsid
@ErrorPrompt = errorprompt
+ @BurstPerformance = burstperformance
end
def deserialize(params)
@DeleteWithInstance = params['DeleteWithInstance']
@RenewFlag = params['RenewFlag']
@@ -1874,9 +1879,10 @@
@DiskBackupQuota = params['DiskBackupQuota']
@DiskBackupCount = params['DiskBackupCount']
@InstanceType = params['InstanceType']
@LastAttachInsId = params['LastAttachInsId']
@ErrorPrompt = params['ErrorPrompt']
+ @BurstPerformance = params['BurstPerformance']
end
end
# 云硬盘备份点。
class DiskBackup < TencentCloud::Common::AbstractModel