org.jclouds.compute
Interface ComputeServiceContext
- All Known Implementing Classes:
- ComputeServiceContextImpl
public interface ComputeServiceContext
Represents a cloud that has compute functionality.
- Author:
- Adrian Cole
getComputeService
ComputeService getComputeService()
getProviderSpecificContext
<S,A> RestContext<S,A> getProviderSpecificContext()
getCredentialStore
@Beta
Map<String,Credentials> getCredentialStore()
- retrieves a list of credentials for resources created within this context, keyed on
id
of the resource with a namespace prefix (ex. node#
. We are testing this approach for
resources such as compute nodes, where you could access this externally.
accessing credentials for a node
the key is in the form node#id
.
- if the node id is
8
, then the key will be node#8
- if the node id is
us-east-1/i-asdfdas
, then the key will be node#us-east-1/i-asdfdas
- if the node id is
http://cloud/instances/1
, then the key will be node#http://cloud/instances/1
credentialStore
@Beta
Map<String,Credentials> credentialStore()
- See Also:
getCredentialStore()
getUtils
Utils getUtils()
utils
Utils utils()
- See Also:
getUtils()
close
void close()
Copyright © 2009-2011 jclouds. All Rights Reserved.