@Path(value="/vapp-networks")
@Consumes(value="application/json")
@Produces(value="application/vnd.ilandcloud.api.v1.0+json")
public interface VappNetworkResource
Modifier and Type | Method and Description |
---|---|
VappNetworkDHCPServiceResponse |
getDHCPService(String networkUuid)
Get DHCP service for a given vapp network.
|
VappNetworkFirewallResponse |
getFirewall(String networkUuid)
Get a firewall for a given vapp network.
|
VappNetworkNATServiceResponse |
getNATService(String networkUuid)
Get NAT service for a given vapp and network.
|
VappNetworkStaticRoutingServiceResponse |
getStaticRouting(String networkUuid)
Get static routing service for a given vapp and network.
|
VappNetworkResponse |
getVappNetwork(String networkUuid)
Get a vApp network by UUID.
|
VappNetworkInterfaceListResponse |
getVmInterfaces(String networkUuid)
Get vApp Network VM interfaces that are tied to this vApp network.
|
TaskResponse |
removeNetworkFromVapp(String networkUuid)
Delete a vApp network.
|
TaskResponse |
updateDHCP(String networkUuid,
VappNetworkDHCPServiceUpdateRequest dhcpService)
Update the DHCP service for a particular vApp.
|
TaskResponse |
updateFirewall(String networkUuid,
VappNetworkFirewallUpdateRequest firewall)
Update a firewall for a particular vApp.
|
TaskResponse |
updateNAT(String networkUuid,
VappNetworkNATServiceUpdateRequest natService)
Update the NAT service for a particular vApp.
|
TaskResponse |
updateStaticRouting(String networkUuid,
VappNetworkStaticRoutingServiceUpdateRequest staticRoutingService)
Update the static routing service for a particular vApp.
|
TaskResponse |
updateVappNetwork(String networkUuid,
VappNetworkUpdateRequest vappNetwork)
Update a vApp network's properties.
|
@GET @Path(value="/{networkUuid}") VappNetworkResponse getVappNetwork(@PathParam(value="networkUuid") String networkUuid)
networkUuid
- network uuid@DELETE @Path(value="/{networkUuid}") TaskResponse removeNetworkFromVapp(@PathParam(value="networkUuid") String networkUuid)
networkUuid
- network uuid@PUT @Path(value="/{networkUuid}") @Consumes(value="application/json") TaskResponse updateVappNetwork(@PathParam(value="networkUuid") String networkUuid, VappNetworkUpdateRequest vappNetwork)
networkUuid
- network uuid@GET @Path(value="/{networkUuid}/firewall") VappNetworkFirewallResponse getFirewall(@PathParam(value="networkUuid") String networkUuid)
networkUuid
- network uuid@POST @Path(value="/{networkUuid}/actions/update-firewall") @Consumes(value="application/json") TaskResponse updateFirewall(@PathParam(value="networkUuid") String networkUuid, VappNetworkFirewallUpdateRequest firewall)
networkUuid
- network uuidfirewall
- vapp firewall@GET @Path(value="/{networkUuid}/dhcp") VappNetworkDHCPServiceResponse getDHCPService(@PathParam(value="networkUuid") String networkUuid)
networkUuid
- network uuid@POST @Path(value="/{networkUuid}/actions/update-dhcp") @Consumes(value="application/json") TaskResponse updateDHCP(@PathParam(value="networkUuid") String networkUuid, VappNetworkDHCPServiceUpdateRequest dhcpService)
networkUuid
- network uuiddhcpService
- vapp dhcp service@POST @Path(value="/{networkUuid}/actions/update-static-routing") @Consumes(value="application/json") TaskResponse updateStaticRouting(@PathParam(value="networkUuid") String networkUuid, VappNetworkStaticRoutingServiceUpdateRequest staticRoutingService)
networkUuid
- network uuidstaticRoutingService
- vapp network static routing service@GET @Path(value="/{networkUuid}/static-routing") VappNetworkStaticRoutingServiceResponse getStaticRouting(@PathParam(value="networkUuid") String networkUuid)
networkUuid
- network uuid@GET @Path(value="/{networkUuid}/vm-interfaces") VappNetworkInterfaceListResponse getVmInterfaces(@PathParam(value="networkUuid") String networkUuid)
networkUuid
- network uuid@GET @Path(value="/{networkUuid}/nat") VappNetworkNATServiceResponse getNATService(@PathParam(value="networkUuid") String networkUuid)
networkUuid
- network uuid@POST @Path(value="/{networkUuid}/actions/update-nat") @Consumes(value="application/json") TaskResponse updateNAT(@PathParam(value="networkUuid") String networkUuid, VappNetworkNATServiceUpdateRequest natService)
networkUuid
- network uuidnatService
- vapp network nat serviceCopyright © 2023 iland Internet Solutions, Corp. All rights reserved.