Skip to content

/AWS1/CL_DCO=>ALLOCATEPUBVIRTUALINTERFACE()

About AllocatePublicVirtualInterface

Provisions a public virtual interface to be owned by the specified Amazon Web Services account.

The owner of a connection calls this function to provision a public virtual interface to be owned by the specified Amazon Web Services account.

Virtual interfaces created using this function must be confirmed by the owner using ConfirmPublicVirtualInterface. Until this step has been completed, the virtual interface is in the confirming state and is not available to handle traffic.

When creating an IPv6 public virtual interface, omit the Amazon address and customer address. IPv6 addresses are automatically assigned from the Amazon pool of IPv6 addresses; you cannot specify custom IPv6 addresses.

Method Signature

IMPORTING

Required arguments:

IV_CONNECTIONID TYPE /AWS1/DCOCONNECTIONID /AWS1/DCOCONNECTIONID

The ID of the connection on which the public virtual interface is provisioned.

IV_OWNERACCOUNT TYPE /AWS1/DCOOWNERACCOUNT /AWS1/DCOOWNERACCOUNT

The ID of the Amazon Web Services account that owns the public virtual interface.

IO_NEWPUBVIRTUALINTERFACEA00 TYPE REF TO /AWS1/CL_DCONEWPUBVIRTUALINT00 /AWS1/CL_DCONEWPUBVIRTUALINT00

Information about the public virtual interface.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_DCOVIRTUALINTERFACE /AWS1/CL_DCOVIRTUALINTERFACE