官术网_书友最值得收藏!

Creating a virtual network using Azure CLI 2.0

To create a virtual network using Azure CLI 2.0, you have to follow these steps:

  1. Log in to your Azure account using the following command az login, you have to open the URL that pops up on the CLI, and then enter the following code:
Figure 1.19: Logging in to Azure via Azure CLI 2.0
  1. To create a new virtual network, you need to run the following command:
az network vnet create --name CLIVNet --resource-group PacktPub --location westeurope --address-prefix 192.168.0.0/16 --subnet-name s1 --subnet-prefix 192.168.1.0/24
主站蜘蛛池模板: 江山市| 东源县| 普兰店市| 赤城县| 阳朔县| 南宫市| 太仓市| 收藏| 获嘉县| 安塞县| 乌兰浩特市| 青河县| 新泰市| 潮州市| 忻城县| 和田市| 湟中县| 西藏| 德令哈市| 福贡县| 江永县| 永康市| 金秀| 白银市| 上饶市| 泰州市| 华宁县| 和田县| 青冈县| 桑日县| 新巴尔虎左旗| 沽源县| 光泽县| 梨树县| 嘉峪关市| 开封县| 两当县| 铁岭市| 汕尾市| 尤溪县| 湄潭县|