tencentcloud-sdk-cls 3.0.444 → 3.0.446
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/v20201016/client.rb +48 -0
- data/lib/v20201016/models.rb +80 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9594394c08abbce9d021c47af4f9710485b3833b
|
4
|
+
data.tar.gz: e608b7c030bae6eee929e33ec5858c6042727253
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f9af28f7980969c8c3fe8505e512728607a7b02a551b3ce8fa9f0d102cbdef17988d7c0f5257fbaec17a838b9a61e16e347a0d1429cb45cf2440983af6d2736a
|
7
|
+
data.tar.gz: 7607066dee60648ecb466cc17bb4c0feed1edf9d448929f8ce47fccda197bd1518b29df3e89926d471487379f885cca5f5840e5954e931b19efee3fdf5768399
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.446
|
data/lib/v20201016/client.rb
CHANGED
@@ -29,6 +29,30 @@ module TencentCloud
|
|
29
29
|
end
|
30
30
|
|
31
31
|
|
32
|
+
# 用于添加机器组信息
|
33
|
+
|
34
|
+
# @param request: Request instance for AddMachineGroupInfo.
|
35
|
+
# @type request: :class:`Tencentcloud::cls::V20201016::AddMachineGroupInfoRequest`
|
36
|
+
# @rtype: :class:`Tencentcloud::cls::V20201016::AddMachineGroupInfoResponse`
|
37
|
+
def AddMachineGroupInfo(request)
|
38
|
+
body = send_request('AddMachineGroupInfo', request.serialize)
|
39
|
+
response = JSON.parse(body)
|
40
|
+
if response['Response'].key?('Error') == false
|
41
|
+
model = AddMachineGroupInfoResponse.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 ApplyConfigToMachineGroup.
|
@@ -581,6 +605,30 @@ module TencentCloud
|
|
581
605
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
582
606
|
end
|
583
607
|
|
608
|
+
# 用于删除机器组信息
|
609
|
+
|
610
|
+
# @param request: Request instance for DeleteMachineGroupInfo.
|
611
|
+
# @type request: :class:`Tencentcloud::cls::V20201016::DeleteMachineGroupInfoRequest`
|
612
|
+
# @rtype: :class:`Tencentcloud::cls::V20201016::DeleteMachineGroupInfoResponse`
|
613
|
+
def DeleteMachineGroupInfo(request)
|
614
|
+
body = send_request('DeleteMachineGroupInfo', request.serialize)
|
615
|
+
response = JSON.parse(body)
|
616
|
+
if response['Response'].key?('Error') == false
|
617
|
+
model = DeleteMachineGroupInfoResponse.new
|
618
|
+
model.deserialize(response['Response'])
|
619
|
+
model
|
620
|
+
else
|
621
|
+
code = response['Response']['Error']['Code']
|
622
|
+
message = response['Response']['Error']['Message']
|
623
|
+
reqid = response['Response']['RequestId']
|
624
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
625
|
+
end
|
626
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
627
|
+
raise e
|
628
|
+
rescue StandardError => e
|
629
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
630
|
+
end
|
631
|
+
|
584
632
|
# 删除投递规则
|
585
633
|
|
586
634
|
# @param request: Request instance for DeleteShipper.
|
data/lib/v20201016/models.rb
CHANGED
@@ -17,6 +17,46 @@
|
|
17
17
|
module TencentCloud
|
18
18
|
module Cls
|
19
19
|
module V20201016
|
20
|
+
# AddMachineGroupInfo请求参数结构体
|
21
|
+
class AddMachineGroupInfoRequest < TencentCloud::Common::AbstractModel
|
22
|
+
# @param GroupId: 机器组ID
|
23
|
+
# @type GroupId: String
|
24
|
+
# @param MachineGroupType: 机器组类型
|
25
|
+
# 目前type支持 ip 和 label
|
26
|
+
# @type MachineGroupType: :class:`Tencentcloud::Cls.v20201016.models.MachineGroupTypeInfo`
|
27
|
+
|
28
|
+
attr_accessor :GroupId, :MachineGroupType
|
29
|
+
|
30
|
+
def initialize(groupid=nil, machinegrouptype=nil)
|
31
|
+
@GroupId = groupid
|
32
|
+
@MachineGroupType = machinegrouptype
|
33
|
+
end
|
34
|
+
|
35
|
+
def deserialize(params)
|
36
|
+
@GroupId = params['GroupId']
|
37
|
+
unless params['MachineGroupType'].nil?
|
38
|
+
@MachineGroupType = MachineGroupTypeInfo.new
|
39
|
+
@MachineGroupType.deserialize(params['MachineGroupType'])
|
40
|
+
end
|
41
|
+
end
|
42
|
+
end
|
43
|
+
|
44
|
+
# AddMachineGroupInfo返回参数结构体
|
45
|
+
class AddMachineGroupInfoResponse < TencentCloud::Common::AbstractModel
|
46
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
47
|
+
# @type RequestId: String
|
48
|
+
|
49
|
+
attr_accessor :RequestId
|
50
|
+
|
51
|
+
def initialize(requestid=nil)
|
52
|
+
@RequestId = requestid
|
53
|
+
end
|
54
|
+
|
55
|
+
def deserialize(params)
|
56
|
+
@RequestId = params['RequestId']
|
57
|
+
end
|
58
|
+
end
|
59
|
+
|
20
60
|
# 告警多维分析一些配置信息
|
21
61
|
class AlarmAnalysisConfig < TencentCloud::Common::AbstractModel
|
22
62
|
# @param Key: 键
|
@@ -1982,6 +2022,46 @@ module TencentCloud
|
|
1982
2022
|
end
|
1983
2023
|
end
|
1984
2024
|
|
2025
|
+
# DeleteMachineGroupInfo请求参数结构体
|
2026
|
+
class DeleteMachineGroupInfoRequest < TencentCloud::Common::AbstractModel
|
2027
|
+
# @param GroupId: 机器组ID
|
2028
|
+
# @type GroupId: String
|
2029
|
+
# @param MachineGroupType: 机器组类型
|
2030
|
+
# 目前type支持 ip 和 label
|
2031
|
+
# @type MachineGroupType: :class:`Tencentcloud::Cls.v20201016.models.MachineGroupTypeInfo`
|
2032
|
+
|
2033
|
+
attr_accessor :GroupId, :MachineGroupType
|
2034
|
+
|
2035
|
+
def initialize(groupid=nil, machinegrouptype=nil)
|
2036
|
+
@GroupId = groupid
|
2037
|
+
@MachineGroupType = machinegrouptype
|
2038
|
+
end
|
2039
|
+
|
2040
|
+
def deserialize(params)
|
2041
|
+
@GroupId = params['GroupId']
|
2042
|
+
unless params['MachineGroupType'].nil?
|
2043
|
+
@MachineGroupType = MachineGroupTypeInfo.new
|
2044
|
+
@MachineGroupType.deserialize(params['MachineGroupType'])
|
2045
|
+
end
|
2046
|
+
end
|
2047
|
+
end
|
2048
|
+
|
2049
|
+
# DeleteMachineGroupInfo返回参数结构体
|
2050
|
+
class DeleteMachineGroupInfoResponse < TencentCloud::Common::AbstractModel
|
2051
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2052
|
+
# @type RequestId: String
|
2053
|
+
|
2054
|
+
attr_accessor :RequestId
|
2055
|
+
|
2056
|
+
def initialize(requestid=nil)
|
2057
|
+
@RequestId = requestid
|
2058
|
+
end
|
2059
|
+
|
2060
|
+
def deserialize(params)
|
2061
|
+
@RequestId = params['RequestId']
|
2062
|
+
end
|
2063
|
+
end
|
2064
|
+
|
1985
2065
|
# DeleteMachineGroup请求参数结构体
|
1986
2066
|
class DeleteMachineGroupRequest < TencentCloud::Common::AbstractModel
|
1987
2067
|
# @param GroupId: 机器组ID
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-cls
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.446
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-11-
|
11
|
+
date: 2022-11-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ~>
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '3.0'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - ~>
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '
|
26
|
+
version: '3.0'
|
27
27
|
description: Tencent Cloud Ruby SDK is the official software development kit, which
|
28
28
|
allows Ruby developers to write software that makes use of Tencent Cloud service
|
29
29
|
CLS.
|