tencentcloud-sdk-ms 3.0.620 → 3.0.621

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: d4dc414547845ebe8616b5a61fa8e6970915477a
4
- data.tar.gz: 9b1d1f73bbea4397a3ac7cf590cdaac87886f1aa
3
+ metadata.gz: d4278c770bd9a12dd6cb9644655c0d09aa1d051c
4
+ data.tar.gz: ffffb1389bb76b5e92cb7d7c6ca1b87585186664
5
5
  SHA512:
6
- metadata.gz: ce7442a38c136bed51b863762b0784217751b6f12e0e3d5d4d39c6801603de8cbb44432554af5a62ce7c9808ea95c0d9a4e0af32b70217fc5f61ac9df2d2cefa
7
- data.tar.gz: 3de87d5f92cb6003bc903bc2e35446dfd559670032b73e76e93db4b8a0ed3dea422e356c7b0d80c6a7f35865a99acc40197a6630d99e8c85c4640dbbe0f17c96
6
+ metadata.gz: 66609c7b934e5ff3474dbc0bfed9faa9236c952d467c35dcad9ea53d58b8ffeca3d9782eaea99d9298490ea7964a31b54996d965cbb8d2630219ffc278b61a2c
7
+ data.tar.gz: 84f9acf07b8636eca0187f6cf8a3f3d600637367ec70605ca3eb3c501a869f9a67233782667420686091b6ebb636907424891d8a9c674010d7db9d9c4c3a8ffb
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.620
1
+ 3.0.621
@@ -29,6 +29,30 @@ module TencentCloud
29
29
  end
30
30
 
31
31
 
32
+ # 该接口供渠道合作应用加固使用,接口调用有白名单用户限制,取消渠道合作加固中的任务。
33
+
34
+ # @param request: Request instance for CancelEncryptTask.
35
+ # @type request: :class:`Tencentcloud::ms::V20180408::CancelEncryptTaskRequest`
36
+ # @rtype: :class:`Tencentcloud::ms::V20180408::CancelEncryptTaskResponse`
37
+ def CancelEncryptTask(request)
38
+ body = send_request('CancelEncryptTask', request.serialize)
39
+ response = JSON.parse(body)
40
+ if response['Response'].key?('Error') == false
41
+ model = CancelEncryptTaskResponse.new
42
+ model.deserialize(response['Response'])
43
+ model
44
+ else
45
+ code = response['Response']['Error']['Code']
46
+ message = response['Response']['Error']['Message']
47
+ reqid = response['Response']['RequestId']
48
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
49
+ end
50
+ rescue TencentCloud::Common::TencentCloudSDKException => e
51
+ raise e
52
+ rescue StandardError => e
53
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
54
+ end
55
+
32
56
  # 将应用和资源进行绑定。(注意:根据国家互联网用户实名制相关要求,使用该产品前,需先完成实名认证。)
33
57
 
34
58
  # @param request: Request instance for CreateBindInstance.
@@ -77,6 +101,56 @@ module TencentCloud
77
101
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
78
102
  end
79
103
 
104
+ # 该接口供渠道合作应用加固使用,接口调用有白名单用户限制,用于创建加固任务。
105
+
106
+ # @param request: Request instance for CreateEncryptInstance.
107
+ # @type request: :class:`Tencentcloud::ms::V20180408::CreateEncryptInstanceRequest`
108
+ # @rtype: :class:`Tencentcloud::ms::V20180408::CreateEncryptInstanceResponse`
109
+ def CreateEncryptInstance(request)
110
+ body = send_request('CreateEncryptInstance', request.serialize)
111
+ response = JSON.parse(body)
112
+ if response['Response'].key?('Error') == false
113
+ model = CreateEncryptInstanceResponse.new
114
+ model.deserialize(response['Response'])
115
+ model
116
+ else
117
+ code = response['Response']['Error']['Code']
118
+ message = response['Response']['Error']['Message']
119
+ reqid = response['Response']['RequestId']
120
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
121
+ end
122
+ rescue TencentCloud::Common::TencentCloudSDKException => e
123
+ raise e
124
+ rescue StandardError => e
125
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
126
+ end
127
+
128
+ # 该接口供渠道合作应用加固使用,接口调用有白名单用户限制。
129
+ # 订单类型有:免费试用、按年收费、按次收费。
130
+ # 应用加固支持的平台类型有:android安卓加固 、ios源码混淆 、sdk加固、applet小程序加固。
131
+
132
+ # @param request: Request instance for CreateOrderInstance.
133
+ # @type request: :class:`Tencentcloud::ms::V20180408::CreateOrderInstanceRequest`
134
+ # @rtype: :class:`Tencentcloud::ms::V20180408::CreateOrderInstanceResponse`
135
+ def CreateOrderInstance(request)
136
+ body = send_request('CreateOrderInstance', request.serialize)
137
+ response = JSON.parse(body)
138
+ if response['Response'].key?('Error') == false
139
+ model = CreateOrderInstanceResponse.new
140
+ model.deserialize(response['Response'])
141
+ model
142
+ else
143
+ code = response['Response']['Error']['Code']
144
+ message = response['Response']['Error']['Message']
145
+ reqid = response['Response']['RequestId']
146
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
147
+ end
148
+ rescue TencentCloud::Common::TencentCloudSDKException => e
149
+ raise e
150
+ rescue StandardError => e
151
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
152
+ end
153
+
80
154
  # 用户可以使用该接口自建资源,只支持白名单用户
