tencentcloud-sdk-tke 1.0.364 → 3.0.380

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: 81b4544e4baf339d7f54ee3a12d99bbf2b0b4d26
4
- data.tar.gz: 8c129acad973119cf4a41158b33493483ab5c7cd
3
+ metadata.gz: b8cc70692eab376d8fdcb666c8d0b43a43063c71
4
+ data.tar.gz: 8aaecb9e53119c0b3bc7fa1fb2cca16759e52823
5
5
  SHA512:
6
- metadata.gz: 3ed0917e615766cc5e768a3e5925c27a4c5eba5b1eb427e6bc3de681332f6b5986c92074563877cffbcfac61500098fcffde94c3685717a66ba1fe32e5bf1554
7
- data.tar.gz: d8deb7650148bacd3d63783bb8fcb40ff8399f6e9209b56039fa861a2e1bbff728dbf93c8cf943b66ca12a09f25da02710a4022d02206f9df65d0be3b41e88aa
6
+ metadata.gz: ddb8975af0d495a81702b974b0a27c20d65874bdecd1bcbd4f270ba571195ef60ef54d94240f6722e63a3803d5971cd68f97e26410249d17c9ce8611d1269ece
7
+ data.tar.gz: 6758ffa3b6b8f18600b7de2f99c32f17d2ff6c0aca851fbb6392721d5a2bc97717421de28752a69cad60d3dc8d9ddb4d3b0d2605fb7bf980ae70616857f53324
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.364
1
+ 3.0.380
@@ -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.
@@ -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: 1.0.364
4
+ version: 3.0.380
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-07-27 00:00:00.000000000 Z
11
+ date: 2022-08-04 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.6.14
62
+ rubygems_version: 2.0.14
63
63
  signing_key:
64
64
  specification_version: 4
65
65
  summary: Tencent Cloud SDK for Ruby - TKE