Activities
latest
false
Banner background image
IT Automation Activities
Last updated Mar 8, 2024

Delete VM

UiPath.Azure.Activities.DeleteVM

Description

Deletes the specified virtual machine.

Project compatibility

Windows - Legacy | Windows | Cross-platform

Configuration

Common
  • DisplayName - The display name of the activity.
Input
  • DeleteAttachedDisks - Deletes the virtual machine and all its attached disks. The default value is False. It is executed only when the WaitForCompletion parameter is set as True.
  • DeleteAttachedNetworkInterfaces - Deletes the virtual machine and all its attached network interfaces. The default value is False. It is executed only when the WaitForCompletion parameter is set as True.
  • DeleteAttachedNetworkSecurityGroups - Deletes all network security groups attached to the machine's network interfaces or virtual networks, if they have no other associated network interfaces or virtual networks. The default value is False. It is executed only when the WaitForCompletion parameter is set as True and at least one of the DeleteAttachedNetworkInterfaces or DeleteAttachedVirtualNetworks parameters is set as True.
  • DeleteAttachedPublicIps - Deletes all public IP addresses attached to the machine's network interfaces after deleting the virtual machine and its network interfaces. The default value is False. It is executed only when the WaitForCompletion and DeleteAttachedNetworkInterfaces parameters are set as True.
  • DeleteAttachedVirtualNetworks - Deletes the virtual machine and its virtual networks as long as they are not connected devices left after deleting the virtual machine and its network interfaces. The default value is False. It is executed only when the WaitForCompletion and DeleteAttachedNetworkInterfaces parameters are set as True.
  • Timeout - Specifies how long to wait (in seconds) for the activity to run before an error is thrown. If not set, the activity runs until completion. It is executed only when the WaitForCompletion parameter has the value True.
  • VirtualMachine - Specifies the virtual machine.
  • WaitForCompletion - When it has the value True, waits for the activity to be completed before moving to the next activity. When the value is False, the activity ends immediately after the API call is made. The default value is True.
Misc
  • Private - If selected, the values of variables and arguments are no longer logged at Verbose level.
  • Description
  • Project compatibility
  • Configuration

Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo White
Trust and Security
© 2005-2024 UiPath. All rights reserved.