tencentcloud-sdk-tke 3.0.1159 → 3.0.1161
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 +2 -2
- data/lib/v20180525/models.rb +68 -50
- data/lib/v20220501/client.rb +24 -0
- data/lib/v20220501/models.rb +186 -5
- metadata +5 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 064e957200a92a1158976661001fd1e1045d0e36
|
|
4
|
+
data.tar.gz: 1927aa77b4f4636ee45c63dde54bf6d6a2d558fb
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2b0b1b93783c314bdb46e76964f0bfb9d68b5e36ca16b55453be1c46581f6e98ad2f4050813b1fe80b08d43752f28e2a98c28e6a2806bfc885525121f2009ef6
|
|
7
|
+
data.tar.gz: 08ae285be6418f816a802d846393dcb0b6e68d27cfb156dc79dce1d1ed9338da0a097369bb83412bf21fcf40aad2f4a8e7eb73e06e1796a02c2ee4522833ff5b
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.0.
|
|
1
|
+
3.0.1161
|
data/lib/v20180525/client.rb
CHANGED
|
@@ -4493,7 +4493,7 @@ module TencentCloud
|
|
|
4493
4493
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
4494
4494
|
end
|
|
4495
4495
|
|
|
4496
|
-
#
|
|
4496
|
+
# 修改集群属性,至少选择一个参数更新
|
|
4497
4497
|
|
|
4498
4498
|
# @param request: Request instance for ModifyClusterAttribute.
|
|
4499
4499
|
# @type request: :class:`Tencentcloud::tke::V20180525::ModifyClusterAttributeRequest`
|
|
@@ -4613,7 +4613,7 @@ module TencentCloud
|
|
|
4613
4613
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
4614
4614
|
end
|
|
4615
4615
|
|
|
4616
|
-
#
|
|
4616
|
+
# 修改集群及节点池维度运行时配置
|
|
4617
4617
|
|
|
4618
4618
|
# @param request: Request instance for ModifyClusterRuntimeConfig.
|
|
4619
4619
|
# @type request: :class:`Tencentcloud::tke::V20180525::ModifyClusterRuntimeConfigRequest`
|
data/lib/v20180525/models.rb
CHANGED
|
@@ -91,9 +91,9 @@ module TencentCloud
|
|
|
91
91
|
|
|
92
92
|
# AddExistedInstances请求参数结构体
|
|
93
93
|
class AddExistedInstancesRequest < TencentCloud::Common::AbstractModel
|
|
94
|
-
# @param ClusterId: 集群ID
|
|
94
|
+
# @param ClusterId: 集群ID(请登录 [TKE 控制台](https://console.cloud.tencent.com/tke2) 获取集群 ID )
|
|
95
95
|
# @type ClusterId: String
|
|
96
|
-
# @param InstanceIds:
|
|
96
|
+
# @param InstanceIds: 实例列表,不支持竞价实例(请登录 [CVM控制台](https://console.cloud.tencent.com/cvm) 获取待添加节点ID )
|
|
97
97
|
# @type InstanceIds: Array
|
|
98
98
|
# @param InstanceAdvancedSettings: 实例额外需要设置参数信息(默认值)
|
|
99
99
|
# @type InstanceAdvancedSettings: :class:`Tencentcloud::Tke.v20180525.models.InstanceAdvancedSettings`
|
|
@@ -206,7 +206,7 @@ module TencentCloud
|
|
|
206
206
|
# @type ClusterId: String
|
|
207
207
|
# @param NodePoolId: 节点池id
|
|
208
208
|
# @type NodePoolId: String
|
|
209
|
-
# @param InstanceIds: 节点id
|
|
209
|
+
# @param InstanceIds: 节点id,获取参考 https://cloud.tencent.com/document/product/213/15728
|
|
210
210
|
# @type InstanceIds: Array
|
|
211
211
|
|
|
212
212
|
attr_accessor :ClusterId, :NodePoolId, :InstanceIds
|
|
@@ -242,7 +242,7 @@ module TencentCloud
|
|
|
242
242
|
|
|
243
243
|
# AddVpcCniSubnets请求参数结构体
|
|
244
244
|
class AddVpcCniSubnetsRequest < TencentCloud::Common::AbstractModel
|
|
245
|
-
# @param ClusterId: 集群ID
|
|
245
|
+
# @param ClusterId: 集群 ID,请[登录控制台](https://console.cloud.tencent.com/tke2/cluster)在集群列表复制ID
|
|
246
246
|
# @type ClusterId: String
|
|
247
247
|
# @param SubnetIds: 为集群容器网络增加的子网列表
|
|
248
248
|
# @type SubnetIds: Array
|
|
@@ -781,15 +781,15 @@ module TencentCloud
|
|
|
781
781
|
# @type ContainerRuntime: String
|
|
782
782
|
# @param CreatedTime: 创建时间
|
|
783
783
|
# @type CreatedTime: String
|
|
784
|
-
# @param DeletionProtection:
|
|
784
|
+
# @param DeletionProtection: 集群删除保护开关,打开:true,关闭:false
|
|
785
785
|
# @type DeletionProtection: Boolean
|
|
786
|
-
# @param EnableExternalNode:
|
|
786
|
+
# @param EnableExternalNode: 集群是否开启第三方节点支持,开启:true,关闭:false
|
|
787
787
|
# @type EnableExternalNode: Boolean
|
|
788
788
|
# @param ClusterLevel: 集群等级,针对托管集群生效
|
|
789
789
|
# @type ClusterLevel: String
|
|
790
|
-
# @param AutoUpgradeClusterLevel:
|
|
790
|
+
# @param AutoUpgradeClusterLevel: 自动变配集群等级,针对托管集群生效。开启:true,关闭:false
|
|
791
791
|
# @type AutoUpgradeClusterLevel: Boolean
|
|
792
|
-
# @param QGPUShareEnable: 是否开启QGPU
|
|
792
|
+
# @param QGPUShareEnable: 是否开启QGPU共享,开启:true,关闭:false
|
|
793
793
|
# @type QGPUShareEnable: Boolean
|
|
794
794
|
# @param RuntimeVersion: 运行时版本
|
|
795
795
|
# @type RuntimeVersion: String
|
|
@@ -1082,10 +1082,10 @@ module TencentCloud
|
|
|
1082
1082
|
# @param MaxTotalUnreadyPercentage: 未就绪节点的最大百分比,此后CA会停止操作
|
|
1083
1083
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
1084
1084
|
# @type MaxTotalUnreadyPercentage: Integer
|
|
1085
|
-
# @param ScaleDownUnreadyTime:
|
|
1085
|
+
# @param ScaleDownUnreadyTime: 表示未准备就绪的节点在有资格进行缩减之前应该停留多少分钟
|
|
1086
1086
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
1087
1087
|
# @type ScaleDownUnreadyTime: Integer
|
|
1088
|
-
# @param UnregisteredNodeRemovalTime: CA删除未在Kubernetes
|
|
1088
|
+
# @param UnregisteredNodeRemovalTime: CA删除未在Kubernetes中注册的节点之前等待的分钟数
|
|
1089
1089
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
1090
1090
|
# @type UnregisteredNodeRemovalTime: Integer
|
|
1091
1091
|
|
|
@@ -1847,9 +1847,9 @@ module TencentCloud
|
|
|
1847
1847
|
class CreateBackupStorageLocationRequest < TencentCloud::Common::AbstractModel
|
|
1848
1848
|
# @param StorageRegion: 存储仓库所属地域,比如COS广州(ap-guangzhou)
|
|
1849
1849
|
# @type StorageRegion: String
|
|
1850
|
-
# @param Bucket: 对象存储桶名称,如果是COS必须是tke-backup
|
|
1850
|
+
# @param Bucket: 对象存储桶名称,如果是COS必须是tke-backup前缀开头,字符长度是19
|
|
1851
1851
|
# @type Bucket: String
|
|
1852
|
-
# @param Name:
|
|
1852
|
+
# @param Name: 备份仓库名称,字符长度为63
|
|
1853
1853
|
# @type Name: String
|
|
1854
1854
|
# @param Provider: 存储服务提供方,默认腾讯云
|
|
1855
1855
|
# @type Provider: String
|
|
@@ -1899,7 +1899,7 @@ module TencentCloud
|
|
|
1899
1899
|
# @type ClusterId: String
|
|
1900
1900
|
# @param LogsetId: CLS日志集ID
|
|
1901
1901
|
# @type LogsetId: String
|
|
1902
|
-
# @param ClusterType: 当前集群类型支持tke
|
|
1902
|
+
# @param ClusterType: 当前集群类型支持tke(标准集群)、eks(serverless集群)
|
|
1903
1903
|
# @type ClusterType: String
|
|
1904
1904
|
|
|
1905
1905
|
attr_accessor :LogConfig, :ClusterId, :LogsetId, :ClusterType
|
|
@@ -1939,13 +1939,13 @@ module TencentCloud
|
|
|
1939
1939
|
class CreateClusterEndpointRequest < TencentCloud::Common::AbstractModel
|
|
1940
1940
|
# @param ClusterId: 集群ID
|
|
1941
1941
|
# @type ClusterId: String
|
|
1942
|
-
# @param SubnetId: 集群端口所在的子网ID (仅在开启非外网访问时需要填,必须为集群所在VPC内的子网)
|
|
1942
|
+
# @param SubnetId: 集群端口所在的子网ID (仅在开启非外网访问时需要填,必须为集群所在VPC内的子网)。获取方式:https://cloud.tencent.com/document/product/215/15784
|
|
1943
1943
|
# @type SubnetId: String
|
|
1944
1944
|
# @param IsExtranet: 是否为外网访问(TRUE 外网访问 FALSE 内网访问,默认值: FALSE)
|
|
1945
1945
|
# @type IsExtranet: Boolean
|
|
1946
1946
|
# @param Domain: 设置域名
|
|
1947
1947
|
# @type Domain: String
|
|
1948
|
-
# @param SecurityGroup: 使用的安全组,只有外网访问需要传递(开启外网访问且不使用已有clb
|
|
1948
|
+
# @param SecurityGroup: 使用的安全组,只有外网访问需要传递(开启外网访问且不使用已有clb时必传)。获取方式:https://cloud.tencent.com/document/api/215/15808
|
|
1949
1949
|
# @type SecurityGroup: String
|
|
1950
1950
|
# @param ExtensiveParameters: 创建lb参数,只有外网访问需要设置,是一个json格式化后的字符串:{"InternetAccessible":{"InternetChargeType":"TRAFFIC_POSTPAID_BY_HOUR","InternetMaxBandwidthOut":200},"VipIsp":"","BandwidthPackageId":""}。
|
|
1951
1951
|
# 各个参数意义:
|
|
@@ -5170,9 +5170,9 @@ module TencentCloud
|
|
|
5170
5170
|
|
|
5171
5171
|
# DescribeAvailableClusterVersion请求参数结构体
|
|
5172
5172
|
class DescribeAvailableClusterVersionRequest < TencentCloud::Common::AbstractModel
|
|
5173
|
-
# @param ClusterId: 集群 Id
|
|
5173
|
+
# @param ClusterId: 集群 Id。若只查询某个集群可升级的版本,需填写此项,与ClusterIds 参数二选一。
|
|
5174
5174
|
# @type ClusterId: String
|
|
5175
|
-
# @param ClusterIds: 集群 Id
|
|
5175
|
+
# @param ClusterIds: 集群 Id 列表。若查询多个集群可升级的版本,需填写此项,与ClusterId 参数二选一。
|
|
5176
5176
|
# @type ClusterIds: Array
|
|
5177
5177
|
|
|
5178
5178
|
attr_accessor :ClusterId, :ClusterIds
|
|
@@ -5637,7 +5637,7 @@ module TencentCloud
|
|
|
5637
5637
|
|
|
5638
5638
|
# DescribeClusterEndpointStatus返回参数结构体
|
|
5639
5639
|
class DescribeClusterEndpointStatusResponse < TencentCloud::Common::AbstractModel
|
|
5640
|
-
# @param Status: 查询集群访问端口状态(Created 开启成功,Creating 开启中,NotFound
|
|
5640
|
+
# @param Status: 查询集群访问端口状态(Created 开启成功,Creating 开启中,NotFound 未开启,CreateFailed 开启失败)
|
|
5641
5641
|
# @type Status: String
|
|
5642
5642
|
# @param ErrorMsg: 开启访问入口失败信息
|
|
5643
5643
|
# @type ErrorMsg: String
|
|
@@ -6519,7 +6519,7 @@ module TencentCloud
|
|
|
6519
6519
|
|
|
6520
6520
|
# DescribeClusterRoutes请求参数结构体
|
|
6521
6521
|
class DescribeClusterRoutesRequest < TencentCloud::Common::AbstractModel
|
|
6522
|
-
# @param RouteTableName:
|
|
6522
|
+
# @param RouteTableName: 路由表名称。与集群 ID 一致,可以到[集群控制台](https://console.cloud.tencent.com/tke2)进行复制。
|
|
6523
6523
|
# @type RouteTableName: String
|
|
6524
6524
|
# @param Filters: 过滤条件,当前只支持按照单个条件GatewayIP进行过滤(可选)
|
|
6525
6525
|
# @type Filters: Array
|
|
@@ -6805,7 +6805,7 @@ module TencentCloud
|
|
|
6805
6805
|
# @type Limit: Integer
|
|
6806
6806
|
# @param Filters: · "Name":"ClusterName","Values": ["test"] 按照【集群名】进行过滤。 类型:String 必选:否 · "Name":"ClusterType","Values": ["MANAGED_CLUSTER"] 按照【集群类型】进行过滤。 类型:String 必选:否 · "Name":"ClusterStatus","Values": ["Running"] 按照【集群状态】进行过滤。 类型:String 必选:否 · "Name":"vpc-id","Values": ["vpc-2wds9k9p"] 按照【VPC】进行过滤。 类型:String 必选:否 · "Name":"tag-key","Values": ["testKey"] 按照【标签键】进行过滤。 类型:String 必选:否 · "Name":"tag-value","Values": ["testValue"] 按照【标签值】进行过滤。 类型:String 必选:否 · "Name":"Tags","Values": ["product:tke"] 按照【标签键值对】进行过滤。 类型:String 必选:否
|
|
6807
6807
|
# @type Filters: Array
|
|
6808
|
-
# @param ClusterType:
|
|
6808
|
+
# @param ClusterType: 集群类型,托管集群:MANAGED_CLUSTER,独立集群:INDEPENDENT_CLUSTER。
|
|
6809
6809
|
# @type ClusterType: String
|
|
6810
6810
|
|
|
6811
6811
|
attr_accessor :ClusterIds, :Offset, :Limit, :Filters, :ClusterType
|
|
@@ -7849,7 +7849,7 @@ module TencentCloud
|
|
|
7849
7849
|
|
|
7850
7850
|
# DescribeIPAMD请求参数结构体
|
|
7851
7851
|
class DescribeIPAMDRequest < TencentCloud::Common::AbstractModel
|
|
7852
|
-
# @param ClusterId: 集群ID
|
|
7852
|
+
# @param ClusterId: 集群 ID,请[登录控制台](https://console.cloud.tencent.com/tke2/cluster)在集群列表复制ID
|
|
7853
7853
|
# @type ClusterId: String
|
|
7854
7854
|
|
|
7855
7855
|
attr_accessor :ClusterId
|
|
@@ -10018,11 +10018,11 @@ module TencentCloud
|
|
|
10018
10018
|
class DescribeResourceUsageResponse < TencentCloud::Common::AbstractModel
|
|
10019
10019
|
# @param CRDUsage: CRD使用量
|
|
10020
10020
|
# @type CRDUsage: :class:`Tencentcloud::Tke.v20180525.models.ResourceUsage`
|
|
10021
|
-
# @param PodUsage: Pod
|
|
10021
|
+
# @param PodUsage: Pod使用量,单位:个数
|
|
10022
10022
|
# @type PodUsage: Integer
|
|
10023
|
-
# @param RSUsage: ReplicaSet
|
|
10023
|
+
# @param RSUsage: ReplicaSet使用量,单位:个数
|
|
10024
10024
|
# @type RSUsage: Integer
|
|
10025
|
-
# @param ConfigMapUsage: ConfigMap
|
|
10025
|
+
# @param ConfigMapUsage: ConfigMap使用量,单位:个数
|
|
10026
10026
|
# @type ConfigMapUsage: Integer
|
|
10027
10027
|
# @param OtherUsage: 其他资源使用量
|
|
10028
10028
|
# @type OtherUsage: :class:`Tencentcloud::Tke.v20180525.models.ResourceUsage`
|
|
@@ -10060,7 +10060,7 @@ module TencentCloud
|
|
|
10060
10060
|
class DescribeRouteTableConflictsRequest < TencentCloud::Common::AbstractModel
|
|
10061
10061
|
# @param RouteTableCidrBlock: 路由表CIDR
|
|
10062
10062
|
# @type RouteTableCidrBlock: String
|
|
10063
|
-
# @param VpcId: 路由表绑定的VPC
|
|
10063
|
+
# @param VpcId: 路由表绑定的VPC,请到 [VPC 控制台](https://console.cloud.tencent.com/vpc/vpc)复制 VPC ID
|
|
10064
10064
|
# @type VpcId: String
|
|
10065
10065
|
|
|
10066
10066
|
attr_accessor :RouteTableCidrBlock, :VpcId
|
|
@@ -11451,9 +11451,9 @@ module TencentCloud
|
|
|
11451
11451
|
class EnableClusterAuditRequest < TencentCloud::Common::AbstractModel
|
|
11452
11452
|
# @param ClusterId: 集群ID
|
|
11453
11453
|
# @type ClusterId: String
|
|
11454
|
-
# @param LogsetId: CLS日志集ID
|
|
11454
|
+
# @param LogsetId: CLS日志集ID,可以通过cls接口或者控制台获取
|
|
11455
11455
|
# @type LogsetId: String
|
|
11456
|
-
# @param TopicId: CLS日志主题ID
|
|
11456
|
+
# @param TopicId: CLS日志主题ID,可以通过cls接口或者控制台获取
|
|
11457
11457
|
# @type TopicId: String
|
|
11458
11458
|
# @param TopicRegion: topic所在region,默认为集群当前region
|
|
11459
11459
|
# @type TopicRegion: String
|
|
@@ -11566,9 +11566,9 @@ module TencentCloud
|
|
|
11566
11566
|
class EnableEventPersistenceRequest < TencentCloud::Common::AbstractModel
|
|
11567
11567
|
# @param ClusterId: 集群ID
|
|
11568
11568
|
# @type ClusterId: String
|
|
11569
|
-
# @param LogsetId: cls服务的logsetID
|
|
11569
|
+
# @param LogsetId: cls服务的logsetID,通过cls接口或者控制台获取
|
|
11570
11570
|
# @type LogsetId: String
|
|
11571
|
-
# @param TopicId: cls服务的topicID
|
|
11571
|
+
# @param TopicId: cls服务的topicID,通过cls接口或者控制台获取
|
|
11572
11572
|
# @type TopicId: String
|
|
11573
11573
|
# @param TopicRegion: topic所在地域,默认为集群所在地域
|
|
11574
11574
|
# @type TopicRegion: String
|
|
@@ -12106,7 +12106,7 @@ module TencentCloud
|
|
|
12106
12106
|
|
|
12107
12107
|
# GetClusterLevelPrice请求参数结构体
|
|
12108
12108
|
class GetClusterLevelPriceRequest < TencentCloud::Common::AbstractModel
|
|
12109
|
-
# @param ClusterLevel:
|
|
12109
|
+
# @param ClusterLevel: 集群规格,托管集群询价,集群等级:L20、L50、L100、L200、L500、L1000、L3000、L5000
|
|
12110
12110
|
# @type ClusterLevel: String
|
|
12111
12111
|
|
|
12112
12112
|
attr_accessor :ClusterLevel
|
|
@@ -13270,12 +13270,18 @@ module TencentCloud
|
|
|
13270
13270
|
# @type Name: String
|
|
13271
13271
|
# @param Statistics: 诊断结果统计
|
|
13272
13272
|
# @type Statistics: Array
|
|
13273
|
+
# @param StartTime: 诊断数据开始时间
|
|
13274
|
+
# @type StartTime: String
|
|
13275
|
+
# @param EndTime: 诊断数据结束时间
|
|
13276
|
+
# @type EndTime: String
|
|
13273
13277
|
|
|
13274
|
-
attr_accessor :Name, :Statistics
|
|
13278
|
+
attr_accessor :Name, :Statistics, :StartTime, :EndTime
|
|
13275
13279
|
|
|
13276
|
-
def initialize(name=nil, statistics=nil)
|
|
13280
|
+
def initialize(name=nil, statistics=nil, starttime=nil, endtime=nil)
|
|
13277
13281
|
@Name = name
|
|
13278
13282
|
@Statistics = statistics
|
|
13283
|
+
@StartTime = starttime
|
|
13284
|
+
@EndTime = endtime
|
|
13279
13285
|
end
|
|
13280
13286
|
|
|
13281
13287
|
def deserialize(params)
|
|
@@ -13288,6 +13294,8 @@ module TencentCloud
|
|
|
13288
13294
|
@Statistics << kubejarvisstatestatistic_tmp
|
|
13289
13295
|
end
|
|
13290
13296
|
end
|
|
13297
|
+
@StartTime = params['StartTime']
|
|
13298
|
+
@EndTime = params['EndTime']
|
|
13291
13299
|
end
|
|
13292
13300
|
end
|
|
13293
13301
|
|
|
@@ -13366,7 +13374,12 @@ module TencentCloud
|
|
|
13366
13374
|
|
|
13367
13375
|
# 集群巡检统计结果
|
|
13368
13376
|
class KubeJarvisStateStatistic < TencentCloud::Common::AbstractModel
|
|
13369
|
-
# @param HealthyLevel:
|
|
13377
|
+
# @param HealthyLevel: 诊断结果的健康水平,健康水平取值:
|
|
13378
|
+
# serious:高风险
|
|
13379
|
+
# risk:中风险
|
|
13380
|
+
# warn:低风险
|
|
13381
|
+
# good:健康
|
|
13382
|
+
# failed:诊断流程异常
|
|
13370
13383
|
# @type HealthyLevel: String
|
|
13371
13384
|
# @param Count: 诊断结果的统计
|
|
13372
13385
|
# @type Count: Integer
|
|
@@ -13407,6 +13420,9 @@ module TencentCloud
|
|
|
13407
13420
|
# ListClusterInspectionResultsItems请求参数结构体
|
|
13408
13421
|
class ListClusterInspectionResultsItemsRequest < TencentCloud::Common::AbstractModel
|
|
13409
13422
|
# @param ClusterId: 目标集群ID
|
|
13423
|
+
|
|
13424
|
+
# 取值可参考:
|
|
13425
|
+
# [查询TKE集群列表](https://cloud.tencent.com/document/api/457/31862)
|
|
13410
13426
|
# @type ClusterId: String
|
|
13411
13427
|
# @param StartTime: 查询历史结果的开始时间,Unix时间戳
|
|
13412
13428
|
# @type StartTime: String
|
|
@@ -13687,11 +13703,11 @@ module TencentCloud
|
|
|
13687
13703
|
# @type ClusterId: String
|
|
13688
13704
|
# @param ProjectId: 集群所属项目
|
|
13689
13705
|
# @type ProjectId: Integer
|
|
13690
|
-
# @param ClusterName:
|
|
13706
|
+
# @param ClusterName: 集群名称,字符长度50
|
|
13691
13707
|
# @type ClusterName: String
|
|
13692
13708
|
# @param ClusterDesc: 集群描述
|
|
13693
13709
|
# @type ClusterDesc: String
|
|
13694
|
-
# @param ClusterLevel:
|
|
13710
|
+
# @param ClusterLevel: 集群等级,等级类型:L20、L50、L100、L200、L500、L1000、L3000、L5000
|
|
13695
13711
|
# @type ClusterLevel: String
|
|
13696
13712
|
# @param AutoUpgradeClusterLevel: 自动变配集群等级
|
|
13697
13713
|
# @type AutoUpgradeClusterLevel: :class:`Tencentcloud::Tke.v20180525.models.AutoUpgradeClusterLevel`
|
|
@@ -13909,7 +13925,7 @@ module TencentCloud
|
|
|
13909
13925
|
# @type ClusterId: String
|
|
13910
13926
|
# @param NodePoolId: 节点池ID
|
|
13911
13927
|
# @type NodePoolId: String
|
|
13912
|
-
# @param Name:
|
|
13928
|
+
# @param Name: 名称,最长63个字符,只能包含小写字母、数字及分隔符“_”,且必须以小写字母开头,数字或小写字母结尾
|
|
13913
13929
|
# @type Name: String
|
|
13914
13930
|
# @param MaxNodesNum: 最大节点数
|
|
13915
13931
|
# @type MaxNodesNum: Integer
|
|
@@ -14049,11 +14065,11 @@ module TencentCloud
|
|
|
14049
14065
|
class ModifyClusterRuntimeConfigRequest < TencentCloud::Common::AbstractModel
|
|
14050
14066
|
# @param ClusterId: 集群ID,必填
|
|
14051
14067
|
# @type ClusterId: String
|
|
14052
|
-
# @param DstK8SVersion:
|
|
14068
|
+
# @param DstK8SVersion: 运行时版本需依据指定的Kubernetes版本进行设置。典型情况为,在升级过程中因版本冲突而需要调整运行时版本时。
|
|
14053
14069
|
# @type DstK8SVersion: String
|
|
14054
|
-
# @param ClusterRuntimeConfig:
|
|
14070
|
+
# @param ClusterRuntimeConfig: 需要修改集群运行时填写
|
|
14055
14071
|
# @type ClusterRuntimeConfig: :class:`Tencentcloud::Tke.v20180525.models.RuntimeConfig`
|
|
14056
|
-
# @param NodePoolRuntimeConfig:
|
|
14072
|
+
# @param NodePoolRuntimeConfig: 需要修改节点池运行时,填需要修改的部分
|
|
14057
14073
|
# @type NodePoolRuntimeConfig: Array
|
|
14058
14074
|
|
|
14059
14075
|
attr_accessor :ClusterId, :DstK8SVersion, :ClusterRuntimeConfig, :NodePoolRuntimeConfig
|
|
@@ -14103,7 +14119,8 @@ module TencentCloud
|
|
|
14103
14119
|
class ModifyClusterTagsRequest < TencentCloud::Common::AbstractModel
|
|
14104
14120
|
# @param ClusterId: 集群ID
|
|
14105
14121
|
# @type ClusterId: String
|
|
14106
|
-
# @param Tags:
|
|
14122
|
+
# @param Tags: 集群标签:
|
|
14123
|
+
# [{"TagKey":"env","TagValue":"dev"}]}]
|
|
14107
14124
|
# @type Tags: Array
|
|
14108
14125
|
# @param SyncSubresource: 是否同步集群内子资源标签
|
|
14109
14126
|
# @type SyncSubresource: Boolean
|
|
@@ -14318,7 +14335,7 @@ module TencentCloud
|
|
|
14318
14335
|
# @type ClusterId: String
|
|
14319
14336
|
# @param NodePoolId: 节点池id
|
|
14320
14337
|
# @type NodePoolId: String
|
|
14321
|
-
# @param InstanceTypes:
|
|
14338
|
+
# @param InstanceTypes: 机型列表,参考 https://cloud.tencent.com/document/product/213/11518,主实例机型不支持修改
|
|
14322
14339
|
# @type InstanceTypes: Array
|
|
14323
14340
|
|
|
14324
14341
|
attr_accessor :ClusterId, :NodePoolId, :InstanceTypes
|
|
@@ -15062,11 +15079,11 @@ module TencentCloud
|
|
|
15062
15079
|
class NodePoolRuntime < TencentCloud::Common::AbstractModel
|
|
15063
15080
|
# @param NodePoolId: 节点池ID
|
|
15064
15081
|
# @type NodePoolId: String
|
|
15065
|
-
# @param RuntimeType:
|
|
15082
|
+
# @param RuntimeType: 运行时类型,参考:https://cloud.tencent.com/document/api/457/105241
|
|
15066
15083
|
# @type RuntimeType: String
|
|
15067
|
-
# @param RuntimeVersion:
|
|
15084
|
+
# @param RuntimeVersion: 运行时版本,参考:https://cloud.tencent.com/document/api/457/105241
|
|
15068
15085
|
# @type RuntimeVersion: String
|
|
15069
|
-
# @param NodePoolName:
|
|
15086
|
+
# @param NodePoolName: 节点池名称,限制 255 字符
|
|
15070
15087
|
# @type NodePoolName: String
|
|
15071
15088
|
|
|
15072
15089
|
attr_accessor :NodePoolId, :RuntimeType, :RuntimeVersion, :NodePoolName
|
|
@@ -17613,9 +17630,9 @@ module TencentCloud
|
|
|
17613
17630
|
|
|
17614
17631
|
# 集群资源使用量
|
|
17615
17632
|
class ResourceUsage < TencentCloud::Common::AbstractModel
|
|
17616
|
-
# @param Name:
|
|
17633
|
+
# @param Name: 资源类型,参考k8s 官方资源
|
|
17617
17634
|
# @type Name: String
|
|
17618
|
-
# @param Usage:
|
|
17635
|
+
# @param Usage: 资源使用量,单位:个数
|
|
17619
17636
|
# @type Usage: Integer
|
|
17620
17637
|
# @param Details: 资源使用详情
|
|
17621
17638
|
# @type Details: Array
|
|
@@ -17776,6 +17793,7 @@ module TencentCloud
|
|
|
17776
17793
|
# 路由表冲突对象
|
|
17777
17794
|
class RouteTableConflict < TencentCloud::Common::AbstractModel
|
|
17778
17795
|
# @param RouteTableType: 路由表类型。
|
|
17796
|
+
# 枚举值:CcsCluster、Vpc、VpcRouteTable、CcsClusterRouteTable
|
|
17779
17797
|
# @type RouteTableType: String
|
|
17780
17798
|
# @param RouteTableCidrBlock: 路由表CIDR。
|
|
17781
17799
|
# @type RouteTableCidrBlock: String
|
|
@@ -17942,9 +17960,9 @@ module TencentCloud
|
|
|
17942
17960
|
|
|
17943
17961
|
# 运行时配置
|
|
17944
17962
|
class RuntimeConfig < TencentCloud::Common::AbstractModel
|
|
17945
|
-
# @param RuntimeType:
|
|
17963
|
+
# @param RuntimeType: 运行时类型,支持的类型有 docker、containerd
|
|
17946
17964
|
# @type RuntimeType: String
|
|
17947
|
-
# @param RuntimeVersion:
|
|
17965
|
+
# @param RuntimeVersion: 运行时版本,参考:https://cloud.tencent.com/document/api/457/105241
|
|
17948
17966
|
# @type RuntimeVersion: String
|
|
17949
17967
|
|
|
17950
17968
|
attr_accessor :RuntimeType, :RuntimeVersion
|
|
@@ -18869,9 +18887,9 @@ module TencentCloud
|
|
|
18869
18887
|
# @type DstVersion: String
|
|
18870
18888
|
# @param ExtraArgs: 集群自定义参数
|
|
18871
18889
|
# @type ExtraArgs: :class:`Tencentcloud::Tke.v20180525.models.ClusterExtraArgs`
|
|
18872
|
-
# @param MaxNotReadyPercent: 可容忍的最大不可用pod
|
|
18890
|
+
# @param MaxNotReadyPercent: 可容忍的最大不可用pod数目。默认0
|
|
18873
18891
|
# @type MaxNotReadyPercent: Float
|
|
18874
|
-
# @param SkipPreCheck:
|
|
18892
|
+
# @param SkipPreCheck: 是否跳过预检查阶段,默认false
|
|
18875
18893
|
# @type SkipPreCheck: Boolean
|
|
18876
18894
|
|
|
18877
18895
|
attr_accessor :ClusterId, :DstVersion, :ExtraArgs, :MaxNotReadyPercent, :SkipPreCheck
|
data/lib/v20220501/client.rb
CHANGED
|
@@ -173,6 +173,30 @@ module TencentCloud
|
|
|
173
173
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
174
174
|
end
|
|
175
175
|
|
|
176
|
+
# 查询集群列表
|
|
177
|
+
|
|
178
|
+
# @param request: Request instance for DescribeClusters.
|
|
179
|
+
# @type request: :class:`Tencentcloud::tke::V20220501::DescribeClustersRequest`
|
|
180
|
+
# @rtype: :class:`Tencentcloud::tke::V20220501::DescribeClustersResponse`
|
|
181
|
+
def DescribeClusters(request)
|
|
182
|
+
body = send_request('DescribeClusters', request.serialize)
|
|
183
|
+
response = JSON.parse(body)
|
|
184
|
+
if response['Response'].key?('Error') == false
|
|
185
|
+
model = DescribeClustersResponse.new
|
|
186
|
+
model.deserialize(response['Response'])
|
|
187
|
+
model
|
|
188
|
+
else
|
|
189
|
+
code = response['Response']['Error']['Code']
|
|
190
|
+
message = response['Response']['Error']['Message']
|
|
191
|
+
reqid = response['Response']['RequestId']
|
|
192
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
193
|
+
end
|
|
194
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
195
|
+
raise e
|
|
196
|
+
rescue StandardError => e
|
|
197
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
198
|
+
end
|
|
199
|
+
|
|
176
200
|
# 查询健康检测策略
|
|
177
201
|
|
|
178
202
|
# @param request: Request instance for DescribeHealthCheckPolicies.
|
data/lib/v20220501/models.rb
CHANGED
|
@@ -92,6 +92,70 @@ module TencentCloud
|
|
|
92
92
|
end
|
|
93
93
|
end
|
|
94
94
|
|
|
95
|
+
# 集群信息结构体
|
|
96
|
+
class Cluster < TencentCloud::Common::AbstractModel
|
|
97
|
+
# @param ClusterId: 集群ID
|
|
98
|
+
# @type ClusterId: String
|
|
99
|
+
# @param ClusterName: 集群名称
|
|
100
|
+
# @type ClusterName: String
|
|
101
|
+
# @param ClusterDescription: 集群描述
|
|
102
|
+
# @type ClusterDescription: String
|
|
103
|
+
# @param ClusterVersion: 集群版本(默认值为1.10.5)
|
|
104
|
+
# @type ClusterVersion: String
|
|
105
|
+
# @param ClusterType: 集群类型,托管集群:MANAGED_CLUSTER,独立集群:INDEPENDENT_CLUSTER。
|
|
106
|
+
# @type ClusterType: String
|
|
107
|
+
# @param TagSpecification: 标签描述列表。
|
|
108
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
109
|
+
# @type TagSpecification: Array
|
|
110
|
+
# @param ClusterStatus: 集群状态 (Trading 集群开通中,Creating 创建中,Running 运行中,Deleting 删除中,Idling 闲置中,Recovering 唤醒中,Upgrading 升级中,NodeUpgrading 节点升级中,RuntimeUpgrading 节点运行时升级中,MasterScaling Master扩缩容中,ClusterLevelUpgrading 调整规格中,ResourceIsolate 欠费隔离中,ResourceIsolated 欠费已隔离,ResourceReverse 冲正恢复中,Abnormal 异常)
|
|
111
|
+
# @type ClusterStatus: String
|
|
112
|
+
# @param CreatedTime: 创建时间
|
|
113
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
114
|
+
# @type CreatedTime: String
|
|
115
|
+
# @param ClusterLevel: 集群等级,针对托管集群生效
|
|
116
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
117
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
118
|
+
# @type ClusterLevel: String
|
|
119
|
+
# @param VpcId: 集群所在vpc的id
|
|
120
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
121
|
+
# @type VpcId: String
|
|
122
|
+
|
|
123
|
+
attr_accessor :ClusterId, :ClusterName, :ClusterDescription, :ClusterVersion, :ClusterType, :TagSpecification, :ClusterStatus, :CreatedTime, :ClusterLevel, :VpcId
|
|
124
|
+
|
|
125
|
+
def initialize(clusterid=nil, clustername=nil, clusterdescription=nil, clusterversion=nil, clustertype=nil, tagspecification=nil, clusterstatus=nil, createdtime=nil, clusterlevel=nil, vpcid=nil)
|
|
126
|
+
@ClusterId = clusterid
|
|
127
|
+
@ClusterName = clustername
|
|
128
|
+
@ClusterDescription = clusterdescription
|
|
129
|
+
@ClusterVersion = clusterversion
|
|
130
|
+
@ClusterType = clustertype
|
|
131
|
+
@TagSpecification = tagspecification
|
|
132
|
+
@ClusterStatus = clusterstatus
|
|
133
|
+
@CreatedTime = createdtime
|
|
134
|
+
@ClusterLevel = clusterlevel
|
|
135
|
+
@VpcId = vpcid
|
|
136
|
+
end
|
|
137
|
+
|
|
138
|
+
def deserialize(params)
|
|
139
|
+
@ClusterId = params['ClusterId']
|
|
140
|
+
@ClusterName = params['ClusterName']
|
|
141
|
+
@ClusterDescription = params['ClusterDescription']
|
|
142
|
+
@ClusterVersion = params['ClusterVersion']
|
|
143
|
+
@ClusterType = params['ClusterType']
|
|
144
|
+
unless params['TagSpecification'].nil?
|
|
145
|
+
@TagSpecification = []
|
|
146
|
+
params['TagSpecification'].each do |i|
|
|
147
|
+
tagspecification_tmp = TagSpecification.new
|
|
148
|
+
tagspecification_tmp.deserialize(i)
|
|
149
|
+
@TagSpecification << tagspecification_tmp
|
|
150
|
+
end
|
|
151
|
+
end
|
|
152
|
+
@ClusterStatus = params['ClusterStatus']
|
|
153
|
+
@CreatedTime = params['CreatedTime']
|
|
154
|
+
@ClusterLevel = params['ClusterLevel']
|
|
155
|
+
@VpcId = params['VpcId']
|
|
156
|
+
end
|
|
157
|
+
end
|
|
158
|
+
|
|
95
159
|
# CreateHealthCheckPolicy请求参数结构体
|
|
96
160
|
class CreateHealthCheckPolicyRequest < TencentCloud::Common::AbstractModel
|
|
97
161
|
# @param ClusterId: 集群ID
|
|
@@ -626,6 +690,119 @@ module TencentCloud
|
|
|
626
690
|
end
|
|
627
691
|
end
|
|
628
692
|
|
|
693
|
+
# DescribeClusters请求参数结构体
|
|
694
|
+
class DescribeClustersRequest < TencentCloud::Common::AbstractModel
|
|
695
|
+
# @param ClusterIds: 集群ID列表(为空时,
|
|
696
|
+
# 表示获取账号下所有集群)
|
|
697
|
+
# @type ClusterIds: Array
|
|
698
|
+
# @param Offset: 偏移量,默认0
|
|
699
|
+
# @type Offset: Integer
|
|
700
|
+
# @param Limit: 最大输出条数,默认20,最大为100
|
|
701
|
+
# @type Limit: Integer
|
|
702
|
+
# @param Filters: · ClusterName
|
|
703
|
+
# 按照【集群名】进行过滤。
|
|
704
|
+
# 类型:String
|
|
705
|
+
# 必选:否
|
|
706
|
+
|
|
707
|
+
# · ClusterType
|
|
708
|
+
# 按照【集群类型】进行过滤。
|
|
709
|
+
# 类型:String
|
|
710
|
+
# 必选:否
|
|
711
|
+
|
|
712
|
+
# · ClusterStatus
|
|
713
|
+
# 按照【集群状态】进行过滤。
|
|
714
|
+
# 类型:String
|
|
715
|
+
# 必选:否
|
|
716
|
+
|
|
717
|
+
# · Tags
|
|
718
|
+
# 按照【标签键值对】进行过滤。
|
|
719
|
+
# 类型:String
|
|
720
|
+
# 必选:否
|
|
721
|
+
|
|
722
|
+
# · vpc-id
|
|
723
|
+
# 按照【VPC】进行过滤。
|
|
724
|
+
# 类型:String
|
|
725
|
+
# 必选:否
|
|
726
|
+
|
|
727
|
+
# · tag-key
|
|
728
|
+
# 按照【标签键】进行过滤。
|
|
729
|
+
# 类型:String
|
|
730
|
+
# 必选:否
|
|
731
|
+
|
|
732
|
+
# · tag-value
|
|
733
|
+
# 按照【标签值】进行过滤。
|
|
734
|
+
# 类型:String
|
|
735
|
+
# 必选:否
|
|
736
|
+
|
|
737
|
+
# · tag:tag-key
|
|
738
|
+
# 按照【标签键值对】进行过滤。
|
|
739
|
+
# 类型:String
|
|
740
|
+
# 必选:否
|
|
741
|
+
# @type Filters: Array
|
|
742
|
+
# @param ClusterType: 集群类型,例如:MANAGED_CLUSTER
|
|
743
|
+
# @type ClusterType: String
|
|
744
|
+
|
|
745
|
+
attr_accessor :ClusterIds, :Offset, :Limit, :Filters, :ClusterType
|
|
746
|
+
|
|
747
|
+
def initialize(clusterids=nil, offset=nil, limit=nil, filters=nil, clustertype=nil)
|
|
748
|
+
@ClusterIds = clusterids
|
|
749
|
+
@Offset = offset
|
|
750
|
+
@Limit = limit
|
|
751
|
+
@Filters = filters
|
|
752
|
+
@ClusterType = clustertype
|
|
753
|
+
end
|
|
754
|
+
|
|
755
|
+
def deserialize(params)
|
|
756
|
+
@ClusterIds = params['ClusterIds']
|
|
757
|
+
@Offset = params['Offset']
|
|
758
|
+
@Limit = params['Limit']
|
|
759
|
+
unless params['Filters'].nil?
|
|
760
|
+
@Filters = []
|
|
761
|
+
params['Filters'].each do |i|
|
|
762
|
+
filter_tmp = Filter.new
|
|
763
|
+
filter_tmp.deserialize(i)
|
|
764
|
+
@Filters << filter_tmp
|
|
765
|
+
end
|
|
766
|
+
end
|
|
767
|
+
@ClusterType = params['ClusterType']
|
|
768
|
+
end
|
|
769
|
+
end
|
|
770
|
+
|
|
771
|
+
# DescribeClusters返回参数结构体
|
|
772
|
+
class DescribeClustersResponse < TencentCloud::Common::AbstractModel
|
|
773
|
+
# @param TotalCount: 集群总个数
|
|
774
|
+
# @type TotalCount: Integer
|
|
775
|
+
# @param Clusters: 集群信息列表
|
|
776
|
+
# @type Clusters: Array
|
|
777
|
+
# @param Errors: 错误信息集合
|
|
778
|
+
# @type Errors: Array
|
|
779
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
780
|
+
# @type RequestId: String
|
|
781
|
+
|
|
782
|
+
attr_accessor :TotalCount, :Clusters, :Errors, :RequestId
|
|
783
|
+
|
|
784
|
+
def initialize(totalcount=nil, clusters=nil, errors=nil, requestid=nil)
|
|
785
|
+
@TotalCount = totalcount
|
|
786
|
+
@Clusters = clusters
|
|
787
|
+
@Errors = errors
|
|
788
|
+
@RequestId = requestid
|
|
789
|
+
end
|
|
790
|
+
|
|
791
|
+
def deserialize(params)
|
|
792
|
+
@TotalCount = params['TotalCount']
|
|
793
|
+
unless params['Clusters'].nil?
|
|
794
|
+
@Clusters = []
|
|
795
|
+
params['Clusters'].each do |i|
|
|
796
|
+
cluster_tmp = Cluster.new
|
|
797
|
+
cluster_tmp.deserialize(i)
|
|
798
|
+
@Clusters << cluster_tmp
|
|
799
|
+
end
|
|
800
|
+
end
|
|
801
|
+
@Errors = params['Errors']
|
|
802
|
+
@RequestId = params['RequestId']
|
|
803
|
+
end
|
|
804
|
+
end
|
|
805
|
+
|
|
629
806
|
# DescribeHealthCheckPolicies请求参数结构体
|
|
630
807
|
class DescribeHealthCheckPoliciesRequest < TencentCloud::Common::AbstractModel
|
|
631
808
|
# @param ClusterId: 集群 ID
|
|
@@ -1335,11 +1512,11 @@ module TencentCloud
|
|
|
1335
1512
|
# 包年包月配置
|
|
1336
1513
|
class InstanceChargePrepaid < TencentCloud::Common::AbstractModel
|
|
1337
1514
|
# @param Period: 后付费计费周期,单位(月):
|
|
1338
|
-
# 1,2,3,4,5
|
|
1515
|
+
# 1,2,3,4,5,6,7, 8,9,10,11,12,24,36,48,60
|
|
1339
1516
|
# @type Period: Integer
|
|
1340
1517
|
# @param RenewFlag: 预付费续费方式:
|
|
1341
|
-
# - NOTIFY_AND_AUTO_RENEW:通知用户过期,且自动续费
|
|
1342
|
-
# - NOTIFY_AND_MANUAL_RENEW:通知用户过期,但不自动续费
|
|
1518
|
+
# - NOTIFY_AND_AUTO_RENEW:通知用户过期,且自动续费
|
|
1519
|
+
# - NOTIFY_AND_MANUAL_RENEW:通知用户过期,但不自动续费(默认)
|
|
1343
1520
|
# - DISABLE_NOTIFY_AND_MANUAL_RENEW:不通知用户过期,也不自动续费
|
|
1344
1521
|
# @type RenewFlag: String
|
|
1345
1522
|
|
|
@@ -2681,6 +2858,8 @@ module TencentCloud
|
|
|
2681
2858
|
# @type InstanceTypes: Array
|
|
2682
2859
|
# @param Replicas: 期望节点数
|
|
2683
2860
|
# @type Replicas: Integer
|
|
2861
|
+
# @param UpdateExistedNode: 是否更新存量节点
|
|
2862
|
+
# @type UpdateExistedNode: Boolean
|
|
2684
2863
|
# @param DataDisks: 数据盘列表
|
|
2685
2864
|
# @type DataDisks: Array
|
|
2686
2865
|
# @param KeyIds: ssh公钥id数组
|
|
@@ -2688,9 +2867,9 @@ module TencentCloud
|
|
|
2688
2867
|
# @param GPUConfigs: 节点池 GPU 配置
|
|
2689
2868
|
# @type GPUConfigs: Array
|
|
2690
2869
|
|
|
2691
|
-
attr_accessor :Scaling, :SubnetIds, :SecurityGroupIds, :UpgradeSettings, :AutoRepair, :InstanceChargeType, :InstanceChargePrepaid, :SystemDisk, :Management, :HealthCheckPolicyName, :HostNamePattern, :KubeletArgs, :Lifecycle, :RuntimeRootDir, :EnableAutoscaling, :InstanceTypes, :Replicas, :DataDisks, :KeyIds, :GPUConfigs
|
|
2870
|
+
attr_accessor :Scaling, :SubnetIds, :SecurityGroupIds, :UpgradeSettings, :AutoRepair, :InstanceChargeType, :InstanceChargePrepaid, :SystemDisk, :Management, :HealthCheckPolicyName, :HostNamePattern, :KubeletArgs, :Lifecycle, :RuntimeRootDir, :EnableAutoscaling, :InstanceTypes, :Replicas, :UpdateExistedNode, :DataDisks, :KeyIds, :GPUConfigs
|
|
2692
2871
|
|
|
2693
|
-
def initialize(scaling=nil, subnetids=nil, securitygroupids=nil, upgradesettings=nil, autorepair=nil, instancechargetype=nil, instancechargeprepaid=nil, systemdisk=nil, management=nil, healthcheckpolicyname=nil, hostnamepattern=nil, kubeletargs=nil, lifecycle=nil, runtimerootdir=nil, enableautoscaling=nil, instancetypes=nil, replicas=nil, datadisks=nil, keyids=nil, gpuconfigs=nil)
|
|
2872
|
+
def initialize(scaling=nil, subnetids=nil, securitygroupids=nil, upgradesettings=nil, autorepair=nil, instancechargetype=nil, instancechargeprepaid=nil, systemdisk=nil, management=nil, healthcheckpolicyname=nil, hostnamepattern=nil, kubeletargs=nil, lifecycle=nil, runtimerootdir=nil, enableautoscaling=nil, instancetypes=nil, replicas=nil, updateexistednode=nil, datadisks=nil, keyids=nil, gpuconfigs=nil)
|
|
2694
2873
|
@Scaling = scaling
|
|
2695
2874
|
@SubnetIds = subnetids
|
|
2696
2875
|
@SecurityGroupIds = securitygroupids
|
|
@@ -2708,6 +2887,7 @@ module TencentCloud
|
|
|
2708
2887
|
@EnableAutoscaling = enableautoscaling
|
|
2709
2888
|
@InstanceTypes = instancetypes
|
|
2710
2889
|
@Replicas = replicas
|
|
2890
|
+
@UpdateExistedNode = updateexistednode
|
|
2711
2891
|
@DataDisks = datadisks
|
|
2712
2892
|
@KeyIds = keyids
|
|
2713
2893
|
@GPUConfigs = gpuconfigs
|
|
@@ -2749,6 +2929,7 @@ module TencentCloud
|
|
|
2749
2929
|
@EnableAutoscaling = params['EnableAutoscaling']
|
|
2750
2930
|
@InstanceTypes = params['InstanceTypes']
|
|
2751
2931
|
@Replicas = params['Replicas']
|
|
2932
|
+
@UpdateExistedNode = params['UpdateExistedNode']
|
|
2752
2933
|
unless params['DataDisks'].nil?
|
|
2753
2934
|
@DataDisks = []
|
|
2754
2935
|
params['DataDisks'].each do |i|
|
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.1161
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tencent Cloud
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2025-
|
|
11
|
+
date: 2025-11-04 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: tencentcloud-sdk-common
|
|
@@ -33,11 +33,11 @@ executables: []
|
|
|
33
33
|
extensions: []
|
|
34
34
|
extra_rdoc_files: []
|
|
35
35
|
files:
|
|
36
|
+
- lib/v20220501/client.rb
|
|
37
|
+
- lib/v20220501/models.rb
|
|
36
38
|
- lib/tencentcloud-sdk-tke.rb
|
|
37
|
-
- lib/v20180525/models.rb
|
|
38
39
|
- lib/v20180525/client.rb
|
|
39
|
-
- lib/
|
|
40
|
-
- lib/v20220501/client.rb
|
|
40
|
+
- lib/v20180525/models.rb
|
|
41
41
|
- lib/VERSION
|
|
42
42
|
homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
|
|
43
43
|
licenses:
|