vpc-20160428/core/Models/DescribeHaVipsRequest.cs (55 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 DescribeHaVipsRequest : TeaModel { /// <summary> /// <para>The details of the filter condition.</para> /// </summary> [NameInMap("Filter")] [Validation(Required=false)] public List<DescribeHaVipsRequestFilter> Filter { get; set; } public class DescribeHaVipsRequestFilter : TeaModel { /// <summary> /// <para>The filter keys. You can specify at most five filter keys. Valid values of <b>N</b>: <b>1 to 5</b>. The following filter keys are supported:</para> /// <list type="bullet"> /// <item><description><b>VpcId</b>: virtual private cloud (VPC) ID</description></item> /// <item><description><b>VSwitchId</b>: vSwitch ID</description></item> /// <item><description><b>Status</b>: HAVIP status</description></item> /// <item><description><b>HaVipId</b>: HAVIP ID</description></item> /// <item><description><b>HaVipAddress</b>: HAVIP IP address</description></item> /// </list> /// <para>You can specify multiple values for each filter key. The logical operator among multiple values is OR. If one value is matched, the filter key is matched.</para> /// <para>The logical operator among multiple filter keys is AND. HAVIPs can be queried only if all filter keys are matched.</para> /// /// <b>Example:</b> /// <para>HaVipId</para> /// </summary> [NameInMap("Key")] [Validation(Required=false)] public string Key { get; set; } /// <summary> /// <para>The value of the filter key. Valid values of <b>N</b>: <b>1 to 5</b>.</para> /// /// <b>Example:</b> /// <para>havip-bp19o63nequs01i8d****</para> /// </summary> [NameInMap("Value")] [Validation(Required=false)] public List<string> Value { 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 HAVIP.</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 resource group to which the HAVIP belongs.</para> /// /// <b>Example:</b> /// <para>rg-bp67acfmxazb4ph****</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 tag list.</para> /// </summary> [NameInMap("Tags")] [Validation(Required=false)] public List<DescribeHaVipsRequestTags> Tags { get; set; } public class DescribeHaVipsRequestTags : 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; } } } }