tencentcloud-sdk-tke 1.0.324 → 1.0.325

Sign up to get free protection for your applications and to get access to all the features.
@@ -113,10 +113,12 @@ module TencentCloud
113
113
 
114
114
  # 参数InstanceAdvancedSettingsOverride数组的长度应与InstanceIds数组一致;当长度大于InstanceIds数组长度时将报错;当长度小于InstanceIds数组时,没有对应配置的instace将使用默认配置。
115
115
  # @type InstanceAdvancedSettingsOverrides: Array
116
+ # @param ImageId: 节点镜像(节点选项时,该参数是必传参数)
117
+ # @type ImageId: String
116
118
 
117
- attr_accessor :ClusterId, :InstanceIds, :InstanceAdvancedSettings, :EnhancedService, :LoginSettings, :HostName, :SecurityGroupIds, :NodePool, :SkipValidateOptions, :InstanceAdvancedSettingsOverrides
119
+ attr_accessor :ClusterId, :InstanceIds, :InstanceAdvancedSettings, :EnhancedService, :LoginSettings, :HostName, :SecurityGroupIds, :NodePool, :SkipValidateOptions, :InstanceAdvancedSettingsOverrides, :ImageId
118
120
 
119
- def initialize(clusterid=nil, instanceids=nil, instanceadvancedsettings=nil, enhancedservice=nil, loginsettings=nil, hostname=nil, securitygroupids=nil, nodepool=nil, skipvalidateoptions=nil, instanceadvancedsettingsoverrides=nil)
121
+ def initialize(clusterid=nil, instanceids=nil, instanceadvancedsettings=nil, enhancedservice=nil, loginsettings=nil, hostname=nil, securitygroupids=nil, nodepool=nil, skipvalidateoptions=nil, instanceadvancedsettingsoverrides=nil, imageid=nil)
120
122
  @ClusterId = clusterid
121
123
  @InstanceIds = instanceids
122
124
  @InstanceAdvancedSettings = instanceadvancedsettings
@@ -127,6 +129,7 @@ module TencentCloud
127
129
  @NodePool = nodepool
128
130
  @SkipValidateOptions = skipvalidateoptions
129
131
  @InstanceAdvancedSettingsOverrides = instanceadvancedsettingsoverrides
132
+ @ImageId = imageid
130
133
  end
131
134
 
132
135
  def deserialize(params)
@@ -159,6 +162,7 @@ module TencentCloud
159
162
  @InstanceAdvancedSettingsOverrides << instanceadvancedsettings_tmp
160
163
  end
161
164
  end
165
+ @ImageId = params['ImageId']
162
166
  end
163
167
  end
164
168
 
@@ -409,6 +413,59 @@ module TencentCloud
409
413
  end
410
414
  end
411
415
 
416
+ # CheckEdgeClusterCIDR请求参数结构体
417
+ class CheckEdgeClusterCIDRRequest < TencentCloud::Common::AbstractModel
418
+ # @param VpcId: 集群的vpc-id
419
+ # @type VpcId: String
420
+ # @param PodCIDR: 集群的pod CIDR
421
+ # @type PodCIDR: String
422
+ # @param ServiceCIDR: 集群的service CIDR
423
+ # @type ServiceCIDR: String
424
+
425
+ attr_accessor :VpcId, :PodCIDR, :ServiceCIDR
426
+
427
+ def initialize(vpcid=nil, podcidr=nil, servicecidr=nil)
428
+ @VpcId = vpcid
429
+ @PodCIDR = podcidr
430
+ @ServiceCIDR = servicecidr
431
+ end
432
+
433
+ def deserialize(params)
434
+ @VpcId = params['VpcId']
435
+ @PodCIDR = params['PodCIDR']
436
+ @ServiceCIDR = params['ServiceCIDR']
437
+ end
438
+ end
439
+
440
+ # CheckEdgeClusterCIDR返回参数结构体
441
+ class CheckEdgeClusterCIDRResponse < TencentCloud::Common::AbstractModel
442
+ # @param ConflictCode: 返回码,具体如下
443
+ # -1 内部错误
444
+ # 0 没冲突
445
+ # 1 vpc 和 serviceCIDR 冲突
446
+ # 2 vpc 和 podCIDR 冲突
447
+ # 3 serviceCIDR 和 podCIDR 冲突
448
+ # @type ConflictCode: Integer
449
+ # @param ConflictMsg: CIDR冲突描述信息。
450
+ # @type ConflictMsg: String
451
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
452
+ # @type RequestId: String
453
+
454
+ attr_accessor :ConflictCode, :ConflictMsg, :RequestId
455
+
456
+ def initialize(conflictcode=nil, conflictmsg=nil, requestid=nil)
457
+ @ConflictCode = conflictcode
458
+ @ConflictMsg = conflictmsg
459
+ @RequestId = requestid
460
+ end
461
+
462
+ def deserialize(params)
463
+ @ConflictCode = params['ConflictCode']
464
+ @ConflictMsg = params['ConflictMsg']
465
+ @RequestId = params['RequestId']
466
+ end
467
+ end
468
+
412
469
  # CheckInstancesUpgradeAble请求参数结构体
413
470
  class CheckInstancesUpgradeAbleRequest < TencentCloud::Common::AbstractModel
414
471
  # @param ClusterId: 集群ID
@@ -953,6 +1010,46 @@ module TencentCloud
953
1010
  end
954
1011
  end
955
1012
 
1013
+ # 集群创建过程
1014
+ class ClusterCondition < TencentCloud::Common::AbstractModel
1015
+ # @param Type: 集群创建过程类型
1016
+ # @type Type: String
1017
+ # @param Status: 集群创建过程状态
1018
+ # @type Status: String
1019
+ # @param LastProbeTime: 最后一次探测到该状态的时间
1020
+ # 注意:此字段可能返回 null,表示取不到有效值。
1021
+ # @type LastProbeTime: String
1022
+ # @param LastTransitionTime: 最后一次转换到该过程的时间
1023
+ # 注意:此字段可能返回 null,表示取不到有效值。
1024
+ # @type LastTransitionTime: String
1025
+ # @param Reason: 转换到该过程的简明原因
1026
+ # 注意:此字段可能返回 null,表示取不到有效值。
1027
+ # @type Reason: String
1028
+ # @param Message: 转换到该过程的更多信息
1029
+ # 注意:此字段可能返回 null,表示取不到有效值。
1030
+ # @type Message: String
1031
+
1032
+ attr_accessor :Type, :Status, :LastProbeTime, :LastTransitionTime, :Reason, :Message
1033
+
1034
+ def initialize(type=nil, status=nil, lastprobetime=nil, lasttransitiontime=nil, reason=nil, message=nil)
1035
+ @Type = type
1036
+ @Status = status
1037
+ @LastProbeTime = lastprobetime
1038
+ @LastTransitionTime = lasttransitiontime
1039
+ @Reason = reason
1040
+ @Message = message
1041
+ end
1042
+
1043
+ def deserialize(params)
1044
+ @Type = params['Type']
1045
+ @Status = params['Status']
1046
+ @LastProbeTime = params['LastProbeTime']
1047
+ @LastTransitionTime = params['LastTransitionTime']
1048
+ @Reason = params['Reason']
1049
+ @Message = params['Message']
1050
+ end
1051
+ end
1052
+
956
1053
  # 接入k8s 的认证信息
957
1054
  class ClusterCredential < TencentCloud::Common::AbstractModel
958
1055
  # @param CACert: CA 根证书
@@ -1678,6 +1775,10 @@ module TencentCloud
1678
1775
  # @type Labels: Array
1679
1776
  # @param Taints: Taints互斥
1680
1777
  # @type Taints: Array
1778
+ # @param ContainerRuntime: 节点池纬度运行时类型及版本
1779
+ # @type ContainerRuntime: String
1780
+ # @param RuntimeVersion: 运行时版本
1781
+ # @type RuntimeVersion: String
1681
1782
  # @param NodePoolOs: 节点池os
1682
1783
  # @type NodePoolOs: String
1683
1784
  # @param OsCustomizeType: 容器的镜像版本,"DOCKER_CUSTOMIZE"(容器定制版),"GENERAL"(普通版本,默认值)
@@ -1685,9 +1786,9 @@ module TencentCloud
1685
1786
  # @param Tags: 资源标签
1686
1787
  # @type Tags: Array
1687
1788
 
1688
- attr_accessor :ClusterId, :AutoScalingGroupPara, :LaunchConfigurePara, :InstanceAdvancedSettings, :EnableAutoscale, :Name, :Labels, :Taints, :NodePoolOs, :OsCustomizeType, :Tags
1789
+ attr_accessor :ClusterId, :AutoScalingGroupPara, :LaunchConfigurePara, :InstanceAdvancedSettings, :EnableAutoscale, :Name, :Labels, :Taints, :ContainerRuntime, :RuntimeVersion, :NodePoolOs, :OsCustomizeType, :Tags
1689
1790
 
1690
- def initialize(clusterid=nil, autoscalinggrouppara=nil, launchconfigurepara=nil, instanceadvancedsettings=nil, enableautoscale=nil, name=nil, labels=nil, taints=nil, nodepoolos=nil, oscustomizetype=nil, tags=nil)
1791
+ def initialize(clusterid=nil, autoscalinggrouppara=nil, launchconfigurepara=nil, instanceadvancedsettings=nil, enableautoscale=nil, name=nil, labels=nil, taints=nil, containerruntime=nil, runtimeversion=nil, nodepoolos=nil, oscustomizetype=nil, tags=nil)
1691
1792
  @ClusterId = clusterid
1692
1793
  @AutoScalingGroupPara = autoscalinggrouppara
1693
1794
  @LaunchConfigurePara = launchconfigurepara
@@ -1696,6 +1797,8 @@ module TencentCloud
1696
1797
  @Name = name
1697
1798
  @Labels = labels
1698
1799
  @Taints = taints
1800
+ @ContainerRuntime = containerruntime
1801
+ @RuntimeVersion = runtimeversion
1699
1802
  @NodePoolOs = nodepoolos
1700
1803
  @OsCustomizeType = oscustomizetype
1701
1804
  @Tags = tags
@@ -1727,6 +1830,8 @@ module TencentCloud
1727
1830
  @Taints << taint_tmp
1728
1831
  end
1729
1832
  end
1833
+ @ContainerRuntime = params['ContainerRuntime']
1834
+ @RuntimeVersion = params['RuntimeVersion']
1730
1835
  @NodePoolOs = params['NodePoolOs']
1731
1836
  @OsCustomizeType = params['OsCustomizeType']
1732
1837
  unless params['Tags'].nil?
@@ -1952,6 +2057,96 @@ module TencentCloud
1952
2057
  end
1953
2058
  end
1954
2059
 
