tencentcloud-sdk-cvm 1.0.350 → 1.0.353

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: ec2978e74316d0f760c3b9a00e412702f4534968
4
- data.tar.gz: 602edd7eca637cfb16844eb2473be1313830933f
3
+ metadata.gz: 96048b734d2f3c8a5631d618c8568b168669a182
4
+ data.tar.gz: 0b9424c584807a7d997c595d23e43948a2561bdf
5
5
  SHA512:
6
- metadata.gz: 244dae88b5dc784a3469e5083244b43b7cf83a2826140e4625ebd13b4ef569ba030c6e69dc97655b5c58c89aa33fd36d8d6a7a77c19b9e0dbfeaff54127e67b5
7
- data.tar.gz: a4a9be2b9ae7413afc06c237cd8df1fb3269eb1c37b5914d09f48c91dd53057a5a4e3277d6b184b35d64f900add4136a69c1d19358a77b8e745743b0f8bc36ab
6
+ metadata.gz: c4bc6e8e11b6fe179154e2d2e5c828db11d462a2317b2dae36f828a973870b4e049c405e5889996bf4e95b5235580b0f838bb00abd45fca879f6a14fb4e9b7db
7
+ data.tar.gz: affb4dfa0a39f7a7bae8dc4b8576cc77f2481747ad8ab6f457a990cecd2b1e57a2f784d9627d94295d58f9a0868b86cb34141f4efa6dc25ef9a44bd924506d4a
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.350
1
+ 1.0.353
@@ -1687,7 +1687,6 @@ module TencentCloud
1687
1687
 
1688
1688
  # * 项目为一个虚拟概念,用户可以在一个账户下面建立多个项目,每个项目中管理不同的资源;将多个不同实例分属到不同项目中,后续使用 [`DescribeInstances`](https://cloud.tencent.com/document/api/213/15728)接口查询实例,项目ID可用于过滤结果。
1689
1689
  # * 绑定负载均衡的实例不支持修改实例所属项目,请先使用[`DeregisterInstancesFromLoadBalancer`](https://cloud.tencent.com/document/api/214/1258)接口解绑负载均衡。
1690
- # [^_^]: # ( 修改实例所属项目会自动解关联实例原来关联的安全组,修改完成后可使用[`ModifyInstancesAttribute`](https://cloud.tencent.com/document/api/213/15739)接口关联安全组。)
1691
1690
  # * 支持批量操作。每次请求批量实例的上限为100。
1692
1691
  # * 实例操作结果可以通过调用 [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
1692
 
@@ -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.350
4
+ version: 1.0.353
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-06 00:00:00.000000000 Z
11
+ date: 2022-07-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common