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

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
主站蜘蛛池模板: 磐安县| 睢宁县| 大新县| 安龙县| 宝兴县| 龙海市| 淳安县| 顺平县| 江安县| 津南区| 阳朔县| 鸡东县| 临潭县| 乌拉特后旗| 宜兰县| 哈尔滨市| 五原县| 永安市| 绍兴县| 花垣县| 旺苍县| 江口县| 屏东市| 西藏| 宝坻区| 商南县| 金塔县| 巴楚县| 清新县| 三亚市| 长宁县| 同仁县| 民乐县| 阆中市| 马山县| 连州市| 榆树市| 花莲县| 炎陵县| 翼城县| 手游|