public void Validate()
 {
     CosmosAccount.Validate();
     StorageAccount.Validate();
     SourceCollection.Validate();
     TargetCollection.Validate();
 }
 public void Validate()
 {
     CosmosAccount.Validate();
     StorageAccount.Validate();
     GeneralPlan.Validate();
     if (Collections.Length == 0)
     {
         throw new CosbakException("No collection defined");
     }
     foreach (var collection in Collections)
     {
         collection.Validate();
     }
 }