vapi metadata metamodel: user defined type

The user_defined_type structure contains the metamodel type information of a typed element whose type is a user defined named type.

Representation:

{
    "resource_id""obj-103",
    "resource_type""string"
}

Attributes:

Name Type Description
Required
resource_type string Category of the user defined named type. The named type could be a structure element or an enumeration element.

When clients pass a value of this structure as a parameter, the field must be one of com.vmware.vapi.structure or com.vmware.vapi.enumeration. When operations return a value of this structure as a result, the field will be one of com.vmware.vapi.structure or com.vmware.vapi.enumeration.

resource_id string Identifier of the user defined named type.

When clients pass a value of this structure as a parameter, the field must be an identifier for one of these resource types: com.vmware.vapi.structure or com.vmware.vapi.enumeration. When operations return a value of this structure as a result, the field will be an identifier for one of these resource types: com.vmware.vapi.structure or com.vmware.vapi.enumeration.