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

128 lines
4.3 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.Redis.V20180412.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class ProductConf : AbstractModel
{
/// <summary>
/// 产品类型2-Redis主从版3-CKV主从版4-CKV集群版5-Redis单机版7-Redis集群版
/// </summary>
[JsonProperty("Type")]
public long? Type{ get; set; }
/// <summary>
/// 产品名称Redis主从版CKV主从版CKV集群版Redis单机版Redis集群版
/// </summary>
[JsonProperty("TypeName")]
public string TypeName{ get; set; }
/// <summary>
/// 购买时的最小数量
/// </summary>
[JsonProperty("MinBuyNum")]
public long? MinBuyNum{ get; set; }
/// <summary>
/// 购买时的最大数量
/// </summary>
[JsonProperty("MaxBuyNum")]
public long? MaxBuyNum{ get; set; }
/// <summary>
/// 产品是否售罄
/// </summary>
[JsonProperty("Saleout")]
public bool? Saleout{ get; set; }
/// <summary>
/// 产品引擎腾讯云CKV或者社区版Redis
/// </summary>
[JsonProperty("Engine")]
public string Engine{ get; set; }
/// <summary>
/// 兼容版本Redis-2.8Redis-3.2Redis-4.0
/// </summary>
[JsonProperty("Version")]
public string Version{ get; set; }
/// <summary>
/// 规格总大小单位G
/// </summary>
[JsonProperty("TotalSize")]
public string[] TotalSize{ get; set; }
/// <summary>
/// 每个分片大小单位G
/// </summary>
[JsonProperty("ShardSize")]
public string[] ShardSize{ get; set; }
/// <summary>
/// 副本数量
/// </summary>
[JsonProperty("ReplicaNum")]
public string[] ReplicaNum{ get; set; }
/// <summary>
/// 分片数量
/// </summary>
[JsonProperty("ShardNum")]
public string[] ShardNum{ get; set; }
/// <summary>
/// 支持的计费模式1-包年包月0-按量计费
/// </summary>
[JsonProperty("PayMode")]
public string PayMode{ get; set; }
/// <summary>
/// 是否支持副本只读
/// </summary>
[JsonProperty("EnableRepicaReadOnly")]
public bool? EnableRepicaReadOnly{ 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 + "Type", this.Type);
this.SetParamSimple(map, prefix + "TypeName", this.TypeName);
this.SetParamSimple(map, prefix + "MinBuyNum", this.MinBuyNum);
this.SetParamSimple(map, prefix + "MaxBuyNum", this.MaxBuyNum);
this.SetParamSimple(map, prefix + "Saleout", this.Saleout);
this.SetParamSimple(map, prefix + "Engine", this.Engine);
this.SetParamSimple(map, prefix + "Version", this.Version);
this.SetParamArraySimple(map, prefix + "TotalSize.", this.TotalSize);
this.SetParamArraySimple(map, prefix + "ShardSize.", this.ShardSize);
this.SetParamArraySimple(map, prefix + "ReplicaNum.", this.ReplicaNum);
this.SetParamArraySimple(map, prefix + "ShardNum.", this.ShardNum);
this.SetParamSimple(map, prefix + "PayMode", this.PayMode);
this.SetParamSimple(map, prefix + "EnableRepicaReadOnly", this.EnableRepicaReadOnly);
}
}
}