← 返回命令列表

Linux command

az-network 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Create a DNS zone

az network dns zone create -g [resource-group] --name [example.com]

Add an A record

az network dns record-set a add-record -g [resource-group] --zone-name [example.com] --record-set-name [www] --ipv4-address [1.2.3.4]

Create an application security group

az network asg create -g [resource-group] --name [myASG]

Create an application gateway

az network application-gateway create --name [myAppGateway] -g [resource-group] --sku [Standard_v2]

List virtual networks

az network vnet list -g [resource-group]

Create a virtual network

az network vnet create -g [resource-group] --name [myVNet] --address-prefix [10.0.0.0/16]

Create a network security group

az network nsg create -g [resource-group] --name [myNSG]

说明

az network manages Azure Network resources including virtual networks, DNS zones, load balancers, application gateways, VPN gateways, ExpressRoute circuits, and network security groups. Azure networking provides the foundation for cloud infrastructure, enabling secure connectivity between Azure resources, on-premises environments, and the internet.

FAQ

What is the az-network command used for?

az network manages Azure Network resources including virtual networks, DNS zones, load balancers, application gateways, VPN gateways, ExpressRoute circuits, and network security groups. Azure networking provides the foundation for cloud infrastructure, enabling secure connectivity between Azure resources, on-premises environments, and the internet.

How do I run a basic az-network example?

Run `az network dns zone create -g [resource-group] --name [example.com]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

Where can I find more az-network examples?

This page includes 7 examples for az-network, plus related commands for nearby Linux tasks.