tencentcloud-sdk-ssl 3.0.851 → 3.0.853

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: e70505275598532fb6c6b96814c2c95f02157507
4
- data.tar.gz: 002f6799263832cb50509d329d1196d6ad68283e
3
+ metadata.gz: 70f02306466e672f8aae92863fd4a3134dead523
4
+ data.tar.gz: 81537f75d9fca4307348a77116aad9dad031bcd2
5
5
  SHA512:
6
- metadata.gz: 2128a261485ae19b8a4346d2c339c720791e9ae2dc0c3eff9bb9af75796aad8ce66461e03d99c672a899137b95f2a613f2d642be34816c44512333b9773e077e
7
- data.tar.gz: 2e1ac9387b141d950cf1fb8b1434a904349c0b0f58704027831d67c51aaddafe00369c36171d44c3ee2641e4635ea0b6d5e5252ceae0976592e255cdee591e63
6
+ metadata.gz: 26bf3dab704b8efb2eaf9ef2beb23787b4e5930fdc6391646741d3adbc1228689b946bff9b698bd9f2f608ee41437056f65a46621cf596a402f963007e08260d
7
+ data.tar.gz: 7b9114cc6772894d70749e2ed6e66947c55d4d0ca8a6b55647a8722a87620fd1fc79fb427f850dc6479ee7599ebf986426a9e8223e63300a636a06195d9e225f
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.851
1
+ 3.0.853
@@ -269,6 +269,30 @@ module TencentCloud
269
269
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
270
270
  end
271
271
 
272
+ # 批量删除证书,删除证书前支持查询证书是否关联了腾讯云云资源 (需自定义配置参数,参数名称:IsSync)
273
+
274
+ # @param request: Request instance for DeleteCertificates.
275
+ # @type request: :class:`Tencentcloud::ssl::V20191205::DeleteCertificatesRequest`
276
+ # @rtype: :class:`Tencentcloud::ssl::V20191205::DeleteCertificatesResponse`
277
+ def DeleteCertificates(request)
278
+ body = send_request('DeleteCertificates', request.serialize)
279
+ response = JSON.parse(body)
280
+ if response['Response'].key?('Error') == false
281
+ model = DeleteCertificatesResponse.new
282
+ model.deserialize(response['Response'])
283
+ model
284
+ else
285
+ code = response['Response']['Error']['Code']
286
+ message = response['Response']['Error']['Message']
287
+ reqid = response['Response']['RequestId']
288
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
289
+ end
290
+ rescue TencentCloud::Common::TencentCloudSDKException => e
291
+ raise e
292
+ rescue StandardError => e
293
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
294
+ end
295
+
272
296
  # 删除管理人
273
297
 
274
298
  # @param request: Request instance for DeleteManager.
@@ -59,13 +59,17 @@ module TencentCloud
59
59
  # @type InstanceList: Array
60
60
  # @param TotalCount: 该地域下apigateway实例总数
61
61
  # @type TotalCount: Integer
62
+ # @param Error: 是否查询异常
63
+ # 注意:此字段可能返回 null,表示取不到有效值。
64
+ # @type Error: String
62
65
 
63
- attr_accessor :Region, :InstanceList, :TotalCount
66
+ attr_accessor :Region, :InstanceList, :TotalCount, :Error
64
67
 
65
- def initialize(region=nil, instancelist=nil, totalcount=nil)
68
+ def initialize(region=nil, instancelist=nil, totalcount=nil, error=nil)
66
69
  @Region = region
67
70
  @InstanceList = instancelist
68
71
  @TotalCount = totalcount
72
+ @Error = error
69
73
  end
70
74
 
71
75
  def deserialize(params)
@@ -79,6 +83,7 @@ module TencentCloud
79
83
  end
80
84
  end
81
85
  @TotalCount = params['TotalCount']
86
+ @Error = params['Error']
82
87
  end
83
88
  end
84
89
 
@@ -174,6 +179,28 @@ module TencentCloud
174
179
  end
175
180
  end
