Package com.iland.core.web.rest.api
Interface VappNetworkResource
@Path("/vapp-networks")
@Consumes("application/json")
@Produces("application/vnd.ilandcloud.api.v1.0+json")
public interface VappNetworkResource
Vapp Network Resource Interface.
- Author:
- Cory Snyder
-
Method Summary
Modifier and TypeMethodDescriptiongetDHCPService(String networkUuid) Get DHCP service for a given vapp network.getFirewall(String networkUuid) Get a firewall for a given vapp network.getNATService(String networkUuid) Get NAT service for a given vapp and network.getStaticRouting(String networkUuid) Get static routing service for a given vapp and network.getVappNetwork(String networkUuid) Get a vApp network by UUID.getVmInterfaces(String networkUuid) Get vApp Network VM interfaces that are tied to this vApp network.com.iland.core.web.rest.response.task.TaskResponseremoveNetworkFromVapp(String networkUuid) Delete a vApp network.com.iland.core.web.rest.response.task.TaskResponseupdateDHCP(String networkUuid, VappNetworkDHCPServiceUpdateRequest dhcpService) Update the DHCP service for a particular vApp.com.iland.core.web.rest.response.task.TaskResponseupdateFirewall(String networkUuid, VappNetworkFirewallUpdateRequest firewall) Update a firewall for a particular vApp.com.iland.core.web.rest.response.task.TaskResponseupdateNAT(String networkUuid, VappNetworkNATServiceUpdateRequest natService) Update the NAT service for a particular vApp.com.iland.core.web.rest.response.task.TaskResponseupdateStaticRouting(String networkUuid, VappNetworkStaticRoutingServiceUpdateRequest staticRoutingService) Update the static routing service for a particular vApp.com.iland.core.web.rest.response.task.TaskResponseupdateVappNetwork(String networkUuid, VappNetworkUpdateRequest vappNetwork) Update a vApp network's properties.
-
Method Details
-
getVappNetwork
@GET @Path("/{networkUuid}") VappNetworkResponse getVappNetwork(@PathParam("networkUuid") String networkUuid) Get a vApp network by UUID.- Parameters:
networkUuid- network uuid- Returns:
- asynchronous task details
-
removeNetworkFromVapp
@DELETE @Path("/{networkUuid}") com.iland.core.web.rest.response.task.TaskResponse removeNetworkFromVapp(@PathParam("networkUuid") String networkUuid) Delete a vApp network.- Parameters:
networkUuid- network uuid- Returns:
- asynchronous task details
-
updateVappNetwork
@PUT @Path("/{networkUuid}") @Consumes("application/json") com.iland.core.web.rest.response.task.TaskResponse updateVappNetwork(@PathParam("networkUuid") String networkUuid, VappNetworkUpdateRequest vappNetwork) Update a vApp network's properties. Note that vCloud Director changes the UUID of the network when it is updated.- Parameters:
networkUuid- network uuid- Returns:
- asynchronous task details
-
getFirewall
@GET @Path("/{networkUuid}/firewall") VappNetworkFirewallResponse getFirewall(@PathParam("networkUuid") String networkUuid) Get a firewall for a given vapp network.- Parameters:
networkUuid- network uuid- Returns:
- vapp newtork firewall
-
updateFirewall
@POST @Path("/{networkUuid}/actions/update-firewall") @Consumes("application/json") com.iland.core.web.rest.response.task.TaskResponse updateFirewall(@PathParam("networkUuid") String networkUuid, VappNetworkFirewallUpdateRequest firewall) Update a firewall for a particular vApp.- Parameters:
networkUuid- network uuidfirewall- vapp firewall- Returns:
- asynchronous task details
-
getDHCPService
@GET @Path("/{networkUuid}/dhcp") VappNetworkDHCPServiceResponse getDHCPService(@PathParam("networkUuid") String networkUuid) Get DHCP service for a given vapp network.- Parameters:
networkUuid- network uuid- Returns:
- vapp DHCP service
-
updateDHCP
@POST @Path("/{networkUuid}/actions/update-dhcp") @Consumes("application/json") com.iland.core.web.rest.response.task.TaskResponse updateDHCP(@PathParam("networkUuid") String networkUuid, VappNetworkDHCPServiceUpdateRequest dhcpService) Update the DHCP service for a particular vApp.- Parameters:
networkUuid- network uuiddhcpService- vapp dhcp service- Returns:
- asynchronous task details
-
updateStaticRouting
@POST @Path("/{networkUuid}/actions/update-static-routing") @Consumes("application/json") com.iland.core.web.rest.response.task.TaskResponse updateStaticRouting(@PathParam("networkUuid") String networkUuid, VappNetworkStaticRoutingServiceUpdateRequest staticRoutingService) Update the static routing service for a particular vApp.- Parameters:
networkUuid- network uuidstaticRoutingService- vapp network static routing service- Returns:
- asynchronous task details
-
getStaticRouting
@GET @Path("/{networkUuid}/static-routing") VappNetworkStaticRoutingServiceResponse getStaticRouting(@PathParam("networkUuid") String networkUuid) Get static routing service for a given vapp and network.- Parameters:
networkUuid- network uuid- Returns:
- vapp network static routing service
-
getVmInterfaces
@GET @Path("/{networkUuid}/vm-interfaces") VappNetworkInterfaceListResponse getVmInterfaces(@PathParam("networkUuid") String networkUuid) Get vApp Network VM interfaces that are tied to this vApp network.- Parameters:
networkUuid- network uuid- Returns:
- vapp network VM network interfaces tied to this network
-
getNATService
@GET @Path("/{networkUuid}/nat") VappNetworkNATServiceResponse getNATService(@PathParam("networkUuid") String networkUuid) Get NAT service for a given vapp and network.- Parameters:
networkUuid- network uuid- Returns:
- vapp network nat service
-
updateNAT
@POST @Path("/{networkUuid}/actions/update-nat") @Consumes("application/json") com.iland.core.web.rest.response.task.TaskResponse updateNAT(@PathParam("networkUuid") String networkUuid, VappNetworkNATServiceUpdateRequest natService) Update the NAT service for a particular vApp.- Parameters:
networkUuid- network uuidnatService- vapp network nat service- Returns:
- asynchronous task details
-