tencentcloud-sdk-cvm 1.0.351 → 1.0.354

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: fbfcdefe0e3eb61a93be0048f1a2a48ed4b3057b
4
- data.tar.gz: 8f6719f46fd6bcfab788cb657395406b9dec7c44
3
+ metadata.gz: ab263978c2ff733ca72aa225a333182cedb79a07
4
+ data.tar.gz: fc63518cc00a6e63eabfe9bdd61d94ac469f4029
5
5
  SHA512:
6
- metadata.gz: 82e120fed264386f6b20dbe83c5daf73cd393fbcabe006f2f39c6c9b1f472e549374e174e518d7d6348891bf65125d9753718d516d25cdcd5c5ba11c3f77f2bf
7
- data.tar.gz: 3f5448ccb507c132fdbaa5e11de384188394dba22747f5a922a12fc56e4883c4098b8f0bd6548ff8d6c29ab57b9f8f1c30a25e255b2b56bf5bdf7c466d6d0a3b
6
+ metadata.gz: a62a6edbe5269a77853768b5bbce5bb2c971d25c56cf321eb86c984eb1037ab7c97f892ed4225fce4d5311004fb6b3638d6b89de40dc2d56fb396ca69b201703
7
+ data.tar.gz: dc6f65e6340dcd96c94a5af73a1821b0b381a5255971bb50ef89756a06956f044e4492dbe3aa988f7e9b335f3b3fdd93540710527cc8c590f7c74217f06cc5da
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.351
1
+ 1.0.354
@@ -1657,7 +1657,6 @@ module TencentCloud
1657
1657
 
1658
1658
  # 本接口 (ModifyInstancesChargeType) 用于切换实例的计费模式。
1659
1659
 
1660
- # * 只支持从 `POSTPAID_BY_HOUR` 计费模式切换为`PREPAID`计费模式。
1661
1660
  # * 关机不收费的实例、`BC1`和`BS1`机型族的实例、设置定时销毁的实例不支持该操作。
1662
1661
  # * 实例操作结果可以通过调用 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728#.E7.A4.BA.E4.BE.8B3-.E6.9F.A5.E8.AF.A2.E5.AE.9E.E4.BE.8B.E7.9A.84.E6.9C.80.E6.96.B0.E6.93.8D.E4.BD.9C.E6.83.85.E5.86.B5) 接口查询,如果实例的最新操作状态(LatestOperationState)为“SUCCESS”,则代表操作成功。
1663
1662
 
@@ -1687,7 +1686,6 @@ module TencentCloud
1687
1686
 
1688
1687
  # * 项目为一个虚拟概念,用户可以在一个账户下面建立多个项目,每个项目中管理不同的资源;将多个不同实例分属到不同项目中,后续使用 [`DescribeInstances`](https://cloud.tencent.com/document/api/213/15728)接口查询实例,项目ID可用于过滤结果。
1689
1688
  # * 绑定负载均衡的实例不支持修改实例所属项目,请先使用[`DeregisterInstancesFromLoadBalancer`](https://cloud.tencent.com/document/api/214/1258)接口解绑负载均衡。
1690
- # [^_^]: # ( 修改实例所属项目会自动解关联实例原来关联的安全组,修改完成后可使用[`ModifyInstancesAttribute`](https://cloud.tencent.com/document/api/213/15739)接口关联安全组。)
1691
1689
  # * 支持批量操作。每次请求批量实例的上限为100。
1692
1690
  # * 实例操作结果可以通过调用 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728#.E7.A4.BA.E4.BE.8B3-.E6.9F.A5.E8.AF.A2.E5.AE.9E.E4.BE.8B.E7.9A.84.E6.9C.80.E6.96.B0.E6.93.8D.E4.BD.9C.E6.83.85.E5.86.B5) 接口查询,如果实例的最新操作状态(LatestOperationState)为“SUCCESS”,则代表操作成功。
1693
1691
 
@@ -700,17 +700,28 @@ module TencentCloud
700
700
  # <li>通过项目列表查询项目ID。
701
701
  # <li>通过调用接口DescribeProject,取返回信息中的`projectId `获取项目ID。
