tencentcloud-sdk-cvm 1.0.352 → 1.0.355

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: 39ebc9e2d82c62416cb5b47d0c8f765b7e4b76a5
4
- data.tar.gz: 4b7a90b3a1555e973055aee0c70a6e71fe7644cc
3
+ metadata.gz: 8f10c0b7b7d80f3b7d5290fc8b87bd4de86e51a1
4
+ data.tar.gz: 088179beab965a6c90ee41227585e74ccbafe779
5
5
  SHA512:
6
- metadata.gz: ef7f995eadb9797f65e7d7e48330710a450d3c1e3f1b6ef6a0090cf816c99383e7284dc063d30adfd8d48f1474f763288da19f65c61c82f8b49beda85335375d
7
- data.tar.gz: ad42dee3002c808a1a17b2861c1a5f6e62ddf083a802ecdcb95e3d794cc18e40fc31472f09add272d4273f25bfbd9d2e09535ef588922d857ad7738704186985
6
+ metadata.gz: a9ae9a2b337c2ca5edad0f66165cd785691152385a249683a4e3b70a48f8bad984f6f4d48a7b1d95b57cf123c7706fa7a724271f275b26be5d16b902d271ca66
7
+ data.tar.gz: 570208b54e5c8862052bf7b4e647eb3af55ff55e47a1fc1962739321ed6e4e60df0621b082b480e9df094a8c8d92c1195ae3f4a7db2362d0a536d31fa783b46b
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.352
1
+ 1.0.355
@@ -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
 
@@ -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
 
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.352
4
+ version: 1.0.355
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-10 00:00:00.000000000 Z
11
+ date: 2022-07-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common