Package com.zerog.ia.auto.project.vapp
Class VirtualAppliance
- java.lang.Object
-
- com.zerog.ia.auto.project.ProjectObject
-
- com.zerog.ia.auto.project.vapp.VirtualMachineTier
-
- com.zerog.ia.auto.project.vapp.VirtualAppliance
-
- All Implemented Interfaces:
Referenceable,VirtualApplianceEntity,VirtualEntity,VirtualMachineCollectionEntity,VirtualSystemEntity
public final class VirtualAppliance extends VirtualMachineTier implements VirtualApplianceEntity
Encapsulates a Virtual Appliance
-
-
Constructor Summary
Constructors Constructor Description VirtualAppliance()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AWSEndPointgetAmazonInstanceLaunchRegion()Represents the instance-launching-region of the amazon instance while deployment.EULAgetApplianceEula()EULA of the applianceshortgetApplianceOutputOption()Appliance Output Option, set this to 0 for output as OVF+Disks, set this to 1 for OVA only and set this to 2 for BothVirtualApplianceTypegetApplianceType()Appliance Typejava.lang.StringgetApplianceUrl()Application URL of the Appliancejava.lang.StringgetApplianceVendor()Vendor of the appliancebooleangetDeployAppliance()Whether to deploy this appliance using specified credentialsbooleangetDeployApplianceAsEBS()Whether to deploy this appliance as EBS using specified credentialsjava.lang.StringgetEbsDeviceToBeAttached()The root device that needs to be attached for EBS volume createdjava.lang.StringgetEbsImageNameFromSnapshot()Name of the ami image to be created and registered from snapshotintgetEbsVolumeSize()The size of the EBS volume to be created in GiBsbooleangetSingleVMAppliance()Whether a pure VApp is to be created or a single-vm appliance is to be createdbooleangetUseSameBuildCredentialsForDeployment()Whether to use same build credentials for deployment(production server) or different credentialsjava.lang.StringgetVersion()version of the appliancevoidsetAmazonInstanceLaunchRegion(AWSEndPoint AmazonInstanceLaunchRegion)Represents the instance-launching-region of the amazon instance while deployment.voidsetApplianceEula(EULA ApplianceEula)EULA of the appliancevoidsetApplianceOutputOption(short ApplianceOutputOption)Appliance Output Option, set this to 0 for output as OVF+Disks, set this to 1 for OVA only and set this to 2 for BothvoidsetApplianceType(VirtualApplianceType ApplianceType)Appliance TypevoidsetApplianceUrl(java.lang.String ApplianceUrl)Application URL of the AppliancevoidsetApplianceVendor(java.lang.String ApplianceVendor)Vendor of the appliancevoidsetDeployAppliance(boolean DeployAppliance)Whether to deploy this appliance using specified credentialsvoidsetDeployApplianceAsEBS(boolean DeployApplianceAsEBS)Whether to deploy this appliance as EBS using specified credentialsvoidsetEbsDeviceToBeAttached(java.lang.String EbsDeviceToBeAttached)The root device that needs to be attached for EBS volume createdvoidsetEbsImageNameFromSnapshot(java.lang.String EbsImageNameFromSnapshot)Name of the ami image to be created and registered from snapshotvoidsetEbsVolumeSize(int EbsVolumeSize)The size of the EBS volume to be created in GiBsvoidsetSingleVMAppliance(boolean SingleVMAppliance)Whether a pure VApp is to be created or a single-vm appliance is to be createdvoidsetUseSameBuildCredentialsForDeployment(boolean UseSameBuildCredentialsForDeployment)Whether to use same build credentials for deployment(production server) or different credentialsvoidsetVersion(java.lang.String Version)version of the appliance-
Methods inherited from class com.zerog.ia.auto.project.vapp.VirtualMachineTier
getChildren, getId, getInfo, getName, getParent, getProductInformationList, getUUID, getVseStartupInfo, setChildren, setId, setInfo, setName, setParent, setProductInformationList, setUUID, setVseStartupInfo
-
Methods inherited from class com.zerog.ia.auto.project.ProjectObject
equals, getReferenceID, hashCode, setReferenceID
-
-
-
-
Method Detail
-
getApplianceType
public VirtualApplianceType getApplianceType()
Appliance Type
-
setApplianceType
public void setApplianceType(VirtualApplianceType ApplianceType)
Appliance Type
-
getVersion
public java.lang.String getVersion()
version of the appliance
-
setVersion
public void setVersion(java.lang.String Version)
version of the appliance
-
getApplianceUrl
public java.lang.String getApplianceUrl()
Application URL of the Appliance
-
setApplianceUrl
public void setApplianceUrl(java.lang.String ApplianceUrl)
Application URL of the Appliance
-
getApplianceEula
public EULA getApplianceEula()
EULA of the appliance
-
setApplianceEula
public void setApplianceEula(EULA ApplianceEula)
EULA of the appliance
-
getSingleVMAppliance
public boolean getSingleVMAppliance()
Whether a pure VApp is to be created or a single-vm appliance is to be created
-
setSingleVMAppliance
public void setSingleVMAppliance(boolean SingleVMAppliance)
Whether a pure VApp is to be created or a single-vm appliance is to be created
-
getApplianceVendor
public java.lang.String getApplianceVendor()
Vendor of the appliance
-
setApplianceVendor
public void setApplianceVendor(java.lang.String ApplianceVendor)
Vendor of the appliance
-
getApplianceOutputOption
public short getApplianceOutputOption()
Appliance Output Option, set this to 0 for output as OVF+Disks, set this to 1 for OVA only and set this to 2 for Both
-
setApplianceOutputOption
public void setApplianceOutputOption(short ApplianceOutputOption)
Appliance Output Option, set this to 0 for output as OVF+Disks, set this to 1 for OVA only and set this to 2 for Both
-
getDeployAppliance
public boolean getDeployAppliance()
Whether to deploy this appliance using specified credentials
-
setDeployAppliance
public void setDeployAppliance(boolean DeployAppliance)
Whether to deploy this appliance using specified credentials
-
getDeployApplianceAsEBS
public boolean getDeployApplianceAsEBS()
Whether to deploy this appliance as EBS using specified credentials
-
setDeployApplianceAsEBS
public void setDeployApplianceAsEBS(boolean DeployApplianceAsEBS)
Whether to deploy this appliance as EBS using specified credentials
-
getEbsVolumeSize
public int getEbsVolumeSize()
The size of the EBS volume to be created in GiBs
-
setEbsVolumeSize
public void setEbsVolumeSize(int EbsVolumeSize)
The size of the EBS volume to be created in GiBs
-
getEbsDeviceToBeAttached
public java.lang.String getEbsDeviceToBeAttached()
The root device that needs to be attached for EBS volume created
-
setEbsDeviceToBeAttached
public void setEbsDeviceToBeAttached(java.lang.String EbsDeviceToBeAttached)
The root device that needs to be attached for EBS volume created
-
getEbsImageNameFromSnapshot
public java.lang.String getEbsImageNameFromSnapshot()
Name of the ami image to be created and registered from snapshot
-
setEbsImageNameFromSnapshot
public void setEbsImageNameFromSnapshot(java.lang.String EbsImageNameFromSnapshot)
Name of the ami image to be created and registered from snapshot
-
getAmazonInstanceLaunchRegion
public AWSEndPoint getAmazonInstanceLaunchRegion()
Represents the instance-launching-region of the amazon instance while deployment.
-
setAmazonInstanceLaunchRegion
public void setAmazonInstanceLaunchRegion(AWSEndPoint AmazonInstanceLaunchRegion)
Represents the instance-launching-region of the amazon instance while deployment.
-
getUseSameBuildCredentialsForDeployment
public boolean getUseSameBuildCredentialsForDeployment()
Whether to use same build credentials for deployment(production server) or different credentials
-
setUseSameBuildCredentialsForDeployment
public void setUseSameBuildCredentialsForDeployment(boolean UseSameBuildCredentialsForDeployment)
Whether to use same build credentials for deployment(production server) or different credentials
-
-