Set the Description for a Type of Virtual Machine or vApp that a Solution Manages

If a solution deploys different types of virtual machine or vApp, you can provide a description for each type by setting the ExtManagedEntityInfo description property.

The text that you set in the ExtManagedEntityInfo description property allows you to add a description to the types of virtual machines or vApps that your solution deploys. If a solution deploys different types of virtual machine, you can create several ExtManagedEntityInfo instances, each with a different description.

Prerequisites

Procedure

  • Call the ExtManagedEntityInfo.setDescription() method to set the ExtManagedEntityInfo description property for a type of virtual machine or vApp that the solution deploys.
    Extension extension = new Extension();
    ExtManagedEntityInfo extManagedEntityInfo = new ExtManagedEntityInfo();
    extManagedEntityInfo.setType("my VM type");
    extManagedEntityInfo.setDescription("Description of this type of virtual machine or vApp.");
    extension.getManagedEntityInfo().add(extManagedEntityInfo);

Results

You added a description to all virtual machines or vApps of a certain type that your solution deploys. The description appears in the vSphere Client when the solution registers with vCenter Server.