tencentcloud-sdk-cvm 3.0.1009 → 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 +47 -8
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 995ac4c66b4b689502e612498469e5260b42b263
4
- data.tar.gz: 1b534ead439c7113af3de06ee066b1421562c8e7
3
+ metadata.gz: ea851156864c437de74d3990dedeae4e159bd849
4
+ data.tar.gz: 8e6db2b9d1ec509aad84b5234d05c58783b55ea8
5
5
  SHA512:
6
- metadata.gz: a58838e4844a89bbf9c61a3bff90b8a6da024087c88c642dd0c0a6e9cf283ce05ccd2f4bebb43fb5a8ada1af322eb7f64b3ada06c165c57630bc0a976725a376
7
- data.tar.gz: 9d2b4c27c33c3344cef63016f67156aadda1c58967ab2b8b0814aa809e4691a68af16cad912c3caa3a81d287c177dd24e1dbf8de0150eeae6fcce0d2cdf11522
6
+ metadata.gz: c290b9f109a4b2d2260b65bd1cd0e7757d70794b106a47d5c9b954daf714780c06a6fa7576ed4fe410c1a3141f1d6ec85e934e9ca343d25c9a46305b7e48805b
7
+ data.tar.gz: 80ae98e67430513825071e002fc51fe5d86bfed48ba55803f687dbe928f15f695434820660cd3f14275be6392d8e9c92c072369715565a867eeba82835db2138
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1009
1
+ 3.0.1011
@@ -797,19 +797,34 @@ module TencentCloud
797
797
  # @type Type: String
798
798
  # @param ClientToken: 用于保证请求幂等性的字符串。该字符串由客户生成,需保证不同请求之间唯一,最大值不超过64个ASCII字符。若不指定该参数,则无法保证请求的幂等性。<br>更多详细信息请参阅:如何保证幂等性。
799
799
  # @type ClientToken: String
800
+ # @param Affinity: 置放群组的亲和度,在置放群组的实例会按该亲和度分布,亲和度的取值范围是:1-10,默认为1
801
+ # @type Affinity: Integer
802
+ # @param TagSpecification: 标签描述列表。通过指定该参数可以绑定标签到置放群组。
803
+ # @type TagSpecification: Array
800
804
 
801
- attr_accessor :Name, :Type, :ClientToken
805
+ attr_accessor :Name, :Type, :ClientToken, :Affinity, :TagSpecification
802
806
 
803
- def initialize(name=nil, type=nil, clienttoken=nil)
807
+ def initialize(name=nil, type=nil, clienttoken=nil, affinity=nil, tagspecification=nil)
804
808
  @Name = name
805
809
  @Type = type
806
810
  @ClientToken = clienttoken
811
+ @Affinity = affinity
812
+ @TagSpecification = tagspecification
807
813
  end
808
814
 
809
815
  def deserialize(params)
810
816
  @Name = params['Name']
811
817
  @Type = params['Type']
812
818
  @ClientToken = params['ClientToken']
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
813
828
  end
814
829
  end
815
830
 
@@ -1995,14 +2010,21 @@ module TencentCloud
1995
2010
  # @type Offset: Integer
1996
2011
  # @param Limit: 返回数量,默认为20,最大值为100。关于`Limit`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。
1997
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
1998
2019
 
1999
- attr_accessor :DisasterRecoverGroupIds, :Name, :Offset, :Limit
2020
+ attr_accessor :DisasterRecoverGroupIds, :Name, :Offset, :Limit, :Filters
2000
2021
 
2001
- def initialize(disasterrecovergroupids=nil, name=nil, offset=nil, limit=nil)
2022
+ def initialize(disasterrecovergroupids=nil, name=nil, offset=nil, limit=nil, filters=nil)
2002
2023
  @DisasterRecoverGroupIds = disasterrecovergroupids
2003
2024
  @Name = name
2004
2025
  @Offset = offset
2005
2026
  @Limit = limit
2027
+ @Filters = filters
2006
2028
  end
2007
2029
 
2008
2030
  def deserialize(params)
@@ -2010,6 +2032,14 @@ module TencentCloud
2010
2032
  @Name = params['Name']
2011
2033
  @Offset = params['Offset']
2012
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
2013
2043
  end
2014
2044
  end
2015
2045
 
@@ -3534,15 +3564,15 @@ module TencentCloud
3534
3564
  # @param CurrentNum: 分散置放群组内云服务器当前数量。
3535
3565
  # @type CurrentNum: Integer
3536
3566
  # @param InstanceIds: 分散置放群组内,云服务器id列表。
3537
- # 注意:此字段可能返回 null,表示取不到有效值。
3538
3567
  # @type InstanceIds: Array
3539
3568
  # @param CreateTime: 分散置放群组创建时间。
3540
- # 注意:此字段可能返回 null,表示取不到有效值。
3541
3569
  # @type CreateTime: String
3570
+ # @param Tags: 置放群组关联的标签列表。
3571
+ # @type Tags: Array
3542
3572
 
3543
- attr_accessor :DisasterRecoverGroupId, :Name, :Type, :CvmQuotaTotal, :CurrentNum, :InstanceIds, :CreateTime
3573
+ attr_accessor :DisasterRecoverGroupId, :Name, :Type, :CvmQuotaTotal, :CurrentNum, :InstanceIds, :CreateTime, :Tags
3544
3574
 
3545
- 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)
3546
3576
  @DisasterRecoverGroupId = disasterrecovergroupid
3547
3577
  @Name = name
3548
3578
  @Type = type
@@ -3550,6 +3580,7 @@ module TencentCloud
3550
3580
  @CurrentNum = currentnum
3551
3581
  @InstanceIds = instanceids
3552
3582
  @CreateTime = createtime
3583
+ @Tags = tags
3553
3584
  end
3554
3585
 
3555
3586
  def deserialize(params)
@@ -3560,6 +3591,14 @@ module TencentCloud
3560
3591
  @CurrentNum = params['CurrentNum']
3561
3592
  @InstanceIds = params['InstanceIds']
3562
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
3563
3602
  end
3564
3603
  end
3565
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.1009
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-02 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