/*
* 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 NatGatewayInfo : AbstractModel
{
///
/// NAT网关ID
///
[JsonProperty("NatId")]
public string NatId{ get; set; }
///
/// 网关名称
///
[JsonProperty("NatName")]
public string NatName{ get; set; }
///
/// 私有网络ID
///
[JsonProperty("VpcId")]
public string VpcId{ get; set; }
///
/// 私有网络名称
///
[JsonProperty("VpcName")]
public string VpcName{ get; set; }
///
/// 网关创建状态,其中0表示创建中,1表示运行中,2表示创建失败
///
[JsonProperty("ProductionStatus")]
public ulong? ProductionStatus{ get; set; }
///
/// EIP列表
///
[JsonProperty("Eips")]
public string[] Eips{ get; set; }
///
/// 并发连接数规格,取值为1000000, 3000000, 10000000
///
[JsonProperty("MaxConcurrent")]
public ulong? MaxConcurrent{ get; set; }
///
/// 可用区
///
[JsonProperty("Zone")]
public string Zone{ get; set; }
///
/// 独占标识,其中0表示共享,1表示独占,默认值为0
///
[JsonProperty("Exclusive")]
public ulong? Exclusive{ get; set; }
///
/// 转发模式,其中0表示IP方式,1表示网段方式
///
[JsonProperty("ForwardMode")]
public ulong? ForwardMode{ get; set; }
///
/// 私有网络网段
///
[JsonProperty("VpcCidrBlock")]
public string VpcCidrBlock{ get; set; }
///
/// 网关类型,取值为 small,middle,big,分别对应小型、中型、大型
///
[JsonProperty("Type")]
public string Type{ get; set; }
///
/// 创建时间
///
[JsonProperty("CreateTime")]
public string CreateTime{ get; set; }
///
/// 网关启用状态,1为禁用,0为启用。
///
[JsonProperty("State")]
public ulong? State{ get; set; }
///
/// 私有网络整型ID
///
[JsonProperty("IntVpcId")]
public ulong? IntVpcId{ get; set; }
///
/// NAT资源ID
///
[JsonProperty("NatResourceId")]
public ulong? NatResourceId{ get; set; }
///
/// For internal usage only. DO NOT USE IT.
///
internal override void ToMap(Dictionary map, string prefix)
{
this.SetParamSimple(map, prefix + "NatId", this.NatId);
this.SetParamSimple(map, prefix + "NatName", this.NatName);
this.SetParamSimple(map, prefix + "VpcId", this.VpcId);
this.SetParamSimple(map, prefix + "VpcName", this.VpcName);
this.SetParamSimple(map, prefix + "ProductionStatus", this.ProductionStatus);
this.SetParamArraySimple(map, prefix + "Eips.", this.Eips);
this.SetParamSimple(map, prefix + "MaxConcurrent", this.MaxConcurrent);
this.SetParamSimple(map, prefix + "Zone", this.Zone);
this.SetParamSimple(map, prefix + "Exclusive", this.Exclusive);
this.SetParamSimple(map, prefix + "ForwardMode", this.ForwardMode);
this.SetParamSimple(map, prefix + "VpcCidrBlock", this.VpcCidrBlock);
this.SetParamSimple(map, prefix + "Type", this.Type);
this.SetParamSimple(map, prefix + "CreateTime", this.CreateTime);
this.SetParamSimple(map, prefix + "State", this.State);
this.SetParamSimple(map, prefix + "IntVpcId", this.IntVpcId);
this.SetParamSimple(map, prefix + "NatResourceId", this.NatResourceId);
}
}
}