ip_config function

Public IP address configuration

Public IP address configuration

ip_config(type = NULL, dynamic = NULL, ipv6 = FALSE, domain_name = "[parameters('vmName')]", ...)

Arguments

  • type: The SKU of the IP address resource: "basic" or "standard". If NULL (the default), this will be determined based on the VM's configuration.
  • dynamic: Whether the IP address should be dynamically or statically allocated. Note that the standard SKU only supports standard allocation. If NULL (the default) this will be determined based on the VM's configuration.
  • ipv6: Whether to create an IPv6 address. The default is IPv4.
  • domain_name: The domain name label to associate with the address.
  • ...: Other named arguments that will be treated as resource properties.

Examples

ip_config() ip_config(type="basic", dynamic=TRUE) # if you don't want a domain name associated with the IP address ip_config(domain_name=NULL)

See Also

create_vm , vm_config , vmss_config

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