az network vnet subnet update
command to update the subnet configuration.--network-security-group
parameter with the name or resource ID of the NSG you want to associate with the subnet.az network vnet-gateway create
command to create a virtual network gateway.--gateway-type
parameter as “Vpn” or “ExpressRoute” depending on your requirements.--name
, --resource-group
, --vnet
, etc.az network firewall create
command to create an Azure Firewall.--name
, --resource-group
, and --location
parameters.az network firewall network-rule
and az network firewall application-rule
commands.azure.mgmt.network
package to retrieve the NSG resource.enable_flow_logs
property to True
.network_client.network_security_groups.create_or_update
method.azure.mgmt.network
package to retrieve the NSG resource.security_rules
list.network_client.network_security_groups.create_or_update
method.azure.mgmt.network
package to retrieve the NSG resource.network_client.network_security_groups.create_or_update
method.