tencentcloud-sdk-mongodb 3.0.385 → 3.0.387

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ccd717ba060a3d796fc4f640bbe1826bd818b52f
4
- data.tar.gz: 5aaba8cc1d587f3309cc5d96529f2e0c0b569152
3
+ metadata.gz: 11411653c01ccaf0bcc8f9c2c002850e0b9aafb7
4
+ data.tar.gz: a0318e364a5d15c76f86bdffe5cbe2ca6fc33380
5
5
  SHA512:
6
- metadata.gz: 390e9d64cc34731d07710ce743bd7a98d1d016011351f1feeb62dbc0f5d912c42ea539d7578b476fec4970326b5228b404226cf5346756e78e27ba5abaaf9507
7
- data.tar.gz: 0871604fd2c416b16e6cb951fa1bb4b325774308432ef4b10cc90428d39caad603ce55b2734e428ba642a2b83bc020221ccc8a999b951290e09c92f647354e1e
6
+ metadata.gz: 315338fda30fb59f91bac8dd58ff14818747e16d80dc7d7ada5b4d050d97359890718fcaee7d2d7d7eedcf2668b18d54610b7002d1cb4dd63d4681fff74b80f7
7
+ data.tar.gz: 69a83d2f77cc266f5170fedcc9d7ebbf4b26bb243d42e14ab5e9e8fa3df9e4077da64e72fd37db3493c4ccb5d15c6d001a50b491ec99e30610a94419a8f345a6
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.385
1
+ 3.0.387
@@ -773,6 +773,30 @@ module TencentCloud
773
773
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
774
774
  end
775
775
 
776
+ # 包年包月实例隔离接口
777
+
778
+ # @param request: Request instance for TerminateDBInstances.
779
+ # @type request: :class:`Tencentcloud::mongodb::V20190725::TerminateDBInstancesRequest`
780
+ # @rtype: :class:`Tencentcloud::mongodb::V20190725::TerminateDBInstancesResponse`
781
+ def TerminateDBInstances(request)
782
+ body = send_request('TerminateDBInstances', request.serialize)
783
+ response = JSON.parse(body)
784
+ if response['Response'].key?('Error') == false
785
+ model = TerminateDBInstancesResponse.new
786
+ model.deserialize(response['Response'])
787
+ model
788
+ else
789
+ code = response['Response']['Error']['Code']
790
+ message = response['Response']['Error']['Message']
791
+ reqid = response['Response']['RequestId']
792
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
793
+ end
794
+ rescue TencentCloud::Common::TencentCloudSDKException => e
795
+ raise e
796
+ rescue StandardError => e
797
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
798
+ end
799
+
776
800
 
777
801
  end
778
802
  end
@@ -2915,6 +2915,38 @@ module TencentCloud
2915
2915
  end
2916
2916
  end
2917
2917
 
2918
+ # TerminateDBInstances请求参数结构体
2919
+ class TerminateDBInstancesRequest < TencentCloud::Common::AbstractModel
2920
+ # @param InstanceId: 实例Id列表
2921
+ # @type InstanceId: String
2922
+
2923
+ attr_accessor :InstanceId
2924
+
2925
+ def initialize(instanceid=nil)
2926
+ @InstanceId = instanceid
2927
+ end
2928
+
2929
+ def deserialize(params)
2930
+ @InstanceId = params['InstanceId']
2931
+ end
2932
+ end
2933
+
2934
+ # TerminateDBInstances返回参数结构体
2935
+ class TerminateDBInstancesResponse < TencentCloud::Common::AbstractModel
2936
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2937
+ # @type RequestId: String
2938
+
2939
+ attr_accessor :RequestId
2940
+
2941
+ def initialize(requestid=nil)
2942
+ @RequestId = requestid
2943
+ end
2944
+
2945
+ def deserialize(params)
2946
+ @RequestId = params['RequestId']
2947
+ end
2948
+ end
2949
+
2918
2950
  end
2919
2951
  end
2920
2952
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-mongodb
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.385
4
+ version: 3.0.387
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-08-11 00:00:00.000000000 Z
11
+ date: 2022-08-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common