I wanted to get the configuration of CloudService(classic), I did the following
1) Get the Resource ID: Cloudservice->properties->resourceID
Resource Id: /subscriptions/{mySubscriptionID}/resourceGroups/{myResourceGroup}/providers/Microsoft.ClassicCompute/domainNames/{myCloudServicename}/
2) I used this resourceID as follows
https://management.azure.com/subscriptions/{mySubscriptionID}/resourceGroups/{myResourceGroup}/providers/Microsoft.ClassicCompute/domainNames/{myCloudServicename}/deploymentslots/Production?api-version=2015-06-01
It worked in the first attempt only.
Is this a correct way ? If No, then please give me a solution
NOTE: I referred this link: https://msdn.microsoft.com/en-us/library/azure/ee460804.aspx
GET https://management.core.windows.net/<subscription-id>/services/hostedservices/<cloudservice-name>/deploymentslots/<deployment-slot>
Thanks ~HARI