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

Listing the available resources

As we mentioned earlier, resource groups are containers for provisioned Azure resources. If you do not want to use the Azure portal to browse and search for the available resource groups and their resources, you can use the Azure CLI for that:

$ az resource list --resource-group "azureadministrator-euw-rg" --subscription "Pay-As-You-Go"

In the preceding command, we are using the resource group's name and a subscription name to narrow the results. The result of listing resources should look similar to the following. This should contain various pieces of information, such as the location of a resource, its name, and more:

[
{
"id": "/subscriptions/.../resourceGroups/azureadministrator-euw-rg/providers/Microsoft.Logic/workflows/azureadministrator-euw-logicapp",
"identity": null,
"kind": null,
"location": "westeurope",
"managedBy": null,
"name": "azureadministrator-euw-logicapp",
"plan": null,
"properties": null,
"resourceGroup": "azureadministrator-euw-rg",
"sku": null,
"tags": {},
"type": "Microsoft.Logic/workflows"
},
{
...
}
]
There is no best way to manage resource groups and their resources – you are allowed to use any tool (the Azure portal, PowerShell, or Azure CLI) as you like. On the other hand, sometimes, some operations cannot be done from the portal – or require lots of manual work. This is why the command line is a recommended environment for Azure administrators as well.

In some cases, you may realize that a resource was placed in an invalid resource group. Fortunately, there is a solution to this, without a need to reprovision it.

主站蜘蛛池模板: 高要市| 彭阳县| 温州市| 卓尼县| 庄河市| 榆社县| 桂东县| 安吉县| 北川| 阳泉市| 芜湖市| 新民市| 织金县| 裕民县| 南郑县| 安岳县| 浠水县| 成武县| 双牌县| 巴楚县| 泰州市| 镇安县| 山东省| 柳州市| 晋宁县| 齐齐哈尔市| 文成县| 阳新县| 东至县| 濉溪县| 双桥区| 临洮县| 鞍山市| 湾仔区| 盈江县| 澄迈县| 鄂州市| 龙井市| 微山县| 四子王旗| 郁南县|