Modifier and Type | Method and Description |
---|---|
AsyncCreateResponse |
associateIPAddressInZone(String zoneId,
AssociateIPAddressOptions... options)
Acquires and associates a public IP to an account.
|
void |
disassociateIPAddress(String id)
Disassociates an ip address from the account.
|
PublicIPAddress |
getPublicIPAddress(String id)
get a specific IPAddress by id
|
Set<PublicIPAddress> |
listPublicIPAddresses(ListPublicIPAddressesOptions... options)
Lists IPAddresses
|
@Named(value="listPublicIpAddresses") @GET @Consumes(value="application/json") Set<PublicIPAddress> listPublicIPAddresses(ListPublicIPAddressesOptions... options)
options
- if present, how to constrain the list.@Named(value="listPublicIpAddresses") @GET @Consumes(value="application/json") PublicIPAddress getPublicIPAddress(@QueryParam(value="id") String id)
id
- IPAddress to get@Named(value="associateIpAddress") @GET @Consumes(value="application/json") AsyncCreateResponse associateIPAddressInZone(@QueryParam(value="zoneid") String zoneId, AssociateIPAddressOptions... options)
zoneId
- the ID of the availability zone you want to acquire an public IP
address from@Named(value="disassociateIpAddress") @GET void disassociateIPAddress(@QueryParam(value="id") String id)
id
- the id of the public ip address to disassociateCopyright © 2009-2018 The Apache Software Foundation. All Rights Reserved.