tencentcloud-sdk-tke 1.0.306 → 1.0.309
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 +0 -24
- data/lib/v20180525/models.rb +0 -66
- 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: 90df72e59a86424da8ed0cc8399d2bdce03f3238
|
4
|
+
data.tar.gz: fa3e8206dc463c3d0cae51c3feec523ae480392f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: be667daa65b532d81d9ab2fceb954992f6502b33e859827ad859ffb75d045f4c5c5e0f51c042e8a586a42365f984f5eb36259feba8be6619f3b6c907aa59c020
|
7
|
+
data.tar.gz: d82c4663040fe03fb05d3a5f86bd0cc7df298fbd6bca581e1d8691a599feefd5a2871dd421cb9735a2854f4a3d51fd80e19c7b756109fd598e1c92a40e642575
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.309
|
data/lib/v20180525/client.rb
CHANGED
@@ -197,30 +197,6 @@ module TencentCloud
|
|
197
197
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
198
198
|
end
|
199
199
|
|
200
|
-
# 为已经存在的集群创建伸缩组
|
201
|
-
|
202
|
-
# @param request: Request instance for CreateClusterAsGroup.
|
203
|
-
# @type request: :class:`Tencentcloud::tke::V20180525::CreateClusterAsGroupRequest`
|
204
|
-
# @rtype: :class:`Tencentcloud::tke::V20180525::CreateClusterAsGroupResponse`
|
205
|
-
def CreateClusterAsGroup(request)
|
206
|
-
body = send_request('CreateClusterAsGroup', request.serialize)
|
207
|
-
response = JSON.parse(body)
|
208
|
-
if response['Response'].key?('Error') == false
|
209
|
-
model = CreateClusterAsGroupResponse.new
|
210
|
-
model.deserialize(response['Response'])
|
211
|
-
model
|
212
|
-
else
|
213
|
-
code = response['Response']['Error']['Code']
|
214
|
-
message = response['Response']['Error']['Message']
|
215
|
-
reqid = response['Response']['RequestId']
|
216
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
217
|
-
end
|
218
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
219
|
-
raise e
|
220
|
-
rescue StandardError => e
|
221
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
222
|
-
end
|
223
|
-
|
224
200
|
# 创建集群访问端口(独立集群开启内网/外网访问,托管集群支持开启内网访问)
|
225
201
|
|
226
202
|
# @param request: Request instance for CreateClusterEndpoint.
|
data/lib/v20180525/models.rb
CHANGED
@@ -1477,72 +1477,6 @@ module TencentCloud
|
|
1477
1477
|
end
|
1478
1478
|
end
|
1479
1479
|
|
1480
|
-
# CreateClusterAsGroup请求参数结构体
|
1481
|
-
class CreateClusterAsGroupRequest < TencentCloud::Common::AbstractModel
|
1482
|
-
# @param ClusterId: 集群ID
|
1483
|
-
# @type ClusterId: String
|
1484
|
-
# @param AutoScalingGroupPara: 伸缩组创建透传参数,json化字符串格式,详见[伸缩组创建实例](https://cloud.tencent.com/document/api/377/20440)接口。LaunchConfigurationId由LaunchConfigurePara参数创建,不支持填写
|
1485
|
-
# @type AutoScalingGroupPara: String
|
1486
|
-
# @param LaunchConfigurePara: 启动配置创建透传参数,json化字符串格式,详见[创建启动配置](https://cloud.tencent.com/document/api/377/20447)接口。另外ImageId参数由于集群维度已经有的ImageId信息,这个字段不需要填写。UserData字段设置通过UserScript设置,这个字段不需要填写。
|
1487
|
-
# @type LaunchConfigurePara: String
|
1488
|
-
# @param InstanceAdvancedSettings: 节点高级配置信息
|
1489
|
-
# @type InstanceAdvancedSettings: :class:`Tencentcloud::Tke.v20180525.models.InstanceAdvancedSettings`
|
1490
|
-
# @param Labels: 节点Label数组
|
1491
|
-
# @type Labels: Array
|
1492
|
-
|
1493
|
-
attr_accessor :ClusterId, :AutoScalingGroupPara, :LaunchConfigurePara, :InstanceAdvancedSettings, :Labels
|
1494
|
-
|
1495
|
-
def initialize(clusterid=nil, autoscalinggrouppara=nil, launchconfigurepara=nil, instanceadvancedsettings=nil, labels=nil)
|
1496
|
-
@ClusterId = clusterid
|
1497
|
-
@AutoScalingGroupPara = autoscalinggrouppara
|
1498
|
-
@LaunchConfigurePara = launchconfigurepara
|
1499
|
-
@InstanceAdvancedSettings = instanceadvancedsettings
|
1500
|
-
@Labels = labels
|
1501
|
-
end
|
1502
|
-
|
1503
|
-
def deserialize(params)
|
1504
|
-
@ClusterId = params['ClusterId']
|
1505
|
-
@AutoScalingGroupPara = params['AutoScalingGroupPara']
|
1506
|
-
@LaunchConfigurePara = params['LaunchConfigurePara']
|
1507
|
-
unless params['InstanceAdvancedSettings'].nil?
|
1508
|
-
@InstanceAdvancedSettings = InstanceAdvancedSettings.new
|
1509
|
-
@InstanceAdvancedSettings.deserialize(params['InstanceAdvancedSettings'])
|
1510
|
-
end
|
1511
|
-
unless params['Labels'].nil?
|
1512
|
-
@Labels = []
|
1513
|
-
params['Labels'].each do |i|
|
1514
|
-
label_tmp = Label.new
|
1515
|
-
label_tmp.deserialize(i)
|
1516
|
-
@Labels << label_tmp
|
1517
|
-
end
|
1518
|
-
end
|
1519
|
-
end
|
1520
|
-
end
|
1521
|
-
|
1522
|
-
# CreateClusterAsGroup返回参数结构体
|
1523
|
-
class CreateClusterAsGroupResponse < TencentCloud::Common::AbstractModel
|
1524
|
-
# @param LaunchConfigurationId: 启动配置ID
|
1525
|
-
# @type LaunchConfigurationId: String
|
1526
|
-
# @param AutoScalingGroupId: 伸缩组ID
|
1527
|
-
# @type AutoScalingGroupId: String
|
1528
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1529
|
-
# @type RequestId: String
|
1530
|
-
|
1531
|
-
attr_accessor :LaunchConfigurationId, :AutoScalingGroupId, :RequestId
|
1532
|
-
|
1533
|
-
def initialize(launchconfigurationid=nil, autoscalinggroupid=nil, requestid=nil)
|
1534
|
-
@LaunchConfigurationId = launchconfigurationid
|
1535
|
-
@AutoScalingGroupId = autoscalinggroupid
|
1536
|
-
@RequestId = requestid
|
1537
|
-
end
|
1538
|
-
|
1539
|
-
def deserialize(params)
|
1540
|
-
@LaunchConfigurationId = params['LaunchConfigurationId']
|
1541
|
-
@AutoScalingGroupId = params['AutoScalingGroupId']
|
1542
|
-
@RequestId = params['RequestId']
|
1543
|
-
end
|
1544
|
-
end
|
1545
|
-
|
1546
1480
|
# CreateClusterEndpoint请求参数结构体
|
1547
1481
|
class CreateClusterEndpointRequest < TencentCloud::Common::AbstractModel
|
1548
1482
|
# @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.309
|
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-05-
|
11
|
+
date: 2022-05-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|