tencentcloud-sdk-tke 3.0.803 → 3.0.804

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: 633c6438295e70330952a80afbebaf163b5f502b
4
- data.tar.gz: 16fbe6dcf37f2311e6616159f13b94edcf838385
3
+ metadata.gz: 4a08efea14631a47a559259532c9716f28e58f2a
4
+ data.tar.gz: aed73d02ec3dc0719ec0d451809a3820069f8fec
5
5
  SHA512:
6
- metadata.gz: ce6c6cdfa94a4aac287f70e7c2d91e4a1266518c2ab6c3f5a7cbf4f698b68efdfbf8552a821b300257b51ee314df62262b9f172c847bb148b58771b948b4ca65
7
- data.tar.gz: 3c4155a92ccfd37124c41de67e7648c3ab2aa8d471082457e558b57f5f17073397c7efaa77eab5b8094b2c0f137f998e2b25feb31e96cdd541b825dde9b1d8f0
6
+ metadata.gz: 46eaf4fe4c544534e2f7eb44e6e8c5d13a69dd957ed5e6114f5128514d3ce76c69ae82d2c2fbd83c6d10d010e156fe20b12f5f7f5280f36918a27e417f6d4b87
7
+ data.tar.gz: 0efbea76502b388f2b54ff3fa9188b1686d520ba6ff0de290af16470ebea5579cda5f4251cf3e5c243d29c3b9989c1022b6e59e70c6fac1501bd5607aca2ee4a
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.803
1
+ 3.0.804
@@ -3581,6 +3581,30 @@ module TencentCloud
3581
3581
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
3582
3582
  end
3583
3583
 
3584
+ # 根据K8S版本获取可选运行时版本
3585
+
3586
+ # @param request: Request instance for DescribeSupportedRuntime.
3587
+ # @type request: :class:`Tencentcloud::tke::V20180525::DescribeSupportedRuntimeRequest`
3588
+ # @rtype: :class:`Tencentcloud::tke::V20180525::DescribeSupportedRuntimeResponse`
3589
+ def DescribeSupportedRuntime(request)
3590
+ body = send_request('DescribeSupportedRuntime', request.serialize)
3591
+ response = JSON.parse(body)
3592
+ if response['Response'].key?('Error') == false
3593
+ model = DescribeSupportedRuntimeResponse.new
3594
+ model.deserialize(response['Response'])
3595
+ model
3596
+ else
3597
+ code = response['Response']['Error']['Code']
3598
+ message = response['Response']['Error']['Message']
3599
+ reqid = response['Response']['RequestId']
3600
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
3601
+ end
3602
+ rescue TencentCloud::Common::TencentCloudSDKException => e
3603
+ raise e
3604
+ rescue StandardError => e
3605
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
3606
+ end
3607
+
3584
3608
  # 获取边缘计算集群的认证信息
3585
3609
 
3586
3610
  # @param request: Request instance for DescribeTKEEdgeClusterCredential.
@@ -4421,6 +4445,30 @@ module TencentCloud
4421
4445
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
4422
4446
  end
4423
4447
 
4448
+ # 修改集群及节点池纬度运行时配置
4449
+
4450
+ # @param request: Request instance for ModifyClusterRuntimeConfig.
4451
+ # @type request: :class:`Tencentcloud::tke::V20180525::ModifyClusterRuntimeConfigRequest`
4452
+ # @rtype: :class:`Tencentcloud::tke::V20180525::ModifyClusterRuntimeConfigResponse`
4453
+ def ModifyClusterRuntimeConfig(request)
4454
+ body = send_request('ModifyClusterRuntimeConfig', request.serialize)
4455
+ response = JSON.parse(body)
4456
+ if response['Response'].key?('Error') == false
4457
+ model = ModifyClusterRuntimeConfigResponse.new
4458
+ model.deserialize(response['Response'])
4459
+ model
4460
+ else
4461
+ code = response['Response']['Error']['Code']
4462
+ message = response['Response']['Error']['Message']
4463
+ reqid = response['Response']['RequestId']
4464
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
4465
+ end
4466
+ rescue TencentCloud::Common::TencentCloudSDKException => e
4467
+ raise e
4468
+ rescue StandardError => e
4469
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
4470
+ end
4471
+
4424
4472
  # 修改超级节点池
