Files
g.hnyhua.cn/TencentCloud/Mongodb/V20190725/Models/InquirePriceCreateDBInstancesRequest.cs
2026-02-07 15:48:27 +08:00

107 lines
4.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.V20190725.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class InquirePriceCreateDBInstancesRequest : AbstractModel
{
/// <summary>
/// 实例所属区域名称格式如ap-guangzhou-2
/// </summary>
[JsonProperty("Zone")]
public string Zone{ get; set; }
/// <summary>
/// 每个副本集内节点个数当前副本集节点数固定为3分片从节点数可选具体参照查询云数据库的售卖规格返回参数
/// </summary>
[JsonProperty("NodeNum")]
public long? NodeNum{ get; set; }
/// <summary>
/// 实例内存大小单位GB
/// </summary>
[JsonProperty("Memory")]
public long? Memory{ get; set; }
/// <summary>
/// 实例硬盘大小单位GB
/// </summary>
[JsonProperty("Volume")]
public long? Volume{ get; set; }
/// <summary>
/// 版本号具体支持的售卖版本请参照查询云数据库的售卖规格DescribeSpecInfo返回结果。参数与版本对应关系是MONGO_3_WTMongoDB 3.2 WiredTiger存储引擎版本MONGO_3_ROCKSMongoDB 3.2 RocksDB存储引擎版本MONGO_36_WTMongoDB 3.6 WiredTiger存储引擎版本MONGO_40_WTMongoDB 4.0 WiredTiger存储引擎版本
/// </summary>
[JsonProperty("MongoVersion")]
public string MongoVersion{ get; set; }
/// <summary>
/// 机器类型HIO高IO型HIO10G高IO万兆型STDS5标准型
/// </summary>
[JsonProperty("MachineCode")]
public string MachineCode{ get; set; }
/// <summary>
/// 实例数量, 最小值1最大值为10
/// </summary>
[JsonProperty("GoodsNum")]
public long? GoodsNum{ get; set; }
/// <summary>
/// 实例时长,单位:月,可选值包括[1,2,3,4,5,6,7,8,9,10,11,12,24,36]
/// </summary>
[JsonProperty("Period")]
public long? Period{ get; set; }
/// <summary>
/// 实例类型REPLSET-副本集SHARD-分片集群STANDALONE-单节点
/// </summary>
[JsonProperty("ClusterType")]
public string ClusterType{ get; set; }
/// <summary>
/// 副本集个数创建副本集实例时该参数必须设置为1创建分片实例时具体参照查询云数据库的售卖规格返回参数若为单节点实例该参数设置为0
/// </summary>
[JsonProperty("ReplicateSetNum")]
public long? ReplicateSetNum{ 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 + "Zone", this.Zone);
this.SetParamSimple(map, prefix + "NodeNum", this.NodeNum);
this.SetParamSimple(map, prefix + "Memory", this.Memory);
this.SetParamSimple(map, prefix + "Volume", this.Volume);
this.SetParamSimple(map, prefix + "MongoVersion", this.MongoVersion);
this.SetParamSimple(map, prefix + "MachineCode", this.MachineCode);
this.SetParamSimple(map, prefix + "GoodsNum", this.GoodsNum);
this.SetParamSimple(map, prefix + "Period", this.Period);
this.SetParamSimple(map, prefix + "ClusterType", this.ClusterType);
this.SetParamSimple(map, prefix + "ReplicateSetNum", this.ReplicateSetNum);
}
}
}