vpc-20160428/core/Models/DescribeSnatTableEntriesRequest.cs (54 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 DescribeSnatTableEntriesRequest : TeaModel {
/// <summary>
/// <para>The ID of the NAT gateway.</para>
/// <remarks>
/// <para> You must specify at least one of <b>SnatTableId</b> and <b>NatGatewayId</b>.</para>
/// </remarks>
///
/// <b>Example:</b>
/// <para>ngw-bp1uewa15k4iy5770****</para>
/// </summary>
[NameInMap("NatGatewayId")]
[Validation(Required=false)]
public string NatGatewayId { get; set; }
[NameInMap("NetworkInterfaceIds")]
[Validation(Required=false)]
public List<string> NetworkInterfaceIds { 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. Maximum value: <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 ID of the region where you want to create the NAT 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-hangzhou</para>
/// </summary>
[NameInMap("RegionId")]
[Validation(Required=false)]
public string RegionId { 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 ID of the SNAT entry.</para>
///
/// <b>Example:</b>
/// <para>snat-8vbae8uqh7rjpk7d2****</para>
/// </summary>
[NameInMap("SnatEntryId")]
[Validation(Required=false)]
public string SnatEntryId { get; set; }
/// <summary>
/// <para>The name of the SNAT entry.</para>
/// <para>The name must be 2 to 128 characters in length, and can contain digits, underscores (_), and hyphens (-). The name must start with a letter.</para>
///
/// <b>Example:</b>
/// <para>SnatEntry-1</para>
/// </summary>
[NameInMap("SnatEntryName")]
[Validation(Required=false)]
public string SnatEntryName { get; set; }
/// <summary>
/// <list type="bullet">
/// <item><description>When you query SNAT entries of Internet NAT gateways, this parameter specifies the EIP in an SNAT entry.</description></item>
/// <item><description>When you query SNAT entries of VPC NAT gateways, this parameter specifies the NAT IP address in an SNAT entry.</description></item>
/// </list>
///
/// <b>Example:</b>
/// <para>116.22.XX.XX</para>
/// </summary>
[NameInMap("SnatIp")]
[Validation(Required=false)]
public string SnatIp { get; set; }
/// <summary>
/// <para>The ID of the SNAT table.</para>
/// <remarks>
/// <para> You must specify at least one of <b>SnatTableId</b> and <b>NatGatewayId</b>.</para>
/// </remarks>
///
/// <b>Example:</b>
/// <para>stb-8vbczigrhop8x5u3t****</para>
/// </summary>
[NameInMap("SnatTableId")]
[Validation(Required=false)]
public string SnatTableId { get; set; }
/// <summary>
/// <para>The source CIDR block specified in the SNAT entry.</para>
///
/// <b>Example:</b>
/// <para>116.22.XX.XX/24</para>
/// </summary>
[NameInMap("SourceCIDR")]
[Validation(Required=false)]
public string SourceCIDR { get; set; }
/// <summary>
/// <para>The ID of the vSwitch.</para>
/// <list type="bullet">
/// <item><description>When you query SNAT entries of Internet NAT gateways, this parameter specifies that Elastic Compute Service (ECS) instances in the vSwitch can use SNAT entries to access the Internet.</description></item>
/// <item><description>When you query SNAT entries of virtual private cloud (VPC) NAT gateways, this parameter specifies that ECS instances in the vSwitch can use SNAT entries to access external networks.</description></item>
/// </list>
///
/// <b>Example:</b>
/// <para>vsw-3xbjkhjshjdf****</para>
/// </summary>
[NameInMap("SourceVSwitchId")]
[Validation(Required=false)]
public string SourceVSwitchId { get; set; }
}
}