tencentcloud-sdk-tke 3.0.388 → 3.0.390
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/v20180525/client.rb +24 -0
- data/lib/v20180525/models.rb +74 -2
- 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: 8c51593a4c5fc2e300b31dc38eb24f83cb9cf960
|
4
|
+
data.tar.gz: 45978834457ef5cab448b024815f753b8903d6ef
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6f5a87e94ced8925c22dccfc9f1c2ea5a826bcea8634791098a25ddf21cf241fbde8cfc1c50bc51c7f5c2b4d93fbf3a2c689151e9856a4a46a4a45d75393ca3b
|
7
|
+
data.tar.gz: 163c77c1675aa800587e7af71d4680d32dcd524b8cdecec43b579987cf5b5263eaba9d04085eee481d56378d88335bfd66023a2ac8805fbd49773972c5742dcd
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.390
|
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
|
+
# 创建边缘容器CVM机器
|
465
|
+
|
466
|
+
# @param request: Request instance for CreateEdgeCVMInstances.
|
467
|
+
# @type request: :class:`Tencentcloud::tke::V20180525::CreateEdgeCVMInstancesRequest`
|
468
|
+
# @rtype: :class:`Tencentcloud::tke::V20180525::CreateEdgeCVMInstancesResponse`
|
469
|
+
def CreateEdgeCVMInstances(request)
|
470
|
+
body = send_request('CreateEdgeCVMInstances', request.serialize)
|
471
|
+
response = JSON.parse(body)
|
472
|
+
if response['Response'].key?('Error') == false
|
473
|
+
model = CreateEdgeCVMInstancesResponse.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
|
# 创建边缘集群日志采集配置
|
465
489
|
|
466
490
|
# @param request: Request instance for CreateEdgeLogConfig.
|
data/lib/v20180525/models.rb
CHANGED
@@ -2433,6 +2433,66 @@ module TencentCloud
|
|
2433
2433
|
end
|
2434
2434
|
end
|
2435
2435
|
|
2436
|
+
# CreateEdgeCVMInstances请求参数结构体
|
2437
|
+
class CreateEdgeCVMInstancesRequest < TencentCloud::Common::AbstractModel
|
2438
|
+
# @param ClusterID: 集群id
|
2439
|
+
# @type ClusterID: String
|
2440
|
+
# @param RunInstancePara: CVM创建透传参数,json化字符串格式,如需要保证扩展集群节点请求幂等性需要在此参数添加ClientToken字段,详见[CVM创建实例](https://cloud.tencent.com/document/product/213/15730)接口。
|
2441
|
+
# @type RunInstancePara: String
|
2442
|
+
# @param CvmRegion: CVM所属Region
|
2443
|
+
# @type CvmRegion: String
|
2444
|
+
# @param CvmCount: CVM数量
|
2445
|
+
# @type CvmCount: Integer
|
2446
|
+
# @param External: 实例扩展信息
|
2447
|
+
# @type External: String
|
2448
|
+
# @param UserScript: 用户自定义脚本
|
2449
|
+
# @type UserScript: String
|
2450
|
+
# @param EnableEni: 是否开启弹性网卡功能
|
2451
|
+
# @type EnableEni: Boolean
|
2452
|
+
|
2453
|
+
attr_accessor :ClusterID, :RunInstancePara, :CvmRegion, :CvmCount, :External, :UserScript, :EnableEni
|
2454
|
+
|
2455
|
+
def initialize(clusterid=nil, runinstancepara=nil, cvmregion=nil, cvmcount=nil, external=nil, userscript=nil, enableeni=nil)
|
2456
|
+
@ClusterID = clusterid
|
2457
|
+
@RunInstancePara = runinstancepara
|
2458
|
+
@CvmRegion = cvmregion
|
2459
|
+
@CvmCount = cvmcount
|
2460
|
+
@External = external
|
2461
|
+
@UserScript = userscript
|
2462
|
+
@EnableEni = enableeni
|
2463
|
+
end
|
2464
|
+
|
2465
|
+
def deserialize(params)
|
2466
|
+
@ClusterID = params['ClusterID']
|
2467
|
+
@RunInstancePara = params['RunInstancePara']
|
2468
|
+
@CvmRegion = params['CvmRegion']
|
2469
|
+
@CvmCount = params['CvmCount']
|
2470
|
+
@External = params['External']
|
2471
|
+
@UserScript = params['UserScript']
|
2472
|
+
@EnableEni = params['EnableEni']
|
2473
|
+
end
|
2474
|
+
end
|
2475
|
+
|
2476
|
+
# CreateEdgeCVMInstances返回参数结构体
|
2477
|
+
class CreateEdgeCVMInstancesResponse < TencentCloud::Common::AbstractModel
|
2478
|
+
# @param CvmIdSet: cvm id 列表
|
2479
|
+
# @type CvmIdSet: Array
|
2480
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2481
|
+
# @type RequestId: String
|
2482
|
+
|
2483
|
+
attr_accessor :CvmIdSet, :RequestId
|
2484
|
+
|
2485
|
+
def initialize(cvmidset=nil, requestid=nil)
|
2486
|
+
@CvmIdSet = cvmidset
|
2487
|
+
@RequestId = requestid
|
2488
|
+
end
|
2489
|
+
|
2490
|
+
def deserialize(params)
|
2491
|
+
@CvmIdSet = params['CvmIdSet']
|
2492
|
+
@RequestId = params['RequestId']
|
2493
|
+
end
|
2494
|
+
end
|
2495
|
+
|
2436
2496
|
# CreateEdgeLogConfig请求参数结构体
|
2437
2497
|
class CreateEdgeLogConfigRequest < TencentCloud::Common::AbstractModel
|
2438
2498
|
# @param ClusterId: 集群ID
|
@@ -2981,10 +3041,16 @@ module TencentCloud
|
|
2981
3041
|
# @type MaxNodePodNum: Integer
|
2982
3042
|
# @param PublicLB: 边缘计算集群公网访问LB信息
|
2983
3043
|
# @type PublicLB: :class:`Tencentcloud::Tke.v20180525.models.EdgeClusterPublicLB`
|
3044
|
+
# @param ClusterLevel: 集群的级别
|
3045
|
+
# @type ClusterLevel: String
|
3046
|
+
# @param AutoUpgradeClusterLevel: 集群是否支持自动升配
|
3047
|
+
# @type AutoUpgradeClusterLevel: Boolean
|
3048
|
+
# @param ChargeType: 集群计费方式
|
3049
|
+
# @type ChargeType: String
|
2984
3050
|
|
2985
|
-
attr_accessor :K8SVersion, :VpcId, :ClusterName, :PodCIDR, :ServiceCIDR, :ClusterDesc, :ClusterAdvancedSettings, :MaxNodePodNum, :PublicLB
|
3051
|
+
attr_accessor :K8SVersion, :VpcId, :ClusterName, :PodCIDR, :ServiceCIDR, :ClusterDesc, :ClusterAdvancedSettings, :MaxNodePodNum, :PublicLB, :ClusterLevel, :AutoUpgradeClusterLevel, :ChargeType
|
2986
3052
|
|
2987
|
-
def initialize(k8sversion=nil, vpcid=nil, clustername=nil, podcidr=nil, servicecidr=nil, clusterdesc=nil, clusteradvancedsettings=nil, maxnodepodnum=nil, publiclb=nil)
|
3053
|
+
def initialize(k8sversion=nil, vpcid=nil, clustername=nil, podcidr=nil, servicecidr=nil, clusterdesc=nil, clusteradvancedsettings=nil, maxnodepodnum=nil, publiclb=nil, clusterlevel=nil, autoupgradeclusterlevel=nil, chargetype=nil)
|
2988
3054
|
@K8SVersion = k8sversion
|
2989
3055
|
@VpcId = vpcid
|
2990
3056
|
@ClusterName = clustername
|
@@ -2994,6 +3060,9 @@ module TencentCloud
|
|
2994
3060
|
@ClusterAdvancedSettings = clusteradvancedsettings
|
2995
3061
|
@MaxNodePodNum = maxnodepodnum
|
2996
3062
|
@PublicLB = publiclb
|
3063
|
+
@ClusterLevel = clusterlevel
|
3064
|
+
@AutoUpgradeClusterLevel = autoupgradeclusterlevel
|
3065
|
+
@ChargeType = chargetype
|
2997
3066
|
end
|
2998
3067
|
|
2999
3068
|
def deserialize(params)
|
@@ -3012,6 +3081,9 @@ module TencentCloud
|
|
3012
3081
|
@PublicLB = EdgeClusterPublicLB.new
|
3013
3082
|
@PublicLB.deserialize(params['PublicLB'])
|
3014
3083
|
end
|
3084
|
+
@ClusterLevel = params['ClusterLevel']
|
3085
|
+
@AutoUpgradeClusterLevel = params['AutoUpgradeClusterLevel']
|
3086
|
+
@ChargeType = params['ChargeType']
|
3015
3087
|
end
|
3016
3088
|
end
|
3017
3089
|
|
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: 3.0.
|
4
|
+
version: 3.0.390
|
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-08-
|
11
|
+
date: 2022-08-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|