|
||||||||||
| 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 | |
|---|---|
Task |
consolidateVm(URI templateUri)
Consolidates a VM |
Task |
deleteVappTemplate(URI templateUri)
Deletes a vApp template. |
void |
disableDownload(URI templateUri)
Disables the download link to the ovf of a vApp template. |
Task |
enableDownload(URI templateUri)
Enables downloading of the ovf of a vApp template. |
CustomizationSection |
getCustomizationSection(URI templateUri)
Retrieves the customization section of a vApp template. |
GuestCustomizationSection |
getGuestCustomizationSection(URI templateUri)
Retrieves the Guest Customization Section of a VM |
LeaseSettingsSection |
getLeaseSettingsSection(URI templateUri)
Retrieves the lease settings section of a vApp or vApp template |
MetadataApi.Writeable |
getMetadataApi()
|
NetworkConfigSection |
getNetworkConfigSection(URI templateUri)
Retrieves the network config section of a vApp or vApp template. |
NetworkConnectionSection |
getNetworkConnectionSection(URI templateUri)
Retrieves the network connection section of a VM |
NetworkSection |
getNetworkSection(URI templateUri)
Retrieves the network section of a vApp or vApp template. |
Envelope |
getOvf(URI templateUri)
Retrieves an OVF descriptor of a vApp template. |
Owner |
getOwner(URI templateUri)
Retrieves vApp template owner. |
ProductSectionList |
getProductSections(URI templateUri)
Retrieves VAppTemplate/VM product sections |
References |
getShadowVms(URI templateUri)
GET /vAppTemplate/{id}/shadowVms |
VAppTemplate |
getVAppTemplate(URI templateUri)
Retrieves a vApp template (can be used also to retrieve a VM from a vApp Template). |
Task |
modifyCustomizationSection(URI templateUri,
CustomizationSection section)
Modifies the vApp template customization information. |
Task |
modifyGuestCustomizationSection(URI templateUri,
GuestCustomizationSection section)
Modifies the guest customization options of a VM. |
Task |
modifyLeaseSettingsSection(URI templateUri,
LeaseSettingsSection section)
Modifies the lease settings section of a vApp or vApp template. |
Task |
modifyNetworkConfigSection(URI templateUri,
NetworkConfigSection section)
Modifies the network config section of a vApp. |
Task |
modifyNetworkConnectionSection(URI templateUri,
NetworkConnectionSection section)
Modifies the network connection section of a VM. |
Task |
modifyProductSections(URI templateUri,
ProductSectionList sections)
Modifies the product sections of a vApp or vApp template. |
Task |
modifyVAppTemplate(URI templateUri,
VAppTemplate template)
Modifies only the name/description of a vApp template. |
Task |
relocateVm(URI templateUri,
RelocateParams params)
Relocates a virtual machine in a vApp template to a different datastore. |
| Method Detail |
|---|
VAppTemplate getVAppTemplate(URI templateUri)
FAILED_CREATION(-1) -
Transient entity state, e.g., model object is created 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 created.
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}
templateUri - the URI of the template
Task modifyVAppTemplate(URI templateUri,
VAppTemplate template)
PUT /vAppTemplate/{id}
templateUri - the URI of the templatetemplate - the template containing the new name and/or description
Task deleteVappTemplate(URI templateUri)
DELETE /vAppTemplate/{id}
templateUri - the URI of the template
Task consolidateVm(URI templateUri)
POST /vAppTemplate/{id}/action/consolidate
templateUri - the URI of the template
void disableDownload(URI templateUri)
POST /vAppTemplate/{id}/action/disableDownload
templateUri - the URI of the templateTask enableDownload(URI templateUri)
POST /vAppTemplate/{id}/action/enableDownload
templateUri - the URI of the template
Task relocateVm(URI templateUri,
RelocateParams params)
POST /vAppTemplate/{id}/action/relocate
templateUri - the URI of the templateparams - contains the reference to the new datastore
CustomizationSection getCustomizationSection(URI templateUri)
GET /vAppTemplate/{id}/customizationSection
templateUri - the URI of the template
Task modifyCustomizationSection(URI templateUri,
CustomizationSection section)
PUT /vAppTemplate/{id}/customizationSection
templateUri - the URI of the templatesection - the new configuration to apply
GuestCustomizationSection getGuestCustomizationSection(URI templateUri)
GET /vAppTemplate/{id}/guestCustomizationSection
templateUri - the URI of the template
Task modifyGuestCustomizationSection(URI templateUri,
GuestCustomizationSection section)
PUT /vAppTemplate/{id}/guestCustomizationSection
templateUri - the URI of the templatesection - the new configuration to apply
LeaseSettingsSection getLeaseSettingsSection(URI templateUri)
GET /vAppTemplate/{id}/leaseSettingsSection
templateUri - the URI of the template
Task modifyLeaseSettingsSection(URI templateUri,
LeaseSettingsSection section)
PUT /vAppTemplate/{id}/leaseSettingsSection
templateUri - the URI of the templatesection - the new configuration to apply
NetworkConfigSection getNetworkConfigSection(URI templateUri)
GET /vAppTemplate/{id}/networkConfigSection
templateUri - the URI of the template
Task modifyNetworkConfigSection(URI templateUri,
NetworkConfigSection section)
PUT /vAppTemplate/{id}/networkConfigSection
templateUri - the URI of the templatesection - the new configuration to apply
NetworkConnectionSection getNetworkConnectionSection(URI templateUri)
GET /vAppTemplate/{id}/networkConnectionSection
templateUri - the URI of the template
Task modifyNetworkConnectionSection(URI templateUri,
NetworkConnectionSection section)
PUT /vAppTemplate/{id}/networkConnectionSection
templateUri - the URI of the templatesection - the new configuration to apply
NetworkSection getNetworkSection(URI templateUri)
GET /vAppTemplate/{id}/networkSection
templateUri - the URI of the template
Envelope getOvf(URI templateUri)
GET /vAppTemplate/{id}/ovf
templateUri - the URI of the template
Owner getOwner(URI templateUri)
GET /vAppTemplate/{id}/owner
templateUri - the URI of the template
ProductSectionList getProductSections(URI templateUri)
GET /vAppTemplate/{id}/productSections
templateUri - the URI of the template
Task modifyProductSections(URI templateUri,
ProductSectionList sections)
PUT /vAppTemplate/{id}/productSections
templateUri - the URI of the template
References getShadowVms(URI templateUri)
GET /vAppTemplate/{id}/shadowVms
templateUri - the URI of the template
MetadataApi.Writeable getMetadataApi()
Metadata features
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||