2060
+ # CreateECMInstances请求参数结构体
2061
+ class CreateECMInstancesRequest < TencentCloud::Common::AbstractModel
2062
+ # @param ClusterID: 集群id
2063
+ # @type ClusterID: String
2064
+ # @param ModuleId: 模块id
2065
+ # @type ModuleId: String
2066
+ # @param ZoneInstanceCountISPSet: 需要创建实例的可用区及创建数目及运营商的列表
2067
+ # @type ZoneInstanceCountISPSet: Array
2068
+ # @param Password: 密码
2069
+ # @type Password: String
2070
+ # @param InternetMaxBandwidthOut: 公网带宽
2071
+ # @type InternetMaxBandwidthOut: Integer
2072
+ # @param ImageId: 镜像id
2073
+ # @type ImageId: String
2074
+ # @param InstanceName: 实例名称
2075
+ # @type InstanceName: String
2076
+ # @param HostName: 主机名称
2077
+ # @type HostName: String
2078
+ # @param EnhancedService: 增强服务,包括云镜和云监控
2079
+ # @type EnhancedService: :class:`Tencentcloud::Tke.v20180525.models.ECMEnhancedService`
2080
+ # @param UserData: 用户自定义脚本
2081
+ # @type UserData: String
2082
+ # @param External: 实例扩展信息
2083
+ # @type External: String
2084
+ # @param SecurityGroupIds: 实例所属安全组
2085
+ # @type SecurityGroupIds: Array
2086
+
2087
+ attr_accessor :ClusterID, :ModuleId, :ZoneInstanceCountISPSet, :Password, :InternetMaxBandwidthOut, :ImageId, :InstanceName, :HostName, :EnhancedService, :UserData, :External, :SecurityGroupIds
2088
+
2089
+ def initialize(clusterid=nil, moduleid=nil, zoneinstancecountispset=nil, password=nil, internetmaxbandwidthout=nil, imageid=nil, instancename=nil, hostname=nil, enhancedservice=nil, userdata=nil, external=nil, securitygroupids=nil)
2090
+ @ClusterID = clusterid
2091
+ @ModuleId = moduleid
2092
+ @ZoneInstanceCountISPSet = zoneinstancecountispset
2093
+ @Password = password
2094
+ @InternetMaxBandwidthOut = internetmaxbandwidthout
2095
+ @ImageId = imageid
2096
+ @InstanceName = instancename
2097
+ @HostName = hostname
2098
+ @EnhancedService = enhancedservice
2099
+ @UserData = userdata
2100
+ @External = external
2101
+ @SecurityGroupIds = securitygroupids
2102
+ end
2103
+
2104
+ def deserialize(params)
2105
+ @ClusterID = params['ClusterID']
2106
+ @ModuleId = params['ModuleId']
2107
+ unless params['ZoneInstanceCountISPSet'].nil?
2108
+ @ZoneInstanceCountISPSet = []
2109
+ params['ZoneInstanceCountISPSet'].each do |i|
2110
+ ecmzoneinstancecountisp_tmp = ECMZoneInstanceCountISP.new
2111
+ ecmzoneinstancecountisp_tmp.deserialize(i)
2112
+ @ZoneInstanceCountISPSet << ecmzoneinstancecountisp_tmp
2113
+ end
2114
+ end
2115
+ @Password = params['Password']
2116
+ @InternetMaxBandwidthOut = params['InternetMaxBandwidthOut']
2117
+ @ImageId = params['ImageId']
2118
+ @InstanceName = params['InstanceName']
2119
+ @HostName = params['HostName']
2120
+ unless params['EnhancedService'].nil?
2121
+ @EnhancedService = ECMEnhancedService.new
2122
+ @EnhancedService.deserialize(params['EnhancedService'])
2123
+ end
2124
+ @UserData = params['UserData']
2125
+ @External = params['External']
2126
+ @SecurityGroupIds = params['SecurityGroupIds']
2127
+ end
2128
+ end
2129
+
2130
+ # CreateECMInstances返回参数结构体
2131
+ class CreateECMInstancesResponse < TencentCloud::Common::AbstractModel
2132
+ # @param EcmIdSet: ecm id 列表
2133
+ # @type EcmIdSet: Array
2134
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2135
+ # @type RequestId: String
2136
+
2137
+ attr_accessor :EcmIdSet, :RequestId
2138
+
2139
+ def initialize(ecmidset=nil, requestid=nil)
2140
+ @EcmIdSet = ecmidset
2141
+ @RequestId = requestid
2142
+ end
2143
+
2144
+ def deserialize(params)
2145
+ @EcmIdSet = params['EcmIdSet']
2146
+ @RequestId = params['RequestId']
2147
+ end
2148
+ end
2149
+
1955
2150
  # CreateEKSCluster请求参数结构体
1956
2151
  class CreateEKSClusterRequest < TencentCloud::Common::AbstractModel
1957
2152
  # @param K8SVersion: k8s版本号。可为1.14.4, 1.12.8。
@@ -2527,6 +2722,80 @@ module TencentCloud
2527
2722
  end
2528
2723
  end
2529
2724
 
2725
+ # CreateTKEEdgeCluster请求参数结构体
2726
+ class CreateTKEEdgeClusterRequest < TencentCloud::Common::AbstractModel
2727
+ # @param K8SVersion: k8s版本号
2728
+ # @type K8SVersion: String
2729
+ # @param VpcId: vpc 的Id
2730
+ # @type VpcId: String
2731
+ # @param ClusterName: 集群名称
2732
+ # @type ClusterName: String
2733
+ # @param PodCIDR: 集群pod cidr
2734
+ # @type PodCIDR: String
2735
+ # @param ServiceCIDR: 集群service cidr
2736
+ # @type ServiceCIDR: String
2737
+ # @param ClusterDesc: 集群描述信息
2738
+ # @type ClusterDesc: String
2739
+ # @param ClusterAdvancedSettings: 集群高级设置
2740
+ # @type ClusterAdvancedSettings: :class:`Tencentcloud::Tke.v20180525.models.EdgeClusterAdvancedSettings`
2741
+ # @param MaxNodePodNum: 节点上最大Pod数量
2742
+ # @type MaxNodePodNum: Integer
2743
+ # @param PublicLB: 边缘计算集群公网访问LB信息
2744
+ # @type PublicLB: :class:`Tencentcloud::Tke.v20180525.models.EdgeClusterPublicLB`
2745
+
2746
+ attr_accessor :K8SVersion, :VpcId, :ClusterName, :PodCIDR, :ServiceCIDR, :ClusterDesc, :ClusterAdvancedSettings, :MaxNodePodNum, :PublicLB
2747
+
2748
+ def initialize(k8sversion=nil, vpcid=nil, clustername=nil, podcidr=nil, servicecidr=nil, clusterdesc=nil, clusteradvancedsettings=nil, maxnodepodnum=nil, publiclb=nil)
2749
+ @K8SVersion = k8sversion
2750
+ @VpcId = vpcid
2751
+ @ClusterName = clustername
2752
+ @PodCIDR = podcidr
2753
+ @ServiceCIDR = servicecidr
2754
+ @ClusterDesc = clusterdesc
2755
+ @ClusterAdvancedSettings = clusteradvancedsettings
2756
+ @MaxNodePodNum = maxnodepodnum
2757
+ @PublicLB = publiclb
2758
+ end
2759
+
2760
+ def deserialize(params)
2761
+ @K8SVersion = params['K8SVersion']
2762
+ @VpcId = params['VpcId']
2763
+ @ClusterName = params['ClusterName']
2764
+ @PodCIDR = params['PodCIDR']
2765
+ @ServiceCIDR = params['ServiceCIDR']
2766
+ @ClusterDesc = params['ClusterDesc']
2767
+ unless params['ClusterAdvancedSettings'].nil?
2768
+ @ClusterAdvancedSettings = EdgeClusterAdvancedSettings.new
2769
+ @ClusterAdvancedSettings.deserialize(params['ClusterAdvancedSettings'])
2770
+ end
2771
+ @MaxNodePodNum = params['MaxNodePodNum']
2772
+ unless params['PublicLB'].nil?
2773
+ @PublicLB = EdgeClusterPublicLB.new
2774
+ @PublicLB.deserialize(params['PublicLB'])
2775
+ end
2776
+ end
2777
+ end
2778
+
2779
+ # CreateTKEEdgeCluster返回参数结构体
2780
+ class CreateTKEEdgeClusterResponse < TencentCloud::Common::AbstractModel
2781
+ # @param ClusterId: 边缘计算集群Id
2782
+ # @type ClusterId: String
2783
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2784
+ # @type RequestId: String
2785
+
2786
+ attr_accessor :ClusterId, :RequestId
2787
+
2788
+ def initialize(clusterid=nil, requestid=nil)
2789
+ @ClusterId = clusterid
2790
+ @RequestId = requestid
2791
+ end
2792
+
2793
+ def deserialize(params)
2794
+ @ClusterId = params['ClusterId']
2795
+ @RequestId = params['RequestId']
2796
+ end
2797
+ end
2798
+
2530
2799
  # 自定义DNS配置
2531
2800
  class DNSConfig < TencentCloud::Common::AbstractModel
2532
2801
  # @param Nameservers: DNS 服务器IP地址列表
@@ -2951,6 +3220,42 @@ module TencentCloud
2951
3220
  end
2952
3221
  end
2953
3222
 
3223
+ # DeleteECMInstances请求参数结构体
3224
+ class DeleteECMInstancesRequest < TencentCloud::Common::AbstractModel
3225
+ # @param ClusterID: 集群ID
3226
+ # @type ClusterID: String
3227
+ # @param EcmIdSet: ecm id集合
3228
+ # @type EcmIdSet: Array
3229
+
3230
+ attr_accessor :ClusterID, :EcmIdSet
3231
+
3232
+ def initialize(clusterid=nil, ecmidset=nil)
3233
+ @ClusterID = clusterid
3234
+ @EcmIdSet = ecmidset
3235
+ end
3236
+
3237
+ def deserialize(params)
3238
+ @ClusterID = params['ClusterID']
3239
+ @EcmIdSet = params['EcmIdSet']
3240
+ end
3241
+ end
3242
+
3243
+ # DeleteECMInstances返回参数结构体
3244
+ class DeleteECMInstancesResponse < TencentCloud::Common::AbstractModel
3245
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3246
+ # @type RequestId: String
3247
+
3248
+ attr_accessor :RequestId
3249
+
3250
+ def initialize(requestid=nil)
3251
+ @RequestId = requestid
3252
+ end
3253
+
3254
+ def deserialize(params)
3255
+ @RequestId = params['RequestId']
3256
+ end
3257
+ end
3258
+
2954
3259
  # DeleteEKSCluster请求参数结构体
2955
3260
  class DeleteEKSClusterRequest < TencentCloud::Common::AbstractModel
2956
3261
  # @param ClusterId: 弹性集群Id
@@ -3019,6 +3324,78 @@ module TencentCloud
3019
3324
  end
3020
3325
  end
3021
3326
 
