Class: TencentCloud::Thpc::V20230321::SpaceDataDisk

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20230321/models.rb

Overview

工作空间数据盘配置

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#BurstPerformanceObject

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



3264
3265
3266
# File 'lib/v20230321/models.rb', line 3264

def BurstPerformance
  @BurstPerformance
end

#DeleteWithInstanceObject

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



3264
3265
3266
# File 'lib/v20230321/models.rb', line 3264

def DeleteWithInstance
  @DeleteWithInstance
end

#DiskIdObject

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



3264
3265
3266
# File 'lib/v20230321/models.rb', line 3264

def DiskId
  @DiskId
end

#DiskSizeObject

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



3264
3265
3266
# File 'lib/v20230321/models.rb', line 3264

def DiskSize
  @DiskSize
end

#DiskTypeObject

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



3264
3265
3266
# File 'lib/v20230321/models.rb', line 3264

def DiskType
  @DiskType
end

#EncryptObject

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



3264
3265
3266
# File 'lib/v20230321/models.rb', line 3264

def Encrypt
  @Encrypt
end

#KmsKeyIdObject

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



3264
3265
3266
# File 'lib/v20230321/models.rb', line 3264

def KmsKeyId
  @KmsKeyId
end

#SnapshotIdObject

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



3264
3265
3266
# File 'lib/v20230321/models.rb', line 3264

def SnapshotId
  @SnapshotId
end

#ThroughputPerformanceObject

注:内测中。 注意:此字段可能返回 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