Suspend Deployment Slot
Microsoft.SystemCenter.MicrosoftAzure.GenericSlot.Stop.Task (Task)
Suspends the deployment slot.
Element properties:
Member Modules:
Source Code:
<Task ID="Microsoft.SystemCenter.MicrosoftAzure.GenericSlot.Stop.Task" Accessibility="Public" Enabled="true" Target="Microsoft.SystemCenter.MicrosoftAzure.GenericSlot" Timeout="300" Remotable="true">
<Category>System</Category>
<WriteAction ID="WA" TypeID="Microsoft.SystemCenter.MicrosoftAzure.ArmResource.Operation.WA">
<ADUserName>$RunAs[Name="Microsoft.SystemCenter.MicrosoftAzure.RunAsProfile.ADCredentials"]/UserName$</ADUserName>
<ADPassword>$RunAs[Name="Microsoft.SystemCenter.MicrosoftAzure.RunAsProfile.ADCredentials"]/Password$</ADPassword>
<ADClientId>$Target/Host/Host/Host/Property[Type="Microsoft.SystemCenter.MicrosoftAzure.Subscription"]/ClientId$</ADClientId>
<SubscriptionId>$Target/Host/Host/Host/Property[Type="Microsoft.SystemCenter.MicrosoftAzure.Subscription"]/SubscriptionId$</SubscriptionId>
<Proxy>$Target/Host/Host/Host/Property[Type="Microsoft.SystemCenter.MicrosoftAzure.Subscription"]/ProxyServerAddress$</Proxy>
<AuthBaseAddress>$Target/Host/Host/Host/Property[Type="Microsoft.SystemCenter.MicrosoftAzure.Subscription"]/Authority$</AuthBaseAddress>
<ResourceBaseAddress>$Target/Host/Host/Host/Property[Type="Microsoft.SystemCenter.MicrosoftAzure.Subscription"]/ArmServiceUri$</ResourceBaseAddress>
<TimeoutSeconds>300</TimeoutSeconds>
<ResourceId>$Target/Property[Type="Microsoft.SystemCenter.MicrosoftAzure.ServiceResource"]/ResourceId$</ResourceId>
<OperationName>stop</OperationName>
<RequestType>post</RequestType>
</WriteAction>
</Task>