4425
4473
 
4426
4474
  # @param request: Request instance for ModifyClusterVirtualNodePool.
@@ -2410,9 +2410,9 @@ module TencentCloud
2410
2410
  class CreateClusterRouteRequest < TencentCloud::Common::AbstractModel
2411
2411
  # @param RouteTableName: 路由表名称。
2412
2412
  # @type RouteTableName: String
2413
- # @param DestinationCidrBlock: 目的端CIDR。
2413
+ # @param DestinationCidrBlock: 目的节点的 PodCIDR
2414
2414
  # @type DestinationCidrBlock: String
2415
- # @param GatewayIp: 下一跳地址。
2415
+ # @param GatewayIp: 下一跳地址,即目的节点的内网 IP 地址
2416
2416
  # @type GatewayIp: String
2417
2417
 
2418
2418
  attr_accessor :RouteTableName, :DestinationCidrBlock, :GatewayIp
@@ -2448,13 +2448,13 @@ module TencentCloud
2448
2448
 
2449
2449
  # CreateClusterRouteTable请求参数结构体
2450
2450
  class CreateClusterRouteTableRequest < TencentCloud::Common::AbstractModel
2451
- # @param RouteTableName: 路由表名称
2451
+ # @param RouteTableName: 路由表名称,一般为集群ID
2452
2452
  # @type RouteTableName: String
2453
2453
  # @param RouteTableCidrBlock: 路由表CIDR
2454
2454
  # @type RouteTableCidrBlock: String
2455
2455
  # @param VpcId: 路由表绑定的VPC
2456
2456
  # @type VpcId: String
2457
- # @param IgnoreClusterCidrConflict: 是否忽略CIDR冲突
2457
+ # @param IgnoreClusterCidrConflict: 是否忽略CIDR与 vpc 路由表的冲突, 0 表示不忽略,1表示忽略。默认不忽略
2458
2458
  # @type IgnoreClusterCidrConflict: Integer
2459
2459
 
2460
2460
  attr_accessor :RouteTableName, :RouteTableCidrBlock, :VpcId, :IgnoreClusterCidrConflict
@@ -9788,6 +9788,50 @@ module TencentCloud
9788
9788
  end
9789
9789
  end
9790
9790
 
9791
+ # DescribeSupportedRuntime请求参数结构体
9792
+ class DescribeSupportedRuntimeRequest < TencentCloud::Common::AbstractModel
9793
+ # @param K8sVersion: K8S版本
9794
+ # @type K8sVersion: String
9795
+
9796
+ attr_accessor :K8sVersion
9797
+
9798
+ def initialize(k8sversion=nil)
9799
+ @K8sVersion = k8sversion
9800
+ end
9801
+
9802
+ def deserialize(params)
9803
+ @K8sVersion = params['K8sVersion']
9804
+ end
9805
+ end
9806
+
9807
+ # DescribeSupportedRuntime返回参数结构体
9808
+ class DescribeSupportedRuntimeResponse < TencentCloud::Common::AbstractModel
9809
+ # @param OptionalRuntimes: 可选运行时列表
9810
+ # 注意:此字段可能返回 null,表示取不到有效值。
9811
+ # @type OptionalRuntimes: Array
9812
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
9813
+ # @type RequestId: String
9814
+
9815
+ attr_accessor :OptionalRuntimes, :RequestId
9816
+
9817
+ def initialize(optionalruntimes=nil, requestid=nil)
9818
+ @OptionalRuntimes = optionalruntimes
9819
+ @RequestId = requestid
9820
+ end
9821
+
9822
+ def deserialize(params)
9823
+ unless params['OptionalRuntimes'].nil?
9824
+ @OptionalRuntimes = []
9825
+ params['OptionalRuntimes'].each do |i|
9826
+ optionalruntimes_tmp = OptionalRuntimes.new
9827
+ optionalruntimes_tmp.deserialize(i)
9828
+ @OptionalRuntimes << optionalruntimes_tmp
9829
+ end
9830
+ end
9831
+ @RequestId = params['RequestId']
9832
+ end
9833
+ end
9834
+
9791
9835
  # DescribeTKEEdgeClusterCredential请求参数结构体
9792
9836
  class DescribeTKEEdgeClusterCredentialRequest < TencentCloud::Common::AbstractModel
