tencentcloud-sdk-cvm 3.0.983 → 3.0.985

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: 403fa533a1900a8ac2d3231f39cd6691accd8150
4
- data.tar.gz: c4d0f0a8da669e1dd5d7db1b8e8e69e4077fd35a
3
+ metadata.gz: e43f39db6fac690de1617e9c5d2421aebb81322c
4
+ data.tar.gz: 216a386b9e4b6b89571af74540fb5da4ffb1b533
5
5
  SHA512:
6
- metadata.gz: d60d82805133f68ad1748a3db558b4057c553c15b3aa3a3cdb865e5046f42d75c63824af1e94e4c4a991b2a4b576f7f697b05141f8bf66ae462c9957f1f7a2e2
7
- data.tar.gz: f02b045be1bb9c8a034ac9ada2f0e5a1f0d400e4ffca584119836d04d3f6d351c442fb351c42a14f05c9711c780b964764a11b6dff9fd8f89ea77a8a4b3cba16
6
+ metadata.gz: 925d951f361813e9c5f180ed020caf05b0c5b4f2624db4fda765c4ef28a3f946e262da371e1891863d32e93f38467080f982678ec3e91d7e480b44dec9dbcef0
7
+ data.tar.gz: 97d6dd4bc64bb935407ab7719f3e647c979e158ebacc524b924a7607958436050896167b204b3eb9da2dc137b78be96057170e3c4728ba7af6e2e741dd1b630f
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.983
1
+ 3.0.985
@@ -1931,6 +1931,31 @@ module TencentCloud
1931
1931
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1932
1932
  end
1933
1933
 
1934
+ # 本接口 (ModifyInstancesDisasterRecoverGroup) 用于调整实例所在置放群组。
1935
+ # * 目前只支持基础网络或私有网络实例。
1936
+
1937
+ # @param request: Request instance for ModifyInstancesDisasterRecoverGroup.
1938
+ # @type request: :class:`Tencentcloud::cvm::V20170312::ModifyInstancesDisasterRecoverGroupRequest`
1939
+ # @rtype: :class:`Tencentcloud::cvm::V20170312::ModifyInstancesDisasterRecoverGroupResponse`
1940
+ def ModifyInstancesDisasterRecoverGroup(request)
1941
+ body = send_request('ModifyInstancesDisasterRecoverGroup', request.serialize)
1942
+ response = JSON.parse(body)
1943
+ if response['Response'].key?('Error') == false
1944
+ model = ModifyInstancesDisasterRecoverGroupResponse.new
1945
+ model.deserialize(response['Response'])
1946
+ model
1947
+ else
1948
+ code = response['Response']['Error']['Code']
1949
+ message = response['Response']['Error']['Message']
1950
+ reqid = response['Response']['RequestId']
1951
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1952
+ end
1953
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1954
+ raise e
1955
+ rescue StandardError => e
1956
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1957
+ end
1958
+
1934
1959
  # 本接口 (ModifyInstancesProject) 用于修改实例所属项目。
1935
1960
 
1936
1961
  # * 项目为一个虚拟概念,用户可以在一个账户下面建立多个项目,每个项目中管理不同的资源;将多个不同实例分属到不同项目中,后续使用 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728)接口查询实例,项目ID可用于过滤结果。
@@ -868,15 +868,18 @@ module TencentCloud
868
868
  # @type HpcClusterType: String
869
869
  # @param HpcClusterBusinessId: 高性能计算集群对应的业务场景标识,当前只支持CDC。
870
870
  # @type HpcClusterBusinessId: String
871
+ # @param TagSpecification: 标签描述列表。通过指定该参数可以同时绑定标签到相应的HPC高性能集群。
872
+ # @type TagSpecification: Array
871
873
 
872
- attr_accessor :Zone, :Name, :Remark, :HpcClusterType, :HpcClusterBusinessId
874
+ attr_accessor :Zone, :Name, :Remark, :HpcClusterType, :HpcClusterBusinessId, :TagSpecification
873
875
 
