MetadataSourceCreateSpec

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


Properties

Required Property Name Type Description
optional address string

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.

required description string

English language human readable description of the source.

optional filepath string

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.

required type MetadataSourceType Enum

Type of the metadata source.

JSON Example

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

Was this page helpful?