- NAME
-
- gcloud beta compute image-views list - list Compute Engine image-view resources
- SYNOPSIS
-
-
gcloud beta compute image-views list[NAME…] [--endpoint-mode=ENDPOINT_MODE] [--preview-images] [--regexp=REGEXP,-rREGEXP] [--region=REGION] [--show-deprecated] [--no-standard-images] [--filter=EXPRESSION] [--limit=LIMIT] [--page-size=PAGE_SIZE] [--sort-by=[FIELD,…]] [--uri] [GCLOUD_WIDE_FLAG …]
-
- DESCRIPTION
-
(BETA)gcloud beta compute image-views listlists Compute Engine image-view resources in a given project and region.By default, image views from both the current project and public image projects (e.g.
debian-cloud,ubuntu-os-cloud) are listed. Use--no-standard-imagesto list only image views from the current project. - EXAMPLES
-
To list all image-view resources in a project in region
us-central1:gcloud beta compute image-views list --region=us-central1To list all image-view resources with a specific source disk in region
us-central1:gcloud beta compute image-views list --region=us-central1 --filter="image.sourceDisk:test-disk-us-central1-ir1" - POSITIONAL ARGUMENTS
-
- [
NAME…] -
(DEPRECATED) If provided, show details for the specified names and/or URIs of
resources.
Argument
NAMEis deprecated. Use--filter="name=( 'NAME' … )"instead.
- [
- FLAGS
-
--endpoint-mode=ENDPOINT_MODE-
Specifies endpoint mode for a given command. Regional endpoints provide enhanced
data residency and reliability by ensuring your request is handled entirely
within the specified Google Cloud region. This differs from global endpoints,
which may process parts of the request outside the target region. Overrides the
default
regional/endpoint_modeproperty value for this command invocation.ENDPOINT_MODEmust be one of:global- (Default) Use global rather than regional endpoints.
regional- Only use regional endpoints. An error will be raised if a regional endpoint is not available for a given command.
regional-preferred- Use regional endpoints when available, otherwise use global endpoints. Recommended for most users.
--preview-images- Show image views that are in limited preview. The preview image projects are: (none)
--regexp=REGEXP,-rREGEXP-
(DEPRECATED) Regular expression to filter the names of the results on. Any names
that do not match the entire regular expression will be filtered out.
Flag
--regexpis deprecated. Use--filter="name~'REGEXP'"instead. --region=REGION-
The region of the image-view resources to list. Overrides the default
compute/regionproperty value for this command invocation. --show-deprecated- If provided, deprecated images are shown.
--standard-images-
List image views from public image projects. The public image projects that are
available include the following: cos-cloud, debian-cloud, rocky-linux-cloud,
ubuntu-os-cloud, almalinux-cloud, centos-cloud, fedora-coreos-cloud,
opensuse-cloud, oracle-linux-cloud, rhel-cloud, rhel-sap-cloud,
rocky-linux-accelerator-cloud, suse-cloud, suse-sap-cloud,
ubuntu-os-accelerator-images, ubuntu-os-pro-cloud, windows-cloud,
windows-sql-cloud. Enabled by default, use
--no-standard-imagesto disable.
- LIST COMMAND FLAGS
-
--filter=EXPRESSION-
Apply a Boolean filter
EXPRESSIONto each resource item to be listed. If the expression evaluatesTrue, then that item is listed. For more details and examples of filter expressions, run $ gcloud topic filters. This flag interacts with other flags that are applied in this order:--flatten,--sort-by,--filter,--limit. --limit=LIMIT-
Maximum number of resources to list. The default is
unlimited. This flag interacts with other flags that are applied in this order:--flatten,--sort-by,--filter,--limit. --page-size=PAGE_SIZE-
Some services group resource list output into pages. This flag specifies the
maximum number of resources per page. The default is determined by the service
if it supports paging, otherwise it is
unlimited(no paging). Paging may be applied before or after--filterand--limitdepending on the service. --sort-by=[FIELD,…]-
Comma-separated list of resource field key names to sort by. The default order
is ascending. Prefix a field with ``~´´ for descending order on that
field. This flag interacts with other flags that are applied in this order:
--flatten,--sort-by,--filter,--limit. --uri-
Print a list of resource URIs instead of the default output, and change the
command output to a list of URIs. If this flag is used with
--format, the formatting is applied on this URI list. To display URIs alongside other keys instead, use theuri()transform.
- GCLOUD WIDE FLAGS
-
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 helpfor details. - NOTES
-
This command is currently in beta and might change without notice. These
variants are also available:
gcloud compute image-views listgcloud alpha compute image-views list
gcloud beta compute image-views list
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-09-29 UTC.