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

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
主站蜘蛛池模板: 多伦县| 宣城市| 浮梁县| 图木舒克市| 保亭| 东乌| 资阳市| 怀集县| 泰来县| 来宾市| 绍兴县| 阳高县| 定南县| 仪征市| 岗巴县| 岱山县| 阿坝县| 横山县| 乌拉特前旗| 略阳县| 通道| 临汾市| 赫章县| 栾城县| 宿松县| 长春市| 淮安市| 泗阳县| 安岳县| 丹巴县| 乐业县| 白城市| 平舆县| 琼结县| 康保县| 探索| 疏附县| 潼南县| 乐安县| 耿马| 南岸区|