Files
g.hnyhua.cn/TencentCloud/Tke/V20180525/Models/CreateClusterAsGroupRequest.cs
2026-02-07 15:48:27 +08:00

72 lines
2.8 KiB
C#
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Tke.V20180525.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class CreateClusterAsGroupRequest : AbstractModel
{
/// <summary>
/// 集群ID
/// </summary>
[JsonProperty("ClusterId")]
public string ClusterId{ get; set; }
/// <summary>
/// 伸缩组创建透传参数json化字符串格式详见[伸缩组创建实例](https://cloud.tencent.com/document/api/377/20440)接口。LaunchConfigurationId由LaunchConfigurePara参数创建不支持填写
/// </summary>
[JsonProperty("AutoScalingGroupPara")]
public string AutoScalingGroupPara{ get; set; }
/// <summary>
/// 启动配置创建透传参数json化字符串格式详见[创建启动配置](https://cloud.tencent.com/document/api/377/20447)接口。另外ImageId参数由于集群维度已经有的ImageId信息这个字段不需要填写。UserData字段设置通过UserScript设置这个字段不需要填写。
/// </summary>
[JsonProperty("LaunchConfigurePara")]
public string LaunchConfigurePara{ get; set; }
/// <summary>
/// 节点高级配置信息
/// </summary>
[JsonProperty("InstanceAdvancedSettings")]
public InstanceAdvancedSettings InstanceAdvancedSettings{ get; set; }
/// <summary>
/// 节点Label数组
/// </summary>
[JsonProperty("Labels")]
public Label[] Labels{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "ClusterId", this.ClusterId);
this.SetParamSimple(map, prefix + "AutoScalingGroupPara", this.AutoScalingGroupPara);
this.SetParamSimple(map, prefix + "LaunchConfigurePara", this.LaunchConfigurePara);
this.SetParamObj(map, prefix + "InstanceAdvancedSettings.", this.InstanceAdvancedSettings);
this.SetParamArrayObj(map, prefix + "Labels.", this.Labels);
}
}
}