Modifier and Type | Method and Description |
---|---|
CatalogItem |
addVAppTemplateOrMediaImageToCatalogAndNameItem(URI entity,
URI catalog,
String name,
CatalogItemOptions... options)
A catalog can contain references to vApp templates and media images that have been uploaded to
any vDC in an organization.
|
void |
deleteCatalogItem(URI href) |
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.
|
Catalog |
getCatalog(URI catalogId) |
CatalogItem |
getCatalogItem(URI catalogItem) |
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 presentCatalogItem addVAppTemplateOrMediaImageToCatalogAndNameItem(URI entity, URI catalog, String name, CatalogItemOptions... options)
entity
- the reference to the vApp templates and media imagecatalog
- URI of the catalog to add the resourceEntity fromname
- name of the entry in the catalogoptions
- options such as description or propertiesvoid deleteCatalogItem(URI href)
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.