/* * 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.Tcaplusdb.V20190823.Models { using Newtonsoft.Json; using System.Collections.Generic; using TencentCloud.Common; public class ClusterInfo : AbstractModel { /// /// 集群名称 /// [JsonProperty("ClusterName")] public string ClusterName{ get; set; } /// /// 集群ID /// [JsonProperty("ClusterId")] public string ClusterId{ get; set; } /// /// 集群所在地域 /// [JsonProperty("Region")] public string Region{ get; set; } /// /// 集群数据描述语言类型,如:`PROTO`,`TDR`或`MIX` /// [JsonProperty("IdlType")] public string IdlType{ get; set; } /// /// 网络类型 /// [JsonProperty("NetworkType")] public string NetworkType{ get; set; } /// /// 集群关联的用户私有网络实例ID /// [JsonProperty("VpcId")] public string VpcId{ get; set; } /// /// 集群关联的用户子网实例ID /// [JsonProperty("SubnetId")] public string SubnetId{ get; set; } /// /// 创建时间 /// [JsonProperty("CreatedTime")] public string CreatedTime{ get; set; } /// /// 集群密码 /// [JsonProperty("Password")] public string Password{ get; set; } /// /// 密码状态 /// [JsonProperty("PasswordStatus")] public string PasswordStatus{ get; set; } /// /// TcaplusDB SDK连接参数,接入ID /// [JsonProperty("ApiAccessId")] public string ApiAccessId{ get; set; } /// /// TcaplusDB SDK连接参数,接入地址 /// [JsonProperty("ApiAccessIp")] public string ApiAccessIp{ get; set; } /// /// TcaplusDB SDK连接参数,接入端口 /// [JsonProperty("ApiAccessPort")] public long? ApiAccessPort{ get; set; } /// /// 如果PasswordStatus是unmodifiable说明有旧密码还未过期,此字段将显示旧密码过期的时间,否则为空 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("OldPasswordExpireTime")] public string OldPasswordExpireTime{ get; set; } /// /// For internal usage only. DO NOT USE IT. /// internal override void ToMap(Dictionary map, string prefix) { this.SetParamSimple(map, prefix + "ClusterName", this.ClusterName); this.SetParamSimple(map, prefix + "ClusterId", this.ClusterId); this.SetParamSimple(map, prefix + "Region", this.Region); this.SetParamSimple(map, prefix + "IdlType", this.IdlType); this.SetParamSimple(map, prefix + "NetworkType", this.NetworkType); this.SetParamSimple(map, prefix + "VpcId", this.VpcId); this.SetParamSimple(map, prefix + "SubnetId", this.SubnetId); this.SetParamSimple(map, prefix + "CreatedTime", this.CreatedTime); this.SetParamSimple(map, prefix + "Password", this.Password); this.SetParamSimple(map, prefix + "PasswordStatus", this.PasswordStatus); this.SetParamSimple(map, prefix + "ApiAccessId", this.ApiAccessId); this.SetParamSimple(map, prefix + "ApiAccessIp", this.ApiAccessIp); this.SetParamSimple(map, prefix + "ApiAccessPort", this.ApiAccessPort); this.SetParamSimple(map, prefix + "OldPasswordExpireTime", this.OldPasswordExpireTime); } } }