tencentcloud-sdk-tsf 1.0.337 → 1.0.338
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 +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20180326/client.rb +288 -0
- data/lib/v20180326/models.rb +933 -17
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3487e85fcdcccdf8a54784b8cd94f06c5282b032
|
4
|
+
data.tar.gz: 37c592f355047f7135a696a5b6c8107f5582b849
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a60f02782d874ea136c393e9bc23bc99394d2dce52efbf71bdb301923f3153867e9df950cf105355b7b2952e67db4d04a9917b90d7ad420ac78198f7ef68e7e4
|
7
|
+
data.tar.gz: 8bbace430692c63d66f8e9c40b4266ecdd81029c8163ad849b608b13cefa8cf5010a5cf9a73eda3e32970b0431a001dee01be6607e4b5a6d46aa2c4b4f8e0f65
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.338
|
data/lib/v20180326/client.rb
CHANGED
@@ -77,6 +77,54 @@ module TencentCloud
|
|
77
77
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
78
78
|
end
|
79
79
|
|
80
|
+
# 关联日志配置项到应用
|
81
|
+
|
82
|
+
# @param request: Request instance for AssociateBusinessLogConfig.
|
83
|
+
# @type request: :class:`Tencentcloud::tsf::V20180326::AssociateBusinessLogConfigRequest`
|
84
|
+
# @rtype: :class:`Tencentcloud::tsf::V20180326::AssociateBusinessLogConfigResponse`
|
85
|
+
def AssociateBusinessLogConfig(request)
|
86
|
+
body = send_request('AssociateBusinessLogConfig', request.serialize)
|
87
|
+
response = JSON.parse(body)
|
88
|
+
if response['Response'].key?('Error') == false
|
89
|
+
model = AssociateBusinessLogConfigResponse.new
|
90
|
+
model.deserialize(response['Response'])
|
91
|
+
model
|
92
|
+
else
|
93
|
+
code = response['Response']['Error']['Code']
|
94
|
+
message = response['Response']['Error']['Message']
|
95
|
+
reqid = response['Response']['RequestId']
|
96
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
97
|
+
end
|
98
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
99
|
+
raise e
|
100
|
+
rescue StandardError => e
|
101
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
102
|
+
end
|
103
|
+
|
104
|
+
# 关联投递配置到部署组
|
105
|
+
|
106
|
+
# @param request: Request instance for AssociateConfigWithGroup.
|
107
|
+
# @type request: :class:`Tencentcloud::tsf::V20180326::AssociateConfigWithGroupRequest`
|
108
|
+
# @rtype: :class:`Tencentcloud::tsf::V20180326::AssociateConfigWithGroupResponse`
|
109
|
+
def AssociateConfigWithGroup(request)
|
110
|
+
body = send_request('AssociateConfigWithGroup', request.serialize)
|
111
|
+
response = JSON.parse(body)
|
112
|
+
if response['Response'].key?('Error') == false
|
113
|
+
model = AssociateConfigWithGroupResponse.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
|
+
|
80
128
|
# 网关与API分组批量绑定
|
81
129
|
|
82
130
|
# @param request: Request instance for BindApiGroup.
|
@@ -1326,6 +1374,30 @@ module TencentCloud
|
|
1326
1374
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1327
1375
|
end
|
1328
1376
|
|
1377
|
+
# 查询应用关联日志配置项信息
|
1378
|
+
|
1379
|
+
# @param request: Request instance for DescribeApplicationBusinessLogConfig.
|
1380
|
+
# @type request: :class:`Tencentcloud::tsf::V20180326::DescribeApplicationBusinessLogConfigRequest`
|
1381
|
+
# @rtype: :class:`Tencentcloud::tsf::V20180326::DescribeApplicationBusinessLogConfigResponse`
|
1382
|
+
def DescribeApplicationBusinessLogConfig(request)
|
1383
|
+
body = send_request('DescribeApplicationBusinessLogConfig', request.serialize)
|
1384
|
+
response = JSON.parse(body)
|
1385
|
+
if response['Response'].key?('Error') == false
|
1386
|
+
model = DescribeApplicationBusinessLogConfigResponse.new
|
1387
|
+
model.deserialize(response['Response'])
|
1388
|
+
model
|
1389
|
+
else
|
1390
|
+
code = response['Response']['Error']['Code']
|
1391
|
+
message = response['Response']['Error']['Message']
|
1392
|
+
reqid = response['Response']['RequestId']
|
1393
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1394
|
+
end
|
1395
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1396
|
+
raise e
|
1397
|
+
rescue StandardError => e
|
1398
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1399
|
+
end
|
1400
|
+
|
1329
1401
|
# 获取应用列表
|
1330
1402
|
|
1331
1403
|
# @param request: Request instance for DescribeApplications.
|
@@ -1374,6 +1446,54 @@ module TencentCloud
|
|
1374
1446
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1375
1447
|
end
|
1376
1448
|
|
1449
|
+
# 查询业务日志配置项信息
|
1450
|
+
|
1451
|
+
# @param request: Request instance for DescribeBusinessLogConfig.
|
1452
|
+
# @type request: :class:`Tencentcloud::tsf::V20180326::DescribeBusinessLogConfigRequest`
|
1453
|
+
# @rtype: :class:`Tencentcloud::tsf::V20180326::DescribeBusinessLogConfigResponse`
|
1454
|
+
def DescribeBusinessLogConfig(request)
|
1455
|
+
body = send_request('DescribeBusinessLogConfig', request.serialize)
|
1456
|
+
response = JSON.parse(body)
|
1457
|
+
if response['Response'].key?('Error') == false
|
1458
|
+
model = DescribeBusinessLogConfigResponse.new
|
1459
|
+
model.deserialize(response['Response'])
|
1460
|
+
model
|
1461
|
+
else
|
1462
|
+
code = response['Response']['Error']['Code']
|
1463
|
+
message = response['Response']['Error']['Message']
|
1464
|
+
reqid = response['Response']['RequestId']
|
1465
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1466
|
+
end
|
1467
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1468
|
+
raise e
|
1469
|
+
rescue StandardError => e
|
1470
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1471
|
+
end
|
1472
|
+
|
1473
|
+
# 查询日志配置项列表
|
1474
|
+
|
1475
|
+
# @param request: Request instance for DescribeBusinessLogConfigs.
|
1476
|
+
# @type request: :class:`Tencentcloud::tsf::V20180326::DescribeBusinessLogConfigsRequest`
|
1477
|
+
# @rtype: :class:`Tencentcloud::tsf::V20180326::DescribeBusinessLogConfigsResponse`
|
1478
|
+
def DescribeBusinessLogConfigs(request)
|
1479
|
+
body = send_request('DescribeBusinessLogConfigs', request.serialize)
|
1480
|
+
response = JSON.parse(body)
|
1481
|
+
if response['Response'].key?('Error') == false
|
1482
|
+
model = DescribeBusinessLogConfigsResponse.new
|
1483
|
+
model.deserialize(response['Response'])
|
1484
|
+
model
|
1485
|
+
else
|
1486
|
+
code = response['Response']['Error']['Code']
|
1487
|
+
message = response['Response']['Error']['Message']
|
1488
|
+
reqid = response['Response']['RequestId']
|
1489
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1490
|
+
end
|
1491
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1492
|
+
raise e
|
1493
|
+
rescue StandardError => e
|
1494
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1495
|
+
end
|
1496
|
+
|
1377
1497
|
# 查询集群实例
|
1378
1498
|
|
1379
1499
|
# @param request: Request instance for DescribeClusterInstances.
|
@@ -1638,6 +1758,78 @@ module TencentCloud
|
|
1638
1758
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1639
1759
|
end
|
1640
1760
|
|
1761
|
+
# 获取单个投递项配置信息
|
1762
|
+
|
1763
|
+
# @param request: Request instance for DescribeDeliveryConfig.
|
1764
|
+
# @type request: :class:`Tencentcloud::tsf::V20180326::DescribeDeliveryConfigRequest`
|
1765
|
+
# @rtype: :class:`Tencentcloud::tsf::V20180326::DescribeDeliveryConfigResponse`
|
1766
|
+
def DescribeDeliveryConfig(request)
|
1767
|
+
body = send_request('DescribeDeliveryConfig', request.serialize)
|
1768
|
+
response = JSON.parse(body)
|
1769
|
+
if response['Response'].key?('Error') == false
|
1770
|
+
model = DescribeDeliveryConfigResponse.new
|
1771
|
+
model.deserialize(response['Response'])
|
1772
|
+
model
|
1773
|
+
else
|
1774
|
+
code = response['Response']['Error']['Code']
|
1775
|
+
message = response['Response']['Error']['Message']
|
1776
|
+
reqid = response['Response']['RequestId']
|
1777
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1778
|
+
end
|
1779
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1780
|
+
raise e
|
1781
|
+
rescue StandardError => e
|
1782
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1783
|
+
end
|
1784
|
+
|
1785
|
+
# 用部署组id获取绑定信息
|
1786
|
+
|
1787
|
+
# @param request: Request instance for DescribeDeliveryConfigByGroupId.
|
1788
|
+
# @type request: :class:`Tencentcloud::tsf::V20180326::DescribeDeliveryConfigByGroupIdRequest`
|
1789
|
+
# @rtype: :class:`Tencentcloud::tsf::V20180326::DescribeDeliveryConfigByGroupIdResponse`
|
1790
|
+
def DescribeDeliveryConfigByGroupId(request)
|
1791
|
+
body = send_request('DescribeDeliveryConfigByGroupId', request.serialize)
|
1792
|
+
response = JSON.parse(body)
|
1793
|
+
if response['Response'].key?('Error') == false
|
1794
|
+
model = DescribeDeliveryConfigByGroupIdResponse.new
|
1795
|
+
model.deserialize(response['Response'])
|
1796
|
+
model
|
1797
|
+
else
|
1798
|
+
code = response['Response']['Error']['Code']
|
1799
|
+
message = response['Response']['Error']['Message']
|
1800
|
+
reqid = response['Response']['RequestId']
|
1801
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1802
|
+
end
|
1803
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1804
|
+
raise e
|
1805
|
+
rescue StandardError => e
|
1806
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1807
|
+
end
|
1808
|
+
|
1809
|
+
# 获取多个投递项配置
|
1810
|
+
|
1811
|
+
# @param request: Request instance for DescribeDeliveryConfigs.
|
1812
|
+
# @type request: :class:`Tencentcloud::tsf::V20180326::DescribeDeliveryConfigsRequest`
|
1813
|
+
# @rtype: :class:`Tencentcloud::tsf::V20180326::DescribeDeliveryConfigsResponse`
|
1814
|
+
def DescribeDeliveryConfigs(request)
|
1815
|
+
body = send_request('DescribeDeliveryConfigs', request.serialize)
|
1816
|
+
response = JSON.parse(body)
|
1817
|
+
if response['Response'].key?('Error') == false
|
1818
|
+
model = DescribeDeliveryConfigsResponse.new
|
1819
|
+
model.deserialize(response['Response'])
|
1820
|
+
model
|
1821
|
+
else
|
1822
|
+
code = response['Response']['Error']['Code']
|
1823
|
+
message = response['Response']['Error']['Message']
|
1824
|
+
reqid = response['Response']['RequestId']
|
1825
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1826
|
+
end
|
1827
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1828
|
+
raise e
|
1829
|
+
rescue StandardError => e
|
1830
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1831
|
+
end
|
1832
|
+
|
1641
1833
|
# TSF上传的程序包存放在腾讯云对象存储(COS)中,通过该API可以获取从COS下载程序包需要的信息,包括包所在的桶、存储路径、鉴权信息等,之后使用COS API(或SDK)进行下载。
|
1642
1834
|
# COS相关文档请查阅:https://cloud.tencent.com/document/product/436
|
1643
1835
|
|
@@ -1879,6 +2071,30 @@ module TencentCloud
|
|
1879
2071
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1880
2072
|
end
|
1881
2073
|
|
2074
|
+
# 查询分组管理日志配置列表
|
2075
|
+
|
2076
|
+
# @param request: Request instance for DescribeGroupBusinessLogConfigs.
|
2077
|
+
# @type request: :class:`Tencentcloud::tsf::V20180326::DescribeGroupBusinessLogConfigsRequest`
|
2078
|
+
# @rtype: :class:`Tencentcloud::tsf::V20180326::DescribeGroupBusinessLogConfigsResponse`
|
2079
|
+
def DescribeGroupBusinessLogConfigs(request)
|
2080
|
+
body = send_request('DescribeGroupBusinessLogConfigs', request.serialize)
|
2081
|
+
response = JSON.parse(body)
|
2082
|
+
if response['Response'].key?('Error') == false
|
2083
|
+
model = DescribeGroupBusinessLogConfigsResponse.new
|
2084
|
+
model.deserialize(response['Response'])
|
2085
|
+
model
|
2086
|
+
else
|
2087
|
+
code = response['Response']['Error']['Code']
|
2088
|
+
message = response['Response']['Error']['Message']
|
2089
|
+
reqid = response['Response']['RequestId']
|
2090
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2091
|
+
end
|
2092
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2093
|
+
raise e
|
2094
|
+
rescue StandardError => e
|
2095
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2096
|
+
end
|
2097
|
+
|
1882
2098
|
# 查询某个网关绑定的API 分组信息列表
|
1883
2099
|
|
1884
2100
|
# @param request: Request instance for DescribeGroupGateways.
|
@@ -3152,6 +3368,54 @@ module TencentCloud
|
|
3152
3368
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
3153
3369
|
end
|
3154
3370
|
|
3371
|
+
# 取消关联业务日志配置项和应用
|
3372
|
+
|
3373
|
+
# @param request: Request instance for DisassociateBusinessLogConfig.
|
3374
|
+
# @type request: :class:`Tencentcloud::tsf::V20180326::DisassociateBusinessLogConfigRequest`
|
3375
|
+
# @rtype: :class:`Tencentcloud::tsf::V20180326::DisassociateBusinessLogConfigResponse`
|
3376
|
+
def DisassociateBusinessLogConfig(request)
|
3377
|
+
body = send_request('DisassociateBusinessLogConfig', request.serialize)
|
3378
|
+
response = JSON.parse(body)
|
3379
|
+
if response['Response'].key?('Error') == false
|
3380
|
+
model = DisassociateBusinessLogConfigResponse.new
|
3381
|
+
model.deserialize(response['Response'])
|
3382
|
+
model
|
3383
|
+
else
|
3384
|
+
code = response['Response']['Error']['Code']
|
3385
|
+
message = response['Response']['Error']['Message']
|
3386
|
+
reqid = response['Response']['RequestId']
|
3387
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
3388
|
+
end
|
3389
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
3390
|
+
raise e
|
3391
|
+
rescue StandardError => e
|
3392
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
3393
|
+
end
|
3394
|
+
|
3395
|
+
# 取消关联投递信息和部署组
|
3396
|
+
|
3397
|
+
# @param request: Request instance for DisassociateKafkaConfig.
|
3398
|
+
# @type request: :class:`Tencentcloud::tsf::V20180326::DisassociateKafkaConfigRequest`
|
3399
|
+
# @rtype: :class:`Tencentcloud::tsf::V20180326::DisassociateKafkaConfigResponse`
|
3400
|
+
def DisassociateKafkaConfig(request)
|
3401
|
+
body = send_request('DisassociateKafkaConfig', request.serialize)
|
3402
|
+
response = JSON.parse(body)
|
3403
|
+
if response['Response'].key?('Error') == false
|
3404
|
+
model = DisassociateKafkaConfigResponse.new
|
3405
|
+
model.deserialize(response['Response'])
|
3406
|
+
model
|
3407
|
+
else
|
3408
|
+
code = response['Response']['Error']['Code']
|
3409
|
+
message = response['Response']['Error']['Message']
|
3410
|
+
reqid = response['Response']['RequestId']
|
3411
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
3412
|
+
end
|
3413
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
3414
|
+
raise e
|
3415
|
+
rescue StandardError => e
|
3416
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
3417
|
+
end
|
3418
|
+
|
3155
3419
|
# 下线Api分组
|
3156
3420
|
|
3157
3421
|
# @param request: Request instance for DraftApiGroup.
|
@@ -3561,6 +3825,30 @@ module TencentCloud
|
|
3561
3825
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
3562
3826
|
end
|
3563
3827
|
|
3828
|
+
# 重关联业务日志配置
|
3829
|
+
|
3830
|
+
# @param request: Request instance for ReassociateBusinessLogConfig.
|
3831
|
+
# @type request: :class:`Tencentcloud::tsf::V20180326::ReassociateBusinessLogConfigRequest`
|
3832
|
+
# @rtype: :class:`Tencentcloud::tsf::V20180326::ReassociateBusinessLogConfigResponse`
|
3833
|
+
def ReassociateBusinessLogConfig(request)
|
3834
|
+
body = send_request('ReassociateBusinessLogConfig', request.serialize)
|
3835
|
+
response = JSON.parse(body)
|
3836
|
+
if response['Response'].key?('Error') == false
|
3837
|
+
model = ReassociateBusinessLogConfigResponse.new
|
3838
|
+
model.deserialize(response['Response'])
|
3839
|
+
model
|
3840
|
+
else
|
3841
|
+
code = response['Response']['Error']['Code']
|
3842
|
+
message = response['Response']['Error']['Message']
|
3843
|
+
reqid = response['Response']['RequestId']
|
3844
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
3845
|
+
end
|
3846
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
3847
|
+
raise e
|
3848
|
+
rescue StandardError => e
|
3849
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
3850
|
+
end
|
3851
|
+
|
3564
3852
|
# 重新执行任务
|
3565
3853
|
|
3566
3854
|
# @param request: Request instance for RedoTask.
|