class VMware_VCloud_SDK_VAppTemplate extends VMware_VCloud_SDK_Abstract
| string |
getEntityId()
Get vCloud ID of the vCloud resource entity from its data object. |
from VMware_VCloud_SDK_Abstract |
| VMware_VCloud_API_ReferenceType |
getVAppTemplateRef()
Get a reference to a VMware vCloud vApp template entity. |
|
| VMware_VCloud_API_VAppTemplateType |
getVAppTemplate()
Get a VMware vCloud vApp template entity. |
|
| string |
getId()
Constructs vCloud ID of this vApp template from its UUID. |
|
| VMware_VCloud_API_LinkType|null |
getVdcRef()
Get the link to the container of the vApp template. |
|
| VMware_VCloud_API_VdcType|null |
getVdc()
Get the container of the vApp template. |
|
| int |
getStatus()
Get status of a vApp template. |
|
| VMware_VCloud_API_TaskType |
relocate(VMware_VCloud_API_RelocateParamsType $params, string $name)
Relocate a VM to a different datastore. |
|
| VMware_VCloud_API_TaskType |
enableDownload(boolean $wait = true)
Enable a vApp template for downloading. |
|
| null |
disableDownload()
Disable a vApp template for downloading. |
|
| VMware_VCloud_API_OVF_EnvelopeType |
getOVFDescriptor()
Retrieve the OVF descriptor of a vApp Template directly. |
|
| String |
getOVFDescriptorAsString()
Retrieve the OVF descriptor of a vApp Template directly as string. |
|
| null |
downloadOVFFiles(string $destDir = '.')
Download files to form OVF package. |
|
| null |
downloadLosslessOVFFile(string $destDir = '.')
Download lossless vAppTemplate OVF. |
|
| VMware_VCloud_API_OVF_NetworkSection_Type |
getNetworkSettings()
Get the network settings of this vApp template. |
|
| VMware_VCloud_API_NetworkConfigSectionType |
getNetworkConfigSettings()
Get the network configure settings of this vApp template. |
|
| VMware_VCloud_API_CustomizationSectionType |
getCustomizationSettings()
Get customization information of this vApp template. |
|
| VMware_VCloud_API_TaskType |
modifyCustomizationSettings(VMware_VCloud_API_CustomizationSectionType $customizationSection)
Modify customization settings of this vApp template. |
|
| VMware_VCloud_API_LeaseSettingsSectionType |
getLeaseSettings()
Get the lease settings of this vApp template. |
|
| VMware_VCloud_API_TaskType |
modifyLeaseSettings(VMware_VCloud_API_LeaseSettingsSectionType $leaseSettings)
Modify the lease settings of this vApp template. |
|
| VMware_VCloud_API_TaskType |
delete()
Delete this vApp template. |
|
| VMware_VCloud_API_LinkType|null |
getCatalogItemLink()
Get a reference to a VMware vCloud catalog entity. |
|
| boolean |
isPartOfCatalogItem()
Returns true if vApp template is in Catalog, otherwise false. |
|
| VMware_VCloud_API_TaskType |
deleteVAppTemplate()
Deletes vApp template and its catalog item. |
|
| VMware_VCloud_API_TaskType |
modify(string $name = null, string $description = null)
Modify name or/and description of this vApp template. |
|
| array|null |
getContainedVms($name $name = null)
Get contained VMs in the vApp template. |
|
| VMware_VCloud_API_OwnerType |
getOwner()
Get vApp template owner. |
|
| VMware_VCloud_API_LinkType|null |
getShadowVmsLink($name $name = null)
Get a link to the shadow VMs of the VM in the vApp template. |
|
| array |
getShadowVmsRefs(string $name)
Get collection of shadow vm references. |
|
| VMware_VCloud_API_MetadataType|VMware_VCloud_API_MetadataValueType|null |
getMetadata(string $key = null, string $domain = null)
Get metadata associated with the vApp template or metadata associated with the vApp template for the specified key in the specified domain. |
|
| VMware_VCloud_API_TaskType |
mergeMetadata(VMware_VCloud_API_MetadataType $meta)
Merges the metadata for a vApp template with the information provided. |
|
| VMware_VCloud_API_TaskType |
setMetadataByKey(string $key, VMware_VCloud_API_MetadataValueType $value, string $domain = null)
Sets the metadata for the particular key in the specified domain for the vApp template to the value provided. |
|
| VMware_VCloud_API_TaskType |
deleteMetadataByKey(string $key, string $domain = null)
Deletes the metadata for the particular key in the specified domain for the vApp template. |
public string
getEntityId()
Get vCloud ID of the vCloud resource entity from its data object.
public VMware_VCloud_API_ReferenceType
getVAppTemplateRef()
Get a reference to a VMware vCloud vApp template entity.
public VMware_VCloud_API_VAppTemplateType
getVAppTemplate()
Get a VMware vCloud vApp template entity.
public string
getId()
Constructs vCloud ID of this vApp template from its UUID.
public VMware_VCloud_API_LinkType|null
getVdcRef()
Get the link to the container of the vApp template.
public VMware_VCloud_API_VdcType|null
getVdc()
Get the container of the vApp template.
public int
getStatus()
Get status of a vApp template.
The following are the possible vApp template status:
public VMware_VCloud_API_TaskType
relocate(VMware_VCloud_API_RelocateParamsType $params, string $name)
Relocate a VM to a different datastore.
public VMware_VCloud_API_TaskType
enableDownload(boolean $wait = true)
Enable a vApp template for downloading.
public null
disableDownload()
Disable a vApp template for downloading.
public VMware_VCloud_API_OVF_EnvelopeType
getOVFDescriptor()
Retrieve the OVF descriptor of a vApp Template directly.
public String
getOVFDescriptorAsString()
Retrieve the OVF descriptor of a vApp Template directly as string.
public null
downloadOVFFiles(string $destDir = '.')
Download files to form OVF package.
public null
downloadLosslessOVFFile(string $destDir = '.')
Download lossless vAppTemplate OVF.
Lossless download mode generates ovf without loosing any of its configurations.
public VMware_VCloud_API_OVF_NetworkSection_Type
getNetworkSettings()
Get the network settings of this vApp template.
public VMware_VCloud_API_NetworkConfigSectionType
getNetworkConfigSettings()
Get the network configure settings of this vApp template.
public VMware_VCloud_API_CustomizationSectionType
getCustomizationSettings()
Get customization information of this vApp template.
public VMware_VCloud_API_TaskType
modifyCustomizationSettings(VMware_VCloud_API_CustomizationSectionType $customizationSection)
Modify customization settings of this vApp template.
public VMware_VCloud_API_LeaseSettingsSectionType
getLeaseSettings()
Get the lease settings of this vApp template.
public VMware_VCloud_API_TaskType
modifyLeaseSettings(VMware_VCloud_API_LeaseSettingsSectionType $leaseSettings)
Modify the lease settings of this vApp template.
public VMware_VCloud_API_TaskType
delete()
Delete this vApp template.
public VMware_VCloud_API_LinkType|null
getCatalogItemLink()
Get a reference to a VMware vCloud catalog entity.
public boolean
isPartOfCatalogItem()
Returns true if vApp template is in Catalog, otherwise false.
public VMware_VCloud_API_TaskType
deleteVAppTemplate()
Deletes vApp template and its catalog item.
If the vApp template is attached to a catalog item. Deletes vApp template alone. If the vApp template is not attached to any catalog item.
public VMware_VCloud_API_TaskType
modify(string $name = null, string $description = null)
Modify name or/and description of this vApp template.
public array|null
getContainedVms($name $name = null)
Get contained VMs in the vApp template.
public VMware_VCloud_API_OwnerType
getOwner()
Get vApp template owner.
public VMware_VCloud_API_LinkType|null
getShadowVmsLink($name $name = null)
Get a link to the shadow VMs of the VM in the vApp template.
public array
getShadowVmsRefs(string $name)
Get collection of shadow vm references.
vAppTemplate VM contains the shadow vm references.
public VMware_VCloud_API_MetadataType|VMware_VCloud_API_MetadataValueType|null
getMetadata(string $key = null, string $domain = null)
Get metadata associated with the vApp template or metadata associated with the vApp template for the specified key in the specified domain.
public VMware_VCloud_API_TaskType
mergeMetadata(VMware_VCloud_API_MetadataType $meta)
Merges the metadata for a vApp template with the information provided.
public VMware_VCloud_API_TaskType
setMetadataByKey(string $key, VMware_VCloud_API_MetadataValueType $value, string $domain = null)
Sets the metadata for the particular key in the specified domain for the vApp template to the value provided.
Note: This will replace any existing metadata information.
public VMware_VCloud_API_TaskType
deleteMetadataByKey(string $key, string $domain = null)
Deletes the metadata for the particular key in the specified domain for the vApp template.