tencentcloud-sdk-cvm 1.0.291 → 1.0.294
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/client.rb +1 -1
- data/lib/v20170312/models.rb +17 -5
- 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: 9a4c3e0f71d77b8e3f5a3738111e460f29b2e14d
|
|
4
|
+
data.tar.gz: 50e6530ad298def724597e941768a1586406ccc3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7512182dfb1bc85b21b185a84e23958415b71ece873d527c15242b595f5fb1dbbb60cb64f3fe3d7633680c579ebf72e2ad6031341b8b72fd619f61335bfa8f2b
|
|
7
|
+
data.tar.gz: 5ebc116ab8b5496a68de9f7578951f4f037900913ca27dbdaff254754023e440958bfc6547ffe43482952ccadf1030ba3bd3ee1066c50b3154000e5722db11df
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.0.
|
|
1
|
+
1.0.294
|
data/lib/v20170312/client.rb
CHANGED
|
@@ -643,7 +643,7 @@ module TencentCloud
|
|
|
643
643
|
# * 管理终端地址的有效期为 15 秒,调用接口成功后如果 15 秒内不使用该链接进行访问,管理终端地址自动失效,您需要重新查询。
|
|
644
644
|
# * 管理终端地址一旦被访问,将自动失效,您需要重新查询。
|
|
645
645
|
# * 如果连接断开,每分钟内重新连接的次数不能超过 30 次。
|
|
646
|
-
#
|
|
646
|
+
# 获取到 `InstanceVncUrl` 后,您需要在链接 `https://img.qcloud.com/qcloud/app/active_vnc/index.html?` 末尾加上参数 `InstanceVncUrl=xxxx`。
|
|
647
647
|
|
|
648
648
|
# - 参数 `InstanceVncUrl` :调用接口成功后会返回的 `InstanceVncUrl` 的值。
|
|
649
649
|
|
data/lib/v20170312/models.rb
CHANGED
|
@@ -5974,7 +5974,7 @@ module TencentCloud
|
|
|
5974
5974
|
|
|
5975
5975
|
# 描述用户已购买预留实例计费信息
|
|
5976
5976
|
class ReservedInstances < TencentCloud::Common::AbstractModel
|
|
5977
|
-
# @param ReservedInstancesId:
|
|
5977
|
+
# @param ReservedInstancesId: (此字段已废弃,建议使用字段:ReservedInstanceId)已购买的预留实例计费ID。形如:ri-rtbh4han。
|
|
5978
5978
|
# @type ReservedInstancesId: String
|
|
5979
5979
|
# @param InstanceType: 预留实例计费的规格。形如:S3.MEDIUM4。
|
|
5980
5980
|
# 返回项:<a href="https://cloud.tencent.com/document/product/213/11518">预留实例计费规格列表</a>
|
|
@@ -6006,10 +6006,14 @@ module TencentCloud
|
|
|
6006
6006
|
# @param InstanceFamily: 预留实例计费的类型。形如:S3。
|
|
6007
6007
|
# 返回项:<a href="https://cloud.tencent.com/document/product/213/11518">预留实例计费类型列表</a>
|
|
6008
6008
|
# @type InstanceFamily: String
|
|
6009
|
+
# @param ReservedInstanceId: 已购买的预留实例计费ID。形如:ri-rtbh4han。
|
|
6010
|
+
# @type ReservedInstanceId: String
|
|
6011
|
+
# @param ReservedInstanceName: 预留实例显示名称。形如:riname-01
|
|
6012
|
+
# @type ReservedInstanceName: String
|
|
6009
6013
|
|
|
6010
|
-
attr_accessor :ReservedInstancesId, :InstanceType, :Zone, :StartTime, :EndTime, :Duration, :InstanceCount, :ProductDescription, :State, :CurrencyCode, :OfferingType, :InstanceFamily
|
|
6014
|
+
attr_accessor :ReservedInstancesId, :InstanceType, :Zone, :StartTime, :EndTime, :Duration, :InstanceCount, :ProductDescription, :State, :CurrencyCode, :OfferingType, :InstanceFamily, :ReservedInstanceId, :ReservedInstanceName
|
|
6011
6015
|
|
|
6012
|
-
def initialize(reservedinstancesid=nil, instancetype=nil, zone=nil, starttime=nil, endtime=nil, duration=nil, instancecount=nil, productdescription=nil, state=nil, currencycode=nil, offeringtype=nil, instancefamily=nil)
|
|
6016
|
+
def initialize(reservedinstancesid=nil, instancetype=nil, zone=nil, starttime=nil, endtime=nil, duration=nil, instancecount=nil, productdescription=nil, state=nil, currencycode=nil, offeringtype=nil, instancefamily=nil, reservedinstanceid=nil, reservedinstancename=nil)
|
|
6013
6017
|
@ReservedInstancesId = reservedinstancesid
|
|
6014
6018
|
@InstanceType = instancetype
|
|
6015
6019
|
@Zone = zone
|
|
@@ -6022,6 +6026,8 @@ module TencentCloud
|
|
|
6022
6026
|
@CurrencyCode = currencycode
|
|
6023
6027
|
@OfferingType = offeringtype
|
|
6024
6028
|
@InstanceFamily = instancefamily
|
|
6029
|
+
@ReservedInstanceId = reservedinstanceid
|
|
6030
|
+
@ReservedInstanceName = reservedinstancename
|
|
6025
6031
|
end
|
|
6026
6032
|
|
|
6027
6033
|
def deserialize(params)
|
|
@@ -6037,6 +6043,8 @@ module TencentCloud
|
|
|
6037
6043
|
@CurrencyCode = params['CurrencyCode']
|
|
6038
6044
|
@OfferingType = params['OfferingType']
|
|
6039
6045
|
@InstanceFamily = params['InstanceFamily']
|
|
6046
|
+
@ReservedInstanceId = params['ReservedInstanceId']
|
|
6047
|
+
@ReservedInstanceName = params['ReservedInstanceName']
|
|
6040
6048
|
end
|
|
6041
6049
|
end
|
|
6042
6050
|
|
|
@@ -6427,10 +6435,12 @@ module TencentCloud
|
|
|
6427
6435
|
# @type LaunchTemplate: :class:`Tencentcloud::Cvm.v20170312.models.LaunchTemplate`
|
|
6428
6436
|
# @param ChcIds: 指定CHC物理服务器来创建CHC云主机。
|
|
6429
6437
|
# @type ChcIds: Array
|
|
6438
|
+
# @param DisableApiTermination: 实例销毁保护标志,表示是否允许通过api接口删除实例。取值范围:<br><li>TRUE:表示开启实例保护,不允许通过api接口删除实例<br><li>FALSE:表示关闭实例保护,允许通过api接口删除实例<br><br>默认取值:FALSE。
|
|
6439
|
+
# @type DisableApiTermination: Boolean
|
|
6430
6440
|
|
|
6431
|
-
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
|
|
6441
|
+
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
|
|
6432
6442
|
|
|
6433
|
-
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)
|
|
6443
|
+
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)
|
|
6434
6444
|
@InstanceChargeType = instancechargetype
|
|
6435
6445
|
@InstanceChargePrepaid = instancechargeprepaid
|
|
6436
6446
|
@Placement = placement
|
|
@@ -6457,6 +6467,7 @@ module TencentCloud
|
|
|
6457
6467
|
@HpcClusterId = hpcclusterid
|
|
6458
6468
|
@LaunchTemplate = launchtemplate
|
|
6459
6469
|
@ChcIds = chcids
|
|
6470
|
+
@DisableApiTermination = disableapitermination
|
|
6460
6471
|
end
|
|
6461
6472
|
|
|
6462
6473
|
def deserialize(params)
|
|
@@ -6530,6 +6541,7 @@ module TencentCloud
|
|
|
6530
6541
|
@LaunchTemplate.deserialize(params['LaunchTemplate'])
|
|
6531
6542
|
end
|
|
6532
6543
|
@ChcIds = params['ChcIds']
|
|
6544
|
+
@DisableApiTermination = params['DisableApiTermination']
|
|
6533
6545
|
end
|
|
6534
6546
|
end
|
|
6535
6547
|
|
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.294
|
|
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-04-
|
|
11
|
+
date: 2022-04-12 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: tencentcloud-sdk-common
|