Class: TencentCloud::Thpc::V20230321::CreateWorkspacesRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Thpc::V20230321::CreateWorkspacesRequest
- Defined in:
- lib/v20230321/models.rb
Overview
CreateWorkspaces请求参数结构体
Instance Attribute Summary collapse
- #CamRoleName ⇒ Object
- #ClientToken ⇒ Object
- #DataDisks ⇒ Object
- #DisasterRecoverGroupIds ⇒ Object
- #DryRun ⇒ Object
- #EnhancedService ⇒ Object
- #HostName ⇒ Object
- #HpcClusterId ⇒ Object
- #ImageId ⇒ Object
- #InternetAccessible ⇒ Object
- #LoginSettings ⇒ Object
- #Placement ⇒ Object
- #SecurityGroupIds ⇒ Object
- #SpaceChargePrepaid ⇒ Object
- #SpaceChargeType ⇒ Object
- #SpaceCount ⇒ Object
- #SpaceName ⇒ Object
- #SpaceType ⇒ Object
- #SystemDisk ⇒ Object
- #TagSpecification ⇒ Object
- #UserData ⇒ Object
- #VirtualPrivateCloud ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(clienttoken = nil, placement = nil, spacechargeprepaid = nil, spacechargetype = nil, spacetype = nil, imageid = nil, systemdisk = nil, datadisks = nil, virtualprivatecloud = nil, internetaccessible = nil, spacecount = nil, spacename = nil, loginsettings = nil, securitygroupids = nil, enhancedservice = nil, dryrun = nil, userdata = nil, disasterrecovergroupids = nil, tagspecification = nil, hpcclusterid = nil, camrolename = nil, hostname = nil) ⇒ CreateWorkspacesRequest
constructor
A new instance of CreateWorkspacesRequest.
Constructor Details
#initialize(clienttoken = nil, placement = nil, spacechargeprepaid = nil, spacechargetype = nil, spacetype = nil, imageid = nil, systemdisk = nil, datadisks = nil, virtualprivatecloud = nil, internetaccessible = nil, spacecount = nil, spacename = nil, loginsettings = nil, securitygroupids = nil, enhancedservice = nil, dryrun = nil, userdata = nil, disasterrecovergroupids = nil, tagspecification = nil, hpcclusterid = nil, camrolename = nil, hostname = nil) ⇒ CreateWorkspacesRequest
Returns a new instance of CreateWorkspacesRequest.
821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 |
# File 'lib/v20230321/models.rb', line 821 def initialize(clienttoken=nil, placement=nil, spacechargeprepaid=nil, spacechargetype=nil, spacetype=nil, imageid=nil, systemdisk=nil, datadisks=nil, virtualprivatecloud=nil, internetaccessible=nil, spacecount=nil, spacename=nil, loginsettings=nil, securitygroupids=nil, enhancedservice=nil, dryrun=nil, userdata=nil, disasterrecovergroupids=nil, =nil, hpcclusterid=nil, camrolename=nil, hostname=nil) @ClientToken = clienttoken @Placement = placement @SpaceChargePrepaid = spacechargeprepaid @SpaceChargeType = spacechargetype @SpaceType = spacetype @ImageId = imageid @SystemDisk = systemdisk @DataDisks = datadisks @VirtualPrivateCloud = virtualprivatecloud @InternetAccessible = internetaccessible @SpaceCount = spacecount @SpaceName = spacename @LoginSettings = loginsettings @SecurityGroupIds = securitygroupids @EnhancedService = enhancedservice @DryRun = dryrun @UserData = userdata @DisasterRecoverGroupIds = disasterrecovergroupids @TagSpecification = @HpcClusterId = hpcclusterid @CamRoleName = camrolename @HostName = hostname end |
Instance Attribute Details
#CamRoleName ⇒ Object
819 820 821 |
# File 'lib/v20230321/models.rb', line 819 def CamRoleName @CamRoleName end |
#ClientToken ⇒ Object
819 820 821 |
# File 'lib/v20230321/models.rb', line 819 def ClientToken @ClientToken end |
#DataDisks ⇒ Object
819 820 821 |
# File 'lib/v20230321/models.rb', line 819 def DataDisks @DataDisks end |
#DisasterRecoverGroupIds ⇒ Object
819 820 821 |
# File 'lib/v20230321/models.rb', line 819 def DisasterRecoverGroupIds @DisasterRecoverGroupIds end |
#DryRun ⇒ Object
819 820 821 |
# File 'lib/v20230321/models.rb', line 819 def DryRun @DryRun end |
#EnhancedService ⇒ Object
819 820 821 |
# File 'lib/v20230321/models.rb', line 819 def EnhancedService @EnhancedService end |
#HostName ⇒ Object
819 820 821 |
# File 'lib/v20230321/models.rb', line 819 def HostName @HostName end |
#HpcClusterId ⇒ Object
819 820 821 |
# File 'lib/v20230321/models.rb', line 819 def HpcClusterId @HpcClusterId end |
#ImageId ⇒ Object
819 820 821 |
# File 'lib/v20230321/models.rb', line 819 def ImageId @ImageId end |
#InternetAccessible ⇒ Object
819 820 821 |
# File 'lib/v20230321/models.rb', line 819 def InternetAccessible @InternetAccessible end |
#LoginSettings ⇒ Object
819 820 821 |
# File 'lib/v20230321/models.rb', line 819 def LoginSettings @LoginSettings end |
#Placement ⇒ Object
819 820 821 |
# File 'lib/v20230321/models.rb', line 819 def Placement @Placement end |
#SecurityGroupIds ⇒ Object
819 820 821 |
# File 'lib/v20230321/models.rb', line 819 def SecurityGroupIds @SecurityGroupIds end |
#SpaceChargePrepaid ⇒ Object
819 820 821 |
# File 'lib/v20230321/models.rb', line 819 def SpaceChargePrepaid @SpaceChargePrepaid end |
#SpaceChargeType ⇒ Object
819 820 821 |
# File 'lib/v20230321/models.rb', line 819 def SpaceChargeType @SpaceChargeType end |
#SpaceCount ⇒ Object
819 820 821 |
# File 'lib/v20230321/models.rb', line 819 def SpaceCount @SpaceCount end |
#SpaceName ⇒ Object
819 820 821 |
# File 'lib/v20230321/models.rb', line 819 def SpaceName @SpaceName end |
#SpaceType ⇒ Object
819 820 821 |
# File 'lib/v20230321/models.rb', line 819 def SpaceType @SpaceType end |
#SystemDisk ⇒ Object
819 820 821 |
# File 'lib/v20230321/models.rb', line 819 def SystemDisk @SystemDisk end |
#TagSpecification ⇒ Object
819 820 821 |
# File 'lib/v20230321/models.rb', line 819 def TagSpecification @TagSpecification end |
#UserData ⇒ Object
819 820 821 |
# File 'lib/v20230321/models.rb', line 819 def UserData @UserData end |
#VirtualPrivateCloud ⇒ Object
819 820 821 |
# File 'lib/v20230321/models.rb', line 819 def VirtualPrivateCloud @VirtualPrivateCloud end |
Instance Method Details
#deserialize(params) ⇒ Object
846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 |
# File 'lib/v20230321/models.rb', line 846 def deserialize(params) @ClientToken = params['ClientToken'] unless params['Placement'].nil? @Placement = SpacePlacement.new @Placement.deserialize(params['Placement']) end unless params['SpaceChargePrepaid'].nil? @SpaceChargePrepaid = SpaceChargePrepaid.new @SpaceChargePrepaid.deserialize(params['SpaceChargePrepaid']) end @SpaceChargeType = params['SpaceChargeType'] @SpaceType = params['SpaceType'] @ImageId = params['ImageId'] unless params['SystemDisk'].nil? @SystemDisk = SpaceSystemDisk.new @SystemDisk.deserialize(params['SystemDisk']) end unless params['DataDisks'].nil? @DataDisks = [] params['DataDisks'].each do |i| spacedatadisk_tmp = SpaceDataDisk.new spacedatadisk_tmp.deserialize(i) @DataDisks << spacedatadisk_tmp end end unless params['VirtualPrivateCloud'].nil? @VirtualPrivateCloud = SpaceVirtualPrivateCloud.new @VirtualPrivateCloud.deserialize(params['VirtualPrivateCloud']) end unless params['InternetAccessible'].nil? @InternetAccessible = SpaceInternetAccessible.new @InternetAccessible.deserialize(params['InternetAccessible']) end @SpaceCount = params['SpaceCount'] @SpaceName = params['SpaceName'] unless params['LoginSettings'].nil? @LoginSettings = LoginSettings.new @LoginSettings.deserialize(params['LoginSettings']) end @SecurityGroupIds = params['SecurityGroupIds'] unless params['EnhancedService'].nil? @EnhancedService = EnhancedService.new @EnhancedService.deserialize(params['EnhancedService']) end @DryRun = params['DryRun'] @UserData = params['UserData'] @DisasterRecoverGroupIds = params['DisasterRecoverGroupIds'] unless params['TagSpecification'].nil? @TagSpecification = [] params['TagSpecification'].each do |i| = TagSpecification.new .deserialize(i) @TagSpecification << end end @HpcClusterId = params['HpcClusterId'] @CamRoleName = params['CamRoleName'] @HostName = params['HostName'] end |