Package com.iland.core.web.rest.api
Interface OrgVdcNetworkResource
@Path("/org-vdc-networks")
@Consumes("application/json")
@Produces("application/vnd.ilandcloud.api.v1.0+json")
public interface OrgVdcNetworkResource
Org vDC Network Resource.
- Author:
- Cory Snyder
-
Method Summary
Modifier and TypeMethodDescriptioncom.iland.core.web.rest.response.task.TaskResponseconvertOrgVdcNetworkToDistributedInterface(String networkUuid) Convert org vdc network to a distributed interface.com.iland.core.web.rest.response.task.TaskResponseconvertOrgVdcNetworkToInternalInterface(String networkUuid) Convert org vdc network to an internal interface.com.iland.core.web.rest.response.task.TaskResponseconvertOrgVdcNetworkToSubInterface(String networkUuid) Convert org vdc network to a sub interface.com.iland.core.web.rest.response.task.TaskResponsedeleteOrgVdcNetwork(String networkUuid, boolean force, boolean recursive) Deletes an org-vdc network.getOrgVdcNetwork(String networkUuid) Get an org-vdc network.com.iland.core.web.rest.response.task.TaskResponseupdateOrgVdcNetwork(String networkUuid, OrgVdcNetworkUpdateRequest request) Modifies an org-vdc network.
-
Method Details
-
updateOrgVdcNetwork
@PUT @Path("/{networkUuid}") @Consumes("application/json") com.iland.core.web.rest.response.task.TaskResponse updateOrgVdcNetwork(@PathParam("networkUuid") String networkUuid, OrgVdcNetworkUpdateRequest request) Modifies an org-vdc network.- Parameters:
networkUuid- the uuid of the org-vdc networkrequest- org vdc network update request
-
deleteOrgVdcNetwork
@DELETE @Path("/{networkUuid}") com.iland.core.web.rest.response.task.TaskResponse deleteOrgVdcNetwork(@PathParam("networkUuid") String networkUuid, @QueryParam("force") boolean force, @QueryParam("recursive") boolean recursive) Deletes an org-vdc network.- Parameters:
networkUuid- the uuid of the org-vdc network to deleteforce- pass force = true with recursive = true to remove Org vDC network and any object it contains, regardless of their staterecursive- pass recursive = true to remove Org vDC network and any objects it contains that are in a state that normally allows removal- Returns:
- asynchronous task details
-
getOrgVdcNetwork
@GET @Path("/{networkUuid}") OrgVdcNetworkResponse getOrgVdcNetwork(@PathParam("networkUuid") String networkUuid) Get an org-vdc network.- Parameters:
networkUuid- the uuid of the org vdc network- Returns:
- org vdc network
-
convertOrgVdcNetworkToDistributedInterface
@POST @Path("/{networkUuid}/actions/convert-network-to-distributed-interface") @Consumes("application/json") com.iland.core.web.rest.response.task.TaskResponse convertOrgVdcNetworkToDistributedInterface(@PathParam("networkUuid") String networkUuid) Convert org vdc network to a distributed interface.- Parameters:
networkUuid- the uuid of the org vdc network- Returns:
TaskResponsethe task response
-
convertOrgVdcNetworkToSubInterface
@POST @Path("/{networkUuid}/actions/convert-network-to-sub-interface") @Consumes("application/json") com.iland.core.web.rest.response.task.TaskResponse convertOrgVdcNetworkToSubInterface(@PathParam("networkUuid") String networkUuid) Convert org vdc network to a sub interface.- Parameters:
networkUuid- the uuid of the org vdc network- Returns:
TaskResponsethe task response
-
convertOrgVdcNetworkToInternalInterface
@POST @Path("/{networkUuid}/actions/convert-network-to-internal-interface") @Consumes("application/json") com.iland.core.web.rest.response.task.TaskResponse convertOrgVdcNetworkToInternalInterface(@PathParam("networkUuid") String networkUuid) Convert org vdc network to an internal interface.- Parameters:
networkUuid- the uuid of the org vdc network- Returns:
TaskResponsethe task response
-