|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface VAppTemplateApi
Provides synchronous access to VAppTemplate objects.
VAppTemplateAsyncApi| Method Summary | |
|---|---|
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)
|
NetworkConfigSection |
getNetworkConfigSection(String templateUrn)
Retrieves the network config section of a vApp or vApp template. |
NetworkConfigSection |
getNetworkConfigSection(URI templateHref)
|
org.jclouds.dmtf.ovf.NetworkSection |
getNetworkSection(String templateUrn)
Retrieves the network section of a vApp or vApp template. |
org.jclouds.dmtf.ovf.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)
|
| Method Detail |
|---|
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 template
VAppTemplate 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 description
Task edit(URI templateHref,
VAppTemplate template)
Task remove(String templateUrn)
DELETE /vAppTemplate/{id}
templateUrn - the String of the template
Task remove(URI templateHref)
void 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 template
Task enableDownload(URI templateHref)
CustomizationSection getCustomizationSection(String templateUrn)
GET /vAppTemplate/{id}/customizationSection
templateUrn - the String of the template
CustomizationSection getCustomizationSection(URI templateHref)
LeaseSettingsSection getLeaseSettingsSection(String templateUrn)
GET /vAppTemplate/{id}/leaseSettingsSection
templateUrn - the String of the template
LeaseSettingsSection getLeaseSettingsSection(URI templateHref)
Task editLeaseSettingsSection(String templateUrn,
LeaseSettingsSection section)
PUT /vAppTemplate/{id}/leaseSettingsSection
templateUrn - the String of the templatesection - the new configuration to apply
Task editLeaseSettingsSection(URI templateHref,
LeaseSettingsSection section)
NetworkConfigSection getNetworkConfigSection(String templateUrn)
GET /vAppTemplate/{id}/networkConfigSection
templateUrn - the String of the template
NetworkConfigSection getNetworkConfigSection(URI templateHref)
org.jclouds.dmtf.ovf.NetworkSection getNetworkSection(String templateUrn)
GET /vAppTemplate/{id}/networkSection
templateUrn - the String of the template
org.jclouds.dmtf.ovf.NetworkSection getNetworkSection(URI templateHref)
Envelope getOvf(String templateUrn)
GET /vAppTemplate/{id}/ovf
templateUrn - the String of the template
Envelope getOvf(URI templateHref)
Owner getOwner(String templateUrn)
GET /vAppTemplate/{id}/owner
templateUrn - the String of the template
Owner getOwner(URI templateHref)
ProductSectionList getProductSections(String templateUrn)
GET /vAppTemplate/{id}/productSections
templateUrn - the String of the template
ProductSectionList getProductSections(URI templateHref)
Task editProductSections(String templateUrn,
ProductSectionList sections)
PUT /vAppTemplate/{id}/productSections
templateUrn - the String of the template
Task editProductSections(URI templateHref,
ProductSectionList sections)
References getShadowVms(String templateUrn)
GET /vAppTemplate/{id}/shadowVms
templateUrn - the String of the template
References getShadowVms(URI templateHref)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||