Files

107 lines
3.3 KiB
C#
Raw Permalink Normal View History

/*
* 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.Postgres.V20170312.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class SpecItemInfo : AbstractModel
{
/// <summary>
/// 规格ID
/// </summary>
[JsonProperty("SpecCode")]
public string SpecCode{ get; set; }
/// <summary>
/// PostgreSQL的内核版本编号
/// </summary>
[JsonProperty("Version")]
public string Version{ get; set; }
/// <summary>
/// 内核编号对应的完整版本名称
/// </summary>
[JsonProperty("VersionName")]
public string VersionName{ get; set; }
/// <summary>
/// CPU核数
/// </summary>
[JsonProperty("Cpu")]
public ulong? Cpu{ get; set; }
/// <summary>
/// 内存大小单位MB
/// </summary>
[JsonProperty("Memory")]
public ulong? Memory{ get; set; }
/// <summary>
/// 该规格所支持最大存储容量单位GB
/// </summary>
[JsonProperty("MaxStorage")]
public ulong? MaxStorage{ get; set; }
/// <summary>
/// 该规格所支持最小存储容量单位GB
/// </summary>
[JsonProperty("MinStorage")]
public ulong? MinStorage{ get; set; }
/// <summary>
/// 该规格的预估QPS
/// </summary>
[JsonProperty("Qps")]
public ulong? Qps{ get; set; }
/// <summary>
/// 该规格对应的计费ID
/// </summary>
[JsonProperty("Pid")]
public ulong? Pid{ get; set; }
/// <summary>
/// 机器类型
/// </summary>
[JsonProperty("Type")]
public string Type{ 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 + "SpecCode", this.SpecCode);
this.SetParamSimple(map, prefix + "Version", this.Version);
this.SetParamSimple(map, prefix + "VersionName", this.VersionName);
this.SetParamSimple(map, prefix + "Cpu", this.Cpu);
this.SetParamSimple(map, prefix + "Memory", this.Memory);
this.SetParamSimple(map, prefix + "MaxStorage", this.MaxStorage);
this.SetParamSimple(map, prefix + "MinStorage", this.MinStorage);
this.SetParamSimple(map, prefix + "Qps", this.Qps);
this.SetParamSimple(map, prefix + "Pid", this.Pid);
this.SetParamSimple(map, prefix + "Type", this.Type);
}
}
}