Package com.morpheusdata.core
Interface ProvisionInstanceServers
public interface ProvisionInstanceServers
Provides methods for fetching and creating required servers for instance provisioning. Should be implemented by
ProvisionProviders that may need to create servers manually for new instances
- Since:
- 0.9.0
-
Method Summary
Modifier and TypeMethodDescriptiongetInstanceServers
(Instance instance, ProvisionType provisionType, Map opts) Returns the servers that should be used to create the containers for the given instance.
-
Method Details
-
getInstanceServers
Collection<ComputeServer> getInstanceServers(Instance instance, ProvisionType provisionType, 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
-