CLI Reference Guide

Details
URI
/importzip
Method
POST
Parameters
userIdentifier=<user_id>
Required; the user ID you want to use as credentials for this API call. See "Get
userIdentifier" on page 88 for the steps required to get the userIdentifier value.
file=<file_name>
Required; multipart CSA archive zip to be imported. Note that the directorythe
file will be imported from is defined by the REST client or browser in use.
Typically the file parameter will not include a directory path.
forceCreation=[true|false]
Optional; default is false.If true, any existingartifacts of the same type with
the same name will be preserved (not overwritten) and renamed. Existing
references to these artifactswill automatically use the renamed artifacts.New
artifacts are created from the archive. Cannot be used withupdate parameter.
Caution: Producessame results as updatePreserveExisting.Allows for
backward compatibility.
update=[true|false]
Optional; default is false. If true, any existingartifacts of the same type and
with the same name will be overwritten; otherwise the artifactsare
created.Cannot be used withupdatePreserveExisting parameter.
updatePreserveExisting=[true|false]
Optional; default is false.If true, any existingartifacts of the same type with
the same name will be preserved (not overwritten) and renamed. Existing
references to these artifactswill automatically use the renamed artifacts. New
artifacts are created from the archive. Cannot be used withupdate parameter.
orgForCatalogImport=<organization_name>
Required for import of catalog archive; the name of the organization to be used
when creating the imported catalog.
associateProviders=[true|false]
Optional; default is false. If true, resource providers in the archive are bound to
existing resource offerings and resource environments of the same provider type
and display name in the database.
validateType=[COMPONENT_PALETTE | CATALOG | SERVICE_OFFERING |
SERVICE_DESIGN | RESOURCE_OFFERING | RESOURCE_ENVIRONMENT]
Optional; if specified, content archive is verified to be of the specified type.
HP Cloud Service Automation (4.00)Page 81 of 141
APIReference
Contents