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 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 uuid
      firewall - 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 uuid
      dhcpService - 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 uuid
      staticRoutingService - 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 uuid
      natService - vapp network nat service
      Returns:
      asynchronous task details