public class AttachNetworkInterfaceRequest
extends com.aliyun.tea.TeaModel
限定符和类型 | 字段和说明 |
---|---|
String |
instanceId
The instance ID.
|
Integer |
networkCardIndex
The index of the network interface controller (NIC).
|
String |
networkInterfaceId
The ID of the ENI.
|
String |
ownerAccount |
Long |
ownerId |
String |
regionId
The region ID of the instance.
|
String |
resourceOwnerAccount |
Long |
resourceOwnerId |
String |
trunkNetworkInstanceId
The ID of the trunk ENI.
|
Boolean |
waitForNetworkConfigurationReady
This parameter is no longer supported.
|
构造器和说明 |
---|
AttachNetworkInterfaceRequest() |
@NameInMap(value="InstanceId") public String instanceId
The instance ID.
This parameter is required.
example:i-bp16qstyvxj9gpqw****
@NameInMap(value="NetworkCardIndex") public Integer networkCardIndex
The index of the network interface controller (NIC).
example:The value of this parameter varies based on the instance family of the specified instance. If the instance type of the specified instance does not support NICs, leave this parameter empty. If the instance type of the specified instance supports NICs, set this parameter to a valid value. For information about the valid values of this parameter, see Instance families.
0
@NameInMap(value="NetworkInterfaceId") public String networkInterfaceId
The ID of the ENI.
This parameter is required.
example:eni-bp17pdijfczax1huji****
@NameInMap(value="OwnerAccount") public String ownerAccount
@NameInMap(value="OwnerId") public Long ownerId
@NameInMap(value="RegionId") public String regionId
The region ID of the instance. You can call the DescribeRegions operation to query the most recent region list.
This parameter is required.
example:cn-hangzhou
@NameInMap(value="ResourceOwnerAccount") public String resourceOwnerAccount
@NameInMap(value="ResourceOwnerId") public Long resourceOwnerId
@NameInMap(value="TrunkNetworkInstanceId") public String trunkNetworkInstanceId
The ID of the trunk ENI.
example:This parameter is unavailable.
eni-f8zapqwj1v1j4ia3****
@NameInMap(value="WaitForNetworkConfigurationReady") public Boolean waitForNetworkConfigurationReady
example:This parameter is no longer supported.
null
public static AttachNetworkInterfaceRequest build(Map<String,?> map) throws Exception
Exception
public AttachNetworkInterfaceRequest setInstanceId(String instanceId)
public String getInstanceId()
public AttachNetworkInterfaceRequest setNetworkCardIndex(Integer networkCardIndex)
public Integer getNetworkCardIndex()
public AttachNetworkInterfaceRequest setNetworkInterfaceId(String networkInterfaceId)
public String getNetworkInterfaceId()
public AttachNetworkInterfaceRequest setOwnerAccount(String ownerAccount)
public String getOwnerAccount()
public AttachNetworkInterfaceRequest setOwnerId(Long ownerId)
public Long getOwnerId()
public AttachNetworkInterfaceRequest setRegionId(String regionId)
public String getRegionId()
public AttachNetworkInterfaceRequest setResourceOwnerAccount(String resourceOwnerAccount)
public String getResourceOwnerAccount()
public AttachNetworkInterfaceRequest setResourceOwnerId(Long resourceOwnerId)
public Long getResourceOwnerId()
public AttachNetworkInterfaceRequest setTrunkNetworkInstanceId(String trunkNetworkInstanceId)
public String getTrunkNetworkInstanceId()
public AttachNetworkInterfaceRequest setWaitForNetworkConfigurationReady(Boolean waitForNetworkConfigurationReady)
public Boolean getWaitForNetworkConfigurationReady()
Copyright © 2024. All rights reserved.