/// <summary> /// Get the recovery plan xml file. /// </summary> private void GetRecoveryPlanFile() { RecoveryPlanXmlOuput recoveryPlanXmlOuput = RecoveryServicesClient.GetAzureSiteRecoveryRecoveryPlanFile(this.Id); System.IO.File.WriteAllText(this.Path, recoveryPlanXmlOuput.RecoveryPlanXml); }