vpc-20160428/core/Models/CreateIPv6TranslatorEntryRequest.cs (57 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 CreateIPv6TranslatorEntryRequest : TeaModel {
/// <summary>
/// <para>The ID of the associated ACL.</para>
///
/// <b>Example:</b>
/// <para>ipv6transacl-bp1g8bhrdexnrxxxx</para>
/// </summary>
[NameInMap("AclId")]
[Validation(Required=false)]
public string AclId { get; set; }
/// <summary>
/// <para>Specifies whether to enable access control lists (ACLs). Valid values:</para>
/// <list type="bullet">
/// <item><description><b>on</b></description></item>
/// <item><description><b>off</b></description></item>
/// </list>
///
/// <b>Example:</b>
/// <para>on</para>
/// </summary>
[NameInMap("AclStatus")]
[Validation(Required=false)]
public string AclStatus { get; set; }
/// <summary>
/// <para>Specifies whether to enable ACLs. Valid values:</para>
/// <list type="bullet">
/// <item><description><b>white</b>: a whitelist. IPv6 addresses in the ACL are allowed to access backend services.</description></item>
/// <item><description><b>black</b>: a blacklist. IPv6 addresses in the ACL are not allowed to access backend services.</description></item>
/// </list>
///
/// <b>Example:</b>
/// <para>white</para>
/// </summary>
[NameInMap("AclType")]
[Validation(Required=false)]
public string AclType { get; set; }
/// <summary>
/// <para>The port that is used by the IPv6 address allocated to the IPv6 Translation Service instance.</para>
/// <para>This parameter is required.</para>
///
/// <b>Example:</b>
/// <para>80</para>
/// </summary>
[NameInMap("AllocateIpv6Port")]
[Validation(Required=false)]
public int? AllocateIpv6Port { get; set; }
/// <summary>
/// <para>The public IPv4 address that needs to provide IPv6 services.</para>
/// <para>This parameter is required.</para>
///
/// <b>Example:</b>
/// <para>46.22.xx.xx</para>
/// </summary>
[NameInMap("BackendIpv4Addr")]
[Validation(Required=false)]
public string BackendIpv4Addr { get; set; }
/// <summary>
/// <para>The port of the public IPv4 address that needs to provide IPv6 services.</para>
/// <para>This parameter is required.</para>
///
/// <b>Example:</b>
/// <para>80</para>
/// </summary>
[NameInMap("BackendIpv4Port")]
[Validation(Required=false)]
public int? BackendIpv4Port { get; set; }
/// <summary>
/// <para>The maximum bandwidth specified in the IPv6 mapping entry. Valid values:</para>
/// <list type="bullet">
/// <item><description>\-1 (default): does not limit the maximum bandwidth specified in the IPv6 mapping entry.</description></item>
/// <item><description>1 to 200: the bandwidth value specified in the IPv6 mapping entry. Unit: Mbit/s.</description></item>
/// </list>
/// <remarks>
/// <para>The sum of the maximum bandwidth values specified in all IPv6 entries cannot exceed the maximum bandwidth supported by the instance.</para>
/// </remarks>
///
/// <b>Example:</b>
/// <para>2</para>
/// </summary>
[NameInMap("EntryBandwidth")]
[Validation(Required=false)]
public int? EntryBandwidth { get; set; }
/// <summary>
/// <para>The description of the IPv6 mapping entry.</para>
///
/// <b>Example:</b>
/// <para>description</para>
/// </summary>
[NameInMap("EntryDescription")]
[Validation(Required=false)]
public string EntryDescription { get; set; }
/// <summary>
/// <para>The name of the IPv6 mapping entry. It must be 2 to 100 characters in length and can contain letters, digits, periods (.), underscores (_), and hyphens (-). It must start with a letter. It cannot start with <c>http://</c> or <c>https://</c>.</para>
///
/// <b>Example:</b>
/// <para>name1</para>
/// </summary>
[NameInMap("EntryName")]
[Validation(Required=false)]
public string EntryName { get; set; }
/// <summary>
/// <para>The ID of the IPv6 Translation Service instance.</para>
/// <para>This parameter is required.</para>
///
/// <b>Example:</b>
/// <para>ipv6trans-bp1858ys57xxxxxx</para>
/// </summary>
[NameInMap("Ipv6TranslatorId")]
[Validation(Required=false)]
public string Ipv6TranslatorId { 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 region of the IPv6 Translation Service instance. You can call the <b>DescribeRegions</b> 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 protocol. Valid values:</para>
/// <list type="bullet">
/// <item><description><b>tcp</b></description></item>
/// <item><description><b>udp</b></description></item>
/// </list>
/// <para>This parameter is required.</para>
///
/// <b>Example:</b>
/// <para>tcp</para>
/// </summary>
[NameInMap("TransProtocol")]
[Validation(Required=false)]
public string TransProtocol { get; set; }
}
}