3327
+ # DeleteEdgeCVMInstances请求参数结构体
3328
+ class DeleteEdgeCVMInstancesRequest < TencentCloud::Common::AbstractModel
3329
+ # @param ClusterID: 集群ID
3330
+ # @type ClusterID: String
3331
+ # @param CvmIdSet: cvm id集合
3332
+ # @type CvmIdSet: Array
3333
+
3334
+ attr_accessor :ClusterID, :CvmIdSet
3335
+
3336
+ def initialize(clusterid=nil, cvmidset=nil)
3337
+ @ClusterID = clusterid
3338
+ @CvmIdSet = cvmidset
3339
+ end
3340
+
3341
+ def deserialize(params)
3342
+ @ClusterID = params['ClusterID']
3343
+ @CvmIdSet = params['CvmIdSet']
3344
+ end
3345
+ end
3346
+
3347
+ # DeleteEdgeCVMInstances返回参数结构体
3348
+ class DeleteEdgeCVMInstancesResponse < TencentCloud::Common::AbstractModel
3349
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3350
+ # @type RequestId: String
3351
+
3352
+ attr_accessor :RequestId
3353
+
3354
+ def initialize(requestid=nil)
3355
+ @RequestId = requestid
3356
+ end
3357
+
3358
+ def deserialize(params)
3359
+ @RequestId = params['RequestId']
3360
+ end
3361
+ end
3362
+
3363
+ # DeleteEdgeClusterInstances请求参数结构体
3364
+ class DeleteEdgeClusterInstancesRequest < TencentCloud::Common::AbstractModel
3365
+ # @param ClusterId: 集群ID
3366
+ # @type ClusterId: String
3367
+ # @param InstanceIds: 待删除实例ID数组
3368
+ # @type InstanceIds: Array
3369
+
3370
+ attr_accessor :ClusterId, :InstanceIds
3371
+
3372
+ def initialize(clusterid=nil, instanceids=nil)
3373
+ @ClusterId = clusterid
3374
+ @InstanceIds = instanceids
3375
+ end
3376
+
3377
+ def deserialize(params)
3378
+ @ClusterId = params['ClusterId']
3379
+ @InstanceIds = params['InstanceIds']
3380
+ end
3381
+ end
3382
+
3383
+ # DeleteEdgeClusterInstances返回参数结构体
3384
+ class DeleteEdgeClusterInstancesResponse < TencentCloud::Common::AbstractModel
3385
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3386
+ # @type RequestId: String
3387
+
3388
+ attr_accessor :RequestId
3389
+
3390
+ def initialize(requestid=nil)
3391
+ @RequestId = requestid
3392
+ end
3393
+
3394
+ def deserialize(params)
3395
+ @RequestId = params['RequestId']
3396
+ end
3397
+ end
3398
+
3022
3399
  # DeleteImageCaches请求参数结构体
3023
3400
  class DeleteImageCachesRequest < TencentCloud::Common::AbstractModel
3024
3401
  # @param ImageCacheIds: 镜像缓存Id数组
@@ -3277,23 +3654,55 @@ module TencentCloud
3277
3654
  end
3278
3655
  end
3279
3656
 
3280
- # DescribeAvailableClusterVersion请求参数结构体
3281
- class DescribeAvailableClusterVersionRequest < TencentCloud::Common::AbstractModel
3282
- # @param ClusterId: 集群 Id
3657
+ # DeleteTKEEdgeCluster请求参数结构体
3658
+ class DeleteTKEEdgeClusterRequest < TencentCloud::Common::AbstractModel
3659
+ # @param ClusterId: 集群ID
3283
3660
  # @type ClusterId: String
3284
- # @param ClusterIds: 集群 Id 列表
3285
- # @type ClusterIds: Array
3286
3661
 
3287
- attr_accessor :ClusterId, :ClusterIds
3662
+ attr_accessor :ClusterId
3288
3663
 
3289
- def initialize(clusterid=nil, clusterids=nil)
3664
+ def initialize(clusterid=nil)
3290
3665
  @ClusterId = clusterid
3291
- @ClusterIds = clusterids
3292
3666
  end
3293
3667
 
3294
3668
  def deserialize(params)
3295
3669
  @ClusterId = params['ClusterId']
3296
- @ClusterIds = params['ClusterIds']
3670
+ end
3671
+ end
3672
+
3673
+ # DeleteTKEEdgeCluster返回参数结构体
3674
+ class DeleteTKEEdgeClusterResponse < TencentCloud::Common::AbstractModel
3675
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3676
+ # @type RequestId: String
3677
+
3678
+ attr_accessor :RequestId
3679
+
3680
+ def initialize(requestid=nil)
3681
+ @RequestId = requestid
3682
+ end
3683
+
3684
+ def deserialize(params)
3685
+ @RequestId = params['RequestId']
3686
+ end
3687
+ end
3688
+
3689
+ # DescribeAvailableClusterVersion请求参数结构体
3690
+ class DescribeAvailableClusterVersionRequest < TencentCloud::Common::AbstractModel
3691
+ # @param ClusterId: 集群 Id
3692
+ # @type ClusterId: String
3693
+ # @param ClusterIds: 集群 Id 列表
3694
+ # @type ClusterIds: Array
3695
+
3696
+ attr_accessor :ClusterId, :ClusterIds
3697
+
3698
+ def initialize(clusterid=nil, clusterids=nil)
3699
+ @ClusterId = clusterid
3700
+ @ClusterIds = clusterids
3701
+ end
3702
+
3703
+ def deserialize(params)
3704
+ @ClusterId = params['ClusterId']
3705
+ @ClusterIds = params['ClusterIds']
3297
3706
  end
3298
3707
  end
3299
3708
 
@@ -3330,6 +3739,37 @@ module TencentCloud
3330
3739
  end
3331
3740
  end
3332
3741
 
3742
+ # DescribeAvailableTKEEdgeVersion请求参数结构体
3743
+ class DescribeAvailableTKEEdgeVersionRequest < TencentCloud::Common::AbstractModel
3744
+
3745
+
3746
+ def initialize()
3747
+ end
3748
+
3749
+ def deserialize(params)
3750
+ end
3751
+ end
3752
+
3753
+ # DescribeAvailableTKEEdgeVersion返回参数结构体
3754
+ class DescribeAvailableTKEEdgeVersionResponse < TencentCloud::Common::AbstractModel
3755
+ # @param Versions: 版本列表
3756
+ # @type Versions: Array
3757
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3758
+ # @type RequestId: String
3759
+
3760
+ attr_accessor :Versions, :RequestId
3761
+
3762
+ def initialize(versions=nil, requestid=nil)
3763
+ @Versions = versions
3764
+ @RequestId = requestid
3765
+ end
3766
+
3767
+ def deserialize(params)
3768
+ @Versions = params['Versions']
3769
+ @RequestId = params['RequestId']
3770
+ end
3771
+ end
3772
+
3333
3773
  # DescribeClusterAsGroupOption请求参数结构体
3334
3774
  class DescribeClusterAsGroupOptionRequest < TencentCloud::Common::AbstractModel
3335
3775
  # @param ClusterId: 集群ID
@@ -4326,6 +4766,58 @@ module TencentCloud
4326
4766
  end
4327
4767
  end
4328
4768
 
4769
+ # DescribeECMInstances请求参数结构体
4770
+ class DescribeECMInstancesRequest < TencentCloud::Common::AbstractModel
4771
+ # @param ClusterID: 集群id
4772
+ # @type ClusterID: String
4773
+ # @param Filters: 过滤条件
4774
+ # 仅支持ecm-id过滤
4775
+ # @type Filters: Array
4776
+
4777
+ attr_accessor :ClusterID, :Filters
4778
+
4779
+ def initialize(clusterid=nil, filters=nil)
4780
+ @ClusterID = clusterid
4781
+ @Filters = filters
4782
+ end
4783
+
4784
+ def deserialize(params)
4785
+ @ClusterID = params['ClusterID']
4786
+ unless params['Filters'].nil?
4787
+ @Filters = []
4788
+ params['Filters'].each do |i|
4789
+ filter_tmp = Filter.new
4790
+ filter_tmp.deserialize(i)
4791
+ @Filters << filter_tmp
4792
+ end
4793
+ end
4794
+ end
4795
+ end
4796
+
4797
+ # DescribeECMInstances返回参数结构体
4798
+ class DescribeECMInstancesResponse < TencentCloud::Common::AbstractModel
4799
+ # @param TotalCount: 返回的实例相关信息列表的长度
4800
+ # @type TotalCount: Integer
4801
+ # @param InstanceInfoSet: 返回的实例相关信息列表
4802
+ # @type InstanceInfoSet: Array
4803
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4804
+ # @type RequestId: String
4805
+
4806
+ attr_accessor :TotalCount, :InstanceInfoSet, :RequestId
4807
+
4808
+ def initialize(totalcount=nil, instanceinfoset=nil, requestid=nil)
4809
+ @TotalCount = totalcount
4810
+ @InstanceInfoSet = instanceinfoset
4811
+ @RequestId = requestid
4812
+ end
4813
+
4814
+ def deserialize(params)
4815
+ @TotalCount = params['TotalCount']
4816
+ @InstanceInfoSet = params['InstanceInfoSet']
4817
+ @RequestId = params['RequestId']
4818
+ end
4819
+ end
4820
+
4329
4821
  # DescribeEKSClusterCredential请求参数结构体
4330
4822
  class DescribeEKSClusterCredentialRequest < TencentCloud::Common::AbstractModel
4331
4823
  # @param ClusterId: 集群Id
@@ -4645,6 +5137,202 @@ module TencentCloud
4645
5137
  end
4646
5138
  end
4647
5139
 
