vapi metadata: source info

Metadata source info

Representations:

{
    "file_name""string",
    "msg_protocol""string",
    "remote_addr""string",
    "type""FILE"
}
<?xml version="1.0" ?>
<ns0:SourceInfo xmlns:ns0="http://vmware.com/vapi/metadata" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <remote_addr>string</remote_addr>
  <msg_protocol>string</msg_protocol>
  <file_name>string</file_name>
  <type>FILE</type>
</ns0:SourceInfo>

Attributes:

Name Type Description
Required
type string Type of the metadata source

Defines the types of sources for API metadata. You specify the type of source when adding a metadata source to a metadata service. Value is one of:
FILE: Indicates the metadata source is a JSON file.
REMOTE: Indicates the metadata source is a remote server.

Optional
file_name string Name of the metadata source file

Optional. It is only relevant when type has value FILE. This field is optional and it is only relevant when the value of type is FILE.

remote_addr string Address of the remote metadata source

Optional. It is only relevant when type has value REMOTE. This field is optional and it is only relevant when the value of type is REMOTE.

msg_protocol string Message protocol to be used

Optional. It is only relevant when type has value REMOTE. This field is optional and it is only relevant when the value of type is REMOTE.