[英]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-credentials
, az aks show
, az 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 :) 注意:它非常有用,可以通过-h
为az
,看看它提供的:)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.