# Create Network Interface

> `UiPath.Azure.Activities.CreateNetworkInterface`

`UiPath.Azure.Activities.CreateNetworkInterface`

## Description

Creates or updates a network interface.

## Project compatibility

Windows - Legacy | Windows | Cross-platform

## Configuration

### Common

* **DisplayName** - The display name of the activity.

### Input

* **EnableAcceleratedNetworking** - Indicates whether the accelerated networking is enabled on this network interface. The default value is **False**.
* **EnableIpForwarding** - Indicates whether IP forwarding is enabled on this network interface. The default value is **False**.
* **Location** - Specifies the location for the network interface. This field supports only strings and `String` variables.
* **Name** - Specifies the name of the network interface. This field supports only strings and `String` variables.
* **NSGName** - Specifies the name of the network security group. This field supports only strings and `String` variables.
* **ResourceGroupName** - Specifies the name of the resource group. This field supports only strings and `String` variables.
* **SubnetName** - Specifies the subnet name.
* **Tags** - Specifies the tags for the resource. It contains two columns, the first one representing the name and the second its value.
* **VirtualNetworkName** - Specifies the name of the virtual network. This field supports only strings and `String` variables.

### Misc

* **Private** - If selected, the values of variables and arguments are no longer logged at Verbose level.

### IP Addresses

* **KeepExisting** - Specifies if the existing IP addresses of the primary IP configuration remain unchanged when updating an existing network interface. The default value is **False**.
* **PrivateIpAddress** - Specifies the static private IP address. If not set, the private IP address assignment is dynamic. This field supports only strings and `String` variables.
* **PublicIpAddressName** - Specifies the public IP address name. This field supports only strings and `String` variables.
  :::note
  The **KeepExisting** option is not taken into consideration when the activity is used to create a new network interface.
  :::

### Output

* **NetworkInterface** - Provides the details of the network interface.
