Files
2026-02-07 15:48:27 +08:00

90 lines
3.2 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.Es.V20180416.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class NodeInfo : AbstractModel
{
/// <summary>
/// 节点数量
/// </summary>
[JsonProperty("NodeNum")]
public ulong? NodeNum{ 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("NodeType")]
public string NodeType{ get; set; }
/// <summary>
/// 节点类型<li>hotData: 热数据节点</li>
/// <li>warmData: 冷数据节点</li>
/// <li>dedicatedMaster: 专用主节点</li>
/// 默认值为hotData
/// </summary>
[JsonProperty("Type")]
public string Type{ get; set; }
/// <summary>
/// 节点磁盘类型<li>CLOUD_SSDSSD云硬盘</li><li>CLOUD_PREMIUM高硬能云硬盘</li>默认值CLOUD_SSD
/// </summary>
[JsonProperty("DiskType")]
public string DiskType{ get; set; }
/// <summary>
/// 节点磁盘容量单位GB
/// </summary>
[JsonProperty("DiskSize")]
public ulong? DiskSize{ get; set; }
/// <summary>
/// 节点本地盘信息
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("LocalDiskInfo")]
public LocalDiskInfo LocalDiskInfo{ get; set; }
/// <summary>
/// 节点磁盘块数
/// </summary>
[JsonProperty("DiskCount")]
public ulong? DiskCount{ 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 + "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);
}
}
}