Comparison with the REST API
Configuration documents follow the same configuration schema as the Traffic Manager's REST API, with a few notable differences described here.
YAML vs JSON
To write your configuration documents, use either YAML or JSON format. The Traffic Manager REST API supports only JSON. The examples used in this guide are based around YAML due to its human-readable format and suitability for storing configuration in a version control system.