Files
g.hnyhua.cn/TencentCloud/Ckafka/V20190819/Models/InstanceDetail.cs

194 lines
6.4 KiB
C#
Raw Normal View History

/*
* 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 InstanceDetail : AbstractModel
{
/// <summary>
/// 实例id
/// </summary>
[JsonProperty("InstanceId")]
public string InstanceId{ get; set; }
/// <summary>
/// 实例名称
/// </summary>
[JsonProperty("InstanceName")]
public string InstanceName{ get; set; }
/// <summary>
/// 访问实例的vip 信息
/// </summary>
[JsonProperty("Vip")]
public string Vip{ get; set; }
/// <summary>
/// 访问实例的端口信息
/// </summary>
[JsonProperty("Vport")]
public string Vport{ get; set; }
/// <summary>
/// 虚拟IP列表
/// </summary>
[JsonProperty("VipList")]
public VipEntity[] VipList{ get; set; }
/// <summary>
/// 实例的状态。0创建中1运行中2删除中5隔离中 -1 创建失败
/// </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>
/// 可用区域ID
/// </summary>
[JsonProperty("ZoneId")]
public long? ZoneId{ get; set; }
/// <summary>
/// vpcId如果为空说明是基础网络
/// </summary>
[JsonProperty("VpcId")]
public string VpcId{ get; set; }
/// <summary>
/// 子网id
/// </summary>
[JsonProperty("SubnetId")]
public string SubnetId{ get; set; }
/// <summary>
/// 实例是否续费int 枚举值1表示自动续费2表示明确不自动续费
/// </summary>
[JsonProperty("RenewFlag")]
public long? RenewFlag{ get; set; }
/// <summary>
/// 实例状态 int0表示健康1表示告警2 表示实例状态异常
/// </summary>
[JsonProperty("Healthy")]
public long? Healthy{ get; set; }
/// <summary>
/// 实例状态信息
/// </summary>
[JsonProperty("HealthyMessage")]
public string HealthyMessage{ get; set; }
/// <summary>
/// 实例创建时间时间
/// </summary>
[JsonProperty("CreateTime")]
public long? CreateTime{ get; set; }
/// <summary>
/// 实例过期时间
/// </summary>
[JsonProperty("ExpireTime")]
public long? ExpireTime{ get; set; }
/// <summary>
/// 是否为内部客户。值为1 表示内部客户
/// </summary>
[JsonProperty("IsInternal")]
public long? IsInternal{ get; set; }
/// <summary>
/// Topic个数
/// </summary>
[JsonProperty("TopicNum")]
public long? TopicNum{ get; set; }
/// <summary>
/// 标识tag
/// </summary>
[JsonProperty("Tags")]
public Tag[] Tags{ get; set; }
/// <summary>
/// kafka版本信息
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("Version")]
public string Version{ get; set; }
/// <summary>
/// 跨可用区
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("ZoneIds")]
public long?[] ZoneIds{ get; set; }
/// <summary>
/// ckafka售卖类型
/// 注意:此字段可能返回 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.SetParamSimple(map, prefix + "Vip", this.Vip);
this.SetParamSimple(map, prefix + "Vport", this.Vport);
this.SetParamArrayObj(map, prefix + "VipList.", this.VipList);
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 + "RenewFlag", this.RenewFlag);
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 + "ExpireTime", this.ExpireTime);
this.SetParamSimple(map, prefix + "IsInternal", this.IsInternal);
this.SetParamSimple(map, prefix + "TopicNum", this.TopicNum);
this.SetParamArrayObj(map, prefix + "Tags.", this.Tags);
this.SetParamSimple(map, prefix + "Version", this.Version);
this.SetParamArraySimple(map, prefix + "ZoneIds.", this.ZoneIds);
this.SetParamSimple(map, prefix + "Cvm", this.Cvm);
}
}
}