tencentcloud-sdk-thpc 3.0.897 → 3.0.898

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e55f3dfd7f86090e37199645a81bb372ab8f8d3a
4
- data.tar.gz: d67969d206f643c612a42571c71f0ead0488be29
3
+ metadata.gz: b8be6eba88b5f60ef18186bfeb9cc256b0533e73
4
+ data.tar.gz: 6529b049a0f36daee42f6c60036d49bd90c68308
5
5
  SHA512:
6
- metadata.gz: 4b7f525d1f303380b74869fc4ad744dc53f446d671b64581bd3c3d407498531312c18d97dcf434ce63dca1ee6abcf199ffacdb528086770fea3aaf9fbc6290ab
7
- data.tar.gz: 64f3e27c3619d4d94eb737f8b5e44c030b7cc44df916ba2d109dfc02ff9a449afca41a1785c4ae76784c83201b99b25ef58fb44972aa4550467b40fcf292ecc7
6
+ metadata.gz: 210ffbea64cd0de9868cd628203f9f62aeef4ca973840e0350aac8e67d1c7e40d8b403530fddf6d3117fa23671a56e887c37af099200012c7c8ba4e8ad96d3d1
7
+ data.tar.gz: 402151bf315545bf97ac4e139deb1102b40fc4e43a18e77815dcb25121e5a48bbf5ee2f23910562744107927dded45ff64a1db981e199929ad9fd73ab2984254
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.897
1
+ 3.0.898
@@ -153,6 +153,30 @@ module TencentCloud
153
153
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
154
154
  end
155
155
 
156
+ # 本接口 (CreateWorkspaces) 用于创建工作空间。
157
+
158
+ # @param request: Request instance for CreateWorkspaces.
159
+ # @type request: :class:`Tencentcloud::thpc::V20230321::CreateWorkspacesRequest`
160
+ # @rtype: :class:`Tencentcloud::thpc::V20230321::CreateWorkspacesResponse`
161
+ def CreateWorkspaces(request)
162
+ body = send_request('CreateWorkspaces', request.serialize)
163
+ response = JSON.parse(body)
164
+ if response['Response'].key?('Error') == false
165
+ model = CreateWorkspacesResponse.new
166
+ model.deserialize(response['Response'])
167
+ model
168
+ else
169
+ code = response['Response']['Error']['Code']
170
+ message = response['Response']['Error']['Message']
171
+ reqid = response['Response']['RequestId']
172
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
173
+ end
174
+ rescue TencentCloud::Common::TencentCloudSDKException => e
175
+ raise e
176
+ rescue StandardError => e
177
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
178
+ end
179
+
156
180
  # 本接口(DeleteCluster)用于删除一个指定的集群。
157
181
 
158
182
  # @param request: Request instance for DeleteCluster.
@@ -769,6 +769,161 @@ module TencentCloud
769
769
  end
770
770
  end
771
771
 
