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.



2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
# File 'lib/v20230321/models.rb', line 2707

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,表示取不到有效值。



2705
2706
2707
# File 'lib/v20230321/models.rb', line 2705

def BurstPerformance
  @BurstPerformance
end

#DeleteWithInstanceObject

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



2705
2706
2707
# File 'lib/v20230321/models.rb', line 2705

def DeleteWithInstance
  @DeleteWithInstance
end

#DiskIdObject

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



2705
2706
2707
# File 'lib/v20230321/models.rb', line 2705

def DiskId
  @DiskId
end

#DiskSizeObject

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



2705
2706
2707
# File 'lib/v20230321/models.rb', line 2705

def DiskSize
  @DiskSize
end

#DiskTypeObject

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



2705
2706
2707
# File 'lib/v20230321/models.rb', line 2705

def DiskType
  @DiskType
end

#EncryptObject

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



2705
2706
2707
# File 'lib/v20230321/models.rb', line 2705

def Encrypt
  @Encrypt
end

#KmsKeyIdObject

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



2705
2706
2707
# File 'lib/v20230321/models.rb', line 2705

def KmsKeyId
  @KmsKeyId
end

#SnapshotIdObject

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



2705
2706
2707
# File 'lib/v20230321/models.rb', line 2705

def SnapshotId
  @SnapshotId
end

#ThroughputPerformanceObject

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



2705
2706
2707
# File 'lib/v20230321/models.rb', line 2705

def ThroughputPerformance
  @ThroughputPerformance
end

Instance Method Details

#deserialize(params) ⇒ Object



2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
# File 'lib/v20230321/models.rb', line 2719

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