Skip to main content

Network Interface

Provides a Network Interface:

provider.virtualNetworks.makeNetworkInterface({
name: "network-interface",
properties: ({ config }) => ({
properties: {
ipConfigurations: [
{
name: "ipconfig",
properties: {
privateIPAllocationMethod: "Dynamic",
},
},
],
},
}),
dependencies: ({ resources }) => ({
resourceGroup: resources.resourceManagement.ResourceGroup["resource-group"],
virtualNetwork: resources.virtualNetworks.VirtualNetwork["virtual-network"],
publicIpAddress: resources.virtualNetworks.PublicIpAddress["ip"],
securityGroup: resources.virtualNetworks.SecurityGroup["security-group"],
subnet: resources.virtualNetworks.Subnet["subnet"],
}),
});

Examples#

Properties#

Dependencies#