简体   繁体   English

列出集群中的所有资源组

[英]List out all resource groups in cluster

I want to see all the resource groups in my cluster(s). 我想查看群集中的所有资源组。 Is there a way to use az aks to get all the credentials of the cluster(s) without mentioning the names of the resource-group/cluster? 有没有一种方法可以使用az aks来获取群集的所有凭据,而无需提及资源组/群集的名称?

I tried az aks get-credentials , az aks show , az aks list but they all require the resource group name and I don't know it. 我尝试了az aks get-credentialsaz aks showaz aks list但是它们都需要资源组名称,但我不知道。

Any help is greatly appreciated. 任何帮助是极大的赞赏。

Update: I have found a way to list all resources in my azure subscription: az resource list . 更新:我找到了一种方法来列出我的azure订阅中的所有资源: az resource list I can see some resources here that when i try to find using `az 我在这里看到一些资源,当我尝试使用`az查找时

After alot of digging, you can find the list of resource groups using this command - az group list . 经过大量挖掘之后,您可以使用此命令az group list查找资源az group list Note: its useful to go through the -h of for az to see what it has to offer :) 注意:它非常有用,可以通过-haz ,看看它提供的:)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 使用 Kusto 列出所有资源组中的所有资源锁 - List all Resource locks within all Resource Groups with Kusto 递归列出 Azure 资源组内的所有资源标签 - Recursively list all resource tags within Azure Resource Groups "az 查询列出其中的所有订阅、资源组和资源" - Az query to list all subscriptions, resource groups and resources in it Azure powershell 脚本,用于获取一个订阅中所有资源和资源组的用户访问权限列表 - Azure powershell scripts to get the list of user access for all resource and resource groups in one subscription 在Azure中布置资源组的问题 - Questions on laying out Resource Groups in Azure 如何使用 python 列出我的 azure 帐户中的所有资源组? - How can I list all the resource groups in my azure account using python? 将App Service连接到不同资源组中的负载平衡群集 - Connecting App Service to Load Balanced cluster in different Resource Groups 过滤指定资源组内的所有资源 - Filter for all resources inside specified resource groups 如何删除除一个之外的所有 Azure 资源组 - How to delete all Azure resource groups except one 从所有资源组中获取特定标签名称及其值 - Get a specific tag name and its value from all resource groups
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM