/* * 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.Es.V20180416.Models { using Newtonsoft.Json; using System.Collections.Generic; using TencentCloud.Common; public class MasterNodeInfo : AbstractModel { /// /// 是否启用了专用主节点 /// [JsonProperty("EnableDedicatedMaster")] public bool? EnableDedicatedMaster{ get; set; } /// /// 专用主节点规格
  • ES.S1.SMALL2:1核2G
  • ES.S1.MEDIUM4:2核4G
  • ES.S1.MEDIUM8:2核8G
  • ES.S1.LARGE16:4核16G
  • ES.S1.2XLARGE32:8核32G
  • ES.S1.4XLARGE32:16核32G
  • ES.S1.4XLARGE64:16核64G
  • ///
    [JsonProperty("MasterNodeType")] public string MasterNodeType{ get; set; } /// /// 专用主节点个数 /// [JsonProperty("MasterNodeNum")] public ulong? MasterNodeNum{ get; set; } /// /// 专用主节点CPU核数 /// [JsonProperty("MasterNodeCpuNum")] public ulong? MasterNodeCpuNum{ get; set; } /// /// 专用主节点内存大小,单位GB /// [JsonProperty("MasterNodeMemSize")] public ulong? MasterNodeMemSize{ get; set; } /// /// 专用主节点磁盘大小,单位GB /// [JsonProperty("MasterNodeDiskSize")] public ulong? MasterNodeDiskSize{ get; set; } /// /// 专用主节点磁盘类型 /// [JsonProperty("MasterNodeDiskType")] public string MasterNodeDiskType{ get; set; } /// /// For internal usage only. DO NOT USE IT. /// internal override void ToMap(Dictionary map, string prefix) { this.SetParamSimple(map, prefix + "EnableDedicatedMaster", this.EnableDedicatedMaster); this.SetParamSimple(map, prefix + "MasterNodeType", this.MasterNodeType); this.SetParamSimple(map, prefix + "MasterNodeNum", this.MasterNodeNum); this.SetParamSimple(map, prefix + "MasterNodeCpuNum", this.MasterNodeCpuNum); this.SetParamSimple(map, prefix + "MasterNodeMemSize", this.MasterNodeMemSize); this.SetParamSimple(map, prefix + "MasterNodeDiskSize", this.MasterNodeDiskSize); this.SetParamSimple(map, prefix + "MasterNodeDiskType", this.MasterNodeDiskType); } } }