874
- def initialize(zone=nil, name=nil, remark=nil, hpcclustertype=nil, hpcclusterbusinessid=nil)
876
+ def initialize(zone=nil, name=nil, remark=nil, hpcclustertype=nil, hpcclusterbusinessid=nil, tagspecification=nil)
875
877
  @Zone = zone
876
878
  @Name = name
877
879
  @Remark = remark
878
880
  @HpcClusterType = hpcclustertype
879
881
  @HpcClusterBusinessId = hpcclusterbusinessid
882
+ @TagSpecification = tagspecification
880
883
  end
881
884
 
882
885
  def deserialize(params)
@@ -885,6 +888,14 @@ module TencentCloud
885
888
  @Remark = params['Remark']
886
889
  @HpcClusterType = params['HpcClusterType']
887
890
  @HpcClusterBusinessId = params['HpcClusterBusinessId']
891
+ unless params['TagSpecification'].nil?
892
+ @TagSpecification = []
893
+ params['TagSpecification'].each do |i|
894
+ tagspecification_tmp = TagSpecification.new
895
+ tagspecification_tmp.deserialize(i)
896
+ @TagSpecification << tagspecification_tmp
897
+ end
898
+ end
888
899
  end
889
900
  end
890
901
 
@@ -1517,7 +1528,7 @@ module TencentCloud
1517
1528
 
1518
1529
  # DeleteDisasterRecoverGroups请求参数结构体
1519
1530
  class DeleteDisasterRecoverGroupsRequest < TencentCloud::Common::AbstractModel
1520
- # @param DisasterRecoverGroupIds: 分散置放群组ID列表,可通过[DescribeDisasterRecoverGroups](https://cloud.tencent.com/document/api/213/17810)接口获取。每次请求允许操作的分散置放群组数量上限是100
1531
+ # @param DisasterRecoverGroupIds: 分散置放群组ID列表,可通过[DescribeDisasterRecoverGroups](https://cloud.tencent.com/document/api/213/17810)接口获取。每次请求允许操作的分散置放群组数量上限是10
1521
1532
  # @type DisasterRecoverGroupIds: Array
1522
1533
 
1523
1534
  attr_accessor :DisasterRecoverGroupIds
@@ -1975,7 +1986,7 @@ module TencentCloud
1975
1986
 
1976
1987
  # DescribeDisasterRecoverGroups请求参数结构体
1977
1988
  class DescribeDisasterRecoverGroupsRequest < TencentCloud::Common::AbstractModel
1978
- # @param DisasterRecoverGroupIds: 分散置放群组ID列表。每次请求允许操作的分散置放群组数量上限是100
1989
+ # @param DisasterRecoverGroupIds: 分散置放群组ID列表。每次请求允许操作的分散置放群组数量上限是10
1979
1990
  # @type DisasterRecoverGroupIds: Array
1980
1991
  # @param Name: 分散置放群组名称,支持模糊匹配。
1981
1992
  # @type Name: String
@@ -2123,10 +2134,14 @@ module TencentCloud
2123
2134
  # @type HpcClusterType: String
2124
2135
  # @param HpcClusterBusinessId: 高性能计算集群对应的业务场景标识,当前只支持CDC。
2125
2136
  # @type HpcClusterBusinessId: String
2137
+ # @param InstanceType: 高性能计算集群实例类型
2138
+ # @type InstanceType: String
2139
+ # @param Filters: <li><strong>tag-key</strong></li> <p style="padding-left: 30px;">按照【<strong>标签键</strong>】进行过滤。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p> <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> <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> 每次请求的`Filters`的上限为10,`Filter.Values`的上限为5。
2140
+ # @type Filters: Array
2126
2141
 
