/* * 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 VpcPeerConnection : AbstractModel { /// /// 本端VPC唯一ID /// [JsonProperty("VpcId")] public string VpcId{ get; set; } /// /// 对端VPC唯一ID /// [JsonProperty("PeerVpcId")] public string PeerVpcId{ get; set; } /// /// 本端APPID /// [JsonProperty("AppId")] public string AppId{ get; set; } /// /// 对端APPID /// [JsonProperty("PeerAppId")] public string PeerAppId{ get; set; } /// /// 对等连接唯一ID /// [JsonProperty("VpcPeerConnectionId")] public string VpcPeerConnectionId{ get; set; } /// /// 对等连接名称 /// [JsonProperty("VpcPeerConnectionName")] public string VpcPeerConnectionName{ get; set; } /// /// 对等连接状态。pending:申请中,available:运行中,expired:已过期,rejected:已拒绝,deleted:已删除 /// [JsonProperty("State")] public string State{ get; set; } /// /// 本端VPC所属可用区 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("VpcZone")] public string VpcZone{ get; set; } /// /// 对端VPC所属可用区 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("PeerVpcZone")] public string PeerVpcZone{ get; set; } /// /// 本端Uin /// [JsonProperty("Uin")] public ulong? Uin{ get; set; } /// /// 对端Uin /// [JsonProperty("PeerUin")] public ulong? PeerUin{ get; set; } /// /// 对等连接类型 /// [JsonProperty("PeerType")] public ulong? PeerType{ get; set; } /// /// 对等连接带宽 /// [JsonProperty("Bandwidth")] public ulong? Bandwidth{ get; set; } /// /// 本端VPC地域 /// [JsonProperty("Region")] public string Region{ get; set; } /// /// 对端VPC地域 /// [JsonProperty("PeerRegion")] public string PeerRegion{ get; set; } /// /// 是否允许删除 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("DeleteFlag")] public ulong? DeleteFlag{ get; set; } /// /// 创建时间 /// [JsonProperty("CreateTime")] public string CreateTime{ 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 + "PeerVpcId", this.PeerVpcId); this.SetParamSimple(map, prefix + "AppId", this.AppId); this.SetParamSimple(map, prefix + "PeerAppId", this.PeerAppId); this.SetParamSimple(map, prefix + "VpcPeerConnectionId", this.VpcPeerConnectionId); this.SetParamSimple(map, prefix + "VpcPeerConnectionName", this.VpcPeerConnectionName); this.SetParamSimple(map, prefix + "State", this.State); this.SetParamSimple(map, prefix + "VpcZone", this.VpcZone); this.SetParamSimple(map, prefix + "PeerVpcZone", this.PeerVpcZone); this.SetParamSimple(map, prefix + "Uin", this.Uin); this.SetParamSimple(map, prefix + "PeerUin", this.PeerUin); this.SetParamSimple(map, prefix + "PeerType", this.PeerType); this.SetParamSimple(map, prefix + "Bandwidth", this.Bandwidth); this.SetParamSimple(map, prefix + "Region", this.Region); this.SetParamSimple(map, prefix + "PeerRegion", this.PeerRegion); this.SetParamSimple(map, prefix + "DeleteFlag", this.DeleteFlag); this.SetParamSimple(map, prefix + "CreateTime", this.CreateTime); } } }