tencentcloud-sdk-tke 1.0.362 → 1.0.363
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 +96 -0
- data/lib/v20180525/models.rb +158 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7059e5674e094d7d76ef5cfee7990cf3b4290b0c
|
4
|
+
data.tar.gz: 655e2f834d9325ea424a5bce89b622c52cc47ac5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8e447583a4b656a81ca16b9ec587ad9493d3346c85b28fbf934dd46f63346daf9d1810514102e3ba5fc391e6b746534934284d7e4db2c854bb63345626919082
|
7
|
+
data.tar.gz: 94a9b4fdf02a13e5ce38157632a75938dc84fa8271989b3db13bc758ab3d5f3c3f0341d1f7a67cb808bacde0a09c1ad3e923ab67ea7301a733d75bd7d1e8181b
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.363
|
data/lib/v20180525/client.rb
CHANGED
@@ -461,6 +461,30 @@ module TencentCloud
|
|
461
461
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
462
462
|
end
|
463
463
|
|
464
|
+
# 创建边缘集群日志采集配置
|
465
|
+
|
466
|
+
# @param request: Request instance for CreateEdgeLogConfig.
|
467
|
+
# @type request: :class:`Tencentcloud::tke::V20180525::CreateEdgeLogConfigRequest`
|
468
|
+
# @rtype: :class:`Tencentcloud::tke::V20180525::CreateEdgeLogConfigResponse`
|
469
|
+
def CreateEdgeLogConfig(request)
|
470
|
+
body = send_request('CreateEdgeLogConfig', request.serialize)
|
471
|
+
response = JSON.parse(body)
|
472
|
+
if response['Response'].key?('Error') == false
|
473
|
+
model = CreateEdgeLogConfigResponse.new
|
474
|
+
model.deserialize(response['Response'])
|
475
|
+
model
|
476
|
+
else
|
477
|
+
code = response['Response']['Error']['Code']
|
478
|
+
message = response['Response']['Error']['Message']
|
479
|
+
reqid = response['Response']['RequestId']
|
480
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
481
|
+
end
|
482
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
483
|
+
raise e
|
484
|
+
rescue StandardError => e
|
485
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
486
|
+
end
|
487
|
+
|
464
488
|
# 创建镜像缓存的接口。创建过程中,请勿删除EKSCI实例和云盘,否则镜像缓存将创建失败。
|
465
489
|
|
466
490
|
# @param request: Request instance for CreateImageCache.
|
@@ -1517,6 +1541,30 @@ module TencentCloud
|
|
1517
1541
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1518
1542
|
end
|
1519
1543
|
|
1544
|
+
# 获取集群的访问地址,包括内网地址,外网地址,外网域名,外网访问安全策略
|
1545
|
+
|
1546
|
+
# @param request: Request instance for DescribeClusterEndpoints.
|
1547
|
+
# @type request: :class:`Tencentcloud::tke::V20180525::DescribeClusterEndpointsRequest`
|
1548
|
+
# @rtype: :class:`Tencentcloud::tke::V20180525::DescribeClusterEndpointsResponse`
|
1549
|
+
def DescribeClusterEndpoints(request)
|
1550
|
+
body = send_request('DescribeClusterEndpoints', request.serialize)
|
1551
|
+
response = JSON.parse(body)
|
1552
|
+
if response['Response'].key?('Error') == false
|
1553
|
+
model = DescribeClusterEndpointsResponse.new
|
1554
|
+
model.deserialize(response['Response'])
|
1555
|
+
model
|
1556
|
+
else
|
1557
|
+
code = response['Response']['Error']['Code']
|
1558
|
+
message = response['Response']['Error']['Message']
|
1559
|
+
reqid = response['Response']['RequestId']
|
1560
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1561
|
+
end
|
1562
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1563
|
+
raise e
|
1564
|
+
rescue StandardError => e
|
1565
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1566
|
+
end
|
1567
|
+
|
1520
1568
|
# 查询集群下节点实例信息
|
1521
1569
|
|
1522
1570
|
# @param request: Request instance for DescribeClusterInstances.
|
@@ -3197,6 +3245,30 @@ module TencentCloud
|
|
3197
3245
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
3198
3246
|
end
|
3199
3247
|
|
3248
|
+
# 在tke@edge集群的边缘节点上安装日志采集组件
|
3249
|
+
|
3250
|
+
# @param request: Request instance for InstallEdgeLogAgent.
|
3251
|
+
# @type request: :class:`Tencentcloud::tke::V20180525::InstallEdgeLogAgentRequest`
|
3252
|
+
# @rtype: :class:`Tencentcloud::tke::V20180525::InstallEdgeLogAgentResponse`
|
3253
|
+
def InstallEdgeLogAgent(request)
|
3254
|
+
body = send_request('InstallEdgeLogAgent', request.serialize)
|
3255
|
+
response = JSON.parse(body)
|
3256
|
+
if response['Response'].key?('Error') == false
|
3257
|
+
model = InstallEdgeLogAgentResponse.new
|
3258
|
+
model.deserialize(response['Response'])
|
3259
|
+
model
|
3260
|
+
else
|
3261
|
+
code = response['Response']['Error']['Code']
|
3262
|
+
message = response['Response']['Error']['Message']
|
3263
|
+
reqid = response['Response']['RequestId']
|
3264
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
3265
|
+
end
|
3266
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
3267
|
+
raise e
|
3268
|
+
rescue StandardError => e
|
3269
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
3270
|
+
end
|
3271
|
+
|
3200
3272
|
# 在TKE集群中安装CLS日志采集组件
|
3201
3273
|
|
3202
3274
|
# @param request: Request instance for InstallLogAgent.
|
@@ -3797,6 +3869,30 @@ module TencentCloud
|
|
3797
3869
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
3798
3870
|
end
|
3799
3871
|
|
3872
|
+
# 从tke@edge集群边缘节点上卸载日志采集组件
|
3873
|
+
|
3874
|
+
# @param request: Request instance for UninstallEdgeLogAgent.
|
3875
|
+
# @type request: :class:`Tencentcloud::tke::V20180525::UninstallEdgeLogAgentRequest`
|
3876
|
+
# @rtype: :class:`Tencentcloud::tke::V20180525::UninstallEdgeLogAgentResponse`
|
3877
|
+
def UninstallEdgeLogAgent(request)
|
3878
|
+
body = send_request('UninstallEdgeLogAgent', request.serialize)
|
3879
|
+
response = JSON.parse(body)
|
3880
|
+
if response['Response'].key?('Error') == false
|
3881
|
+
model = UninstallEdgeLogAgentResponse.new
|
3882
|
+
model.deserialize(response['Response'])
|
3883
|
+
model
|
3884
|
+
else
|
3885
|
+
code = response['Response']['Error']['Code']
|
3886
|
+
message = response['Response']['Error']['Message']
|
3887
|
+
reqid = response['Response']['RequestId']
|
3888
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
3889
|
+
end
|
3890
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
3891
|
+
raise e
|
3892
|
+
rescue StandardError => e
|
3893
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
3894
|
+
end
|
3895
|
+
|
3800
3896
|
# 从TKE集群中卸载CLS日志采集组件
|
3801
3897
|
|
3802
3898
|
# @param request: Request instance for UninstallLogAgent.
|
data/lib/v20180525/models.rb
CHANGED
@@ -2433,6 +2433,46 @@ module TencentCloud
|
|
2433
2433
|
end
|
2434
2434
|
end
|
2435
2435
|
|
2436
|
+
# CreateEdgeLogConfig请求参数结构体
|
2437
|
+
class CreateEdgeLogConfigRequest < TencentCloud::Common::AbstractModel
|
2438
|
+
# @param ClusterId: 集群ID
|
2439
|
+
# @type ClusterId: String
|
2440
|
+
# @param LogConfig: 日志采集配置的json表达
|
2441
|
+
# @type LogConfig: String
|
2442
|
+
# @param LogsetId: CLS日志集ID
|
2443
|
+
# @type LogsetId: String
|
2444
|
+
|
2445
|
+
attr_accessor :ClusterId, :LogConfig, :LogsetId
|
2446
|
+
|
2447
|
+
def initialize(clusterid=nil, logconfig=nil, logsetid=nil)
|
2448
|
+
@ClusterId = clusterid
|
2449
|
+
@LogConfig = logconfig
|
2450
|
+
@LogsetId = logsetid
|
2451
|
+
end
|
2452
|
+
|
2453
|
+
def deserialize(params)
|
2454
|
+
@ClusterId = params['ClusterId']
|
2455
|
+
@LogConfig = params['LogConfig']
|
2456
|
+
@LogsetId = params['LogsetId']
|
2457
|
+
end
|
2458
|
+
end
|
2459
|
+
|
2460
|
+
# CreateEdgeLogConfig返回参数结构体
|
2461
|
+
class CreateEdgeLogConfigResponse < TencentCloud::Common::AbstractModel
|
2462
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2463
|
+
# @type RequestId: String
|
2464
|
+
|
2465
|
+
attr_accessor :RequestId
|
2466
|
+
|
2467
|
+
def initialize(requestid=nil)
|
2468
|
+
@RequestId = requestid
|
2469
|
+
end
|
2470
|
+
|
2471
|
+
def deserialize(params)
|
2472
|
+
@RequestId = params['RequestId']
|
2473
|
+
end
|
2474
|
+
end
|
2475
|
+
|
2436
2476
|
# CreateImageCache请求参数结构体
|
2437
2477
|
class CreateImageCacheRequest < TencentCloud::Common::AbstractModel
|
2438
2478
|
# @param Images: 用于制作镜像缓存的容器镜像列表
|
@@ -4409,6 +4449,60 @@ module TencentCloud
|
|
4409
4449
|
end
|
4410
4450
|
end
|
4411
4451
|
|
4452
|
+
# DescribeClusterEndpoints请求参数结构体
|
4453
|
+
class DescribeClusterEndpointsRequest < TencentCloud::Common::AbstractModel
|
4454
|
+
# @param ClusterId: 集群ID
|
4455
|
+
# @type ClusterId: String
|
4456
|
+
|
4457
|
+
attr_accessor :ClusterId
|
4458
|
+
|
4459
|
+
def initialize(clusterid=nil)
|
4460
|
+
@ClusterId = clusterid
|
4461
|
+
end
|
4462
|
+
|
4463
|
+
def deserialize(params)
|
4464
|
+
@ClusterId = params['ClusterId']
|
4465
|
+
end
|
4466
|
+
end
|
4467
|
+
|
4468
|
+
# DescribeClusterEndpoints返回参数结构体
|
4469
|
+
class DescribeClusterEndpointsResponse < TencentCloud::Common::AbstractModel
|
4470
|
+
# @param CertificationAuthority: 集群APIServer的CA证书
|
4471
|
+
# @type CertificationAuthority: String
|
4472
|
+
# @param ClusterExternalEndpoint: 集群APIServer的外网访问地址
|
4473
|
+
# @type ClusterExternalEndpoint: String
|
4474
|
+
# @param ClusterIntranetEndpoint: 集群APIServer的内网访问地址
|
4475
|
+
# @type ClusterIntranetEndpoint: String
|
4476
|
+
# @param ClusterDomain: 集群APIServer的域名
|
4477
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4478
|
+
# @type ClusterDomain: String
|
4479
|
+
# @param ClusterExternalACL: 集群APIServer的外网访问ACL列表
|
4480
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4481
|
+
# @type ClusterExternalACL: Array
|
4482
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
4483
|
+
# @type RequestId: String
|
4484
|
+
|
4485
|
+
attr_accessor :CertificationAuthority, :ClusterExternalEndpoint, :ClusterIntranetEndpoint, :ClusterDomain, :ClusterExternalACL, :RequestId
|
4486
|
+
|
4487
|
+
def initialize(certificationauthority=nil, clusterexternalendpoint=nil, clusterintranetendpoint=nil, clusterdomain=nil, clusterexternalacl=nil, requestid=nil)
|
4488
|
+
@CertificationAuthority = certificationauthority
|
4489
|
+
@ClusterExternalEndpoint = clusterexternalendpoint
|
4490
|
+
@ClusterIntranetEndpoint = clusterintranetendpoint
|
4491
|
+
@ClusterDomain = clusterdomain
|
4492
|
+
@ClusterExternalACL = clusterexternalacl
|
4493
|
+
@RequestId = requestid
|
4494
|
+
end
|
4495
|
+
|
4496
|
+
def deserialize(params)
|
4497
|
+
@CertificationAuthority = params['CertificationAuthority']
|
4498
|
+
@ClusterExternalEndpoint = params['ClusterExternalEndpoint']
|
4499
|
+
@ClusterIntranetEndpoint = params['ClusterIntranetEndpoint']
|
4500
|
+
@ClusterDomain = params['ClusterDomain']
|
4501
|
+
@ClusterExternalACL = params['ClusterExternalACL']
|
4502
|
+
@RequestId = params['RequestId']
|
4503
|
+
end
|
4504
|
+
end
|
4505
|
+
|
4412
4506
|
# DescribeClusterInstances请求参数结构体
|
4413
4507
|
class DescribeClusterInstancesRequest < TencentCloud::Common::AbstractModel
|
4414
4508
|
# @param ClusterId: 集群ID
|
@@ -9477,6 +9571,38 @@ module TencentCloud
|
|
9477
9571
|
end
|
9478
9572
|
end
|
9479
9573
|
|
9574
|
+
# InstallEdgeLogAgent请求参数结构体
|
9575
|
+
class InstallEdgeLogAgentRequest < TencentCloud::Common::AbstractModel
|
9576
|
+
# @param ClusterId: 集群ID
|
9577
|
+
# @type ClusterId: String
|
9578
|
+
|
9579
|
+
attr_accessor :ClusterId
|
9580
|
+
|
9581
|
+
def initialize(clusterid=nil)
|
9582
|
+
@ClusterId = clusterid
|
9583
|
+
end
|
9584
|
+
|
9585
|
+
def deserialize(params)
|
9586
|
+
@ClusterId = params['ClusterId']
|
9587
|
+
end
|
9588
|
+
end
|
9589
|
+
|
9590
|
+
# InstallEdgeLogAgent返回参数结构体
|
9591
|
+
class InstallEdgeLogAgentResponse < TencentCloud::Common::AbstractModel
|
9592
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
9593
|
+
# @type RequestId: String
|
9594
|
+
|
9595
|
+
attr_accessor :RequestId
|
9596
|
+
|
9597
|
+
def initialize(requestid=nil)
|
9598
|
+
@RequestId = requestid
|
9599
|
+
end
|
9600
|
+
|
9601
|
+
def deserialize(params)
|
9602
|
+
@RequestId = params['RequestId']
|
9603
|
+
end
|
9604
|
+
end
|
9605
|
+
|
9480
9606
|
# InstallLogAgent请求参数结构体
|
9481
9607
|
class InstallLogAgentRequest < TencentCloud::Common::AbstractModel
|
9482
9608
|
# @param ClusterId: TKE集群ID
|
@@ -13251,6 +13377,38 @@ module TencentCloud
|
|
13251
13377
|
end
|
13252
13378
|
end
|
13253
13379
|
|
13380
|
+
# UninstallEdgeLogAgent请求参数结构体
|
13381
|
+
class UninstallEdgeLogAgentRequest < TencentCloud::Common::AbstractModel
|
13382
|
+
# @param ClusterId: 集群ID
|
13383
|
+
# @type ClusterId: String
|
13384
|
+
|
13385
|
+
attr_accessor :ClusterId
|
13386
|
+
|
13387
|
+
def initialize(clusterid=nil)
|
13388
|
+
@ClusterId = clusterid
|
13389
|
+
end
|
13390
|
+
|
13391
|
+
def deserialize(params)
|
13392
|
+
@ClusterId = params['ClusterId']
|
13393
|
+
end
|
13394
|
+
end
|
13395
|
+
|
13396
|
+
# UninstallEdgeLogAgent返回参数结构体
|
13397
|
+
class UninstallEdgeLogAgentResponse < TencentCloud::Common::AbstractModel
|
13398
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
13399
|
+
# @type RequestId: String
|
13400
|
+
|
13401
|
+
attr_accessor :RequestId
|
13402
|
+
|
13403
|
+
def initialize(requestid=nil)
|
13404
|
+
@RequestId = requestid
|
13405
|
+
end
|
13406
|
+
|
13407
|
+
def deserialize(params)
|
13408
|
+
@RequestId = params['RequestId']
|
13409
|
+
end
|
13410
|
+
end
|
13411
|
+
|
13254
13412
|
# UninstallLogAgent请求参数结构体
|
13255
13413
|
class UninstallLogAgentRequest < TencentCloud::Common::AbstractModel
|
13256
13414
|
# @param ClusterId: 集群ID
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-tke
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.363
|
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-
|
11
|
+
date: 2022-07-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|