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