Files
2026-02-07 15:48:27 +08:00

184 lines
6.2 KiB
C#
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
/*
* 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
{
/// <summary>
/// 规格信息标识
/// </summary>
[JsonProperty("SpecCode")]
public string SpecCode{ get; set; }
/// <summary>
/// 规格有效标志取值0-停止售卖1-开放售卖
/// </summary>
[JsonProperty("Status")]
public ulong? Status{ get; set; }
/// <summary>
/// 机器类型取值0-HIO4-HIO10G
/// </summary>
[JsonProperty("MachineType")]
public string MachineType{ get; set; }
/// <summary>
/// cpu核心数
/// </summary>
[JsonProperty("Cpu")]
public ulong? Cpu{ get; set; }
/// <summary>
/// 内存规格单位为MB
/// </summary>
[JsonProperty("Memory")]
public ulong? Memory{ get; set; }
/// <summary>
/// 默认磁盘规格单位MB
/// </summary>
[JsonProperty("DefaultStorage")]
public ulong? DefaultStorage{ get; set; }
/// <summary>
/// 最大磁盘规格单位MB
/// </summary>
[JsonProperty("MaxStorage")]
public ulong? MaxStorage{ get; set; }
/// <summary>
/// 最小磁盘规格单位MB
/// </summary>
[JsonProperty("MinStorage")]
public ulong? MinStorage{ get; set; }
/// <summary>
/// 可承载qps信息
/// </summary>
[JsonProperty("Qps")]
public ulong? Qps{ get; set; }
/// <summary>
/// 连接数限制
/// </summary>
[JsonProperty("Conns")]
public ulong? Conns{ get; set; }
/// <summary>
/// 实例mongodb版本信息
/// </summary>
[JsonProperty("MongoVersionCode")]
public string MongoVersionCode{ get; set; }
/// <summary>
/// 实例mongodb版本号
/// </summary>
[JsonProperty("MongoVersionValue")]
public ulong? MongoVersionValue{ get; set; }
/// <summary>
/// 实例mongodb版本号
/// </summary>
[JsonProperty("Version")]
public string Version{ get; set; }
/// <summary>
/// 存储引擎
/// </summary>
[JsonProperty("EngineName")]
public string EngineName{ get; set; }
/// <summary>
/// 集群类型取值1-分片集群0-副本集集群
/// </summary>
[JsonProperty("ClusterType")]
public ulong? ClusterType{ get; set; }
/// <summary>
/// 最小副本集从节点数
/// </summary>
[JsonProperty("MinNodeNum")]
public ulong? MinNodeNum{ get; set; }
/// <summary>
/// 最大副本集从节点数
/// </summary>
[JsonProperty("MaxNodeNum")]
public ulong? MaxNodeNum{ get; set; }
/// <summary>
/// 最小分片数
/// </summary>
[JsonProperty("MinReplicateSetNum")]
public ulong? MinReplicateSetNum{ get; set; }
/// <summary>
/// 最大分片数
/// </summary>
[JsonProperty("MaxReplicateSetNum")]
public ulong? MaxReplicateSetNum{ get; set; }
/// <summary>
/// 最小分片从节点数
/// </summary>
[JsonProperty("MinReplicateSetNodeNum")]
public ulong? MinReplicateSetNodeNum{ get; set; }
/// <summary>
/// 最大分片从节点数
/// </summary>
[JsonProperty("MaxReplicateSetNodeNum")]
public ulong? MaxReplicateSetNodeNum{ 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 + "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);
}
}
}