AFAIK, there is no direct method that will provide you with this information.
However, there is a workaround that you can use. This includes the use of the Get Deployment service management API. This operation will return XML, and one of the elements will be Configuration , which contains your Base64 encoded service configuration file. You can read this element, convert it to a string, and parse the XML to go to the ConfigurationSettings elements. The child elements contain all the settings.
To do this, you can either write your own shell on top of the REST Service Management API, or use the Azure Management Library .
UPDATE
So, here is a sample code to list all the configuration options from the Service Configuration File using the Azure Management Library . This is a simple console application, hacked together in a very short period of time, thus, it has many opportunities for improvement :). For the management certificate, I used the data from the publish settings file.
You just need to install the Azure Management Library Nuget Package in the console application:
Microsoft.WindowsAzure.Management.Libraries installation package
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Microsoft.WindowsAzure; using Microsoft.WindowsAzure.Management.Compute; using System.Security.Cryptography.X509Certificates; using System.Xml.Linq; namespace ReadConfigurationSettingsUsingAzureManagementLibrary { class Program { static string subscriptionId = "<subscription-id>"; static string managementCertContents = "<Base64 Encoded Management Certificate String from Publish Setting File>";
Gaurav Mantri Jun 25 '15 at 15:48 2015-06-25 15:48
source share