Reinstall Agent Write Action Wrapper

Microsoft.SystemCenter.HealthService.RecoveryTask.ReinstallAgentWrapperAction (WriteActionModuleType)

Element properties:

TypeWriteActionModuleType
IsolationAny
AccessibilityInternal
RunAsMicrosoft.SystemCenter.AgentManagementAccount
InputTypeSystem.BaseData
OutputTypeSystem.BaseData

Member Modules:

ID Module Type TypeId RunAs 
AgentManager WriteAction Microsoft.SystemCenter.HealthService.ReinstallAgentAction Default

Overrideable Parameters:

IDParameterTypeSelectorDisplay NameDescription
ComputerNamestring$Config/ComputerName$Computer Name

Source Code:

<WriteActionModuleType ID="Microsoft.SystemCenter.HealthService.RecoveryTask.ReinstallAgentWrapperAction" Accessibility="Internal" RunAs="SCLibrary!Microsoft.SystemCenter.AgentManagementAccount" Batching="false">
<Configuration>
<xsd:element name="ComputerName" type="xsd:string"/>
</Configuration>
<OverrideableParameters>
<OverrideableParameter ID="ComputerName" Selector="$Config/ComputerName$" ParameterType="string"/>
</OverrideableParameters>
<ModuleImplementation Isolation="Any">
<Composite>
<MemberModules>
<WriteAction ID="AgentManager" TypeID="Microsoft.SystemCenter.HealthService.ReinstallAgentAction">
<ComputerName>$Config/ComputerName$</ComputerName>
<PrincipalName>$Config/ComputerName$</PrincipalName>
<Operation>4</Operation>
<ManagementGroup>$Target/ManagementGroup/Name$</ManagementGroup>
<ManagementServerDNS>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/DNSName$</ManagementServerDNS>
<ManagementServerAD>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</ManagementServerAD>
<InstallPath/>
<Port>5723</Port>
<EnableErrorReporting>0</EnableErrorReporting>
<QueueErrorReports>0</QueueErrorReports>
<InstallUserAndDomain/>
<InstallPassword/>
<ActionsUserAndDomain/>
<ActionsPassword/>
</WriteAction>
</MemberModules>
<Composition>
<Node ID="AgentManager"/>
</Composition>
</Composite>
</ModuleImplementation>
<OutputType>System!System.BaseData</OutputType>
<InputType>System!System.BaseData</InputType>
</WriteActionModuleType>