gcloud storage buckets anywhere-caches disable Stay organized with collections Save and categorize content based on your preferences.
- NAME
- gcloud storage buckets anywhere-caches disable - disable Anywhere Cache instances
- SYNOPSIS
gcloud storage buckets anywhere-caches disableID[ID…][GCLOUD_WIDE_FLAG …]
- DESCRIPTION
- Disables one or more Anywhere Cache instances.
The cache instance will be set to DISABLED state. The existing entries can beread from the cache but new entries will not be written to the cache. The L4 SSDcache would not be deleted by the cache manager until the min TTL (1h) has beenreached (cache instance is kept for at least 1h). Google Cloud Storage definesthe min TTL which is applied to all cache instances. Cach disablement could becanceled by using anywhere-caches resume command before the instance is deleted.
- EXAMPLES
- The following command disables the anywhere cache instance of bucket
having anywhere_cache_idmy-bucket:my-cache-idgcloudstoragebucketsanywhere-cachesdisablemy-bucket/my-cache-id - POSITIONAL ARGUMENTS
ID[ID…]- Identifiers for a Anywhere Cache instance. They are combination ofbucket_name/anywhere_cache_id. For example : test-bucket/my-cache-id.
- 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 variant is also available:
gcloudalphastoragebucketsanywhere-cachesdisable
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-05-07 UTC.