/// <summary>
 /// Validate the object.
 /// </summary>
 /// <exception cref="ValidationException">
 /// Thrown if validation fails
 /// </exception>
 public virtual void Validate()
 {
     if (KeyVaultReference != null)
     {
         KeyVaultReference.Validate();
     }
     if (AutoStorage != null)
     {
         AutoStorage.Validate();
     }
 }
 /// <summary>
 /// Validate the object.
 /// </summary>
 /// <exception cref="ValidationException">
 /// Thrown if validation fails
 /// </exception>
 public override void Validate()
 {
     if (KeyVaultReference != null)
     {
         KeyVaultReference.Validate();
     }
     if (AutoStorage != null)
     {
         AutoStorage.Validate();
     }
 }