tencentcloud-sdk-cvm 3.0.1010 → 3.0.1011

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20170312/models.rb +43 -8
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 818060cbd87b3d47c9afb9b9b0be19180a666ffa
4
- data.tar.gz: 9fe32dc3af53e253571452d8bc0d6e3bff835fdd
3
+ metadata.gz: ea851156864c437de74d3990dedeae4e159bd849
4
+ data.tar.gz: 8e6db2b9d1ec509aad84b5234d05c58783b55ea8
5
5
  SHA512:
6
- metadata.gz: e08926a1c56e9fe362c6779bfca4cc66d2f94f24e7cae4227b651b2a3475c05614b578046974103d4ed24c3a8d78326db147e8c1e730f35bcdf0f33f6d66fe1b
7
- data.tar.gz: 54d4990110254586177f614b98375904213a05fa2e18c480f5f4e8d4a6d9147af6e59d683387355664a97555f941ecf07f8e35ae1007ccee1a1c4de4e71e3f9a
6
+ metadata.gz: c290b9f109a4b2d2260b65bd1cd0e7757d70794b106a47d5c9b954daf714780c06a6fa7576ed4fe410c1a3141f1d6ec85e934e9ca343d25c9a46305b7e48805b
7
+ data.tar.gz: 80ae98e67430513825071e002fc51fe5d86bfed48ba55803f687dbe928f15f695434820660cd3f14275be6392d8e9c92c072369715565a867eeba82835db2138
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1010
1
+ 3.0.1011
@@ -799,14 +799,17 @@ module TencentCloud
799
799
  # @type ClientToken: String
800
800
  # @param Affinity: 置放群组的亲和度,在置放群组的实例会按该亲和度分布,亲和度的取值范围是:1-10,默认为1
801
801
  # @type Affinity: Integer
802
+ # @param TagSpecification: 标签描述列表。通过指定该参数可以绑定标签到置放群组。
803
+ # @type TagSpecification: Array
802
804
 
803
- attr_accessor :Name, :Type, :ClientToken, :Affinity
805
+ attr_accessor :Name, :Type, :ClientToken, :Affinity, :TagSpecification
804
806
 
805
- def initialize(name=nil, type=nil, clienttoken=nil, affinity=nil)
807
+ def initialize(name=nil, type=nil, clienttoken=nil, affinity=nil, tagspecification=nil)
806
808
  @Name = name
807
809
  @Type = type
808
810
  @ClientToken = clienttoken
809
811
  @Affinity = affinity
812
+ @TagSpecification = tagspecification
810
813
  end
811
814
 
812
815
  def deserialize(params)
@@ -814,6 +817,14 @@ module TencentCloud
814
817
  @Type = params['Type']
815
818
  @ClientToken = params['ClientToken']
816
819
  @Affinity = params['Affinity']
820
+ unless params['TagSpecification'].nil?
821
+ @TagSpecification = []
822
+ params['TagSpecification'].each do |i|
823
+ tagspecification_tmp = TagSpecification.new
824
+ tagspecification_tmp.deserialize(i)
825
+ @TagSpecification << tagspecification_tmp
826
+ end
827
+ end
817
828
  end
818
829
  end
819
830
 
@@ -1999,14 +2010,21 @@ module TencentCloud
1999
2010
  # @type Offset: Integer
2000
2011
  # @param Limit: 返回数量,默认为20,最大值为100。关于`Limit`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。
2001
2012
  # @type Limit: Integer
2013
+ # @param Filters: <li><strong>tag-key</strong></li>
2014
+ # <p style="padding-left: 30px;">按照【<strong>标签键</strong>】进行过滤。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p>
2015
+ # <li><strong>tag-value</strong></li> <p style="padding-left: 30px;">按照【<strong>标签值</strong>】进行过滤。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p>
2016
+ # <li><strong>tag:tag-key</strong></li> <p style="padding-left: 30px;">按照【<strong>标签键值对</strong>】进行过滤。tag-key使用具体的标签键进行替换。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p>
2017
+ # 每次请求的`Filters`的上限为10,`Filter.Values`的上限为5。
2018
+ # @type Filters: Array
2002
2019
 