176
181
 
182
+ # 批量删除失败的项
183
+ class BatchDeleteFail < TencentCloud::Common::AbstractModel
184
+ # @param CertId: 失败的证书ID
185
+ # 注意:此字段可能返回 null,表示取不到有效值。
186
+ # @type CertId: String
187
+ # @param Msg: 失败的原因
188
+ # 注意:此字段可能返回 null,表示取不到有效值。
189
+ # @type Msg: String
190
+
191
+ attr_accessor :CertId, :Msg
192
+
193
+ def initialize(certid=nil, msg=nil)
194
+ @CertId = certid
195
+ @Msg = msg
196
+ end
197
+
198
+ def deserialize(params)
199
+ @CertId = params['CertId']
200
+ @Msg = params['Msg']
201
+ end
202
+ end
203
+
177
204
  # 绑定资源地域结果
178
205
  class BindResourceRegionResult < TencentCloud::Common::AbstractModel
179
206
  # @param Region: 地域
@@ -222,6 +249,45 @@ module TencentCloud
222
249
  end
223
250
  end
224
251
 
252
+ # cos实例详情 - 异步关联云资源数据结构
253
+ class COSInstanceList < TencentCloud::Common::AbstractModel
254
+ # @param Region: 地域
255
+ # 注意:此字段可能返回 null,表示取不到有效值。
256
+ # @type Region: String
257
+ # @param InstanceList: 实例详情
258
+ # 注意:此字段可能返回 null,表示取不到有效值。
259
+ # @type InstanceList: Array
260
+ # @param TotalCount: 地域下总数
261
+ # 注意:此字段可能返回 null,表示取不到有效值。
262
+ # @type TotalCount: Integer
263
+ # @param Error: 错误信息
264
+ # 注意:此字段可能返回 null,表示取不到有效值。
265
+ # @type Error: String
266
+
267
+ attr_accessor :Region, :InstanceList, :TotalCount, :Error
268
+
269
+ def initialize(region=nil, instancelist=nil, totalcount=nil, error=nil)
270
+ @Region = region
271
+ @InstanceList = instancelist
272
+ @TotalCount = totalcount
273
+ @Error = error
274
+ end
275
+
276
+ def deserialize(params)
277
+ @Region = params['Region']
278
+ unless params['InstanceList'].nil?
279
+ @InstanceList = []
280
+ params['InstanceList'].each do |i|
281
+ cosinstancedetail_tmp = CosInstanceDetail.new
282
+ cosinstancedetail_tmp.deserialize(i)
283
+ @InstanceList << cosinstancedetail_tmp
284
+ end
285
+ end
286
+ @TotalCount = params['TotalCount']
287
+ @Error = params['Error']
288
+ end
289
+ end
290
+
225
291
  # CancelAuditCertificate请求参数结构体
226
292
  class CancelAuditCertificateRequest < TencentCloud::Common::AbstractModel
227
293
  # @param CertificateId: 证书ID
@@ -329,12 +395,16 @@ module TencentCloud
329
395
  # @param InstanceList: cdn域名详情
330
396
  # 注意:此字段可能返回 null,表示取不到有效值。
331
397
  # @type InstanceList: Array
398
+ # @param Error: 是否查询异常
399
+ # 注意:此字段可能返回 null,表示取不到有效值。
400
+ # @type Error: String
332
401
 
333
- attr_accessor :TotalCount, :InstanceList
402
+ attr_accessor :TotalCount, :InstanceList, :Error
334
403
 
335
- def initialize(totalcount=nil, instancelist=nil)
404
+ def initialize(totalcount=nil, instancelist=nil, error=nil)
336
405
  @TotalCount = totalcount
337
406
  @InstanceList = instancelist
407
+ @Error = error
338
408
  end
339
409
 
340
410
  def deserialize(params)
@@ -347,6 +417,7 @@ module TencentCloud
347
417
  @InstanceList << cdninstancedetail_tmp
348
418
  end
349
419
  end
420
+ @Error = params['Error']
350
421
  end