5140
+ # DescribeEdgeAvailableExtraArgs请求参数结构体
5141
+ class DescribeEdgeAvailableExtraArgsRequest < TencentCloud::Common::AbstractModel
5142
+ # @param ClusterVersion: 集群版本
5143
+ # @type ClusterVersion: String
5144
+
5145
+ attr_accessor :ClusterVersion
5146
+
5147
+ def initialize(clusterversion=nil)
5148
+ @ClusterVersion = clusterversion
5149
+ end
5150
+
5151
+ def deserialize(params)
5152
+ @ClusterVersion = params['ClusterVersion']
5153
+ end
5154
+ end
5155
+
5156
+ # DescribeEdgeAvailableExtraArgs返回参数结构体
5157
+ class DescribeEdgeAvailableExtraArgsResponse < TencentCloud::Common::AbstractModel
5158
+ # @param ClusterVersion: 集群版本
5159
+ # 注意:此字段可能返回 null,表示取不到有效值。
5160
+ # @type ClusterVersion: String
5161
+ # @param AvailableExtraArgs: 可用的自定义参数
5162
+ # 注意:此字段可能返回 null,表示取不到有效值。
5163
+ # @type AvailableExtraArgs: :class:`Tencentcloud::Tke.v20180525.models.EdgeAvailableExtraArgs`
5164
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5165
+ # @type RequestId: String
5166
+
5167
+ attr_accessor :ClusterVersion, :AvailableExtraArgs, :RequestId
5168
+
5169
+ def initialize(clusterversion=nil, availableextraargs=nil, requestid=nil)
5170
+ @ClusterVersion = clusterversion
5171
+ @AvailableExtraArgs = availableextraargs
5172
+ @RequestId = requestid
5173
+ end
5174
+
5175
+ def deserialize(params)
5176
+ @ClusterVersion = params['ClusterVersion']
5177
+ unless params['AvailableExtraArgs'].nil?
5178
+ @AvailableExtraArgs = EdgeAvailableExtraArgs.new
5179
+ @AvailableExtraArgs.deserialize(params['AvailableExtraArgs'])
5180
+ end
5181
+ @RequestId = params['RequestId']
5182
+ end
5183
+ end
5184
+
5185
+ # DescribeEdgeCVMInstances请求参数结构体
5186
+ class DescribeEdgeCVMInstancesRequest < TencentCloud::Common::AbstractModel
5187
+ # @param ClusterID: 集群id
5188
+ # @type ClusterID: String
5189
+ # @param Filters: 过滤条件
5190
+ # 仅支持cvm-id过滤
5191
+ # @type Filters: Array
5192
+
5193
+ attr_accessor :ClusterID, :Filters
5194
+
5195
+ def initialize(clusterid=nil, filters=nil)
5196
+ @ClusterID = clusterid
5197
+ @Filters = filters
5198
+ end
5199
+
5200
+ def deserialize(params)
5201
+ @ClusterID = params['ClusterID']
5202
+ unless params['Filters'].nil?
5203
+ @Filters = []
5204
+ params['Filters'].each do |i|
5205
+ filter_tmp = Filter.new
5206
+ filter_tmp.deserialize(i)
5207
+ @Filters << filter_tmp
5208
+ end
5209
+ end
5210
+ end
5211
+ end
5212
+
5213
+ # DescribeEdgeCVMInstances返回参数结构体
5214
+ class DescribeEdgeCVMInstancesResponse < TencentCloud::Common::AbstractModel
5215
+ # @param TotalCount: 返回的实例相关信息列表的长度
5216
+ # @type TotalCount: Integer
5217
+ # @param InstanceInfoSet: 返回的实例相关信息列表
5218
+ # @type InstanceInfoSet: Array
5219
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5220
+ # @type RequestId: String
5221
+
5222
+ attr_accessor :TotalCount, :InstanceInfoSet, :RequestId
5223
+
5224
+ def initialize(totalcount=nil, instanceinfoset=nil, requestid=nil)
5225
+ @TotalCount = totalcount
5226
+ @InstanceInfoSet = instanceinfoset
5227
+ @RequestId = requestid
5228
+ end
5229
+
5230
+ def deserialize(params)
5231
+ @TotalCount = params['TotalCount']
5232
+ @InstanceInfoSet = params['InstanceInfoSet']
5233
+ @RequestId = params['RequestId']
5234
+ end
5235
+ end
5236
+
5237
+ # DescribeEdgeClusterExtraArgs请求参数结构体
5238
+ class DescribeEdgeClusterExtraArgsRequest < TencentCloud::Common::AbstractModel
5239
+ # @param ClusterId: 集群ID
5240
+ # @type ClusterId: String
5241
+
5242
+ attr_accessor :ClusterId
5243
+
5244
+ def initialize(clusterid=nil)
5245
+ @ClusterId = clusterid
5246
+ end
5247
+
5248
+ def deserialize(params)
5249
+ @ClusterId = params['ClusterId']
5250
+ end
5251
+ end
5252
+
5253
+ # DescribeEdgeClusterExtraArgs返回参数结构体
5254
+ class DescribeEdgeClusterExtraArgsResponse < TencentCloud::Common::AbstractModel
5255
+ # @param ClusterExtraArgs: 集群自定义参数
5256
+ # 注意:此字段可能返回 null,表示取不到有效值。
5257
+ # @type ClusterExtraArgs: :class:`Tencentcloud::Tke.v20180525.models.EdgeClusterExtraArgs`
5258
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5259
+ # @type RequestId: String
5260
+
5261
+ attr_accessor :ClusterExtraArgs, :RequestId
5262
+
5263
+ def initialize(clusterextraargs=nil, requestid=nil)
5264
+ @ClusterExtraArgs = clusterextraargs
5265
+ @RequestId = requestid
5266
+ end
5267
+
5268
+ def deserialize(params)
5269
+ unless params['ClusterExtraArgs'].nil?
5270
+ @ClusterExtraArgs = EdgeClusterExtraArgs.new
5271
+ @ClusterExtraArgs.deserialize(params['ClusterExtraArgs'])
5272
+ end
5273
+ @RequestId = params['RequestId']
5274
+ end
5275
+ end
5276
+
5277
+ # DescribeEdgeClusterInstances请求参数结构体
5278
+ class DescribeEdgeClusterInstancesRequest < TencentCloud::Common::AbstractModel
5279
+ # @param ClusterID: 集群id
5280
+ # @type ClusterID: String
5281
+ # @param Limit: 查询总数
5282
+ # @type Limit: Integer
5283
+ # @param Offset: 偏移量
5284
+ # @type Offset: Integer
5285
+ # @param Filters: 过滤条件,仅支持NodeName过滤
5286
+ # @type Filters: Array
5287
+
5288
+ attr_accessor :ClusterID, :Limit, :Offset, :Filters
5289
+
5290
+ def initialize(clusterid=nil, limit=nil, offset=nil, filters=nil)
5291
+ @ClusterID = clusterid
5292
+ @Limit = limit
5293
+ @Offset = offset
5294
+ @Filters = filters
5295
+ end
5296
+
5297
+ def deserialize(params)
5298
+ @ClusterID = params['ClusterID']
5299
+ @Limit = params['Limit']
5300
+ @Offset = params['Offset']
5301
+ unless params['Filters'].nil?
5302
+ @Filters = []
5303
+ params['Filters'].each do |i|
5304
+ filter_tmp = Filter.new
5305
+ filter_tmp.deserialize(i)
5306
+ @Filters << filter_tmp
5307
+ end
5308
+ end
5309
+ end
5310
+ end
5311
+
5312
+ # DescribeEdgeClusterInstances返回参数结构体
5313
+ class DescribeEdgeClusterInstancesResponse < TencentCloud::Common::AbstractModel
5314
+ # @param TotalCount: 该集群总数
5315
+ # @type TotalCount: Integer
5316
+ # @param InstanceInfoSet: 节点信息集合
5317
+ # @type InstanceInfoSet: String
5318
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5319
+ # @type RequestId: String
5320
+
5321
+ attr_accessor :TotalCount, :InstanceInfoSet, :RequestId
5322
+
5323
+ def initialize(totalcount=nil, instanceinfoset=nil, requestid=nil)
5324
+ @TotalCount = totalcount
5325
+ @InstanceInfoSet = instanceinfoset
5326
+ @RequestId = requestid
5327
+ end
5328
+
5329
+ def deserialize(params)
5330
+ @TotalCount = params['TotalCount']
5331
+ @InstanceInfoSet = params['InstanceInfoSet']
5332
+ @RequestId = params['RequestId']
5333
+ end
5334
+ end
5335
+
4648
5336
  # DescribeEksContainerInstanceLog请求参数结构体
4649
5337
  class DescribeEksContainerInstanceLogRequest < TencentCloud::Common::AbstractModel
4650
5338
  # @param EksCiId: Eks Container Instance Id,即容器实例Id
@@ -6090,39 +6778,270 @@ module TencentCloud
6090
6778
  end
6091
6779
  end
6092
6780
 
6093
- # DescribeTKEEdgeScript请求参数结构体
6094
- class DescribeTKEEdgeScriptRequest < TencentCloud::Common::AbstractModel
6095
- # @param ClusterId: 集群id
6781
+ # DescribeTKEEdgeClusterCredential请求参数结构体
6782
+ class DescribeTKEEdgeClusterCredentialRequest < TencentCloud::Common::AbstractModel
6783
+ # @param ClusterId: 集群Id
6096
6784
  # @type ClusterId: String
6097
- # @param Interface: 网卡名
6098
- # @type Interface: String
6099
- # @param NodeName: 节点名字
6100
- # @type NodeName: String
6101
- # @param Config: json格式的节点配置
6102
- # @type Config: String
6103
6785
 
6104
- attr_accessor :ClusterId, :Interface, :NodeName, :Config
6786
+ attr_accessor :ClusterId
6105
6787
 
6106
- def initialize(clusterid=nil, interface=nil, nodename=nil, config=nil)
6788
+ def initialize(clusterid=nil)
6107
6789
  @ClusterId = clusterid
6108
- @Interface = interface
6109
- @NodeName = nodename
6110
- @Config = config
6111
6790
  end
6112
6791
 
6113
6792
  def deserialize(params)
6114
6793
  @ClusterId = params['ClusterId']
6115
- @Interface = params['Interface']
6116
- @NodeName = params['NodeName']
6117
- @Config = params['Config']
6118
6794
  end
6119
6795
  end
6120
6796
 
