lib/v20180525/models.rb in tencentcloud-sdk-tke-3.0.432 vs lib/v20180525/models.rb in tencentcloud-sdk-tke-3.0.433
- old
+ new
@@ -8452,14 +8452,17 @@
# 注意:此字段可能返回 null,表示取不到有效值。
# @type MaxNodePodNum: Integer
# @param ClusterAdvancedSettings: 集群高级设置
# 注意:此字段可能返回 null,表示取不到有效值。
# @type ClusterAdvancedSettings: :class:`Tencentcloud::Tke.v20180525.models.EdgeClusterAdvancedSettings`
+ # @param Level: 边缘容器集群级别
+ # 注意:此字段可能返回 null,表示取不到有效值。
+ # @type Level: String
- attr_accessor :ClusterId, :ClusterName, :VpcId, :PodCIDR, :ServiceCIDR, :K8SVersion, :Status, :ClusterDesc, :CreatedTime, :EdgeClusterVersion, :MaxNodePodNum, :ClusterAdvancedSettings
+ attr_accessor :ClusterId, :ClusterName, :VpcId, :PodCIDR, :ServiceCIDR, :K8SVersion, :Status, :ClusterDesc, :CreatedTime, :EdgeClusterVersion, :MaxNodePodNum, :ClusterAdvancedSettings, :Level
- def initialize(clusterid=nil, clustername=nil, vpcid=nil, podcidr=nil, servicecidr=nil, k8sversion=nil, status=nil, clusterdesc=nil, createdtime=nil, edgeclusterversion=nil, maxnodepodnum=nil, clusteradvancedsettings=nil)
+ def initialize(clusterid=nil, clustername=nil, vpcid=nil, podcidr=nil, servicecidr=nil, k8sversion=nil, status=nil, clusterdesc=nil, createdtime=nil, edgeclusterversion=nil, maxnodepodnum=nil, clusteradvancedsettings=nil, level=nil)
@ClusterId = clusterid
@ClusterName = clustername
@VpcId = vpcid
@PodCIDR = podcidr
@ServiceCIDR = servicecidr
@@ -8468,10 +8471,11 @@
@ClusterDesc = clusterdesc
@CreatedTime = createdtime
@EdgeClusterVersion = edgeclusterversion
@MaxNodePodNum = maxnodepodnum
@ClusterAdvancedSettings = clusteradvancedsettings
+ @Level = level
end
def deserialize(params)
@ClusterId = params['ClusterId']
@ClusterName = params['ClusterName']
@@ -8486,10 +8490,11 @@
@MaxNodePodNum = params['MaxNodePodNum']
unless params['ClusterAdvancedSettings'].nil?
@ClusterAdvancedSettings = EdgeClusterAdvancedSettings.new
@ClusterAdvancedSettings.deserialize(params['ClusterAdvancedSettings'])
end
+ @Level = params['Level']
end
end
# 边缘容器集群高级配置
class EdgeClusterAdvancedSettings < TencentCloud::Common::AbstractModel
@@ -11680,19 +11685,31 @@
# @type ClusterName: String
# @param ExternalLabels: 额外labels
# 本集群的所有指标都会带上这几个label
# 注意:此字段可能返回 null,表示取不到有效值。
# @type ExternalLabels: Array
+ # @param Region: 集群所在地域
+ # 注意:此字段可能返回 null,表示取不到有效值。
+ # @type Region: String
+ # @param VpcId: 集群所在VPC ID
+ # 注意:此字段可能返回 null,表示取不到有效值。
+ # @type VpcId: String
+ # @param FailedReason: 记录关联等操作的失败信息
+ # 注意:此字段可能返回 null,表示取不到有效值。
+ # @type FailedReason: String
- attr_accessor :ClusterType, :ClusterId, :Status, :ClusterName, :ExternalLabels
+ attr_accessor :ClusterType, :ClusterId, :Status, :ClusterName, :ExternalLabels, :Region, :VpcId, :FailedReason
- def initialize(clustertype=nil, clusterid=nil, status=nil, clustername=nil, externallabels=nil)
+ def initialize(clustertype=nil, clusterid=nil, status=nil, clustername=nil, externallabels=nil, region=nil, vpcid=nil, failedreason=nil)
@ClusterType = clustertype
@ClusterId = clusterid
@Status = status
@ClusterName = clustername
@ExternalLabels = externallabels
+ @Region = region
+ @VpcId = vpcid
+ @FailedReason = failedreason
end
def deserialize(params)
@ClusterType = params['ClusterType']
@ClusterId = params['ClusterId']
@@ -11704,9 +11721,12 @@
label_tmp = Label.new
label_tmp.deserialize(i)
@ExternalLabels << label_tmp
end
end
+ @Region = params['Region']
+ @VpcId = params['VpcId']
+ @FailedReason = params['FailedReason']
end
end
# prometheus告警历史
class PrometheusAlertHistoryItem < TencentCloud::Common::AbstractModel