2127
- attr_accessor :HpcClusterIds, :Name, :Zone, :Offset, :Limit, :HpcClusterType, :HpcClusterBusinessId
2142
+ attr_accessor :HpcClusterIds, :Name, :Zone, :Offset, :Limit, :HpcClusterType, :HpcClusterBusinessId, :InstanceType, :Filters
2128
2143
 
2129
- def initialize(hpcclusterids=nil, name=nil, zone=nil, offset=nil, limit=nil, hpcclustertype=nil, hpcclusterbusinessid=nil)
2144
+ def initialize(hpcclusterids=nil, name=nil, zone=nil, offset=nil, limit=nil, hpcclustertype=nil, hpcclusterbusinessid=nil, instancetype=nil, filters=nil)
2130
2145
  @HpcClusterIds = hpcclusterids
2131
2146
  @Name = name
2132
2147
  @Zone = zone
@@ -2134,6 +2149,8 @@ module TencentCloud
2134
2149
  @Limit = limit
2135
2150
  @HpcClusterType = hpcclustertype
2136
2151
  @HpcClusterBusinessId = hpcclusterbusinessid
2152
+ @InstanceType = instancetype
2153
+ @Filters = filters
2137
2154
  end
2138
2155
 
2139
2156
  def deserialize(params)
@@ -2144,6 +2161,15 @@ module TencentCloud
2144
2161
  @Limit = params['Limit']
2145
2162
  @HpcClusterType = params['HpcClusterType']
2146
2163
  @HpcClusterBusinessId = params['HpcClusterBusinessId']
2164
+ @InstanceType = params['InstanceType']
2165
+ unless params['Filters'].nil?
2166
+ @Filters = []
2167
+ params['Filters'].each do |i|
2168
+ filter_tmp = Filter.new
2169
+ filter_tmp.deserialize(i)
2170
+ @Filters << filter_tmp
2171
+ end
2172
+ end
2147
2173
  end
2148
2174
  end
2149
2175
 
@@ -4012,10 +4038,14 @@ module TencentCloud
4012
4038
  # @param HpcClusterBusinessId: 高性能计算集群对应的业务场景标识,当前只支持CDC。
4013
4039
  # 注意:此字段可能返回 null,表示取不到有效值。
4014
4040
  # @type HpcClusterBusinessId: String
4041
+ # @param HpcClusterNetMode: 高性能计算集群网络模式
4042
+ # @type HpcClusterNetMode: Integer
4043
+ # @param Tags: 高性能计算集群关联的标签列表
4044
+ # @type Tags: Array
4015
4045
 
4016
- attr_accessor :HpcClusterId, :Name, :Remark, :CvmQuotaTotal, :Zone, :CurrentNum, :CreateTime, :InstanceIds, :HpcClusterType, :HpcClusterBusinessId
4046
+ attr_accessor :HpcClusterId, :Name, :Remark, :CvmQuotaTotal, :Zone, :CurrentNum, :CreateTime, :InstanceIds, :HpcClusterType, :HpcClusterBusinessId, :HpcClusterNetMode, :Tags
4017
4047
 
4018
- def initialize(hpcclusterid=nil, name=nil, remark=nil, cvmquotatotal=nil, zone=nil, currentnum=nil, createtime=nil, instanceids=nil, hpcclustertype=nil, hpcclusterbusinessid=nil)
4048
+ def initialize(hpcclusterid=nil, name=nil, remark=nil, cvmquotatotal=nil, zone=nil, currentnum=nil, createtime=nil, instanceids=nil, hpcclustertype=nil, hpcclusterbusinessid=nil, hpcclusternetmode=nil, tags=nil)
4019
4049
  @HpcClusterId = hpcclusterid
4020
4050
  @Name = name
4021
4051
  @Remark = remark
@@ -4026,6 +4056,8 @@ module TencentCloud
4026
4056
  @InstanceIds = instanceids
4027
4057
  @HpcClusterType = hpcclustertype
4028
4058
  @HpcClusterBusinessId = hpcclusterbusinessid
