Interface DNSProvider

  • All Superinterfaces:
    PluginProvider

    public interface DNSProvider
    extends PluginProvider
    Any plugin for Morpheus that provides DNS Related integration points should use this for implementing DNS Related Services used throughout the orchestration process
    Since:
    0.8.0
    • Method Detail

      • createRecord

        ServiceResponse createRecord​(AccountIntegration integration,
                                     NetworkDomainRecord record,
                                     java.util.Map opts)
        Creates a manually allocated DNS Record of the specified record type on the passed NetworkDomainRecord object. This is typically called outside of automation and is a manual method for administration purposes.
        Parameters:
        integration - The DNS Integration record which contains things like connectivity info to the DNS Provider
        record - The domain record that is being requested for creation. All the metadata needed to create teh record should exist here.
        opts - any additional options that may be used in the future to configure behavior. Currently unused
        Returns:
        a ServiceResponse with the success/error state of the create operation as well as the modified record.
      • deleteRecord

        ServiceResponse deleteRecord​(AccountIntegration integration,
                                     NetworkDomainRecord record,
                                     java.util.Map opts)
        Deletes a Zone Record that is specified on the Morpheus side with the target integration endpoint. This could be any record type within the specified integration and the authoritative zone object should be associated with the NetworkDomainRecord parameter.
        Parameters:
        integration - The DNS Integration record which contains things like connectivity info to the DNS Provider
        record - The zone record object to be deleted on the target integration.
        opts - opts any additional options that may be used in the future to configure behavior. Currently unused
        Returns:
        the ServiceResponse with the success/error of the delete operation.
      • getIntegrationOptionTypes

        java.util.List<OptionType> getIntegrationOptionTypes()
        Provide custom configuration options when creating a new AccountIntegration
        Returns:
        a List of OptionType
      • getIcon

        Icon getIcon()
        Returns the DNS Integration logo for display when a user needs to view or add this integration
        Returns:
        Icon representation of assets stored in the src/assets of the project.
        Since:
        0.12.3