public class AttachNetworkInterfaceRequest
extends com.aliyun.tea.TeaModel
限定符和类型 | 字段和说明 |
---|---|
String |
instanceId
The ID of the instance.
|
Integer |
networkCardIndex
网卡指定的物理网卡索引。
|
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 used.
|
构造器和说明 |
---|
AttachNetworkInterfaceRequest() |
@NameInMap(value="InstanceId") public String instanceId
The ID of the instance.
@NameInMap(value="NetworkCardIndex") public Integer networkCardIndex
网卡指定的物理网卡索引。
>NetworkCardIndex 取值与实例规格族有关。如果实例规格不支持NetworkCard则不能指定;如果支持,取值请参见[实例规格族](~~25378~~)。
@NameInMap(value="NetworkInterfaceId") public String networkInterfaceId
The ID of the ENI.
@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](~~25609~~) operation to query the most recent region list.
@NameInMap(value="ResourceOwnerAccount") public String resourceOwnerAccount
@NameInMap(value="ResourceOwnerId") public Long resourceOwnerId
@NameInMap(value="TrunkNetworkInstanceId") public String trunkNetworkInstanceId
The ID of the trunk ENI.
> This parameter is unavailable for use.
@NameInMap(value="WaitForNetworkConfigurationReady") public Boolean waitForNetworkConfigurationReady
> This parameter is no longer used.
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 © 2023. All rights reserved.