/*
* 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.Bm.V20180423.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DeviceHardwareInfo : AbstractModel
{
///
/// 设备实例 ID
///
[JsonProperty("InstanceId")]
public string InstanceId{ get; set; }
///
/// 是否自定义机型
///
[JsonProperty("IsElastic")]
public ulong? IsElastic{ get; set; }
///
/// 机型计费模式,1 为预付费,2 为后付费
///
[JsonProperty("CpmPayMode")]
public ulong? CpmPayMode{ get; set; }
///
/// 自定义机型,CPU 型号 ID(非自定义机型返回0)
///
[JsonProperty("CpuId")]
public ulong? CpuId{ get; set; }
///
/// 自定义机型,内存大小, 单位 GB(非自定义机型返回0)
///
[JsonProperty("Mem")]
public ulong? Mem{ get; set; }
///
/// 是否有 RAID 卡,0:没有 RAID 卡; 1:有 RAID 卡
///
[JsonProperty("ContainRaidCard")]
public ulong? ContainRaidCard{ get; set; }
///
/// 自定义机型系统盘类型ID(若没有则返回0)
///
[JsonProperty("SystemDiskTypeId")]
public ulong? SystemDiskTypeId{ get; set; }
///
/// 自定义机型系统盘数量(若没有则返回0)
///
[JsonProperty("SystemDiskCount")]
public ulong? SystemDiskCount{ get; set; }
///
/// 自定义机型数据盘类型 ID(若没有则返回0)
///
[JsonProperty("DataDiskTypeId")]
public ulong? DataDiskTypeId{ get; set; }
///
/// 自定义机型数据盘数量(若没有则返回0)
///
[JsonProperty("DataDiskCount")]
public ulong? DataDiskCount{ get; set; }
///
/// CPU 型号描述
///
[JsonProperty("CpuDescription")]
public string CpuDescription{ get; set; }
///
/// 内存描述
///
[JsonProperty("MemDescription")]
public string MemDescription{ get; set; }
///
/// 磁盘描述
///
[JsonProperty("DiskDescription")]
public string DiskDescription{ get; set; }
///
/// 网卡描述
///
[JsonProperty("NicDescription")]
public string NicDescription{ get; set; }
///
/// 是否支持 RAID 的描述
///
[JsonProperty("RaidDescription")]
public string RaidDescription{ get; set; }
///
/// cpu的核心数。仅是物理服务器未开启超线程的核心数, 超线程的核心数为Cpu*2
///
[JsonProperty("Cpu")]
public ulong? Cpu{ get; set; }
///
/// For internal usage only. DO NOT USE IT.
///
internal override void ToMap(Dictionary map, string prefix)
{
this.SetParamSimple(map, prefix + "InstanceId", this.InstanceId);
this.SetParamSimple(map, prefix + "IsElastic", this.IsElastic);
this.SetParamSimple(map, prefix + "CpmPayMode", this.CpmPayMode);
this.SetParamSimple(map, prefix + "CpuId", this.CpuId);
this.SetParamSimple(map, prefix + "Mem", this.Mem);
this.SetParamSimple(map, prefix + "ContainRaidCard", this.ContainRaidCard);
this.SetParamSimple(map, prefix + "SystemDiskTypeId", this.SystemDiskTypeId);
this.SetParamSimple(map, prefix + "SystemDiskCount", this.SystemDiskCount);
this.SetParamSimple(map, prefix + "DataDiskTypeId", this.DataDiskTypeId);
this.SetParamSimple(map, prefix + "DataDiskCount", this.DataDiskCount);
this.SetParamSimple(map, prefix + "CpuDescription", this.CpuDescription);
this.SetParamSimple(map, prefix + "MemDescription", this.MemDescription);
this.SetParamSimple(map, prefix + "DiskDescription", this.DiskDescription);
this.SetParamSimple(map, prefix + "NicDescription", this.NicDescription);
this.SetParamSimple(map, prefix + "RaidDescription", this.RaidDescription);
this.SetParamSimple(map, prefix + "Cpu", this.Cpu);
}
}
}