/* * 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.Bmvpc.V20180625.Models { using Newtonsoft.Json; using System.Collections.Generic; using TencentCloud.Common; public class VpcResource : AbstractModel { /// /// 私有网络ID /// [JsonProperty("VpcId")] public string VpcId{ get; set; } /// /// 私有网络名称 /// [JsonProperty("VpcName")] public string VpcName{ get; set; } /// /// 私有网络的CIDR /// [JsonProperty("CidrBlock")] public string CidrBlock{ get; set; } /// /// 子网个数 /// [JsonProperty("SubnetNum")] public ulong? SubnetNum{ get; set; } /// /// NAT个数 /// [JsonProperty("NatNum")] public ulong? NatNum{ get; set; } /// /// VPC状态 /// [JsonProperty("State")] public string State{ get; set; } /// /// 是否开启监控 /// [JsonProperty("MonitorFlag")] public bool? MonitorFlag{ get; set; } /// /// 物理机个数 /// [JsonProperty("CpmNum")] public ulong? CpmNum{ get; set; } /// /// 可用IP个数 /// [JsonProperty("LeaveIpNum")] public ulong? LeaveIpNum{ get; set; } /// /// 负载均衡个数 /// [JsonProperty("LbNum")] public ulong? LbNum{ get; set; } /// /// 流量镜像网关个数 /// [JsonProperty("TrafficMirrorNum")] public ulong? TrafficMirrorNum{ get; set; } /// /// 弹性IP个数 /// [JsonProperty("EipNum")] public ulong? EipNum{ get; set; } /// /// 专线网关个数 /// [JsonProperty("PlgwNum")] public ulong? PlgwNum{ get; set; } /// /// 专线通道个数 /// [JsonProperty("PlvpNum")] public ulong? PlvpNum{ get; set; } /// /// ssl vpn网关个数 /// [JsonProperty("SslVpnGwNum")] public ulong? SslVpnGwNum{ get; set; } /// /// 对等链接个数 /// [JsonProperty("VpcPeerNum")] public ulong? VpcPeerNum{ get; set; } /// /// ipsec vpn网关个数 /// [JsonProperty("IpsecVpnGwNum")] public ulong? IpsecVpnGwNum{ get; set; } /// /// 可用区 /// [JsonProperty("Zone")] public string Zone{ get; set; } /// /// 创建时间 /// [JsonProperty("CreateTime")] public string CreateTime{ get; set; } /// /// 是否老专区VPC /// [JsonProperty("IsOld")] public bool? IsOld{ get; set; } /// /// 云联网服务个数 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("CcnServiceNum")] public ulong? CcnServiceNum{ get; set; } /// /// VPC允许创建的对等连接个数 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("VpcPeerLimitToAllRegion")] public ulong? VpcPeerLimitToAllRegion{ get; set; } /// /// VPC允许创建的同地域的对等连接的个数 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("VpcPeerLimitToSameRegion")] public ulong? VpcPeerLimitToSameRegion{ get; set; } /// /// 整型私有网络ID /// [JsonProperty("IntVpcId")] public ulong? IntVpcId{ get; set; } /// /// For internal usage only. DO NOT USE IT. /// internal override void ToMap(Dictionary map, string prefix) { this.SetParamSimple(map, prefix + "VpcId", this.VpcId); this.SetParamSimple(map, prefix + "VpcName", this.VpcName); this.SetParamSimple(map, prefix + "CidrBlock", this.CidrBlock); this.SetParamSimple(map, prefix + "SubnetNum", this.SubnetNum); this.SetParamSimple(map, prefix + "NatNum", this.NatNum); this.SetParamSimple(map, prefix + "State", this.State); this.SetParamSimple(map, prefix + "MonitorFlag", this.MonitorFlag); this.SetParamSimple(map, prefix + "CpmNum", this.CpmNum); this.SetParamSimple(map, prefix + "LeaveIpNum", this.LeaveIpNum); this.SetParamSimple(map, prefix + "LbNum", this.LbNum); this.SetParamSimple(map, prefix + "TrafficMirrorNum", this.TrafficMirrorNum); this.SetParamSimple(map, prefix + "EipNum", this.EipNum); this.SetParamSimple(map, prefix + "PlgwNum", this.PlgwNum); this.SetParamSimple(map, prefix + "PlvpNum", this.PlvpNum); this.SetParamSimple(map, prefix + "SslVpnGwNum", this.SslVpnGwNum); this.SetParamSimple(map, prefix + "VpcPeerNum", this.VpcPeerNum); this.SetParamSimple(map, prefix + "IpsecVpnGwNum", this.IpsecVpnGwNum); this.SetParamSimple(map, prefix + "Zone", this.Zone); this.SetParamSimple(map, prefix + "CreateTime", this.CreateTime); this.SetParamSimple(map, prefix + "IsOld", this.IsOld); this.SetParamSimple(map, prefix + "CcnServiceNum", this.CcnServiceNum); this.SetParamSimple(map, prefix + "VpcPeerLimitToAllRegion", this.VpcPeerLimitToAllRegion); this.SetParamSimple(map, prefix + "VpcPeerLimitToSameRegion", this.VpcPeerLimitToSameRegion); this.SetParamSimple(map, prefix + "IntVpcId", this.IntVpcId); } } }