81
155
 
82
156
  # @param request: Request instance for CreateResourceInstances.
@@ -197,6 +271,82 @@ module TencentCloud
197
271
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
198
272
  end
199
273
 
274
+ # 该接口供渠道合作应用加固使用,接口调用有白名单用户限制,用于查询加固任务,入参中的条件过滤字段均为精准匹配。支持功能点:1. 多任务分页查询 2.根据任务Id唯一值查询单记录
275
+
276
+ # @param request: Request instance for DescribeEncryptInstances.
277
+ # @type request: :class:`Tencentcloud::ms::V20180408::DescribeEncryptInstancesRequest`
278
+ # @rtype: :class:`Tencentcloud::ms::V20180408::DescribeEncryptInstancesResponse`
279
+ def DescribeEncryptInstances(request)
280
+ body = send_request('DescribeEncryptInstances', request.serialize)
281
+ response = JSON.parse(body)
282
+ if response['Response'].key?('Error') == false
283
+ model = DescribeEncryptInstancesResponse.new
284
+ model.deserialize(response['Response'])
285
+ model
286
+ else
287
+ code = response['Response']['Error']['Code']
288
+ message = response['Response']['Error']['Message']
289
+ reqid = response['Response']['RequestId']
290
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
291
+ end
292
+ rescue TencentCloud::Common::TencentCloudSDKException => e
293
+ raise e
294
+ rescue StandardError => e
295
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
296
+ end
297
+
298
+ # 该接口供渠道合作应用加固使用,接口调用有白名单用户限制。入参中的条件过滤字段均为精准匹配。
299
+
300
+ # @param request: Request instance for DescribeEncryptPlan.
301
+ # @type request: :class:`Tencentcloud::ms::V20180408::DescribeEncryptPlanRequest`
302
+ # @rtype: :class:`Tencentcloud::ms::V20180408::DescribeEncryptPlanResponse`
303
+ def DescribeEncryptPlan(request)
304
+ body = send_request('DescribeEncryptPlan', request.serialize)
305
+ response = JSON.parse(body)
306
+ if response['Response'].key?('Error') == false
307
+ model = DescribeEncryptPlanResponse.new
308
+ model.deserialize(response['Response'])
309
+ model
310
+ else
311
+ code = response['Response']['Error']['Code']
312
+ message = response['Response']['Error']['Message']
313
+ reqid = response['Response']['RequestId']
314
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
315
+ end
316
+ rescue TencentCloud::Common::TencentCloudSDKException => e
317
+ raise e
318
+ rescue StandardError => e
319
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
320
+ end
321
+
322
+ # 该接口供渠道合作应用加固使用,接口调用有白名单用户限制。 接口返回的结果为:创建订单后,订单审批状态信息,以及与订单关联的资源状态等信息,入参中的条件过滤字段均为精准匹配。
323
+ # 接口功能点:
324
+ # 1.支持多订单分页查询;
325
+ # 2.支持唯一订单号精准匹配查询;
326
+ # 3.支持唯一资源号精准匹配查询;
327
+
328
+ # @param request: Request instance for DescribeOrderInstances.
329
+ # @type request: :class:`Tencentcloud::ms::V20180408::DescribeOrderInstancesRequest`
330
+ # @rtype: :class:`Tencentcloud::ms::V20180408::DescribeOrderInstancesResponse`
331
+ def DescribeOrderInstances(request)
332
+ body = send_request('DescribeOrderInstances', request.serialize)
333
+ response = JSON.parse(body)
334
+ if response['Response'].key?('Error') == false
335
+ model = DescribeOrderInstancesResponse.new
336
+ model.deserialize(response['Response'])
337
+ model
338
+ else
339
+ code = response['Response']['Error']['Code']
340
+ message = response['Response']['Error']['Message']
341
+ reqid = response['Response']['RequestId']
342
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
343
+ end
344
+ rescue TencentCloud::Common::TencentCloudSDKException => e
345
+ raise e
346
+ rescue StandardError => e
347
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
348
+ end
349
+
200
350
  # 获取某个用户的所有资源信息。(注意:根据国家互联网用户实名制相关要求,使用该产品前,需先完成实名认证。)
201
351
 
202
352
  # @param request: Request instance for DescribeResourceInstances.