vpc-20160428/core/Models/DescribeVpcsRequest.cs (65 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 DescribeVpcsRequest : TeaModel {
/// <summary>
/// <para>The ID of the DHCP options set.</para>
///
/// <b>Example:</b>
/// <para>dopt-o6w0df4epg9zo8isy****</para>
/// </summary>
[NameInMap("DhcpOptionsSetId")]
[Validation(Required=false)]
public string DhcpOptionsSetId { get; set; }
/// <summary>
/// <para>Specifies whether to perform only a dry run, without performing the actual request. Valid values:</para>
/// <list type="bullet">
/// <item><description><b>true</b>: performs only a dry run. The system prechecks whether your AccessKey pair is valid, whether the RAM user is authorized, and whether the required parameters are specified. If the request fails the dry run, an error message is returned. If the request passes the dry run, the <c>DryRunOperation</c> error code is returned.</description></item>
/// <item><description><b>false</b> (default): sends the request. If the request passes the check, a 2xx HTTP status code is returned and VPCs are queried.</description></item>
/// </list>
///
/// <b>Example:</b>
/// <para>false</para>
/// </summary>
[NameInMap("DryRun")]
[Validation(Required=false)]
public bool? DryRun { get; set; }
/// <summary>
/// <para>Query for VPCs in the specified region that have enabled IPv6 CIDR blocks. The value is empty by default, which means no filtering based on IPv6 availability is conducted. Valid values:</para>
/// <list type="bullet">
/// <item><description><para>false: disabled</para>
/// </description></item>
/// <item><description><para>true: enabled</para>
/// </description></item>
/// </list>
///
/// <b>Example:</b>
/// <para>false</para>
///
/// <b>if can be null:</b>
/// <c>true</c>
/// </summary>
[NameInMap("EnableIpv6")]
[Validation(Required=false)]
public bool? EnableIpv6 { get; set; }
/// <summary>
/// <para>Specifies whether to query the default VPC in the specified region. Valid values:</para>
/// <list type="bullet">
/// <item><description><b>true</b> (default)</description></item>
/// <item><description><b>false</b></description></item>
/// </list>
///
/// <b>Example:</b>
/// <para>false</para>
/// </summary>
[NameInMap("IsDefault")]
[Validation(Required=false)]
public bool? IsDefault { 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 VPC.</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 VPC to be queried belongs.</para>
///
/// <b>Example:</b>
/// <para>rg-acfmxvfvazb4p****</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 tags of the resource.</para>
/// </summary>
[NameInMap("Tag")]
[Validation(Required=false)]
public List<DescribeVpcsRequestTag> Tag { get; set; }
public class DescribeVpcsRequestTag : TeaModel {
/// <summary>
/// <para>The key of tag N to add to the resource. You can specify at most 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 VPC ID.</para>
/// <para>You can specify up to 20 VPC IDs. Separate multiple IDs with commas (,).</para>
///
/// <b>Example:</b>
/// <para>vpc-bp1b1xjllp3ve5yze****</para>
/// </summary>
[NameInMap("VpcId")]
[Validation(Required=false)]
public string VpcId { get; set; }
/// <summary>
/// <para>The name of the VPC.</para>
///
/// <b>Example:</b>
/// <para>Vpc-1</para>
/// </summary>
[NameInMap("VpcName")]
[Validation(Required=false)]
public string VpcName { get; set; }
/// <summary>
/// <para>The ID of the Alibaba Cloud account to which the VPC belongs.</para>
///
/// <b>Example:</b>
/// <para>253460731706911258</para>
/// </summary>
[NameInMap("VpcOwnerId")]
[Validation(Required=false)]
public long? VpcOwnerId { get; set; }
}
}