Class DescribeSubnetsRequest
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.vpc.v20170312.models.DescribeSubnetsRequest
-
public class DescribeSubnetsRequest extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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 。StringgetLimit()Get 返回数量,默认为20,最大值为100。StringgetOffset()Get 偏移量,默认为0。String[]getSubnetIds()Get 子网实例ID查询。形如:subnet-pxir56ns。每次请求的实例的上限为100。参数不支持同时指定SubnetIds和Filters。voidsetFilters(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 。voidsetLimit(String Limit)Set 返回数量,默认为20,最大值为100。voidsetOffset(String Offset)Set 偏移量,默认为0。voidsetSubnetIds(String[] SubnetIds)Set 子网实例ID查询。形如:subnet-pxir56ns。每次请求的实例的上限为100。参数不支持同时指定SubnetIds和Filters。voidtoMap(HashMap<String,String> map, String prefix)Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
DescribeSubnetsRequest
public DescribeSubnetsRequest()
-
DescribeSubnetsRequest
public 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.
-
-
Method Detail
-
getSubnetIds
public String[] getSubnetIds()
Get 子网实例ID查询。形如:subnet-pxir56ns。每次请求的实例的上限为100。参数不支持同时指定SubnetIds和Filters。- Returns:
- SubnetIds 子网实例ID查询。形如:subnet-pxir56ns。每次请求的实例的上限为100。参数不支持同时指定SubnetIds和Filters。
-
setSubnetIds
public void setSubnetIds(String[] SubnetIds)
Set 子网实例ID查询。形如:subnet-pxir56ns。每次请求的实例的上限为100。参数不支持同时指定SubnetIds和Filters。- Parameters:
SubnetIds- 子网实例ID查询。形如:subnet-pxir56ns。每次请求的实例的上限为100。参数不支持同时指定SubnetIds和Filters。
-
getFilters
public 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 。
- Returns:
- Filters 过滤条件,参数不支持同时指定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 。
-
setFilters
public 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 。
- Parameters:
Filters- 过滤条件,参数不支持同时指定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 。
-
getOffset
public String getOffset()
Get 偏移量,默认为0。- Returns:
- Offset 偏移量,默认为0。
-
setOffset
public void setOffset(String Offset)
Set 偏移量,默认为0。- Parameters:
Offset- 偏移量,默认为0。
-
getLimit
public String getLimit()
Get 返回数量,默认为20,最大值为100。- Returns:
- Limit 返回数量,默认为20,最大值为100。
-
setLimit
public void setLimit(String Limit)
Set 返回数量,默认为20,最大值为100。- Parameters:
Limit- 返回数量,默认为20,最大值为100。
-
-