vpc-20160428/core/Models/DescribeCommonBandwidthPackagesRequest.cs (59 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 DescribeCommonBandwidthPackagesRequest : TeaModel { /// <summary> /// <para>The ID of the Internet Shared Bandwidth instance.</para> /// /// <b>Example:</b> /// <para>cbwp-2ze2ic1xd2qeqk145****</para> /// </summary> [NameInMap("BandwidthPackageId")] [Validation(Required=false)] public string BandwidthPackageId { get; set; } /// <summary> /// <para>Specifies whether to perform a dry run, without performing the actual request. Valid values:</para> /// <list type="bullet"> /// <item><description><b>true</b>: performs only a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and instance status. If the request fails the dry run, an error message is returned. If the request passes the dry run, the <c>DryRunOperation</c> error code is returned.</description></item> /// <item><description><b>false</b> (default): performs a dry run and performs the actual request. If the request passes the dry run, a 2xx HTTP status code is returned and the operation is performed.</description></item> /// </list> /// /// <b>Example:</b> /// <para>false</para> /// </summary> [NameInMap("DryRun")] [Validation(Required=false)] public bool? DryRun { get; set; } /// <summary> /// <para>Specifies whether to return the information about pending orders. Valid values:</para> /// <list type="bullet"> /// <item><description><b>false</b> (default)</description></item> /// <item><description><b>true</b></description></item> /// </list> /// /// <b>Example:</b> /// <para>false</para> /// </summary> [NameInMap("IncludeReservationData")] [Validation(Required=false)] public bool? IncludeReservationData { get; set; } /// <summary> /// <para>The name of the Internet Shared Bandwidth instance.</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 page number. Default value: <b>1</b>.</para> /// /// <b>Example:</b> /// <para>1</para> /// </summary> [NameInMap("PageNumber")] [Validation(Required=false)] public int? PageNumber { get; set; } /// <summary> /// <para>The number of entries per page. Valid values: <b>1 to 50</b>. Default value: <b>10</b>.</para> /// /// <b>Example:</b> /// <para>10</para> /// </summary> [NameInMap("PageSize")] [Validation(Required=false)] public int? PageSize { get; set; } /// <summary> /// <para>The ID of the region where the Internet Shared Bandwidth instance resides.</para> /// <para>You can call the <a href="https://help.aliyun.com/document_detail/36063.html">DescribeRegions</a> operation to query the region ID.</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-acfmxazb4ph****</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> /// <para>Specifies whether to enable Anti-DDoS Pro/Premium. Valid values:</para> /// <list type="bullet"> /// <item><description><b>false</b> (default)</description></item> /// <item><description><b>true</b></description></item> /// </list> /// /// <b>Example:</b> /// <para>false</para> /// </summary> [NameInMap("SecurityProtectionEnabled")] [Validation(Required=false)] public bool? SecurityProtectionEnabled { get; set; } /// <summary> /// <para>The tags to add to the Internet Shared Bandwidth instance.</para> /// </summary> [NameInMap("Tag")] [Validation(Required=false)] public List<DescribeCommonBandwidthPackagesRequestTag> Tag { get; set; } public class DescribeCommonBandwidthPackagesRequestTag : TeaModel { /// <summary> /// <para>The tag key to add to the Internet Shared Bandwidth instance. You can specify up to 20 tag keys. The tag key cannot be an empty string.</para> /// <para>The tag key can be up to 128 characters in length. It cannot start with <c>aliyun</c> or <c>acs:</c>, and cannot contain <c>http://</c> or <c>https://</c>.</para> /// /// <b>Example:</b> /// <para>KeyTest</para> /// </summary> [NameInMap("Key")] [Validation(Required=false)] public string Key { get; set; } /// <summary> /// <para>The tag value to add to the Internet Shared Bandwidth instance. You can specify up to 20 tag values. The tag value can be an empty string.</para> /// <para>The tag value can be up to 128 characters in length. It cannot start with <c>aliyun</c> or <c>acs:</c>, and cannot contain <c>http://</c> or <c>https://</c>.</para> /// /// <b>Example:</b> /// <para>ValueTest</para> /// </summary> [NameInMap("Value")] [Validation(Required=false)] public string Value { get; set; } } } }