Package org.jclouds.cloudstack.features
Interface GlobalVlanApi
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description VlanIPRange
createVlanIPRange(String startIP, String endIP, CreateVlanIPRangeOptions... options)
Creates a VLAN IP range.void
deleteVlanIPRange(String rangeId)
Deletes a VLAN IP range.VlanIPRange
getVlanIPRange(String id)
Get the details of an IP range by its id.Set<VlanIPRange>
listVlanIPRanges(ListVlanIPRangesOptions... options)
Lists all VLAN IP ranges.
-
-
-
Method Detail
-
getVlanIPRange
@Named("listVlanIpRanges") @GET @Consumes("application/json") VlanIPRange getVlanIPRange(@QueryParam("id") String id)
Get the details of an IP range by its id.- Parameters:
id
- the required IP range.- Returns:
- the requested IP range.
-
listVlanIPRanges
@Named("listVlanIpRanges") @GET @Consumes("application/json") Set<VlanIPRange> listVlanIPRanges(ListVlanIPRangesOptions... options)
Lists all VLAN IP ranges.- Parameters:
options
- optional arguments.- Returns:
- the list of IP ranges that match the criteria.
-
createVlanIPRange
@Named("createVlanIpRange") @GET @Consumes("application/json") VlanIPRange createVlanIPRange(@QueryParam("startip") String startIP, @QueryParam("endip") String endIP, CreateVlanIPRangeOptions... options)
Creates a VLAN IP range.- Parameters:
startIP
- the beginning IP address in the VLAN IP rangeendIP
- the ending IP address in the VLAN IP rangeoptions
- optional arguments- Returns:
- the newly-create IP range.
-
deleteVlanIPRange
@Named("deleteVlanIpRange") @GET @Consumes("application/json") void deleteVlanIPRange(@QueryParam("id") String rangeId)
Deletes a VLAN IP range.- Parameters:
rangeId
- the id of the VLAN IP range
-
-