public class DescribeSubnetsRequest extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| DescribeSubnetsRequest() | 
| DescribeSubnetsRequest(DescribeSubnetsRequest source)NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
       and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy. | 
| Modifier and Type | Method and Description | 
|---|---|
| Filter[] | getFilters()Get 过滤条件,参数不支持同时指定SubnetIds和Filters。
subnet-id - String - (过滤条件)Subnet实例名称。
vpc-id - String - (过滤条件)VPC实例ID,形如:vpc-f49l6u0z。
cidr-block - String - (过滤条件)子网网段,形如: 192.168.1.0 。
is-default - Boolean - (过滤条件)是否是默认子网。
is-remote-vpc-snat - Boolean - (过滤条件)是否为VPC SNAT地址池子网。
subnet-name - String - (过滤条件)子网名称。
zone - String - (过滤条件)可用区。
tag-key - String -是否必填:否- (过滤条件)按照标签键进行过滤。
tag:tag-key - String - 是否必填:否 - (过滤条件)按照标签键值对进行过滤。 tag-key使用具体的标签键进行替换。使用请参考示例2。
cdc-id - String - 是否必填:否 - (过滤条件)按照cdc信息进行过滤。过滤出来制定cdc下的子网。
is-cdc-subnet - String - 是否必填:否 - (过滤条件)按照是否是cdc子网进行过滤。取值:“0”-非cdc子网,“1”--cdc子网
ipv6-cidr-block - String - (过滤条件)IPv6子网网段,形如: 2402:4e00:1717:8700::/64 。
isp-type  - String - (过滤条件)运营商类型,形如: BGP 。
address-type - String - (过滤条件)IPv6 Cidr 的类型,精确匹配。`GUA`(全球单播地址), `ULA`(唯一本地地址)。 | 
| String | getLimit()Get 返回数量,默认为20,最大值为100。 | 
| String | getOffset()Get 偏移量,默认为0。 | 
| String[] | getSubnetIds()Get 子网实例ID查询。形如:subnet-pxir56ns。每次请求的实例的上限为100(该参数指定的子网是否返回,需要结合分页拉取参数Limit和Offset)。参数不支持同时指定SubnetIds和Filters。 | 
| void | setFilters(Filter[] Filters)Set 过滤条件,参数不支持同时指定SubnetIds和Filters。
subnet-id - String - (过滤条件)Subnet实例名称。
vpc-id - String - (过滤条件)VPC实例ID,形如:vpc-f49l6u0z。
cidr-block - String - (过滤条件)子网网段,形如: 192.168.1.0 。
is-default - Boolean - (过滤条件)是否是默认子网。
is-remote-vpc-snat - Boolean - (过滤条件)是否为VPC SNAT地址池子网。
subnet-name - String - (过滤条件)子网名称。
zone - String - (过滤条件)可用区。
tag-key - String -是否必填:否- (过滤条件)按照标签键进行过滤。
tag:tag-key - String - 是否必填:否 - (过滤条件)按照标签键值对进行过滤。 tag-key使用具体的标签键进行替换。使用请参考示例2。
cdc-id - String - 是否必填:否 - (过滤条件)按照cdc信息进行过滤。过滤出来制定cdc下的子网。
is-cdc-subnet - String - 是否必填:否 - (过滤条件)按照是否是cdc子网进行过滤。取值:“0”-非cdc子网,“1”--cdc子网
ipv6-cidr-block - String - (过滤条件)IPv6子网网段,形如: 2402:4e00:1717:8700::/64 。
isp-type  - String - (过滤条件)运营商类型,形如: BGP 。
address-type - String - (过滤条件)IPv6 Cidr 的类型,精确匹配。`GUA`(全球单播地址), `ULA`(唯一本地地址)。 | 
| void | setLimit(String Limit)Set 返回数量,默认为20,最大值为100。 | 
| void | setOffset(String Offset)Set 偏移量,默认为0。 | 
| void | setSubnetIds(String[] SubnetIds)Set 子网实例ID查询。形如:subnet-pxir56ns。每次请求的实例的上限为100(该参数指定的子网是否返回,需要结合分页拉取参数Limit和Offset)。参数不支持同时指定SubnetIds和Filters。 | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic DescribeSubnetsRequest()
public DescribeSubnetsRequest(DescribeSubnetsRequest source)
public String[] getSubnetIds()
public void setSubnetIds(String[] SubnetIds)
SubnetIds - 子网实例ID查询。形如:subnet-pxir56ns。每次请求的实例的上限为100(该参数指定的子网是否返回,需要结合分页拉取参数Limit和Offset)。参数不支持同时指定SubnetIds和Filters。public Filter[] getFilters()
public void setFilters(Filter[] Filters)
Filters - 过滤条件,参数不支持同时指定SubnetIds和Filters。
public String getOffset()
public void setOffset(String Offset)
Offset - 偏移量,默认为0。public String getLimit()
public void setLimit(String Limit)
Limit - 返回数量,默认为20,最大值为100。Copyright © 2025. All rights reserved.