Package com.iland.core.web.rest.api
Interface NsxTApplicationPortProfileResource
- All Superinterfaces:
com.iland.vcloud.nsxt.vdc.VdcApplicationPortProfileApi
@Path("/nsx-t/vdcs/portProfiles")
@Consumes("application/json")
@Produces("application/vnd.ilandcloud.api.v1.0+json")
public interface NsxTApplicationPortProfileResource
extends com.iland.vcloud.nsxt.vdc.VdcApplicationPortProfileApi
Resource Interface for Vdc application port profiles.
- Author:
- Cory Snyder
-
Method Summary
Modifier and TypeMethodDescriptioncom.iland.core.web.rest.response.task.TaskResponsecreateApplicationPortProfile(com.iland.vcloud.nsx.common.model.BaseVdcUuid vdcUuid, com.iland.core.web.rest.request.nsxt.ApplicationPortProfileRequest request) Create an application port profiles (Service) for this VDCcom.iland.core.web.rest.response.task.TaskResponsedeleteApplicationPortProfile(com.iland.vcloud.nsx.common.model.BaseVdcUuid vdcUuid, com.iland.vcloud.nsx.common.model.ApplicationPortProfileUuid uuid) Delete an application port profiles (Service) for this VDCcom.iland.core.web.rest.response.nsx.ApplicationResponsegetApplicationPortProfile(com.iland.vcloud.nsx.common.model.BaseVdcUuid vdcUuid, com.iland.vcloud.nsx.common.model.ApplicationPortProfileUuid uuid) Gets the application port profile for the given vcloud uuidcom.iland.core.web.rest.response.nsx.ApplicationListResponsegetApplicationPortProfiles(com.iland.vcloud.nsx.common.model.BaseVdcUuid vdcUuid, com.iland.core.web.rest.shared.nsxt.ApplicationPortProfileScope scope, Integer page, Integer pageSize, String nameFilter, String protocolFilter, String portFilter) Gets the application port profiles (Services) for this VDCApplication Port profiles can be owned by a vDC only (currently).com.iland.core.web.rest.response.task.TaskResponseupdateApplicationPortProfiles(com.iland.vcloud.nsx.common.model.BaseVdcUuid vdcUuid, com.iland.core.web.rest.request.nsxt.ApplicationPortProfileRequest request) Update an application port profiles (Service) for this VDC
-
Method Details
-
getApplicationPortProfile
@GET @Path("/{vdcUuid}/{uuid}") com.iland.core.web.rest.response.nsx.ApplicationResponse getApplicationPortProfile(@PathParam("vdcUuid") com.iland.vcloud.nsx.common.model.BaseVdcUuid vdcUuid, @PathParam("uuid") com.iland.vcloud.nsx.common.model.ApplicationPortProfileUuid uuid) Gets the application port profile for the given vcloud uuid- Specified by:
getApplicationPortProfilein interfacecom.iland.vcloud.nsxt.vdc.VdcApplicationPortProfileApi- Parameters:
uuid- the input vcloud port profile uuid- Returns:
- the list of port profiles for this Vdc
-
createApplicationPortProfile
@POST @Path("/{vdcUuid}/create-port-profile") com.iland.core.web.rest.response.task.TaskResponse createApplicationPortProfile(@PathParam("vdcUuid") com.iland.vcloud.nsx.common.model.BaseVdcUuid vdcUuid, com.iland.core.web.rest.request.nsxt.ApplicationPortProfileRequest request) Create an application port profiles (Service) for this VDC- Specified by:
createApplicationPortProfilein interfacecom.iland.vcloud.nsxt.vdc.VdcApplicationPortProfileApi- Parameters:
vdcUuid- the input vdc platform uuidrequest- the create request- Returns:
- the task response to track the status of create
-
updateApplicationPortProfiles
@PUT @Path("/{vdcUuid}/modify-port-profile") com.iland.core.web.rest.response.task.TaskResponse updateApplicationPortProfiles(@PathParam("vdcUuid") com.iland.vcloud.nsx.common.model.BaseVdcUuid vdcUuid, com.iland.core.web.rest.request.nsxt.ApplicationPortProfileRequest request) Update an application port profiles (Service) for this VDC- Specified by:
updateApplicationPortProfilesin interfacecom.iland.vcloud.nsxt.vdc.VdcApplicationPortProfileApi- Parameters:
vdcUuid- the input vdc platform uuid- Returns:
- the task response to track the status of update
-
deleteApplicationPortProfile
@DELETE @Path("/{vdcUuid}/{uuid}") com.iland.core.web.rest.response.task.TaskResponse deleteApplicationPortProfile(@PathParam("vdcUuid") com.iland.vcloud.nsx.common.model.BaseVdcUuid vdcUuid, @PathParam("uuid") com.iland.vcloud.nsx.common.model.ApplicationPortProfileUuid uuid) Delete an application port profiles (Service) for this VDC- Specified by:
deleteApplicationPortProfilein interfacecom.iland.vcloud.nsxt.vdc.VdcApplicationPortProfileApi- Parameters:
uuid- the input application port profile vdc uuid- Returns:
- the task response to track the status of update
-
getTaskOwnerEntityKey
Application Port profiles can be owned by a vDC only (currently). Use TaskResponse#other_attributes with this key on a port profile create or update Task to retrieve the owner entity UUID.- Specified by:
getTaskOwnerEntityKeyin interfacecom.iland.vcloud.nsxt.vdc.VdcApplicationPortProfileApi- Returns:
- the TaskResponse other_attributes key