Add attachment write action

Microsoft.SystemCenter.AlertAttachment.AddAttachment.WriteAction (WriteActionModuleType)

This write action saves attachments on a network file share.

Element properties:

TypeWriteActionModuleType
IsolationAny
AccessibilityPublic
RunAsDefault
InputTypeSystem.BaseData

Member Modules:

ID Module Type TypeId RunAs 
PA ProbeAction Microsoft.SystemCenter.AlertAttachment.RetrieveSharePath.ProbeAction Default
WA WriteAction Microsoft.SystemCenter.AlertAttachment.CopyAttachment.WriteAction Default
WA2 WriteAction Microsoft.SystemCenter.AlertAttachment.SaveAttachment.UpdateGenerateAlert.WriteAction Default

Source Code:

<WriteActionModuleType ID="Microsoft.SystemCenter.AlertAttachment.AddAttachment.WriteAction" Accessibility="Public" Batching="false">
<Configuration>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="ComputerName" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="DeleteLocalFile" type="xsd:boolean"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="GenerateNewAlertForAlertContext" type="xsd:boolean"/>
</Configuration>
<ModuleImplementation Isolation="Any">
<Composite>
<MemberModules>
<ProbeAction ID="PA" TypeID="Microsoft.SystemCenter.AlertAttachment.RetrieveSharePath.ProbeAction"/>
<WriteAction ID="WA" TypeID="Microsoft.SystemCenter.AlertAttachment.CopyAttachment.WriteAction">
<DeleteLocalFile>$Config/DeleteLocalFile$</DeleteLocalFile>
<GenerateNewAlertForAlertContext>$Config/GenerateNewAlertForAlertContext$</GenerateNewAlertForAlertContext>
</WriteAction>
<WriteAction ID="WA2" TypeID="Microsoft.SystemCenter.AlertAttachment.SaveAttachment.UpdateGenerateAlert.WriteAction">
<ComputerName>$Config/ComputerName$</ComputerName>
</WriteAction>
</MemberModules>
<Composition>
<Node ID="WA2">
<Node ID="WA">
<Node ID="PA"/>
</Node>
</Node>
</Composition>
</Composite>
</ModuleImplementation>
<InputType>System!System.BaseData</InputType>
</WriteActionModuleType>