Class: TencentCloud::Cvm::V20170312::DataDisk
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cvm::V20170312::DataDisk
- Defined in:
- lib/v20170312/models.rb
Overview
描述了数据盘的信息
Instance Attribute Summary collapse
-
#BurstPerformance ⇒ Object
注:内测中。 注意:此字段可能返回 null,表示取不到有效值。.
-
#CdcId ⇒ Object
注:内测中。 注意:此字段可能返回 null,表示取不到有效值。.
-
#DeleteWithInstance ⇒ Object
注:内测中。 注意:此字段可能返回 null,表示取不到有效值。.
-
#DiskId ⇒ Object
注:内测中。 注意:此字段可能返回 null,表示取不到有效值。.
-
#DiskSize ⇒ Object
注:内测中。 注意:此字段可能返回 null,表示取不到有效值。.
-
#DiskType ⇒ Object
注:内测中。 注意:此字段可能返回 null,表示取不到有效值。.
-
#Encrypt ⇒ Object
注:内测中。 注意:此字段可能返回 null,表示取不到有效值。.
-
#KmsKeyId ⇒ Object
注:内测中。 注意:此字段可能返回 null,表示取不到有效值。.
-
#SnapshotId ⇒ Object
注:内测中。 注意:此字段可能返回 null,表示取不到有效值。.
-
#ThroughputPerformance ⇒ Object
注:内测中。 注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(disksize = nil, disktype = nil, diskid = nil, deletewithinstance = nil, snapshotid = nil, encrypt = nil, kmskeyid = nil, throughputperformance = nil, cdcid = nil, burstperformance = nil) ⇒ DataDisk
constructor
A new instance of DataDisk.
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
#BurstPerformance ⇒ Object
注:内测中。 注意:此字段可能返回 null,表示取不到有效值。
1314 1315 1316 |
# File 'lib/v20170312/models.rb', line 1314 def BurstPerformance @BurstPerformance end |
#CdcId ⇒ Object
注:内测中。 注意:此字段可能返回 null,表示取不到有效值。
1314 1315 1316 |
# File 'lib/v20170312/models.rb', line 1314 def CdcId @CdcId end |
#DeleteWithInstance ⇒ Object
注:内测中。 注意:此字段可能返回 null,表示取不到有效值。
1314 1315 1316 |
# File 'lib/v20170312/models.rb', line 1314 def DeleteWithInstance @DeleteWithInstance end |
#DiskId ⇒ Object
注:内测中。 注意:此字段可能返回 null,表示取不到有效值。
1314 1315 1316 |
# File 'lib/v20170312/models.rb', line 1314 def DiskId @DiskId end |
#DiskSize ⇒ Object
注:内测中。 注意:此字段可能返回 null,表示取不到有效值。
1314 1315 1316 |
# File 'lib/v20170312/models.rb', line 1314 def DiskSize @DiskSize end |
#DiskType ⇒ Object
注:内测中。 注意:此字段可能返回 null,表示取不到有效值。
1314 1315 1316 |
# File 'lib/v20170312/models.rb', line 1314 def DiskType @DiskType end |
#Encrypt ⇒ Object
注:内测中。 注意:此字段可能返回 null,表示取不到有效值。
1314 1315 1316 |
# File 'lib/v20170312/models.rb', line 1314 def Encrypt @Encrypt end |
#KmsKeyId ⇒ Object
注:内测中。 注意:此字段可能返回 null,表示取不到有效值。
1314 1315 1316 |
# File 'lib/v20170312/models.rb', line 1314 def KmsKeyId @KmsKeyId end |
#SnapshotId ⇒ Object
注:内测中。 注意:此字段可能返回 null,表示取不到有效值。
1314 1315 1316 |
# File 'lib/v20170312/models.rb', line 1314 def SnapshotId @SnapshotId end |
#ThroughputPerformance ⇒ Object
注:内测中。 注意:此字段可能返回 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 |