772
+ # CreateWorkspaces请求参数结构体
773
+ class CreateWorkspacesRequest < TencentCloud::Common::AbstractModel
774
+ # @param ClientToken: 用于保证请求幂等性的字符串。该字符串由客户生成,需保证不同请求之间唯一,最大值不超过64个ASCII字符。若不指定该参数,则无法保证请求的幂等性。
775
+ # @type ClientToken: String
776
+ # @param Placement: 实例所在的位置。通过该参数可以指定实例所属可用区,所属项目,所属宿主机(在专用宿主机上创建子机时指定)等属性。 <b>注:如果您不指定LaunchTemplate参数,则Placement为必选参数。若同时传递Placement和LaunchTemplate,则默认覆盖LaunchTemplate中对应的Placement的值。</b>
777
+ # @type Placement: :class:`Tencentcloud::Thpc.v20230321.models.SpacePlacement`
778
+ # @param SpaceChargePrepaid: 预付费模式,即包年包月相关参数设置。通过该参数可以指定包年包月实例的购买时长、是否设置自动续费等属性。若指定实例的付费模式为预付费则该参数必传。
779
+ # @type SpaceChargePrepaid: :class:`Tencentcloud::Thpc.v20230321.models.SpaceChargePrepaid`
780
+ # @param SpaceChargeType: 工作空间计费类型
781
+ # @type SpaceChargeType: String
782
+ # @param SpaceType: 工作空间规格
783
+ # @type SpaceType: String
784
+ # @param ImageId: 镜像ID
785
+ # @type ImageId: String
786
+ # @param SystemDisk: 工作空间系统盘信息
787
+ # @type SystemDisk: :class:`Tencentcloud::Thpc.v20230321.models.SpaceSystemDisk`
788
+ # @param DataDisks: 工作空间数据盘信息
789
+ # @type DataDisks: Array
790
+ # @param VirtualPrivateCloud: 私有网络相关信息
791
+ # @type VirtualPrivateCloud: :class:`Tencentcloud::Thpc.v20230321.models.SpaceVirtualPrivateCloud`
792
+ # @param InternetAccessible: 公网带宽相关信息设置
793
+ # @type InternetAccessible: :class:`Tencentcloud::Thpc.v20230321.models.SpaceInternetAccessible`
794
+ # @param SpaceCount: 购买工作空间数量
795
+ # @type SpaceCount: Integer
796
+ # @param SpaceName: 工作空间显示名称
797
+ # @type SpaceName: String
798
+ # @param LoginSettings: 工作空间登陆设置
799
+ # @type LoginSettings: :class:`Tencentcloud::Thpc.v20230321.models.LoginSettings`
800
+ # @param SecurityGroupIds: 工作空间所属安全组
801
+ # @type SecurityGroupIds: Array
802
+ # @param EnhancedService: 增强服务
803
+ # @type EnhancedService: :class:`Tencentcloud::Thpc.v20230321.models.EnhancedService`
804
+ # @param DryRun: 是否只预检此次请求
805
+ # @type DryRun: Boolean
806
+ # @param UserData: 提供给工作空间使用的用户数据
807
+ # @type UserData: String
808
+ # @param DisasterRecoverGroupIds: 置放群组id
809
+ # @type DisasterRecoverGroupIds: Array
810
+ # @param TagSpecification: 标签描述列表
811
+ # @type TagSpecification: Array
812
+ # @param HpcClusterId: 高性能计算集群ID
813
+ # @type HpcClusterId: String
814
+ # @param CamRoleName: CAM角色名称
815
+ # @type CamRoleName: String
816
+ # @param HostName: 实例主机名。<br><li>点号(.)和短横线(-)不能作为 HostName 的首尾字符,不能连续使用。</li><br><li>Windows 实例:主机名名字符长度为[2, 15],允许字母(不限制大小写)、数字和短横线(-)组成,不支持点号(.),不能全是数字。</li><br><li>其他类型(Linux 等)实例:主机名字符长度为[2, 60],允许支持多个点号,点之间为一段,每段允许字母(不限制大小写)、数字和短横线(-)组成。</li><br><li>购买多台实例,如果指定模式串`{R:x}`,表示生成数字`[x, x+n-1]`,其中`n`表示购买实例的数量,例如`server{R:3}`,购买1台时,实例主机名为`server3`;购买2台时,实例主机名分别为`server3`,`server4`。支持指定多个模式串`{R:x}`。</li><br><li>购买多台实例,如果不指定模式串,则在实例主机名添加后缀`1、2...n`,其中`n`表示购买实例的数量,例如`server`,购买2台时,实例主机名分别为`server1`,`server2`。</li>
817
+ # @type HostName: String
818
+
819
+ attr_accessor :ClientToken, :Placement, :SpaceChargePrepaid, :SpaceChargeType, :SpaceType, :ImageId, :SystemDisk, :DataDisks, :VirtualPrivateCloud, :InternetAccessible, :SpaceCount, :SpaceName, :LoginSettings, :SecurityGroupIds, :EnhancedService, :DryRun, :UserData, :DisasterRecoverGroupIds, :TagSpecification, :HpcClusterId, :CamRoleName, :HostName
820
+
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, tagspecification=nil, hpcclusterid=nil, camrolename=nil, hostname=nil)
822
+ @ClientToken = clienttoken
823
+ @Placement = placement
824
+ @SpaceChargePrepaid = spacechargeprepaid
825
+ @SpaceChargeType = spacechargetype
826
+ @SpaceType = spacetype
827
+ @ImageId = imageid
828
+ @SystemDisk = systemdisk
829
+ @DataDisks = datadisks
830
+ @VirtualPrivateCloud = virtualprivatecloud
831
+ @InternetAccessible = internetaccessible
832
+ @SpaceCount = spacecount
833
+ @SpaceName = spacename
834
+ @LoginSettings = loginsettings
835
+ @SecurityGroupIds = securitygroupids
836
+ @EnhancedService = enhancedservice
837
+ @DryRun = dryrun
838
+ @UserData = userdata
839
+ @DisasterRecoverGroupIds = disasterrecovergroupids
840
+ @TagSpecification = tagspecification
841
+ @HpcClusterId = hpcclusterid
842
+ @CamRoleName = camrolename
843
+ @HostName = hostname
844
+ end
845
+
846
+ def deserialize(params)
847
+ @ClientToken = params['ClientToken']
848
+ unless params['Placement'].nil?
849
+ @Placement = SpacePlacement.new
850
+ @Placement.deserialize(params['Placement'])
851
+ end
852
+ unless params['SpaceChargePrepaid'].nil?
853
+ @SpaceChargePrepaid = SpaceChargePrepaid.new
854
+ @SpaceChargePrepaid.deserialize(params['SpaceChargePrepaid'])
855
+ end
856
+ @SpaceChargeType = params['SpaceChargeType']
857
+ @SpaceType = params['SpaceType']
858
+ @ImageId = params['ImageId']
859
+ unless params['SystemDisk'].nil?
860
+ @SystemDisk = SpaceSystemDisk.new
861
+ @SystemDisk.deserialize(params['SystemDisk'])
862
+ end
863
+ unless params['DataDisks'].nil?
864
+ @DataDisks = []
865
+ params['DataDisks'].each do |i|
866
+ spacedatadisk_tmp = SpaceDataDisk.new
867
+ spacedatadisk_tmp.deserialize(i)
868
+ @DataDisks << spacedatadisk_tmp
869
+ end
870
+ end
871
+ unless params['VirtualPrivateCloud'].nil?
872
+ @VirtualPrivateCloud = SpaceVirtualPrivateCloud.new
873
+ @VirtualPrivateCloud.deserialize(params['VirtualPrivateCloud'])
874
+ end
875
+ unless params['InternetAccessible'].nil?
876
+ @InternetAccessible = SpaceInternetAccessible.new
877
+ @InternetAccessible.deserialize(params['InternetAccessible'])
878
+ end
879
+ @SpaceCount = params['SpaceCount']
880
+ @SpaceName = params['SpaceName']
881
+ unless params['LoginSettings'].nil?
882
+ @LoginSettings = LoginSettings.new
883
+ @LoginSettings.deserialize(params['LoginSettings'])
884
+ end
885
+ @SecurityGroupIds = params['SecurityGroupIds']
886
+ unless params['EnhancedService'].nil?
887
+ @EnhancedService = EnhancedService.new
888
+ @EnhancedService.deserialize(params['EnhancedService'])
889
+ end
890
+ @DryRun = params['DryRun']
891
+ @UserData = params['UserData']
892
+ @DisasterRecoverGroupIds = params['DisasterRecoverGroupIds']
893
+ unless params['TagSpecification'].nil?
894
+ @TagSpecification = []
895
+ params['TagSpecification'].each do |i|
896
+ tagspecification_tmp = TagSpecification.new
897
+ tagspecification_tmp.deserialize(i)
898
+ @TagSpecification << tagspecification_tmp
899
+ end
900
+ end
901
+ @HpcClusterId = params['HpcClusterId']
902
+ @CamRoleName = params['CamRoleName']
903
+ @HostName = params['HostName']
904
+ end
905
+ end
906
+
907
+ # CreateWorkspaces返回参数结构体
908
+ class CreateWorkspacesResponse < TencentCloud::Common::AbstractModel
909
+ # @param SpaceIdSet: 工作空间ID
910
+ # @type SpaceIdSet: Array
911
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
912
+ # @type RequestId: String
913
+
914
+ attr_accessor :SpaceIdSet, :RequestId
915
+
916
+ def initialize(spaceidset=nil, requestid=nil)
917
+ @SpaceIdSet = spaceidset
918
+ @RequestId = requestid
919
+ end
920
+
921
+ def deserialize(params)
922
+ @SpaceIdSet = params['SpaceIdSet']
923
+ @RequestId = params['RequestId']
924
+ end
925
+ end
926
+
772
927
  # 描述了数据盘的信息
