/* * 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.Vpc.V20170312.Models { using Newtonsoft.Json; using System.Collections.Generic; using TencentCloud.Common; public class AllocateAddressesRequest : AbstractModel { /// /// EIP数量。默认值:1。 /// [JsonProperty("AddressCount")] public long? AddressCount{ get; set; } /// /// EIP线路类型。默认值:BGP。 /// /// [JsonProperty("InternetServiceProvider")] public string InternetServiceProvider{ get; set; } /// /// EIP计费方式。 /// /// [JsonProperty("InternetChargeType")] public string InternetChargeType{ get; set; } /// /// EIP出带宽上限,单位:Mbps。 /// /// [JsonProperty("InternetMaxBandwidthOut")] public long? InternetMaxBandwidthOut{ get; set; } /// /// EIP类型。默认值:EIP。 /// /// [JsonProperty("AddressType")] public string AddressType{ get; set; } /// /// Anycast发布域。 /// /// [JsonProperty("AnycastZone")] public string AnycastZone{ get; set; } /// /// [已废弃] AnycastEIP不再区分是否负载均衡。原参数说明如下: /// AnycastEIP是否用于绑定负载均衡。 /// /// [JsonProperty("ApplicableForCLB")] public bool? ApplicableForCLB{ get; set; } /// /// 需要关联的标签列表。 /// [JsonProperty("Tags")] public Tag[] Tags{ get; set; } /// /// BGP带宽包唯一ID参数。设定该参数且InternetChargeType为BANDWIDTH_PACKAGE,则表示创建的EIP加入该BGP带宽包并采用带宽包计费 /// [JsonProperty("BandwidthPackageId")] public string BandwidthPackageId{ get; set; } /// /// For internal usage only. DO NOT USE IT. /// internal override void ToMap(Dictionary map, string prefix) { this.SetParamSimple(map, prefix + "AddressCount", this.AddressCount); this.SetParamSimple(map, prefix + "InternetServiceProvider", this.InternetServiceProvider); this.SetParamSimple(map, prefix + "InternetChargeType", this.InternetChargeType); this.SetParamSimple(map, prefix + "InternetMaxBandwidthOut", this.InternetMaxBandwidthOut); this.SetParamSimple(map, prefix + "AddressType", this.AddressType); this.SetParamSimple(map, prefix + "AnycastZone", this.AnycastZone); this.SetParamSimple(map, prefix + "ApplicableForCLB", this.ApplicableForCLB); this.SetParamArrayObj(map, prefix + "Tags.", this.Tags); this.SetParamSimple(map, prefix + "BandwidthPackageId", this.BandwidthPackageId); } } }