351
422
  end
352
423
 
@@ -829,13 +900,17 @@ module TencentCloud
829
900
  # @type InstanceList: Array
830
901
  # @param TotalCount: 该地域下Clb实例总数
831
902
  # @type TotalCount: Integer
903
+ # @param Error: 是否查询异常
904
+ # 注意:此字段可能返回 null,表示取不到有效值。
905
+ # @type Error: String
832
906
 
833
- attr_accessor :Region, :InstanceList, :TotalCount
907
+ attr_accessor :Region, :InstanceList, :TotalCount, :Error
834
908
 
835
- def initialize(region=nil, instancelist=nil, totalcount=nil)
909
+ def initialize(region=nil, instancelist=nil, totalcount=nil, error=nil)
836
910
  @Region = region
837
911
  @InstanceList = instancelist
838
912
  @TotalCount = totalcount
913
+ @Error = error
839
914
  end
840
915
 
841
916
  def deserialize(params)
@@ -849,6 +924,7 @@ module TencentCloud
849
924
  end
850
925
  end
851
926
  @TotalCount = params['TotalCount']
927
+ @Error = params['Error']
852
928
  end
853
929
  end
854
930
 
@@ -1354,12 +1430,16 @@ module TencentCloud
1354
1430
  # @param InstanceList: ddos实例详情
1355
1431
  # 注意:此字段可能返回 null,表示取不到有效值。
1356
1432
  # @type InstanceList: Array
1433
+ # @param Error: 是否查询异常
1434
+ # 注意:此字段可能返回 null,表示取不到有效值。
1435
+ # @type Error: String
1357
1436
 
1358
- attr_accessor :TotalCount, :InstanceList
1437
+ attr_accessor :TotalCount, :InstanceList, :Error
1359
1438
 
1360
- def initialize(totalcount=nil, instancelist=nil)
1439
+ def initialize(totalcount=nil, instancelist=nil, error=nil)
1361
1440
  @TotalCount = totalcount
1362
1441
  @InstanceList = instancelist
1442
+ @Error = error
1363
1443
  end
1364
1444
 
1365
1445
  def deserialize(params)
@@ -1372,6 +1452,7 @@ module TencentCloud
1372
1452
  @InstanceList << ddosinstancedetail_tmp
1373
1453
  end
1374
1454
  end
1455
+ @Error = params['Error']
1375
1456
  end
1376
1457
  end
1377
1458
 
@@ -1420,6 +1501,59 @@ module TencentCloud
1420
1501
  end
1421
1502
  end
1422
1503
 
1504
+ # DeleteCertificates请求参数结构体
1505
+ class DeleteCertificatesRequest < TencentCloud::Common::AbstractModel
1506
+
1507
+
1508
+ def initialize()
1509
+ end
1510
+
1511
+ def deserialize(params)
1512
+ end
1513
+ end
1514
+
1515
+ # DeleteCertificates返回参数结构体
1516
+ class DeleteCertificatesResponse < TencentCloud::Common::AbstractModel
1517
+ # @param Success: 成功的ID
1518
+ # @type Success: Array
1519
+ # @param Fail: 失败的ID和原因
1520
+ # @type Fail: Array
1521
+ # @param CertTaskIds: 证书ID和异步任务的ID
1522
+ # @type CertTaskIds: Array
1523
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1524
+ # @type RequestId: String
1525
+
1526
+ attr_accessor :Success, :Fail, :CertTaskIds, :RequestId
1527
+
1528
+ def initialize(success=nil, fail=nil, certtaskids=nil, requestid=nil)
1529
+ @Success = success
1530
+ @Fail = fail
1531
+ @CertTaskIds = certtaskids
1532
+ @RequestId = requestid
1533
+ end
1534
+
1535
+ def deserialize(params)
1536
+ @Success = params['Success']
1537
+ unless params['Fail'].nil?
1538
+ @Fail = []
1539
+ params['Fail'].each do |i|
1540
+ batchdeletefail_tmp = BatchDeleteFail.new
1541
+ batchdeletefail_tmp.deserialize(i)
1542
+ @Fail << batchdeletefail_tmp
1543
+ end
1544
+ end
1545
+ unless params['CertTaskIds'].nil?
1546
+ @CertTaskIds = []
1547
+ params['CertTaskIds'].each do |i|
1548
+ certtaskid_tmp = CertTaskId.new
1549
+ certtaskid_tmp.deserialize(i)
1550
+ @CertTaskIds << certtaskid_tmp
1551
+ end
1552
+ end
1553
+ @RequestId = params['RequestId']
1554
+ end
1555
+ end
1556
+
1423
1557
  # DeleteManager请求参数结构体
