nsg_config | R Documentation |
Network security group configuration
nsg_config(rules = list(), ...) nsg_rule(name, dest_port = "*", dest_addr = "*", dest_asgs = NULL, source_port = "*", source_addr = "*", source_asgs = NULL, access = "allow", direction = "inbound", protocol = "Tcp", priority = NULL)
rules |
for |
... |
Other named arguments that will be treated as resource properties. |
name |
For |
dest_port, dest_addr, dest_asgs |
For |
source_port, source_addr, source_asgs |
For |
access |
For |
direction |
For |
protocol |
For |
priority |
For |
create_vm, vm_config, vmss_config, nsg_rules for some predefined security rules
nsg_config() nsg_config(list(nsg_rule_allow_ssh)) # for Linux nsg_config(list(nsg_rule_allow_rdp)) # for Windows nsg_config(list(nsg_rule_allow_http, nsg_rule_allow_https)) # a custom rule nsg_config(list( nsg_rule( name="whitelist", source_addr="114.198.100.0/24", access="allow", protocol="*" ) ))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.