lib/v20180525/models.rb in tencentcloud-sdk-tke-1.0.349 vs lib/v20180525/models.rb in tencentcloud-sdk-tke-1.0.350
- old
+ new
@@ -602,14 +602,17 @@
# 注意:此字段可能返回 null,表示取不到有效值。
# @type ClusterLevel: String
# @param AutoUpgradeClusterLevel: 自动变配集群等级,针对托管集群生效
# 注意:此字段可能返回 null,表示取不到有效值。
# @type AutoUpgradeClusterLevel: Boolean
+ # @param QGPUShareEnable: 是否开启QGPU共享
+ # 注意:此字段可能返回 null,表示取不到有效值。
+ # @type QGPUShareEnable: Boolean
- attr_accessor :ClusterId, :ClusterName, :ClusterDescription, :ClusterVersion, :ClusterOs, :ClusterType, :ClusterNetworkSettings, :ClusterNodeNum, :ProjectId, :TagSpecification, :ClusterStatus, :Property, :ClusterMaterNodeNum, :ImageId, :OsCustomizeType, :ContainerRuntime, :CreatedTime, :DeletionProtection, :EnableExternalNode, :ClusterLevel, :AutoUpgradeClusterLevel
+ attr_accessor :ClusterId, :ClusterName, :ClusterDescription, :ClusterVersion, :ClusterOs, :ClusterType, :ClusterNetworkSettings, :ClusterNodeNum, :ProjectId, :TagSpecification, :ClusterStatus, :Property, :ClusterMaterNodeNum, :ImageId, :OsCustomizeType, :ContainerRuntime, :CreatedTime, :DeletionProtection, :EnableExternalNode, :ClusterLevel, :AutoUpgradeClusterLevel, :QGPUShareEnable
- def initialize(clusterid=nil, clustername=nil, clusterdescription=nil, clusterversion=nil, clusteros=nil, clustertype=nil, clusternetworksettings=nil, clusternodenum=nil, projectid=nil, tagspecification=nil, clusterstatus=nil, property=nil, clustermaternodenum=nil, imageid=nil, oscustomizetype=nil, containerruntime=nil, createdtime=nil, deletionprotection=nil, enableexternalnode=nil, clusterlevel=nil, autoupgradeclusterlevel=nil)
+ def initialize(clusterid=nil, clustername=nil, clusterdescription=nil, clusterversion=nil, clusteros=nil, clustertype=nil, clusternetworksettings=nil, clusternodenum=nil, projectid=nil, tagspecification=nil, clusterstatus=nil, property=nil, clustermaternodenum=nil, imageid=nil, oscustomizetype=nil, containerruntime=nil, createdtime=nil, deletionprotection=nil, enableexternalnode=nil, clusterlevel=nil, autoupgradeclusterlevel=nil, qgpushareenable=nil)
@ClusterId = clusterid
@ClusterName = clustername
@ClusterDescription = clusterdescription
@ClusterVersion = clusterversion
@ClusterOs = clusteros
@@ -627,10 +630,11 @@
@CreatedTime = createdtime
@DeletionProtection = deletionprotection
@EnableExternalNode = enableexternalnode
@ClusterLevel = clusterlevel
@AutoUpgradeClusterLevel = autoupgradeclusterlevel
+ @QGPUShareEnable = qgpushareenable
end
def deserialize(params)
@ClusterId = params['ClusterId']
@ClusterName = params['ClusterName']
@@ -661,10 +665,11 @@
@CreatedTime = params['CreatedTime']
@DeletionProtection = params['DeletionProtection']
@EnableExternalNode = params['EnableExternalNode']
@ClusterLevel = params['ClusterLevel']
@AutoUpgradeClusterLevel = params['AutoUpgradeClusterLevel']
+ @QGPUShareEnable = params['QGPUShareEnable']
end
end
# 集群高级配置
class ClusterAdvancedSettings < TencentCloud::Common::AbstractModel
@@ -708,14 +713,16 @@
# @type BasePodNumber: Integer
# @param CiliumMode: 启用 CiliumMode 的模式,空值表示不启用,“clusterIP” 表示启用 Cilium 支持 ClusterIP
# @type CiliumMode: String
# @param IsDualStack: 集群VPC-CNI模式下是否是双栈集群,默认false,表明非双栈集群。
# @type IsDualStack: Boolean
+ # @param QGPUShareEnable: 是否开启QGPU共享
+ # @type QGPUShareEnable: Boolean
- attr_accessor :IPVS, :AsEnabled, :ContainerRuntime, :NodeNameType, :ExtraArgs, :NetworkType, :IsNonStaticIpMode, :DeletionProtection, :KubeProxyMode, :AuditEnabled, :AuditLogsetId, :AuditLogTopicId, :VpcCniType, :RuntimeVersion, :EnableCustomizedPodCIDR, :BasePodNumber, :CiliumMode, :IsDualStack
+ attr_accessor :IPVS, :AsEnabled, :ContainerRuntime, :NodeNameType, :ExtraArgs, :NetworkType, :IsNonStaticIpMode, :DeletionProtection, :KubeProxyMode, :AuditEnabled, :AuditLogsetId, :AuditLogTopicId, :VpcCniType, :RuntimeVersion, :EnableCustomizedPodCIDR, :BasePodNumber, :CiliumMode, :IsDualStack, :QGPUShareEnable
- def initialize(ipvs=nil, asenabled=nil, containerruntime=nil, nodenametype=nil, extraargs=nil, networktype=nil, isnonstaticipmode=nil, deletionprotection=nil, kubeproxymode=nil, auditenabled=nil, auditlogsetid=nil, auditlogtopicid=nil, vpccnitype=nil, runtimeversion=nil, enablecustomizedpodcidr=nil, basepodnumber=nil, ciliummode=nil, isdualstack=nil)
+ def initialize(ipvs=nil, asenabled=nil, containerruntime=nil, nodenametype=nil, extraargs=nil, networktype=nil, isnonstaticipmode=nil, deletionprotection=nil, kubeproxymode=nil, auditenabled=nil, auditlogsetid=nil, auditlogtopicid=nil, vpccnitype=nil, runtimeversion=nil, enablecustomizedpodcidr=nil, basepodnumber=nil, ciliummode=nil, isdualstack=nil, qgpushareenable=nil)
@IPVS = ipvs
@AsEnabled = asenabled
@ContainerRuntime = containerruntime
@NodeNameType = nodenametype
@ExtraArgs = extraargs
@@ -730,10 +737,11 @@
@RuntimeVersion = runtimeversion
@EnableCustomizedPodCIDR = enablecustomizedpodcidr
@BasePodNumber = basepodnumber
@CiliumMode = ciliummode
@IsDualStack = isdualstack
+ @QGPUShareEnable = qgpushareenable
end
def deserialize(params)
@IPVS = params['IPVS']
@AsEnabled = params['AsEnabled']
@@ -754,10 +762,11 @@
@RuntimeVersion = params['RuntimeVersion']
@EnableCustomizedPodCIDR = params['EnableCustomizedPodCIDR']
@BasePodNumber = params['BasePodNumber']
@CiliumMode = params['CiliumMode']
@IsDualStack = params['IsDualStack']
+ @QGPUShareEnable = params['QGPUShareEnable']
end
end
# 集群关联的伸缩组信息
class ClusterAsGroup < TencentCloud::Common::AbstractModel
@@ -1249,14 +1258,20 @@
# 注意:此字段可能返回 null,表示取不到有效值。
# @type Subnets: Array
# @param IgnoreServiceCIDRConflict: 是否忽略 ServiceCIDR 冲突错误, 仅在 VPC-CNI 模式生效,默认不忽略
# 注意:此字段可能返回 null,表示取不到有效值。
# @type IgnoreServiceCIDRConflict: Boolean
+ # @param IsDualStack: 集群VPC-CNI模式是否为非双栈集群,默认false,非双栈。
+ # 注意:此字段可能返回 null,表示取不到有效值。
+ # @type IsDualStack: Boolean
+ # @param Ipv6ServiceCIDR: 用于分配service的IP range,由系统自动分配
+ # 注意:此字段可能返回 null,表示取不到有效值。
+ # @type Ipv6ServiceCIDR: String
- attr_accessor :ClusterCIDR, :IgnoreClusterCIDRConflict, :MaxNodePodNum, :MaxClusterServiceNum, :Ipvs, :VpcId, :Cni, :KubeProxyMode, :ServiceCIDR, :Subnets, :IgnoreServiceCIDRConflict
+ attr_accessor :ClusterCIDR, :IgnoreClusterCIDRConflict, :MaxNodePodNum, :MaxClusterServiceNum, :Ipvs, :VpcId, :Cni, :KubeProxyMode, :ServiceCIDR, :Subnets, :IgnoreServiceCIDRConflict, :IsDualStack, :Ipv6ServiceCIDR
- def initialize(clustercidr=nil, ignoreclustercidrconflict=nil, maxnodepodnum=nil, maxclusterservicenum=nil, ipvs=nil, vpcid=nil, cni=nil, kubeproxymode=nil, servicecidr=nil, subnets=nil, ignoreservicecidrconflict=nil)
+ def initialize(clustercidr=nil, ignoreclustercidrconflict=nil, maxnodepodnum=nil, maxclusterservicenum=nil, ipvs=nil, vpcid=nil, cni=nil, kubeproxymode=nil, servicecidr=nil, subnets=nil, ignoreservicecidrconflict=nil, isdualstack=nil, ipv6servicecidr=nil)
@ClusterCIDR = clustercidr
@IgnoreClusterCIDRConflict = ignoreclustercidrconflict
@MaxNodePodNum = maxnodepodnum
@MaxClusterServiceNum = maxclusterservicenum
@Ipvs = ipvs
@@ -1264,10 +1279,12 @@
@Cni = cni
@KubeProxyMode = kubeproxymode
@ServiceCIDR = servicecidr
@Subnets = subnets
@IgnoreServiceCIDRConflict = ignoreservicecidrconflict
+ @IsDualStack = isdualstack
+ @Ipv6ServiceCIDR = ipv6servicecidr
end
def deserialize(params)
@ClusterCIDR = params['ClusterCIDR']
@IgnoreClusterCIDRConflict = params['IgnoreClusterCIDRConflict']
@@ -1278,10 +1295,12 @@
@Cni = params['Cni']
@KubeProxyMode = params['KubeProxyMode']
@ServiceCIDR = params['ServiceCIDR']
@Subnets = params['Subnets']
@IgnoreServiceCIDRConflict = params['IgnoreServiceCIDRConflict']
+ @IsDualStack = params['IsDualStack']
+ @Ipv6ServiceCIDR = params['Ipv6ServiceCIDR']
end
end
# 弹性容器集群公网访问负载均衡信息
class ClusterPublicLB < TencentCloud::Common::AbstractModel
@@ -1796,14 +1815,16 @@
# @type NodePoolOs: String
# @param OsCustomizeType: 容器的镜像版本,"DOCKER_CUSTOMIZE"(容器定制版),"GENERAL"(普通版本,默认值)
# @type OsCustomizeType: String
# @param Tags: 资源标签
# @type Tags: Array
+ # @param DeletionProtection: 删除保护开关
+ # @type DeletionProtection: Boolean
- attr_accessor :ClusterId, :AutoScalingGroupPara, :LaunchConfigurePara, :InstanceAdvancedSettings, :EnableAutoscale, :Name, :Labels, :Taints, :ContainerRuntime, :RuntimeVersion, :NodePoolOs, :OsCustomizeType, :Tags
+ attr_accessor :ClusterId, :AutoScalingGroupPara, :LaunchConfigurePara, :InstanceAdvancedSettings, :EnableAutoscale, :Name, :Labels, :Taints, :ContainerRuntime, :RuntimeVersion, :NodePoolOs, :OsCustomizeType, :Tags, :DeletionProtection
- 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)
+ 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, deletionprotection=nil)
@ClusterId = clusterid
@AutoScalingGroupPara = autoscalinggrouppara
@LaunchConfigurePara = launchconfigurepara
@InstanceAdvancedSettings = instanceadvancedsettings
@EnableAutoscale = enableautoscale
@@ -1813,10 +1834,11 @@
@ContainerRuntime = containerruntime
@RuntimeVersion = runtimeversion
@NodePoolOs = nodepoolos
@OsCustomizeType = oscustomizetype
@Tags = tags
+ @DeletionProtection = deletionprotection
end
def deserialize(params)
@ClusterId = params['ClusterId']
@AutoScalingGroupPara = params['AutoScalingGroupPara']
@@ -1853,10 +1875,11 @@
tag_tmp = Tag.new
tag_tmp.deserialize(i)
@Tags << tag_tmp
end
end
+ @DeletionProtection = params['DeletionProtection']
end
end
# CreateClusterNodePool返回参数结构体
class CreateClusterNodePoolResponse < TencentCloud::Common::AbstractModel
@@ -10029,20 +10052,23 @@
# @type ClusterDesc: String
# @param ClusterLevel: 集群等级
# @type ClusterLevel: String
# @param AutoUpgradeClusterLevel: 自动变配集群等级
# @type AutoUpgradeClusterLevel: :class:`Tencentcloud::Tke.v20180525.models.AutoUpgradeClusterLevel`
+ # @param QGPUShareEnable: 是否开启QGPU共享
+ # @type QGPUShareEnable: Boolean
- attr_accessor :ClusterId, :ProjectId, :ClusterName, :ClusterDesc, :ClusterLevel, :AutoUpgradeClusterLevel
+ attr_accessor :ClusterId, :ProjectId, :ClusterName, :ClusterDesc, :ClusterLevel, :AutoUpgradeClusterLevel, :QGPUShareEnable
- def initialize(clusterid=nil, projectid=nil, clustername=nil, clusterdesc=nil, clusterlevel=nil, autoupgradeclusterlevel=nil)
+ def initialize(clusterid=nil, projectid=nil, clustername=nil, clusterdesc=nil, clusterlevel=nil, autoupgradeclusterlevel=nil, qgpushareenable=nil)
@ClusterId = clusterid
@ProjectId = projectid
@ClusterName = clustername
@ClusterDesc = clusterdesc
@ClusterLevel = clusterlevel
@AutoUpgradeClusterLevel = autoupgradeclusterlevel
+ @QGPUShareEnable = qgpushareenable
end
def deserialize(params)
@ClusterId = params['ClusterId']
@ProjectId = params['ProjectId']
@@ -10051,10 +10077,11 @@
@ClusterLevel = params['ClusterLevel']
unless params['AutoUpgradeClusterLevel'].nil?
@AutoUpgradeClusterLevel = AutoUpgradeClusterLevel.new
@AutoUpgradeClusterLevel.deserialize(params['AutoUpgradeClusterLevel'])
end
+ @QGPUShareEnable = params['QGPUShareEnable']
end
end
# ModifyClusterAttribute返回参数结构体
class ModifyClusterAttributeResponse < TencentCloud::Common::AbstractModel
@@ -10071,21 +10098,25 @@
# 注意:此字段可能返回 null,表示取不到有效值。
# @type ClusterLevel: String
# @param AutoUpgradeClusterLevel: 自动变配集群等级
# 注意:此字段可能返回 null,表示取不到有效值。
# @type AutoUpgradeClusterLevel: :class:`Tencentcloud::Tke.v20180525.models.AutoUpgradeClusterLevel`
+ # @param QGPUShareEnable: 是否开启QGPU共享
+ # 注意:此字段可能返回 null,表示取不到有效值。
+ # @type QGPUShareEnable: Boolean
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
- attr_accessor :ProjectId, :ClusterName, :ClusterDesc, :ClusterLevel, :AutoUpgradeClusterLevel, :RequestId
+ attr_accessor :ProjectId, :ClusterName, :ClusterDesc, :ClusterLevel, :AutoUpgradeClusterLevel, :QGPUShareEnable, :RequestId
- def initialize(projectid=nil, clustername=nil, clusterdesc=nil, clusterlevel=nil, autoupgradeclusterlevel=nil, requestid=nil)
+ def initialize(projectid=nil, clustername=nil, clusterdesc=nil, clusterlevel=nil, autoupgradeclusterlevel=nil, qgpushareenable=nil, requestid=nil)
@ProjectId = projectid
@ClusterName = clustername
@ClusterDesc = clusterdesc
@ClusterLevel = clusterlevel
@AutoUpgradeClusterLevel = autoupgradeclusterlevel
+ @QGPUShareEnable = qgpushareenable
@RequestId = requestid
end
def deserialize(params)
@ProjectId = params['ProjectId']
@@ -10094,10 +10125,11 @@
@ClusterLevel = params['ClusterLevel']
unless params['AutoUpgradeClusterLevel'].nil?
@AutoUpgradeClusterLevel = AutoUpgradeClusterLevel.new
@AutoUpgradeClusterLevel.deserialize(params['AutoUpgradeClusterLevel'])
end
+ @QGPUShareEnable = params['QGPUShareEnable']
@RequestId = params['RequestId']
end
end
# ModifyClusterAuthenticationOptions请求参数结构体
@@ -10201,14 +10233,16 @@
# @type ExtraArgs: :class:`Tencentcloud::Tke.v20180525.models.InstanceExtraArgs`
# @param Tags: 资源标签
# @type Tags: Array
# @param Unschedulable: 设置加入的节点是否参与调度,默认值为0,表示参与调度;非0表示不参与调度, 待节点初始化完成之后, 可执行kubectl uncordon nodename使node加入调度.
# @type Unschedulable: Integer
+ # @param DeletionProtection: 删除保护开关
+ # @type DeletionProtection: Boolean
- attr_accessor :ClusterId, :NodePoolId, :Name, :MaxNodesNum, :MinNodesNum, :Labels, :Taints, :EnableAutoscale, :OsName, :OsCustomizeType, :ExtraArgs, :Tags, :Unschedulable
+ attr_accessor :ClusterId, :NodePoolId, :Name, :MaxNodesNum, :MinNodesNum, :Labels, :Taints, :EnableAutoscale, :OsName, :OsCustomizeType, :ExtraArgs, :Tags, :Unschedulable, :DeletionProtection
- def initialize(clusterid=nil, nodepoolid=nil, name=nil, maxnodesnum=nil, minnodesnum=nil, labels=nil, taints=nil, enableautoscale=nil, osname=nil, oscustomizetype=nil, extraargs=nil, tags=nil, unschedulable=nil)
+ def initialize(clusterid=nil, nodepoolid=nil, name=nil, maxnodesnum=nil, minnodesnum=nil, labels=nil, taints=nil, enableautoscale=nil, osname=nil, oscustomizetype=nil, extraargs=nil, tags=nil, unschedulable=nil, deletionprotection=nil)
@ClusterId = clusterid
@NodePoolId = nodepoolid
@Name = name
@MaxNodesNum = maxnodesnum
@MinNodesNum = minnodesnum
@@ -10218,10 +10252,11 @@
@OsName = osname
@OsCustomizeType = oscustomizetype
@ExtraArgs = extraargs
@Tags = tags
@Unschedulable = unschedulable
+ @DeletionProtection = deletionprotection
end
def deserialize(params)
@ClusterId = params['ClusterId']
@NodePoolId = params['NodePoolId']
@@ -10258,10 +10293,11 @@
tag_tmp.deserialize(i)
@Tags << tag_tmp
end
end
@Unschedulable = params['Unschedulable']
+ @DeletionProtection = params['DeletionProtection']
end
end
# ModifyClusterNodePool返回参数结构体
class ModifyClusterNodePoolResponse < TencentCloud::Common::AbstractModel
@@ -10818,14 +10854,17 @@
# 注意:此字段可能返回 null,表示取不到有效值。
# @type UserScript: String
# @param Tags: 资源标签
# 注意:此字段可能返回 null,表示取不到有效值。
# @type Tags: Array
+ # @param DeletionProtection: 删除保护开关
+ # 注意:此字段可能返回 null,表示取不到有效值。
+ # @type DeletionProtection: Boolean
- attr_accessor :NodePoolId, :Name, :ClusterInstanceId, :LifeState, :LaunchConfigurationId, :AutoscalingGroupId, :Labels, :Taints, :NodeCountSummary, :AutoscalingGroupStatus, :MaxNodesNum, :MinNodesNum, :DesiredNodesNum, :NodePoolOs, :OsCustomizeType, :ImageId, :DesiredPodNum, :UserScript, :Tags
+ attr_accessor :NodePoolId, :Name, :ClusterInstanceId, :LifeState, :LaunchConfigurationId, :AutoscalingGroupId, :Labels, :Taints, :NodeCountSummary, :AutoscalingGroupStatus, :MaxNodesNum, :MinNodesNum, :DesiredNodesNum, :NodePoolOs, :OsCustomizeType, :ImageId, :DesiredPodNum, :UserScript, :Tags, :DeletionProtection
- def initialize(nodepoolid=nil, name=nil, clusterinstanceid=nil, lifestate=nil, launchconfigurationid=nil, autoscalinggroupid=nil, labels=nil, taints=nil, nodecountsummary=nil, autoscalinggroupstatus=nil, maxnodesnum=nil, minnodesnum=nil, desirednodesnum=nil, nodepoolos=nil, oscustomizetype=nil, imageid=nil, desiredpodnum=nil, userscript=nil, tags=nil)
+ def initialize(nodepoolid=nil, name=nil, clusterinstanceid=nil, lifestate=nil, launchconfigurationid=nil, autoscalinggroupid=nil, labels=nil, taints=nil, nodecountsummary=nil, autoscalinggroupstatus=nil, maxnodesnum=nil, minnodesnum=nil, desirednodesnum=nil, nodepoolos=nil, oscustomizetype=nil, imageid=nil, desiredpodnum=nil, userscript=nil, tags=nil, deletionprotection=nil)
@NodePoolId = nodepoolid
@Name = name
@ClusterInstanceId = clusterinstanceid
@LifeState = lifestate
@LaunchConfigurationId = launchconfigurationid
@@ -10841,10 +10880,11 @@
@OsCustomizeType = oscustomizetype
@ImageId = imageid
@DesiredPodNum = desiredpodnum
@UserScript = userscript
@Tags = tags
+ @DeletionProtection = deletionprotection
end
def deserialize(params)
@NodePoolId = params['NodePoolId']
@Name = params['Name']
@@ -10887,9 +10927,10 @@
tag_tmp = Tag.new
tag_tmp.deserialize(i)
@Tags << tag_tmp
end
end
+ @DeletionProtection = params['DeletionProtection']
end
end
# 加入存量节点时的节点池选项
class NodePoolOption < TencentCloud::Common::AbstractModel