1424
1558
  class DeleteManagerRequest < TencentCloud::Common::AbstractModel
1425
1559
  # @param ManagerId: 管理人ID
@@ -1880,12 +2014,15 @@ module TencentCloud
1880
2014
  # @param TSE: 关联tse资源详情
1881
2015
  # 注意:此字段可能返回 null,表示取不到有效值。
1882
2016
  # @type TSE: Array
2017
+ # @param COS: 关联的COS资源详情
2018
+ # 注意:此字段可能返回 null,表示取不到有效值。
2019
+ # @type COS: Array
1883
2020
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1884
2021
  # @type RequestId: String
1885
2022
 
1886
- attr_accessor :CLB, :CDN, :WAF, :DDOS, :LIVE, :VOD, :TKE, :APIGATEWAY, :TCB, :TEO, :Status, :CacheTime, :TSE, :RequestId
2023
+ attr_accessor :CLB, :CDN, :WAF, :DDOS, :LIVE, :VOD, :TKE, :APIGATEWAY, :TCB, :TEO, :Status, :CacheTime, :TSE, :COS, :RequestId
1887
2024
 
1888
- def initialize(clb=nil, cdn=nil, waf=nil, ddos=nil, live=nil, vod=nil, tke=nil, apigateway=nil, tcb=nil, teo=nil, status=nil, cachetime=nil, tse=nil, requestid=nil)
2025
+ def initialize(clb=nil, cdn=nil, waf=nil, ddos=nil, live=nil, vod=nil, tke=nil, apigateway=nil, tcb=nil, teo=nil, status=nil, cachetime=nil, tse=nil, cos=nil, requestid=nil)
1889
2026
  @CLB = clb
1890
2027
  @CDN = cdn
1891
2028
  @WAF = waf
@@ -1899,6 +2036,7 @@ module TencentCloud
1899
2036
  @Status = status
1900
2037
  @CacheTime = cachetime
1901
2038
  @TSE = tse
2039
+ @COS = cos
1902
2040
  @RequestId = requestid
1903
2041
  end
1904
2042
 
@@ -1993,6 +2131,14 @@ module TencentCloud
1993
2131
  @TSE << tseinstancelist_tmp
1994
2132
  end
1995
2133
  end
2134
+ unless params['COS'].nil?
2135
+ @COS = []
2136
+ params['COS'].each do |i|
2137
+ cosinstancelist_tmp = COSInstanceList.new
2138
+ cosinstancelist_tmp.deserialize(i)
2139
+ @COS << cosinstancelist_tmp
2140
+ end
2141
+ end
1996
2142
  @RequestId = params['RequestId']
1997
2143
  end
1998
2144
  end
@@ -4613,12 +4759,16 @@ module TencentCloud
4613
4759
  # @param InstanceList: live实例详情
4614
4760
  # 注意:此字段可能返回 null,表示取不到有效值。
4615
4761
  # @type InstanceList: Array
4762
+ # @param Error: 是否查询异常
4763
+ # 注意:此字段可能返回 null,表示取不到有效值。
4764
+ # @type Error: String
4616
4765
 
4617
- attr_accessor :TotalCount, :InstanceList
4766
+ attr_accessor :TotalCount, :InstanceList, :Error
4618
4767
 
