首次推送

This commit is contained in:
lym
2026-03-09 00:13:46 +08:00
commit b19613bb31
13974 changed files with 2767735 additions and 0 deletions

View File

@@ -0,0 +1,115 @@
/*
* 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
{
/// <summary>
/// EIP数量。默认值1。
/// </summary>
[JsonProperty("AddressCount")]
public long? AddressCount{ get; set; }
/// <summary>
/// EIP线路类型。默认值BGP。
/// <ul style="margin:0"><li>已开通静态单线IP白名单的用户可选值<ul><li>CMCC中国移动</li>
/// <li>CTCC中国电信</li>
/// <li>CUCC中国联通</li></ul>注意仅部分地域支持静态单线IP。</li></ul>
/// </summary>
[JsonProperty("InternetServiceProvider")]
public string InternetServiceProvider{ get; set; }
/// <summary>
/// EIP计费方式。
/// <ul style="margin:0"><li>已开通带宽上移白名单的用户,可选值:<ul><li>BANDWIDTH_PACKAGE[共享带宽包](https://cloud.tencent.com/document/product/684/15255)付费(需额外开通共享带宽包白名单)</li>
/// <li>BANDWIDTH_POSTPAID_BY_HOUR带宽按小时后付费</li>
/// <li>TRAFFIC_POSTPAID_BY_HOUR流量按小时后付费</li></ul>默认值TRAFFIC_POSTPAID_BY_HOUR。</li>
/// <li>未开通带宽上移白名单的用户EIP计费方式与其绑定的实例的计费方式一致无需传递此参数。</li></ul>
/// </summary>
[JsonProperty("InternetChargeType")]
public string InternetChargeType{ get; set; }
/// <summary>
/// EIP出带宽上限单位Mbps。
/// <ul style="margin:0"><li>已开通带宽上移白名单的用户可选值范围取决于EIP计费方式<ul><li>BANDWIDTH_PACKAGE1 Mbps 至 1000 Mbps</li>
/// <li>BANDWIDTH_POSTPAID_BY_HOUR1 Mbps 至 100 Mbps</li>
/// <li>TRAFFIC_POSTPAID_BY_HOUR1 Mbps 至 100 Mbps</li></ul>默认值1 Mbps。</li>
/// <li>未开通带宽上移白名单的用户EIP出带宽上限取决于与其绑定的实例的公网出带宽上限无需传递此参数。</li></ul>
/// </summary>
[JsonProperty("InternetMaxBandwidthOut")]
public long? InternetMaxBandwidthOut{ get; set; }
/// <summary>
/// EIP类型。默认值EIP。
/// <ul style="margin:0"><li>已开通Anycast公网加速白名单的用户可选值<ul><li>AnycastEIP加速IP可参见 [Anycast 公网加速](https://cloud.tencent.com/document/product/644)</li></ul>注意仅部分地域支持加速IP。</li></ul>
/// </summary>
[JsonProperty("AddressType")]
public string AddressType{ get; set; }
/// <summary>
/// Anycast发布域。
/// <ul style="margin:0"><li>已开通Anycast公网加速白名单的用户可选值<ul><li>ANYCAST_ZONE_GLOBAL全球发布域需要额外开通Anycast全球加速白名单</li><li>ANYCAST_ZONE_OVERSEAS境外发布域</li><li><b>[已废弃]</b> ANYCAST_ZONE_A发布域A已更新为全球发布域</li><li><b>[已废弃]</b> ANYCAST_ZONE_B发布域B已更新为全球发布域</li></ul>默认值ANYCAST_ZONE_OVERSEAS。</li></ul>
/// </summary>
[JsonProperty("AnycastZone")]
public string AnycastZone{ get; set; }
/// <summary>
/// <b>[已废弃]</b> AnycastEIP不再区分是否负载均衡。原参数说明如下
/// AnycastEIP是否用于绑定负载均衡。
/// <ul style="margin:0"><li>已开通Anycast公网加速白名单的用户可选值<ul><li>TRUEAnycastEIP可绑定对象为负载均衡</li>
/// <li>FALSEAnycastEIP可绑定对象为云服务器、NAT网关、高可用虚拟IP等</li></ul>默认值FALSE。</li></ul>
/// </summary>
[JsonProperty("ApplicableForCLB")]
public bool? ApplicableForCLB{ get; set; }
/// <summary>
/// 需要关联的标签列表。
/// </summary>
[JsonProperty("Tags")]
public Tag[] Tags{ get; set; }
/// <summary>
/// BGP带宽包唯一ID参数。设定该参数且InternetChargeType为BANDWIDTH_PACKAGE则表示创建的EIP加入该BGP带宽包并采用带宽包计费
/// </summary>
[JsonProperty("BandwidthPackageId")]
public string BandwidthPackageId{ 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 + "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);
}
}
}