activities
latest
false
IT Automation Activities
Last updated Jun 11, 2024

Create VM

UiPath.Azure.Activities.CreateVM

Description

Creates a new virtual machine from a disk or image.

Project compatibility

Windows - Legacy | Windows | Cross-platform

Configuration

Administrator Credentials
  • AdminPassword - Specifies the password for the provided username. This field supports only SecureString variables.
  • AdminUsername - Specifies the administrator's username for the virtual machine. This field supports only strings and String variables.
  • SSHPublicKey - Specifies the SSH public key. This field supports only SecureString variables.
    Note: Make sure to input a value for one of the following parameters: Password or SSHPublicKey. If both parameters are set, then only SSHPublicKey is taken into consideration.
Common
  • DisplayName - The display name of the activity. This field supports only strings and String variables.
Configuration
  • ComputerName - Specifies the name of the computer. This field supports only strings and String variables.
  • Disk - Specifies the disk of the virtual machine.
  • DNSName - Specifies the name label of the DNS. This field supports only strings and String variables.
  • Image - Specifies the virtual machine image.

    Note: Make sure to input a value for one of the following parameters: Disk or Image. If both parameters are set, then only Disk is taken into consideration.
  • ImageLicensed - Specifies the use of an Azure or on-premise license. The possible values are AzureLicensed, WindowsClient, and WindowsServer. The default value is AzureLicensed.
  • OSDiskType - Specifies the OS disk type. This value is ignored if the virtual machine is created from disk. The possible values are StandardLRS, PremiumLRS, StandardSSDLRS, and UltraSSDLRS. The default value is StandardLRS.
  • Size - Specifies the size of the virtual machine. This field supports only strings and String variables. The possible values are listed in the below drop-down list.
  • Size - Specifies the size of the virtual machine. This field supports only strings and String variables. The possible values are listed in the below drop-down list.
    • Size parameter- Possible values: Add one of the possible values below, as a string, in the Size field.
      • Basic\_A0
      • Basic\_A1
      • Basic\_A2
      • Basic\_A3
      • Basic\_A4
      • Standard\_A0
      • Standard\_A1
      • Standard\_A2
      • Standard\_A3
      • Standard\_A4
      • Standard\_A5
      • Standard\_A6
      • Standard\_A7
      • Standard\_A8
      • Standard\_A9
      • Standard\_A10
      • Standard\_A11
      • Standard\_A1\_v2
      • Standard\_A2\_v2
      • Standard\_A4\_v2
      • Standard\_A8\_v2
      • Standard\_A2m\_v2
      • Standard\_A4m\_v2
      • Standard\_A8m\_v2
      • Standard\_B1s
      • Standard\_B1ms
      • Standard\_B2s
      • Standard\_B2ms
      • Standard\_B4ms
      • Standard\_B8ms
      • Standard\_D1
      • Standard\_D2
      • Standard\_D3
      • Standard\_D4
      • Standard\_D11
      • Standard\_D12
      • Standard\_D13
      • Standard\_D14
      • Standard\_D1\_v2
      • Standard\_D2\_v2
      • Standard\_D3\_v2
      • Standard\_D4\_v2
      • Standard\_D5\_v2
      • Standard\_D2\_v3
      • Standard\_D4\_v3
      • Standard\_D8\_v3
      • Standard\_D16\_v3
      • Standard\_D32\_v3
      • Standard\_D64\_v3
      • Standard\_D2s\_v3
      • Standard\_D4s\_v3
      • Standard\_D8s\_v3
      • Standard\_D16s\_v3
      • Standard\_D32s\_v3
      • Standard\_D64s\_v3
      • Standard\_D11\_v2
      • Standard\_D12\_v2
      • Standard\_D13\_v2
      • Standard\_D14\_v2
      • Standard\_D15\_v2
      • Standard\_DS1
      • Standard\_DS2
      • Standard\_DS3
      • Standard\_DS4
      • Standard\_DS11
      • Standard\_DS12
      • Standard\_DS13
      • Standard\_DS14
      • Standard\_DS1\_v2
      • Standard\_DS2\_v2
      • Standard\_DS3\_v2
      • Standard\_DS4\_v2
      • Standard\_DS5\_v2
      • Standard\_DS11\_v2
      • Standard\_DS12\_v2
      • Standard\_DS13\_v2
      • Standard\_DS14\_v2
      • Standard\_DS15\_v2
      • Standard\_DS13-4\_v2
      • Standard\_DS13-2\_v2
      • Standard\_DS14-8\_v2
      • Standard\_DS14-4\_v2
      • Standard\_E2\_v3
      • Standard\_E4\_v3
      • Standard\_E8\_v3
      • Standard\_E16\_v3
      • Standard\_E32\_v3
      • Standard\_E64\_v3
      • Standard\_E2s\_v3
      • Standard\_E4s\_v3
      • Standard\_E8s\_v3
      • Standard\_E16s\_v3
      • Standard\_E32s\_v3
      • Standard\_E64s\_v3
      • Standard\_E32-16\_v3
      • Standard\_E32-8s\_v3
      • Standard\_E64-32s\_v3
      • Standard\_E64-16s\_v3
      • Standard\_F1
      • Standard\_F2
      • Standard\_F4
      • Standard\_F8
      • Standard\_F16
      • Standard\_F1s
      • Standard\_F2s
      • Standard\_F4s
      • Standard\_F8s
      • Standard\_F16s
      • Standard\_F2s\_v2
      • Standard\_F4s\_v2
      • Standard\_F8s\_v2
      • Standard\_F16s\_v2
      • Standard\_F32s\_v2
      • Standard\_F64s\_v2
      • Standard\_F72s\_v2
      • Standard\_G1
      • Standard\_G2
      • Standard\_G3
      • Standard\_G4
      • Standard\_G5
      • Standard\_GS1
      • Standard\_GS2
      • Standard\_GS3
      • Standard\_GS4
      • Standard\_GS5
      • Standard\_GS4-8
      • Standard\_GS4-4
      • Standard\_GS5-16
      • Standard\_GS5-8
      • Standard\_H8
      • Standard\_H16
      • Standard\_H8m
      • Standard\_H16m
      • Standard\_H16r
      • Standard\_H16mr
      • Standard\_L4s
      • Standard\_L8s
      • Standard\_L16s
      • Standard\_L32s
      • Standard\_M64s
      • Standard\_M64ms
      • Standard\_M128s
      • Standard\_M128ms
      • Standard\_M64-32ms
      • Standard\_M64-16ms
      • Standard\_M128-64ms
      • Standard\_M128-32ms,
      • Standard\_NC6,
      • Standard\_NC12,
      • Standard\_NC24
      • Standard\_NC24r
      • Standard\_NC6s\_v2
      • Standard\_NC12s\_v2
      • Standard\_NC24s\_v2
      • Standard\_NC24rs\_v2
      • Standard\_NC6s\_v3
      • Standard\_NC12s\_v3
      • Standard\_NC24s\_v3
      • Standard\_NC24rs\_v3
      • Standard\_ND6s
      • Standard\_ND12s
      • Standard\_ND24s
      • Standard\_ND24rs
      • Standard\_NV6
      • Standard\_NV12
      • Standard\_NV24

