tencentcloud-sdk-cvm 3.0.983 → 3.0.984

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: 3a93a53e5b57eaca062b8d00e229151c4a6cc2fa
4
+ data.tar.gz: f17b89065e7e1350a5d0d5fe3c9c2e5b0f49ef0f
5
5
  SHA512:
6
- metadata.gz: d60d82805133f68ad1748a3db558b4057c553c15b3aa3a3cdb865e5046f42d75c63824af1e94e4c4a991b2a4b576f7f697b05141f8bf66ae462c9957f1f7a2e2
7
- data.tar.gz: f02b045be1bb9c8a034ac9ada2f0e5a1f0d400e4ffca584119836d04d3f6d351c442fb351c42a14f05c9711c780b964764a11b6dff9fd8f89ea77a8a4b3cba16
6
+ metadata.gz: d2f49df6cf0391e3531feaffc988385000773538ccab2574a60ac9aac7deebff7e555c770c3ca74256e1beae2cd1dd810cb7a8c3ec6807407ddd409cac3391e0
7
+ data.tar.gz: b927fa3adaf6d664b1c24042349504ed1e73ce947c8d40d39c8f21a74f530a239f033eea09383051639f2e3a35594a39e50915f6096c48d666c1a1ba12aab9ab
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.983
1
+ 3.0.984
@@ -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可用于过滤结果。
@@ -1517,7 +1517,7 @@ module TencentCloud
1517
1517
 
1518
1518
  # DeleteDisasterRecoverGroups请求参数结构体
1519
1519
  class DeleteDisasterRecoverGroupsRequest < TencentCloud::Common::AbstractModel
1520
- # @param DisasterRecoverGroupIds: 分散置放群组ID列表,可通过[DescribeDisasterRecoverGroups](https://cloud.tencent.com/document/api/213/17810)接口获取。每次请求允许操作的分散置放群组数量上限是100
1520
+ # @param DisasterRecoverGroupIds: 分散置放群组ID列表,可通过[DescribeDisasterRecoverGroups](https://cloud.tencent.com/document/api/213/17810)接口获取。每次请求允许操作的分散置放群组数量上限是10
1521
1521
  # @type DisasterRecoverGroupIds: Array
1522
1522
 
1523
1523
  attr_accessor :DisasterRecoverGroupIds
@@ -1975,7 +1975,7 @@ module TencentCloud
1975
1975
 
1976
1976
  # DescribeDisasterRecoverGroups请求参数结构体
1977
1977
  class DescribeDisasterRecoverGroupsRequest < TencentCloud::Common::AbstractModel
1978
- # @param DisasterRecoverGroupIds: 分散置放群组ID列表。每次请求允许操作的分散置放群组数量上限是100
1978
+ # @param DisasterRecoverGroupIds: 分散置放群组ID列表。每次请求允许操作的分散置放群组数量上限是10
1979
1979
  # @type DisasterRecoverGroupIds: Array
1980
1980
  # @param Name: 分散置放群组名称,支持模糊匹配。
1981
1981
  # @type Name: String
@@ -6551,6 +6551,46 @@ module TencentCloud
6551
6551
  end
6552
6552
  end
6553
6553
 
6554
+ # ModifyInstancesDisasterRecoverGroup请求参数结构体
6555
+ class ModifyInstancesDisasterRecoverGroupRequest < TencentCloud::Common::AbstractModel
6556
+ # @param InstanceIds: 一个或多个待操作的实例ID。可通过[`DescribeInstances`](https://cloud.tencent.com/document/api/213/15728)接口返回值中的`InstanceId`获取。每次请求批量实例的上限为1
6557
+ # @type InstanceIds: Array
6558
+ # @param DisasterRecoverGroupId: 分散置放群组ID,可使用[DescribeDisasterRecoverGroups](https://cloud.tencent.com/document/api/213/17810)接口获取
6559
+ # @type DisasterRecoverGroupId: String
6560
+ # @param Force: 是否强制更换实例宿主机。取值范围:<br><li>true:表示允许实例更换宿主机,允许重启实例。本地盘子机不支持指定此参数。</li><br><li>false:不允许实例更换宿主机,只在当前宿主机上加入置放群组。这可能导致更换置放群组失败。</li><br><br>默认取值:false
6561
+ # @type Force: Boolean
6562
+
6563
+ attr_accessor :InstanceIds, :DisasterRecoverGroupId, :Force
6564
+
6565
+ def initialize(instanceids=nil, disasterrecovergroupid=nil, force=nil)
6566
+ @InstanceIds = instanceids
6567
+ @DisasterRecoverGroupId = disasterrecovergroupid
6568
+ @Force = force
6569
+ end
6570
+
6571
+ def deserialize(params)
6572
+ @InstanceIds = params['InstanceIds']
6573
+ @DisasterRecoverGroupId = params['DisasterRecoverGroupId']
6574
+ @Force = params['Force']
6575
+ end
6576
+ end
6577
+
6578
+ # ModifyInstancesDisasterRecoverGroup返回参数结构体
6579
+ class ModifyInstancesDisasterRecoverGroupResponse < TencentCloud::Common::AbstractModel
6580
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
6581
+ # @type RequestId: String
6582
+
6583
+ attr_accessor :RequestId
6584
+
6585
+ def initialize(requestid=nil)
6586
+ @RequestId = requestid
6587
+ end
6588
+
6589
+ def deserialize(params)
6590
+ @RequestId = params['RequestId']
6591
+ end
6592
+ end
6593
+
6554
6594
  # ModifyInstancesProject请求参数结构体
6555
6595
  class ModifyInstancesProjectRequest < TencentCloud::Common::AbstractModel
6556
6596
  # @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.984
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-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common