114 lines
3.6 KiB
C#
114 lines
3.6 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.Bmvpc.V20180625.Models
|
|||
|
|
{
|
|||
|
|
using Newtonsoft.Json;
|
|||
|
|
using System.Collections.Generic;
|
|||
|
|
using TencentCloud.Common;
|
|||
|
|
|
|||
|
|
public class VpnGateway : AbstractModel
|
|||
|
|
{
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 网关实例ID。
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("VpnGatewayId")]
|
|||
|
|
public string VpnGatewayId{ get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// VPC实例ID。
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("VpcId")]
|
|||
|
|
public string VpcId{ get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 网关实例名称。
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("VpnGatewayName")]
|
|||
|
|
public string VpnGatewayName{ get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// VPC网段
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("VpcCidrBlock")]
|
|||
|
|
public string VpcCidrBlock{ get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// VPC名称
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("VpcName")]
|
|||
|
|
public string VpcName{ get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 网关出带宽。
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("InternetMaxBandwidthOut")]
|
|||
|
|
public ulong? InternetMaxBandwidthOut{ get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 网关实例状态
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("State")]
|
|||
|
|
public string State{ get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 网关公网IP。
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("PublicIpAddress")]
|
|||
|
|
public string PublicIpAddress{ get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 创建时间。
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("CreateTime")]
|
|||
|
|
public string CreateTime{ get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 可用区,如:ap-guangzhou
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("Zone")]
|
|||
|
|
public string Zone{ get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// VPN网关的通道数
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("VpnConnNum")]
|
|||
|
|
public ulong? VpnConnNum{ 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 + "VpnGatewayId", this.VpnGatewayId);
|
|||
|
|
this.SetParamSimple(map, prefix + "VpcId", this.VpcId);
|
|||
|
|
this.SetParamSimple(map, prefix + "VpnGatewayName", this.VpnGatewayName);
|
|||
|
|
this.SetParamSimple(map, prefix + "VpcCidrBlock", this.VpcCidrBlock);
|
|||
|
|
this.SetParamSimple(map, prefix + "VpcName", this.VpcName);
|
|||
|
|
this.SetParamSimple(map, prefix + "InternetMaxBandwidthOut", this.InternetMaxBandwidthOut);
|
|||
|
|
this.SetParamSimple(map, prefix + "State", this.State);
|
|||
|
|
this.SetParamSimple(map, prefix + "PublicIpAddress", this.PublicIpAddress);
|
|||
|
|
this.SetParamSimple(map, prefix + "CreateTime", this.CreateTime);
|
|||
|
|
this.SetParamSimple(map, prefix + "Zone", this.Zone);
|
|||
|
|
this.SetParamSimple(map, prefix + "VpnConnNum", this.VpnConnNum);
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
|