REST API - source_info
com.vmware.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 Required Description type *
com.vmware.vapi.metadata.source_type Yes Type of the metadata source
Thesource_typeenumerated 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.file_name string No. This field is optional and it is only relevant when the value of typeis FILE.Name of the metadata source file Required if type has value FILE. remote_addr string No. This field is optional and it is only relevant when the value of typeis REMOTE.Address of the remote metadata source Required if type has value REMOTE. msg_protocol string No. This field is optional and it is only relevant when the value of typeis REMOTE.Message protocol to be used Required if type has value REMOTE.
Copyright © 2014. All Rights Reserved.