5.5

Table Of Contents
operation="Creating Catalog SubscribedExternally (34)"
...
<Task>
<Tasks>
<Description>Example Catalog With External Subscription</Description>
<CatalogItems/>
<IsPublished>false</IsPublished>
<DateCreated>2013-06-18T10:00:03.012-07:00</DateCreated>
<VersionNumber>1</VersionNumber>
<CatalogStorageProfiles/>
<ExternalCatalogSubscriptionParams>
<SubscribeToExternalFeeds>true</SubscribeToExternalFeeds>
<Location>https://vcloud2.example.com/vcsp/catalog/5</Location>
<LocalCopy>false</LocalCopy>
</ExternalCatalogSubscriptionParams>
</AdminCatalog>
What to do next
Synchronize the catalog with its external source. Any catalog with an external subscription includes a link of
the form:
<Link
rel="sync"
href="https://vcloud.example.com/api/catalog/id/action/sync"/>
As a catalog owner or administrator, you can POST a request to the rel="sync" URL to synchronize the
catalog with its external source. See “Synchronize a Catalog or Catalog Item,” on page 79.
Specify a Storage Profile for a Catalog
Any request that creates a catalog can also specify a storage profile for the items in that catalog.
If you do not specify a CatalogStorageProfile when creating a catalog, the catalog is created on the default
storage profile for the first VDC created in the organization. To create the catalog on a specific storage
profile, retrieve the list of available storage profiles in your organization and specify one in the
CatalogStorageProfiles element of the request.
Prerequisites
n
Verify that you are logged in as a system administrator, an organization administrator, or a user with
the Catalog Author role.
n
Verify that at least one VDC exists in your organization. You cannot create a catalog in an organization
that has no VDCs.
Procedure
1 Find the list of storage profiles in your organization.
Use a query like this one.
https://vcloud.example.com/api/query?type=orgVdcStorageProfile&format=references
The response is a list of references to all the storage profiles used by VDCs in your organization.
<OrgVdcStorageProfileReferences ... >
<OrgVdcStorageProfileReference
type="application/vnd.vmware.vcloud.vdcStorageProfile+xml"
name="*"
id="urn:vcloud:vdcstorageProfile:59"
href="https://vcloud.example.com/api/vdcStorageProfile/59" />
Chapter 6 Creating and Managing Organizations
VMware, Inc. 205