org.jclouds.cloudstack.features
Interface AddressClient


public interface AddressClient

Provides synchronous access to CloudStack IPAddress features.

Author:
Adrian Cole
See Also:
IPAddressAsyncClient,

Method Summary
 AsyncCreateResponse associateIPAddressInZone(long zoneId, AssociateIPAddressOptions... options)
          Acquires and associates a public IP to an account.
 void disassociateIPAddress(long id)
          Disassociates an ip address from the account.
 PublicIPAddress getPublicIPAddress(long id)
          get a specific IPAddress by id
 Set<PublicIPAddress> listPublicIPAddresses(ListPublicIPAddressesOptions... options)
          Lists IPAddresses
 

Method Detail

listPublicIPAddresses

Set<PublicIPAddress> listPublicIPAddresses(ListPublicIPAddressesOptions... options)
Lists IPAddresses

Parameters:
options - if present, how to constrain the list.
Returns:
IPAddresses matching query, or empty set, if no IPAddresses are found

getPublicIPAddress

PublicIPAddress getPublicIPAddress(long id)
get a specific IPAddress by id

Parameters:
id - IPAddress to get
Returns:
IPAddress or null if not found

associateIPAddressInZone

AsyncCreateResponse associateIPAddressInZone(long zoneId,
                                             AssociateIPAddressOptions... options)
Acquires and associates a public IP to an account.

Parameters:
zoneId - the ID of the availability zone you want to acquire an public IP address from
Returns:
IPAddress

disassociateIPAddress

void disassociateIPAddress(long id)
Disassociates an ip address from the account.

Parameters:
id - the id of the public ip address to disassociate


Copyright © 2009-2012 jclouds. All Rights Reserved.