Interface MorpheusComputeTypeLayoutFactoryService


public interface MorpheusComputeTypeLayoutFactoryService
  • Method Summary

    Modifier and Type
    Method
    Description
    io.reactivex.rxjava3.core.Single<ComputeTypeLayout>
    buildDockerLayout(String codePrefix, String osVersion, String provisionTypeCode, String computeServerTypeCode, String virtualImageCode)
    Construct the scaffolding of a ComputeTypeLayout for defining the layout structure for a Docker server.
  • Method Details

    • buildDockerLayout

      io.reactivex.rxjava3.core.Single<ComputeTypeLayout> buildDockerLayout(String codePrefix, String osVersion, String provisionTypeCode, String computeServerTypeCode, String virtualImageCode)
      Construct the scaffolding of a ComputeTypeLayout for defining the layout structure for a Docker server. The returned ComputeTypeLayout will have the associated ComputeTypeSet and ContainerType defined. The typical use of this method is to obtain the structure (modify if needed) and then pass back to Morpheus via a call to ProvisionProvider.getComputeTypeLayouts()
      Parameters:
      codePrefix - a prefix to use on the ComputeTypeLayout, ComputeTypeSet, and ContainerType
      osVersion - the operating system version (i.e. '18.04' for Ubuntu)
      provisionTypeCode - the code of the ProvisionProvider to use when building the structure
      computeServerTypeCode - the code of the ComputeServerType to use on the ComputeTypeLayout and ComputeTypeSet
      virtualImageCode - the VirtualImage code to use on the ContainerType
      Returns:
      Observable the constructed ComputeTypeLayout