create_spec
structure contains the registration information of a privilege source.Name | Type | Required | Description |
---|---|---|---|
description* |
string | Yes | English language human readable description of the source. |
type* |
com.vmware.vapi.metadata.source_type | Yes | Type of the metadata source. The source_type enumerated type defines the types of sources for API metadata. You specify the type of source when adding a metadata source to a metadata service.Values one of FILE: Indicates the metadata source is a JSON file. REMOTE: Indicates the metadata source is a remote server. |
filepath | string | No. This field is optional and it is only relevant when the value of type is FILE. |
Absolute file path of the metamodel metadata file that has the metamodel information about one component element. Required if type has value FILE. |
address | URI | No. This field is optional and it is only relevant when the value of type is REMOTE. |
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. Required if type has value REMOTE. |
Copyright © 2014. All Rights Reserved.