nic_config function

Network interface configuration

Network interface configuration

nic_config(nic_ip = list(nic_ip_config()), ...) nic_ip_config(name = "ipconfig", private_alloc = "dynamic", subnet = "[variables('subnetId')]", public_address = "[variables('ipId')]", ...)

Arguments

  • nic_ip: For nic_config, a list of IP configuration objects, each obtained via a call to nic_ip_config.
  • ...: Other named arguments that will be treated as resource properties.
  • name: For nic_ip_config, the name of the IP configuration.
  • private_alloc: For nic_ip_config, the allocation method for a private IP address. Can be "dynamic" or "static".
  • subnet: For nic_ip_config, the subnet to associate with this private IP address.
  • public_address: For nic_ip_config, the public IP address. Defaults to the public IP address created or used as part of this VM deployment. Ignored if the deployment does not include a public address.

Examples

nic_config()

See Also

create_vm , vm_config

  • Maintainer: Hong Ooi
  • License: MIT + file LICENSE
  • Last published: 2020-10-14