This class is responsible for all the REST communication with the endpoints
 /// <summary>
 /// Constructs an adapter
 /// </summary>
 /// <param name="profile">The current azure profile</param>
 /// <param name="subscription">The current azure subscription</param>
 public AzureSqlServerCommunicationLinkAdapter(AzureContext context)
 {
     _subscription = context.Subscription;
     Context = context;
     Communicator = new AzureSqlServerCommunicationLinkCommunicator(Context);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Constructs an adapter
 /// </summary>
 /// <param name="profile">The current azure profile</param>
 /// <param name="subscription">The current azure subscription</param>
 public AzureSqlServerCommunicationLinkAdapter(IAzureContext context)
 {
     _subscription = context.Subscription;
     Context       = context;
     Communicator  = new AzureSqlServerCommunicationLinkCommunicator(Context);
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Constructs an adapter
 /// </summary>
 /// <param name="profile">The current azure profile</param>
 /// <param name="subscription">The current azure subscription</param>
 public AzureSqlServerCommunicationLinkAdapter(IAzureContext context)
 {
     Context      = context;
     Communicator = new AzureSqlServerCommunicationLinkCommunicator(Context);
 }