tencentcloud-sdk-cvm 1.0.314 → 1.0.317
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 +30 -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: b84581d0c49fd873fb90fe61bb68845f75a33ec1
|
4
|
+
data.tar.gz: 73e5b96709b8b4f13ee736e13a81196727abb601
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 22b8c337df26d21244f2c99229d3b37959c6a2b22f6aabfa2a1b4a267f5e663b8d6690bdec9ad92bc0961e44b31050df0c3e355c72a24bd57e5a46955c493307
|
7
|
+
data.tar.gz: 2038c6ba94d1fcf39d4d300841ec07be204a0fb683b65b73b9416c9be8dfcb49364285d9f49a05ae9529c35b2576cc38ea9bf3f9fcad8b2751d9c73b69656988
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.317
|
data/lib/v20170312/models.rb
CHANGED
@@ -1826,6 +1826,8 @@ module TencentCloud
|
|
1826
1826
|
# <p style="padding-left: 30px;">按照【<strong>项目ID</strong>】进行过滤,可通过调用[DescribeProject](https://cloud.tencent.com/document/api/378/4400)查询已创建的项目列表或登录[控制台](https://console.cloud.tencent.com/cvm/index)进行查看;也可以调用[AddProject](https://cloud.tencent.com/document/api/378/4398)创建新的项目。项目ID形如:1002189。</p><p style="padding-left: 30px;">类型:Integer</p><p style="padding-left: 30px;">必选:否</p>
|
1827
1827
|
# <li><strong>host-id</strong></li>
|
1828
1828
|
# <p style="padding-left: 30px;">按照【<strong>[CDH](https://cloud.tencent.com/document/product/416) ID</strong>】进行过滤。[CDH](https://cloud.tencent.com/document/product/416) ID形如:host-xxxxxxxx。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p>
|
1829
|
+
# <li><strong>dedicated-cluster-id</strong></li>
|
1830
|
+
# <p style="padding-left: 30px;">按照【<strong>[CDC](https://cloud.tencent.com/document/product/1346) ID</strong>】进行过滤。[CDC](https://cloud.tencent.com/document/product/1346) ID形如:cluster-xxxxxxx。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p>
|
1829
1831
|
# <li><strong>vpc-id</strong></li>
|
1830
1832
|
# <p style="padding-left: 30px;">按照【<strong>VPC ID</strong>】进行过滤。VPC ID形如:vpc-xxxxxxxx。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p>
|
1831
1833
|
# <li><strong>subnet-id</strong></li>
|
@@ -3001,26 +3003,30 @@ module TencentCloud
|
|
3001
3003
|
end
|
3002
3004
|
end
|
3003
3005
|
|
3004
|
-
#
|
3006
|
+
# 专用宿主机实例的资源信息
|
3005
3007
|
class HostResource < TencentCloud::Common::AbstractModel
|
3006
|
-
# @param CpuTotal:
|
3008
|
+
# @param CpuTotal: 专用宿主机实例总cpu核数
|
3007
3009
|
# @type CpuTotal: Integer
|
3008
|
-
# @param CpuAvailable:
|
3010
|
+
# @param CpuAvailable: 专用宿主机实例可用cpu核数
|
3009
3011
|
# @type CpuAvailable: Integer
|
3010
|
-
# @param MemTotal:
|
3012
|
+
# @param MemTotal: 专用宿主机实例总内存大小(单位为:GiB)
|
3011
3013
|
# @type MemTotal: Float
|
3012
|
-
# @param MemAvailable:
|
3014
|
+
# @param MemAvailable: 专用宿主机实例可用内存大小(单位为:GiB)
|
3013
3015
|
# @type MemAvailable: Float
|
3014
|
-
# @param DiskTotal:
|
3016
|
+
# @param DiskTotal: 专用宿主机实例总磁盘大小(单位为:GiB)
|
3015
3017
|
# @type DiskTotal: Integer
|
3016
|
-
# @param DiskAvailable:
|
3018
|
+
# @param DiskAvailable: 专用宿主机实例可用磁盘大小(单位为:GiB)
|
3017
3019
|
# @type DiskAvailable: Integer
|
3018
|
-
# @param DiskType:
|
3020
|
+
# @param DiskType: 专用宿主机实例磁盘类型
|
3019
3021
|
# @type DiskType: String
|
3022
|
+
# @param GpuTotal: 专用宿主机实例总GPU卡数
|
3023
|
+
# @type GpuTotal: Integer
|
3024
|
+
# @param GpuAvailable: 专用宿主机实例可用GPU卡数
|
3025
|
+
# @type GpuAvailable: Integer
|
3020
3026
|
|
3021
|
-
attr_accessor :CpuTotal, :CpuAvailable, :MemTotal, :MemAvailable, :DiskTotal, :DiskAvailable, :DiskType
|
3027
|
+
attr_accessor :CpuTotal, :CpuAvailable, :MemTotal, :MemAvailable, :DiskTotal, :DiskAvailable, :DiskType, :GpuTotal, :GpuAvailable
|
3022
3028
|
|
3023
|
-
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)
|
3024
3030
|
@CpuTotal = cputotal
|
3025
3031
|
@CpuAvailable = cpuavailable
|
3026
3032
|
@MemTotal = memtotal
|
@@ -3028,6 +3034,8 @@ module TencentCloud
|
|
3028
3034
|
@DiskTotal = disktotal
|
3029
3035
|
@DiskAvailable = diskavailable
|
3030
3036
|
@DiskType = disktype
|
3037
|
+
@GpuTotal = gputotal
|
3038
|
+
@GpuAvailable = gpuavailable
|
3031
3039
|
end
|
3032
3040
|
|
3033
3041
|
def deserialize(params)
|
@@ -3038,6 +3046,8 @@ module TencentCloud
|
|
3038
3046
|
@DiskTotal = params['DiskTotal']
|
3039
3047
|
@DiskAvailable = params['DiskAvailable']
|
3040
3048
|
@DiskType = params['DiskType']
|
3049
|
+
@GpuTotal = params['GpuTotal']
|
3050
|
+
@GpuAvailable = params['GpuAvailable']
|
3041
3051
|
end
|
3042
3052
|
end
|
3043
3053
|
|
@@ -3889,7 +3899,7 @@ module TencentCloud
|
|
3889
3899
|
# @type RestrictState: String
|
3890
3900
|
# @param InstanceName: 实例名称。
|
3891
3901
|
# @type InstanceName: String
|
3892
|
-
# @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`:表示竞价实例付费。
|
3893
3903
|
# @type InstanceChargeType: String
|
3894
3904
|
# @param SystemDisk: 实例系统盘信息。
|
3895
3905
|
# @type SystemDisk: :class:`Tencentcloud::Cvm.v20170312.models.SystemDisk`
|
@@ -4255,7 +4265,7 @@ module TencentCloud
|
|
4255
4265
|
# @type Zone: String
|
4256
4266
|
# @param InstanceType: 实例机型。
|
4257
4267
|
# @type InstanceType: String
|
4258
|
-
# @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`:表示竞价实例付费。
|
4259
4269
|
# @type InstanceChargeType: String
|
4260
4270
|
# @param NetworkCard: 网卡类型,例如:25代表25G网卡
|
4261
4271
|
# @type NetworkCard: Integer
|
@@ -4669,7 +4679,7 @@ module TencentCloud
|
|
4669
4679
|
# @param InstanceName: 实例名称。
|
4670
4680
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
4671
4681
|
# @type InstanceName: String
|
4672
|
-
# @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`:表示竞价实例付费。
|
4673
4683
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
4674
4684
|
# @type InstanceChargeType: String
|
4675
4685
|
# @param SystemDisk: 实例系统盘信息。
|
@@ -5479,7 +5489,7 @@ module TencentCloud
|
|
5479
5489
|
end
|
5480
5490
|
end
|
5481
5491
|
|
5482
|
-
#
|
5492
|
+
# 描述了实例的抽象位置,包括其所在的可用区,所属的项目,宿主机(仅专用宿主机产品可用),母机ip等
|
5483
5493
|
class Placement < TencentCloud::Common::AbstractModel
|
5484
5494
|
# @param Zone: 实例所属的可用区ID。该参数可以通过调用 [DescribeZones](https://cloud.tencent.com/document/product/213/15707) 的返回值中的Zone字段来获取。
|
5485
5495
|
# @type Zone: String
|
@@ -6515,14 +6525,16 @@ module TencentCloud
|
|
6515
6525
|
# @type HpcClusterId: String
|
6516
6526
|
# @param LaunchTemplate: 实例启动模板。
|
6517
6527
|
# @type LaunchTemplate: :class:`Tencentcloud::Cvm.v20170312.models.LaunchTemplate`
|
6528
|
+
# @param DedicatedClusterId: 指定专用集群创建。
|
6529
|
+
# @type DedicatedClusterId: String
|
6518
6530
|
# @param ChcIds: 指定CHC物理服务器来创建CHC云主机。
|
6519
6531
|
# @type ChcIds: Array
|
6520
6532
|
# @param DisableApiTermination: 实例销毁保护标志,表示是否允许通过api接口删除实例。取值范围:<br><li>TRUE:表示开启实例保护,不允许通过api接口删除实例<br><li>FALSE:表示关闭实例保护,允许通过api接口删除实例<br><br>默认取值:FALSE。
|
6521
6533
|
# @type DisableApiTermination: Boolean
|
6522
6534
|
|
6523
|
-
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
|
6524
6536
|
|
6525
|
-
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)
|
6526
6538
|
@InstanceChargeType = instancechargetype
|
6527
6539
|
@InstanceChargePrepaid = instancechargeprepaid
|
6528
6540
|
@Placement = placement
|
@@ -6548,6 +6560,7 @@ module TencentCloud
|
|
6548
6560
|
@CamRoleName = camrolename
|
6549
6561
|
@HpcClusterId = hpcclusterid
|
6550
6562
|
@LaunchTemplate = launchtemplate
|
6563
|
+
@DedicatedClusterId = dedicatedclusterid
|
6551
6564
|
@ChcIds = chcids
|
6552
6565
|
@DisableApiTermination = disableapitermination
|
6553
6566
|
end
|
@@ -6622,6 +6635,7 @@ module TencentCloud
|
|
6622
6635
|
@LaunchTemplate = LaunchTemplate.new
|
6623
6636
|
@LaunchTemplate.deserialize(params['LaunchTemplate'])
|
6624
6637
|
end
|
6638
|
+
@DedicatedClusterId = params['DedicatedClusterId']
|
6625
6639
|
@ChcIds = params['ChcIds']
|
6626
6640
|
@DisableApiTermination = params['DisableApiTermination']
|
6627
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.317
|
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-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|