/*
* 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.Dcdb.V20180411.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class SpecConfigInfo : AbstractModel
{
///
/// 节点个数,2 表示一主一从,3 表示一主二从
///
[JsonProperty("NodeCount")]
public ulong? NodeCount{ get; set; }
///
/// 内存大小,单位 GB
///
[JsonProperty("Memory")]
public long? Memory{ get; set; }
///
/// 数据盘规格最小值,单位 GB
///
[JsonProperty("MinStorage")]
public long? MinStorage{ get; set; }
///
/// 数据盘规格最大值,单位 GB
///
[JsonProperty("MaxStorage")]
public long? MaxStorage{ get; set; }
///
/// 推荐的使用场景
///
[JsonProperty("SuitInfo")]
public string SuitInfo{ get; set; }
///
/// 产品类型 Id
///
[JsonProperty("Pid")]
public long? Pid{ get; set; }
///
/// 最大 Qps 值
///
[JsonProperty("Qps")]
public long? Qps{ get; set; }
///
/// CPU核数
///
[JsonProperty("Cpu")]
public long? Cpu{ get; set; }
///
/// For internal usage only. DO NOT USE IT.
///
internal override void ToMap(Dictionary map, string prefix)
{
this.SetParamSimple(map, prefix + "NodeCount", this.NodeCount);
this.SetParamSimple(map, prefix + "Memory", this.Memory);
this.SetParamSimple(map, prefix + "MinStorage", this.MinStorage);
this.SetParamSimple(map, prefix + "MaxStorage", this.MaxStorage);
this.SetParamSimple(map, prefix + "SuitInfo", this.SuitInfo);
this.SetParamSimple(map, prefix + "Pid", this.Pid);
this.SetParamSimple(map, prefix + "Qps", this.Qps);
this.SetParamSimple(map, prefix + "Cpu", this.Cpu);
}
}
}