157 lines
5.4 KiB
C#
157 lines
5.4 KiB
C#
|
|
/*
|
|||
|
|
* 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
|
|||
|
|
{
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 数据库实例
|
|||
|
|
/// 注意:此字段可能返回 null,表示取不到有效值。
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("InstanceName")]
|
|||
|
|
public string InstanceName{ get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 数据库IP
|
|||
|
|
/// 注意:此字段可能返回 null,表示取不到有效值。
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("Ip")]
|
|||
|
|
public string Ip{ get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 数据库端口
|
|||
|
|
/// 注意:此字段可能返回 null,表示取不到有效值。
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("Port")]
|
|||
|
|
public long? Port{ get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 数据库内存规格
|
|||
|
|
/// 注意:此字段可能返回 null,表示取不到有效值。
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("MemSize")]
|
|||
|
|
public long? MemSize{ get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 数据库磁盘规格
|
|||
|
|
/// 注意:此字段可能返回 null,表示取不到有效值。
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("Volume")]
|
|||
|
|
public long? Volume{ get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 服务标识
|
|||
|
|
/// 注意:此字段可能返回 null,表示取不到有效值。
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("Service")]
|
|||
|
|
public string Service{ get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 过期时间
|
|||
|
|
/// 注意:此字段可能返回 null,表示取不到有效值。
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("ExpireTime")]
|
|||
|
|
public string ExpireTime{ get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 申请时间
|
|||
|
|
/// 注意:此字段可能返回 null,表示取不到有效值。
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("ApplyTime")]
|
|||
|
|
public string ApplyTime{ get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 付费类型
|
|||
|
|
/// 注意:此字段可能返回 null,表示取不到有效值。
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("PayType")]
|
|||
|
|
public long? PayType{ get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 过期标识
|
|||
|
|
/// 注意:此字段可能返回 null,表示取不到有效值。
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("ExpireFlag")]
|
|||
|
|
public bool? ExpireFlag{ get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 数据库状态
|
|||
|
|
/// 注意:此字段可能返回 null,表示取不到有效值。
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("Status")]
|
|||
|
|
public long? Status{ get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 续费标识
|
|||
|
|
/// 注意:此字段可能返回 null,表示取不到有效值。
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("IsAutoRenew")]
|
|||
|
|
public long? IsAutoRenew{ get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 数据库字符串
|
|||
|
|
/// 注意:此字段可能返回 null,表示取不到有效值。
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("SerialNo")]
|
|||
|
|
public string SerialNo{ get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// ZoneId
|
|||
|
|
/// 注意:此字段可能返回 null,表示取不到有效值。
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("ZoneId")]
|
|||
|
|
public long? ZoneId{ get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// RegionId
|
|||
|
|
/// 注意:此字段可能返回 null,表示取不到有效值。
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("RegionId")]
|
|||
|
|
public long? RegionId{ 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 + "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);
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
|