Interface ScaleProvider

All Superinterfaces:
PluginProvider

public interface ScaleProvider extends PluginProvider
Provides a standard set of methods for interacting with auto scale integrations
  • Method Details

    • getDescription

      String getDescription()
      Grabs the description for the ScaleProvider
      Returns:
      String
    • getIcon

      Icon getIcon()
      Returns the logo for display. SVGs are preferred.
      Returns:
      Icon representation of assets stored in the src/assets of the project.
      Since:
      0.13.0
    • getOptionTypes

      Collection<OptionType> getOptionTypes()
      Provides a Collection of OptionType inputs that define the required input fields for defining a scale type (if applicable)
      Returns:
      Collection of OptionType
    • getScaleTypes

      Collection<InstanceScaleType> getScaleTypes()
      Provides a collection of scale types that need to be configured in the morpheus environment along with the various child entities required by the scale type
      Returns:
      Collection of InstanceScaleType
    • postProvisionInstance

      default ServiceResponse postProvisionInstance(Instance instance)
      Implement this method to perform some tasks after an instance has been provisioned via morpheus. For example, update a scale group details etc.
      Parameters:
      instance - a provisioned Instance
      Returns:
      ServiceResponse
    • removeInstance

      default ServiceResponse removeInstance(Instance instance)
      Implement this method to perform some operations when an instance has been removed from morpheus
      Parameters:
      instance - the Instance to be removed
      Returns:
      ServiceResponse
    • updateInstance

      default ServiceResponse updateInstance(Instance instance)
      Implement this method to perform some operations when an instance has been updated
      Parameters:
      instance - the Instance being updated
      Returns:
      ServiceResponse