6.2

Table Of Contents
CLI Command Option Description
--repoVersion Name:1.0.0
You can also export multiple types of objects with the same export command.
export-package --exportFilePath pkgname.zip --fromGroup Dev
--applicationVersion aname:1.0.0 --serviceVersion sname:1.0.0 --
scriptTaskVersion stname:1.0.0
The ALL keyword exports all versions of the object type in the specified business
group.
export-package --exportFilePath pkgname.zip --fromGroup Dev
--applicationVersion ALL --serviceVersion ALL --
scriptTaskVersion ALL
--uncompressed
Export the package in uncompressed format. Required for export packages with
a .xml file extension.
Exporting dependencies
When you export an object, you also export its dependencies. For a high-level object like an application,
dependencies can include services, VM templates, script tasks, and more. The export command validates
the owning business group of the top-level object, but not of the dependent objects which might belong to
different business groups. The command simply exports the dependent objects as part of the top-level
object. For example, suppose an application belongs to the Development business group but a service in
the application belongs to the Production business group. A member of the Development group can
export the application which includes the service. However, a member of the Production business group
can export only the service but not the application. Of course, a member of both business groups can
export both objects together or independently.
Export requirements
The following table shows when you must belong to the owning business group to export or import an
object.
Exported Object Business Group Requirements
Application
Service
External Service
VmTemplate
The following tasks require membership in the owning business group.
n
Export the object.
n
Export the private object as a dependency.
The following tasks allow membership in any business group in the tenant.
n
View a shared application or service.
n
Export the shared object as a dependency.
Script Task
(always shared)
The following tasks require membership in the owning business group.
n
Export the object.
The following task allows membership in any business group in the tenant.
n
View the object.
Using Application Services
VMware, Inc. 255