/* * 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 { /// /// 资源Id /// [JsonProperty("ResourceId")] public string ResourceId{ get; set; } /// /// 资源名称 /// [JsonProperty("ResourceName")] public string ResourceName{ get; set; } /// /// 资源状态 /// [JsonProperty("Status")] public long? Status{ get; set; } /// /// 资源IP /// [JsonProperty("Vip")] public string Vip{ get; set; } /// /// 资源所属Vpc /// [JsonProperty("VpcId")] public string VpcId{ get; set; } /// /// 资源所属子网 /// [JsonProperty("SubnetId")] public string SubnetId{ get; set; } /// /// 资源所属HSM的规格 /// [JsonProperty("Model")] public string Model{ get; set; } /// /// 资源类型 /// [JsonProperty("VsmType")] public long? VsmType{ get; set; } /// /// 地域Id /// [JsonProperty("RegionId")] public long? RegionId{ get; set; } /// /// 区域Id /// [JsonProperty("ZoneId")] public long? ZoneId{ get; set; } /// /// 过期时间 /// [JsonProperty("ExpireTime")] public long? ExpireTime{ get; set; } /// /// 安全组详情信息 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("SgList")] public UsgRuleDetail[] SgList{ get; set; } /// /// 子网名 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("SubnetName")] public string SubnetName{ get; set; } /// /// 地域名 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("RegionName")] public string RegionName{ get; set; } /// /// 区域名 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("ZoneName")] public string ZoneName{ get; set; } /// /// 实例是否已经过期 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("Expired")] public bool? Expired{ get; set; } /// /// 为正数表示实例距离过期时间剩余秒数,为负数表示实例已经过期多少秒 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("RemainSeconds")] public long? RemainSeconds{ get; set; } /// /// 私有虚拟网络名称 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("VpcName")] public string VpcName{ get; set; } /// /// VPC的IPv4 CIDR /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("VpcCidrBlock")] public string VpcCidrBlock{ get; set; } /// /// 子网的CIDR /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("SubnetCidrBlock")] public string SubnetCidrBlock{ get; set; } /// /// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 /// [JsonProperty("RequestId")] public string RequestId{ get; set; } /// /// For internal usage only. DO NOT USE IT. /// internal override void ToMap(Dictionary 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); } } }