Users Guide

storages will be used by the servers that the original storage support). Target volume must be able to
allocate resources for the chosen configuration.
deployment – Target Service where new server component(s) are added.
targetStorage – ServiceComponent of STORAGE type that provides the configuration for the
duplicate storage(s).
newStorageName – Name of the new storage(s); if more than one instance of storages are
requested, sequence number is appended to the name.
numInstances – Specifies the number of storage instance(s) that will be added to the Service.
authenticate: This method must be called first to create a session before starting other method(s).
deployTemplate: Deploy a new Service with the configuration of the given Template.
NOTE: The target Template in ASM must auto-generate the required fields (For example: the
host name of the servers) other than the deployment name.
template – Target Template that is to provide the configuration for the new Service being
deployed.
deploymentName – Name of the new Service.
description – Optional parameter that describes the deployed Service
getHostConfig: Returns a ASMApplianceHostConfig object that contains the information regarding
the ASM Appliance (e.g., name, serverURL, credentials, etc).
getService: Retrieves the Service of the given name.
name – Name of the Service that should be retrieved.
getServiceStatus: Returns the status of the target Service (e.g., IN_PROGRESS, COMPLETE, ERROR).
vsoDeployment – Service that is to be checked for its status.
getServiceTemplateComponents: Retrieves a list of ServiceComponent objects from the given
Service.
deployment – The Service to retrieve the ServiceComponent objects.
getServiceTemplateComponentsByType: Retrieves a list of ServiceComponent objects, but the result
is filtered by the selected resource types.
deployment – The Service to retrieve the ServiceComponent objects.
storage – Boolean value indicating that the returned list of ServiceComponents should include
STORAGE type components if available.
server – Boolean value indicating that the returned list of ServiceComponents should include
SERVER type components if available.
cluster – Boolean value indicating that the returned list of ServiceComponents should include
CLUSTER type components if available.
vm – Boolean value indicating that the returned list of ServiceComponents should include
VIRTUALMACHINE type components if available.
app – Boolean value indicating that the returned list of ServiceComponents should include
SERVICE (application) type components if available.
14