public interface VAppTemplateClient
VAppTemplate
objects.VAppTemplateAsyncClient
Modifier and Type | Method and Description |
---|---|
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
|
MetadataClient.Writeable |
getMetadataClient() |
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.
|
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 templateTask modifyVAppTemplate(URI templateUri, VAppTemplate template)
PUT /vAppTemplate/{id}
templateUri
- the URI of the templatetemplate
- the template containing the new name and/or descriptionTask deleteVappTemplate(URI templateUri)
DELETE /vAppTemplate/{id}
templateUri
- the URI of the templateTask consolidateVm(URI templateUri)
POST /vAppTemplate/{id}/action/consolidate
templateUri
- the URI of the templatevoid 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 templateTask relocateVm(URI templateUri, RelocateParams params)
POST /vAppTemplate/{id}/action/relocate
templateUri
- the URI of the templateparams
- contains the reference to the new datastoreCustomizationSection getCustomizationSection(URI templateUri)
GET /vAppTemplate/{id}/customizationSection
templateUri
- the URI of the templateTask modifyCustomizationSection(URI templateUri, CustomizationSection section)
PUT /vAppTemplate/{id}/customizationSection
templateUri
- the URI of the templatesection
- the new configuration to applyGuestCustomizationSection getGuestCustomizationSection(URI templateUri)
GET /vAppTemplate/{id}/guestCustomizationSection
templateUri
- the URI of the templateTask modifyGuestCustomizationSection(URI templateUri, GuestCustomizationSection section)
PUT /vAppTemplate/{id}/guestCustomizationSection
templateUri
- the URI of the templatesection
- the new configuration to applyLeaseSettingsSection getLeaseSettingsSection(URI templateUri)
GET /vAppTemplate/{id}/leaseSettingsSection
templateUri
- the URI of the templateTask modifyLeaseSettingsSection(URI templateUri, LeaseSettingsSection section)
PUT /vAppTemplate/{id}/leaseSettingsSection
templateUri
- the URI of the templatesection
- the new configuration to applyNetworkConfigSection getNetworkConfigSection(URI templateUri)
GET /vAppTemplate/{id}/networkConfigSection
templateUri
- the URI of the templateTask modifyNetworkConfigSection(URI templateUri, NetworkConfigSection section)
PUT /vAppTemplate/{id}/networkConfigSection
templateUri
- the URI of the templatesection
- the new configuration to applyNetworkConnectionSection getNetworkConnectionSection(URI templateUri)
GET /vAppTemplate/{id}/networkConnectionSection
templateUri
- the URI of the templateTask modifyNetworkConnectionSection(URI templateUri, NetworkConnectionSection section)
PUT /vAppTemplate/{id}/networkConnectionSection
templateUri
- the URI of the templatesection
- the new configuration to applyNetworkSection getNetworkSection(URI templateUri)
GET /vAppTemplate/{id}/networkSection
templateUri
- the URI of the templateEnvelope getOvf(URI templateUri)
GET /vAppTemplate/{id}/ovf
templateUri
- the URI of the templateOwner getOwner(URI templateUri)
GET /vAppTemplate/{id}/owner
templateUri
- the URI of the templateProductSectionList getProductSections(URI templateUri)
GET /vAppTemplate/{id}/productSections
templateUri
- the URI of the templateTask modifyProductSections(URI templateUri, ProductSectionList sections)
PUT /vAppTemplate/{id}/productSections
templateUri
- the URI of the templateReferences getShadowVms(URI templateUri)
GET /vAppTemplate/{id}/shadowVms
templateUri
- the URI of the templateMetadataClient.Writeable getMetadataClient()
Metadata
featuresCopyright © 2009-2012 jclouds. All Rights Reserved.