tencentcloud-sdk-bh 3.0.1040 → 3.0.1042
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/v20230418/client.rb +24 -0
- data/lib/v20230418/models.rb +52 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4fe2eecb5b5971c2fd208eac3eec12824fac109d
|
4
|
+
data.tar.gz: 641381dd492034bbc17bc8d1f8108dae817c04f7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2db050698711c93f925b86a95687692d7bab912ad55268ee0e994722378a9880fa27d9cd82bb29acf97fc7cb9d23e3b3ff7165a39020911b11b2dfd672d6b02f
|
7
|
+
data.tar.gz: 94860179bdd25694d8840949c9db4d5aea9f3768a0f6279ff8a05bc92d5a4507980e458f8355bfa82bff82ec0bd11d9f2d3c439b38e928cd67d8188c1825cfb1
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1042
|
data/lib/v20230418/client.rb
CHANGED
@@ -1733,6 +1733,30 @@ module TencentCloud
|
|
1733
1733
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1734
1734
|
end
|
1735
1735
|
|
1736
|
+
# 查询运维子任务执行结果
|
1737
|
+
|
1738
|
+
# @param request: Request instance for SearchSubtaskResultById.
|
1739
|
+
# @type request: :class:`Tencentcloud::bh::V20230418::SearchSubtaskResultByIdRequest`
|
1740
|
+
# @rtype: :class:`Tencentcloud::bh::V20230418::SearchSubtaskResultByIdResponse`
|
1741
|
+
def SearchSubtaskResultById(request)
|
1742
|
+
body = send_request('SearchSubtaskResultById', request.serialize)
|
1743
|
+
response = JSON.parse(body)
|
1744
|
+
if response['Response'].key?('Error') == false
|
1745
|
+
model = SearchSubtaskResultByIdResponse.new
|
1746
|
+
model.deserialize(response['Response'])
|
1747
|
+
model
|
1748
|
+
else
|
1749
|
+
code = response['Response']['Error']['Code']
|
1750
|
+
message = response['Response']['Error']['Message']
|
1751
|
+
reqid = response['Response']['RequestId']
|
1752
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1753
|
+
end
|
1754
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1755
|
+
raise e
|
1756
|
+
rescue StandardError => e
|
1757
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1758
|
+
end
|
1759
|
+
|
1736
1760
|
# 搜索运维任务执行结果
|
1737
1761
|
|
1738
1762
|
# @param request: Request instance for SearchTaskResult.
|
data/lib/v20230418/models.rb
CHANGED
@@ -5742,6 +5742,58 @@ module TencentCloud
|
|
5742
5742
|
end
|
5743
5743
|
end
|
5744
5744
|
|
5745
|
+
# SearchSubtaskResultById请求参数结构体
|
5746
|
+
class SearchSubtaskResultByIdRequest < TencentCloud::Common::AbstractModel
|
5747
|
+
# @param Name: 运维任务名称
|
5748
|
+
# @type Name: String
|
5749
|
+
# @param Offset: 查询偏移
|
5750
|
+
# @type Offset: Integer
|
5751
|
+
# @param Limit: 分页的页内记录数,默认为20,最大200
|
5752
|
+
# @type Limit: Integer
|
5753
|
+
# @param Id: 运维父任务执行日志ID
|
5754
|
+
# @type Id: String
|
5755
|
+
# @param Status: 运维父任务执行状态
|
5756
|
+
# @type Status: Array
|
5757
|
+
|
5758
|
+
attr_accessor :Name, :Offset, :Limit, :Id, :Status
|
5759
|
+
|
5760
|
+
def initialize(name=nil, offset=nil, limit=nil, id=nil, status=nil)
|
5761
|
+
@Name = name
|
5762
|
+
@Offset = offset
|
5763
|
+
@Limit = limit
|
5764
|
+
@Id = id
|
5765
|
+
@Status = status
|
5766
|
+
end
|
5767
|
+
|
5768
|
+
def deserialize(params)
|
5769
|
+
@Name = params['Name']
|
5770
|
+
@Offset = params['Offset']
|
5771
|
+
@Limit = params['Limit']
|
5772
|
+
@Id = params['Id']
|
5773
|
+
@Status = params['Status']
|
5774
|
+
end
|
5775
|
+
end
|
5776
|
+
|
5777
|
+
# SearchSubtaskResultById返回参数结构体
|
5778
|
+
class SearchSubtaskResultByIdResponse < TencentCloud::Common::AbstractModel
|
5779
|
+
# @param TotalCount: 记录数
|
5780
|
+
# @type TotalCount: Integer
|
5781
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
5782
|
+
# @type RequestId: String
|
5783
|
+
|
5784
|
+
attr_accessor :TotalCount, :RequestId
|
5785
|
+
|
5786
|
+
def initialize(totalcount=nil, requestid=nil)
|
5787
|
+
@TotalCount = totalcount
|
5788
|
+
@RequestId = requestid
|
5789
|
+
end
|
5790
|
+
|
5791
|
+
def deserialize(params)
|
5792
|
+
@TotalCount = params['TotalCount']
|
5793
|
+
@RequestId = params['RequestId']
|
5794
|
+
end
|
5795
|
+
end
|
5796
|
+
|
5745
5797
|
# SearchTaskResult请求参数结构体
|
5746
5798
|
class SearchTaskResultRequest < TencentCloud::Common::AbstractModel
|
5747
5799
|
# @param StartTime: 搜索区间的开始时间
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-bh
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.1042
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-04-
|
11
|
+
date: 2025-04-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|
@@ -33,9 +33,9 @@ executables: []
|
|
33
33
|
extensions: []
|
34
34
|
extra_rdoc_files: []
|
35
35
|
files:
|
36
|
+
- lib/tencentcloud-sdk-bh.rb
|
36
37
|
- lib/v20230418/client.rb
|
37
38
|
- lib/v20230418/models.rb
|
38
|
-
- lib/tencentcloud-sdk-bh.rb
|
39
39
|
- lib/VERSION
|
40
40
|
homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
|
41
41
|
licenses:
|