6121
- # DescribeTKEEdgeScript返回参数结构体
6122
- class DescribeTKEEdgeScriptResponse < TencentCloud::Common::AbstractModel
6123
- # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6124
- # @type RequestId: String
6125
-
6797
+ # DescribeTKEEdgeClusterCredential返回参数结构体
6798
+ class DescribeTKEEdgeClusterCredentialResponse < TencentCloud::Common::AbstractModel
6799
+ # @param Addresses: 集群的接入地址信息
6800
+ # 注意:此字段可能返回 null,表示取不到有效值。
6801
+ # @type Addresses: Array
6802
+ # @param Credential: 集群的认证信息
6803
+ # @type Credential: :class:`Tencentcloud::Tke.v20180525.models.ClusterCredential`
6804
+ # @param PublicLB: 集群的公网访问信息
6805
+ # @type PublicLB: :class:`Tencentcloud::Tke.v20180525.models.EdgeClusterPublicLB`
6806
+ # @param InternalLB: 集群的内网访问信息
6807
+ # @type InternalLB: :class:`Tencentcloud::Tke.v20180525.models.EdgeClusterInternalLB`
6808
+ # @param CoreDns: 集群的CoreDns部署信息
6809
+ # @type CoreDns: String
6810
+ # @param HealthRegion: 集群的健康检查多地域部署信息
6811
+ # @type HealthRegion: String
6812
+ # @param Health: 集群的健康检查部署信息
6813
+ # @type Health: String
6814
+ # @param GridDaemon: 是否部署GridDaemon以支持headless service
6815
+ # @type GridDaemon: String
6816
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6817
+ # @type RequestId: String
6818
+
6819
+ attr_accessor :Addresses, :Credential, :PublicLB, :InternalLB, :CoreDns, :HealthRegion, :Health, :GridDaemon, :RequestId
6820
+
6821
+ def initialize(addresses=nil, credential=nil, publiclb=nil, internallb=nil, coredns=nil, healthregion=nil, health=nil, griddaemon=nil, requestid=nil)
6822
+ @Addresses = addresses
6823
+ @Credential = credential
6824
+ @PublicLB = publiclb
6825
+ @InternalLB = internallb
6826
+ @CoreDns = coredns
6827
+ @HealthRegion = healthregion
6828
+ @Health = health
6829
+ @GridDaemon = griddaemon
6830
+ @RequestId = requestid
6831
+ end
6832
+
6833
+ def deserialize(params)
6834
+ unless params['Addresses'].nil?
6835
+ @Addresses = []
6836
+ params['Addresses'].each do |i|
6837
+ ipaddress_tmp = IPAddress.new
6838
+ ipaddress_tmp.deserialize(i)
6839
+ @Addresses << ipaddress_tmp
6840
+ end
6841
+ end
6842
+ unless params['Credential'].nil?
6843
+ @Credential = ClusterCredential.new
6844
+ @Credential.deserialize(params['Credential'])
6845
+ end
6846
+ unless params['PublicLB'].nil?
6847
+ @PublicLB = EdgeClusterPublicLB.new
6848
+ @PublicLB.deserialize(params['PublicLB'])
6849
+ end
6850
+ unless params['InternalLB'].nil?
6851
+ @InternalLB = EdgeClusterInternalLB.new
6852
+ @InternalLB.deserialize(params['InternalLB'])
6853
+ end
6854
+ @CoreDns = params['CoreDns']
6855
+ @HealthRegion = params['HealthRegion']
6856
+ @Health = params['Health']
6857
+ @GridDaemon = params['GridDaemon']
6858
+ @RequestId = params['RequestId']
6859
+ end
6860
+ end
6861
+
6862
+ # DescribeTKEEdgeClusterStatus请求参数结构体
6863
+ class DescribeTKEEdgeClusterStatusRequest < TencentCloud::Common::AbstractModel
6864
+ # @param ClusterId: 边缘计算容器集群Id
6865
+ # @type ClusterId: String
6866
+
6867
+ attr_accessor :ClusterId
6868
+
6869
+ def initialize(clusterid=nil)
6870
+ @ClusterId = clusterid
6871
+ end
6872
+
6873
+ def deserialize(params)
6874
+ @ClusterId = params['ClusterId']
6875
+ end
6876
+ end
6877
+
6878
+ # DescribeTKEEdgeClusterStatus返回参数结构体
6879
+ class DescribeTKEEdgeClusterStatusResponse < TencentCloud::Common::AbstractModel
6880
+ # @param Phase: 集群当前状态
6881
+ # @type Phase: String
6882
+ # @param Conditions: 集群过程数组
6883
+ # @type Conditions: Array
6884
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6885
+ # @type RequestId: String
6886
+
6887
+ attr_accessor :Phase, :Conditions, :RequestId
6888
+
6889
+ def initialize(phase=nil, conditions=nil, requestid=nil)
6890
+ @Phase = phase
6891
+ @Conditions = conditions
6892
+ @RequestId = requestid
6893
+ end
6894
+
6895
+ def deserialize(params)
6896
+ @Phase = params['Phase']
6897
+ unless params['Conditions'].nil?
6898
+ @Conditions = []
6899
+ params['Conditions'].each do |i|
6900
+ clustercondition_tmp = ClusterCondition.new
6901
+ clustercondition_tmp.deserialize(i)
6902
+ @Conditions << clustercondition_tmp
6903
+ end
6904
+ end
6905
+ @RequestId = params['RequestId']
6906
+ end
6907
+ end
6908
+
6909
+ # DescribeTKEEdgeClusters请求参数结构体
6910
+ class DescribeTKEEdgeClustersRequest < TencentCloud::Common::AbstractModel
6911
+ # @param ClusterIds: 集群ID列表(为空时,
6912
+ # 表示获取账号下所有集群)
6913
+ # @type ClusterIds: Array
6914
+ # @param Offset: 偏移量,默认0
6915
+ # @type Offset: Integer
6916
+ # @param Limit: 最大输出条数,默认20
6917
+ # @type Limit: Integer
6918
+ # @param Filters: 过滤条件,当前只支持按照单个条件ClusterName进行过滤
6919
+ # @type Filters: Array
6920
+
6921
+ attr_accessor :ClusterIds, :Offset, :Limit, :Filters
6922
+
6923
+ def initialize(clusterids=nil, offset=nil, limit=nil, filters=nil)
6924
+ @ClusterIds = clusterids
6925
+ @Offset = offset
6926
+ @Limit = limit
6927
+ @Filters = filters
6928
+ end
6929
+
6930
+ def deserialize(params)
6931
+ @ClusterIds = params['ClusterIds']
6932
+ @Offset = params['Offset']
6933
+ @Limit = params['Limit']
6934
+ unless params['Filters'].nil?
6935
+ @Filters = []
6936
+ params['Filters'].each do |i|
6937
+ filter_tmp = Filter.new
6938
+ filter_tmp.deserialize(i)
6939
+ @Filters << filter_tmp
6940
+ end
6941
+ end
6942
+ end
6943
+ end
6944
+
6945
+ # DescribeTKEEdgeClusters返回参数结构体
6946
+ class DescribeTKEEdgeClustersResponse < TencentCloud::Common::AbstractModel
6947
+ # @param TotalCount: 集群总个数
6948
+ # @type TotalCount: Integer
6949
+ # @param Clusters: 集群信息列表
6950
+ # @type Clusters: Array
6951
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6952
+ # @type RequestId: String
6953
+
6954
+ attr_accessor :TotalCount, :Clusters, :RequestId
6955
+
6956
+ def initialize(totalcount=nil, clusters=nil, requestid=nil)
6957
+ @TotalCount = totalcount
6958
+ @Clusters = clusters
6959
+ @RequestId = requestid
6960
+ end
6961
+
6962
+ def deserialize(params)
6963
+ @TotalCount = params['TotalCount']
6964
+ unless params['Clusters'].nil?
6965
+ @Clusters = []
6966
+ params['Clusters'].each do |i|
6967
+ edgecluster_tmp = EdgeCluster.new
6968
+ edgecluster_tmp.deserialize(i)
6969
+ @Clusters << edgecluster_tmp
6970
+ end
6971
+ end
6972
+ @RequestId = params['RequestId']
6973
+ end
6974
+ end
6975
+
6976
+ # DescribeTKEEdgeExternalKubeconfig请求参数结构体
6977
+ class DescribeTKEEdgeExternalKubeconfigRequest < TencentCloud::Common::AbstractModel
6978
+ # @param ClusterId: 集群id
6979
+ # @type ClusterId: String
6980
+
6981
+ attr_accessor :ClusterId
6982
+
6983
+ def initialize(clusterid=nil)
6984
+ @ClusterId = clusterid
6985
+ end
6986
+
6987
+ def deserialize(params)
6988
+ @ClusterId = params['ClusterId']
6989
+ end
6990
+ end
6991
+
6992
+ # DescribeTKEEdgeExternalKubeconfig返回参数结构体
6993
+ class DescribeTKEEdgeExternalKubeconfigResponse < TencentCloud::Common::AbstractModel
6994
+ # @param Kubeconfig: kubeconfig文件内容
6995
+ # @type Kubeconfig: String
6996
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6997
+ # @type RequestId: String
6998
+
6999
+ attr_accessor :Kubeconfig, :RequestId
7000
+
7001
+ def initialize(kubeconfig=nil, requestid=nil)
7002
+ @Kubeconfig = kubeconfig
7003
+ @RequestId = requestid
7004
+ end
7005
+
7006
+ def deserialize(params)
7007
+ @Kubeconfig = params['Kubeconfig']
7008
+ @RequestId = params['RequestId']
7009
+ end
7010
+ end
7011
+
7012
+ # DescribeTKEEdgeScript请求参数结构体
7013
+ class DescribeTKEEdgeScriptRequest < TencentCloud::Common::AbstractModel
7014
+ # @param ClusterId: 集群id
7015
+ # @type ClusterId: String
7016
+ # @param Interface: 网卡名
7017
+ # @type Interface: String
7018
+ # @param NodeName: 节点名字
7019
+ # @type NodeName: String
7020
+ # @param Config: json格式的节点配置
7021
+ # @type Config: String
7022
+
7023
+ attr_accessor :ClusterId, :Interface, :NodeName, :Config
7024
+
7025
+ def initialize(clusterid=nil, interface=nil, nodename=nil, config=nil)
7026
+ @ClusterId = clusterid
7027
+ @Interface = interface
7028
+ @NodeName = nodename
7029
+ @Config = config
7030
+ end
7031
+
7032
+ def deserialize(params)
7033
+ @ClusterId = params['ClusterId']
7034
+ @Interface = params['Interface']
7035
+ @NodeName = params['NodeName']
7036
+ @Config = params['Config']
7037
+ end
7038
+ end
7039
+
7040
+ # DescribeTKEEdgeScript返回参数结构体
7041
+ class DescribeTKEEdgeScriptResponse < TencentCloud::Common::AbstractModel
7042
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
7043
+ # @type RequestId: String
7044
+
6126
7045
  attr_accessor :RequestId
6127
7046
 
6128
7047
  def initialize(requestid=nil)
@@ -6213,173 +7132,504 @@ module TencentCloud
6213
7132
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6214
7133
  # @type RequestId: String
6215
7134
 
