tencentcloud-sdk-tke 3.0.463 → 3.0.464

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: b99c21d00d6514ee2fbea7453325d1f8c032436a
4
- data.tar.gz: e1f5c99d3fc4c557d426309b9895d26633d38c29
3
+ metadata.gz: 602b8a29bc7f3a7d2219e1815c9bb0925c317d0f
4
+ data.tar.gz: ce88ec194774a6062883e93cba13e9e5cd99f1c8
5
5
  SHA512:
6
- metadata.gz: 0342549eebfaeb36c2b9a4e7e58d9e25f2928d5abd2a239a75c6fdab1c2c3a7682526b52eb49fbace704b831cd04922e105d7c7e71cd4164f692989f12295d31
7
- data.tar.gz: 2381ba0e5848bd81fcd1ac079ba82604f3a46bf3b9161121a1893230b9662c06a15805e438106772862481bae2e33d765b567e91f6784b3a96bcf7c946418ced
6
+ metadata.gz: dcb49af028e332d2b76c02ee0420a18d2ed84571b496db459807387ade6904826cf0e88f1c5907a107e34a32aa81e54c8067da4970d640caa7a0c9c9a1f31a98
7
+ data.tar.gz: 40b1be586895eb587a5e01a942a7a31aaf767801ae1b0f4ff81bfb7b33492923acca8f7d8a0c16b55366fb11c12983d08865bf7c8fbe44d2fafca05f63df2902
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.463
1
+ 3.0.464
@@ -341,6 +341,30 @@ 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 CreateClusterRelease.
347
+ # @type request: :class:`Tencentcloud::tke::V20180525::CreateClusterReleaseRequest`
348
+ # @rtype: :class:`Tencentcloud::tke::V20180525::CreateClusterReleaseResponse`
349
+ def CreateClusterRelease(request)
350
+ body = send_request('CreateClusterRelease', request.serialize)
351
+ response = JSON.parse(body)
352
+ if response['Response'].key?('Error') == false
353
+ model = CreateClusterReleaseResponse.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
+
344
368
  # 创建集群路由
345
369
 
346
370
  # @param request: Request instance for CreateClusterRoute.
@@ -1934,6 +1934,89 @@ module TencentCloud
1934
1934
  end
1935
1935
  end
1936
1936
 
1937
+ # CreateClusterRelease请求参数结构体
1938
+ class CreateClusterReleaseRequest < TencentCloud::Common::AbstractModel
1939
+ # @param ClusterId: 集群ID
1940
+ # @type ClusterId: String
1941
+ # @param Name: 应用名称
1942
+ # @type Name: String
1943
+ # @param Namespace: 应用命名空间
1944
+ # @type Namespace: String
1945
+ # @param Chart: 制品名称或从第三方repo 安装chart时,制品压缩包下载地址, 不支持重定向类型chart 地址,结尾为*.tgz
1946
+ # @type Chart: String
1947
+ # @param Values: 自定义参数
1948
+ # @type Values: :class:`Tencentcloud::Tke.v20180525.models.ReleaseValues`
1949
+ # @param ChartFrom: 制品来源,范围:tke-market/tcr/other
1950
+ # @type ChartFrom: String
1951
+ # @param ChartVersion: 制品版本
1952
+ # @type ChartVersion: String
1953
+ # @param ChartRepoURL: 制品仓库URL地址
1954
+ # @type ChartRepoURL: String
1955
+ # @param Username: 制品访问用户名
1956
+ # @type Username: String
1957
+ # @param Password: 制品访问密码
1958
+ # @type Password: String
1959
+ # @param ChartNamespace: 制品命名空间
1960
+ # @type ChartNamespace: String
1961
+
1962
+ attr_accessor :ClusterId, :Name, :Namespace, :Chart, :Values, :ChartFrom, :ChartVersion, :ChartRepoURL, :Username, :Password, :ChartNamespace
1963
+
1964
+ def initialize(clusterid=nil, name=nil, namespace=nil, chart=nil, values=nil, chartfrom=nil, chartversion=nil, chartrepourl=nil, username=nil, password=nil, chartnamespace=nil)
1965
+ @ClusterId = clusterid
1966
+ @Name = name
1967
+ @Namespace = namespace
1968
+ @Chart = chart
1969
+ @Values = values
1970
+ @ChartFrom = chartfrom
1971
+ @ChartVersion = chartversion
1972
+ @ChartRepoURL = chartrepourl
1973
+ @Username = username
1974
+ @Password = password
1975
+ @ChartNamespace = chartnamespace
1976
+ end
1977
+
1978
+ def deserialize(params)
1979
+ @ClusterId = params['ClusterId']
1980
+ @Name = params['Name']
1981
+ @Namespace = params['Namespace']
1982
+ @Chart = params['Chart']
1983
+ unless params['Values'].nil?
1984
+ @Values = ReleaseValues.new
1985
+ @Values.deserialize(params['Values'])
1986
+ end
1987
+ @ChartFrom = params['ChartFrom']
1988
+ @ChartVersion = params['ChartVersion']
1989
+ @ChartRepoURL = params['ChartRepoURL']
1990
+ @Username = params['Username']
1991
+ @Password = params['Password']
1992
+ @ChartNamespace = params['ChartNamespace']
1993
+ end
1994
+ end
1995
+
1996
+ # CreateClusterRelease返回参数结构体
1997
+ class CreateClusterReleaseResponse < TencentCloud::Common::AbstractModel
1998
+ # @param Release: 应用详情
1999
+ # 注意:此字段可能返回 null,表示取不到有效值。
2000
+ # @type Release: :class:`Tencentcloud::Tke.v20180525.models.PendingRelease`
2001
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2002
+ # @type RequestId: String
2003
+
2004
+ attr_accessor :Release, :RequestId
2005
+
2006
+ def initialize(release=nil, requestid=nil)
2007
+ @Release = release
2008
+ @RequestId = requestid
2009
+ end
2010
+
2011
+ def deserialize(params)
2012
+ unless params['Release'].nil?
2013
+ @Release = PendingRelease.new
2014
+ @Release.deserialize(params['Release'])
2015
+ end
2016
+ @RequestId = params['RequestId']
2017
+ end
2018
+ end
2019
+
1937
2020
  # CreateCluster请求参数结构体
