- NAME
-
- gcloud alpha storage buckets anywhere-caches disable - disable Anywhere Cache instances
- SYNOPSIS
-
-
gcloud alpha storage buckets anywhere-caches disable
ID
[ID
…] [GCLOUD_WIDE_FLAG …
]
-
- DESCRIPTION
-
(ALPHA)
Disables one or more Anywhere Cache instances.The cache instance will be set to DISABLED state. The existing entries can be read from the cache but new entries will not be written to the cache. The L4 SSD cache would not be deleted by the cache manager until the min TTL (1h) has been reached (cache instance is kept for at least 1h). Google Cloud Storage defines the min TTL which is applied to all cache instances. Cach disablement could be canceled 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-id
gcloud alpha storage buckets anywhere-caches disable my-bucket/my-cache-id
- POSITIONAL ARGUMENTS
-
ID
[ID
…]- Identifiers for a Anywhere Cache instance. They are combination of bucket_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 help
for details. - NOTES
- 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.
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 2024-02-06 UTC.