I have to replace the service management API's with Azure ARM and I am finding very difficult to find a proper documentation for the following equivalent Azure ARM API's
1) ComputeManagementClient.Deployments.Create - I found the API to GET deployment by slot with the help of azure resource explorer.
https://management.azure.com/subscriptions/{mySubID}/resourceGroups/{myResourcegroup}/providers/Microsoft.ClassicCompute/domainNames/{myCloudService}/slots/Production?api-version=2016-04-01
What is PUT/POST request body for the same ?
2) ComputeManagementClient.Deployments.swap - What is the API to Swap deployment with Production slot ?
3) ComputeManagementClient.HostedServices.Create
https://management.azure.com/subscriptions/{mySubID}/resourceGroups/{myResourcegroup}/providers/Microsoft.ClassicCompute/domainNames/{myCloudService}/slots/Production?api-version=2016-04-01
Will the above API create cloud service ? If so what are the parameters should be in the Request body ?