This class is responsible for all the REST communication with the database backup REST endpoints.
コード例 #1
0
 /// <summary>
 /// Constructs a database backup adapter
 /// </summary>
 /// <param name="profile">The current azure profile</param>
 /// <param name="subscription">The current azure subscription</param>
 public AzureSqlDatabaseBackupAdapter(AzureContext context)
 {
     Context = context;
     _subscription = context.Subscription;
     Communicator = new AzureSqlDatabaseBackupCommunicator(Context);
 }
コード例 #2
0
 /// <summary>
 /// Constructs a database backup adapter
 /// </summary>
 /// <param name="profile">The current azure profile</param>
 /// <param name="subscription">The current azure subscription</param>
 public AzureSqlDatabaseBackupAdapter(AzureProfile Profile, AzureSubscription subscription)
 {
     this.Profile       = Profile;
     this._subscription = subscription;
     Communicator       = new AzureSqlDatabaseBackupCommunicator(Profile, subscription);
 }
コード例 #3
0
 /// <summary>
 /// Constructs a database backup adapter
 /// </summary>
 /// <param name="profile">The current azure profile</param>
 /// <param name="subscription">The current azure subscription</param>
 public AzureSqlDatabaseBackupAdapter(AzureProfile Profile, AzureSubscription subscription)
 {
     this.Profile = Profile;
     this._subscription = subscription;
     Communicator = new AzureSqlDatabaseBackupCommunicator(Profile, subscription);
 }
コード例 #4
0
 /// <summary>
 /// Constructs a database backup adapter
 /// </summary>
 /// <param name="profile">The current azure profile</param>
 /// <param name="subscription">The current azure subscription</param>
 public AzureSqlDatabaseBackupAdapter(IAzureContext context)
 {
     Context       = context;
     _subscription = context?.Subscription;
     Communicator  = new AzureSqlDatabaseBackupCommunicator(Context);
 }