/*
* 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 NodeInfo : AbstractModel
{
///
/// 节点数量
///
[JsonProperty("NodeNum")]
public ulong? NodeNum{ get; set; }
///
/// 节点规格ES.S1.SMALL2:1核2GES.S1.MEDIUM4:2核4GES.S1.MEDIUM8:2核8GES.S1.LARGE16:4核16GES.S1.2XLARGE32:8核32GES.S1.4XLARGE32:16核32GES.S1.4XLARGE64:16核64G
///
[JsonProperty("NodeType")]
public string NodeType{ get; set; }
///
/// 节点类型hotData: 热数据节点
/// warmData: 冷数据节点
/// dedicatedMaster: 专用主节点
/// 默认值为hotData
///
[JsonProperty("Type")]
public string Type{ get; set; }
///
/// 节点磁盘类型CLOUD_SSD:SSD云硬盘CLOUD_PREMIUM:高硬能云硬盘默认值CLOUD_SSD
///
[JsonProperty("DiskType")]
public string DiskType{ get; set; }
///
/// 节点磁盘容量(单位GB)
///
[JsonProperty("DiskSize")]
public ulong? DiskSize{ get; set; }
///
/// 节点本地盘信息
/// 注意:此字段可能返回 null,表示取不到有效值。
///
[JsonProperty("LocalDiskInfo")]
public LocalDiskInfo LocalDiskInfo{ get; set; }
///
/// 节点磁盘块数
///
[JsonProperty("DiskCount")]
public ulong? DiskCount{ get; set; }
///
/// For internal usage only. DO NOT USE IT.
///
internal override void ToMap(Dictionary map, string prefix)
{
this.SetParamSimple(map, prefix + "NodeNum", this.NodeNum);
this.SetParamSimple(map, prefix + "NodeType", this.NodeType);
this.SetParamSimple(map, prefix + "Type", this.Type);
this.SetParamSimple(map, prefix + "DiskType", this.DiskType);
this.SetParamSimple(map, prefix + "DiskSize", this.DiskSize);
this.SetParamObj(map, prefix + "LocalDiskInfo.", this.LocalDiskInfo);
this.SetParamSimple(map, prefix + "DiskCount", this.DiskCount);
}
}
}