Note: More information about the Size parameter's possible values can be found here.
Input
  • Name - Specifies the name of the new virtual machine. This field supports only strings and String variables.
  • Region - Establishes the Azure region (which is an area within a geographical place, containing one or more datacenters) of the virtual machine. If not specified, the region from the resource group is used. If a custom image is provided, then it uses the region specified for the image. This field supports only strings and String variables. The possible values are listed in the below drop-down list. More information about the Region parameter's possible values can be found here.
    • Region parameter- Possible values - Add one of the possible values below, as a string, in the Region field:
      • westus
      • westus2
      • centralus
      • eastus
      • eastus2
      • northcentralus
      • southcentralus
      • westcentralus
      • canadacentral
      • canadaeast
      • brazilsouth
      • northeurope
      • westeurope
      • uksouth
      • ukwest
      • eastasia
      • southeastasia
      • japaneast
      • japanwest
      • australiaeast
      • australiasoutheast
      • australiacentral
      • australiacentral2
      • centralindia
      • southindia
      • westindia
      • koreasouth
      • koreacentral
      • chinanorth
      • chinaeast
      • germanycentral
      • germanynortheast
      • usgovvirginia
      • usgoviowa
      • usgovarizona
      • usgovtexas
      • usdodeast
      • usdodcentral

  • ResourceGroupName - Specifies the name of the resource group. This field supports only strings and String variables.
  • Tags - Specifies the resource tags. It should have two columns, name and value.
  • 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.
  • WaitForCompletion - When selected, waits for the activity to be completed before moving to the next activity. When the option is not selected, 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.
Networking
  • HasPublicIPAddress - Specifies if the virtual machine has a public IP address or not. The default value is False.
  • NetworkSecurityGroupName - Specifies the name of the network security group. This parameter is taken into consideration only when the NICNetworkSecurityGroup parameter has the value Advanced. This field supports only strings and String variables.
  • NICNetworkSecurityGroup - Specifies the type of NIC network security group. The possible values are None, Basic, Advanced. The default value is None.
  • PublicInboundPorts - Specifies the list of public inbound ports. If a value is not set, all internet traffic is blocked. This parameter is used only when the NICNetworkSecurityGroup parameter has the value Basic.
  • PublicIPAddressName - Specifies the name of a public IP address. If the HasPublicIPAddress parameter has the value True but this parameter is not set, then it autogenerates a public IP address name. This field supports only strings and String variables.
  • SubnetName - Specifies the name of the subnet. If no value is added, then the default subnet name is used. This field supports only strings and String variables.
  • VirtualNetworkName - Specifies the name of the virtual network that needs to be joined by the newly created machine. If no value is added, then a new virtual network is created. This field supports only strings and String variables.
Output
  • VirtualMachine - Provides details about the newly created virtual machine.
  • 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.