Files
g.hnyhua.cn/TencentCloud/Es/V20180416/Models/MasterNodeInfo.cs

86 lines
3.1 KiB
C#
Raw Normal View History

/*
* 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
{
/// <summary>
/// 是否启用了专用主节点
/// </summary>
[JsonProperty("EnableDedicatedMaster")]
public bool? EnableDedicatedMaster{ get; set; }
/// <summary>
/// 专用主节点规格<li>ES.S1.SMALL21核2G</li><li>ES.S1.MEDIUM42核4G</li><li>ES.S1.MEDIUM82核8G</li><li>ES.S1.LARGE164核16G</li><li>ES.S1.2XLARGE328核32G</li><li>ES.S1.4XLARGE3216核32G</li><li>ES.S1.4XLARGE6416核64G</li>
/// </summary>
[JsonProperty("MasterNodeType")]
public string MasterNodeType{ get; set; }
/// <summary>
/// 专用主节点个数
/// </summary>
[JsonProperty("MasterNodeNum")]
public ulong? MasterNodeNum{ get; set; }
/// <summary>
/// 专用主节点CPU核数
/// </summary>
[JsonProperty("MasterNodeCpuNum")]
public ulong? MasterNodeCpuNum{ get; set; }
/// <summary>
/// 专用主节点内存大小单位GB
/// </summary>
[JsonProperty("MasterNodeMemSize")]
public ulong? MasterNodeMemSize{ get; set; }
/// <summary>
/// 专用主节点磁盘大小单位GB
/// </summary>
[JsonProperty("MasterNodeDiskSize")]
public ulong? MasterNodeDiskSize{ get; set; }
/// <summary>
/// 专用主节点磁盘类型
/// </summary>
[JsonProperty("MasterNodeDiskType")]
public string MasterNodeDiskType{ 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 + "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);
}
}
}