4619
- def initialize(totalcount=nil, instancelist=nil)
4768
+ def initialize(totalcount=nil, instancelist=nil, error=nil)
4620
4769
  @TotalCount = totalcount
4621
4770
  @InstanceList = instancelist
4771
+ @Error = error
4622
4772
  end
4623
4773
 
4624
4774
  def deserialize(params)
@@ -4631,6 +4781,7 @@ module TencentCloud
4631
4781
  @InstanceList << liveinstancedetail_tmp
4632
4782
  end
4633
4783
  end
4784
+ @Error = params['Error']
4634
4785
  end
4635
4786
  end
4636
4787
 
@@ -5915,12 +6066,16 @@ module TencentCloud
5915
6066
  # @param Environments: tcb环境实例详情
5916
6067
  # 注意:此字段可能返回 null,表示取不到有效值。
5917
6068
  # @type Environments: Array
6069
+ # @param Error: 是否查询异常
6070
+ # 注意:此字段可能返回 null,表示取不到有效值。
6071
+ # @type Error: String
5918
6072
 
5919
- attr_accessor :Region, :Environments
6073
+ attr_accessor :Region, :Environments, :Error
5920
6074
 
5921
- def initialize(region=nil, environments=nil)
6075
+ def initialize(region=nil, environments=nil, error=nil)
5922
6076
  @Region = region
5923
6077
  @Environments = environments
6078
+ @Error = error
5924
6079
  end
5925
6080
 
5926
6081
  def deserialize(params)
@@ -5933,6 +6088,7 @@ module TencentCloud
5933
6088
  @Environments << tcbenvironments_tmp
5934
6089
  end
5935
6090
  end
6091
+ @Error = params['Error']
5936
6092
  end
5937
6093
  end
5938
6094
 
@@ -5979,13 +6135,17 @@ module TencentCloud
5979
6135
  # @type TotalCount: Integer
5980
6136
  # @param Region: 地域
5981
6137
  # @type Region: String
6138
+ # @param Error: 是否查询异常
6139
+ # 注意:此字段可能返回 null,表示取不到有效值。
6140
+ # @type Error: String
5982
6141
 
5983
- attr_accessor :InstanceList, :TotalCount, :Region
6142
+ attr_accessor :InstanceList, :TotalCount, :Region, :Error
5984
6143
 
5985
- def initialize(instancelist=nil, totalcount=nil, region=nil)
6144
+ def initialize(instancelist=nil, totalcount=nil, region=nil, error=nil)
5986
6145
  @InstanceList = instancelist
5987
6146
  @TotalCount = totalcount
5988
6147
  @Region = region
6148
+ @Error = error
5989
6149
  end
5990
6150
 
5991
6151
  def deserialize(params)
@@ -5999,6 +6159,7 @@ module TencentCloud
5999
6159
  end
6000
6160
  @TotalCount = params['TotalCount']
6001
6161
  @Region = params['Region']
6162
+ @Error = params['Error']
6002
6163
  end
6003
6164
  end
6004
6165
 
@@ -6058,12 +6219,16 @@ module TencentCloud
6058
6219
  # @type InstanceList: Array
6059
6220
  # @param TotalCount: edgeone实例总数
6060
6221
  # @type TotalCount: Integer
6222
+ # @param Error: 是否查询异常
6223
+ # 注意:此字段可能返回 null,表示取不到有效值。
6224
+ # @type Error: String
6061
6225
 
6062
- attr_accessor :InstanceList, :TotalCount
6226
+ attr_accessor :InstanceList, :TotalCount, :Error
6063
6227
 
6064
- def initialize(instancelist=nil, totalcount=nil)
6228
+ def initialize(instancelist=nil, totalcount=nil, error=nil)
6065
6229
  @InstanceList = instancelist
6066
6230
  @TotalCount = totalcount
6231
+ @Error = error
6067
6232
  end
6068
6233
 
6069
6234
  def deserialize(params)
@@ -6076,6 +6241,7 @@ module TencentCloud
6076
6241
  end
6077
6242
  end