773
928
  class DataDisk < TencentCloud::Common::AbstractModel
774
929
  # @param DiskSize: 数据盘大小,单位:GB。最小调整步长为10G,不同数据盘类型取值范围不同,具体限制详见:[存储概述](https://cloud.tencent.com/document/product/213/4952)。默认值为0,表示不购买数据盘。更多限制详见产品文档。
@@ -2340,6 +2495,246 @@ module TencentCloud
2340
2495
  end
2341
2496
  end
2342
2497
 
2498
+ # 描述了工作空间的计费模式
2499
+ class SpaceChargePrepaid < TencentCloud::Common::AbstractModel
2500
+ # @param Period: 购买实例的时长,单位:月。取值范围:1, 2, 3, 12, 24, 36。默认取值为1。
2501
+ # 注意:此字段可能返回 null,表示取不到有效值。
2502
+ # @type Period: Integer
2503
+ # @param RenewFlag: 自动续费标识。取值范围:
2504
+
2505
+ # NOTIFY_AND_AUTO_RENEW:通知过期且自动续费
2506
+
2507
+ # NOTIFY_AND_MANUAL_RENEW:通知过期不自动续费
2508
+
2509
+ # DISABLE_NOTIFY_AND_MANUAL_RENEW:不通知过期不自动续费
2510
+
2511
+
2512
+ # 默认取值:NOTIFY_AND_MANUAL_RENEW。若该参数指定为NOTIFY_AND_AUTO_RENEW,在账户余额充足的情况下,实例到期后将按月自动续费。
2513
+ # 注意:此字段可能返回 null,表示取不到有效值。
2514
+ # @type RenewFlag: String
2515
+
2516
+ attr_accessor :Period, :RenewFlag
2517
+
2518
+ def initialize(period=nil, renewflag=nil)
2519
+ @Period = period
2520
+ @RenewFlag = renewflag
2521
+ end
2522
+
2523
+ def deserialize(params)
2524
+ @Period = params['Period']
2525
+ @RenewFlag = params['RenewFlag']
2526
+ end
2527
+ end
2528
+
2529
+ # 工作空间数据盘配置
2530
+ class SpaceDataDisk < TencentCloud::Common::AbstractModel
2531
+ # @param DiskType: 数据盘类型。数据盘类型限制详见[存储概述](https://cloud.tencent.com/document/product/213/4952)。取值范围:<br />
2532
+ # <li>
2533
+ # LOCAL_BASIC:本地硬盘<br />
2534
+ # <li>
2535
+ # LOCAL_SSD:本地SSD硬盘<br />
2536
+ # <li>
2537
+ # LOCAL_NVME:本地NVME硬盘,与InstanceType强相关,不支持指定<br />
2538
+ # <li>
2539
+ # LOCAL_PRO:本地HDD硬盘,与InstanceType强相关,不支持指定<br />
2540
+ # <li>
2541
+ # CLOUD_BASIC:普通云硬盘<br />
2542
+ # <li>
2543
+ # CLOUD_PREMIUM:高性能云硬盘<br />
2544
+ # <li>
2545
+ # CLOUD_SSD:SSD云硬盘<br />
2546
+ # <li>
2547
+ # CLOUD_HSSD:增强型SSD云硬盘<br />
2548
+ # <li>
2549
+ # CLOUD_TSSD:极速型SSD云硬盘<br />
2550
+ # <li>
2551
+ # CLOUD_BSSD:通用型SSD云硬盘<br /><br />默认取值:LOCAL_BASIC。<br /><br />该参数对`ResizeInstanceDisk`接口无效。
2552
+ # </li>
2553
+ # </li>
2554
+ # </li>
2555
+ # </li>
2556
+ # </li>
2557
+ # </li>
2558
+ # </li>
2559
+ # </li>
2560
+ # </li>
2561
+ # </li>
2562
+ # @type DiskType: String
2563
+ # @param DiskId: 数据盘
2564
+ # 注意:此字段可能返回 null,表示取不到有效值。
2565
+ # @type DiskId: String
2566
+ # @param DiskSize: 数据盘大小,单位:GB。最小调整步长为10G,不同数据盘类型取值范围不同,具体限制详见:[存储概述](https://cloud.tencent.com/document/product/213/4952)。默认值为0,表示不购买数据盘。更多限制详见产品文档。
2567
+ # @type DiskSize: Integer
2568
+ # @param DeleteWithInstance: 数据盘是否随子机销毁。取值范围:
2569
+ # <li>TRUE:子机销毁时,销毁数据盘,只支持按小时后付费云盘</li>
2570
+ # <li>
2571
+ # FALSE:子机销毁时,保留数据盘<br />
2572
+ # 默认取值:TRUE<br />
2573
+ # 该参数目前仅用于 `RunInstances` 接口。
2574
+ # </li>
2575
+ # 注意:此字段可能返回 null,表示取不到有效值。
2576
+ # @type DeleteWithInstance: Boolean
2577
+ # @param SnapshotId: 数据盘快照ID。选择的数据盘快照大小需小于数据盘大小。
2578
+ # 注意:此字段可能返回 null,表示取不到有效值。
2579
+ # @type SnapshotId: String
2580
+ # @param Encrypt: 数据盘是加密。取值范围:
2581
+ # <li>true:加密</li>
2582
+ # <li>
2583
+ # false:不加密<br />
2584
+ # 默认取值:false<br />
2585
+ # 该参数目前仅用于 `RunInstances` 接口。
2586
+ # </li>
2587
+ # 注意:此字段可能返回 null,表示取不到有效值。
2588
+ # @type Encrypt: Boolean
2589
+ # @param KmsKeyId: 自定义CMK对应的ID,取值为UUID或者类似kms-abcd1234。用于加密云盘。
2590
+
2591
+ # 该参数目前仅用于 `CreateWorkspaces` 接口。
2592
+ # 注意:此字段可能返回 null,表示取不到有效值。
2593
+ # @type KmsKeyId: String
2594
+ # @param ThroughputPerformance: 云硬盘性能,单位:MB/s
2595
+ # 注意:此字段可能返回 null,表示取不到有效值。
2596
+ # @type ThroughputPerformance: Integer
2597
+ # @param BurstPerformance: 突发性能
2598
+
2599
+ # 注:内测中。
2600
+ # 注意:此字段可能返回 null,表示取不到有效值。
2601
+ # @type BurstPerformance: Boolean
2602
+
2603
+ attr_accessor :DiskType, :DiskId, :DiskSize, :DeleteWithInstance, :SnapshotId, :Encrypt, :KmsKeyId, :ThroughputPerformance, :BurstPerformance
2604
+
2605
+ def initialize(disktype=nil, diskid=nil, disksize=nil, deletewithinstance=nil, snapshotid=nil, encrypt=nil, kmskeyid=nil, throughputperformance=nil, burstperformance=nil)
2606
+ @DiskType = disktype
2607
+ @DiskId = diskid
2608
+ @DiskSize = disksize
2609
+ @DeleteWithInstance = deletewithinstance
2610
+ @SnapshotId = snapshotid
2611
+ @Encrypt = encrypt
2612
+ @KmsKeyId = kmskeyid
2613
+ @ThroughputPerformance = throughputperformance
2614
+ @BurstPerformance = burstperformance
2615
+ end
2616
+
2617
+ def deserialize(params)
2618
+ @DiskType = params['DiskType']
2619
+ @DiskId = params['DiskId']
2620
+ @DiskSize = params['DiskSize']
2621
+ @DeleteWithInstance = params['DeleteWithInstance']
2622
+ @SnapshotId = params['SnapshotId']
2623
+ @Encrypt = params['Encrypt']
2624
+ @KmsKeyId = params['KmsKeyId']
2625
+ @ThroughputPerformance = params['ThroughputPerformance']
2626
+ @BurstPerformance = params['BurstPerformance']
2627
+ end
2628
+ end
2629
+
2630
+ # 描述了工作空间的公网可访问性,声明了工作空间的公网使用计费模式,最大带宽等
2631
+ class SpaceInternetAccessible < TencentCloud::Common::AbstractModel
2632
+ # @param InternetChargeType: 网络计费类型
2633
+ # 注意:此字段可能返回 null,表示取不到有效值。
2634
+ # @type InternetChargeType: String
2635
+ # @param InternetMaxBandwidthOut: 公网出带宽上限,默认为0
2636
+ # 注意:此字段可能返回 null,表示取不到有效值。
2637
+ # @type InternetMaxBandwidthOut: Integer
2638
+ # @param PublicIpAssigned: 是否分配公网IP
2639
+ # 注意:此字段可能返回 null,表示取不到有效值。
2640
+ # @type PublicIpAssigned: Boolean
2641
+ # @param BandwidthPackageId: 带宽包ID
2642
+ # 注意:此字段可能返回 null,表示取不到有效值。
2643
+ # @type BandwidthPackageId: String
2644
+
2645
+ attr_accessor :InternetChargeType, :InternetMaxBandwidthOut, :PublicIpAssigned, :BandwidthPackageId
2646
+
2647
+ def initialize(internetchargetype=nil, internetmaxbandwidthout=nil, publicipassigned=nil, bandwidthpackageid=nil)
2648
+ @InternetChargeType = internetchargetype
2649
+ @InternetMaxBandwidthOut = internetmaxbandwidthout
2650
+ @PublicIpAssigned = publicipassigned
2651
+ @BandwidthPackageId = bandwidthpackageid
2652
+ end
2653
+
2654
+ def deserialize(params)
2655
+ @InternetChargeType = params['InternetChargeType']
2656
+ @InternetMaxBandwidthOut = params['InternetMaxBandwidthOut']
2657
+ @PublicIpAssigned = params['PublicIpAssigned']
2658
+ @BandwidthPackageId = params['BandwidthPackageId']
2659
+ end
2660
+ end
2661
+
2662
+ # 描述了实例的抽象位置,包括其所在的可用区,所属的项目
2663
+ class SpacePlacement < TencentCloud::Common::AbstractModel
2664
+ # @param Zone: 可用区
2665
+ # 注意:此字段可能返回 null,表示取不到有效值。
2666
+ # @type Zone: String
2667
+ # @param ProjectId: 项目,默认是0
2668
+ # 注意:此字段可能返回 null,表示取不到有效值。
2669
+ # @type ProjectId: Integer
2670
+
2671
+ attr_accessor :Zone, :ProjectId
2672
+
2673
+ def initialize(zone=nil, projectid=nil)
2674
+ @Zone = zone
2675
+ @ProjectId = projectid
2676
+ end
2677
+
2678
+ def deserialize(params)
2679
+ @Zone = params['Zone']
2680
+ @ProjectId = params['ProjectId']
2681
+ end
2682
+ end
2683
+
2684
+ # 工作空间系统盘配置
2685
+ class SpaceSystemDisk < TencentCloud::Common::AbstractModel
2686
+ # @param DiskType: 系统盘类型。系统盘类型限制详见[存储概述](https://cloud.tencent.com/document/product/213/4952)。取值范围:<ul><li>LOCAL_BASIC:本地硬盘</li><li>LOCAL_SSD:本地SSD硬盘</li><li>CLOUD_BASIC:普通云硬盘</li><li>CLOUD_SSD:SSD云硬盘</li><li>CLOUD_PREMIUM:高性能云硬盘</li><li>CLOUD_BSSD:通用性SSD云硬盘</li><li>CLOUD_HSSD:增强型SSD云硬盘</li><li>CLOUD_TSSD:极速型SSD云硬盘</li></ul>默认取值:当前有库存的硬盘类型。
2687
+ # 注意:此字段可能返回 null,表示取不到有效值。
2688
+ # @type DiskType: String
2689
+ # @param DiskSize: 系统盘大小,单位:GB。默认值为 50
2690
+ # 注意:此字段可能返回 null,表示取不到有效值。
2691
+ # @type DiskSize: Integer
2692
+
2693
+ attr_accessor :DiskType, :DiskSize
2694
+
2695
+ def initialize(disktype=nil, disksize=nil)
2696
+ @DiskType = disktype
2697
+ @DiskSize = disksize
2698
+ end
2699
+
2700
+ def deserialize(params)
2701
+ @DiskType = params['DiskType']
2702
+ @DiskSize = params['DiskSize']
2703
+ end
2704
+ end
2705
+
2706
+ # 描述了工作空间VPC相关信息,包括子网,IP信息等
2707
+ class SpaceVirtualPrivateCloud < TencentCloud::Common::AbstractModel
2708
+ # @param VpcId: 私有网络ID
2709
+ # @type VpcId: String
2710
+ # @param SubnetId: 私有网络子网ID
2711
+ # @type SubnetId: String
2712
+ # @param AsVpcGateway: 是否用作公网网关
2713
+ # @type AsVpcGateway: Boolean
2714
+ # @param PrivateIpAddresses: 私有网络子网 IP 数组
2715
+ # @type PrivateIpAddresses: Array
2716
+ # @param Ipv6AddressCount: 为弹性网卡指定随机生成
2717
+ # @type Ipv6AddressCount: Integer
2718
+
2719
+ attr_accessor :VpcId, :SubnetId, :AsVpcGateway, :PrivateIpAddresses, :Ipv6AddressCount
2720
+
2721
+ def initialize(vpcid=nil, subnetid=nil, asvpcgateway=nil, privateipaddresses=nil, ipv6addresscount=nil)
2722
+ @VpcId = vpcid
2723
+ @SubnetId = subnetid
2724
+ @AsVpcGateway = asvpcgateway
2725
+ @PrivateIpAddresses = privateipaddresses
2726
+ @Ipv6AddressCount = ipv6addresscount
2727
+ end
2728
+
2729
+ def deserialize(params)
2730
+ @VpcId = params['VpcId']
2731
+ @SubnetId = params['SubnetId']
2732
+ @AsVpcGateway = params['AsVpcGateway']
2733
+ @PrivateIpAddresses = params['PrivateIpAddresses']
2734
+ @Ipv6AddressCount = params['Ipv6AddressCount']
2735
+ end
2736
+ end
2737
+
2343
2738
  # 描述集群文件系统选项
