tencentcloud-sdk-sqlserver 3.0.625 → 3.0.626

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: dc10c644847feb589b9e2b6a738d166efce5382f
4
- data.tar.gz: 44d92217885b09f757caa75fec105731df27c10b
3
+ metadata.gz: 41cb445812ad530f490e16faad143cd19396ae36
4
+ data.tar.gz: 19604c87816346866c99004bf5310ee0eb9c27e8
5
5
  SHA512:
6
- metadata.gz: d31456dccdbd01d18c85de365d0461d47fecbeee9df4c4bbe18a821b4df48072271f920616d74197e94b831c3420a50c13e43fb47da821f9e091a0348ec5b3d0
7
- data.tar.gz: 53beec1178ecacf5ef56023e44374dd955e1b7c4bd2133f4cdaaea6d387ee383633d6662904a0ebe7a31532994041d5c285a58595566039e2438bbe2f3671939
6
+ metadata.gz: 22eef5f2e1d8bfd024e61884c032871b71f7ed9c979108512725185881f646adebb37ac35a84835d4adeb320ace7dd4a852ca823275a23a1b76ebecb4f956724
7
+ data.tar.gz: d32f49de56cf707120d4319687631f95844a80c07ce0d5742acf6a89fe58f909fb65a0e451e975c98411d7f50d6ed696b715f9e4dcf322b890b592cc9eaac1f6
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.625
1
+ 3.0.626
@@ -1109,6 +1109,30 @@ module TencentCloud
1109
1109
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1110
1110
  end
1111
1111
 
1112
+ # 本接口(DescribeInstanceByOrders)用于根据订单号查询资源ID
1113
+
1114
+ # @param request: Request instance for DescribeInstanceByOrders.
1115
+ # @type request: :class:`Tencentcloud::sqlserver::V20180328::DescribeInstanceByOrdersRequest`
1116
+ # @rtype: :class:`Tencentcloud::sqlserver::V20180328::DescribeInstanceByOrdersResponse`
1117
+ def DescribeInstanceByOrders(request)
1118
+ body = send_request('DescribeInstanceByOrders', request.serialize)
1119
+ response = JSON.parse(body)
1120
+ if response['Response'].key?('Error') == false
1121
+ model = DescribeInstanceByOrdersResponse.new
1122
+ model.deserialize(response['Response'])
1123
+ model
1124
+ else
1125
+ code = response['Response']['Error']['Code']
1126
+ message = response['Response']['Error']['Message']
1127
+ reqid = response['Response']['RequestId']
1128
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1129
+ end
1130
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1131
+ raise e
1132
+ rescue StandardError => e
1133
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1134
+ end
1135
+
1112
1136
  # 该接口(DescribeInstanceParamRecords)用于查询实例参数修改历史。
1113
1137
 
1114
1138
  # @param request: Request instance for DescribeInstanceParamRecords.
@@ -2519,6 +2519,26 @@ module TencentCloud
2519
2519
  end
2520
2520
  end
2521
2521
 
2522
+ # 订单号对应的资源ID列表
2523
+ class DealInstance < TencentCloud::Common::AbstractModel
2524
+ # @param InstanceId: 实例ID
2525
+ # @type InstanceId: Array
2526
+ # @param DealName: 订单号
2527
+ # @type DealName: String
2528
+
2529
+ attr_accessor :InstanceId, :DealName
2530
+
2531
+ def initialize(instanceid=nil, dealname=nil)
2532
+ @InstanceId = instanceid
2533
+ @DealName = dealname
2534
+ end
2535
+
2536
+ def deserialize(params)
2537
+ @InstanceId = params['InstanceId']
2538
+ @DealName = params['DealName']
2539
+ end
2540
+ end
2541
+
2522
2542
  # DeleteAccount请求参数结构体
2523
2543
  class DeleteAccountRequest < TencentCloud::Common::AbstractModel
2524
2544
  # @param InstanceId: 数据库实例ID,形如mssql-njj2mtpl
@@ -4005,6 +4025,49 @@ module TencentCloud
4005
4025
  end
4006
4026
  end
4007
4027
 
4028
+ # DescribeInstanceByOrders请求参数结构体
4029
+ class DescribeInstanceByOrdersRequest < TencentCloud::Common::AbstractModel
4030
+ # @param DealNames: 订单号集合
4031
+ # @type DealNames: Array
4032
+
4033
+ attr_accessor :DealNames
4034
+
4035
+ def initialize(dealnames=nil)
4036
+ @DealNames = dealnames
4037
+ end
4038
+
4039
+ def deserialize(params)
4040
+ @DealNames = params['DealNames']
4041
+ end
4042
+ end
4043
+
4044
+ # DescribeInstanceByOrders返回参数结构体
4045
+ class DescribeInstanceByOrdersResponse < TencentCloud::Common::AbstractModel
4046
+ # @param DealInstance: 资源ID集合
4047
+ # @type DealInstance: Array
4048
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4049
+ # @type RequestId: String
4050
+
4051
+ attr_accessor :DealInstance, :RequestId
4052
+
4053
+ def initialize(dealinstance=nil, requestid=nil)
4054
+ @DealInstance = dealinstance
4055
+ @RequestId = requestid
4056
+ end
4057
+
4058
+ def deserialize(params)
4059
+ unless params['DealInstance'].nil?
4060
+ @DealInstance = []
4061
+ params['DealInstance'].each do |i|
4062
+ dealinstance_tmp = DealInstance.new
4063
+ dealinstance_tmp.deserialize(i)
4064
+ @DealInstance << dealinstance_tmp
4065
+ end
4066
+ end
4067
+ @RequestId = params['RequestId']
4068
+ end
4069
+ end
4070
+
4008
4071
  # DescribeInstanceParamRecords请求参数结构体
4009
4072
  class DescribeInstanceParamRecordsRequest < TencentCloud::Common::AbstractModel
4010
4073
  # @param InstanceId: 实例 ID,格式如:mssql-dj5i29c5n,与云数据库控制台页面中显示的实例 ID 相同,可使用 DescribeDBInstances 接口获取,其值为输出参数中字段 InstanceId 的值。
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-sqlserver
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.625
4
+ version: 3.0.626
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-08-01 00:00:00.000000000 Z
11
+ date: 2023-08-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common