Class: TencentCloud::Cbs::V20170312::CreateDisksRequest
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cbs::V20170312::CreateDisksRequest
- Defined in:
- lib/v20170312/models.rb
Overview
CreateDisks请求参数结构体
Instance Attribute Summary collapse
- #AutoMountConfiguration ⇒ Object
- #BurstPerformance ⇒ Object
- #ClientToken ⇒ Object
- #DeleteSnapshot ⇒ Object
- #DiskBackupQuota ⇒ Object
- #DiskChargePrepaid ⇒ Object
- #DiskChargeType ⇒ Object
- #DiskCount ⇒ Object
- #DiskName ⇒ Object
- #DiskSize ⇒ Object
- #DiskType ⇒ Object
- #Encrypt ⇒ Object
- #EncryptType ⇒ Object
- #KmsKeyId ⇒ Object
- #Placement ⇒ Object
- #Shareable ⇒ Object
- #SnapshotId ⇒ Object
- #Tags ⇒ Object
- #ThroughputPerformance ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(placement = nil, diskchargetype = nil, disktype = nil, diskname = nil, tags = nil, snapshotid = nil, diskcount = nil, throughputperformance = nil, kmskeyid = nil, disksize = nil, shareable = nil, clienttoken = nil, encrypt = nil, diskchargeprepaid = nil, deletesnapshot = nil, automountconfiguration = nil, diskbackupquota = nil, burstperformance = nil, encrypttype = nil) ⇒ CreateDisksRequest
constructor
A new instance of CreateDisksRequest.
Constructor Details
#initialize(placement = nil, diskchargetype = nil, disktype = nil, diskname = nil, tags = nil, snapshotid = nil, diskcount = nil, throughputperformance = nil, kmskeyid = nil, disksize = nil, shareable = nil, clienttoken = nil, encrypt = nil, diskchargeprepaid = nil, deletesnapshot = nil, automountconfiguration = nil, diskbackupquota = nil, burstperformance = nil, encrypttype = nil) ⇒ CreateDisksRequest
Returns a new instance of CreateDisksRequest.
767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 |
# File 'lib/v20170312/models.rb', line 767 def initialize(placement=nil, diskchargetype=nil, disktype=nil, diskname=nil, =nil, snapshotid=nil, diskcount=nil, throughputperformance=nil, kmskeyid=nil, disksize=nil, shareable=nil, clienttoken=nil, encrypt=nil, diskchargeprepaid=nil, deletesnapshot=nil, automountconfiguration=nil, diskbackupquota=nil, burstperformance=nil, encrypttype=nil) @Placement = placement @DiskChargeType = diskchargetype @DiskType = disktype @DiskName = diskname @Tags = @SnapshotId = snapshotid @DiskCount = diskcount @ThroughputPerformance = throughputperformance @KmsKeyId = kmskeyid @DiskSize = disksize @Shareable = shareable @ClientToken = clienttoken @Encrypt = encrypt @DiskChargePrepaid = diskchargeprepaid @DeleteSnapshot = deletesnapshot @AutoMountConfiguration = automountconfiguration @DiskBackupQuota = diskbackupquota @BurstPerformance = burstperformance @EncryptType = encrypttype end |
Instance Attribute Details
#AutoMountConfiguration ⇒ Object
765 766 767 |
# File 'lib/v20170312/models.rb', line 765 def AutoMountConfiguration @AutoMountConfiguration end |
#BurstPerformance ⇒ Object
765 766 767 |
# File 'lib/v20170312/models.rb', line 765 def BurstPerformance @BurstPerformance end |
#ClientToken ⇒ Object
765 766 767 |
# File 'lib/v20170312/models.rb', line 765 def ClientToken @ClientToken end |
#DeleteSnapshot ⇒ Object
765 766 767 |
# File 'lib/v20170312/models.rb', line 765 def DeleteSnapshot @DeleteSnapshot end |
#DiskBackupQuota ⇒ Object
765 766 767 |
# File 'lib/v20170312/models.rb', line 765 def DiskBackupQuota @DiskBackupQuota end |
#DiskChargePrepaid ⇒ Object
765 766 767 |
# File 'lib/v20170312/models.rb', line 765 def DiskChargePrepaid @DiskChargePrepaid end |
#DiskChargeType ⇒ Object
765 766 767 |
# File 'lib/v20170312/models.rb', line 765 def DiskChargeType @DiskChargeType end |
#DiskCount ⇒ Object
765 766 767 |
# File 'lib/v20170312/models.rb', line 765 def DiskCount @DiskCount end |
#DiskName ⇒ Object
765 766 767 |
# File 'lib/v20170312/models.rb', line 765 def DiskName @DiskName end |
#DiskSize ⇒ Object
765 766 767 |
# File 'lib/v20170312/models.rb', line 765 def DiskSize @DiskSize end |
#DiskType ⇒ Object
765 766 767 |
# File 'lib/v20170312/models.rb', line 765 def DiskType @DiskType end |
#Encrypt ⇒ Object
765 766 767 |
# File 'lib/v20170312/models.rb', line 765 def Encrypt @Encrypt end |
#EncryptType ⇒ Object
765 766 767 |
# File 'lib/v20170312/models.rb', line 765 def EncryptType @EncryptType end |
#KmsKeyId ⇒ Object
765 766 767 |
# File 'lib/v20170312/models.rb', line 765 def KmsKeyId @KmsKeyId end |
#Placement ⇒ Object
765 766 767 |
# File 'lib/v20170312/models.rb', line 765 def Placement @Placement end |
#Shareable ⇒ Object
765 766 767 |
# File 'lib/v20170312/models.rb', line 765 def Shareable @Shareable end |
#SnapshotId ⇒ Object
765 766 767 |
# File 'lib/v20170312/models.rb', line 765 def SnapshotId @SnapshotId end |
#Tags ⇒ Object
765 766 767 |
# File 'lib/v20170312/models.rb', line 765 def Tags @Tags end |
#ThroughputPerformance ⇒ Object
765 766 767 |
# File 'lib/v20170312/models.rb', line 765 def ThroughputPerformance @ThroughputPerformance end |
Instance Method Details
#deserialize(params) ⇒ Object
789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 |
# File 'lib/v20170312/models.rb', line 789 def deserialize(params) unless params['Placement'].nil? @Placement = Placement.new @Placement.deserialize(params['Placement']) end @DiskChargeType = params['DiskChargeType'] @DiskType = params['DiskType'] @DiskName = params['DiskName'] unless params['Tags'].nil? @Tags = [] params['Tags'].each do |i| tag_tmp = Tag.new tag_tmp.deserialize(i) @Tags << tag_tmp end end @SnapshotId = params['SnapshotId'] @DiskCount = params['DiskCount'] @ThroughputPerformance = params['ThroughputPerformance'] @KmsKeyId = params['KmsKeyId'] @DiskSize = params['DiskSize'] @Shareable = params['Shareable'] @ClientToken = params['ClientToken'] @Encrypt = params['Encrypt'] unless params['DiskChargePrepaid'].nil? @DiskChargePrepaid = DiskChargePrepaid.new @DiskChargePrepaid.deserialize(params['DiskChargePrepaid']) end @DeleteSnapshot = params['DeleteSnapshot'] unless params['AutoMountConfiguration'].nil? @AutoMountConfiguration = AutoMountConfiguration.new @AutoMountConfiguration.deserialize(params['AutoMountConfiguration']) end @DiskBackupQuota = params['DiskBackupQuota'] @BurstPerformance = params['BurstPerformance'] @EncryptType = params['EncryptType'] end |