/* * 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 DescribeDeviceClassPartitionRequest : AbstractModel { /// /// 设备类型代号。代号通过接口[查询设备型号(DescribeDeviceClass)](https://cloud.tencent.com/document/api/386/32911)查询。标准机型需要传入此参数。虽是可选参数,但DeviceClassCode和InstanceId参数,必须要填写一个。 /// [JsonProperty("DeviceClassCode")] public string DeviceClassCode{ get; set; } /// /// 需要查询自定义机型RAID信息时,传入自定义机型实例ID。InstanceId存在时其余参数失效。 /// [JsonProperty("InstanceId")] public string InstanceId{ 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 + "DeviceClassCode", this.DeviceClassCode); this.SetParamSimple(map, prefix + "InstanceId", this.InstanceId); 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); } } }