public interface TerremarkVCloudClient extends Closeable
Modifier and Type | Method and Description |
---|---|
InternetService |
addInternetServiceToExistingIp(URI existingIpId,
String serviceName,
Protocol protocol,
int port,
AddInternetServiceOptions... options)
This call adds an internet service to a known, existing public IP.
|
Node |
addNode(URI internetServiceId,
String ipAddress,
String name,
int port,
AddNodeOptions... options)
This call adds a node to an existing internet service.
|
void |
cancelTask(URI taskId) |
Task |
cloneVAppInVDC(URI vDC,
URI toClone,
String newName,
CloneVAppOptions... options) |
Node |
configureNode(URI nodeId,
String name,
boolean enabled,
String description) |
Task |
configureVApp(VApp vApp,
VAppConfiguration configuration)
This call configures the settings of an existing vApp by passing the new
configuration.
|
void |
deleteInternetService(URI internetServiceId) |
void |
deleteKeyPair(URI keyPair) |
void |
deleteNode(URI nodeId) |
void |
deletePublicIp(URI ipId) |
Task |
deleteVApp(URI vAppId) |
Task |
deployVApp(URI vAppId) |
Catalog |
findCatalogInOrgNamed(String orgName,
String catalogName)
returns the catalog in the organization associated with the specified
name.
|
CatalogItem |
findCatalogItemInOrgCatalogNamed(String orgName,
String catalogName,
String itemName)
returns the catalog item in the catalog associated with the specified
name.
|
KeyPair |
findKeyPairInOrg(URI org,
String keyPairName) |
Network |
findNetworkInOrgVDCNamed(String orgName,
String catalogName,
String networkName) |
Org |
findOrgNamed(String orgName) |
TasksList |
findTasksListInOrgNamed(String orgName,
String tasksListName) |
VApp |
findVAppInOrgVDCNamed(String orgName,
String catalogName,
String vAppName) |
VAppTemplate |
findVAppTemplateInOrgCatalogNamed(String orgName,
String catalogName,
String itemName)
returns the vapp template corresponding to a catalog item in the catalog
associated with the specified name.
|
VDC |
findVDCInOrgNamed(String orgName,
String vdcName)
returns the VDC in the organization associated with the specified name.
|
KeyPair |
generateKeyPairInOrg(URI org,
String name,
boolean makeDefault) |
Set<InternetService> |
getAllInternetServicesInVDC(URI vDCId) |
Catalog |
getCatalog(URI catalogId) |
CatalogItem |
getCatalogItem(URI catalogItem) |
CustomizationParameters |
getCustomizationOptions(URI customizationOptions) |
InternetService |
getInternetService(URI internetServiceId) |
Set<InternetService> |
getInternetServicesOnPublicIp(URI ipId)
This call returns information about the internet service on a public IP.
|
KeyPair |
getKeyPair(URI keyPair) |
Network |
getNetwork(URI network) |
Node |
getNode(URI nodeId) |
Set<Node> |
getNodes(URI internetServiceId) |
Org |
getOrg(URI orgId) |
Set<InternetService> |
getPublicIp(URI ipId) |
Set<PublicIpAddress> |
getPublicIpsAssociatedWithVDC(URI vDCId)
This call returns a list of public IP addresses.
|
Task |
getTask(URI taskId)
Whenever the result of a request cannot be returned immediately, the
server creates a Task object and includes it in the response, as a member
of the Tasks container in the response body.
|
TasksList |
getTasksList(URI tasksListId) |
VApp |
getVApp(URI vApp) |
VAppTemplate |
getVAppTemplate(URI vAppTemplate) |
VDC |
getVDC(URI catalogItem) |
VApp |
instantiateVAppTemplateInVDC(URI vDC,
URI template,
String appName,
InstantiateVAppTemplateOptions... options) |
Set<KeyPair> |
listKeyPairsInOrg(URI org) |
Map<String,ReferenceType> |
listOrgs() |
Task |
powerOffVApp(URI vAppId)
This call powers off the vApp, as specified in the vApp's ovf:Startup
element.
|
Task |
powerOnVApp(URI vAppId)
This call powers on the vApp, as specified in the vApp's ovf:Startup
element.
|
Task |
resetVApp(URI vAppId)
This call resets the vApp.
|
void |
shutdownVApp(URI vAppId)
This call shuts down the vApp.
|
Task |
suspendVApp(URI vAppId)
This call suspends the vApp.
|
Task |
undeployVApp(URI vAppId) |
Catalog findCatalogInOrgNamed(@Nullable String orgName, @Nullable String catalogName)
orgName
- organization name, or null for the defaultcatalogName
- catalog name, or null for the defaultNoSuchElementException
- if you specified an org or catalog name that isn't presentCatalogItem getCatalogItem(URI catalogItem)
CatalogItem findCatalogItemInOrgCatalogNamed(@Nullable String orgName, @Nullable String catalogName, String itemName)
orgName
- organization name, or null for the defaultcatalogName
- catalog name, or null for the defaultitemName
- item you wish to lookupNoSuchElementException
- if you specified an org, catalog, or catalog item name that
isn't presentNetwork findNetworkInOrgVDCNamed(@Nullable String orgName, @Nullable String catalogName, String networkName)
VDC findVDCInOrgNamed(String orgName, String vdcName)
orgName
- organization name, or null for the defaultvdcName
- catalog name, or null for the defaultNoSuchElementException
- if you specified an org or vdc name that isn't presentTask getTask(URI taskId)
void cancelTask(URI taskId)
@Provides Map<String,ReferenceType> listOrgs()
VApp instantiateVAppTemplateInVDC(URI vDC, URI template, String appName, InstantiateVAppTemplateOptions... options)
Task cloneVAppInVDC(URI vDC, URI toClone, String newName, CloneVAppOptions... options)
VAppTemplate getVAppTemplate(URI vAppTemplate)
VAppTemplate findVAppTemplateInOrgCatalogNamed(@Nullable String orgName, @Nullable String catalogName, String itemName)
orgName
- organization name, or null for the defaultcatalogName
- catalog name, or null for the defaultitemName
- item you wish to lookupNoSuchElementException
- if you specified an org, catalog, or catalog item name that
isn't presentVApp findVAppInOrgVDCNamed(@Nullable String orgName, @Nullable String catalogName, String vAppName)
Task powerOnVApp(URI vAppId)
Task powerOffVApp(URI vAppId)
void shutdownVApp(URI vAppId)
CustomizationParameters getCustomizationOptions(URI customizationOptions)
Set<PublicIpAddress> getPublicIpsAssociatedWithVDC(URI vDCId)
void deletePublicIp(URI ipId)
InternetService addInternetServiceToExistingIp(URI existingIpId, String serviceName, Protocol protocol, int port, AddInternetServiceOptions... options)
void deleteInternetService(URI internetServiceId)
InternetService getInternetService(URI internetServiceId)
Set<InternetService> getAllInternetServicesInVDC(URI vDCId)
Set<InternetService> getInternetServicesOnPublicIp(URI ipId)
Set<InternetService> getPublicIp(URI ipId)
Node addNode(URI internetServiceId, String ipAddress, String name, int port, AddNodeOptions... options)
internetServiceId
- ipAddress
- name
- port
- options
- Node configureNode(URI nodeId, String name, boolean enabled, @Nullable String description)
void deleteNode(URI nodeId)
Task configureVApp(VApp vApp, VAppConfiguration configuration)
VApp
- vApp to change in power state offconfiguration
- (s) to changeKeyPair generateKeyPairInOrg(URI org, String name, boolean makeDefault)
IllegalStateException
- if a key of the same name already existsvoid deleteKeyPair(URI keyPair)
Copyright © 2009-2013 jclouds. All Rights Reserved.