/*
* 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 DeviceClassPartitionInfo : AbstractModel
{
///
/// RAID类型ID
///
[JsonProperty("RaidId")]
public ulong? RaidId{ get; set; }
///
/// RAID名称
///
[JsonProperty("Raid")]
public string Raid{ get; set; }
///
/// RAID名称(前台展示用)
///
[JsonProperty("RaidDisplay")]
public string RaidDisplay{ get; set; }
///
/// 系统盘总大小(单位GiB)
///
[JsonProperty("SystemDiskSize")]
public ulong? SystemDiskSize{ get; set; }
///
/// 系统盘/分区默认大小(单位GiB)
///
[JsonProperty("SysRootSpace")]
public ulong? SysRootSpace{ get; set; }
///
/// 系统盘swap分区默认大小(单位GiB)
///
[JsonProperty("SysSwaporuefiSpace")]
public ulong? SysSwaporuefiSpace{ get; set; }
///
/// 系统盘/usr/local分区默认大小(单位GiB)
///
[JsonProperty("SysUsrlocalSpace")]
public ulong? SysUsrlocalSpace{ get; set; }
///
/// 系统盘/data分区默认大小(单位GiB)
///
[JsonProperty("SysDataSpace")]
public ulong? SysDataSpace{ get; set; }
///
/// 设备是否是uefi启动方式。0:legacy启动; 1:uefi启动
///
[JsonProperty("SysIsUefiType")]
public ulong? SysIsUefiType{ get; set; }
///
/// 数据盘总大小
///
[JsonProperty("DataDiskSize")]
public ulong? DataDiskSize{ get; set; }
///
/// 硬盘列表
///
[JsonProperty("DeviceDiskSizeInfoSet")]
public DeviceDiskSizeInfo[] DeviceDiskSizeInfoSet{ get; set; }
///
/// For internal usage only. DO NOT USE IT.
///
internal override void ToMap(Dictionary map, string prefix)
{
this.SetParamSimple(map, prefix + "RaidId", this.RaidId);
this.SetParamSimple(map, prefix + "Raid", this.Raid);
this.SetParamSimple(map, prefix + "RaidDisplay", this.RaidDisplay);
this.SetParamSimple(map, prefix + "SystemDiskSize", this.SystemDiskSize);
this.SetParamSimple(map, prefix + "SysRootSpace", this.SysRootSpace);
this.SetParamSimple(map, prefix + "SysSwaporuefiSpace", this.SysSwaporuefiSpace);
this.SetParamSimple(map, prefix + "SysUsrlocalSpace", this.SysUsrlocalSpace);
this.SetParamSimple(map, prefix + "SysDataSpace", this.SysDataSpace);
this.SetParamSimple(map, prefix + "SysIsUefiType", this.SysIsUefiType);
this.SetParamSimple(map, prefix + "DataDiskSize", this.DataDiskSize);
this.SetParamArrayObj(map, prefix + "DeviceDiskSizeInfoSet.", this.DeviceDiskSizeInfoSet);
}
}
}