gcloud alpha resource-config list-resource-types - list all resources supported by bulk-export
gcloud alpha resource-config list-resource-types [--folder=FOLDER | --organization=ORGANIZATION | --project=PROJECT] [GCLOUD_WIDE_FLAG ...]
(ALPHA) List all resources supported by bulk-export.
To list all exportable resource types, run:
$ gcloud alpha resource-config list-resource-types
To list all exportable resource types in yaml format, run:
$ gcloud alpha resource-config list-resource-types --format=yaml
To list all exportable resource types in project my-project in json format, run:
$ gcloud alpha resource-config list-resource-types --format=json \ --project=my-project
- RESOURCE PARENT FLAG - specify one of the following to determine the
scope of exported resources.
At most one of these can be specified:
- --folder=FOLDER
Folder ID to list supported resources for.
- --organization=ORGANIZATION
Organization ID to list supported resources for.
- --project=PROJECT
Project ID to list supported resources for.
These flags are available to all commands: --access-token-file, --account, --billing-project, --configuration, --flags-file, --flatten, --format, --help, --impersonate-service-account, --log-http, --project, --quiet, --trace-token, --user-output-enabled, --verbosity.
Run $ gcloud help for details.
This command is currently in alpha and might change without notice. If this command fails with API permission errors despite specifying the correct project, you might be trying to access an API with an invitation-only early access allowlist. This variant is also available:
$ gcloud beta resource-config list-resource-types