vpc-20160428/core/Models/DescribeVpnGatewaysRequest.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 DescribeVpnGatewaysRequest : TeaModel { /// <summary> /// <para>The payment status of the VPN gateway. Valid values:</para> /// <list type="bullet"> /// <item><description><b>Normal</b></description></item> /// <item><description><b>FinancialLocked</b></description></item> /// </list> /// /// <b>Example:</b> /// <para>Normal</para> /// </summary> [NameInMap("BusinessStatus")] [Validation(Required=false)] public string BusinessStatus { get; set; } /// <summary> /// <para>Specifies whether to return 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>true</para> /// </summary> [NameInMap("IncludeReservationData")] [Validation(Required=false)] public bool? IncludeReservationData { 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</b> to <b>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 region ID of the VPN gateway.</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-zhangjiakou</para> /// </summary> [NameInMap("RegionId")] [Validation(Required=false)] public string RegionId { get; set; } /// <summary> /// <para>The ID of the resource group to which the VPN gateway belongs.</para> /// <para> You can call the <a href="https://help.aliyun.com/document_detail/158855.html">ListResourceGroups</a> operation to query the resource group list.</para> /// /// <b>Example:</b> /// <para>rg-acfmzs372yg****</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>The status of the VPN gateway. Valid values:</para> /// <list type="bullet"> /// <item><description><b>init</b></description></item> /// <item><description><b>provisioning</b></description></item> /// <item><description><b>active</b></description></item> /// <item><description><b>updating</b></description></item> /// <item><description><b>deleting</b></description></item> /// </list> /// /// <b>Example:</b> /// <para>active</para> /// </summary> [NameInMap("Status")] [Validation(Required=false)] public string Status { get; set; } /// <summary> /// <para>The tags that are added to the VPN gateway.</para> /// </summary> [NameInMap("Tag")] [Validation(Required=false)] public List<DescribeVpnGatewaysRequestTag> Tag { get; set; } public class DescribeVpnGatewaysRequestTag : TeaModel { /// <summary> /// <para>The tag key.</para> /// <para>You can specify at most 20 tag keys at a time.</para> /// /// <b>Example:</b> /// <para>FinanceDept</para> /// </summary> [NameInMap("Key")] [Validation(Required=false)] public string Key { get; set; } /// <summary> /// <para>The tag value.</para> /// <para>Each tag key corresponds to one tag value. You can specify at most 20 tag values at a time.</para> /// /// <b>Example:</b> /// <para>FinanceJoshua</para> /// </summary> [NameInMap("Value")] [Validation(Required=false)] public string Value { get; set; } } /// <summary> /// <para>The ID of the virtual private cloud (VPC) to which the VPN gateway belongs.</para> /// /// <b>Example:</b> /// <para>vpc-bp1m3i0kn1nd4wiw9****</para> /// </summary> [NameInMap("VpcId")] [Validation(Required=false)] public string VpcId { get; set; } /// <summary> /// <para>The ID of the VPN gateway.</para> /// /// <b>Example:</b> /// <para>vpn-bp17lofy9fd0dnvzv****</para> /// </summary> [NameInMap("VpnGatewayId")] [Validation(Required=false)] public string VpnGatewayId { get; set; } } }