tencentcloud-sdk-tke 3.0.471 → 3.0.472
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 +0 -24
- data/lib/v20180525/models.rb +15 -42
- 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: 39d056749c81131bb448ce3f1fe5f5e1e8dac8c6
|
4
|
+
data.tar.gz: 85b977ffa3469049fcb9040043bdb23ccf35ba1d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8e0dca4c265b4e4fdbea57a5383d4fea4a887a4bcf2d53bcbd8318843efd46be881793f1d2dee77c12cef909643279dbc91e6f5dc825a927efb29b15e2f1e916
|
7
|
+
data.tar.gz: da3ea421f550f9e556d57de16b39c9c104b74b8ca5b20b87ebd23c51421111b2dbdb45b6e699d3753a8355e86eadfda8d7427bc4ffa2ce04e81dc009d425f756
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.472
|
data/lib/v20180525/client.rb
CHANGED
@@ -341,30 +341,6 @@ module TencentCloud
|
|
341
341
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
342
342
|
end
|
343
343
|
|
344
|
-
# 从伸缩组创建节点池
|
345
|
-
|
346
|
-
# @param request: Request instance for CreateClusterNodePoolFromExistingAsg.
|
347
|
-
# @type request: :class:`Tencentcloud::tke::V20180525::CreateClusterNodePoolFromExistingAsgRequest`
|
348
|
-
# @rtype: :class:`Tencentcloud::tke::V20180525::CreateClusterNodePoolFromExistingAsgResponse`
|
349
|
-
def CreateClusterNodePoolFromExistingAsg(request)
|
350
|
-
body = send_request('CreateClusterNodePoolFromExistingAsg', request.serialize)
|
351
|
-
response = JSON.parse(body)
|
352
|
-
if response['Response'].key?('Error') == false
|
353
|
-
model = CreateClusterNodePoolFromExistingAsgResponse.new
|
354
|
-
model.deserialize(response['Response'])
|
355
|
-
model
|
356
|
-
else
|
357
|
-
code = response['Response']['Error']['Code']
|
358
|
-
message = response['Response']['Error']['Message']
|
359
|
-
reqid = response['Response']['RequestId']
|
360
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
361
|
-
end
|
362
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
363
|
-
raise e
|
364
|
-
rescue StandardError => e
|
365
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
366
|
-
end
|
367
|
-
|
368
344
|
# 在应用市场中给集群创建应用
|
369
345
|
|
370
346
|
# @param request: Request instance for CreateClusterRelease.
|
data/lib/v20180525/models.rb
CHANGED
@@ -1830,46 +1830,6 @@ module TencentCloud
|
|
1830
1830
|
end
|
1831
1831
|
end
|
1832
1832
|
|
1833
|
-
# CreateClusterNodePoolFromExistingAsg请求参数结构体
|
1834
|
-
class CreateClusterNodePoolFromExistingAsgRequest < TencentCloud::Common::AbstractModel
|
1835
|
-
# @param ClusterId: 集群ID
|
1836
|
-
# @type ClusterId: String
|
1837
|
-
# @param AutoscalingGroupId: 伸缩组ID
|
1838
|
-
# @type AutoscalingGroupId: String
|
1839
|
-
|
1840
|
-
attr_accessor :ClusterId, :AutoscalingGroupId
|
1841
|
-
|
1842
|
-
def initialize(clusterid=nil, autoscalinggroupid=nil)
|
1843
|
-
@ClusterId = clusterid
|
1844
|
-
@AutoscalingGroupId = autoscalinggroupid
|
1845
|
-
end
|
1846
|
-
|
1847
|
-
def deserialize(params)
|
1848
|
-
@ClusterId = params['ClusterId']
|
1849
|
-
@AutoscalingGroupId = params['AutoscalingGroupId']
|
1850
|
-
end
|
1851
|
-
end
|
1852
|
-
|
1853
|
-
# CreateClusterNodePoolFromExistingAsg返回参数结构体
|
1854
|
-
class CreateClusterNodePoolFromExistingAsgResponse < TencentCloud::Common::AbstractModel
|
1855
|
-
# @param NodePoolId: 节点池ID
|
1856
|
-
# @type NodePoolId: String
|
1857
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1858
|
-
# @type RequestId: String
|
1859
|
-
|
1860
|
-
attr_accessor :NodePoolId, :RequestId
|
1861
|
-
|
1862
|
-
def initialize(nodepoolid=nil, requestid=nil)
|
1863
|
-
@NodePoolId = nodepoolid
|
1864
|
-
@RequestId = requestid
|
1865
|
-
end
|
1866
|
-
|
1867
|
-
def deserialize(params)
|
1868
|
-
@NodePoolId = params['NodePoolId']
|
1869
|
-
@RequestId = params['RequestId']
|
1870
|
-
end
|
1871
|
-
end
|
1872
|
-
|
1873
1833
|
# CreateClusterNodePool请求参数结构体
|
1874
1834
|
class CreateClusterNodePoolRequest < TencentCloud::Common::AbstractModel
|
1875
1835
|
# @param ClusterId: cluster id
|
@@ -2726,10 +2686,17 @@ module TencentCloud
|
|
2726
2686
|
# @type ImageCacheSize: Integer
|
2727
2687
|
# @param RetentionDays: 镜像缓存保留时间天数,过期将会自动清理,默认为0,永不过期。
|
2728
2688
|
# @type RetentionDays: Integer
|
2689
|
+
# @param RegistrySkipVerifyList: 指定拉取镜像仓库的镜像时不校验证书。如["harbor.example.com"]。
|
2690
|
+
# @type RegistrySkipVerifyList: Array
|
2691
|
+
# @param RegistryHttpEndPointList: 指定拉取镜像仓库的镜像时使用 HTTP 协议。如["harbor.example.com"]。
|
2692
|
+
# @type RegistryHttpEndPointList: Array
|
2693
|
+
# @param ResolveConfig: 自定义制作镜像缓存过程中容器实例的宿主机上的 DNS。如:
|
2694
|
+
# "nameserver 4.4.4.4\nnameserver 8.8.8.8"
|
2695
|
+
# @type ResolveConfig: String
|
2729
2696
|
|
2730
|
-
attr_accessor :Images, :SubnetId, :VpcId, :ImageCacheName, :SecurityGroupIds, :ImageRegistryCredentials, :ExistedEipId, :AutoCreateEip, :AutoCreateEipAttribute, :ImageCacheSize, :RetentionDays
|
2697
|
+
attr_accessor :Images, :SubnetId, :VpcId, :ImageCacheName, :SecurityGroupIds, :ImageRegistryCredentials, :ExistedEipId, :AutoCreateEip, :AutoCreateEipAttribute, :ImageCacheSize, :RetentionDays, :RegistrySkipVerifyList, :RegistryHttpEndPointList, :ResolveConfig
|
2731
2698
|
|
2732
|
-
def initialize(images=nil, subnetid=nil, vpcid=nil, imagecachename=nil, securitygroupids=nil, imageregistrycredentials=nil, existedeipid=nil, autocreateeip=nil, autocreateeipattribute=nil, imagecachesize=nil, retentiondays=nil)
|
2699
|
+
def initialize(images=nil, subnetid=nil, vpcid=nil, imagecachename=nil, securitygroupids=nil, imageregistrycredentials=nil, existedeipid=nil, autocreateeip=nil, autocreateeipattribute=nil, imagecachesize=nil, retentiondays=nil, registryskipverifylist=nil, registryhttpendpointlist=nil, resolveconfig=nil)
|
2733
2700
|
@Images = images
|
2734
2701
|
@SubnetId = subnetid
|
2735
2702
|
@VpcId = vpcid
|
@@ -2741,6 +2708,9 @@ module TencentCloud
|
|
2741
2708
|
@AutoCreateEipAttribute = autocreateeipattribute
|
2742
2709
|
@ImageCacheSize = imagecachesize
|
2743
2710
|
@RetentionDays = retentiondays
|
2711
|
+
@RegistrySkipVerifyList = registryskipverifylist
|
2712
|
+
@RegistryHttpEndPointList = registryhttpendpointlist
|
2713
|
+
@ResolveConfig = resolveconfig
|
2744
2714
|
end
|
2745
2715
|
|
2746
2716
|
def deserialize(params)
|
@@ -2765,6 +2735,9 @@ module TencentCloud
|
|
2765
2735
|
end
|
2766
2736
|
@ImageCacheSize = params['ImageCacheSize']
|
2767
2737
|
@RetentionDays = params['RetentionDays']
|
2738
|
+
@RegistrySkipVerifyList = params['RegistrySkipVerifyList']
|
2739
|
+
@RegistryHttpEndPointList = params['RegistryHttpEndPointList']
|
2740
|
+
@ResolveConfig = params['ResolveConfig']
|
2768
2741
|
end
|
2769
2742
|
end
|
2770
2743
|
|
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.472
|
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-12-
|
11
|
+
date: 2022-12-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|