/* * 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.Ckafka.V20190819.Models { using Newtonsoft.Json; using System.Collections.Generic; using TencentCloud.Common; public class InstanceAttributesResponse : AbstractModel { /// /// 实例ID /// [JsonProperty("InstanceId")] public string InstanceId{ get; set; } /// /// 实例名称 /// [JsonProperty("InstanceName")] public string InstanceName{ get; set; } /// /// 接入点 VIP 列表信息 /// [JsonProperty("VipList")] public VipEntity[] VipList{ get; set; } /// /// 虚拟IP /// [JsonProperty("Vip")] public string Vip{ get; set; } /// /// 虚拟端口 /// [JsonProperty("Vport")] public string Vport{ get; set; } /// /// 实例的状态。0:创建中,1:运行中,2:删除中 /// [JsonProperty("Status")] public long? Status{ get; set; } /// /// 实例带宽,单位:Mbps /// [JsonProperty("Bandwidth")] public long? Bandwidth{ get; set; } /// /// 实例的存储大小,单位:GB /// [JsonProperty("DiskSize")] public long? DiskSize{ get; set; } /// /// 可用区 /// [JsonProperty("ZoneId")] public long? ZoneId{ get; set; } /// /// VPC 的 ID,为空表示是基础网络 /// [JsonProperty("VpcId")] public string VpcId{ get; set; } /// /// 子网 ID, 为空表示基础网络 /// [JsonProperty("SubnetId")] public string SubnetId{ get; set; } /// /// 实例健康状态, 1:健康,2:告警,3:异常 /// [JsonProperty("Healthy")] public long? Healthy{ get; set; } /// /// 实例健康信息,当前会展示磁盘利用率,最大长度为256 /// [JsonProperty("HealthyMessage")] public string HealthyMessage{ get; set; } /// /// 创建时间 /// [JsonProperty("CreateTime")] public ulong? CreateTime{ get; set; } /// /// 消息保存时间,单位为分钟 /// [JsonProperty("MsgRetentionTime")] public long? MsgRetentionTime{ get; set; } /// /// 自动创建 Topic 配置, 若该字段为空,则表示未开启自动创建 /// [JsonProperty("Config")] public InstanceConfigDO Config{ get; set; } /// /// 剩余创建分区数 /// [JsonProperty("RemainderPartitions")] public long? RemainderPartitions{ get; set; } /// /// 剩余创建主题数 /// [JsonProperty("RemainderTopics")] public long? RemainderTopics{ get; set; } /// /// 当前创建分区数 /// [JsonProperty("CreatedPartitions")] public long? CreatedPartitions{ get; set; } /// /// 当前创建主题数 /// [JsonProperty("CreatedTopics")] public long? CreatedTopics{ get; set; } /// /// 标签数组 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("Tags")] public Tag[] Tags{ get; set; } /// /// 过期时间 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("ExpireTime")] public ulong? ExpireTime{ get; set; } /// /// 跨可用区 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("ZoneIds")] public long?[] ZoneIds{ get; set; } /// /// kafka版本信息 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("Version")] public string Version{ get; set; } /// /// 最大分组数 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("MaxGroupNum")] public long? MaxGroupNum{ get; set; } /// /// 售卖类型 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("Cvm")] public long? Cvm{ get; set; } /// /// For internal usage only. DO NOT USE IT. /// internal override void ToMap(Dictionary map, string prefix) { this.SetParamSimple(map, prefix + "InstanceId", this.InstanceId); this.SetParamSimple(map, prefix + "InstanceName", this.InstanceName); this.SetParamArrayObj(map, prefix + "VipList.", this.VipList); this.SetParamSimple(map, prefix + "Vip", this.Vip); this.SetParamSimple(map, prefix + "Vport", this.Vport); this.SetParamSimple(map, prefix + "Status", this.Status); this.SetParamSimple(map, prefix + "Bandwidth", this.Bandwidth); this.SetParamSimple(map, prefix + "DiskSize", this.DiskSize); this.SetParamSimple(map, prefix + "ZoneId", this.ZoneId); this.SetParamSimple(map, prefix + "VpcId", this.VpcId); this.SetParamSimple(map, prefix + "SubnetId", this.SubnetId); this.SetParamSimple(map, prefix + "Healthy", this.Healthy); this.SetParamSimple(map, prefix + "HealthyMessage", this.HealthyMessage); this.SetParamSimple(map, prefix + "CreateTime", this.CreateTime); this.SetParamSimple(map, prefix + "MsgRetentionTime", this.MsgRetentionTime); this.SetParamObj(map, prefix + "Config.", this.Config); this.SetParamSimple(map, prefix + "RemainderPartitions", this.RemainderPartitions); this.SetParamSimple(map, prefix + "RemainderTopics", this.RemainderTopics); this.SetParamSimple(map, prefix + "CreatedPartitions", this.CreatedPartitions); this.SetParamSimple(map, prefix + "CreatedTopics", this.CreatedTopics); this.SetParamArrayObj(map, prefix + "Tags.", this.Tags); this.SetParamSimple(map, prefix + "ExpireTime", this.ExpireTime); this.SetParamArraySimple(map, prefix + "ZoneIds.", this.ZoneIds); this.SetParamSimple(map, prefix + "Version", this.Version); this.SetParamSimple(map, prefix + "MaxGroupNum", this.MaxGroupNum); this.SetParamSimple(map, prefix + "Cvm", this.Cvm); } } }