public interface VAppTemplateApi
VAppTemplate
objects.VAppTemplateAsyncApi
Modifier and Type | Method and Description |
---|---|
void |
disableDownload(String templateUrn)
Disables the download link to the ovf of a vApp template.
|
void |
disableDownload(URI templateHref) |
Task |
edit(String templateUrn,
VAppTemplate template)
Modifies only the name/description of a vApp template.
|
Task |
edit(URI templateHref,
VAppTemplate template) |
Task |
editLeaseSettingsSection(String templateUrn,
LeaseSettingsSection section)
Modifies the lease settings section of a vApp or vApp template.
|
Task |
editLeaseSettingsSection(URI templateHref,
LeaseSettingsSection section) |
Task |
editProductSections(String templateUrn,
ProductSectionList sections)
Modifies the product sections of a vApp or vApp template.
|
Task |
editProductSections(URI templateHref,
ProductSectionList sections) |
Task |
enableDownload(String templateUrn)
Enables downloading of the ovf of a vApp template.
|
Task |
enableDownload(URI templateHref) |
VAppTemplate |
get(String templateUrn)
Retrieves a vApp template (can be used also to retrieve a VM from a vApp Template).
|
VAppTemplate |
get(URI templateHref) |
CustomizationSection |
getCustomizationSection(String templateUrn)
Retrieves the customization section of a vApp template.
|
CustomizationSection |
getCustomizationSection(URI templateHref) |
LeaseSettingsSection |
getLeaseSettingsSection(String templateUrn)
Retrieves the lease settings section of a vApp or vApp template
|
LeaseSettingsSection |
getLeaseSettingsSection(URI templateHref) |
MetadataApi.Writeable |
getMetadataApi(String templateUrn) |
MetadataApi.Writeable |
getMetadataApi(URI templateHref) |
NetworkConfigSection |
getNetworkConfigSection(String templateUrn)
Retrieves the network config section of a vApp or vApp template.
|
NetworkConfigSection |
getNetworkConfigSection(URI templateHref) |
NetworkSection |
getNetworkSection(String templateUrn)
Retrieves the network section of a vApp or vApp template.
|
NetworkSection |
getNetworkSection(URI templateHref) |
Envelope |
getOvf(String templateUrn)
Retrieves an OVF descriptor of a vApp template.
|
Envelope |
getOvf(URI templateHref) |
Owner |
getOwner(String templateUrn)
Retrieves vApp template owner.
|
Owner |
getOwner(URI templateHref) |
ProductSectionList |
getProductSections(String templateUrn)
Retrieves VAppTemplate/VM product sections
|
ProductSectionList |
getProductSections(URI templateHref) |
References |
getShadowVms(String templateUrn)
GET /vAppTemplate/{id}/shadowVms
|
References |
getShadowVms(URI templateHref) |
Task |
remove(String templateUrn)
Deletes a vApp template.
|
Task |
remove(URI templateHref) |
VAppTemplate get(String templateUrn)
FAILED_CREATION(-1)
- Transient entity state, e.g., model object is addd but the
corresponding VC backing does not exist yet. This is further sub-categorized in the respective
entities.
UNRESOLVED(0)
- Entity is whole, e.g., VM creation is complete and all the required model
objects and VC backings are addd.
RESOLVED(1)
- Entity is resolved.
UNKNOWN(6)
- Entity state could not be retrieved from the inventory, e.g., VM power state is
null.
POWERED_OFF(8)
- All VMs of the vApp template are powered off.
MIXED(10)
- vApp template status is set to MIXED
when the VMs in the vApp are in different power
states.
GET /vAppTemplate/{id}
templateUrn
- the String of the templateVAppTemplate get(URI templateHref)
Task edit(String templateUrn, VAppTemplate template)
PUT /vAppTemplate/{id}
templateUrn
- the String of the templatetemplate
- the template containing the new name and/or descriptionTask edit(URI templateHref, VAppTemplate template)
Task remove(String templateUrn)
DELETE /vAppTemplate/{id}
templateUrn
- the String of the templatevoid disableDownload(String templateUrn)
POST /vAppTemplate/{id}/action/disableDownload
templateUrn
- the String of the templatevoid disableDownload(URI templateHref)
Task enableDownload(String templateUrn)
POST /vAppTemplate/{id}/action/enableDownload
templateUrn
- the String of the templateCustomizationSection getCustomizationSection(String templateUrn)
GET /vAppTemplate/{id}/customizationSection
templateUrn
- the String of the templateCustomizationSection getCustomizationSection(URI templateHref)
LeaseSettingsSection getLeaseSettingsSection(String templateUrn)
GET /vAppTemplate/{id}/leaseSettingsSection
templateUrn
- the String of the templateLeaseSettingsSection getLeaseSettingsSection(URI templateHref)
Task editLeaseSettingsSection(String templateUrn, LeaseSettingsSection section)
PUT /vAppTemplate/{id}/leaseSettingsSection
templateUrn
- the String of the templatesection
- the new configuration to applyTask editLeaseSettingsSection(URI templateHref, LeaseSettingsSection section)
NetworkConfigSection getNetworkConfigSection(String templateUrn)
GET /vAppTemplate/{id}/networkConfigSection
templateUrn
- the String of the templateNetworkConfigSection getNetworkConfigSection(URI templateHref)
NetworkSection getNetworkSection(String templateUrn)
GET /vAppTemplate/{id}/networkSection
templateUrn
- the String of the templateNetworkSection getNetworkSection(URI templateHref)
Envelope getOvf(String templateUrn)
GET /vAppTemplate/{id}/ovf
templateUrn
- the String of the templateOwner getOwner(String templateUrn)
GET /vAppTemplate/{id}/owner
templateUrn
- the String of the templateProductSectionList getProductSections(String templateUrn)
GET /vAppTemplate/{id}/productSections
templateUrn
- the String of the templateProductSectionList getProductSections(URI templateHref)
Task editProductSections(String templateUrn, ProductSectionList sections)
PUT /vAppTemplate/{id}/productSections
templateUrn
- the String of the templateTask editProductSections(URI templateHref, ProductSectionList sections)
References getShadowVms(String templateUrn)
GET /vAppTemplate/{id}/shadowVms
templateUrn
- the String of the templateReferences getShadowVms(URI templateHref)
MetadataApi.Writeable getMetadataApi(String templateUrn)
Metadata
featuresMetadataApi.Writeable getMetadataApi(URI templateHref)
Copyright © 2009-2013 jclouds. All Rights Reserved.