Click or drag to resize

IWsEndUserSetEnqueueAssociateIpAddress Method

Assign an IPAddress to a specified network adapter. Using the method SetEnqueueAssociateIpAddress () WsEndUser of Aruba, you can associate network adapter to one or more private IPAddress account specified during authentication. The operation of the Association for IP a network adapter can not be completed if the IPAddress or network adapter does not exist or does not belong to the specified account, or if the virtual server is Stopped or Running state. Similarly, the pairing operation between IPAddress and network adapter not will fail if the IPAddress is already associated with a VLAN, or if there is queuing operation on the resource in question, in a state different from error or Completed.

Namespace:  Aruba.Cloud.WsEndUser
Assembly:  Aruba.Cloud.WsEndUser (in Aruba.Cloud.WsEndUser.dll) Version: (
WsResult SetEnqueueAssociateIpAddress(
	IpAddressesRequest ipRequest


Type: Aruba.Cloud.Provisioning.EntitiesIpAddressesRequest

Return Value

Type: WsResult
The method returns an object WsResult contains information about the method call.
private static void EnqueueAssociateIpAddress(WsEndUserClient client)
    WsResult result = client.SetEnqueueAssociateIpAddress(new int[]{4762, 4763}, 1906);

    if (!result.Success)
      throw new ApplicationException(String.Format(
        "An error has occurred while invoking SetEnqueueAssociateIpAddress(). {0}", result.ResultMessage));
  catch (Exception ex)
    throw new ApplicationException(String.Format(
      "An error has occurred while associating a list of IP addresses to a network adapter {0}", ex.Message));
See Also