Class: TencentCloud::Thpc::V20230321::SpaceDataDisk
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Thpc::V20230321::SpaceDataDisk
- Defined in:
- lib/v20230321/models.rb
Overview
工作空间数据盘配置
Instance Attribute Summary collapse
-
#BurstPerformance ⇒ 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(disktype = nil, diskid = nil, disksize = nil, deletewithinstance = nil, snapshotid = nil, encrypt = nil, kmskeyid = nil, throughputperformance = nil, burstperformance = nil) ⇒ SpaceDataDisk
constructor
A new instance of SpaceDataDisk.
Constructor Details
#initialize(disktype = nil, diskid = nil, disksize = nil, deletewithinstance = nil, snapshotid = nil, encrypt = nil, kmskeyid = nil, throughputperformance = nil, burstperformance = nil) ⇒ SpaceDataDisk
Returns a new instance of SpaceDataDisk.
3266 3267 3268 3269 3270 3271 3272 3273 3274 3275 3276 |
# File 'lib/v20230321/models.rb', line 3266 def initialize(disktype=nil, diskid=nil, disksize=nil, deletewithinstance=nil, snapshotid=nil, encrypt=nil, kmskeyid=nil, throughputperformance=nil, burstperformance=nil) @DiskType = disktype @DiskId = diskid @DiskSize = disksize @DeleteWithInstance = deletewithinstance @SnapshotId = snapshotid @Encrypt = encrypt @KmsKeyId = kmskeyid @ThroughputPerformance = throughputperformance @BurstPerformance = burstperformance end |
Instance Attribute Details
#BurstPerformance ⇒ Object
注:内测中。 注意:此字段可能返回 null,表示取不到有效值。
3264 3265 3266 |
# File 'lib/v20230321/models.rb', line 3264 def BurstPerformance @BurstPerformance end |
#DeleteWithInstance ⇒ Object
注:内测中。 注意:此字段可能返回 null,表示取不到有效值。
3264 3265 3266 |
# File 'lib/v20230321/models.rb', line 3264 def DeleteWithInstance @DeleteWithInstance end |
#DiskId ⇒ Object
注:内测中。 注意:此字段可能返回 null,表示取不到有效值。
3264 3265 3266 |
# File 'lib/v20230321/models.rb', line 3264 def DiskId @DiskId end |
#DiskSize ⇒ Object
注:内测中。 注意:此字段可能返回 null,表示取不到有效值。
3264 3265 3266 |
# File 'lib/v20230321/models.rb', line 3264 def DiskSize @DiskSize end |
#DiskType ⇒ Object
注:内测中。 注意:此字段可能返回 null,表示取不到有效值。
3264 3265 3266 |
# File 'lib/v20230321/models.rb', line 3264 def DiskType @DiskType end |
#Encrypt ⇒ Object
注:内测中。 注意:此字段可能返回 null,表示取不到有效值。
3264 3265 3266 |
# File 'lib/v20230321/models.rb', line 3264 def Encrypt @Encrypt end |
#KmsKeyId ⇒ Object
注:内测中。 注意:此字段可能返回 null,表示取不到有效值。
3264 3265 3266 |
# File 'lib/v20230321/models.rb', line 3264 def KmsKeyId @KmsKeyId end |
#SnapshotId ⇒ Object
注:内测中。 注意:此字段可能返回 null,表示取不到有效值。
3264 3265 3266 |
# File 'lib/v20230321/models.rb', line 3264 def SnapshotId @SnapshotId end |
#ThroughputPerformance ⇒ Object
注:内测中。 注意:此字段可能返回 null,表示取不到有效值。
3264 3265 3266 |
# File 'lib/v20230321/models.rb', line 3264 def ThroughputPerformance @ThroughputPerformance end |
Instance Method Details
#deserialize(params) ⇒ Object
3278 3279 3280 3281 3282 3283 3284 3285 3286 3287 3288 |
# File 'lib/v20230321/models.rb', line 3278 def deserialize(params) @DiskType = params['DiskType'] @DiskId = params['DiskId'] @DiskSize = params['DiskSize'] @DeleteWithInstance = params['DeleteWithInstance'] @SnapshotId = params['SnapshotId'] @Encrypt = params['Encrypt'] @KmsKeyId = params['KmsKeyId'] @ThroughputPerformance = params['ThroughputPerformance'] @BurstPerformance = params['BurstPerformance'] end |