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 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 created
        provisionType - being provisioned
        opts - additional options
        Returns:
        Response from API