public class DescribeNetworkInterfacesRequest
extends com.aliyun.tea.TeaModel
限定符和类型 | 类和说明 |
---|---|
static class |
DescribeNetworkInterfacesRequest.DescribeNetworkInterfacesRequestTag |
限定符和类型 | 字段和说明 |
---|---|
String |
instanceId
The ID of the instance to which the ENI is attached.
|
List<String> |
ipv6Address
An array that consists of the IPv6 address of the ENI.
|
Integer |
maxResults
The maximum number of entries to return on each page.
|
List<String> |
networkInterfaceId
An array that consists of the IDs of the ENIs.
|
String |
networkInterfaceName
The name of the ENI.
|
String |
nextToken
The query token.
|
String |
ownerAccount |
Long |
ownerId |
Integer |
pageNumber
已过时。
|
Integer |
pageSize
已过时。
|
String |
primaryIpAddress
The primary private IPv4 address of the ENI.
|
List<String> |
privateIpAddress
An array that consists of the secondary private IPv4 addresses of the ENI.
|
String |
regionId
The region ID of the ENI.
|
String |
resourceGroupId
The ID of the resource group to which the ENI belongs.
|
String |
resourceOwnerAccount |
Long |
resourceOwnerId |
String |
securityGroupId
The ID of the security group to which the secondary ENI belongs.
|
Boolean |
serviceManaged
Specifies whether the user of the ENI is an Alibaba Cloud service or a distributor.
|
String |
status
The state of the ENI.
|
List<DescribeNetworkInterfacesRequest.DescribeNetworkInterfacesRequestTag> |
tag
The tags to use for query.
|
String |
type
The type of the ENI.
|
String |
vpcId
The ID of the virtual private cloud (VPC) to which the elastic network interface (ENI) belongs.
|
String |
vSwitchId
The ID of the vSwitch with which the ENI is associated.
|
构造器和说明 |
---|
DescribeNetworkInterfacesRequest() |
@NameInMap(value="InstanceId") public String instanceId
The ID of the instance to which the ENI is attached.
example:i-bp1e2l6djkndyuli****
@NameInMap(value="Ipv6Address") public List<String> ipv6Address
An array that consists of the IPv6 address of the ENI. You can specify multiple IPv6 addresses. Valid values of N: 1 to 100.
example:2408:4321:180:1701:94c7:bc38:3bfa:****
@NameInMap(value="MaxResults") public Integer maxResults
The maximum number of entries to return on each page. Valid values: 10 to 500.
Default values:
50
@NameInMap(value="NetworkInterfaceId") public List<String> networkInterfaceId
An array that consists of the IDs of the ENIs. You specify multiple ENI IDs. Valid values of N: 1 to 100.
example:eni-bp125p95hhdhn3ot****
@NameInMap(value="NetworkInterfaceName") public String networkInterfaceName
The name of the ENI.
example:test-eni-name
@NameInMap(value="NextToken") public String nextToken
The query token. Set the value to the NextToken
value returned in the last call to this operation.
For more information about how to check the responses returned by this operation, see the preceding "Description" section.
example:AAAAAdDWBF2****
@NameInMap(value="OwnerAccount") public String ownerAccount
@NameInMap(value="OwnerId") public Long ownerId
@NameInMap(value="PageNumber") @Deprecated public Integer pageNumber
The page number.
Pages start from page 1.
Default value: 1.
example:This parameter will be removed in the future. We recommend that you use NextToken and MaxResults for a paged query.
1
@NameInMap(value="PageSize") @Deprecated public Integer pageSize
The number of entries per page.
Valid values: 1 to 1000.
Default value: 10.
example:This parameter will be removed in the future. We recommend that you use NextToken and MaxResults for a paged query.
100
@NameInMap(value="PrimaryIpAddress") public String primaryIpAddress
The primary private IPv4 address of the ENI.
example:192.168.**.**
@NameInMap(value="PrivateIpAddress") public List<String> privateIpAddress
An array that consists of the secondary private IPv4 addresses of the ENI. You can specify multiple secondary private IPv4 addresses. Valid values of N: 1 to 100.
example:192.168.**.**
@NameInMap(value="RegionId") public String regionId
The region ID of the ENI. You can call the DescribeRegions operation to query the most recent region list.
This parameter is required.
example:cn-hangzhou
@NameInMap(value="ResourceGroupId") public String resourceGroupId
The ID of the resource group to which the ENI belongs. If this parameter is specified to query resources, up to 1,000 resources that belong to the specified resource group can be returned.
example:Resources in the default resource group are displayed in the response regardless of how this parameter is set.
rg-bp67acfmxazb4p****
@NameInMap(value="ResourceOwnerAccount") public String resourceOwnerAccount
@NameInMap(value="ResourceOwnerId") public Long resourceOwnerId
@NameInMap(value="SecurityGroupId") public String securityGroupId
The ID of the security group to which the secondary ENI belongs.
SecurityGroupId
parameter.sg-bp144yr32sx6ndw****
@NameInMap(value="ServiceManaged") public Boolean serviceManaged
Specifies whether the user of the ENI is an Alibaba Cloud service or a distributor.
example:true
@NameInMap(value="Status") public String status
The state of the ENI. Valid values:
This parameter is empty by default, which indicates that ENIs in all states are queried.
example:Available
@NameInMap(value="Tag") public List<DescribeNetworkInterfacesRequest.DescribeNetworkInterfacesRequestTag> tag
The tags to use for query.
@NameInMap(value="Type") public String type
The type of the ENI. Valid values:
This parameter is empty by default, which indicates that both primary and secondary ENIs are queried.
example:Secondary
@NameInMap(value="VSwitchId") public String vSwitchId
The ID of the vSwitch with which the ENI is associated.
example:vsw-bp16usj2p27htro3****
@NameInMap(value="VpcId") public String vpcId
The ID of the virtual private cloud (VPC) to which the elastic network interface (ENI) belongs.
example:vsw-bp16usj2p27htro3****
public static DescribeNetworkInterfacesRequest build(Map<String,?> map) throws Exception
Exception
public DescribeNetworkInterfacesRequest setInstanceId(String instanceId)
public String getInstanceId()
public DescribeNetworkInterfacesRequest setIpv6Address(List<String> ipv6Address)
public DescribeNetworkInterfacesRequest setMaxResults(Integer maxResults)
public Integer getMaxResults()
public DescribeNetworkInterfacesRequest setNetworkInterfaceId(List<String> networkInterfaceId)
public DescribeNetworkInterfacesRequest setNetworkInterfaceName(String networkInterfaceName)
public String getNetworkInterfaceName()
public DescribeNetworkInterfacesRequest setNextToken(String nextToken)
public String getNextToken()
public DescribeNetworkInterfacesRequest setOwnerAccount(String ownerAccount)
public String getOwnerAccount()
public DescribeNetworkInterfacesRequest setOwnerId(Long ownerId)
public Long getOwnerId()
public DescribeNetworkInterfacesRequest setPageNumber(Integer pageNumber)
public Integer getPageNumber()
public DescribeNetworkInterfacesRequest setPageSize(Integer pageSize)
public Integer getPageSize()
public DescribeNetworkInterfacesRequest setPrimaryIpAddress(String primaryIpAddress)
public String getPrimaryIpAddress()
public DescribeNetworkInterfacesRequest setPrivateIpAddress(List<String> privateIpAddress)
public DescribeNetworkInterfacesRequest setRegionId(String regionId)
public String getRegionId()
public DescribeNetworkInterfacesRequest setResourceGroupId(String resourceGroupId)
public String getResourceGroupId()
public DescribeNetworkInterfacesRequest setResourceOwnerAccount(String resourceOwnerAccount)
public String getResourceOwnerAccount()
public DescribeNetworkInterfacesRequest setResourceOwnerId(Long resourceOwnerId)
public Long getResourceOwnerId()
public DescribeNetworkInterfacesRequest setSecurityGroupId(String securityGroupId)
public String getSecurityGroupId()
public DescribeNetworkInterfacesRequest setServiceManaged(Boolean serviceManaged)
public Boolean getServiceManaged()
public DescribeNetworkInterfacesRequest setStatus(String status)
public String getStatus()
public DescribeNetworkInterfacesRequest setTag(List<DescribeNetworkInterfacesRequest.DescribeNetworkInterfacesRequestTag> tag)
public List<DescribeNetworkInterfacesRequest.DescribeNetworkInterfacesRequestTag> getTag()
public DescribeNetworkInterfacesRequest setType(String type)
public String getType()
public DescribeNetworkInterfacesRequest setVSwitchId(String vSwitchId)
public String getVSwitchId()
public DescribeNetworkInterfacesRequest setVpcId(String vpcId)
public String getVpcId()
Copyright © 2024. All rights reserved.