6078
6243
  @TotalCount = params['TotalCount']
6244
+ @Error = params['Error']
6079
6245
  end
6080
6246
  end
6081
6247
 
@@ -6151,13 +6317,17 @@ module TencentCloud
6151
6317
  # @type InstanceList: Array
6152
6318
  # @param TotalCount: 该地域下tke实例总数
6153
6319
  # @type TotalCount: Integer
6320
+ # @param Error: 是否查询异常
6321
+ # 注意:此字段可能返回 null,表示取不到有效值。
6322
+ # @type Error: String
6154
6323
 
6155
- attr_accessor :Region, :InstanceList, :TotalCount
6324
+ attr_accessor :Region, :InstanceList, :TotalCount, :Error
6156
6325
 
6157
- def initialize(region=nil, instancelist=nil, totalcount=nil)
6326
+ def initialize(region=nil, instancelist=nil, totalcount=nil, error=nil)
6158
6327
  @Region = region
6159
6328
  @InstanceList = instancelist
6160
6329
  @TotalCount = totalcount
6330
+ @Error = error
6161
6331
  end
6162
6332
 
6163
6333
  def deserialize(params)
@@ -6171,6 +6341,7 @@ module TencentCloud
6171
6341
  end
6172
6342
  end
6173
6343
  @TotalCount = params['TotalCount']
6344
+ @Error = params['Error']
6174
6345
  end
6175
6346
  end
6176
6347
 
@@ -6851,12 +7022,16 @@ module TencentCloud
6851
7022
  # @type InstanceList: Array
6852
7023
  # @param TotalCount: 该地域下vod实例总数
6853
7024
  # @type TotalCount: Integer
7025
+ # @param Error: 是否查询异常
7026
+ # 注意:此字段可能返回 null,表示取不到有效值。
7027
+ # @type Error: String
6854
7028
 
6855
- attr_accessor :InstanceList, :TotalCount
7029
+ attr_accessor :InstanceList, :TotalCount, :Error
6856
7030
 
6857
- def initialize(instancelist=nil, totalcount=nil)
7031
+ def initialize(instancelist=nil, totalcount=nil, error=nil)
6858
7032
  @InstanceList = instancelist
6859
7033
  @TotalCount = totalcount
7034
+ @Error = error
6860
7035
  end
6861
7036
 
6862
7037
  def deserialize(params)
@@ -6869,6 +7044,7 @@ module TencentCloud
6869
7044
  end
6870
7045
  end
6871
7046
  @TotalCount = params['TotalCount']
7047
+ @Error = params['Error']
6872
7048
  end
6873
7049
  end
6874
7050
 
@@ -6963,13 +7139,17 @@ module TencentCloud
6963
7139
  # @type InstanceList: Array
6964
7140
  # @param TotalCount: 该地域下waf实例总数
6965
7141
  # @type TotalCount: Integer
7142
+ # @param Error: 是否查询异常
7143
+ # 注意:此字段可能返回 null,表示取不到有效值。
7144
+ # @type Error: String
6966
7145
 
6967
- attr_accessor :Region, :InstanceList, :TotalCount
7146
+ attr_accessor :Region, :InstanceList, :TotalCount, :Error
6968
7147
 
6969
- def initialize(region=nil, instancelist=nil, totalcount=nil)
7148
+ def initialize(region=nil, instancelist=nil, totalcount=nil, error=nil)
6970
7149
  @Region = region
6971
7150
  @InstanceList = instancelist
6972
7151
  @TotalCount = totalcount
7152
+ @Error = error
6973
7153
  end
6974
7154
 
6975
7155
  def deserialize(params)
@@ -6983,6 +7163,7 @@ module TencentCloud
6983
7163
  end
6984
7164
  end
6985
7165
  @TotalCount = params['TotalCount']
7166
+ @Error = params['Error']
6986
7167
  end
6987
7168
  end
6988
7169
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-ssl
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.851
4
+ version: 3.0.853
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-06-25 00:00:00.000000000 Z
11
+ date: 2024-06-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common