Create a CI class for a virtual cloud resource

  • Release version: Australia
  • Updated March 12, 2026
  • 2 minutes to read
  • If the base system does not provide a CI type for cloud-based virtual resources, you can create a CI class based on the virtual machine object class.

    Before you begin

    Role required: admin

    About this task

    This topic provides general instructions for extending an existing cloud provider, product, and resource type.

    Procedure

    1. Navigate to All > Configuration > CI Class Manager.
    2. Click Open Hierarchy.

      Open the CI hierarchy

    3. On the CI Classes pane, enter Virtual Machine Object in the search field, and then select Virtual Machine Object.

      The virtual machine object class

    4. Click the Virtual Machine Object link.

      Click Virtual Machine Object

    5. Click Add Child Class.
    6. In the Provide Basic Info step that appears, enter a name and a description.

      When you move the focus of the cursor away from the Display Name field, the Table Name field automatically populates with the same name in lower case. For a table in a scoped application, the name is prefixed with a namespace identifier to indicate that it is part of an application. For a table in the global application, the name is prefixed with the string u_cmdb_ci. You cannot modify the prefix; however, you can modify the rest of the table name. The name can contain only lowercase alphanumeric ASCII characters and underscores (_). The maximum string length is 80 characters.

    7. Click Next.
    8. On the Add Attributes step, click Derived, and then review the attributes that are inherited from the Virtual Machine Object class.

      Most attributes that you need are provided.

    9. Optional: To add an attribute:
      1. Double-click the Insert a new row text in the Column label field.
      2. Enter a name for the column and then click the green arrow.
      3. Fill out the rest of the fields in the row.
        See Dictionary entry form for a description of all the fields.
    10. Click Next.
    11. On the Set Identification Rule step, create an identification rule that specifies a unique Object ID, which is required for identification.
      Important:
      Cloud Provisioning and Governance depends on the Object ID to uniquely identify an instance of the CI Class Type.
      1. Click Replace on the default rule under Identification Rule.
      2. Enter a name for the rule and select the Dependent option.
      3. Click Save.
      4. Under Identifier Entries, click Add.
      5. Move Object ID from the Available column to the Selected column.
      6. Click Save.
    12. Click Next.
    13. On the Add Dependent Relationships step, click Override Dependencies.
    14. Configure the relationship between this virtual resource and the logical datacenter on which it resides:
      Field Value
      Rule Type Hosting
      Relationship Hosted on (Hosted on::Hosts)
      Target Class Logical Datacenter

      A Hosted on:Hosts relationship

    15. Click Save.
    16. Click Next.
    17. Click Next again to skip the Add Reconciliation Rules step, and then click Done to skip the Add Suggested Relationships step.

    What to do next

    Use the CI class in a resource type for a cloud provider. See Add a product to an existing provider in CAPI for instructions.

    Your response processor, which is part of the resource block, must also specify the necessary CI class types so it can update the CMDB. Usually, the response processor needs the object ID, the specific datacenter, and the cloud service account. See Virtual server response processor example for example response processor code that uses CI classes.