4059
+ @HpcClusterNetMode = hpcclusternetmode
4060
+ @Tags = tags
4029
4061
  end
4030
4062
 
4031
4063
  def deserialize(params)
@@ -4039,6 +4071,15 @@ module TencentCloud
4039
4071
  @InstanceIds = params['InstanceIds']
4040
4072
  @HpcClusterType = params['HpcClusterType']
4041
4073
  @HpcClusterBusinessId = params['HpcClusterBusinessId']
4074
+ @HpcClusterNetMode = params['HpcClusterNetMode']
4075
+ unless params['Tags'].nil?
4076
+ @Tags = []
4077
+ params['Tags'].each do |i|
4078
+ tag_tmp = Tag.new
4079
+ tag_tmp.deserialize(i)
4080
+ @Tags << tag_tmp
4081
+ end
4082
+ end
4042
4083
  end
4043
4084
  end
4044
4085
 
@@ -6551,6 +6592,46 @@ module TencentCloud
6551
6592
  end
6552
6593
  end
6553
6594
 
6595
+ # ModifyInstancesDisasterRecoverGroup请求参数结构体
6596
+ class ModifyInstancesDisasterRecoverGroupRequest < TencentCloud::Common::AbstractModel
6597
+ # @param InstanceIds: 一个或多个待操作的实例ID。可通过[`DescribeInstances`](https://cloud.tencent.com/document/api/213/15728)接口返回值中的`InstanceId`获取。每次请求批量实例的上限为1
6598
+ # @type InstanceIds: Array
6599
+ # @param DisasterRecoverGroupId: 分散置放群组ID,可使用[DescribeDisasterRecoverGroups](https://cloud.tencent.com/document/api/213/17810)接口获取
6600
+ # @type DisasterRecoverGroupId: String
6601
+ # @param Force: 是否强制更换实例宿主机。取值范围:<br><li>true:表示允许实例更换宿主机,允许重启实例。本地盘子机不支持指定此参数。</li><br><li>false:不允许实例更换宿主机,只在当前宿主机上加入置放群组。这可能导致更换置放群组失败。</li><br><br>默认取值:false
6602
+ # @type Force: Boolean
6603
+
6604
+ attr_accessor :InstanceIds, :DisasterRecoverGroupId, :Force
6605
+
6606
+ def initialize(instanceids=nil, disasterrecovergroupid=nil, force=nil)
6607
+ @InstanceIds = instanceids
6608
+ @DisasterRecoverGroupId = disasterrecovergroupid
6609
+ @Force = force
6610
+ end
6611
+
6612
+ def deserialize(params)
6613
+ @InstanceIds = params['InstanceIds']
6614
+ @DisasterRecoverGroupId = params['DisasterRecoverGroupId']
6615
+ @Force = params['Force']
6616
+ end
6617
+ end
6618
+
6619
+ # ModifyInstancesDisasterRecoverGroup返回参数结构体
6620
+ class ModifyInstancesDisasterRecoverGroupResponse < TencentCloud::Common::AbstractModel
6621
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
6622
+ # @type RequestId: String
6623
+
6624
+ attr_accessor :RequestId
6625
+
6626
+ def initialize(requestid=nil)
6627
+ @RequestId = requestid
6628
+ end
6629
+
6630
+ def deserialize(params)
6631
+ @RequestId = params['RequestId']
6632
+ end
6633
+ end
6634
+
6554
6635
  # ModifyInstancesProject请求参数结构体
6555
6636
  class ModifyInstancesProjectRequest < TencentCloud::Common::AbstractModel
6556
6637
  # @param InstanceIds: 一个或多个待操作的实例ID。可通过 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) API返回值中的`InstanceId`获取。每次请求允许操作的实例数量上限是100。
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.983
4
+ version: 3.0.985
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-01-15 00:00:00.000000000 Z
11
+ date: 2025-01-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common