tencentcloud-sdk-cvm 1.0.315 → 1.0.318
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20170312/models.rb +28 -16
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4146fb89a3bcceb475a5426da15500c3ef99203c
|
4
|
+
data.tar.gz: ae62864252a808e7f3dcb6ec27d8715197f77ac7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1e8e3db1b44f3aa4373af4d62ccfa9bb2141a863cf9b2b3f9e896a4b2ac8e552ed6f5fa76300f7d4082a6715f5a7cbc524e8c17cac82ab602cee5f874deec803
|
7
|
+
data.tar.gz: 591357fe385c462edc536acc2eab81064c1608aa1ec47a2b43d87a1e10ce332f5f2177bd158c9b4480b1889fa555f2b7bcfcb502de0f3c20530316dceadbdc67
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.318
|
data/lib/v20170312/models.rb
CHANGED
@@ -3003,26 +3003,30 @@ module TencentCloud
|
|
3003
3003
|
end
|
3004
3004
|
end
|
3005
3005
|
|
3006
|
-
#
|
3006
|
+
# 专用宿主机实例的资源信息
|
3007
3007
|
class HostResource < TencentCloud::Common::AbstractModel
|
3008
|
-
# @param CpuTotal:
|
3008
|
+
# @param CpuTotal: 专用宿主机实例总cpu核数
|
3009
3009
|
# @type CpuTotal: Integer
|
3010
|
-
# @param CpuAvailable:
|
3010
|
+
# @param CpuAvailable: 专用宿主机实例可用cpu核数
|
3011
3011
|
# @type CpuAvailable: Integer
|
3012
|
-
# @param MemTotal:
|
3012
|
+
# @param MemTotal: 专用宿主机实例总内存大小(单位为:GiB)
|
3013
3013
|
# @type MemTotal: Float
|
3014
|
-
# @param MemAvailable:
|
3014
|
+
# @param MemAvailable: 专用宿主机实例可用内存大小(单位为:GiB)
|
3015
3015
|
# @type MemAvailable: Float
|
3016
|
-
# @param DiskTotal:
|
3016
|
+
# @param DiskTotal: 专用宿主机实例总磁盘大小(单位为:GiB)
|
3017
3017
|
# @type DiskTotal: Integer
|
3018
|
-
# @param DiskAvailable:
|
3018
|
+
# @param DiskAvailable: 专用宿主机实例可用磁盘大小(单位为:GiB)
|
3019
3019
|
# @type DiskAvailable: Integer
|
3020
|
-
# @param DiskType:
|
3020
|
+
# @param DiskType: 专用宿主机实例磁盘类型
|
3021
3021
|
# @type DiskType: String
|
3022
|
+
# @param GpuTotal: 专用宿主机实例总GPU卡数
|
3023
|
+
# @type GpuTotal: Integer
|
3024
|
+
# @param GpuAvailable: 专用宿主机实例可用GPU卡数
|
3025
|
+
# @type GpuAvailable: Integer
|
3022
3026
|
|
3023
|
-
attr_accessor :CpuTotal, :CpuAvailable, :MemTotal, :MemAvailable, :DiskTotal, :DiskAvailable, :DiskType
|
3027
|
+
attr_accessor :CpuTotal, :CpuAvailable, :MemTotal, :MemAvailable, :DiskTotal, :DiskAvailable, :DiskType, :GpuTotal, :GpuAvailable
|
3024
3028
|
|
3025
|
-
def initialize(cputotal=nil, cpuavailable=nil, memtotal=nil, memavailable=nil, disktotal=nil, diskavailable=nil, disktype=nil)
|
3029
|
+
def initialize(cputotal=nil, cpuavailable=nil, memtotal=nil, memavailable=nil, disktotal=nil, diskavailable=nil, disktype=nil, gputotal=nil, gpuavailable=nil)
|
3026
3030
|
@CpuTotal = cputotal
|
3027
3031
|
@CpuAvailable = cpuavailable
|
3028
3032
|
@MemTotal = memtotal
|
@@ -3030,6 +3034,8 @@ module TencentCloud
|
|
3030
3034
|
@DiskTotal = disktotal
|
3031
3035
|
@DiskAvailable = diskavailable
|
3032
3036
|
@DiskType = disktype
|
3037
|
+
@GpuTotal = gputotal
|
3038
|
+
@GpuAvailable = gpuavailable
|
3033
3039
|
end
|
3034
3040
|
|
3035
3041
|
def deserialize(params)
|
@@ -3040,6 +3046,8 @@ module TencentCloud
|
|
3040
3046
|
@DiskTotal = params['DiskTotal']
|
3041
3047
|
@DiskAvailable = params['DiskAvailable']
|
3042
3048
|
@DiskType = params['DiskType']
|
3049
|
+
@GpuTotal = params['GpuTotal']
|
3050
|
+
@GpuAvailable = params['GpuAvailable']
|
3043
3051
|
end
|
3044
3052
|
end
|
3045
3053
|
|
@@ -3891,7 +3899,7 @@ module TencentCloud
|
|
3891
3899
|
# @type RestrictState: String
|
3892
3900
|
# @param InstanceName: 实例名称。
|
3893
3901
|
# @type InstanceName: String
|
3894
|
-
# @param InstanceChargeType: 实例计费模式。取值范围:<br><li>`PREPAID`:表示预付费,即包年包月<br><li>`POSTPAID_BY_HOUR`:表示后付费,即按量计费<br><li>`CDHPAID
|
3902
|
+
# @param InstanceChargeType: 实例计费模式。取值范围:<br><li>`PREPAID`:表示预付费,即包年包月<br><li>`POSTPAID_BY_HOUR`:表示后付费,即按量计费<br><li>`CDHPAID`:`专用宿主机`付费,即只对`专用宿主机`计费,不对`专用宿主机`上的实例计费。<br><li>`SPOTPAID`:表示竞价实例付费。
|
3895
3903
|
# @type InstanceChargeType: String
|
3896
3904
|
# @param SystemDisk: 实例系统盘信息。
|
3897
3905
|
# @type SystemDisk: :class:`Tencentcloud::Cvm.v20170312.models.SystemDisk`
|
@@ -4257,7 +4265,7 @@ module TencentCloud
|
|
4257
4265
|
# @type Zone: String
|
4258
4266
|
# @param InstanceType: 实例机型。
|
4259
4267
|
# @type InstanceType: String
|
4260
|
-
# @param InstanceChargeType: 实例计费模式。取值范围: <br><li>PREPAID:表示预付费,即包年包月<br><li>POSTPAID_BY_HOUR:表示后付费,即按量计费<br><li>CDHPAID:表示[
|
4268
|
+
# @param InstanceChargeType: 实例计费模式。取值范围: <br><li>PREPAID:表示预付费,即包年包月<br><li>POSTPAID_BY_HOUR:表示后付费,即按量计费<br><li>CDHPAID:表示[专用宿主机](https://cloud.tencent.com/document/product/416)付费,即只对`专用宿主机`计费,不对`专用宿主机`上的实例计费。<br><li>`SPOTPAID`:表示竞价实例付费。
|
4261
4269
|
# @type InstanceChargeType: String
|
4262
4270
|
# @param NetworkCard: 网卡类型,例如:25代表25G网卡
|
4263
4271
|
# @type NetworkCard: Integer
|
@@ -4671,7 +4679,7 @@ module TencentCloud
|
|
4671
4679
|
# @param InstanceName: 实例名称。
|
4672
4680
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
4673
4681
|
# @type InstanceName: String
|
4674
|
-
# @param InstanceChargeType: 实例计费模式。取值范围:<br><li>`PREPAID`:表示预付费,即包年包月<br><li>`POSTPAID_BY_HOUR`:表示后付费,即按量计费<br><li>`CDHPAID
|
4682
|
+
# @param InstanceChargeType: 实例计费模式。取值范围:<br><li>`PREPAID`:表示预付费,即包年包月<br><li>`POSTPAID_BY_HOUR`:表示后付费,即按量计费<br><li>`CDHPAID`:`专用宿主机`付费,即只对`专用宿主机`计费,不对`专用宿主机`上的实例计费。<br><li>`SPOTPAID`:表示竞价实例付费。
|
4675
4683
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
4676
4684
|
# @type InstanceChargeType: String
|
4677
4685
|
# @param SystemDisk: 实例系统盘信息。
|
@@ -5481,7 +5489,7 @@ module TencentCloud
|
|
5481
5489
|
end
|
5482
5490
|
end
|
5483
5491
|
|
5484
|
-
#
|
5492
|
+
# 描述了实例的抽象位置,包括其所在的可用区,所属的项目,宿主机(仅专用宿主机产品可用),母机ip等
|
5485
5493
|
class Placement < TencentCloud::Common::AbstractModel
|
5486
5494
|
# @param Zone: 实例所属的可用区ID。该参数可以通过调用 [DescribeZones](https://cloud.tencent.com/document/product/213/15707) 的返回值中的Zone字段来获取。
|
5487
5495
|
# @type Zone: String
|
@@ -6517,14 +6525,16 @@ module TencentCloud
|
|
6517
6525
|
# @type HpcClusterId: String
|
6518
6526
|
# @param LaunchTemplate: 实例启动模板。
|
6519
6527
|
# @type LaunchTemplate: :class:`Tencentcloud::Cvm.v20170312.models.LaunchTemplate`
|
6528
|
+
# @param DedicatedClusterId: 指定专用集群创建。
|
6529
|
+
# @type DedicatedClusterId: String
|
6520
6530
|
# @param ChcIds: 指定CHC物理服务器来创建CHC云主机。
|
6521
6531
|
# @type ChcIds: Array
|
6522
6532
|
# @param DisableApiTermination: 实例销毁保护标志,表示是否允许通过api接口删除实例。取值范围:<br><li>TRUE:表示开启实例保护,不允许通过api接口删除实例<br><li>FALSE:表示关闭实例保护,允许通过api接口删除实例<br><br>默认取值:FALSE。
|
6523
6533
|
# @type DisableApiTermination: Boolean
|
6524
6534
|
|
6525
|
-
attr_accessor :InstanceChargeType, :InstanceChargePrepaid, :Placement, :InstanceType, :ImageId, :SystemDisk, :DataDisks, :VirtualPrivateCloud, :InternetAccessible, :InstanceCount, :InstanceName, :LoginSettings, :SecurityGroupIds, :EnhancedService, :ClientToken, :HostName, :ActionTimer, :DisasterRecoverGroupIds, :TagSpecification, :InstanceMarketOptions, :UserData, :DryRun, :CamRoleName, :HpcClusterId, :LaunchTemplate, :ChcIds, :DisableApiTermination
|
6535
|
+
attr_accessor :InstanceChargeType, :InstanceChargePrepaid, :Placement, :InstanceType, :ImageId, :SystemDisk, :DataDisks, :VirtualPrivateCloud, :InternetAccessible, :InstanceCount, :InstanceName, :LoginSettings, :SecurityGroupIds, :EnhancedService, :ClientToken, :HostName, :ActionTimer, :DisasterRecoverGroupIds, :TagSpecification, :InstanceMarketOptions, :UserData, :DryRun, :CamRoleName, :HpcClusterId, :LaunchTemplate, :DedicatedClusterId, :ChcIds, :DisableApiTermination
|
6526
6536
|
|
6527
|
-
def initialize(instancechargetype=nil, instancechargeprepaid=nil, placement=nil, instancetype=nil, imageid=nil, systemdisk=nil, datadisks=nil, virtualprivatecloud=nil, internetaccessible=nil, instancecount=nil, instancename=nil, loginsettings=nil, securitygroupids=nil, enhancedservice=nil, clienttoken=nil, hostname=nil, actiontimer=nil, disasterrecovergroupids=nil, tagspecification=nil, instancemarketoptions=nil, userdata=nil, dryrun=nil, camrolename=nil, hpcclusterid=nil, launchtemplate=nil, chcids=nil, disableapitermination=nil)
|
6537
|
+
def initialize(instancechargetype=nil, instancechargeprepaid=nil, placement=nil, instancetype=nil, imageid=nil, systemdisk=nil, datadisks=nil, virtualprivatecloud=nil, internetaccessible=nil, instancecount=nil, instancename=nil, loginsettings=nil, securitygroupids=nil, enhancedservice=nil, clienttoken=nil, hostname=nil, actiontimer=nil, disasterrecovergroupids=nil, tagspecification=nil, instancemarketoptions=nil, userdata=nil, dryrun=nil, camrolename=nil, hpcclusterid=nil, launchtemplate=nil, dedicatedclusterid=nil, chcids=nil, disableapitermination=nil)
|
6528
6538
|
@InstanceChargeType = instancechargetype
|
6529
6539
|
@InstanceChargePrepaid = instancechargeprepaid
|
6530
6540
|
@Placement = placement
|
@@ -6550,6 +6560,7 @@ module TencentCloud
|
|
6550
6560
|
@CamRoleName = camrolename
|
6551
6561
|
@HpcClusterId = hpcclusterid
|
6552
6562
|
@LaunchTemplate = launchtemplate
|
6563
|
+
@DedicatedClusterId = dedicatedclusterid
|
6553
6564
|
@ChcIds = chcids
|
6554
6565
|
@DisableApiTermination = disableapitermination
|
6555
6566
|
end
|
@@ -6624,6 +6635,7 @@ module TencentCloud
|
|
6624
6635
|
@LaunchTemplate = LaunchTemplate.new
|
6625
6636
|
@LaunchTemplate.deserialize(params['LaunchTemplate'])
|
6626
6637
|
end
|
6638
|
+
@DedicatedClusterId = params['DedicatedClusterId']
|
6627
6639
|
@ChcIds = params['ChcIds']
|
6628
6640
|
@DisableApiTermination = params['DisableApiTermination']
|
6629
6641
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-cvm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.318
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-05-
|
11
|
+
date: 2022-05-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|