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