/*
* 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 DescribeDeviceInventoryRequest : AbstractModel
{
///
/// 可用区
///
[JsonProperty("Zone")]
public string Zone{ get; set; }
///
/// 设备型号
///
[JsonProperty("DeviceClassCode")]
public string DeviceClassCode{ get; set; }
///
/// 私有网络ID
///
[JsonProperty("VpcId")]
public string VpcId{ get; set; }
///
/// 子网ID
///
[JsonProperty("SubnetId")]
public string SubnetId{ get; set; }
///
/// CPU型号ID,查询自定义机型时必填
///
[JsonProperty("CpuId")]
public ulong? CpuId{ get; set; }
///
/// 内存大小,单位为G,查询自定义机型时必填
///
[JsonProperty("MemSize")]
public ulong? MemSize{ get; set; }
///
/// 是否有RAID卡,取值:1(有) 0(无),查询自定义机型时必填
///
[JsonProperty("ContainRaidCard")]
public ulong? ContainRaidCard{ get; set; }
///
/// 系统盘类型ID,查询自定义机型时必填
///
[JsonProperty("SystemDiskTypeId")]
public ulong? SystemDiskTypeId{ get; set; }
///
/// 系统盘数量,查询自定义机型时必填
///
[JsonProperty("SystemDiskCount")]
public ulong? SystemDiskCount{ get; set; }
///
/// 数据盘类型ID,查询自定义机型时可填
///
[JsonProperty("DataDiskTypeId")]
public ulong? DataDiskTypeId{ get; set; }
///
/// 数据盘数量,查询自定义机型时可填
///
[JsonProperty("DataDiskCount")]
public ulong? DataDiskCount{ get; set; }
///
/// For internal usage only. DO NOT USE IT.
///
internal override void ToMap(Dictionary map, string prefix)
{
this.SetParamSimple(map, prefix + "Zone", this.Zone);
this.SetParamSimple(map, prefix + "DeviceClassCode", this.DeviceClassCode);
this.SetParamSimple(map, prefix + "VpcId", this.VpcId);
this.SetParamSimple(map, prefix + "SubnetId", this.SubnetId);
this.SetParamSimple(map, prefix + "CpuId", this.CpuId);
this.SetParamSimple(map, prefix + "MemSize", this.MemSize);
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);
}
}
}