vpc-20160428/core/Models/CreateCommonBandwidthPackageRequest.cs (65 lines of code) (raw):
// This file is auto-generated, don't edit it. Thanks.
using System;
using System.Collections.Generic;
using System.IO;
using Tea;
namespace AlibabaCloud.SDK.Vpc20160428.Models
{
public class CreateCommonBandwidthPackageRequest : TeaModel {
/// <summary>
/// <para>The maximum bandwidth of the Internet Shared Bandwidth instance. Unit: Mbit/s.</para>
/// <para>Valid values: <b>1</b> to <b>1000</b>. Default value: <b>1</b>.</para>
/// <para>This parameter is required.</para>
///
/// <b>Example:</b>
/// <para>1000</para>
/// </summary>
[NameInMap("Bandwidth")]
[Validation(Required=false)]
public int? Bandwidth { get; set; }
/// <summary>
/// <para>The client token that is used to ensure the idempotence of the request.</para>
/// <para>You can use the client to generate the token, but you must make sure that the token is unique among different requests. The client token can contain only ASCII characters.</para>
/// <remarks>
/// <para>If you do not specify this parameter, the system automatically uses the <b>request ID</b> as the <b>client token</b>. The <b>request ID</b> may be different for each request.</para>
/// </remarks>
///
/// <b>Example:</b>
/// <para>02fb3da4-130e-11e9-8e44-001****</para>
/// </summary>
[NameInMap("ClientToken")]
[Validation(Required=false)]
public string ClientToken { get; set; }
/// <summary>
/// <para>The description of the Internet Shared Bandwidth instance.</para>
/// <para>The description must be 0 to 256 characters in length and cannot start with <c>http://</c> or <c>https://</c>.</para>
///
/// <b>Example:</b>
/// <para>abc</para>
/// </summary>
[NameInMap("Description")]
[Validation(Required=false)]
public string Description { get; set; }
/// <summary>
/// <para>The line type. Valid values:</para>
/// <list type="bullet">
/// <item><description><b>BGP</b> (default) All regions support BGP (Multi-ISP).</description></item>
/// <item><description><b>BGP_PRO</b> BGP (Multi-ISP) Pro lines are available in the China (Hong Kong), Singapore, Japan (Tokyo), Philippines (Manila), Malaysia (Kuala Lumpur), Indonesia (Jakarta), and Thailand (Bangkok) regions.</description></item>
/// </list>
/// <para>If you are allowed to use single-ISP bandwidth, you can also use one of the following values:</para>
/// <list type="bullet">
/// <item><description><b>ChinaTelecom</b></description></item>
/// <item><description><b>ChinaUnicom</b></description></item>
/// <item><description><b>ChinaMobile</b></description></item>
/// <item><description><b>ChinaTelecom_L2</b></description></item>
/// <item><description><b>ChinaUnicom_L2</b></description></item>
/// <item><description><b>ChinaMobile_L2</b></description></item>
/// </list>
/// <para>If your services are deployed in China East 1 Finance, this parameter is required and you must set the value to <b>BGP_FinanceCloud</b>.</para>
///
/// <b>Example:</b>
/// <para>BGP</para>
/// </summary>
[NameInMap("ISP")]
[Validation(Required=false)]
public string ISP { get; set; }
/// <summary>
/// <para>The billing method of the Internet Shared Bandwidth instance. Set the value to <b>PayByTraffic</b>, which specifies the pay-by-data-transfer billing method.</para>
/// </summary>
[NameInMap("InternetChargeType")]
[Validation(Required=false)]
public string InternetChargeType { get; set; }
/// <summary>
/// <para>The name of the Internet Shared Bandwidth instance.</para>
/// <para>The name must be 0 to 128 characters in length and cannot start with <c>http://</c> or <c>https://</c>.</para>
///
/// <b>Example:</b>
/// <para>test123</para>
/// </summary>
[NameInMap("Name")]
[Validation(Required=false)]
public string Name { get; set; }
[NameInMap("OwnerAccount")]
[Validation(Required=false)]
public string OwnerAccount { get; set; }
[NameInMap("OwnerId")]
[Validation(Required=false)]
public long? OwnerId { get; set; }
/// <summary>
/// <para>The percentage of the minimum bandwidth commitment. Set the parameter to <b>20</b>.</para>
/// <remarks>
/// <para>This parameter is available only on the Alibaba Cloud China site.</para>
/// </remarks>
///
/// <b>Example:</b>
/// <para>20</para>
/// </summary>
[NameInMap("Ratio")]
[Validation(Required=false)]
public int? Ratio { get; set; }
/// <summary>
/// <para>The region ID of the Internet Shared Bandwidth instance.</para>
/// <para>You can call the <a href="https://help.aliyun.com/document_detail/36063.html">DescribeRegions</a> operation to query the most recent region list.</para>
/// <para>This parameter is required.</para>
///
/// <b>Example:</b>
/// <para>cn-hangzhou</para>
/// </summary>
[NameInMap("RegionId")]
[Validation(Required=false)]
public string RegionId { get; set; }
/// <summary>
/// <para>The ID of the resource group.</para>
///
/// <b>Example:</b>
/// <para>rg-acfmxazdjdhd****</para>
/// </summary>
[NameInMap("ResourceGroupId")]
[Validation(Required=false)]
public string ResourceGroupId { get; set; }
[NameInMap("ResourceOwnerAccount")]
[Validation(Required=false)]
public string ResourceOwnerAccount { get; set; }
[NameInMap("ResourceOwnerId")]
[Validation(Required=false)]
public long? ResourceOwnerId { get; set; }
/// <summary>
/// <b>Example:</b>
/// <para>AntiDDoS_Enhanced</para>
/// </summary>
[NameInMap("SecurityProtectionTypes")]
[Validation(Required=false)]
public List<string> SecurityProtectionTypes { get; set; }
[NameInMap("Tag")]
[Validation(Required=false)]
public List<CreateCommonBandwidthPackageRequestTag> Tag { get; set; }
public class CreateCommonBandwidthPackageRequestTag : TeaModel {
[NameInMap("Key")]
[Validation(Required=false)]
public string Key { get; set; }
[NameInMap("Value")]
[Validation(Required=false)]
public string Value { get; set; }
}
/// <summary>
/// <para>The zone of the Internet Shared Bandwidth instance. This parameter is required if you create an Internet Shared Bandwidth instance for a cloud box.</para>
///
/// <b>Example:</b>
/// <para>ap-southeast-1-lzdvn-cb</para>
/// </summary>
[NameInMap("Zone")]
[Validation(Required=false)]
public string Zone { get; set; }
}
}