代码修改后的版本,全部提交
This commit is contained in:
@@ -0,0 +1,224 @@
|
||||
/*
|
||||
* 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
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 实例ID
|
||||
/// </summary>
|
||||
[JsonProperty("InstanceId")]
|
||||
public string InstanceId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 实例名称
|
||||
/// </summary>
|
||||
[JsonProperty("InstanceName")]
|
||||
public string InstanceName{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 接入点 VIP 列表信息
|
||||
/// </summary>
|
||||
[JsonProperty("VipList")]
|
||||
public VipEntity[] VipList{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 虚拟IP
|
||||
/// </summary>
|
||||
[JsonProperty("Vip")]
|
||||
public string Vip{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 虚拟端口
|
||||
/// </summary>
|
||||
[JsonProperty("Vport")]
|
||||
public string Vport{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 实例的状态。0:创建中,1:运行中,2:删除中
|
||||
/// </summary>
|
||||
[JsonProperty("Status")]
|
||||
public long? Status{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 实例带宽,单位:Mbps
|
||||
/// </summary>
|
||||
[JsonProperty("Bandwidth")]
|
||||
public long? Bandwidth{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 实例的存储大小,单位:GB
|
||||
/// </summary>
|
||||
[JsonProperty("DiskSize")]
|
||||
public long? DiskSize{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 可用区
|
||||
/// </summary>
|
||||
[JsonProperty("ZoneId")]
|
||||
public long? ZoneId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// VPC 的 ID,为空表示是基础网络
|
||||
/// </summary>
|
||||
[JsonProperty("VpcId")]
|
||||
public string VpcId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 子网 ID, 为空表示基础网络
|
||||
/// </summary>
|
||||
[JsonProperty("SubnetId")]
|
||||
public string SubnetId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 实例健康状态, 1:健康,2:告警,3:异常
|
||||
/// </summary>
|
||||
[JsonProperty("Healthy")]
|
||||
public long? Healthy{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 实例健康信息,当前会展示磁盘利用率,最大长度为256
|
||||
/// </summary>
|
||||
[JsonProperty("HealthyMessage")]
|
||||
public string HealthyMessage{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 创建时间
|
||||
/// </summary>
|
||||
[JsonProperty("CreateTime")]
|
||||
public ulong? CreateTime{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 消息保存时间,单位为分钟
|
||||
/// </summary>
|
||||
[JsonProperty("MsgRetentionTime")]
|
||||
public long? MsgRetentionTime{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 自动创建 Topic 配置, 若该字段为空,则表示未开启自动创建
|
||||
/// </summary>
|
||||
[JsonProperty("Config")]
|
||||
public InstanceConfigDO Config{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 剩余创建分区数
|
||||
/// </summary>
|
||||
[JsonProperty("RemainderPartitions")]
|
||||
public long? RemainderPartitions{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 剩余创建主题数
|
||||
/// </summary>
|
||||
[JsonProperty("RemainderTopics")]
|
||||
public long? RemainderTopics{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 当前创建分区数
|
||||
/// </summary>
|
||||
[JsonProperty("CreatedPartitions")]
|
||||
public long? CreatedPartitions{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 当前创建主题数
|
||||
/// </summary>
|
||||
[JsonProperty("CreatedTopics")]
|
||||
public long? CreatedTopics{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 标签数组
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("Tags")]
|
||||
public Tag[] Tags{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 过期时间
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("ExpireTime")]
|
||||
public ulong? ExpireTime{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 跨可用区
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("ZoneIds")]
|
||||
public long?[] ZoneIds{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// kafka版本信息
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("Version")]
|
||||
public string Version{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 最大分组数
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("MaxGroupNum")]
|
||||
public long? MaxGroupNum{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 售卖类型
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("Cvm")]
|
||||
public long? Cvm{ 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.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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user