2344
2739
  class StorageOption < TencentCloud::Common::AbstractModel
2345
2740
  # @param CFSOptions: 集群挂载CFS文件系统选项。
@@ -2477,6 +2872,35 @@ module TencentCloud
2477
2872
  end
2478
2873
  end
2479
2874
 
2875
+ # 创建资源工作空间时同时绑定的标签对说明
2876
+ class TagSpecification < TencentCloud::Common::AbstractModel
2877
+ # @param ResourceType: 标签绑定的资源类型
2878
+ # 注意:此字段可能返回 null,表示取不到有效值。
2879
+ # @type ResourceType: String
2880
+ # @param Tags: 标签对列表
2881
+ # 注意:此字段可能返回 null,表示取不到有效值。
2882
+ # @type Tags: Array
2883
+
2884
+ attr_accessor :ResourceType, :Tags
2885
+
2886
+ def initialize(resourcetype=nil, tags=nil)
2887
+ @ResourceType = resourcetype
2888
+ @Tags = tags
2889
+ end
2890
+
2891
+ def deserialize(params)
2892
+ @ResourceType = params['ResourceType']
2893
+ unless params['Tags'].nil?
2894
+ @Tags = []
2895
+ params['Tags'].each do |i|
2896
+ tag_tmp = Tag.new
2897
+ tag_tmp.deserialize(i)
2898
+ @Tags << tag_tmp
2899
+ end
2900
+ end
2901
+ end
2902
+ end
2903
+
2480
2904
  # 描述了VPC相关信息
2481
2905
  class VirtualPrivateCloud < TencentCloud::Common::AbstractModel
2482
2906
  # @param VpcId: 私有网络ID,形如`vpc-xxx`。有效的VpcId可通过登录[控制台](https://console.cloud.tencent.com/vpc/vpc?rid=1)查询;也可以调用接口 [DescribeVpcEx](/document/api/215/1372) ,从接口返回中的`unVpcId`字段获取。若在创建子机时VpcId与SubnetId同时传入`DEFAULT`,则强制使用默认vpc网络。
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-thpc
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.897
4
+ version: 3.0.898
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-09-03 00:00:00.000000000 Z
11
+ date: 2024-09-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common