Class: TencentCloud::Cvm::V20170312::DataDisk

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(disksize = nil, disktype = nil, diskid = nil, deletewithinstance = nil, snapshotid = nil, encrypt = nil, kmskeyid = nil, throughputperformance = nil, cdcid = nil, burstperformance = nil) ⇒ DataDisk

Returns a new instance of DataDisk.



1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
# File 'lib/v20170312/models.rb', line 1316

def initialize(disksize=nil, disktype=nil, diskid=nil, deletewithinstance=nil, snapshotid=nil, encrypt=nil, kmskeyid=nil, throughputperformance=nil, cdcid=nil, burstperformance=nil)
  @DiskSize = disksize
  @DiskType = disktype
  @DiskId = diskid
  @DeleteWithInstance = deletewithinstance
  @SnapshotId = snapshotid
  @Encrypt = encrypt
  @KmsKeyId = kmskeyid
  @ThroughputPerformance = throughputperformance
  @CdcId = cdcid
  @BurstPerformance = burstperformance
end

Instance Attribute Details

#BurstPerformanceObject

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



1314
1315
1316
# File 'lib/v20170312/models.rb', line 1314

def BurstPerformance
  @BurstPerformance
end

#CdcIdObject

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



1314
1315
1316
# File 'lib/v20170312/models.rb', line 1314

def CdcId
  @CdcId
end

#DeleteWithInstanceObject

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



1314
1315
1316
# File 'lib/v20170312/models.rb', line 1314

def DeleteWithInstance
  @DeleteWithInstance
end

#DiskIdObject

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



1314
1315
1316
# File 'lib/v20170312/models.rb', line 1314

def DiskId
  @DiskId
end

#DiskSizeObject

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



1314
1315
1316
# File 'lib/v20170312/models.rb', line 1314

def DiskSize
  @DiskSize
end

#DiskTypeObject

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



1314
1315
1316
# File 'lib/v20170312/models.rb', line 1314

def DiskType
  @DiskType
end

#EncryptObject

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



1314
1315
1316
# File 'lib/v20170312/models.rb', line 1314

def Encrypt
  @Encrypt
end

#KmsKeyIdObject

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



1314
1315
1316
# File 'lib/v20170312/models.rb', line 1314

def KmsKeyId
  @KmsKeyId
end

#SnapshotIdObject

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



1314
1315
1316
# File 'lib/v20170312/models.rb', line 1314

def SnapshotId
  @SnapshotId
end

#ThroughputPerformanceObject

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



1314
1315
1316
# File 'lib/v20170312/models.rb', line 1314

def ThroughputPerformance
  @ThroughputPerformance
end

Instance Method Details

#deserialize(params) ⇒ Object



1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
# File 'lib/v20170312/models.rb', line 1329

def deserialize(params)
  @DiskSize = params['DiskSize']
  @DiskType = params['DiskType']
  @DiskId = params['DiskId']
  @DeleteWithInstance = params['DeleteWithInstance']
  @SnapshotId = params['SnapshotId']
  @Encrypt = params['Encrypt']
  @KmsKeyId = params['KmsKeyId']
  @ThroughputPerformance = params['ThroughputPerformance']
  @CdcId = params['CdcId']
  @BurstPerformance = params['BurstPerformance']
end