/* * 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 ClusterBasicSettings : AbstractModel { /// /// 集群系统。centos7.2x86_64 或者 ubuntu16.04.1 LTSx86_64,默认取值为ubuntu16.04.1 LTSx86_64 /// [JsonProperty("ClusterOs")] public string ClusterOs{ get; set; } /// /// 集群版本,默认值为1.10.5 /// [JsonProperty("ClusterVersion")] public string ClusterVersion{ get; set; } /// /// 集群名称 /// [JsonProperty("ClusterName")] public string ClusterName{ get; set; } /// /// 集群描述 /// [JsonProperty("ClusterDescription")] public string ClusterDescription{ get; set; } /// /// 私有网络ID,形如vpc-xxx。创建托管空集群时必传。 /// [JsonProperty("VpcId")] public string VpcId{ get; set; } /// /// 集群内新增资源所属项目ID。 /// [JsonProperty("ProjectId")] public long? ProjectId{ get; set; } /// /// 标签描述列表。通过指定该参数可以同时绑定标签到相应的资源实例,当前仅支持绑定标签到集群实例。 /// [JsonProperty("TagSpecification")] public TagSpecification[] TagSpecification{ get; set; } /// /// 容器的镜像版本,"DOCKER_CUSTOMIZE"(容器定制版),"GENERAL"(普通版本,默认值) /// [JsonProperty("OsCustomizeType")] public string OsCustomizeType{ get; set; } /// /// 是否开启节点的默认安全组(默认: 否,Aphla特性) /// [JsonProperty("NeedWorkSecurityGroup")] public bool? NeedWorkSecurityGroup{ get; set; } /// /// For internal usage only. DO NOT USE IT. /// internal override void ToMap(Dictionary map, string prefix) { this.SetParamSimple(map, prefix + "ClusterOs", this.ClusterOs); this.SetParamSimple(map, prefix + "ClusterVersion", this.ClusterVersion); this.SetParamSimple(map, prefix + "ClusterName", this.ClusterName); this.SetParamSimple(map, prefix + "ClusterDescription", this.ClusterDescription); this.SetParamSimple(map, prefix + "VpcId", this.VpcId); this.SetParamSimple(map, prefix + "ProjectId", this.ProjectId); this.SetParamArrayObj(map, prefix + "TagSpecification.", this.TagSpecification); this.SetParamSimple(map, prefix + "OsCustomizeType", this.OsCustomizeType); this.SetParamSimple(map, prefix + "NeedWorkSecurityGroup", this.NeedWorkSecurityGroup); } } }