pem.APS.getPackage

This method is supported by Operations starting from version 2.9 hotfix01

This method returns a status of Application.

The method has the following input parameters:

Name

Type

Short Description

package_reference

struct

It defines Application and the Application version.

  • application_id

int

Application ID

  • application_version

string

Application version

The method has the following output parameters:

Name

Type

Short Description

status

string

Application status. There are the following options:

  • Downloading – Downloading Application to the Application repository on the Management Node.
  • Downloading error – Download error.
  • Metadata importing – Importing Application metadata file (APP-META.xml). Importing includes the following operations: retrieving metadata file, parsing metadata file, and storing metadata in the Operations system database.
  • Metadata error – Metadata import error.
  • Content importing – Importing Application content. This operation occurs if Application contains Virtuozzo containers Template(s).
  • Content error – Content import error.
  • Ready – Application is added to Operations.
  • Removing – Removing Application instances and Application itself.