93 lines
2.9 KiB
C#
93 lines
2.9 KiB
C#
/*
|
||
* 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
|
||
{
|
||
|
||
/// <summary>
|
||
/// 节点个数,2 表示一主一从,3 表示一主二从
|
||
/// </summary>
|
||
[JsonProperty("NodeCount")]
|
||
public ulong? NodeCount{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 内存大小,单位 GB
|
||
/// </summary>
|
||
[JsonProperty("Memory")]
|
||
public long? Memory{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 数据盘规格最小值,单位 GB
|
||
/// </summary>
|
||
[JsonProperty("MinStorage")]
|
||
public long? MinStorage{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 数据盘规格最大值,单位 GB
|
||
/// </summary>
|
||
[JsonProperty("MaxStorage")]
|
||
public long? MaxStorage{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 推荐的使用场景
|
||
/// </summary>
|
||
[JsonProperty("SuitInfo")]
|
||
public string SuitInfo{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 产品类型 Id
|
||
/// </summary>
|
||
[JsonProperty("Pid")]
|
||
public long? Pid{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 最大 Qps 值
|
||
/// </summary>
|
||
[JsonProperty("Qps")]
|
||
public long? Qps{ get; set; }
|
||
|
||
/// <summary>
|
||
/// CPU核数
|
||
/// </summary>
|
||
[JsonProperty("Cpu")]
|
||
public long? Cpu{ get; set; }
|
||
|
||
|
||
/// <summary>
|
||
/// For internal usage only. DO NOT USE IT.
|
||
/// </summary>
|
||
internal override void ToMap(Dictionary<string, string> 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);
|
||
}
|
||
}
|
||
}
|
||
|