6216
- attr_accessor :TotalCount, :PodLimitsInstanceSet, :RequestId
7135
+ attr_accessor :TotalCount, :PodLimitsInstanceSet, :RequestId
7136
+
7137
+ def initialize(totalcount=nil, podlimitsinstanceset=nil, requestid=nil)
7138
+ @TotalCount = totalcount
7139
+ @PodLimitsInstanceSet = podlimitsinstanceset
7140
+ @RequestId = requestid
7141
+ end
7142
+
7143
+ def deserialize(params)
7144
+ @TotalCount = params['TotalCount']
7145
+ unless params['PodLimitsInstanceSet'].nil?
7146
+ @PodLimitsInstanceSet = []
7147
+ params['PodLimitsInstanceSet'].each do |i|
7148
+ podlimitsinstance_tmp = PodLimitsInstance.new
7149
+ podlimitsinstance_tmp.deserialize(i)
7150
+ @PodLimitsInstanceSet << podlimitsinstance_tmp
7151
+ end
7152
+ end
7153
+ @RequestId = params['RequestId']
7154
+ end
7155
+ end
7156
+
7157
+ # DisableClusterAudit请求参数结构体
7158
+ class DisableClusterAuditRequest < TencentCloud::Common::AbstractModel
7159
+ # @param ClusterId: 集群ID
7160
+ # @type ClusterId: String
7161
+
7162
+ attr_accessor :ClusterId
7163
+
7164
+ def initialize(clusterid=nil)
7165
+ @ClusterId = clusterid
7166
+ end
7167
+
7168
+ def deserialize(params)
7169
+ @ClusterId = params['ClusterId']
7170
+ end
7171
+ end
7172
+
7173
+ # DisableClusterAudit返回参数结构体
7174
+ class DisableClusterAuditResponse < TencentCloud::Common::AbstractModel
7175
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
7176
+ # @type RequestId: String
7177
+
7178
+ attr_accessor :RequestId
7179
+
7180
+ def initialize(requestid=nil)
7181
+ @RequestId = requestid
7182
+ end
7183
+
7184
+ def deserialize(params)
7185
+ @RequestId = params['RequestId']
7186
+ end
7187
+ end
7188
+
7189
+ # DisableClusterDeletionProtection请求参数结构体
7190
+ class DisableClusterDeletionProtectionRequest < TencentCloud::Common::AbstractModel
7191
+ # @param ClusterId: 集群ID
7192
+ # @type ClusterId: String
7193
+
7194
+ attr_accessor :ClusterId
7195
+
7196
+ def initialize(clusterid=nil)
7197
+ @ClusterId = clusterid
7198
+ end
7199
+
7200
+ def deserialize(params)
7201
+ @ClusterId = params['ClusterId']
7202
+ end
7203
+ end
7204
+
7205
+ # DisableClusterDeletionProtection返回参数结构体
7206
+ class DisableClusterDeletionProtectionResponse < TencentCloud::Common::AbstractModel
7207
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
7208
+ # @type RequestId: String
7209
+
7210
+ attr_accessor :RequestId
7211
+
7212
+ def initialize(requestid=nil)
7213
+ @RequestId = requestid
7214
+ end
7215
+
7216
+ def deserialize(params)
7217
+ @RequestId = params['RequestId']
7218
+ end
7219
+ end
7220
+
7221
+ # DisableEventPersistence请求参数结构体
7222
+ class DisableEventPersistenceRequest < TencentCloud::Common::AbstractModel
7223
+ # @param ClusterId: 集群ID
7224
+ # @type ClusterId: String
7225
+
7226
+ attr_accessor :ClusterId
7227
+
7228
+ def initialize(clusterid=nil)
7229
+ @ClusterId = clusterid
7230
+ end
7231
+
7232
+ def deserialize(params)
7233
+ @ClusterId = params['ClusterId']
7234
+ end
7235
+ end
7236
+
7237
+ # DisableEventPersistence返回参数结构体
7238
+ class DisableEventPersistenceResponse < TencentCloud::Common::AbstractModel
7239
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
7240
+ # @type RequestId: String
7241
+
7242
+ attr_accessor :RequestId
7243
+
7244
+ def initialize(requestid=nil)
7245
+ @RequestId = requestid
7246
+ end
7247
+
7248
+ def deserialize(params)
7249
+ @RequestId = params['RequestId']
7250
+ end
7251
+ end
7252
+
7253
+ # DisableVpcCniNetworkType请求参数结构体
7254
+ class DisableVpcCniNetworkTypeRequest < TencentCloud::Common::AbstractModel
7255
+ # @param ClusterId: 集群ID
7256
+ # @type ClusterId: String
7257
+
7258
+ attr_accessor :ClusterId
7259
+
7260
+ def initialize(clusterid=nil)
7261
+ @ClusterId = clusterid
7262
+ end
7263
+
7264
+ def deserialize(params)
7265
+ @ClusterId = params['ClusterId']
7266
+ end
7267
+ end
7268
+
7269
+ # DisableVpcCniNetworkType返回参数结构体
7270
+ class DisableVpcCniNetworkTypeResponse < TencentCloud::Common::AbstractModel
7271
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
7272
+ # @type RequestId: String
7273
+
7274
+ attr_accessor :RequestId
7275
+
7276
+ def initialize(requestid=nil)
7277
+ @RequestId = requestid
7278
+ end
7279
+
7280
+ def deserialize(params)
7281
+ @RequestId = params['RequestId']
7282
+ end
7283
+ end
7284
+
7285
+ # Eks 自定义域名服务器 配置
7286
+ class DnsServerConf < TencentCloud::Common::AbstractModel
7287
+ # @param Domain: 域名。空字符串表示所有域名。
7288
+ # @type Domain: String
7289
+ # @param DnsServers: dns 服务器地址列表。地址格式 ip:port
7290
+ # @type DnsServers: Array
7291
+
7292
+ attr_accessor :Domain, :DnsServers
7293
+
7294
+ def initialize(domain=nil, dnsservers=nil)
7295
+ @Domain = domain
7296
+ @DnsServers = dnsservers
7297
+ end
7298
+
7299
+ def deserialize(params)
7300
+ @Domain = params['Domain']
7301
+ @DnsServers = params['DnsServers']
7302
+ end
7303
+ end
7304
+
7305
+ # ECM增强服务
7306
+ class ECMEnhancedService < TencentCloud::Common::AbstractModel
7307
+ # @param SecurityService: 是否开启云监控服务
7308
+ # @type SecurityService: :class:`Tencentcloud::Tke.v20180525.models.ECMRunMonitorServiceEnabled`
7309
+ # @param MonitorService: 是否开启云镜服务
7310
+ # @type MonitorService: :class:`Tencentcloud::Tke.v20180525.models.ECMRunSecurityServiceEnabled`
7311
+
7312
+ attr_accessor :SecurityService, :MonitorService
7313
+
7314
+ def initialize(securityservice=nil, monitorservice=nil)
7315
+ @SecurityService = securityservice
7316
+ @MonitorService = monitorservice
7317
+ end
7318
+
7319
+ def deserialize(params)
7320
+ unless params['SecurityService'].nil?
7321
+ @SecurityService = ECMRunMonitorServiceEnabled.new
7322
+ @SecurityService.deserialize(params['SecurityService'])
7323
+ end
7324
+ unless params['MonitorService'].nil?
7325
+ @MonitorService = ECMRunSecurityServiceEnabled.new
7326
+ @MonitorService.deserialize(params['MonitorService'])
7327
+ end
7328
+ end
7329
+ end
7330
+
7331
+ # ECM云监控服务
7332
+ class ECMRunMonitorServiceEnabled < TencentCloud::Common::AbstractModel
7333
+ # @param Enabled: 是否开启
7334
+ # @type Enabled: Boolean
7335
+
7336
+ attr_accessor :Enabled
6217
7337
 
6218
- def initialize(totalcount=nil, podlimitsinstanceset=nil, requestid=nil)
6219
- @TotalCount = totalcount
6220
- @PodLimitsInstanceSet = podlimitsinstanceset
6221
- @RequestId = requestid
7338
+ def initialize(enabled=nil)
7339
+ @Enabled = enabled
6222
7340
  end
6223
7341
 
6224
7342
  def deserialize(params)
6225
- @TotalCount = params['TotalCount']
6226
- unless params['PodLimitsInstanceSet'].nil?
6227
- @PodLimitsInstanceSet = []
6228
- params['PodLimitsInstanceSet'].each do |i|
6229
- podlimitsinstance_tmp = PodLimitsInstance.new
6230
- podlimitsinstance_tmp.deserialize(i)
6231
- @PodLimitsInstanceSet << podlimitsinstance_tmp
6232
- end
6233
- end
6234
- @RequestId = params['RequestId']
7343
+ @Enabled = params['Enabled']
6235
7344
  end
6236
7345
  end
6237
7346
 
6238
- # DisableClusterAudit请求参数结构体
6239
- class DisableClusterAuditRequest < TencentCloud::Common::AbstractModel
6240
- # @param ClusterId: 集群ID
6241
- # @type ClusterId: String
7347
+ # ECM云镜服务
7348
+ class ECMRunSecurityServiceEnabled < TencentCloud::Common::AbstractModel
7349
+ # @param Enabled: 是否开启
7350
+ # @type Enabled: Boolean
7351
+ # @param Version: 云镜版本:0 基础版,1 专业版
7352
+ # @type Version: Integer
6242
7353
 
6243
- attr_accessor :ClusterId
7354
+ attr_accessor :Enabled, :Version
6244
7355
 
6245
- def initialize(clusterid=nil)
6246
- @ClusterId = clusterid
7356
+ def initialize(enabled=nil, version=nil)
7357
+ @Enabled = enabled
7358
+ @Version = version
6247
7359
  end
6248
7360
 
6249
7361
  def deserialize(params)
6250
- @ClusterId = params['ClusterId']
7362
+ @Enabled = params['Enabled']
7363
+ @Version = params['Version']
6251
7364
  end
6252
7365
  end
6253
7366
 
6254
- # DisableClusterAudit返回参数结构体
6255
- class DisableClusterAuditResponse < TencentCloud::Common::AbstractModel
6256
- # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6257
- # @type RequestId: String
7367
+ # ECM实例可用区及对应的实例创建数目及运营商的组合
7368
+ class ECMZoneInstanceCountISP < TencentCloud::Common::AbstractModel
7369
+ # @param Zone: 创建实例的可用区
7370
+ # @type Zone: String
7371
+ # @param InstanceCount: 在当前可用区欲创建的实例数目
7372
+ # @type InstanceCount: Integer
7373
+ # @param ISP: 运营商
7374
+ # @type ISP: String
6258
7375
 
6259
- attr_accessor :RequestId
7376
+ attr_accessor :Zone, :InstanceCount, :ISP
6260
7377
 
6261
- def initialize(requestid=nil)
6262
- @RequestId = requestid
7378
+ def initialize(zone=nil, instancecount=nil, isp=nil)
7379
+ @Zone = zone
7380
+ @InstanceCount = instancecount
7381
+ @ISP = isp
6263
7382
  end
6264
7383
 
6265
7384
  def deserialize(params)
6266
- @RequestId = params['RequestId']
7385
+ @Zone = params['Zone']
7386
+ @InstanceCount = params['InstanceCount']
7387
+ @ISP = params['ISP']
6267
7388
  end
6268
7389
  end
6269
7390
 
6270
- # DisableClusterDeletionProtection请求参数结构体
6271
- class DisableClusterDeletionProtectionRequest < TencentCloud::Common::AbstractModel
6272
- # @param ClusterId: 集群ID
6273
- # @type ClusterId: String
7391
+ # 边缘容器参数描述
7392
+ class EdgeArgsFlag < TencentCloud::Common::AbstractModel
7393
+ # @param Name: 参数名
7394
+ # 注意:此字段可能返回 null,表示取不到有效值。
7395
+ # @type Name: String
7396
+ # @param Type: 参数类型
7397
+ # 注意:此字段可能返回 null,表示取不到有效值。
7398
+ # @type Type: String
7399
+ # @param Usage: 参数描述
7400
+ # 注意:此字段可能返回 null,表示取不到有效值。
7401
+ # @type Usage: String
7402
+ # @param Default: 参数默认值
7403
+ # 注意:此字段可能返回 null,表示取不到有效值。
7404
+ # @type Default: String
7405
+ # @param Constraint: 参数可选范围(目前包含range和in两种,"[]"代表range,如"[1, 5]"表示参数必须>=1且 <=5, "()"代表in, 如"('aa', 'bb')"表示参数只能为字符串'aa'或者'bb',该参数为空表示不校验)
7406
+ # 注意:此字段可能返回 null,表示取不到有效值。
7407
+ # @type Constraint: String
6274
7408
 
6275
- attr_accessor :ClusterId
7409
+ attr_accessor :Name, :Type, :Usage, :Default, :Constraint
6276
7410
 
6277
- def initialize(clusterid=nil)
6278
- @ClusterId = clusterid
7411
+ def initialize(name=nil, type=nil, usage=nil, default=nil, constraint=nil)
7412
+ @Name = name
7413
+ @Type = type
7414
+ @Usage = usage
7415
+ @Default = default
7416
+ @Constraint = constraint
6279
7417
  end
6280
7418
 
6281
7419
  def deserialize(params)
6282
- @ClusterId = params['ClusterId']
7420
+ @Name = params['Name']
7421
+ @Type = params['Type']
7422
+ @Usage = params['Usage']
7423
+ @Default = params['Default']
7424
+ @Constraint = params['Constraint']
6283
7425
  end
