如何列出特定 Google 云项目中的所有资源?

huangapple go评论58阅读模式
英文:

How do I list all resources in a particular google cloud project?

问题

我不觉得在Google Cloud项目的控制台中有一种简单的列出资源的方式。对于那些熟悉Azure的人来说,我可以轻松地导航到资源组,并且它会显示其中的所有资源。在Google Cloud中,我似乎无法做到同样的事情。

英文:

I dont see an easy way of listing the resources in a google cloud project from the console. For those familiar with Azure, I can easily navigate over to the resource group and it will displays all the resources within it. I cannot appear to do the same in google cloud.

答案1

得分: 3

您可以使用Google资产清单功能列出项目中的所有资源。

> 要使用控制台搜索所有资源,请按照以下步骤操作。
>
> 1. 转到Google Cloud控制台的资产清单页面。
>
> 2. 要设置搜索范围,请在菜单栏中打开“项目”列表框,然后选择组织、文件夹或项目以查询。
>
> 3. 选择“资源”选项卡。
>
> 4. 要搜索资源,请在“筛选器栏”中输入查询文本。选择文本框,然后会显示可搜索字段的列表。资源搜索支持多个字段。
>
> 5. 搜索结果还可以通过“筛选结果”窗格中的预定义资产类型、项目和位置筛选器进行筛选。

然而,并非所有资源都得到支持。您可以在此处找到受支持的资产类型的完整列表。

英文:

You can use the Google Asset inventory feature to list all the resources in your project.

> To search all resources using the console, complete the following
> steps.
>
> 1. Go to the Asset Inventory page in the Google Cloud console.
>
> 2. To set the scope of your search, open the Projects list box in the menu bar, and then select the organization, folder, or project to
> query.
>
> 3. Select the Resource tab.
>
> 4. To search resources, enter the query text in the Filter bar. Select the text box, and then a list of searchable fields display. Resource
> search supports multiple fields.
>
> 5. Search results can also be filtered by the pre-defined Asset type, Project, and Location filters in the Filter results pane.

However, all the resources aren't supported. You can find the full list of supported asset type here.

huangapple
  • 本文由 发表于 2023年7月13日 11:22:49
  • 转载请务必保留本文链接:https://go.coder-hub.com/76675683.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定