@Path(value="/deployment")
public interface DeploymentService
| Modifier and Type | Method and Description |
|---|---|
void |
createDeployment(String deploymentId,
CreateDeploymentRequest request) |
CreateEc2ClusterResponse |
createEc2Cluster(String deploymentId,
CreateEc2ClusterRequest request) |
void |
destroyDeployment(String deploymentId) |
void |
destroyEc2Cluster(String deploymentId,
String clusterId) |
Cluster<? extends Host> |
getCluster(String deploymentId,
String clusterId) |
Deployment |
getDeployment(String deploymentId) |
Ec2Cluster |
getEc2Cluster(String deploymentId,
String clusterId) |
Set<String> |
listDeploymentIds() |
Set<String> |
listEc2ClusterIds(String deploymentId) |
@PUT
@Path(value="/deployments/{deploymentId}")
void createDeployment(@PathParam(value="deploymentId")
String deploymentId,
CreateDeploymentRequest request)
throws Exception
Exception@GET @Path(value="/deployments") Set<String> listDeploymentIds() throws Exception
Exception@GET
@Path(value="/deployments/{deploymentId}")
Deployment getDeployment(@PathParam(value="deploymentId")
String deploymentId)
throws Exception
Exception@DELETE
@Path(value="/deployments/{deploymentId}")
void destroyDeployment(@PathParam(value="deploymentId")
String deploymentId)
throws Exception
Exception@GET
@Path(value="/deployments/{deploymentId}/clusters/{clusterId}")
Cluster<? extends Host> getCluster(@PathParam(value="deploymentId")
String deploymentId,
@PathParam(value="clusterId")
String clusterId)
throws Exception
Exception@POST
@Path(value="/deployments/{deploymentId}/ec2/clusters")
CreateEc2ClusterResponse createEc2Cluster(@PathParam(value="deploymentId")
String deploymentId,
CreateEc2ClusterRequest request)
throws Exception
Exception@GET
@Path(value="/deployments/{deploymentId}/ec2/clusters")
Set<String> listEc2ClusterIds(@PathParam(value="deploymentId")
String deploymentId)
throws Exception
Exception@GET
@Path(value="/deployments/{deploymentId}/ec2/clusters/{clusterId}")
Ec2Cluster getEc2Cluster(@PathParam(value="deploymentId")
String deploymentId,
@PathParam(value="clusterId")
String clusterId)
throws Exception
ExceptionCopyright © 2017. All rights reserved.