vnet_config {AzureVM} | R Documentation |
Virtual network configuration
Description
Virtual network configuration
Usage
vnet_config(address_space = "10.0.0.0/16", subnets = list(subnet_config()),
...)
subnet_config(name = "subnet", addresses = "10.0.0.0/16",
nsg = "[variables('nsgId')]", ...)
Arguments
address_space |
For |
subnets |
For |
... |
Other named arguments that will be treated as resource properties. |
name |
For |
addresses |
For |
nsg |
The network security group associated with this subnet. Defaults to the NSG created as part of this VM deployment. |
See Also
create_vm, vm_config, vmss_config
Examples
vnet_config()
vnet_config(address_space="10.1.0.0/16")
vnet_config(subnets=list(
subnet_config("subnet", "10.0.0.0/24")
))
[Package AzureVM version 2.2.2 Index]