public class DescribeNetworkInterfacesRequest extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| DescribeNetworkInterfacesRequest() | 
| DescribeNetworkInterfacesRequest(DescribeNetworkInterfacesRequest 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 过滤条件,参数不支持同时指定NetworkInterfaceIds和Filters。
vpc-id - String - (过滤条件)VPC实例ID,形如:vpc-f49l6u0z。可通过可通过[DescribeVpcs](https://cloud.tencent.com/document/product/215/15778)接口获取。
subnet-id - String - (过滤条件)所属子网实例ID,形如:subnet-f49l6u0z。可通过[DescribeSubnets](https://cloud.tencent.com/document/product/215/15784)接口获取。
network-interface-id - String - (过滤条件)弹性网卡实例ID,形如:eni-5k56k7k7。可通过[DescribeNetworkInterfaces](https://cloud.tencent.com/document/product/215/15817)接口获取。
attachment.instance-id - String - (过滤条件)绑定的云服务器实例ID,形如:ins-3nqpdn3i。可通过[DescribeInstances](https://cloud.tencent.com/document/product/213/15728)接口获取。
groups.security-group-id - String - (过滤条件)绑定的安全组实例ID,例如:sg-f9ekbxeq。可通过[DescribeSecurityGroups](https://cloud.tencent.com/document/product/215/15808)接口获取。
network-interface-name - String - (过滤条件)网卡实例名称。
network-interface-description - String - (过滤条件)网卡实例描述。
address-ip - String - (过滤条件)内网IPv4地址,单IP后缀模糊匹配,多IP精确匹配。可以与`ip-exact-match`配合做单IP的精确匹配查询。
ip-exact-match - Boolean - (过滤条件)内网IPv4精确匹配查询,存在多值情况,只取第一个。
tag-key - String -是否必填:否- (过滤条件)按照标签键进行过滤。使用请参考示例2
tag:tag-key - String - 是否必填:否 - (过滤条件)按照标签键值对进行过滤。 tag-key使用具体的标签键进行替换。使用请参考示例2。
is-primary - Boolean - 是否必填:否 - (过滤条件)按照是否主网卡进行过滤。值为true时,仅过滤主网卡;值为false时,仅过滤辅助网卡;此过滤参数未提供时,同时过滤主网卡和辅助网卡。
eni-type - String -是否必填:否- (过滤条件)按照网卡类型进行过滤。“0”-辅助网卡,“1”-主网卡,“2”:中继网卡。
eni-qos - String -是否必填:否- (过滤条件)按照网卡服务质量进行过滤。PT(云金)、AU(云银)、AG(云铜)、DEFAULT(默认)。
address-ipv6 - String - 是否必填:否 -(过滤条件)内网IPv6地址过滤,支持多ipv6地址查询,如果和address-ip一起使用取交集。
public-address-ip - String - (过滤条件)公网IPv4地址,精确匹配。
address-type - String - (过滤条件)IPv6 Cidr 的类型,精确匹配。`GUA`(全球单播地址), `ULA`(唯一本地地址)。 | 
| Long | getLimit()Get 返回数量,默认为20,最大值为100。 | 
| String[] | getNetworkInterfaceIds()Get 弹性网卡实例ID查询。形如:eni-pxir56ns。每次请求的实例的上限为100。参数不支持同时指定NetworkInterfaceIds和Filters。可通过[DescribeNetworkInterfaces](https://cloud.tencent.com/document/product/215/15817)接口获取。 | 
| Long | getOffset()Get 偏移量,默认为0。 | 
| void | setFilters(Filter[] Filters)Set 过滤条件,参数不支持同时指定NetworkInterfaceIds和Filters。
vpc-id - String - (过滤条件)VPC实例ID,形如:vpc-f49l6u0z。可通过可通过[DescribeVpcs](https://cloud.tencent.com/document/product/215/15778)接口获取。
subnet-id - String - (过滤条件)所属子网实例ID,形如:subnet-f49l6u0z。可通过[DescribeSubnets](https://cloud.tencent.com/document/product/215/15784)接口获取。
network-interface-id - String - (过滤条件)弹性网卡实例ID,形如:eni-5k56k7k7。可通过[DescribeNetworkInterfaces](https://cloud.tencent.com/document/product/215/15817)接口获取。
attachment.instance-id - String - (过滤条件)绑定的云服务器实例ID,形如:ins-3nqpdn3i。可通过[DescribeInstances](https://cloud.tencent.com/document/product/213/15728)接口获取。
groups.security-group-id - String - (过滤条件)绑定的安全组实例ID,例如:sg-f9ekbxeq。可通过[DescribeSecurityGroups](https://cloud.tencent.com/document/product/215/15808)接口获取。
network-interface-name - String - (过滤条件)网卡实例名称。
network-interface-description - String - (过滤条件)网卡实例描述。
address-ip - String - (过滤条件)内网IPv4地址,单IP后缀模糊匹配,多IP精确匹配。可以与`ip-exact-match`配合做单IP的精确匹配查询。
ip-exact-match - Boolean - (过滤条件)内网IPv4精确匹配查询,存在多值情况,只取第一个。
tag-key - String -是否必填:否- (过滤条件)按照标签键进行过滤。使用请参考示例2
tag:tag-key - String - 是否必填:否 - (过滤条件)按照标签键值对进行过滤。 tag-key使用具体的标签键进行替换。使用请参考示例2。
is-primary - Boolean - 是否必填:否 - (过滤条件)按照是否主网卡进行过滤。值为true时,仅过滤主网卡;值为false时,仅过滤辅助网卡;此过滤参数未提供时,同时过滤主网卡和辅助网卡。
eni-type - String -是否必填:否- (过滤条件)按照网卡类型进行过滤。“0”-辅助网卡,“1”-主网卡,“2”:中继网卡。
eni-qos - String -是否必填:否- (过滤条件)按照网卡服务质量进行过滤。PT(云金)、AU(云银)、AG(云铜)、DEFAULT(默认)。
address-ipv6 - String - 是否必填:否 -(过滤条件)内网IPv6地址过滤,支持多ipv6地址查询,如果和address-ip一起使用取交集。
public-address-ip - String - (过滤条件)公网IPv4地址,精确匹配。
address-type - String - (过滤条件)IPv6 Cidr 的类型,精确匹配。`GUA`(全球单播地址), `ULA`(唯一本地地址)。 | 
| void | setLimit(Long Limit)Set 返回数量,默认为20,最大值为100。 | 
| void | setNetworkInterfaceIds(String[] NetworkInterfaceIds)Set 弹性网卡实例ID查询。形如:eni-pxir56ns。每次请求的实例的上限为100。参数不支持同时指定NetworkInterfaceIds和Filters。可通过[DescribeNetworkInterfaces](https://cloud.tencent.com/document/product/215/15817)接口获取。 | 
| void | setOffset(Long Offset)Set 偏移量,默认为0。 | 
| 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 DescribeNetworkInterfacesRequest()
public DescribeNetworkInterfacesRequest(DescribeNetworkInterfacesRequest source)
public String[] getNetworkInterfaceIds()
public void setNetworkInterfaceIds(String[] NetworkInterfaceIds)
NetworkInterfaceIds - 弹性网卡实例ID查询。形如:eni-pxir56ns。每次请求的实例的上限为100。参数不支持同时指定NetworkInterfaceIds和Filters。可通过[DescribeNetworkInterfaces](https://cloud.tencent.com/document/product/215/15817)接口获取。public Filter[] getFilters()
public void setFilters(Filter[] Filters)
Filters - 过滤条件,参数不支持同时指定NetworkInterfaceIds和Filters。
public Long getOffset()
public void setOffset(Long Offset)
Offset - 偏移量,默认为0。public Long getLimit()
public void setLimit(Long Limit)
Limit - 返回数量,默认为20,最大值为100。Copyright © 2025. All rights reserved.