Package com.morpheusdata.core
Interface ProvisionInstanceServers
-
public interface ProvisionInstanceServers
Provides methods for fetching and creating required servers for instance provisioning. Should be implemented by ProvisioningProviders that may need to create servers manually for new instances- Since:
- 0.9.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Collection<ComputeServer>
getInstanceServers(Instance instance, ProvisionType provisionType, java.util.Map opts)
Returns the servers that should be used to create the containers for the given instance.
-
-
-
Method Detail
-
getInstanceServers
java.util.Collection<ComputeServer> getInstanceServers(Instance instance, ProvisionType provisionType, java.util.Map opts)
Returns the servers that should be used to create the containers for the given instance. If needed, ComputeServers should be created and then returned.- Parameters:
instance
- being createdprovisionType
- being provisionedopts
- additional options- Returns:
- Response from API
-
-