lib/v20180525/models.rb in tencentcloud-sdk-tke-3.0.559 vs lib/v20180525/models.rb in tencentcloud-sdk-tke-3.0.560
- old
+ new
@@ -3470,14 +3470,16 @@
# @type ChargeType: String
# @param EdgeVersion: 边缘集群版本,此版本区别于k8s版本,是整个集群各组件版本集合
# @type EdgeVersion: String
# @param RegistryPrefix: 边缘组件镜像仓库前缀
# @type RegistryPrefix: String
+ # @param TagSpecification: 集群绑定的云标签
+ # @type TagSpecification: :class:`Tencentcloud::Tke.v20180525.models.TagSpecification`
- attr_accessor :K8SVersion, :VpcId, :ClusterName, :PodCIDR, :ServiceCIDR, :ClusterDesc, :ClusterAdvancedSettings, :MaxNodePodNum, :PublicLB, :ClusterLevel, :AutoUpgradeClusterLevel, :ChargeType, :EdgeVersion, :RegistryPrefix
+ attr_accessor :K8SVersion, :VpcId, :ClusterName, :PodCIDR, :ServiceCIDR, :ClusterDesc, :ClusterAdvancedSettings, :MaxNodePodNum, :PublicLB, :ClusterLevel, :AutoUpgradeClusterLevel, :ChargeType, :EdgeVersion, :RegistryPrefix, :TagSpecification
- def initialize(k8sversion=nil, vpcid=nil, clustername=nil, podcidr=nil, servicecidr=nil, clusterdesc=nil, clusteradvancedsettings=nil, maxnodepodnum=nil, publiclb=nil, clusterlevel=nil, autoupgradeclusterlevel=nil, chargetype=nil, edgeversion=nil, registryprefix=nil)
+ def initialize(k8sversion=nil, vpcid=nil, clustername=nil, podcidr=nil, servicecidr=nil, clusterdesc=nil, clusteradvancedsettings=nil, maxnodepodnum=nil, publiclb=nil, clusterlevel=nil, autoupgradeclusterlevel=nil, chargetype=nil, edgeversion=nil, registryprefix=nil, tagspecification=nil)
@K8SVersion = k8sversion
@VpcId = vpcid
@ClusterName = clustername
@PodCIDR = podcidr
@ServiceCIDR = servicecidr
@@ -3488,10 +3490,11 @@
@ClusterLevel = clusterlevel
@AutoUpgradeClusterLevel = autoupgradeclusterlevel
@ChargeType = chargetype
@EdgeVersion = edgeversion
@RegistryPrefix = registryprefix
+ @TagSpecification = tagspecification
end
def deserialize(params)
@K8SVersion = params['K8SVersion']
@VpcId = params['VpcId']
@@ -3511,10 +3514,14 @@
@ClusterLevel = params['ClusterLevel']
@AutoUpgradeClusterLevel = params['AutoUpgradeClusterLevel']
@ChargeType = params['ChargeType']
@EdgeVersion = params['EdgeVersion']
@RegistryPrefix = params['RegistryPrefix']
+ unless params['TagSpecification'].nil?
+ @TagSpecification = TagSpecification.new
+ @TagSpecification.deserialize(params['TagSpecification'])
+ end
end
end
# CreateTKEEdgeCluster返回参数结构体
class CreateTKEEdgeClusterResponse < TencentCloud::Common::AbstractModel
@@ -8628,24 +8635,27 @@
# @type HealthRegion: String
# @param Health: 集群的健康检查部署信息
# @type Health: String
# @param GridDaemon: 是否部署GridDaemon以支持headless service
# @type GridDaemon: String
+ # @param UnitCluster: 公网访问kins集群
+ # @type UnitCluster: String
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
- attr_accessor :Addresses, :Credential, :PublicLB, :InternalLB, :CoreDns, :HealthRegion, :Health, :GridDaemon, :RequestId
+ attr_accessor :Addresses, :Credential, :PublicLB, :InternalLB, :CoreDns, :HealthRegion, :Health, :GridDaemon, :UnitCluster, :RequestId
- def initialize(addresses=nil, credential=nil, publiclb=nil, internallb=nil, coredns=nil, healthregion=nil, health=nil, griddaemon=nil, requestid=nil)
+ def initialize(addresses=nil, credential=nil, publiclb=nil, internallb=nil, coredns=nil, healthregion=nil, health=nil, griddaemon=nil, unitcluster=nil, requestid=nil)
@Addresses = addresses
@Credential = credential
@PublicLB = publiclb
@InternalLB = internallb
@CoreDns = coredns
@HealthRegion = healthregion
@Health = health
@GridDaemon = griddaemon
+ @UnitCluster = unitcluster
@RequestId = requestid
end
def deserialize(params)
unless params['Addresses'].nil?
@@ -8670,9 +8680,10 @@
end
@CoreDns = params['CoreDns']
@HealthRegion = params['HealthRegion']
@Health = params['Health']
@GridDaemon = params['GridDaemon']
+ @UnitCluster = params['UnitCluster']
@RequestId = params['RequestId']
end
end
# DescribeTKEEdgeClusterStatus请求参数结构体