This class is responsible for all the REST communication with the server upgrade REST endpoints
 /// <summary>
 /// Constructs a server adapter
 /// </summary>
 /// <param name="profile">The current azure profile</param>
 /// <param name="subscription">The current azure subscription</param>
 public AzureSqlServerUpgradeAdapter(AzureContext context)
 {
     Context = context;
     Communicator = new AzureSqlServerUpgradeCommunicator(Context);
 }
Пример #2
0
 /// <summary>
 /// Constructs a server adapter
 /// </summary>
 /// <param name="profile">The current azure profile</param>
 /// <param name="subscription">The current azure subscription</param>
 public AzureSqlServerUpgradeAdapter(AzureProfile profile, AzureSubscription subscription)
 {
     Profile      = profile;
     Communicator = new AzureSqlServerUpgradeCommunicator(Profile, subscription);
 }
 /// <summary>
 /// Constructs a server adapter
 /// </summary>
 /// <param name="profile">The current azure profile</param>
 /// <param name="subscription">The current azure subscription</param>
 public AzureSqlServerUpgradeAdapter(AzureContext context)
 {
     Context      = context;
     Communicator = new AzureSqlServerUpgradeCommunicator(Context);
 }
 /// <summary>
 /// Constructs a server adapter
 /// </summary>
 /// <param name="profile">The current azure profile</param>
 /// <param name="subscription">The current azure subscription</param>
 public AzureSqlServerUpgradeAdapter(AzureProfile profile, AzureSubscription subscription)
 {
     Profile = profile;
     Communicator = new AzureSqlServerUpgradeCommunicator(Profile, subscription);
 }