lib/v20180525/models.rb in tencentcloud-sdk-tke-1.0.306 vs lib/v20180525/models.rb in tencentcloud-sdk-tke-1.0.307
- old
+ new
@@ -1475,75 +1475,9 @@
@Name = params['Name']
@Enabled = params['Enabled']
end
end
- # CreateClusterAsGroup请求参数结构体
- class CreateClusterAsGroupRequest < TencentCloud::Common::AbstractModel
- # @param ClusterId: 集群ID
- # @type ClusterId: String
- # @param AutoScalingGroupPara: 伸缩组创建透传参数,json化字符串格式,详见[伸缩组创建实例](https://cloud.tencent.com/document/api/377/20440)接口。LaunchConfigurationId由LaunchConfigurePara参数创建,不支持填写
- # @type AutoScalingGroupPara: String
- # @param LaunchConfigurePara: 启动配置创建透传参数,json化字符串格式,详见[创建启动配置](https://cloud.tencent.com/document/api/377/20447)接口。另外ImageId参数由于集群维度已经有的ImageId信息,这个字段不需要填写。UserData字段设置通过UserScript设置,这个字段不需要填写。
- # @type LaunchConfigurePara: String
- # @param InstanceAdvancedSettings: 节点高级配置信息
- # @type InstanceAdvancedSettings: :class:`Tencentcloud::Tke.v20180525.models.InstanceAdvancedSettings`
- # @param Labels: 节点Label数组
- # @type Labels: Array
-
- attr_accessor :ClusterId, :AutoScalingGroupPara, :LaunchConfigurePara, :InstanceAdvancedSettings, :Labels
-
- def initialize(clusterid=nil, autoscalinggrouppara=nil, launchconfigurepara=nil, instanceadvancedsettings=nil, labels=nil)
- @ClusterId = clusterid
- @AutoScalingGroupPara = autoscalinggrouppara
- @LaunchConfigurePara = launchconfigurepara
- @InstanceAdvancedSettings = instanceadvancedsettings
- @Labels = labels
- end
-
- def deserialize(params)
- @ClusterId = params['ClusterId']
- @AutoScalingGroupPara = params['AutoScalingGroupPara']
- @LaunchConfigurePara = params['LaunchConfigurePara']
- unless params['InstanceAdvancedSettings'].nil?
- @InstanceAdvancedSettings = InstanceAdvancedSettings.new
- @InstanceAdvancedSettings.deserialize(params['InstanceAdvancedSettings'])
- end
- unless params['Labels'].nil?
- @Labels = []
- params['Labels'].each do |i|
- label_tmp = Label.new
- label_tmp.deserialize(i)
- @Labels << label_tmp
- end
- end
- end
- end
-
- # CreateClusterAsGroup返回参数结构体
- class CreateClusterAsGroupResponse < TencentCloud::Common::AbstractModel
- # @param LaunchConfigurationId: 启动配置ID
- # @type LaunchConfigurationId: String
- # @param AutoScalingGroupId: 伸缩组ID
- # @type AutoScalingGroupId: String
- # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
- # @type RequestId: String
-
- attr_accessor :LaunchConfigurationId, :AutoScalingGroupId, :RequestId
-
- def initialize(launchconfigurationid=nil, autoscalinggroupid=nil, requestid=nil)
- @LaunchConfigurationId = launchconfigurationid
- @AutoScalingGroupId = autoscalinggroupid
- @RequestId = requestid
- end
-
- def deserialize(params)
- @LaunchConfigurationId = params['LaunchConfigurationId']
- @AutoScalingGroupId = params['AutoScalingGroupId']
- @RequestId = params['RequestId']
- end
- end
-
# CreateClusterEndpoint请求参数结构体
class CreateClusterEndpointRequest < TencentCloud::Common::AbstractModel
# @param ClusterId: 集群ID
# @type ClusterId: String
# @param SubnetId: 集群端口所在的子网ID (仅在开启非外网访问时需要填,必须为集群所在VPC内的子网)