The Backup Virtual Machines action can be used to create disk snapshots attached to many Azure virtual machines at a specific time of day.
For example, 5 VMs can have disk snapshots created.
Please see Common Action Settings for a description of settings common to all action types.
Indicates the resource groups in which virtual machines may be backed up. Valid options include:
Any resource group - Virtual machines in any resource group may be backed up
Select resource groups by name - Virtual machines in resource groups with matching names may be backed up
Resource Group Name
Comparison used when matching resource group names. Comparison is not case-sensitive.
Indicates the virtual machine names for virtual machines which may be backed up. Valid options include:
Any virtual machine name - Virtual machines with any name may be backed up
Select virtual machines by name - Virtual machines with matching names may be backed up
Virtual Machine Name
Comparison used when matching virtual machine names. Comparison is case-sensitive.
Compare Resource Tags
Indicates whether resource tags are compared. Only virtual machines with matching resource tags may be backed up.
Resource Tag Name
Indicates the name of the resource tag used to compare.
Resource Tag Value
Indicates the value of the resource tag used to compare.
Indicate whether the virtual machine should be stopped when the disk snapshots are created. Possible choices include:
None - The virtual machines will not be stopped
Stop virtual machine - The virtual machines will be stopped and restarted when the snapshots are created
The name of the snapshot to be created. Runtime macros may be used.
Target Resource Group Override
Optional. To create the disk snapshots in a resource group other than the ones to which the disks belong, specify the name of the desired target resource group.
Resource tags that are to be added to the new snapshots. Runtime macros may be used.
Azure Commands Used
The following Azure commands are used. The credential should have permission to execute all of them.