153 lines
5.1 KiB
C#
153 lines
5.1 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.Cds.V20180420.Models
|
|||
|
|
{
|
|||
|
|
using Newtonsoft.Json;
|
|||
|
|
using System.Collections.Generic;
|
|||
|
|
using TencentCloud.Common;
|
|||
|
|
|
|||
|
|
public class CdsAuditInstance : AbstractModel
|
|||
|
|
{
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 实例ID
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("InstanceId")]
|
|||
|
|
public string InstanceId{ get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 用户AppId
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("AppId")]
|
|||
|
|
public string AppId{ get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 用户Uin
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("Uin")]
|
|||
|
|
public string Uin{ get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 项目ID
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("ProjectId")]
|
|||
|
|
public ulong? ProjectId{ get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 续费标识
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("RenewFlag")]
|
|||
|
|
public ulong? RenewFlag{ get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 所属地域
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("Region")]
|
|||
|
|
public string Region{ get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 付费模式(数据安全审计只支持预付费:1)
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("PayMode")]
|
|||
|
|
public ulong? PayMode{ get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 实例状态: 0,未生效;1:正常运行; 2:被隔离; 3,已过期
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("Status")]
|
|||
|
|
public ulong? Status{ get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 实例被隔离时间,格式:yyyy-mm-dd HH:ii:ss
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("IsolatedTimestamp")]
|
|||
|
|
public string IsolatedTimestamp{ get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 实例创建时间,格式: yyyy-mm-dd HH:ii:ss
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("CreateTime")]
|
|||
|
|
public string CreateTime{ get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 实例过期时间,格式:yyyy-mm-dd HH:ii:ss
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("ExpireTime")]
|
|||
|
|
public string ExpireTime{ get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 实例名称
|
|||
|
|
/// 注意:此字段可能返回 null,表示取不到有效值。
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("InstanceName")]
|
|||
|
|
public string InstanceName{ get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 实例公网IP
|
|||
|
|
/// 注意:此字段可能返回 null,表示取不到有效值。
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("PublicIp")]
|
|||
|
|
public string PublicIp{ get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 实例私网IP
|
|||
|
|
/// 注意:此字段可能返回 null,表示取不到有效值。
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("PrivateIp")]
|
|||
|
|
public string PrivateIp{ get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 实例类型(版本)
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("InstanceType")]
|
|||
|
|
public string InstanceType{ get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 实例域名
|
|||
|
|
/// 注意:此字段可能返回 null,表示取不到有效值。
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("Pdomain")]
|
|||
|
|
public string Pdomain{ 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 + "AppId", this.AppId);
|
|||
|
|
this.SetParamSimple(map, prefix + "Uin", this.Uin);
|
|||
|
|
this.SetParamSimple(map, prefix + "ProjectId", this.ProjectId);
|
|||
|
|
this.SetParamSimple(map, prefix + "RenewFlag", this.RenewFlag);
|
|||
|
|
this.SetParamSimple(map, prefix + "Region", this.Region);
|
|||
|
|
this.SetParamSimple(map, prefix + "PayMode", this.PayMode);
|
|||
|
|
this.SetParamSimple(map, prefix + "Status", this.Status);
|
|||
|
|
this.SetParamSimple(map, prefix + "IsolatedTimestamp", this.IsolatedTimestamp);
|
|||
|
|
this.SetParamSimple(map, prefix + "CreateTime", this.CreateTime);
|
|||
|
|
this.SetParamSimple(map, prefix + "ExpireTime", this.ExpireTime);
|
|||
|
|
this.SetParamSimple(map, prefix + "InstanceName", this.InstanceName);
|
|||
|
|
this.SetParamSimple(map, prefix + "PublicIp", this.PublicIp);
|
|||
|
|
this.SetParamSimple(map, prefix + "PrivateIp", this.PrivateIp);
|
|||
|
|
this.SetParamSimple(map, prefix + "InstanceType", this.InstanceType);
|
|||
|
|
this.SetParamSimple(map, prefix + "Pdomain", this.Pdomain);
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
|