/// <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); }