Files
g.hnyhua.cn/TencentCloud/Dcdb/V20180411/Models/DCDBInstanceInfo.cs
2026-02-07 15:48:27 +08:00

311 lines
10 KiB
C#
Raw 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.Dcdb.V20180411.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DCDBInstanceInfo : AbstractModel
{
/// <summary>
/// 实例ID
/// </summary>
[JsonProperty("InstanceId")]
public string InstanceId{ get; set; }
/// <summary>
/// 实例名称
/// </summary>
[JsonProperty("InstanceName")]
public string InstanceName{ get; set; }
/// <summary>
/// AppID
/// </summary>
[JsonProperty("AppId")]
public long? AppId{ get; set; }
/// <summary>
/// 项目ID
/// </summary>
[JsonProperty("ProjectId")]
public long? ProjectId{ get; set; }
/// <summary>
/// 地域
/// </summary>
[JsonProperty("Region")]
public string Region{ get; set; }
/// <summary>
/// 可用区
/// </summary>
[JsonProperty("Zone")]
public string Zone{ get; set; }
/// <summary>
/// VPC数字ID
/// </summary>
[JsonProperty("VpcId")]
public long? VpcId{ get; set; }
/// <summary>
/// Subnet数字ID
/// </summary>
[JsonProperty("SubnetId")]
public long? SubnetId{ get; set; }
/// <summary>
/// 状态中文描述
/// </summary>
[JsonProperty("StatusDesc")]
public string StatusDesc{ get; set; }
/// <summary>
/// 状态
/// </summary>
[JsonProperty("Status")]
public long? Status{ get; set; }
/// <summary>
/// 内网IP
/// </summary>
[JsonProperty("Vip")]
public string Vip{ get; set; }
/// <summary>
/// 内网端口
/// </summary>
[JsonProperty("Vport")]
public long? Vport{ get; set; }
/// <summary>
/// 创建时间
/// </summary>
[JsonProperty("CreateTime")]
public string CreateTime{ get; set; }
/// <summary>
/// 自动续费标志
/// </summary>
[JsonProperty("AutoRenewFlag")]
public long? AutoRenewFlag{ get; set; }
/// <summary>
/// 内存大小,单位 GB
/// </summary>
[JsonProperty("Memory")]
public long? Memory{ get; set; }
/// <summary>
/// 存储大小,单位 GB
/// </summary>
[JsonProperty("Storage")]
public long? Storage{ get; set; }
/// <summary>
/// 分片个数
/// </summary>
[JsonProperty("ShardCount")]
public long? ShardCount{ get; set; }
/// <summary>
/// 到期时间
/// </summary>
[JsonProperty("PeriodEndTime")]
public string PeriodEndTime{ get; set; }
/// <summary>
/// 隔离时间
/// </summary>
[JsonProperty("IsolatedTimestamp")]
public string IsolatedTimestamp{ get; set; }
/// <summary>
/// UIN
/// </summary>
[JsonProperty("Uin")]
public string Uin{ get; set; }
/// <summary>
/// 分片详情
/// </summary>
[JsonProperty("ShardDetail")]
public ShardInfo[] ShardDetail{ get; set; }
/// <summary>
/// 节点数2 为一主一从, 3 为一主二从
/// </summary>
[JsonProperty("NodeCount")]
public long? NodeCount{ get; set; }
/// <summary>
/// 临时实例标记0 为非临时实例
/// </summary>
[JsonProperty("IsTmp")]
public long? IsTmp{ get; set; }
/// <summary>
/// 独享集群ID为空表示非独享集群实例
/// </summary>
[JsonProperty("ExclusterId")]
public string ExclusterId{ get; set; }
/// <summary>
/// 字符串型的私有网络ID
/// </summary>
[JsonProperty("UniqueVpcId")]
public string UniqueVpcId{ get; set; }
/// <summary>
/// 字符串型的私有网络子网ID
/// </summary>
[JsonProperty("UniqueSubnetId")]
public string UniqueSubnetId{ get; set; }
/// <summary>
/// 数字实例ID过时字段请勿依赖该值
/// </summary>
[JsonProperty("Id")]
public ulong? Id{ get; set; }
/// <summary>
/// 外网访问的域名,公网可解析
/// </summary>
[JsonProperty("WanDomain")]
public string WanDomain{ get; set; }
/// <summary>
/// 外网 IP 地址,公网可访问
/// </summary>
[JsonProperty("WanVip")]
public string WanVip{ get; set; }
/// <summary>
/// 外网端口
/// </summary>
[JsonProperty("WanPort")]
public long? WanPort{ get; set; }
/// <summary>
/// 产品类型 ID过时字段请勿依赖该值
/// </summary>
[JsonProperty("Pid")]
public long? Pid{ get; set; }
/// <summary>
/// 实例最后更新时间,格式为 2006-01-02 15:04:05
/// </summary>
[JsonProperty("UpdateTime")]
public string UpdateTime{ get; set; }
/// <summary>
/// 数据库引擎
/// </summary>
[JsonProperty("DbEngine")]
public string DbEngine{ get; set; }
/// <summary>
/// 数据库引擎版本
/// </summary>
[JsonProperty("DbVersion")]
public string DbVersion{ get; set; }
/// <summary>
/// 付费模式
/// </summary>
[JsonProperty("Paymode")]
public string Paymode{ get; set; }
/// <summary>
/// 实例处于异步任务状态时表示异步任务流程ID
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("Locker")]
public long? Locker{ get; set; }
/// <summary>
/// 外网状态0-未开通1-已开通2-关闭3-开通中
/// </summary>
[JsonProperty("WanStatus")]
public long? WanStatus{ get; set; }
/// <summary>
/// 该实例是否支持审计。1-支持0-不支持
/// </summary>
[JsonProperty("IsAuditSupported")]
public ulong? IsAuditSupported{ get; set; }
/// <summary>
/// Cpu核数
/// </summary>
[JsonProperty("Cpu")]
public ulong? Cpu{ 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 + "InstanceId", this.InstanceId);
this.SetParamSimple(map, prefix + "InstanceName", this.InstanceName);
this.SetParamSimple(map, prefix + "AppId", this.AppId);
this.SetParamSimple(map, prefix + "ProjectId", this.ProjectId);
this.SetParamSimple(map, prefix + "Region", this.Region);
this.SetParamSimple(map, prefix + "Zone", this.Zone);
this.SetParamSimple(map, prefix + "VpcId", this.VpcId);
this.SetParamSimple(map, prefix + "SubnetId", this.SubnetId);
this.SetParamSimple(map, prefix + "StatusDesc", this.StatusDesc);
this.SetParamSimple(map, prefix + "Status", this.Status);
this.SetParamSimple(map, prefix + "Vip", this.Vip);
this.SetParamSimple(map, prefix + "Vport", this.Vport);
this.SetParamSimple(map, prefix + "CreateTime", this.CreateTime);
this.SetParamSimple(map, prefix + "AutoRenewFlag", this.AutoRenewFlag);
this.SetParamSimple(map, prefix + "Memory", this.Memory);
this.SetParamSimple(map, prefix + "Storage", this.Storage);
this.SetParamSimple(map, prefix + "ShardCount", this.ShardCount);
this.SetParamSimple(map, prefix + "PeriodEndTime", this.PeriodEndTime);
this.SetParamSimple(map, prefix + "IsolatedTimestamp", this.IsolatedTimestamp);
this.SetParamSimple(map, prefix + "Uin", this.Uin);
this.SetParamArrayObj(map, prefix + "ShardDetail.", this.ShardDetail);
this.SetParamSimple(map, prefix + "NodeCount", this.NodeCount);
this.SetParamSimple(map, prefix + "IsTmp", this.IsTmp);
this.SetParamSimple(map, prefix + "ExclusterId", this.ExclusterId);
this.SetParamSimple(map, prefix + "UniqueVpcId", this.UniqueVpcId);
this.SetParamSimple(map, prefix + "UniqueSubnetId", this.UniqueSubnetId);
this.SetParamSimple(map, prefix + "Id", this.Id);
this.SetParamSimple(map, prefix + "WanDomain", this.WanDomain);
this.SetParamSimple(map, prefix + "WanVip", this.WanVip);
this.SetParamSimple(map, prefix + "WanPort", this.WanPort);
this.SetParamSimple(map, prefix + "Pid", this.Pid);
this.SetParamSimple(map, prefix + "UpdateTime", this.UpdateTime);
this.SetParamSimple(map, prefix + "DbEngine", this.DbEngine);
this.SetParamSimple(map, prefix + "DbVersion", this.DbVersion);
this.SetParamSimple(map, prefix + "Paymode", this.Paymode);
this.SetParamSimple(map, prefix + "Locker", this.Locker);
this.SetParamSimple(map, prefix + "WanStatus", this.WanStatus);
this.SetParamSimple(map, prefix + "IsAuditSupported", this.IsAuditSupported);
this.SetParamSimple(map, prefix + "Cpu", this.Cpu);
}
}
}