Start Infrastructure Role Instance

Microsoft.SystemCenter.AzureStack.InfraRoleInstance.Start.Task (Task)

This task starts infrastructure role instance.

Element properties:

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

Member Modules:

ID Module Type TypeId RunAs 
WA WriteAction Microsoft.SystemCenter.AzureStack.InfraRoleInstance.TaskRun.Task.WA Default

Source Code:

<Task ID="Microsoft.SystemCenter.AzureStack.InfraRoleInstance.Start.Task" Accessibility="Public" Enabled="true" Target="Microsoft.SystemCenter.AzureStack.InfraRoleInstance" Timeout="300" Remotable="true">
<Category>System</Category>
<WriteAction ID="WA" TypeID="Microsoft.SystemCenter.AzureStack.InfraRoleInstance.TaskRun.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/Property[Type="Microsoft.SystemCenter.AzureStack.Deployment"]/EndpointUrl$</DeploymentId>
<TimeoutSeconds>300</TimeoutSeconds>
<DefaultRegion>$Target/Host/Host/Property[Type="Microsoft.SystemCenter.AzureStack.Deployment"]/Region$</DefaultRegion>
<RegionId>$Target/Host/Property[Type="Microsoft.SystemCenter.AzureStack.Region"]/RegionId$</RegionId>
<InfraRoleInstanceId>$Target/Property[Type="Microsoft.SystemCenter.AzureStack.InfraRoleInstance"]/InfraRoleInstanceId$</InfraRoleInstanceId>
<RegionName>$Target/Host/Property[Type="Microsoft.SystemCenter.AzureStack.Region"]/Name$</RegionName>
<InfraRoleInstance>$Target/Property[Type="Microsoft.SystemCenter.AzureStack.InfraRoleInstance"]/InfraRoleInstanceName$</InfraRoleInstance>
<TaskType>PowerOn</TaskType>
</WriteAction>
</Task>