6284
7426
  end
6285
7427
 
6286
- # DisableClusterDeletionProtection返回参数结构体
6287
- class DisableClusterDeletionProtectionResponse < TencentCloud::Common::AbstractModel
6288
- # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6289
- # @type RequestId: String
7428
+ # 边缘容器集群可用的自定义参数
7429
+ class EdgeAvailableExtraArgs < TencentCloud::Common::AbstractModel
7430
+ # @param KubeAPIServer: kube-apiserver可用的自定义参数
7431
+ # 注意:此字段可能返回 null,表示取不到有效值。
7432
+ # @type KubeAPIServer: Array
7433
+ # @param KubeControllerManager: kube-controller-manager可用的自定义参数
7434
+ # 注意:此字段可能返回 null,表示取不到有效值。
7435
+ # @type KubeControllerManager: Array
7436
+ # @param KubeScheduler: kube-scheduler可用的自定义参数
7437
+ # 注意:此字段可能返回 null,表示取不到有效值。
7438
+ # @type KubeScheduler: Array
7439
+ # @param Kubelet: kubelet可用的自定义参数
7440
+ # 注意:此字段可能返回 null,表示取不到有效值。
7441
+ # @type Kubelet: Array
6290
7442
 
6291
- attr_accessor :RequestId
7443
+ attr_accessor :KubeAPIServer, :KubeControllerManager, :KubeScheduler, :Kubelet
6292
7444
 
6293
- def initialize(requestid=nil)
6294
- @RequestId = requestid
7445
+ def initialize(kubeapiserver=nil, kubecontrollermanager=nil, kubescheduler=nil, kubelet=nil)
7446
+ @KubeAPIServer = kubeapiserver
7447
+ @KubeControllerManager = kubecontrollermanager
7448
+ @KubeScheduler = kubescheduler
7449
+ @Kubelet = kubelet
6295
7450
  end
6296
7451
 
6297
7452
  def deserialize(params)
6298
- @RequestId = params['RequestId']
7453
+ unless params['KubeAPIServer'].nil?
7454
+ @KubeAPIServer = []
7455
+ params['KubeAPIServer'].each do |i|
7456
+ edgeargsflag_tmp = EdgeArgsFlag.new
7457
+ edgeargsflag_tmp.deserialize(i)
7458
+ @KubeAPIServer << edgeargsflag_tmp
7459
+ end
7460
+ end
7461
+ unless params['KubeControllerManager'].nil?
7462
+ @KubeControllerManager = []
7463
+ params['KubeControllerManager'].each do |i|
7464
+ edgeargsflag_tmp = EdgeArgsFlag.new
7465
+ edgeargsflag_tmp.deserialize(i)
7466
+ @KubeControllerManager << edgeargsflag_tmp
7467
+ end
7468
+ end
7469
+ unless params['KubeScheduler'].nil?
7470
+ @KubeScheduler = []
7471
+ params['KubeScheduler'].each do |i|
7472
+ edgeargsflag_tmp = EdgeArgsFlag.new
7473
+ edgeargsflag_tmp.deserialize(i)
7474
+ @KubeScheduler << edgeargsflag_tmp
7475
+ end
7476
+ end
7477
+ unless params['Kubelet'].nil?
7478
+ @Kubelet = []
7479
+ params['Kubelet'].each do |i|
7480
+ edgeargsflag_tmp = EdgeArgsFlag.new
7481
+ edgeargsflag_tmp.deserialize(i)
7482
+ @Kubelet << edgeargsflag_tmp
7483
+ end
7484
+ end
6299
7485
  end
6300
7486
  end
6301
7487
 
6302
- # DisableEventPersistence请求参数结构体
6303
- class DisableEventPersistenceRequest < TencentCloud::Common::AbstractModel
6304
- # @param ClusterId: 集群ID
7488
+ # 边缘计算集群信息
7489
+ class EdgeCluster < TencentCloud::Common::AbstractModel
7490
+ # @param ClusterId: 集群Id
6305
7491
  # @type ClusterId: String
7492
+ # @param ClusterName: 集群名称
7493
+ # @type ClusterName: String
7494
+ # @param VpcId: Vpc Id
7495
+ # @type VpcId: String
7496
+ # @param PodCIDR: 集群pod cidr
7497
+ # @type PodCIDR: String
7498
+ # @param ServiceCIDR: 集群 service cidr
7499
+ # @type ServiceCIDR: String
7500
+ # @param K8SVersion: k8s 版本号
7501
+ # @type K8SVersion: String
7502
+ # @param Status: 集群状态
7503
+ # @type Status: String
7504
+ # @param ClusterDesc: 集群描述信息
7505
+ # @type ClusterDesc: String
7506
+ # @param CreatedTime: 集群创建时间
7507
+ # @type CreatedTime: String
7508
+ # @param EdgeClusterVersion: 边缘集群版本
7509
+ # @type EdgeClusterVersion: String
7510
+ # @param MaxNodePodNum: 节点最大Pod数
7511
+ # 注意:此字段可能返回 null,表示取不到有效值。
7512
+ # @type MaxNodePodNum: Integer
6306
7513
 
6307
- attr_accessor :ClusterId
7514
+ attr_accessor :ClusterId, :ClusterName, :VpcId, :PodCIDR, :ServiceCIDR, :K8SVersion, :Status, :ClusterDesc, :CreatedTime, :EdgeClusterVersion, :MaxNodePodNum
6308
7515
 
6309
- def initialize(clusterid=nil)
7516
+ def initialize(clusterid=nil, clustername=nil, vpcid=nil, podcidr=nil, servicecidr=nil, k8sversion=nil, status=nil, clusterdesc=nil, createdtime=nil, edgeclusterversion=nil, maxnodepodnum=nil)
6310
7517
  @ClusterId = clusterid
7518
+ @ClusterName = clustername
7519
+ @VpcId = vpcid
7520
+ @PodCIDR = podcidr
7521
+ @ServiceCIDR = servicecidr
7522
+ @K8SVersion = k8sversion
7523
+ @Status = status
7524
+ @ClusterDesc = clusterdesc
7525
+ @CreatedTime = createdtime
7526
+ @EdgeClusterVersion = edgeclusterversion
7527
+ @MaxNodePodNum = maxnodepodnum
6311
7528
  end
6312
7529
 
6313
7530
  def deserialize(params)
6314
7531
  @ClusterId = params['ClusterId']
7532
+ @ClusterName = params['ClusterName']
7533
+ @VpcId = params['VpcId']
7534
+ @PodCIDR = params['PodCIDR']
7535
+ @ServiceCIDR = params['ServiceCIDR']
7536
+ @K8SVersion = params['K8SVersion']
7537
+ @Status = params['Status']
7538
+ @ClusterDesc = params['ClusterDesc']
7539
+ @CreatedTime = params['CreatedTime']
7540
+ @EdgeClusterVersion = params['EdgeClusterVersion']
7541
+ @MaxNodePodNum = params['MaxNodePodNum']
6315
7542
  end
6316
7543
  end
6317
7544
 
6318
- # DisableEventPersistence返回参数结构体
6319
- class DisableEventPersistenceResponse < TencentCloud::Common::AbstractModel
6320
- # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6321
- # @type RequestId: String
7545
+ # 边缘容器集群高级配置
7546
+ class EdgeClusterAdvancedSettings < TencentCloud::Common::AbstractModel
7547
+ # @param ExtraArgs: 集群自定义参数
7548
+ # 注意:此字段可能返回 null,表示取不到有效值。
7549
+ # @type ExtraArgs: :class:`Tencentcloud::Tke.v20180525.models.EdgeClusterExtraArgs`
6322
7550
 
6323
- attr_accessor :RequestId
7551
+ attr_accessor :ExtraArgs
6324
7552
 
6325
- def initialize(requestid=nil)
6326
- @RequestId = requestid
7553
+ def initialize(extraargs=nil)
7554
+ @ExtraArgs = extraargs
6327
7555
  end
6328
7556
 
6329
7557
  def deserialize(params)
6330
- @RequestId = params['RequestId']
7558
+ unless params['ExtraArgs'].nil?
7559
+ @ExtraArgs = EdgeClusterExtraArgs.new
7560
+ @ExtraArgs.deserialize(params['ExtraArgs'])
7561
+ end
6331
7562
  end
6332
7563
  end
6333
7564
 
6334
- # DisableVpcCniNetworkType请求参数结构体
6335
- class DisableVpcCniNetworkTypeRequest < TencentCloud::Common::AbstractModel
6336
- # @param ClusterId: 集群ID
6337
- # @type ClusterId: String
7565
+ # 边缘容器集群master自定义参数
7566
+ class EdgeClusterExtraArgs < TencentCloud::Common::AbstractModel
7567
+ # @param KubeAPIServer: kube-apiserver自定义参数,参数格式为["k1=v1", "k1=v2"], 例如["max-requests-inflight=500","feature-gates=PodShareProcessNamespace=true,DynamicKubeletConfig=true"]
7568
+ # 注意:此字段可能返回 null,表示取不到有效值。
7569
+ # @type KubeAPIServer: Array
7570
+ # @param KubeControllerManager: kube-controller-manager自定义参数
7571
+ # 注意:此字段可能返回 null,表示取不到有效值。
7572
+ # @type KubeControllerManager: Array
7573
+ # @param KubeScheduler: kube-scheduler自定义参数
7574
+ # 注意:此字段可能返回 null,表示取不到有效值。
7575
+ # @type KubeScheduler: Array
6338
7576
 
6339
- attr_accessor :ClusterId
7577
+ attr_accessor :KubeAPIServer, :KubeControllerManager, :KubeScheduler
6340
7578
 
6341
- def initialize(clusterid=nil)
6342
- @ClusterId = clusterid
7579
+ def initialize(kubeapiserver=nil, kubecontrollermanager=nil, kubescheduler=nil)
7580
+ @KubeAPIServer = kubeapiserver
7581
+ @KubeControllerManager = kubecontrollermanager
7582
+ @KubeScheduler = kubescheduler
6343
7583
  end
6344
7584
 
6345
7585
  def deserialize(params)
6346
- @ClusterId = params['ClusterId']
7586
+ @KubeAPIServer = params['KubeAPIServer']
7587
+ @KubeControllerManager = params['KubeControllerManager']
7588
+ @KubeScheduler = params['KubeScheduler']
6347
7589
  end
6348
7590
  end
6349
7591
 
6350
- # DisableVpcCniNetworkType返回参数结构体
6351
- class DisableVpcCniNetworkTypeResponse < TencentCloud::Common::AbstractModel
6352
- # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6353
- # @type RequestId: String
7592
+ # 边缘计算集群内网访问LB信息
7593
+ class EdgeClusterInternalLB < TencentCloud::Common::AbstractModel
7594
+ # @param Enabled: 是否开启内网访问LB
7595
+ # 注意:此字段可能返回 null,表示取不到有效值。
7596
+ # @type Enabled: Boolean
7597
+ # @param SubnetId: 内网访问LB关联的子网Id
7598
+ # 注意:此字段可能返回 null,表示取不到有效值。
7599
+ # @type SubnetId: Array
6354
7600
 
