public class AssignPrivateIpAddressesRequest
extends com.aliyun.tea.TeaModel
限定符和类型 | 字段和说明 |
---|---|
String |
clientToken
The client token that is used to ensure the idempotence of the request.
|
List<String> |
ipv4Prefix
> This parameter is in invitational preview and is unavailable for general users.
|
Integer |
ipv4PrefixCount
> This parameter is in invitational preview and is unavailable to general users.
|
String |
networkInterfaceId
The IDs of the ENIs.
|
String |
ownerAccount |
Long |
ownerId |
List<String> |
privateIpAddress
One or more secondary private IP addresses selected from within the CIDR block of the vSwitch that is connected to the ENI.
|
String |
regionId
The region ID of the ENI.
|
String |
resourceOwnerAccount |
Long |
resourceOwnerId |
Integer |
secondaryPrivateIpAddressCount
The number of private IP addresses to be automatically assigned from within the CIDR block of the vSwitch that is connected to the ENI.
|
构造器和说明 |
---|
AssignPrivateIpAddressesRequest() |
@NameInMap(value="ClientToken") public String clientToken
The client token that is used to ensure the idempotence of the request. You can use the client to generate the value, but you must make sure that the value is unique among different requests. The **ClientToken** value can only contain ASCII characters and cannot exceed 64 characters in length. For more information, see [How to ensure idempotence](~~25693~~).
@NameInMap(value="Ipv4Prefix") public List<String> ipv4Prefix
> This parameter is in invitational preview and is unavailable for general users.
@NameInMap(value="Ipv4PrefixCount") public Integer ipv4PrefixCount
> This parameter is in invitational preview and is unavailable to general users.
@NameInMap(value="NetworkInterfaceId") public String networkInterfaceId
The IDs of the ENIs.
@NameInMap(value="OwnerAccount") public String ownerAccount
@NameInMap(value="OwnerId") public Long ownerId
@NameInMap(value="PrivateIpAddress") public List<String> privateIpAddress
One or more secondary private IP addresses selected from within the CIDR block of the vSwitch that is connected to the ENI. Valid values of N:
* When the ENI is in the`Available` state, the valid values of N are 1 to 32.
* When the ENI is in the `InUse` state, the valid values of N are subject to the instance type. For more information, see [Instance families](~~25378~~).
To assign secondary private IP addresses to the ENI, you cannot specify the `PrivateIpAddress.N` and `SecondaryPrivateIpAddressCount` parameters at the same time.
@NameInMap(value="RegionId") public String regionId
The region ID of the ENI. You can call the [DescribeRegions](~~25609~~) operation to query the most recent list of regions.
@NameInMap(value="ResourceOwnerAccount") public String resourceOwnerAccount
@NameInMap(value="ResourceOwnerId") public Long resourceOwnerId
@NameInMap(value="SecondaryPrivateIpAddressCount") public Integer secondaryPrivateIpAddressCount
The number of private IP addresses to be automatically assigned from within the CIDR block of the vSwitch that is connected to the ENI.
To assign secondary private IP addresses to the ENI, you cannot specify the `PrivateIpAddress.N` and `SecondaryPrivateIpAddressCount` parameters at the same time.
public static AssignPrivateIpAddressesRequest build(Map<String,?> map) throws Exception
Exception
public AssignPrivateIpAddressesRequest setClientToken(String clientToken)
public String getClientToken()
public AssignPrivateIpAddressesRequest setIpv4Prefix(List<String> ipv4Prefix)
public AssignPrivateIpAddressesRequest setIpv4PrefixCount(Integer ipv4PrefixCount)
public Integer getIpv4PrefixCount()
public AssignPrivateIpAddressesRequest setNetworkInterfaceId(String networkInterfaceId)
public String getNetworkInterfaceId()
public AssignPrivateIpAddressesRequest setOwnerAccount(String ownerAccount)
public String getOwnerAccount()
public AssignPrivateIpAddressesRequest setOwnerId(Long ownerId)
public Long getOwnerId()
public AssignPrivateIpAddressesRequest setPrivateIpAddress(List<String> privateIpAddress)
public AssignPrivateIpAddressesRequest setRegionId(String regionId)
public String getRegionId()
public AssignPrivateIpAddressesRequest setResourceOwnerAccount(String resourceOwnerAccount)
public String getResourceOwnerAccount()
public AssignPrivateIpAddressesRequest setResourceOwnerId(Long resourceOwnerId)
public Long getResourceOwnerId()
public AssignPrivateIpAddressesRequest setSecondaryPrivateIpAddressCount(Integer secondaryPrivateIpAddressCount)
public Integer getSecondaryPrivateIpAddressCount()
Copyright © 2023. All rights reserved.