9793
9837
  # @param ClusterId: 集群Id
@@ -13752,6 +13796,60 @@ module TencentCloud
13752
13796
  end
13753
13797
  end
13754
13798
 
13799
+ # ModifyClusterRuntimeConfig请求参数结构体
13800
+ class ModifyClusterRuntimeConfigRequest < TencentCloud::Common::AbstractModel
13801
+ # @param ClusterId: 集群ID,必填
13802
+ # @type ClusterId: String
13803
+ # @param DstK8SVersion: 当需要修改运行时版本是根据另外的K8S版本获取时,需填写。例如升级校验有冲突后修改场景
13804
+ # @type DstK8SVersion: String
13805
+ # @param ClusterRuntimeConfig: 需要修改集群运行时时填写
13806
+ # @type ClusterRuntimeConfig: :class:`Tencentcloud::Tke.v20180525.models.RuntimeConfig`
13807
+ # @param NodePoolRuntimeConfig: 需要修改节点池运行时时,填需要修改的部分
13808
+ # @type NodePoolRuntimeConfig: Array
13809
+
13810
+ attr_accessor :ClusterId, :DstK8SVersion, :ClusterRuntimeConfig, :NodePoolRuntimeConfig
13811
+
13812
+ def initialize(clusterid=nil, dstk8sversion=nil, clusterruntimeconfig=nil, nodepoolruntimeconfig=nil)
13813
+ @ClusterId = clusterid
13814
+ @DstK8SVersion = dstk8sversion
13815
+ @ClusterRuntimeConfig = clusterruntimeconfig
13816
+ @NodePoolRuntimeConfig = nodepoolruntimeconfig
13817
+ end
13818
+
13819
+ def deserialize(params)
13820
+ @ClusterId = params['ClusterId']
13821
+ @DstK8SVersion = params['DstK8SVersion']
13822
+ unless params['ClusterRuntimeConfig'].nil?
13823
+ @ClusterRuntimeConfig = RuntimeConfig.new
13824
+ @ClusterRuntimeConfig.deserialize(params['ClusterRuntimeConfig'])
13825
+ end
13826
+ unless params['NodePoolRuntimeConfig'].nil?
13827
+ @NodePoolRuntimeConfig = []
13828
+ params['NodePoolRuntimeConfig'].each do |i|
13829
+ nodepoolruntime_tmp = NodePoolRuntime.new
13830
+ nodepoolruntime_tmp.deserialize(i)
13831
+ @NodePoolRuntimeConfig << nodepoolruntime_tmp
13832
+ end
13833
+ end
13834
+ end
13835
+ end
13836
+
13837
+ # ModifyClusterRuntimeConfig返回参数结构体
13838
+ class ModifyClusterRuntimeConfigResponse < TencentCloud::Common::AbstractModel
13839
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
13840
+ # @type RequestId: String
13841
+
13842
+ attr_accessor :RequestId
13843
+
13844
+ def initialize(requestid=nil)
13845
+ @RequestId = requestid
13846
+ end
13847
+
13848
+ def deserialize(params)
13849
+ @RequestId = params['RequestId']
13850
+ end
13851
+ end
13852
+
13755
13853
  # ModifyClusterVirtualNodePool请求参数结构体
13756
13854
  class ModifyClusterVirtualNodePoolRequest < TencentCloud::Common::AbstractModel
13757
13855
  # @param ClusterId: 集群ID
@@ -14557,6 +14655,38 @@ module TencentCloud
14557
14655
  end
14558
14656
  end
14559
14657
 
