vpc-20160428/core/Models/DescribeNetworkAclsRequest.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 DescribeNetworkAclsRequest : TeaModel { /// <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 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>123e4567-e89b-12d3-a456-426655440000</para> /// </summary> [NameInMap("ClientToken")] [Validation(Required=false)] public string ClientToken { get; set; } /// <summary> /// <para>The ID of the network ACL.</para> /// /// <b>Example:</b> /// <para>nacl-bp1lhl0taikrbgnh****</para> /// </summary> [NameInMap("NetworkAclId")] [Validation(Required=false)] public string NetworkAclId { get; set; } /// <summary> /// <para>The name of the network ACL.</para> /// <para>The name must be 1 to 128 characters in length, and cannot start with <c>http://</c> or <c>https://</c>.</para> /// /// <b>Example:</b> /// <para>acl-1</para> /// </summary> [NameInMap("NetworkAclName")] [Validation(Required=false)] public string NetworkAclName { 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 region ID of the network ACL.</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 associated instance.</para> /// /// <b>Example:</b> /// <para>vsw-bp1de348lntdwnhbg****</para> /// </summary> [NameInMap("ResourceId")] [Validation(Required=false)] public string ResourceId { 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 type of the associated instance. Set the value to <b>VSwitch</b>.</para> /// <para>This parameter is valid only if <b>ResourceType</b> and <b>ResourceId</b> are both specified.</para> /// /// <b>Example:</b> /// <para>VSwitch</para> /// </summary> [NameInMap("ResourceType")] [Validation(Required=false)] public string ResourceType { get; set; } /// <summary> /// <para>The tag list.</para> /// </summary> [NameInMap("Tags")] [Validation(Required=false)] public List<DescribeNetworkAclsRequestTags> Tags { get; set; } public class DescribeNetworkAclsRequestTags : TeaModel { /// <summary> /// <para>The key of tag N to add to the resource. 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>FinanceDept</para> /// </summary> [NameInMap("Key")] [Validation(Required=false)] public string Key { get; set; } /// <summary> /// <para>The value of tag N to add to the resource. You can specify at most 20 tag values. The tag value can be an empty string.</para> /// <para>The tag value can be up to 128 characters in length and cannot contain <c>http://</c> or <c>https://</c>. The tag value cannot start with <c>aliyun</c> or <c>acs:</c>.</para> /// /// <b>Example:</b> /// <para>FinanceJoshua</para> /// </summary> [NameInMap("Value")] [Validation(Required=false)] public string Value { get; set; } } /// <summary> /// <para>The ID of the VPC to which the network ACL belongs.</para> /// /// <b>Example:</b> /// <para>vpc-m5ebpc2xh64mqm27e****</para> /// </summary> [NameInMap("VpcId")] [Validation(Required=false)] public string VpcId { get; set; } } }