Disable Automatic Backups
Microsoft.SystemCenter.AzureStack.Region.DisableBackup.Task (Task)
This task provides possibility to disable automatic backups.
Element properties:
Member Modules:
Source Code:
<Task ID="Microsoft.SystemCenter.AzureStack.Region.DisableBackup.Task" Accessibility="Public" Enabled="true" Target="Microsoft.SystemCenter.AzureStack.Region" Timeout="300" Remotable="true">
<Category>System</Category>
<WriteAction ID="WA" TypeID="Microsoft.SystemCenter.AzureStack.Region.BackupTaskSet.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/Property[Type="Microsoft.SystemCenter.AzureStack.Deployment"]/EndpointUrl$</DeploymentId>
<TimeoutSeconds>300</TimeoutSeconds>
<RegionId>$Target/Property[Type="Microsoft.SystemCenter.AzureStack.Region"]/RegionId$</RegionId>
<RegionName>$Target/Property[Type="Microsoft.SystemCenter.AzureStack.Region"]/Name$</RegionName>
<DefaultRegion>$Target/Host/Property[Type="Microsoft.SystemCenter.AzureStack.Deployment"]/Region$</DefaultRegion>
<TaskType>DisableBackup</TaskType>
</WriteAction>
</Task>