14658
+ # NodePool的运行时配置
14659
+ class NodePoolRuntime < TencentCloud::Common::AbstractModel
14660
+ # @param NodePoolId: 节点池ID
14661
+ # 注意:此字段可能返回 null,表示取不到有效值。
14662
+ # @type NodePoolId: String
14663
+ # @param RuntimeType: 运行时类型
14664
+ # 注意:此字段可能返回 null,表示取不到有效值。
14665
+ # @type RuntimeType: String
14666
+ # @param RuntimeVersion: 运行时版本
14667
+ # 注意:此字段可能返回 null,表示取不到有效值。
14668
+ # @type RuntimeVersion: String
14669
+ # @param NodePoolName: 节点池名称
14670
+ # 注意:此字段可能返回 null,表示取不到有效值。
14671
+ # @type NodePoolName: String
14672
+
14673
+ attr_accessor :NodePoolId, :RuntimeType, :RuntimeVersion, :NodePoolName
14674
+
14675
+ def initialize(nodepoolid=nil, runtimetype=nil, runtimeversion=nil, nodepoolname=nil)
14676
+ @NodePoolId = nodepoolid
14677
+ @RuntimeType = runtimetype
14678
+ @RuntimeVersion = runtimeversion
14679
+ @NodePoolName = nodepoolname
14680
+ end
14681
+
14682
+ def deserialize(params)
14683
+ @NodePoolId = params['NodePoolId']
14684
+ @RuntimeType = params['RuntimeType']
14685
+ @RuntimeVersion = params['RuntimeVersion']
14686
+ @NodePoolName = params['NodePoolName']
14687
+ end
14688
+ end
14689
+
14560
14690
  # OIDC认证相关配置
14561
14691
  class OIDCConfigAuthenticationOptions < TencentCloud::Common::AbstractModel
14562
14692
  # @param AutoCreateOIDCConfig: 创建身份提供商
@@ -14584,6 +14714,33 @@ module TencentCloud
14584
14714
  end
14585
14715
  end
14586
14716
 
14717
+ # 可选运行时
14718
+ class OptionalRuntimes < TencentCloud::Common::AbstractModel
14719
+ # @param RuntimeType: 运行时类型
14720
+ # 注意:此字段可能返回 null,表示取不到有效值。
14721
+ # @type RuntimeType: String
14722
+ # @param RuntimeVersions: 运行时版本列表
14723
+ # 注意:此字段可能返回 null,表示取不到有效值。
14724
+ # @type RuntimeVersions: Array
14725
+ # @param DefaultVersion: 该类型的默认运行时版本
14726
+ # 注意:此字段可能返回 null,表示取不到有效值。
14727
+ # @type DefaultVersion: String
14728
+
14729
+ attr_accessor :RuntimeType, :RuntimeVersions, :DefaultVersion
14730
+
14731
+ def initialize(runtimetype=nil, runtimeversions=nil, defaultversion=nil)
14732
+ @RuntimeType = runtimetype
14733
+ @RuntimeVersions = runtimeversions
14734
+ @DefaultVersion = defaultversion
14735
+ end
14736
+
14737
+ def deserialize(params)
14738
+ @RuntimeType = params['RuntimeType']
14739
+ @RuntimeVersions = params['RuntimeVersions']
14740
+ @DefaultVersion = params['DefaultVersion']
14741
+ end
14742
+ end
14743
+
14587
14744
  # 应用市场安装的Pending应用
14588
14745
  class PendingRelease < TencentCloud::Common::AbstractModel
14589
14746
  # @param Condition: 应用状态详情
@@ -17058,6 +17215,28 @@ module TencentCloud
17058
17215
  end
17059
17216
  end
17060
17217
 
17218
+ # 运行时配置
17219
+ class RuntimeConfig < TencentCloud::Common::AbstractModel
17220
+ # @param RuntimeType: 运行时类型
17221
+ # 注意:此字段可能返回 null,表示取不到有效值。
17222
+ # @type RuntimeType: String
17223
+ # @param RuntimeVersion: 运行时版本
17224
+ # 注意:此字段可能返回 null,表示取不到有效值。
17225
+ # @type RuntimeVersion: String
17226
+
17227
+ attr_accessor :RuntimeType, :RuntimeVersion
17228
+
17229
+ def initialize(runtimetype=nil, runtimeversion=nil)
17230
+ @RuntimeType = runtimetype
17231
+ @RuntimeVersion = runtimeversion
17232
+ end
17233
+
17234
+ def deserialize(params)
17235
+ @RuntimeType = params['RuntimeType']
17236
+ @RuntimeVersion = params['RuntimeVersion']
17237
+ end
17238
+ end
17239
+
17061
17240
  # ScaleInClusterMaster请求参数结构体
17062
17241
  class ScaleInClusterMasterRequest < TencentCloud::Common::AbstractModel
17063
17242
  # @param ClusterId: 集群实例ID
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-tke
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.803
4
+ version: 3.0.804
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud