Skip to main content

Network Interface

Provides a Network Interface:

const networkInterface = await provider.makeNetworkInterface({
name: `network-interface`,
dependencies: {
resourceGroup,
virtualNetwork,
securityGroup,
subnet: `subnet`,
publicIpAddress,
},
properties: () => ({
properties: {
ipConfigurations: [
{
name: "ipconfig",
properties: {
privateIPAllocationMethod: "Dynamic",
},
},
],
},
}),
});

Examples#

Properties#

Dependencies#