Microsoft Azure Stack Hub Scale Unit Node Auto Maintenance Mode Write Action

Microsoft.SystemCenter.AzureStack.UnitNode.AutoMaintenanceMode.WA (WriteActionModuleType)

Microsoft Azure Stack Hub Scale Unit Node Auto Maintenance Mode write action.

Element properties:

TypeWriteActionModuleType
IsolationAny
AccessibilityInternal
RunAsDefault
InputTypeSystem.BaseData
OutputTypeSystem.PropertyBagData

Member Modules:

ID Module Type TypeId RunAs 
Write WriteAction Microsoft.SystemCenter.AzureStack.UnitNode.AutoMaintenanceMode.WA.Managed Default

Overrideable Parameters:

IDParameterTypeSelectorDisplay NameDescription
TimeoutSecondsint$Config/TimeoutSeconds$Timeout (seconds)Specifies the time the workflow is allowed to run before being closed and marked as failed.

Source Code:

<WriteActionModuleType ID="Microsoft.SystemCenter.AzureStack.UnitNode.AutoMaintenanceMode.WA" Accessibility="Internal" Batching="true">
<Configuration>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="1" name="DeploymentId" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="TimeoutSeconds" type="xsd:integer"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="1" name="DefaultRegion" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="1" name="RegionId" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="1" name="RegionName" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="1" name="ScaleUnitId" type="xsd:string"/>
</Configuration>
<OverrideableParameters>
<OverrideableParameter ID="TimeoutSeconds" Selector="$Config/TimeoutSeconds$" ParameterType="int"/>
</OverrideableParameters>
<ModuleImplementation Isolation="Any">
<Composite>
<MemberModules>
<WriteAction ID="Write" TypeID="Microsoft.SystemCenter.AzureStack.UnitNode.AutoMaintenanceMode.WA.Managed">
<ADUserName>$RunAs[Name="Microsoft.SystemCenter.AzureStack.RunAsProfile.ADCredentials"]/UserName$</ADUserName>
<ADPassword>$RunAs[Name="Microsoft.SystemCenter.AzureStack.RunAsProfile.ADCredentials"]/Password$</ADPassword>
<DeploymentId>$Config/DeploymentId$</DeploymentId>
<TimeoutSeconds>$Config/TimeoutSeconds$</TimeoutSeconds>
<DefaultRegion>$Config/DefaultRegion$</DefaultRegion>
<RegionId>$Config/RegionId$</RegionId>
<RegionName>$Config/RegionName$</RegionName>
<ScaleUnitId>$Config/ScaleUnitId$</ScaleUnitId>
<MgName>$Target/ManagementGroup/Name$</MgName>
</WriteAction>
</MemberModules>
<Composition>
<Node ID="Write"/>
</Composition>
</Composite>
</ModuleImplementation>
<OutputType>System!System.PropertyBagData</OutputType>
<InputType>System!System.BaseData</InputType>
</WriteActionModuleType>