As this feature is still in preview, documentation may not be available or fully available until GA. However the preview APIs examples can be found on GitHub
Also you can export the ARM templates from the portal, with the entity mappings, (See below)