Files
g.hnyhua.cn/TencentCloud/Cloudhsm/V20191112/Models/DescribeVsmAttributesResponse.cs
2026-02-07 15:48:27 +08:00

193 lines
6.6 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
/*
* 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 DescribeVsmAttributesResponse : AbstractModel
{
/// <summary>
/// 资源Id
/// </summary>
[JsonProperty("ResourceId")]
public string ResourceId{ get; set; }
/// <summary>
/// 资源名称
/// </summary>
[JsonProperty("ResourceName")]
public string ResourceName{ get; set; }
/// <summary>
/// 资源状态
/// </summary>
[JsonProperty("Status")]
public long? Status{ get; set; }
/// <summary>
/// 资源IP
/// </summary>
[JsonProperty("Vip")]
public string Vip{ get; set; }
/// <summary>
/// 资源所属Vpc
/// </summary>
[JsonProperty("VpcId")]
public string VpcId{ get; set; }
/// <summary>
/// 资源所属子网
/// </summary>
[JsonProperty("SubnetId")]
public string SubnetId{ get; set; }
/// <summary>
/// 资源所属HSM的规格
/// </summary>
[JsonProperty("Model")]
public string Model{ get; set; }
/// <summary>
/// 资源类型
/// </summary>
[JsonProperty("VsmType")]
public long? VsmType{ get; set; }
/// <summary>
/// 地域Id
/// </summary>
[JsonProperty("RegionId")]
public long? RegionId{ get; set; }
/// <summary>
/// 区域Id
/// </summary>
[JsonProperty("ZoneId")]
public long? ZoneId{ get; set; }
/// <summary>
/// 过期时间
/// </summary>
[JsonProperty("ExpireTime")]
public long? ExpireTime{ get; set; }
/// <summary>
/// 安全组详情信息
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("SgList")]
public UsgRuleDetail[] SgList{ get; set; }
/// <summary>
/// 子网名
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("SubnetName")]
public string SubnetName{ 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("Expired")]
public bool? Expired{ get; set; }
/// <summary>
/// 为正数表示实例距离过期时间剩余秒数,为负数表示实例已经过期多少秒
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("RemainSeconds")]
public long? RemainSeconds{ get; set; }
/// <summary>
/// 私有虚拟网络名称
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("VpcName")]
public string VpcName{ get; set; }
/// <summary>
/// VPC的IPv4 CIDR
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("VpcCidrBlock")]
public string VpcCidrBlock{ get; set; }
/// <summary>
/// 子网的CIDR
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("SubnetCidrBlock")]
public string SubnetCidrBlock{ get; set; }
/// <summary>
/// 唯一请求 ID每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
/// </summary>
[JsonProperty("RequestId")]
public string RequestId{ 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.SetParamArrayObj(map, prefix + "SgList.", this.SgList);
this.SetParamSimple(map, prefix + "SubnetName", this.SubnetName);
this.SetParamSimple(map, prefix + "RegionName", this.RegionName);
this.SetParamSimple(map, prefix + "ZoneName", this.ZoneName);
this.SetParamSimple(map, prefix + "Expired", this.Expired);
this.SetParamSimple(map, prefix + "RemainSeconds", this.RemainSeconds);
this.SetParamSimple(map, prefix + "VpcName", this.VpcName);
this.SetParamSimple(map, prefix + "VpcCidrBlock", this.VpcCidrBlock);
this.SetParamSimple(map, prefix + "SubnetCidrBlock", this.SubnetCidrBlock);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}