public interface CloudProvider extends PluginProvider
ProvisioningProvider is also available.
TODO : Still a Work In Progress and not yet supported| Modifier and Type | Method and Description |
|---|---|
ServiceResponse |
deleteCloud(Cloud cloudInfo)
Called when a Cloud From Morpheus is removed.
|
java.util.Collection<BackupProvider> |
getAvailableBackupProviders()
Grabs available backup providers related to the target Cloud Plugin.
|
java.util.Collection<ProvisioningProvider> |
getAvailableProvisioningProviders()
Grabs available provisioning providers related to the target Cloud Plugin.
|
java.util.Collection<ComputeServerType> |
getComputeServerTypes()
Grabs all
ComputeServerType objects that this CloudProvider can represent during a sync or during a provision. |
java.util.Collection<OptionType> |
getOptionTypes()
Provides a Collection of OptionType inputs that define the required input fields for defining a cloud integration
|
ProvisioningProvider |
getProvisioningProvider(java.lang.String providerCode)
Grabs the singleton instance of the provisioning provider based on the code defined in its implementation.
|
ServiceResponse |
initializeCloud(Cloud cloudInfo)
Called when a Cloud From Morpheus is first saved.
|
void |
refresh(Cloud cloudInfo)
Zones/Clouds are refreshed periodically by the Morpheus Environment.
|
void |
refreshDaily(Cloud cloudInfo)
Zones/Clouds are refreshed periodically by the Morpheus Environment.
|
ServiceResponse |
validate(Cloud cloudInfo)
Validates the submitted cloud information to make sure it is functioning correctly.
|
getMorpheusContext, getPlugin, getProviderCode, getProviderName, isPluginjava.util.Collection<OptionType> getOptionTypes()
java.util.Collection<ComputeServerType> getComputeServerTypes()
ComputeServerType objects that this CloudProvider can represent during a sync or during a provision.java.util.Collection<ProvisioningProvider> getAvailableProvisioningProviders()
java.util.Collection<BackupProvider> getAvailableBackupProviders()
ProvisioningProvider getProvisioningProvider(java.lang.String providerCode)
Plugin classproviderCode - String representation of the provider short codeServiceResponse validate(Cloud cloudInfo)
ServiceResponse is not marked as successful then the validation results will be
bubbled up to the user.cloudInfo - cloudServiceResponse initializeCloud(Cloud cloudInfo)
cloudInfo - instance of the cloud object that is being initialized.void refresh(Cloud cloudInfo)
cloudInfo - cloudvoid refreshDaily(Cloud cloudInfo)
cloudInfo - cloudServiceResponse deleteCloud(Cloud cloudInfo)
cloudInfo - instance of the cloud object that is being removed.