This class is responsible for all the REST communication with the audit REST endpoints
コード例 #1
0
 /// <summary>
 /// Constructs a recommended elastic pool adapter
 /// </summary>
 /// <param name="profile">The current azure profile</param>
 /// <param name="subscription">The current azure subscription</param>
 public AzureSqlElasticPoolRecommendationAdapter(AzureContext context)
 {
     _subscription = context.Subscription;
     Context       = context;
     RecommendationCommunicator = new AzureSqlElasticPoolRecommendationCommunicator(Context);
 }
 /// <summary>
 /// Constructs a recommended elastic pool adapter
 /// </summary>
 /// <param name="profile">The current azure profile</param>
 /// <param name="subscription">The current azure subscription</param>
 public AzureSqlElasticPoolRecommendationAdapter(AzureProfile profile, AzureSubscription subscription)
 {
     _subscription = subscription;
     Profile = profile;
     RecommendationCommunicator = new AzureSqlElasticPoolRecommendationCommunicator(profile, subscription);
 }
コード例 #3
0
 /// <summary>
 /// Constructs a recommended elastic pool adapter
 /// </summary>
 /// <param name="profile">The current azure profile</param>
 /// <param name="subscription">The current azure subscription</param>
 public AzureSqlElasticPoolRecommendationAdapter(AzureProfile profile, AzureSubscription subscription)
 {
     _subscription = subscription;
     Profile       = profile;
     RecommendationCommunicator = new AzureSqlElasticPoolRecommendationCommunicator(profile, subscription);
 }
 /// <summary>
 /// Constructs a recommended elastic pool adapter
 /// </summary>
 /// <param name="profile">The current azure profile</param>
 /// <param name="subscription">The current azure subscription</param>
 public AzureSqlElasticPoolRecommendationAdapter(AzureContext context)
 {
     _subscription = context.Subscription;
     Context = context;
     RecommendationCommunicator = new AzureSqlElasticPoolRecommendationCommunicator(Context);
 }