File: //snap/google-cloud-cli/394/help/man/man1/gcloud_storage_buckets_anywhere-caches_disable.1
.TH "GCLOUD_STORAGE_BUCKETS_ANYWHERE\-CACHES_DISABLE" 1
.SH "NAME"
.HP
gcloud storage buckets anywhere\-caches disable \- disable Anywhere Cache instances
.SH "SYNOPSIS"
.HP
\f5gcloud storage buckets anywhere\-caches disable\fR \fIID\fR [\fIID\fR\ ...] [\fIGCLOUD_WIDE_FLAG\ ...\fR]
.SH "DESCRIPTION"
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.
.SH "EXAMPLES"
The following command disables the anywhere cache instance of bucket
\f5\fImy\-bucket\fR\fR having anywhere_cache_id \f5\fImy\-cache\-id\fR\fR:
.RS 2m
$ gcloud storage buckets anywhere\-caches disable \e
my\-bucket/my\-cache\-id
.RE
.SH "POSITIONAL ARGUMENTS"
.RS 2m
.TP 2m
\fIID\fR [\fIID\fR ...]
Identifiers for a Anywhere Cache instance. They are combination of
bucket_name/anywhere_cache_id. For example : test\-bucket/my\-cache\-id.
.RE
.sp
.SH "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 \fB$ gcloud help\fR for details.
.SH "NOTES"
This variant is also available:
.RS 2m
$ gcloud alpha storage buckets anywhere\-caches disable
.RE