702
702
  # @type ProjectId: Integer
703
+ # @param TagSpecification: 标签描述列表。通过指定该参数可以同时绑定标签到密钥对。
704
+ # @type TagSpecification: Array
703
705
 
704
- attr_accessor :KeyName, :ProjectId
706
+ attr_accessor :KeyName, :ProjectId, :TagSpecification
705
707
 
706
- def initialize(keyname=nil, projectid=nil)
708
+ def initialize(keyname=nil, projectid=nil, tagspecification=nil)
707
709
  @KeyName = keyname
708
710
  @ProjectId = projectid
711
+ @TagSpecification = tagspecification
709
712
  end
710
713
 
711
714
  def deserialize(params)
712
715
  @KeyName = params['KeyName']
713
716
  @ProjectId = params['ProjectId']
717
+ unless params['TagSpecification'].nil?
718
+ @TagSpecification = []
719
+ params['TagSpecification'].each do |i|
720
+ tagspecification_tmp = TagSpecification.new
721
+ tagspecification_tmp.deserialize(i)
722
+ @TagSpecification << tagspecification_tmp
723
+ end
724
+ end
714
725
  end
715
726
  end
716
727
 
@@ -3614,19 +3625,30 @@ module TencentCloud
3614
3625
  # @type ProjectId: Integer
3615
3626
  # @param PublicKey: 密钥对的公钥内容,`OpenSSH RSA` 格式。
3616
3627
  # @type PublicKey: String
3628
+ # @param TagSpecification: 标签描述列表。通过指定该参数可以同时绑定标签到密钥对。
3629
+ # @type TagSpecification: Array
3617
3630
 
3618
- attr_accessor :KeyName, :ProjectId, :PublicKey
3631
+ attr_accessor :KeyName, :ProjectId, :PublicKey, :TagSpecification
3619
3632
 
3620
- def initialize(keyname=nil, projectid=nil, publickey=nil)
3633
+ def initialize(keyname=nil, projectid=nil, publickey=nil, tagspecification=nil)
3621
3634
  @KeyName = keyname
3622
3635
  @ProjectId = projectid
3623
3636
  @PublicKey = publickey
3637
+ @TagSpecification = tagspecification
3624
3638
  end
3625
3639
 
3626
3640
  def deserialize(params)
3627
3641
  @KeyName = params['KeyName']
3628
3642
  @ProjectId = params['ProjectId']
3629
3643
  @PublicKey = params['PublicKey']
3644
+ unless params['TagSpecification'].nil?
3645
+ @TagSpecification = []
3646
+ params['TagSpecification'].each do |i|
3647
+ tagspecification_tmp = TagSpecification.new
3648
+ tagspecification_tmp.deserialize(i)
3649
+ @TagSpecification << tagspecification_tmp
3650
+ end
3651
+ end
3630
3652
  end
3631
3653
  end
3632
3654
 
@@ -5614,7 +5636,7 @@ module TencentCloud
5614
5636
 
5615
5637
  # ModifyInstancesChargeType请求参数结构体
5616
5638
  class ModifyInstancesChargeTypeRequest < TencentCloud::Common::AbstractModel
5617
- # @param InstanceIds: 一个或多个待操作的实例ID。可通过[`DescribeInstances`](https://cloud.tencent.com/document/api/213/15728)接口返回值中的`InstanceId`获取。每次请求批量实例的上限为100
5639
+ # @param InstanceIds: 一个或多个待操作的实例ID。可通过[`DescribeInstances`](https://cloud.tencent.com/document/api/213/15728)接口返回值中的`InstanceId`获取。每次请求批量实例的上限为30
5618
5640
  # @type InstanceIds: Array
5619
5641
  # @param InstanceChargeType: 实例[计费类型](https://cloud.tencent.com/document/product/213/2180)。<br><li>PREPAID:预付费,即包年包月。<br><li>POSTPAID_BY_HOUR:后付费,即按量付费。
5620
5642
  # @type InstanceChargeType: 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.351
4
+ version: 1.0.354
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-07-08 00:00:00.000000000 Z
11
+ date: 2022-07-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common