181 lines
6.4 KiB
C#
181 lines
6.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.Cloudhsm.V20191112.Models
|
||
{
|
||
using Newtonsoft.Json;
|
||
using System.Collections.Generic;
|
||
using TencentCloud.Common;
|
||
|
||
public class ResourceInfo : AbstractModel
|
||
{
|
||
|
||
/// <summary>
|
||
/// 资源Id
|
||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||
/// </summary>
|
||
[JsonProperty("ResourceId")]
|
||
public string ResourceId{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 资源名称
|
||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||
/// </summary>
|
||
[JsonProperty("ResourceName")]
|
||
public string ResourceName{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 资源状态
|
||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||
/// </summary>
|
||
[JsonProperty("Status")]
|
||
public long? Status{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 资源IP
|
||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||
/// </summary>
|
||
[JsonProperty("Vip")]
|
||
public string Vip{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 资源所属Vpc
|
||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||
/// </summary>
|
||
[JsonProperty("VpcId")]
|
||
public string VpcId{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 资源所属子网
|
||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||
/// </summary>
|
||
[JsonProperty("SubnetId")]
|
||
public string SubnetId{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 资源所属HSM规格
|
||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||
/// </summary>
|
||
[JsonProperty("Model")]
|
||
public string Model{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 资源类型
|
||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||
/// </summary>
|
||
[JsonProperty("VsmType")]
|
||
public long? VsmType{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 地域Id
|
||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||
/// </summary>
|
||
[JsonProperty("RegionId")]
|
||
public long? RegionId{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 区域Id
|
||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||
/// </summary>
|
||
[JsonProperty("ZoneId")]
|
||
public long? ZoneId{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 过期时间
|
||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||
/// </summary>
|
||
[JsonProperty("ExpireTime")]
|
||
public long? ExpireTime{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 地域名
|
||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||
/// </summary>
|
||
[JsonProperty("RegionName")]
|
||
public string RegionName{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 区域名
|
||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||
/// </summary>
|
||
[JsonProperty("ZoneName")]
|
||
public string ZoneName{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 实例的安全组列表
|
||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||
/// </summary>
|
||
[JsonProperty("SgList")]
|
||
public SgUnit[] SgList{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 子网名称
|
||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||
/// </summary>
|
||
[JsonProperty("SubnetName")]
|
||
public string SubnetName{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 当前实例是否已经过期
|
||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||
/// </summary>
|
||
[JsonProperty("Expired")]
|
||
public bool? Expired{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 为正数表示实例距离过期时间还剩余多少秒,为负数表示已经过期多少秒
|
||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||
/// </summary>
|
||
[JsonProperty("RemainSeconds")]
|
||
public long? RemainSeconds{ get; set; }
|
||
|
||
/// <summary>
|
||
/// Vpc名称
|
||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||
/// </summary>
|
||
[JsonProperty("VpcName")]
|
||
public string VpcName{ 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 + "ResourceId", this.ResourceId);
|
||
this.SetParamSimple(map, prefix + "ResourceName", this.ResourceName);
|
||
this.SetParamSimple(map, prefix + "Status", this.Status);
|
||
this.SetParamSimple(map, prefix + "Vip", this.Vip);
|
||
this.SetParamSimple(map, prefix + "VpcId", this.VpcId);
|
||
this.SetParamSimple(map, prefix + "SubnetId", this.SubnetId);
|
||
this.SetParamSimple(map, prefix + "Model", this.Model);
|
||
this.SetParamSimple(map, prefix + "VsmType", this.VsmType);
|
||
this.SetParamSimple(map, prefix + "RegionId", this.RegionId);
|
||
this.SetParamSimple(map, prefix + "ZoneId", this.ZoneId);
|
||
this.SetParamSimple(map, prefix + "ExpireTime", this.ExpireTime);
|
||
this.SetParamSimple(map, prefix + "RegionName", this.RegionName);
|
||
this.SetParamSimple(map, prefix + "ZoneName", this.ZoneName);
|
||
this.SetParamArrayObj(map, prefix + "SgList.", this.SgList);
|
||
this.SetParamSimple(map, prefix + "SubnetName", this.SubnetName);
|
||
this.SetParamSimple(map, prefix + "Expired", this.Expired);
|
||
this.SetParamSimple(map, prefix + "RemainSeconds", this.RemainSeconds);
|
||
this.SetParamSimple(map, prefix + "VpcName", this.VpcName);
|
||
}
|
||
}
|
||
}
|
||
|