lib/v20180525/models.rb in tencentcloud-sdk-tke-3.0.903 vs lib/v20180525/models.rb in tencentcloud-sdk-tke-3.0.904
- old
+ new
@@ -2321,23 +2321,26 @@
# @type ExistedInstancesForNode: Array
# @param InstanceDataDiskMountSettings: CVM类型和其对应的数据盘挂载配置信息
# @type InstanceDataDiskMountSettings: Array
# @param ExtensionAddons: 需要安装的扩展组件信息
# @type ExtensionAddons: Array
+ # @param CdcId: 本地专用集群Id
+ # @type CdcId: String
- attr_accessor :ClusterType, :ClusterCIDRSettings, :RunInstancesForNode, :ClusterBasicSettings, :ClusterAdvancedSettings, :InstanceAdvancedSettings, :ExistedInstancesForNode, :InstanceDataDiskMountSettings, :ExtensionAddons
+ attr_accessor :ClusterType, :ClusterCIDRSettings, :RunInstancesForNode, :ClusterBasicSettings, :ClusterAdvancedSettings, :InstanceAdvancedSettings, :ExistedInstancesForNode, :InstanceDataDiskMountSettings, :ExtensionAddons, :CdcId
- def initialize(clustertype=nil, clustercidrsettings=nil, runinstancesfornode=nil, clusterbasicsettings=nil, clusteradvancedsettings=nil, instanceadvancedsettings=nil, existedinstancesfornode=nil, instancedatadiskmountsettings=nil, extensionaddons=nil)
+ def initialize(clustertype=nil, clustercidrsettings=nil, runinstancesfornode=nil, clusterbasicsettings=nil, clusteradvancedsettings=nil, instanceadvancedsettings=nil, existedinstancesfornode=nil, instancedatadiskmountsettings=nil, extensionaddons=nil, cdcid=nil)
@ClusterType = clustertype
@ClusterCIDRSettings = clustercidrsettings
@RunInstancesForNode = runinstancesfornode
@ClusterBasicSettings = clusterbasicsettings
@ClusterAdvancedSettings = clusteradvancedsettings
@InstanceAdvancedSettings = instanceadvancedsettings
@ExistedInstancesForNode = existedinstancesfornode
@InstanceDataDiskMountSettings = instancedatadiskmountsettings
@ExtensionAddons = extensionaddons
+ @CdcId = cdcid
end
def deserialize(params)
@ClusterType = params['ClusterType']
unless params['ClusterCIDRSettings'].nil?
@@ -2386,9 +2389,10 @@
extensionaddon_tmp = ExtensionAddon.new
extensionaddon_tmp.deserialize(i)
@ExtensionAddons << extensionaddon_tmp
end
end
+ @CdcId = params['CdcId']
end
end
# CreateCluster返回参数结构体
class CreateClusterResponse < TencentCloud::Common::AbstractModel