tencentcloud-sdk-tke 1.0.363 → 3.0.379
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20180525/client.rb +24 -0
- data/lib/v20180525/models.rb +62 -6
- metadata +9 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8b78f442708faff2e314b0376babede475f01028
|
4
|
+
data.tar.gz: d62338a7877b24d6f80547c78b27376197bb7b73
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 170bc1682b9af55777420b91b4df60ff3c622d4bcc4bf392a092b52bcae4e40675f5811f80c198c6b1a0db3569f7b95a864960471bab05879d805c76aeea7724
|
7
|
+
data.tar.gz: 8fe09ba95a4c3a96afaaa2b2f341c8cb793aa887790de7deadaf5c63ecdf2fd9cf214eeb36055593d936dc820c86af7b9c0d36ff30eeea756ea4799d58dd3327
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
3.0.379
|
data/lib/v20180525/client.rb
CHANGED
@@ -2069,6 +2069,30 @@ module TencentCloud
|
|
2069
2069
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2070
2070
|
end
|
2071
2071
|
|
2072
|
+
# 获取事件、审计和日志的状态接口
|
2073
|
+
|
2074
|
+
# @param request: Request instance for DescribeEdgeLogSwitches.
|
2075
|
+
# @type request: :class:`Tencentcloud::tke::V20180525::DescribeEdgeLogSwitchesRequest`
|
2076
|
+
# @rtype: :class:`Tencentcloud::tke::V20180525::DescribeEdgeLogSwitchesResponse`
|
2077
|
+
def DescribeEdgeLogSwitches(request)
|
2078
|
+
body = send_request('DescribeEdgeLogSwitches', request.serialize)
|
2079
|
+
response = JSON.parse(body)
|
2080
|
+
if response['Response'].key?('Error') == false
|
2081
|
+
model = DescribeEdgeLogSwitchesResponse.new
|
2082
|
+
model.deserialize(response['Response'])
|
2083
|
+
model
|
2084
|
+
else
|
2085
|
+
code = response['Response']['Error']['Code']
|
2086
|
+
message = response['Response']['Error']['Message']
|
2087
|
+
reqid = response['Response']['RequestId']
|
2088
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2089
|
+
end
|
2090
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2091
|
+
raise e
|
2092
|
+
rescue StandardError => e
|
2093
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2094
|
+
end
|
2095
|
+
|
2072
2096
|
# 查询容器实例中容器日志
|
2073
2097
|
|
2074
2098
|
# @param request: Request instance for DescribeEksContainerInstanceLog.
|
data/lib/v20180525/models.rb
CHANGED
@@ -5741,6 +5741,43 @@ module TencentCloud
|
|
5741
5741
|
end
|
5742
5742
|
end
|
5743
5743
|
|
5744
|
+
# DescribeEdgeLogSwitches请求参数结构体
|
5745
|
+
class DescribeEdgeLogSwitchesRequest < TencentCloud::Common::AbstractModel
|
5746
|
+
# @param ClusterIds: 集群ID列表
|
5747
|
+
# @type ClusterIds: Array
|
5748
|
+
|
5749
|
+
attr_accessor :ClusterIds
|
5750
|
+
|
5751
|
+
def initialize(clusterids=nil)
|
5752
|
+
@ClusterIds = clusterids
|
5753
|
+
end
|
5754
|
+
|
5755
|
+
def deserialize(params)
|
5756
|
+
@ClusterIds = params['ClusterIds']
|
5757
|
+
end
|
5758
|
+
end
|
5759
|
+
|
5760
|
+
# DescribeEdgeLogSwitches返回参数结构体
|
5761
|
+
class DescribeEdgeLogSwitchesResponse < TencentCloud::Common::AbstractModel
|
5762
|
+
# @param SwitchSet: 集群日志开关集合
|
5763
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5764
|
+
# @type SwitchSet: Array
|
5765
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
5766
|
+
# @type RequestId: String
|
5767
|
+
|
5768
|
+
attr_accessor :SwitchSet, :RequestId
|
5769
|
+
|
5770
|
+
def initialize(switchset=nil, requestid=nil)
|
5771
|
+
@SwitchSet = switchset
|
5772
|
+
@RequestId = requestid
|
5773
|
+
end
|
5774
|
+
|
5775
|
+
def deserialize(params)
|
5776
|
+
@SwitchSet = params['SwitchSet']
|
5777
|
+
@RequestId = params['RequestId']
|
5778
|
+
end
|
5779
|
+
end
|
5780
|
+
|
5744
5781
|
# DescribeEksContainerInstanceLog请求参数结构体
|
5745
5782
|
class DescribeEksContainerInstanceLogRequest < TencentCloud::Common::AbstractModel
|
5746
5783
|
# @param EksCiId: Eks Container Instance Id,即容器实例Id
|
@@ -7607,14 +7644,17 @@ module TencentCloud
|
|
7607
7644
|
# @type NodeName: String
|
7608
7645
|
# @param Config: json格式的节点配置
|
7609
7646
|
# @type Config: String
|
7647
|
+
# @param ScriptVersion: 可以下载某个历史版本的edgectl脚本,默认下载最新版本,edgectl版本信息可以在脚本里查看
|
7648
|
+
# @type ScriptVersion: String
|
7610
7649
|
|
7611
|
-
attr_accessor :ClusterId, :Interface, :NodeName, :Config
|
7650
|
+
attr_accessor :ClusterId, :Interface, :NodeName, :Config, :ScriptVersion
|
7612
7651
|
|
7613
|
-
def initialize(clusterid=nil, interface=nil, nodename=nil, config=nil)
|
7652
|
+
def initialize(clusterid=nil, interface=nil, nodename=nil, config=nil, scriptversion=nil)
|
7614
7653
|
@ClusterId = clusterid
|
7615
7654
|
@Interface = interface
|
7616
7655
|
@NodeName = nodename
|
7617
7656
|
@Config = config
|
7657
|
+
@ScriptVersion = scriptversion
|
7618
7658
|
end
|
7619
7659
|
|
7620
7660
|
def deserialize(params)
|
@@ -7622,6 +7662,7 @@ module TencentCloud
|
|
7622
7662
|
@Interface = params['Interface']
|
7623
7663
|
@NodeName = params['NodeName']
|
7624
7664
|
@Config = params['Config']
|
7665
|
+
@ScriptVersion = params['ScriptVersion']
|
7625
7666
|
end
|
7626
7667
|
end
|
7627
7668
|
|
@@ -7633,15 +7674,19 @@ module TencentCloud
|
|
7633
7674
|
# @type Token: String
|
7634
7675
|
# @param Command: 下载命令
|
7635
7676
|
# @type Command: String
|
7677
|
+
# @param ScriptVersion: edgectl脚本版本,默认拉取最新版本
|
7678
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7679
|
+
# @type ScriptVersion: String
|
7636
7680
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
7637
7681
|
# @type RequestId: String
|
7638
7682
|
|
7639
|
-
attr_accessor :Link, :Token, :Command, :RequestId
|
7683
|
+
attr_accessor :Link, :Token, :Command, :ScriptVersion, :RequestId
|
7640
7684
|
|
7641
|
-
def initialize(link=nil, token=nil, command=nil, requestid=nil)
|
7685
|
+
def initialize(link=nil, token=nil, command=nil, scriptversion=nil, requestid=nil)
|
7642
7686
|
@Link = link
|
7643
7687
|
@Token = token
|
7644
7688
|
@Command = command
|
7689
|
+
@ScriptVersion = scriptversion
|
7645
7690
|
@RequestId = requestid
|
7646
7691
|
end
|
7647
7692
|
|
@@ -7649,6 +7694,7 @@ module TencentCloud
|
|
7649
7694
|
@Link = params['Link']
|
7650
7695
|
@Token = params['Token']
|
7651
7696
|
@Command = params['Command']
|
7697
|
+
@ScriptVersion = params['ScriptVersion']
|
7652
7698
|
@RequestId = params['RequestId']
|
7653
7699
|
end
|
7654
7700
|
end
|
@@ -8147,11 +8193,19 @@ module TencentCloud
|
|
8147
8193
|
# @param ExtraArgs: 集群自定义参数
|
8148
8194
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
8149
8195
|
# @type ExtraArgs: :class:`Tencentcloud::Tke.v20180525.models.EdgeClusterExtraArgs`
|
8196
|
+
# @param Runtime: 运行时类型,支持"docker"和"containerd",默认为docker
|
8197
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8198
|
+
# @type Runtime: String
|
8199
|
+
# @param ProxyMode: 集群kube-proxy转发模式,支持"iptables"和"ipvs",默认为iptables
|
8200
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8201
|
+
# @type ProxyMode: String
|
8150
8202
|
|
8151
|
-
attr_accessor :ExtraArgs
|
8203
|
+
attr_accessor :ExtraArgs, :Runtime, :ProxyMode
|
8152
8204
|
|
8153
|
-
def initialize(extraargs=nil)
|
8205
|
+
def initialize(extraargs=nil, runtime=nil, proxymode=nil)
|
8154
8206
|
@ExtraArgs = extraargs
|
8207
|
+
@Runtime = runtime
|
8208
|
+
@ProxyMode = proxymode
|
8155
8209
|
end
|
8156
8210
|
|
8157
8211
|
def deserialize(params)
|
@@ -8159,6 +8213,8 @@ module TencentCloud
|
|
8159
8213
|
@ExtraArgs = EdgeClusterExtraArgs.new
|
8160
8214
|
@ExtraArgs.deserialize(params['ExtraArgs'])
|
8161
8215
|
end
|
8216
|
+
@Runtime = params['Runtime']
|
8217
|
+
@ProxyMode = params['ProxyMode']
|
8162
8218
|
end
|
8163
8219
|
end
|
8164
8220
|
|
metadata
CHANGED
@@ -1,27 +1,27 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-tke
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 3.0.379
|
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
|
+
date: 2022-08-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - ~>
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '1.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
26
|
version: '1.0'
|
27
27
|
description: Tencent Cloud Ruby SDK is the official software development kit, which
|
@@ -33,10 +33,10 @@ executables: []
|
|
33
33
|
extensions: []
|
34
34
|
extra_rdoc_files: []
|
35
35
|
files:
|
36
|
-
- lib/VERSION
|
37
36
|
- lib/tencentcloud-sdk-tke.rb
|
38
|
-
- lib/v20180525/client.rb
|
39
37
|
- lib/v20180525/models.rb
|
38
|
+
- lib/v20180525/client.rb
|
39
|
+
- lib/VERSION
|
40
40
|
homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
|
41
41
|
licenses:
|
42
42
|
- Apache-2.0
|
@@ -49,17 +49,17 @@ require_paths:
|
|
49
49
|
- lib
|
50
50
|
required_ruby_version: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- -
|
52
|
+
- - '>='
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0'
|
55
55
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
56
56
|
requirements:
|
57
|
-
- -
|
57
|
+
- - '>='
|
58
58
|
- !ruby/object:Gem::Version
|
59
59
|
version: '0'
|
60
60
|
requirements: []
|
61
61
|
rubyforge_project:
|
62
|
-
rubygems_version: 2.
|
62
|
+
rubygems_version: 2.0.14
|
63
63
|
signing_key:
|
64
64
|
specification_version: 4
|
65
65
|
summary: Tencent Cloud SDK for Ruby - TKE
|