jclouds-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Phillips <andr...@apache.org>
Subject Re: Specifying the ip address of the iaas when creating Compute service
Date Sat, 27 Sep 2014 23:45:18 GMT
> Is there any way to stop an instance using jclouds? In ComputeService
> interface there is no such a method. There is a method for destroy an
> instance. But I want to an instance.

Stopping instances is not currently supported at the view level, i.e.  
in ComputeService. But for those APIs and providers that support this,  
you can usually do it using an API/provider-specific call.

See e.g. the InstanceApi in the case of EC2 [1].

Hope that helps!

ap

[1]  
http://javadocs.jclouds.cloudbees.net/org/jclouds/ec2/features/InstanceApi.html

Mime
View raw message