Exemple #1
0
 /// <summary>
 /// Setup application configuration
 /// </summary>
 static void setup()
 {
     _loginUrl            = ConfigurationManager.AppSettings["_loginUrl"];
     _managementUrl       = ConfigurationManager.AppSettings["_managementUrl"];
     _client_id           = ConfigurationManager.AppSettings["_client_id"];
     _tenant_id           = ConfigurationManager.AppSettings["_tenant_id"];
     _client_secret       = ConfigurationManager.AppSettings["_client_secret"];
     _resource_group_name = ConfigurationManager.AppSettings["_resource_group_name"];
     _subscription_id     = ConfigurationManager.AppSettings["_subscription_id"];
     myTokenManager       = new AzureRestHelper.ARMRestHelper();
 }