/*
* 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.Emr.V20190103.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class CdbInfo : AbstractModel
{
///
/// 数据库实例
/// 注意:此字段可能返回 null,表示取不到有效值。
///
[JsonProperty("InstanceName")]
public string InstanceName{ get; set; }
///
/// 数据库IP
/// 注意:此字段可能返回 null,表示取不到有效值。
///
[JsonProperty("Ip")]
public string Ip{ get; set; }
///
/// 数据库端口
/// 注意:此字段可能返回 null,表示取不到有效值。
///
[JsonProperty("Port")]
public long? Port{ get; set; }
///
/// 数据库内存规格
/// 注意:此字段可能返回 null,表示取不到有效值。
///
[JsonProperty("MemSize")]
public long? MemSize{ get; set; }
///
/// 数据库磁盘规格
/// 注意:此字段可能返回 null,表示取不到有效值。
///
[JsonProperty("Volume")]
public long? Volume{ get; set; }
///
/// 服务标识
/// 注意:此字段可能返回 null,表示取不到有效值。
///
[JsonProperty("Service")]
public string Service{ get; set; }
///
/// 过期时间
/// 注意:此字段可能返回 null,表示取不到有效值。
///
[JsonProperty("ExpireTime")]
public string ExpireTime{ get; set; }
///
/// 申请时间
/// 注意:此字段可能返回 null,表示取不到有效值。
///
[JsonProperty("ApplyTime")]
public string ApplyTime{ get; set; }
///
/// 付费类型
/// 注意:此字段可能返回 null,表示取不到有效值。
///
[JsonProperty("PayType")]
public long? PayType{ get; set; }
///
/// 过期标识
/// 注意:此字段可能返回 null,表示取不到有效值。
///
[JsonProperty("ExpireFlag")]
public bool? ExpireFlag{ get; set; }
///
/// 数据库状态
/// 注意:此字段可能返回 null,表示取不到有效值。
///
[JsonProperty("Status")]
public long? Status{ get; set; }
///
/// 续费标识
/// 注意:此字段可能返回 null,表示取不到有效值。
///
[JsonProperty("IsAutoRenew")]
public long? IsAutoRenew{ get; set; }
///
/// 数据库字符串
/// 注意:此字段可能返回 null,表示取不到有效值。
///
[JsonProperty("SerialNo")]
public string SerialNo{ get; set; }
///
/// ZoneId
/// 注意:此字段可能返回 null,表示取不到有效值。
///
[JsonProperty("ZoneId")]
public long? ZoneId{ get; set; }
///
/// RegionId
/// 注意:此字段可能返回 null,表示取不到有效值。
///
[JsonProperty("RegionId")]
public long? RegionId{ get; set; }
///
/// For internal usage only. DO NOT USE IT.
///
internal override void ToMap(Dictionary map, string prefix)
{
this.SetParamSimple(map, prefix + "InstanceName", this.InstanceName);
this.SetParamSimple(map, prefix + "Ip", this.Ip);
this.SetParamSimple(map, prefix + "Port", this.Port);
this.SetParamSimple(map, prefix + "MemSize", this.MemSize);
this.SetParamSimple(map, prefix + "Volume", this.Volume);
this.SetParamSimple(map, prefix + "Service", this.Service);
this.SetParamSimple(map, prefix + "ExpireTime", this.ExpireTime);
this.SetParamSimple(map, prefix + "ApplyTime", this.ApplyTime);
this.SetParamSimple(map, prefix + "PayType", this.PayType);
this.SetParamSimple(map, prefix + "ExpireFlag", this.ExpireFlag);
this.SetParamSimple(map, prefix + "Status", this.Status);
this.SetParamSimple(map, prefix + "IsAutoRenew", this.IsAutoRenew);
this.SetParamSimple(map, prefix + "SerialNo", this.SerialNo);
this.SetParamSimple(map, prefix + "ZoneId", this.ZoneId);
this.SetParamSimple(map, prefix + "RegionId", this.RegionId);
}
}
}