private NSM.GuestAgentFormattedMessage CreateGuestAgentFormattedMessage() { var formattedMessage = new NSM.GuestAgentFormattedMessage { Message = "[ESPARMAR-2012R2]:LCM:[Start Set]\r\n[ESPARMAR-2012R2]:LCM:[Start Resource] " + "[[WindowsFeature]IIS]\r\n[ESPARMAR-2012R2]:LCM:[Start Test] [[WindowsFeature]IIS]\r\n[ESPARMAR-2012R2]" }; return(formattedMessage); }
private List <NSM.ResourceExtensionSubStatus> CreateResourceExtensionSubStatus(int code, NSM.GuestAgentFormattedMessage formattedMessage) { var resourceExtensionSubStatusList = new List <NSM.ResourceExtensionSubStatus>(); var resourceExtensionSubStatus = new NSM.ResourceExtensionSubStatus { Code = code, FormattedMessage = formattedMessage, Status = "Success", Name = "DSC Status" }; resourceExtensionSubStatusList.Add(resourceExtensionSubStatus); return(resourceExtensionSubStatusList); }
private NSM.GuestAgentFormattedMessage CreateGuestAgentFormattedMessage() { var formattedMessage = new NSM.GuestAgentFormattedMessage { Message = "[ESPARMAR-2012R2]:LCM:[Start Set]\r\n[ESPARMAR-2012R2]:LCM:[Start Resource] " + "[[WindowsFeature]IIS]\r\n[ESPARMAR-2012R2]:LCM:[Start Test] [[WindowsFeature]IIS]\r\n[ESPARMAR-2012R2]" }; return formattedMessage; }