tencentcloud-sdk-cvm 1.0.316 → 1.0.319
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: b8312645ef525a29470c99d69ce1f3648affb814
|
4
|
+
data.tar.gz: 93f8a879d3d10c9fcd6a4f44fce9de839acb1f8b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bfcf760dd79724e657e4b0a0f6c6c68e4baee13ba446c915351baa08e026ea1ffea670499e98ea2298688b8aa9c51d64675c62a7524b5cf526a787c6d98b1740
|
7
|
+
data.tar.gz: 75ac2b0cdce4c85b3f75c043e81031b5fce72b546cad655cd2b4b7cb05a0c85624f1171d26c25030103fc3d7c798d420c3f9139edc5a08aa5eeb552717bcb11e
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.319
|
data/lib/v20170312/models.rb
CHANGED
@@ -740,10 +740,12 @@ module TencentCloud
|
|
740
740
|
# @type InstanceChargeType: String
|
741
741
|
# @param InstanceChargePrepaid: 预付费模式,即包年包月相关参数设置。通过该参数可以指定包年包月实例的购买时长、是否设置自动续费等属性。若指定实例的付费模式为预付费则该参数必传。
|
742
742
|
# @type InstanceChargePrepaid: :class:`Tencentcloud::Cvm.v20170312.models.InstanceChargePrepaid`
|
743
|
+
# @param DisableApiTermination: 实例销毁保护标志,表示是否允许通过api接口删除实例。取值范围:<br><li>TRUE:表示开启实例保护,不允许通过api接口删除实例<br><li>FALSE:表示关闭实例保护,允许通过api接口删除实例<br><br>默认取值:FALSE。
|
744
|
+
# @type DisableApiTermination: Boolean
|
743
745
|
|
744
|
-
attr_accessor :Placement, :LaunchTemplateId, :LaunchTemplateVersion, :LaunchTemplateVersionDescription, :InstanceType, :ImageId, :SystemDisk, :DataDisks, :VirtualPrivateCloud, :InternetAccessible, :InstanceCount, :InstanceName, :LoginSettings, :SecurityGroupIds, :EnhancedService, :ClientToken, :HostName, :ActionTimer, :DisasterRecoverGroupIds, :TagSpecification, :InstanceMarketOptions, :UserData, :DryRun, :CamRoleName, :HpcClusterId, :InstanceChargeType, :InstanceChargePrepaid
|
746
|
+
attr_accessor :Placement, :LaunchTemplateId, :LaunchTemplateVersion, :LaunchTemplateVersionDescription, :InstanceType, :ImageId, :SystemDisk, :DataDisks, :VirtualPrivateCloud, :InternetAccessible, :InstanceCount, :InstanceName, :LoginSettings, :SecurityGroupIds, :EnhancedService, :ClientToken, :HostName, :ActionTimer, :DisasterRecoverGroupIds, :TagSpecification, :InstanceMarketOptions, :UserData, :DryRun, :CamRoleName, :HpcClusterId, :InstanceChargeType, :InstanceChargePrepaid, :DisableApiTermination
|
745
747
|
|
746
|
-
def initialize(placement=nil, launchtemplateid=nil, launchtemplateversion=nil, launchtemplateversiondescription=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, instancechargetype=nil, instancechargeprepaid=nil)
|
748
|
+
def initialize(placement=nil, launchtemplateid=nil, launchtemplateversion=nil, launchtemplateversiondescription=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, instancechargetype=nil, instancechargeprepaid=nil, disableapitermination=nil)
|
747
749
|
@Placement = placement
|
748
750
|
@LaunchTemplateId = launchtemplateid
|
749
751
|
@LaunchTemplateVersion = launchtemplateversion
|
@@ -771,6 +773,7 @@ module TencentCloud
|
|
771
773
|
@HpcClusterId = hpcclusterid
|
772
774
|
@InstanceChargeType = instancechargetype
|
773
775
|
@InstanceChargePrepaid = instancechargeprepaid
|
776
|
+
@DisableApiTermination = disableapitermination
|
774
777
|
end
|
775
778
|
|
776
779
|
def deserialize(params)
|
@@ -842,6 +845,7 @@ module TencentCloud
|
|
842
845
|
@InstanceChargePrepaid = InstanceChargePrepaid.new
|
843
846
|
@InstanceChargePrepaid.deserialize(params['InstanceChargePrepaid'])
|
844
847
|
end
|
848
|
+
@DisableApiTermination = params['DisableApiTermination']
|
845
849
|
end
|
846
850
|
end
|
847
851
|
|
@@ -3003,26 +3007,30 @@ module TencentCloud
|
|
3003
3007
|
end
|
3004
3008
|
end
|
3005
3009
|
|
3006
|
-
#
|
3010
|
+
# 专用宿主机实例的资源信息
|
3007
3011
|
class HostResource < TencentCloud::Common::AbstractModel
|
3008
|
-
# @param CpuTotal:
|
3012
|
+
# @param CpuTotal: 专用宿主机实例总cpu核数
|
3009
3013
|
# @type CpuTotal: Integer
|
3010
|
-
# @param CpuAvailable:
|
3014
|
+
# @param CpuAvailable: 专用宿主机实例可用cpu核数
|
3011
3015
|
# @type CpuAvailable: Integer
|
3012
|
-
# @param MemTotal:
|
3016
|
+
# @param MemTotal: 专用宿主机实例总内存大小(单位为:GiB)
|
3013
3017
|
# @type MemTotal: Float
|
3014
|
-
# @param MemAvailable:
|
3018
|
+
# @param MemAvailable: 专用宿主机实例可用内存大小(单位为:GiB)
|
3015
3019
|
# @type MemAvailable: Float
|
3016
|
-
# @param DiskTotal:
|
3020
|
+
# @param DiskTotal: 专用宿主机实例总磁盘大小(单位为:GiB)
|
3017
3021
|
# @type DiskTotal: Integer
|
3018
|
-
# @param DiskAvailable:
|
3022
|
+
# @param DiskAvailable: 专用宿主机实例可用磁盘大小(单位为:GiB)
|
3019
3023
|
# @type DiskAvailable: Integer
|
3020
|
-
# @param DiskType:
|
3024
|
+
# @param DiskType: 专用宿主机实例磁盘类型
|
3021
3025
|
# @type DiskType: String
|
3026
|
+
# @param GpuTotal: 专用宿主机实例总GPU卡数
|
3027
|
+
# @type GpuTotal: Integer
|
3028
|
+
# @param GpuAvailable: 专用宿主机实例可用GPU卡数
|
3029
|
+
# @type GpuAvailable: Integer
|
3022
3030
|
|
3023
|
-
attr_accessor :CpuTotal, :CpuAvailable, :MemTotal, :MemAvailable, :DiskTotal, :DiskAvailable, :DiskType
|
3031
|
+
attr_accessor :CpuTotal, :CpuAvailable, :MemTotal, :MemAvailable, :DiskTotal, :DiskAvailable, :DiskType, :GpuTotal, :GpuAvailable
|
3024
3032
|
|
3025
|
-
def initialize(cputotal=nil, cpuavailable=nil, memtotal=nil, memavailable=nil, disktotal=nil, diskavailable=nil, disktype=nil)
|
3033
|
+
def initialize(cputotal=nil, cpuavailable=nil, memtotal=nil, memavailable=nil, disktotal=nil, diskavailable=nil, disktype=nil, gputotal=nil, gpuavailable=nil)
|
3026
3034
|
@CpuTotal = cputotal
|
3027
3035
|
@CpuAvailable = cpuavailable
|
3028
3036
|
@MemTotal = memtotal
|
@@ -3030,6 +3038,8 @@ module TencentCloud
|
|
3030
3038
|
@DiskTotal = disktotal
|
3031
3039
|
@DiskAvailable = diskavailable
|
3032
3040
|
@DiskType = disktype
|
3041
|
+
@GpuTotal = gputotal
|
3042
|
+
@GpuAvailable = gpuavailable
|
3033
3043
|
end
|
3034
3044
|
|
3035
3045
|
def deserialize(params)
|
@@ -3040,6 +3050,8 @@ module TencentCloud
|
|
3040
3050
|
@DiskTotal = params['DiskTotal']
|
3041
3051
|
@DiskAvailable = params['DiskAvailable']
|
3042
3052
|
@DiskType = params['DiskType']
|
3053
|
+
@GpuTotal = params['GpuTotal']
|
3054
|
+
@GpuAvailable = params['GpuAvailable']
|
3043
3055
|
end
|
3044
3056
|
end
|
3045
3057
|
|
@@ -3891,7 +3903,7 @@ module TencentCloud
|
|
3891
3903
|
# @type RestrictState: String
|
3892
3904
|
# @param InstanceName: 实例名称。
|
3893
3905
|
# @type InstanceName: String
|
3894
|
-
# @param InstanceChargeType: 实例计费模式。取值范围:<br><li>`PREPAID`:表示预付费,即包年包月<br><li>`POSTPAID_BY_HOUR`:表示后付费,即按量计费<br><li>`CDHPAID
|
3906
|
+
# @param InstanceChargeType: 实例计费模式。取值范围:<br><li>`PREPAID`:表示预付费,即包年包月<br><li>`POSTPAID_BY_HOUR`:表示后付费,即按量计费<br><li>`CDHPAID`:`专用宿主机`付费,即只对`专用宿主机`计费,不对`专用宿主机`上的实例计费。<br><li>`SPOTPAID`:表示竞价实例付费。
|
3895
3907
|
# @type InstanceChargeType: String
|
3896
3908
|
# @param SystemDisk: 实例系统盘信息。
|
3897
3909
|
# @type SystemDisk: :class:`Tencentcloud::Cvm.v20170312.models.SystemDisk`
|
@@ -4257,7 +4269,7 @@ module TencentCloud
|
|
4257
4269
|
# @type Zone: String
|
4258
4270
|
# @param InstanceType: 实例机型。
|
4259
4271
|
# @type InstanceType: String
|
4260
|
-
# @param InstanceChargeType: 实例计费模式。取值范围: <br><li>PREPAID:表示预付费,即包年包月<br><li>POSTPAID_BY_HOUR:表示后付费,即按量计费<br><li>CDHPAID:表示[
|
4272
|
+
# @param InstanceChargeType: 实例计费模式。取值范围: <br><li>PREPAID:表示预付费,即包年包月<br><li>POSTPAID_BY_HOUR:表示后付费,即按量计费<br><li>CDHPAID:表示[专用宿主机](https://cloud.tencent.com/document/product/416)付费,即只对`专用宿主机`计费,不对`专用宿主机`上的实例计费。<br><li>`SPOTPAID`:表示竞价实例付费。
|
4261
4273
|
# @type InstanceChargeType: String
|
4262
4274
|
# @param NetworkCard: 网卡类型,例如:25代表25G网卡
|
4263
4275
|
# @type NetworkCard: Integer
|
@@ -4671,7 +4683,7 @@ module TencentCloud
|
|
4671
4683
|
# @param InstanceName: 实例名称。
|
4672
4684
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
4673
4685
|
# @type InstanceName: String
|
4674
|
-
# @param InstanceChargeType: 实例计费模式。取值范围:<br><li>`PREPAID`:表示预付费,即包年包月<br><li>`POSTPAID_BY_HOUR`:表示后付费,即按量计费<br><li>`CDHPAID
|
4686
|
+
# @param InstanceChargeType: 实例计费模式。取值范围:<br><li>`PREPAID`:表示预付费,即包年包月<br><li>`POSTPAID_BY_HOUR`:表示后付费,即按量计费<br><li>`CDHPAID`:`专用宿主机`付费,即只对`专用宿主机`计费,不对`专用宿主机`上的实例计费。<br><li>`SPOTPAID`:表示竞价实例付费。
|
4675
4687
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
4676
4688
|
# @type InstanceChargeType: String
|
4677
4689
|
# @param SystemDisk: 实例系统盘信息。
|
@@ -5481,7 +5493,7 @@ module TencentCloud
|
|
5481
5493
|
end
|
5482
5494
|
end
|
5483
5495
|
|
5484
|
-
#
|
5496
|
+
# 描述了实例的抽象位置,包括其所在的可用区,所属的项目,宿主机(仅专用宿主机产品可用),母机ip等
|
5485
5497
|
class Placement < TencentCloud::Common::AbstractModel
|
5486
5498
|
# @param Zone: 实例所属的可用区ID。该参数可以通过调用 [DescribeZones](https://cloud.tencent.com/document/product/213/15707) 的返回值中的Zone字段来获取。
|
5487
5499
|
# @type Zone: String
|
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.319
|
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-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|