1938
2021
  class CreateClusterRequest < TencentCloud::Common::AbstractModel
1939
2022
  # @param ClusterCIDRSettings: 集群容器网络配置信息
@@ -11574,6 +11657,53 @@ module TencentCloud
11574
11657
  end
11575
11658
  end
11576
11659
 
11660
+ # 应用市场安装的Pending应用
11661
+ class PendingRelease < TencentCloud::Common::AbstractModel
11662
+ # @param Condition: 应用状态详情
11663
+ # 注意:此字段可能返回 null,表示取不到有效值。
11664
+ # @type Condition: String
11665
+ # @param CreatedTime: 创建时间
11666
+ # 注意:此字段可能返回 null,表示取不到有效值。
11667
+ # @type CreatedTime: String
11668
+ # @param ID: 应用ID
11669
+ # 注意:此字段可能返回 null,表示取不到有效值。
11670
+ # @type ID: String
11671
+ # @param Name: 应用名称
11672
+ # 注意:此字段可能返回 null,表示取不到有效值。
11673
+ # @type Name: String
11674
+ # @param Namespace: 应用命名空间
11675
+ # 注意:此字段可能返回 null,表示取不到有效值。
11676
+ # @type Namespace: String
11677
+ # @param Status: 应用状态
11678
+ # 注意:此字段可能返回 null,表示取不到有效值。
11679
+ # @type Status: String
11680
+ # @param UpdatedTime: 更新时间
11681
+ # 注意:此字段可能返回 null,表示取不到有效值。
11682
+ # @type UpdatedTime: String
11683
+
11684
+ attr_accessor :Condition, :CreatedTime, :ID, :Name, :Namespace, :Status, :UpdatedTime
11685
+
11686
+ def initialize(condition=nil, createdtime=nil, id=nil, name=nil, namespace=nil, status=nil, updatedtime=nil)
11687
+ @Condition = condition
11688
+ @CreatedTime = createdtime
11689
+ @ID = id
11690
+ @Name = name
11691
+ @Namespace = namespace
11692
+ @Status = status
11693
+ @UpdatedTime = updatedtime
11694
+ end
11695
+
11696
+ def deserialize(params)
11697
+ @Condition = params['Condition']
11698
+ @CreatedTime = params['CreatedTime']
11699
+ @ID = params['ID']
11700
+ @Name = params['Name']
11701
+ @Namespace = params['Namespace']
11702
+ @Status = params['Status']
11703
+ @UpdatedTime = params['UpdatedTime']
11704
+ end
11705
+ end
11706
+
11577
11707
  # 某机型可支持的最大 VPC-CNI 模式的 Pod 数量
11578
11708
  class PodLimitsByType < TencentCloud::Common::AbstractModel
11579
11709
  # @param TKERouteENINonStaticIP: TKE共享网卡非固定IP模式可支持的Pod数量
@@ -13078,6 +13208,26 @@ module TencentCloud
13078
13208
  end
13079
13209
  end
13080
13210
 
13211
+ # 应用市场自定义参数
13212
+ class ReleaseValues < TencentCloud::Common::AbstractModel
13213
+ # @param RawOriginal: 自定义参数原始值
13214
+ # @type RawOriginal: String
13215
+ # @param ValuesType: 自定义参数值类型
13216
+ # @type ValuesType: String
13217
+
13218
+ attr_accessor :RawOriginal, :ValuesType
13219
+
13220
+ def initialize(raworiginal=nil, valuestype=nil)
13221
+ @RawOriginal = raworiginal
13222
+ @ValuesType = valuestype
13223
+ end
13224
+
13225
+ def deserialize(params)
13226
+ @RawOriginal = params['RawOriginal']
13227
+ @ValuesType = params['ValuesType']
13228
+ end
13229
+ end
13230
+
13081
13231
  # RemoveNodeFromNodePool请求参数结构体
13082
13232
  class RemoveNodeFromNodePoolRequest < TencentCloud::Common::AbstractModel
13083
13233
  # @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: 3.0.463
4
+ version: 3.0.464
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-01 00:00:00.000000000 Z
11
+ date: 2022-12-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common