2003
- attr_accessor :DisasterRecoverGroupIds, :Name, :Offset, :Limit
2020
+ attr_accessor :DisasterRecoverGroupIds, :Name, :Offset, :Limit, :Filters
2004
2021
 
2005
- def initialize(disasterrecovergroupids=nil, name=nil, offset=nil, limit=nil)
2022
+ def initialize(disasterrecovergroupids=nil, name=nil, offset=nil, limit=nil, filters=nil)
2006
2023
  @DisasterRecoverGroupIds = disasterrecovergroupids
2007
2024
  @Name = name
2008
2025
  @Offset = offset
2009
2026
  @Limit = limit
2027
+ @Filters = filters
2010
2028
  end
2011
2029
 
2012
2030
  def deserialize(params)
@@ -2014,6 +2032,14 @@ module TencentCloud
2014
2032
  @Name = params['Name']
2015
2033
  @Offset = params['Offset']
2016
2034
  @Limit = params['Limit']
2035
+ unless params['Filters'].nil?
2036
+ @Filters = []
2037
+ params['Filters'].each do |i|
2038
+ filter_tmp = Filter.new
2039
+ filter_tmp.deserialize(i)
2040
+ @Filters << filter_tmp
2041
+ end
2042
+ end
2017
2043
  end
2018
2044
  end
2019
2045
 
@@ -3538,15 +3564,15 @@ module TencentCloud
3538
3564
  # @param CurrentNum: 分散置放群组内云服务器当前数量。
3539
3565
  # @type CurrentNum: Integer
3540
3566
  # @param InstanceIds: 分散置放群组内,云服务器id列表。
3541
- # 注意:此字段可能返回 null,表示取不到有效值。
3542
3567
  # @type InstanceIds: Array
3543
3568
  # @param CreateTime: 分散置放群组创建时间。
3544
- # 注意:此字段可能返回 null,表示取不到有效值。
3545
3569
  # @type CreateTime: String
3570
+ # @param Tags: 置放群组关联的标签列表。
3571
+ # @type Tags: Array
3546
3572
 
3547
- attr_accessor :DisasterRecoverGroupId, :Name, :Type, :CvmQuotaTotal, :CurrentNum, :InstanceIds, :CreateTime
3573
+ attr_accessor :DisasterRecoverGroupId, :Name, :Type, :CvmQuotaTotal, :CurrentNum, :InstanceIds, :CreateTime, :Tags
3548
3574
 
3549
- def initialize(disasterrecovergroupid=nil, name=nil, type=nil, cvmquotatotal=nil, currentnum=nil, instanceids=nil, createtime=nil)
3575
+ def initialize(disasterrecovergroupid=nil, name=nil, type=nil, cvmquotatotal=nil, currentnum=nil, instanceids=nil, createtime=nil, tags=nil)
3550
3576
  @DisasterRecoverGroupId = disasterrecovergroupid
3551
3577
  @Name = name
3552
3578
  @Type = type
@@ -3554,6 +3580,7 @@ module TencentCloud
3554
3580
  @CurrentNum = currentnum
3555
3581
  @InstanceIds = instanceids
3556
3582
  @CreateTime = createtime
3583
+ @Tags = tags
3557
3584
  end
3558
3585
 
3559
3586
  def deserialize(params)
@@ -3564,6 +3591,14 @@ module TencentCloud
3564
3591
  @CurrentNum = params['CurrentNum']
3565
3592
  @InstanceIds = params['InstanceIds']
3566
3593
  @CreateTime = params['CreateTime']
3594
+ unless params['Tags'].nil?
3595
+ @Tags = []
3596
+ params['Tags'].each do |i|
3597
+ tag_tmp = Tag.new
3598
+ tag_tmp.deserialize(i)
3599
+ @Tags << tag_tmp
3600
+ end
3601
+ end
3567
3602
  end
3568
3603
  end
3569
3604
 
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: 3.0.1010
4
+ version: 3.0.1011
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-03-03 00:00:00.000000000 Z
11
+ date: 2025-03-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common