Restart Update Run

Microsoft.SystemCenter.AzureStack.UpdateRun.RestartUpdateRun.Task (Task)

This task reruns the update run.

Element properties:

TargetMicrosoft.SystemCenter.AzureStack.UpdateRun
AccessibilityPublic
CategorySystem
EnabledTrue
RemotableFalse
Timeout300

Member Modules:

ID Module Type TypeId RunAs 
WA WriteAction Microsoft.SystemCenter.AzureStack.UpdateRun.RestartUpdateRun.Task.WA Default

Source Code:

<Task ID="Microsoft.SystemCenter.AzureStack.UpdateRun.RestartUpdateRun.Task" Accessibility="Public" Enabled="true" Target="Microsoft.SystemCenter.AzureStack.UpdateRun" Timeout="300" Remotable="true">
<Category>System</Category>
<WriteAction ID="WA" TypeID="Microsoft.SystemCenter.AzureStack.UpdateRun.RestartUpdateRun.Task.WA">
<ADUserName>$RunAs[Name="Microsoft.SystemCenter.AzureStack.RunAsProfile.ADCredentials"]/UserName$</ADUserName>
<ADPassword>$RunAs[Name="Microsoft.SystemCenter.AzureStack.RunAsProfile.ADCredentials"]/Password$</ADPassword>
<DeploymentId>$Target/Host/Host/Host/Property[Type="Microsoft.SystemCenter.AzureStack.Deployment"]/EndpointUrl$</DeploymentId>
<TimeoutSeconds>300</TimeoutSeconds>
<DefaultRegion>$Target/Host/Host/Host/Property[Type="Microsoft.SystemCenter.AzureStack.Deployment"]/Region$</DefaultRegion>
<RegionId>$Target/Host/Host/Property[Type="Microsoft.SystemCenter.AzureStack.Region"]/RegionId$</RegionId>
<UpdateId>$Target/Host/Property[Type="Microsoft.SystemCenter.AzureStack.Update"]/Id$</UpdateId>
<UpdateRunId>$Target/Property[Type="Microsoft.SystemCenter.AzureStack.UpdateRun"]/Id$</UpdateRunId>
<RegionName>$Target/Host/Host/Property[Type="Microsoft.SystemCenter.AzureStack.Region"]/Name$</RegionName>
<UpdateName>$Target/Host/Property[Type="Microsoft.SystemCenter.AzureStack.Update"]/Name$</UpdateName>
<UpdateRunName>$Target/Property[Type="Microsoft.SystemCenter.AzureStack.UpdateRun"]/Name$</UpdateRunName>
</WriteAction>
</Task>