325 lines
12 KiB
C#
325 lines
12 KiB
C#
/*
|
||
* 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.Emr.V20190103.Models
|
||
{
|
||
using Newtonsoft.Json;
|
||
using System.Collections.Generic;
|
||
using TencentCloud.Common;
|
||
|
||
public class NodeHardwareInfo : AbstractModel
|
||
{
|
||
|
||
/// <summary>
|
||
/// 用户APPID
|
||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||
/// </summary>
|
||
[JsonProperty("AppId")]
|
||
public long? AppId{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 序列号
|
||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||
/// </summary>
|
||
[JsonProperty("SerialNo")]
|
||
public string SerialNo{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 机器实例ID
|
||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||
/// </summary>
|
||
[JsonProperty("OrderNo")]
|
||
public string OrderNo{ get; set; }
|
||
|
||
/// <summary>
|
||
/// master节点绑定外网IP
|
||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||
/// </summary>
|
||
[JsonProperty("WanIp")]
|
||
public string WanIp{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 节点类型
|
||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||
/// </summary>
|
||
[JsonProperty("Flag")]
|
||
public long? Flag{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 节点规格
|
||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||
/// </summary>
|
||
[JsonProperty("Spec")]
|
||
public string Spec{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 节点核数
|
||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||
/// </summary>
|
||
[JsonProperty("CpuNum")]
|
||
public long? CpuNum{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 节点内存
|
||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||
/// </summary>
|
||
[JsonProperty("MemSize")]
|
||
public long? MemSize{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 节点内存描述
|
||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||
/// </summary>
|
||
[JsonProperty("MemDesc")]
|
||
public string MemDesc{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 节点所在region
|
||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||
/// </summary>
|
||
[JsonProperty("RegionId")]
|
||
public long? RegionId{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 节点所在Zone
|
||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||
/// </summary>
|
||
[JsonProperty("ZoneId")]
|
||
public long? ZoneId{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 申请时间
|
||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||
/// </summary>
|
||
[JsonProperty("ApplyTime")]
|
||
public string ApplyTime{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 释放时间
|
||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||
/// </summary>
|
||
[JsonProperty("FreeTime")]
|
||
public string FreeTime{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 硬盘大小
|
||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||
/// </summary>
|
||
[JsonProperty("DiskSize")]
|
||
public string DiskSize{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 节点描述
|
||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||
/// </summary>
|
||
[JsonProperty("NameTag")]
|
||
public string NameTag{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 节点部署服务
|
||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||
/// </summary>
|
||
[JsonProperty("Services")]
|
||
public string Services{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 磁盘类型
|
||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||
/// </summary>
|
||
[JsonProperty("StorageType")]
|
||
public long? StorageType{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 系统盘大小
|
||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||
/// </summary>
|
||
[JsonProperty("RootSize")]
|
||
public long? RootSize{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 付费类型
|
||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||
/// </summary>
|
||
[JsonProperty("ChargeType")]
|
||
public long? ChargeType{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 数据库IP
|
||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||
/// </summary>
|
||
[JsonProperty("CdbIp")]
|
||
public string CdbIp{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 数据库端口
|
||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||
/// </summary>
|
||
[JsonProperty("CdbPort")]
|
||
public long? CdbPort{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 硬盘容量
|
||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||
/// </summary>
|
||
[JsonProperty("HwDiskSize")]
|
||
public long? HwDiskSize{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 硬盘容量描述
|
||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||
/// </summary>
|
||
[JsonProperty("HwDiskSizeDesc")]
|
||
public string HwDiskSizeDesc{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 内存容量
|
||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||
/// </summary>
|
||
[JsonProperty("HwMemSize")]
|
||
public long? HwMemSize{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 内存容量描述
|
||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||
/// </summary>
|
||
[JsonProperty("HwMemSizeDesc")]
|
||
public string HwMemSizeDesc{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 过期时间
|
||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||
/// </summary>
|
||
[JsonProperty("ExpireTime")]
|
||
public string ExpireTime{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 节点资源ID
|
||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||
/// </summary>
|
||
[JsonProperty("EmrResourceId")]
|
||
public string EmrResourceId{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 续费标志
|
||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||
/// </summary>
|
||
[JsonProperty("IsAutoRenew")]
|
||
public long? IsAutoRenew{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 设备标识
|
||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||
/// </summary>
|
||
[JsonProperty("DeviceClass")]
|
||
public string DeviceClass{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 支持变配
|
||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||
/// </summary>
|
||
[JsonProperty("Mutable")]
|
||
public long? Mutable{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 多云盘
|
||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||
/// </summary>
|
||
[JsonProperty("MCMultiDisk")]
|
||
public MultiDiskMC[] MCMultiDisk{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 数据库信息
|
||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||
/// </summary>
|
||
[JsonProperty("CdbNodeInfo")]
|
||
public CdbInfo CdbNodeInfo{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 内网IP
|
||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||
/// </summary>
|
||
[JsonProperty("Ip")]
|
||
public string Ip{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 此节点是否可销毁,1可销毁,0不可销毁
|
||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||
/// </summary>
|
||
[JsonProperty("Destroyable")]
|
||
public long? Destroyable{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 节点绑定的标签
|
||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||
/// </summary>
|
||
[JsonProperty("Tags")]
|
||
public Tag[] Tags{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 是否是自动扩缩容节点,0为普通节点,1为自动扩缩容节点。
|
||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||
/// </summary>
|
||
[JsonProperty("AutoFlag")]
|
||
public long? AutoFlag{ 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 + "AppId", this.AppId);
|
||
this.SetParamSimple(map, prefix + "SerialNo", this.SerialNo);
|
||
this.SetParamSimple(map, prefix + "OrderNo", this.OrderNo);
|
||
this.SetParamSimple(map, prefix + "WanIp", this.WanIp);
|
||
this.SetParamSimple(map, prefix + "Flag", this.Flag);
|
||
this.SetParamSimple(map, prefix + "Spec", this.Spec);
|
||
this.SetParamSimple(map, prefix + "CpuNum", this.CpuNum);
|
||
this.SetParamSimple(map, prefix + "MemSize", this.MemSize);
|
||
this.SetParamSimple(map, prefix + "MemDesc", this.MemDesc);
|
||
this.SetParamSimple(map, prefix + "RegionId", this.RegionId);
|
||
this.SetParamSimple(map, prefix + "ZoneId", this.ZoneId);
|
||
this.SetParamSimple(map, prefix + "ApplyTime", this.ApplyTime);
|
||
this.SetParamSimple(map, prefix + "FreeTime", this.FreeTime);
|
||
this.SetParamSimple(map, prefix + "DiskSize", this.DiskSize);
|
||
this.SetParamSimple(map, prefix + "NameTag", this.NameTag);
|
||
this.SetParamSimple(map, prefix + "Services", this.Services);
|
||
this.SetParamSimple(map, prefix + "StorageType", this.StorageType);
|
||
this.SetParamSimple(map, prefix + "RootSize", this.RootSize);
|
||
this.SetParamSimple(map, prefix + "ChargeType", this.ChargeType);
|
||
this.SetParamSimple(map, prefix + "CdbIp", this.CdbIp);
|
||
this.SetParamSimple(map, prefix + "CdbPort", this.CdbPort);
|
||
this.SetParamSimple(map, prefix + "HwDiskSize", this.HwDiskSize);
|
||
this.SetParamSimple(map, prefix + "HwDiskSizeDesc", this.HwDiskSizeDesc);
|
||
this.SetParamSimple(map, prefix + "HwMemSize", this.HwMemSize);
|
||
this.SetParamSimple(map, prefix + "HwMemSizeDesc", this.HwMemSizeDesc);
|
||
this.SetParamSimple(map, prefix + "ExpireTime", this.ExpireTime);
|
||
this.SetParamSimple(map, prefix + "EmrResourceId", this.EmrResourceId);
|
||
this.SetParamSimple(map, prefix + "IsAutoRenew", this.IsAutoRenew);
|
||
this.SetParamSimple(map, prefix + "DeviceClass", this.DeviceClass);
|
||
this.SetParamSimple(map, prefix + "Mutable", this.Mutable);
|
||
this.SetParamArrayObj(map, prefix + "MCMultiDisk.", this.MCMultiDisk);
|
||
this.SetParamObj(map, prefix + "CdbNodeInfo.", this.CdbNodeInfo);
|
||
this.SetParamSimple(map, prefix + "Ip", this.Ip);
|
||
this.SetParamSimple(map, prefix + "Destroyable", this.Destroyable);
|
||
this.SetParamArrayObj(map, prefix + "Tags.", this.Tags);
|
||
this.SetParamSimple(map, prefix + "AutoFlag", this.AutoFlag);
|
||
}
|
||
}
|
||
}
|
||
|