6355
- attr_accessor :RequestId
7601
+ attr_accessor :Enabled, :SubnetId
6356
7602
 
6357
- def initialize(requestid=nil)
6358
- @RequestId = requestid
7603
+ def initialize(enabled=nil, subnetid=nil)
7604
+ @Enabled = enabled
7605
+ @SubnetId = subnetid
6359
7606
  end
6360
7607
 
6361
7608
  def deserialize(params)
6362
- @RequestId = params['RequestId']
7609
+ @Enabled = params['Enabled']
7610
+ @SubnetId = params['SubnetId']
6363
7611
  end
6364
7612
  end
6365
7613
 
6366
- # Eks 自定义域名服务器 配置
6367
- class DnsServerConf < TencentCloud::Common::AbstractModel
6368
- # @param Domain: 域名。空字符串表示所有域名。
6369
- # @type Domain: String
6370
- # @param DnsServers: dns 服务器地址列表。地址格式 ip:port
6371
- # @type DnsServers: Array
7614
+ # 边缘计算集群公网访问负载均衡信息
7615
+ class EdgeClusterPublicLB < TencentCloud::Common::AbstractModel
7616
+ # @param Enabled: 是否开启公网访问LB
7617
+ # 注意:此字段可能返回 null,表示取不到有效值。
7618
+ # @type Enabled: Boolean
7619
+ # @param AllowFromCidrs: 允许访问的公网cidr
7620
+ # 注意:此字段可能返回 null,表示取不到有效值。
7621
+ # @type AllowFromCidrs: Array
6372
7622
 
6373
- attr_accessor :Domain, :DnsServers
7623
+ attr_accessor :Enabled, :AllowFromCidrs
6374
7624
 
6375
- def initialize(domain=nil, dnsservers=nil)
6376
- @Domain = domain
6377
- @DnsServers = dnsservers
7625
+ def initialize(enabled=nil, allowfromcidrs=nil)
7626
+ @Enabled = enabled
7627
+ @AllowFromCidrs = allowfromcidrs
6378
7628
  end
6379
7629
 
6380
7630
  def deserialize(params)
6381
- @Domain = params['Domain']
6382
- @DnsServers = params['DnsServers']
7631
+ @Enabled = params['Enabled']
7632
+ @AllowFromCidrs = params['AllowFromCidrs']
6383
7633
  end
6384
7634
  end
6385
7635
 
@@ -7151,22 +8401,11 @@ module TencentCloud
7151
8401
  end
7152
8402
  end
7153
8403
 
7154
- # >描述键值对过滤器,用于条件过滤查询。例如过滤ID、名称、状态等
7155
- # > * 若存在多个`Filter`时,`Filter`间的关系为逻辑与(`AND`)关系。
7156
- # > * 若同一个`Filter`存在多个`Values`,同一`Filter`下`Values`间的关系为逻辑或(`OR`)关系。
7157
- # >
7158
- # > 以[DescribeInstances](https://cloud.tencent.com/document/api/213/15728)接口的`Filter`为例。若我们需要查询可用区(`zone`)为广州一区 ***并且*** 实例计费模式(`instance-charge-type`)为包年包月 ***或者*** 按量计费的实例时,可如下实现:
7159
- # ```
7160
- # Filters.0.Name=zone
7161
- # &Filters.0.Values.0=ap-guangzhou-1
7162
- # &Filters.1.Name=instance-charge-type
7163
- # &Filters.1.Values.0=PREPAID
7164
- # &Filters.1.Values.1=POSTPAID_BY_HOUR
7165
- # ```
8404
+ # 过滤器
7166
8405
  class Filter < TencentCloud::Common::AbstractModel
7167
- # @param Name: 需要过滤的字段。
8406
+ # @param Name: 属性名称, 若存在多个Filter时,Filter间的关系为逻辑与(AND)关系。
7168
8407
  # @type Name: String
7169
- # @param Values: 字段的过滤值。
8408
+ # @param Values: 属性值, 若同一个Filter存在多个Values,同一Filter下Values间的关系为逻辑或(OR)关系。
7170
8409
  # @type Values: Array
7171
8410
 
7172
8411
  attr_accessor :Name, :Values
@@ -7791,10 +9030,13 @@ module TencentCloud
7791
9030
  # @param PreStartUserScript: base64 编码的用户脚本,在初始化节点之前执行,目前只对添加已有节点生效
7792
9031
  # 注意:此字段可能返回 null,表示取不到有效值。
7793
9032
  # @type PreStartUserScript: String
9033
+ # @param Taints: 节点污点
9034
+ # 注意:此字段可能返回 null,表示取不到有效值。
9035
+ # @type Taints: Array
7794
9036
 
7795
- attr_accessor :MountTarget, :DockerGraphPath, :UserScript, :Unschedulable, :Labels, :DataDisks, :ExtraArgs, :DesiredPodNumber, :PreStartUserScript
9037
+ attr_accessor :MountTarget, :DockerGraphPath, :UserScript, :Unschedulable, :Labels, :DataDisks, :ExtraArgs, :DesiredPodNumber, :PreStartUserScript, :Taints
7796
9038
 
7797
- def initialize(mounttarget=nil, dockergraphpath=nil, userscript=nil, unschedulable=nil, labels=nil, datadisks=nil, extraargs=nil, desiredpodnumber=nil, prestartuserscript=nil)
9039
+ def initialize(mounttarget=nil, dockergraphpath=nil, userscript=nil, unschedulable=nil, labels=nil, datadisks=nil, extraargs=nil, desiredpodnumber=nil, prestartuserscript=nil, taints=nil)
7798
9040
  @MountTarget = mounttarget
7799
9041
  @DockerGraphPath = dockergraphpath
7800
9042
  @UserScript = userscript
@@ -7804,6 +9046,7 @@ module TencentCloud
7804
9046
  @ExtraArgs = extraargs
7805
9047
  @DesiredPodNumber = desiredpodnumber
7806
9048
  @PreStartUserScript = prestartuserscript
9049
+ @Taints = taints
7807
9050
  end
7808
9051
 
7809
9052
  def deserialize(params)
@@ -7833,6 +9076,14 @@ module TencentCloud
7833
9076
  end
7834
9077
  @DesiredPodNumber = params['DesiredPodNumber']
7835
9078
  @PreStartUserScript = params['PreStartUserScript']
9079
+ unless params['Taints'].nil?
9080
+ @Taints = []
9081
+ params['Taints'].each do |i|
9082
+ taint_tmp = Taint.new
9083
+ taint_tmp.deserialize(i)
9084
+ @Taints << taint_tmp
9085
+ end
9086
+ end
7836
9087
  end
7837
9088
  end
7838
9089
 
@@ -11380,6 +12631,84 @@ module TencentCloud
11380
12631
  end
11381
12632
  end
11382
12633
 
12634
+ # UpdateTKEEdgeCluster请求参数结构体
12635
+ class UpdateTKEEdgeClusterRequest < TencentCloud::Common::AbstractModel
12636
+ # @param ClusterId: 边缘计算集群ID
12637
+ # @type ClusterId: String
12638
+ # @param ClusterName: 边缘计算集群名称
12639
+ # @type ClusterName: String
12640
+ # @param ClusterDesc: 边缘计算集群描述信息
12641
+ # @type ClusterDesc: String
12642
+ # @param PodCIDR: 边缘计算集群的pod cidr
12643
+ # @type PodCIDR: String
12644
+ # @param ServiceCIDR: 边缘计算集群的service cidr
12645
+ # @type ServiceCIDR: String
12646
+ # @param PublicLB: 边缘计算集群公网访问LB信息
12647
+ # @type PublicLB: :class:`Tencentcloud::Tke.v20180525.models.EdgeClusterPublicLB`
12648
+ # @param InternalLB: 边缘计算集群内网访问LB信息
12649
+ # @type InternalLB: :class:`Tencentcloud::Tke.v20180525.models.EdgeClusterInternalLB`
12650
+ # @param CoreDns: 边缘计算集群的CoreDns部署信息
12651
+ # @type CoreDns: String
12652
+ # @param HealthRegion: 边缘计算集群的健康检查多地域部署信息
12653
+ # @type HealthRegion: String
12654
+ # @param Health: 边缘计算集群的健康检查部署信息
12655
+ # @type Health: String
12656
+ # @param GridDaemon: 边缘计算集群的GridDaemon部署信息
12657
+ # @type GridDaemon: String
12658
+
12659
+ attr_accessor :ClusterId, :ClusterName, :ClusterDesc, :PodCIDR, :ServiceCIDR, :PublicLB, :InternalLB, :CoreDns, :HealthRegion, :Health, :GridDaemon
12660
+
12661
+ def initialize(clusterid=nil, clustername=nil, clusterdesc=nil, podcidr=nil, servicecidr=nil, publiclb=nil, internallb=nil, coredns=nil, healthregion=nil, health=nil, griddaemon=nil)
12662
+ @ClusterId = clusterid
12663
+ @ClusterName = clustername
12664
+ @ClusterDesc = clusterdesc
12665
+ @PodCIDR = podcidr
12666
+ @ServiceCIDR = servicecidr
12667
+ @PublicLB = publiclb
12668
+ @InternalLB = internallb
12669
+ @CoreDns = coredns
12670
+ @HealthRegion = healthregion
12671
+ @Health = health
12672
+ @GridDaemon = griddaemon
12673
+ end
12674
+
12675
+ def deserialize(params)
12676
+ @ClusterId = params['ClusterId']
12677
+ @ClusterName = params['ClusterName']
12678
+ @ClusterDesc = params['ClusterDesc']
12679
+ @PodCIDR = params['PodCIDR']
12680
+ @ServiceCIDR = params['ServiceCIDR']
12681
+ unless params['PublicLB'].nil?
12682
+ @PublicLB = EdgeClusterPublicLB.new
12683
+ @PublicLB.deserialize(params['PublicLB'])
12684
+ end
12685
+ unless params['InternalLB'].nil?
12686
+ @InternalLB = EdgeClusterInternalLB.new
12687
+ @InternalLB.deserialize(params['InternalLB'])
12688
+ end
12689
+ @CoreDns = params['CoreDns']
12690
+ @HealthRegion = params['HealthRegion']
12691
+ @Health = params['Health']
12692
+ @GridDaemon = params['GridDaemon']
12693
+ end
12694
+ end
12695
+
12696
+ # UpdateTKEEdgeCluster返回参数结构体
12697
+ class UpdateTKEEdgeClusterResponse < TencentCloud::Common::AbstractModel
12698
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
12699
+ # @type RequestId: String
12700
+
12701
+ attr_accessor :RequestId
12702
+
12703
+ def initialize(requestid=nil)
12704
+ @RequestId = requestid
12705
+ end
12706
+
12707
+ def deserialize(params)
12708
+ @RequestId = params['RequestId']
12709
+ end
12710
+ end
12711
+
11383
12712
  # 可升级节点信息
11384
12713
  class UpgradeAbleInstancesItem < TencentCloud::Common::AbstractModel
11385
12714
  # @param InstanceId: 节点Id