/AWS1/CL_EC2=>ASSIGNIPV6ADDRESSES()
¶
About AssignIpv6Addresses¶
Assigns the specified IPv6 addresses to the specified network interface. You can specify specific IPv6 addresses, or you can specify the number of IPv6 addresses to be automatically assigned from the subnet's IPv6 CIDR block range. You can assign as many IPv6 addresses to a network interface as you can assign private IPv4 addresses, and the limit varies by instance type.
You must specify either the IPv6 addresses or the IPv6 address count in the request.
You can optionally use Prefix Delegation on the network interface. You must specify either the IPV6 Prefix Delegation prefixes, or the IPv6 Prefix Delegation count. For information, see Assigning prefixes to network interfaces in the Amazon EC2 User Guide.
Method Signature¶
IMPORTING¶
Required arguments:¶
IV_NETWORKINTERFACEID
TYPE /AWS1/EC2NETWORKINTERFACEID
/AWS1/EC2NETWORKINTERFACEID
¶
The ID of the network interface.
Optional arguments:¶
IV_IPV6PREFIXCOUNT
TYPE /AWS1/EC2INTEGER
/AWS1/EC2INTEGER
¶
The number of IPv6 prefixes that Amazon Web Services automatically assigns to the network interface. You cannot use this option if you use the
Ipv6Prefixes
option.
IT_IPV6PREFIXES
TYPE /AWS1/CL_EC2IPPREFIXLIST_W=>TT_IPPREFIXLIST
TT_IPPREFIXLIST
¶
One or more IPv6 prefixes assigned to the network interface. You can't use this option if you use the
Ipv6PrefixCount
option.
IT_IPV6ADDRESSES
TYPE /AWS1/CL_EC2IPV6ADDRESSLIST_W=>TT_IPV6ADDRESSLIST
TT_IPV6ADDRESSLIST
¶
The IPv6 addresses to be assigned to the network interface. You can't use this option if you're specifying a number of IPv6 addresses.
IV_IPV6ADDRESSCOUNT
TYPE /AWS1/EC2INTEGER
/AWS1/EC2INTEGER
¶
The number of additional IPv6 addresses to assign to the network interface. The specified number of IPv6 addresses are assigned in addition to the existing IPv6 addresses that are already assigned to the network interface. Amazon EC2 automatically selects the IPv6 addresses from the subnet range. You can't use this option if specifying specific IPv6 addresses.
RETURNING¶
OO_OUTPUT
TYPE REF TO /AWS1/CL_EC2ASSIGNIPV6ADDRES01
/AWS1/CL_EC2ASSIGNIPV6ADDRES01
¶
Domain /AWS1/RT_ACCOUNT_ID Primitive Type NUMC