public interface CloudProviderProfile
| Modifier and Type | Method and Description |
|---|---|
CloudDeployedInstanceInfo |
deployNewInstanceFromTemplate(java.util.Map<java.lang.String,java.lang.String> templateProperties)
Deploy a new instance in the cloud with the specified template properties.
|
java.util.Map<java.lang.String,java.lang.String> |
getCloudTemplateProperties(java.lang.String template) |
java.util.List<CloudTemplate> |
getCloudTemplates()
Retrieve the human readable names of available templates in the cloud which can be selected for a cloud execution server.
|
java.lang.String |
getPluginVersion() |
CloudProviderProperty[] |
getProviderProperties()
Returns the properties used to configure a cloud provider profile.
|
java.lang.String |
getProviderTypeId() |
java.lang.String |
getProviderTypeLabel() |
StringResolver |
getStringResolver() |
boolean |
isInstanceRunning(java.util.Map<java.lang.String,java.lang.String> instanceProperties)
Indicate if a specific instance is running
|
void |
setLogHandler(java.util.logging.Handler logHandler)
This is called once after an implementing object has been created to allow the plugin to delegate log messages to the Silk Central log file.
|
void |
setProfileProperties(java.lang.String username,
java.lang.String password,
java.util.Map<java.lang.String,java.lang.String> propertyValues)
Sets the property values entered in the New/Edit Cloud Provider Profile dialog as ID/value pairs.
|
void |
undeployAndDeleteInstance(java.util.Map<java.lang.String,java.lang.String> instanceProperties)
Undeploy and delete the instance identified by the passed instance properties.
|
void |
validateProfile()
Verify if the cloud can be accessed applying the properties set before with
setProfileProperties(String, String, Map) |
void setLogHandler(java.util.logging.Handler logHandler)
logHandler - java.lang.String getPluginVersion()
java.lang.String getProviderTypeId()
java.lang.String getProviderTypeLabel()
CloudProviderProperty[] getProviderProperties()
getStringResolver() to obtain
translated human readable strings for each of these properties.CloudProviderPropertys for this cloud provider. Must not be null.void setProfileProperties(java.lang.String username,
java.lang.String password,
java.util.Map<java.lang.String,java.lang.String> propertyValues)
username - a credential string specifying the account to be used to access the Cloudpassword - the passwordpropertyValues - the property values. The keys in the map are the names returned by getProviderProperties()void validateProfile()
throws CloudProviderProfileException
setProfileProperties(String, String, Map)CloudProviderProfileException - if the validation failsStringResolver getStringResolver()
StringResolver used to translate the provider property IDs to human readable localized labels.java.util.List<CloudTemplate> getCloudTemplates() throws CloudProviderProfileException
CloudProviderProfileExceptionjava.util.Map<java.lang.String,java.lang.String> getCloudTemplateProperties(java.lang.String template)
throws CloudProviderProfileException
template - the human readable name of the selected cloud template for which to obtain properties.CloudProviderProfileExceptionCloudDeployedInstanceInfo deployNewInstanceFromTemplate(java.util.Map<java.lang.String,java.lang.String> templateProperties) throws CloudProviderProfileException
templateProperties - the template properties returned by getCloudTemplateProperties(String)CloudDeployedInstanceInfo containing one or multiple external host addresses and arbitrary properties to later identify the deployed instance.CloudProviderProfileExceptionvoid undeployAndDeleteInstance(java.util.Map<java.lang.String,java.lang.String> instanceProperties)
throws CloudProviderProfileException
instanceProperties - arbitrary name/value pairs describing a deployed instance as having been returned by deployNewInstanceFromTemplate(Map)CloudProviderProfileExceptionboolean isInstanceRunning(java.util.Map<java.lang.String,java.lang.String> instanceProperties)
throws CloudProviderProfileException
instanceProperties - arbitrary name/value pairs describing a deployed instance as having been returned by deployNewInstanceFromTemplate(Map)CloudProviderProfileExceptionCopyright © Micro Focus 2004-2019. All rights reserved.