tencentcloud-sdk-tke 1.0.306 → 1.0.307

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: 392706a7a4c63c601edc3b022e13098d6d53f39c
4
- data.tar.gz: 95d4253fb60d5859a7e1213aa75c0def0b16d515
3
+ metadata.gz: fdeaf268b60c7989ab488bc1ec1547b36af6e010
4
+ data.tar.gz: a8fb9873d76c4caac463c3061969e397f618f475
5
5
  SHA512:
6
- metadata.gz: fd8ec92d43573e660c0d00f6140da16f08508a847f7f3371e73f0c04184977e4616255faf2b45e8140637278cb8c2547f2b6585d3e34ab7403f36684eb3812dd
7
- data.tar.gz: 6d0d05cebbf7c4b709a9f584fd235a2a3c2b7f0d7a6657fa3bb0b957670ce720e08e1bdb58759fec0429ae21d1315a5c4c89343b8d91304e52a8da3c2cf04cd5
6
+ metadata.gz: 098ff380e796acb52414308fbd67ed5fdd8581bd44ef6dd2a3d52419e7c1860e52f876b7395ccea791892739ea1ac6819019d5694874d34f19fd9001ed5b6c57
7
+ data.tar.gz: 9a394e49b52e398b967f4278a3156b33ab0dd81589e6a6a5a565b33e7e397f90731129f7a80d0e71fa30bddff4ec9c82c7ad4fe03689bdccd182b809c8ae8288
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.306
1
+ 1.0.307
@@ -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.
@@ -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.306
4
+ version: 1.0.307
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-05 00:00:00.000000000 Z
11
+ date: 2022-05-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common