/* * 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.Mongodb.V20180408.Models { using Newtonsoft.Json; using System.Collections.Generic; using TencentCloud.Common; public class SpecItem : AbstractModel { /// /// 规格信息标识 /// [JsonProperty("SpecCode")] public string SpecCode{ get; set; } /// /// 规格有效标志,取值:0-停止售卖,1-开放售卖 /// [JsonProperty("Status")] public ulong? Status{ get; set; } /// /// 机器类型,取值:0-HIO,4-HIO10G /// [JsonProperty("MachineType")] public string MachineType{ get; set; } /// /// cpu核心数 /// [JsonProperty("Cpu")] public ulong? Cpu{ get; set; } /// /// 内存规格,单位为MB /// [JsonProperty("Memory")] public ulong? Memory{ get; set; } /// /// 默认磁盘规格,单位MB /// [JsonProperty("DefaultStorage")] public ulong? DefaultStorage{ get; set; } /// /// 最大磁盘规格,单位MB /// [JsonProperty("MaxStorage")] public ulong? MaxStorage{ get; set; } /// /// 最小磁盘规格,单位MB /// [JsonProperty("MinStorage")] public ulong? MinStorage{ get; set; } /// /// 可承载qps信息 /// [JsonProperty("Qps")] public ulong? Qps{ get; set; } /// /// 连接数限制 /// [JsonProperty("Conns")] public ulong? Conns{ get; set; } /// /// 实例mongodb版本信息 /// [JsonProperty("MongoVersionCode")] public string MongoVersionCode{ get; set; } /// /// 实例mongodb版本号 /// [JsonProperty("MongoVersionValue")] public ulong? MongoVersionValue{ get; set; } /// /// 实例mongodb版本号(短) /// [JsonProperty("Version")] public string Version{ get; set; } /// /// 存储引擎 /// [JsonProperty("EngineName")] public string EngineName{ get; set; } /// /// 集群类型,取值:1-分片集群,0-副本集集群 /// [JsonProperty("ClusterType")] public ulong? ClusterType{ get; set; } /// /// 最小副本集从节点数 /// [JsonProperty("MinNodeNum")] public ulong? MinNodeNum{ get; set; } /// /// 最大副本集从节点数 /// [JsonProperty("MaxNodeNum")] public ulong? MaxNodeNum{ get; set; } /// /// 最小分片数 /// [JsonProperty("MinReplicateSetNum")] public ulong? MinReplicateSetNum{ get; set; } /// /// 最大分片数 /// [JsonProperty("MaxReplicateSetNum")] public ulong? MaxReplicateSetNum{ get; set; } /// /// 最小分片从节点数 /// [JsonProperty("MinReplicateSetNodeNum")] public ulong? MinReplicateSetNodeNum{ get; set; } /// /// 最大分片从节点数 /// [JsonProperty("MaxReplicateSetNodeNum")] public ulong? MaxReplicateSetNodeNum{ get; set; } /// /// For internal usage only. DO NOT USE IT. /// internal override void ToMap(Dictionary map, string prefix) { this.SetParamSimple(map, prefix + "SpecCode", this.SpecCode); this.SetParamSimple(map, prefix + "Status", this.Status); this.SetParamSimple(map, prefix + "MachineType", this.MachineType); this.SetParamSimple(map, prefix + "Cpu", this.Cpu); this.SetParamSimple(map, prefix + "Memory", this.Memory); this.SetParamSimple(map, prefix + "DefaultStorage", this.DefaultStorage); 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 + "Conns", this.Conns); this.SetParamSimple(map, prefix + "MongoVersionCode", this.MongoVersionCode); this.SetParamSimple(map, prefix + "MongoVersionValue", this.MongoVersionValue); this.SetParamSimple(map, prefix + "Version", this.Version); this.SetParamSimple(map, prefix + "EngineName", this.EngineName); this.SetParamSimple(map, prefix + "ClusterType", this.ClusterType); this.SetParamSimple(map, prefix + "MinNodeNum", this.MinNodeNum); this.SetParamSimple(map, prefix + "MaxNodeNum", this.MaxNodeNum); this.SetParamSimple(map, prefix + "MinReplicateSetNum", this.MinReplicateSetNum); this.SetParamSimple(map, prefix + "MaxReplicateSetNum", this.MaxReplicateSetNum); this.SetParamSimple(map, prefix + "MinReplicateSetNodeNum", this.MinReplicateSetNodeNum); this.SetParamSimple(map, prefix + "MaxReplicateSetNodeNum", this.MaxReplicateSetNodeNum); } } }