MetadataSourceCreateSpec

The SourceCreateSpec structure contains the registration information for a metadata source.


Properties

string
address Optional

Connection information of the remote server. This should be of the format http(s)://IP:port/namespace. The remote server should contain the services in com.vmware.vapi.metadata.metamodel package. It could expose metamodel information of one or more components.

This field is optional and it is only relevant when the value of SourceCreateSpec.type is REMOTE.


string
description Required

English language human readable description of the source.


string
filepath Optional

Absolute file path of the metamodel metadata file that has the metamodel information about one component element. This field is optional and it is only relevant when the value of SourceCreateSpec.type is FILE.


type Required

Type of the metadata source.

JSON Example

{
    "description": "string",
    "type": "enum"
}
Feedback

Was this page helpful?