1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-08 10:35:03 +00:00
gcloud-help/gcloud/bigtable/app-profiles/update
2022-03-01 04:29:52 +00:00

109 lines
3.7 KiB
Text

NAME
gcloud bigtable app-profiles update - update a Bigtable app profile
SYNOPSIS
gcloud bigtable app-profiles update (APP_PROFILE : --instance=INSTANCE)
[--async] [--description=DESCRIPTION] [--force]
[[--route-any : --restrict-to=[RESTRICT_TO,...]]
| [--route-to=ROUTE_TO : --transactional-writes]]
[GCLOUD_WIDE_FLAG ...]
DESCRIPTION
Update a Bigtable app profile.
EXAMPLES
To update an app profile to use a multi-cluster routing policy, run:
$ gcloud bigtable app-profiles update my-app-profile-id \
--instance=my-instance-id --route-any
To update an app profile to use a single-cluster routing policy that routes
all requests to my-cluster-id and allows transactional writes, run:
$ gcloud bigtable app-profiles update my-app-profile-id \
--instance=my-instance-id --route-to=my-cluster-id \
--transactional-writes
To update the description for an app profile, run:
$ gcloud bigtable app-profiles update my-app-profile-id \
--instance=my-instance-id --description="New description"
POSITIONAL ARGUMENTS
App profile resource - The app profile to update. The arguments in this
group can be used to specify the attributes of this resource. (NOTE) Some
attributes are not given arguments in this group but can be set in other
ways. To set the project attribute:
◆ provide the argument app_profile on the command line with a fully
specified name;
◆ provide the argument --project on the command line;
◆ set the property core/project.
This must be specified.
APP_PROFILE
ID of the app profile or fully qualified identifier for the app
profile. To set the name attribute:
▸ provide the argument app_profile on the command line.
This positional must be specified if any of the other arguments in
this group are specified.
--instance=INSTANCE
Cloud Bigtable instance for the app profile. To set the instance
attribute:
▸ provide the argument app_profile on the command line with a fully
specified name;
▸ provide the argument --instance on the command line.
FLAGS
--async
Return immediately, without waiting for the operation in progress to
complete.
--description=DESCRIPTION
Friendly name of the app profile.
--force
Ignore warnings and force update.
At most one of these can be specified:
Multi Cluster Routing Policy
--route-any
Use Multi Cluster Routing policy.
This flag must be specified if any of the other arguments in this
group are specified.
--restrict-to=[RESTRICT_TO,...]
Cluster IDs to route to using the Multi Cluster Routing Policy. If
unset, all clusters in the instance are eligible.
Single Cluster Routing Policy
--route-to=ROUTE_TO
Cluster ID to route to using Single Cluster Routing policy.
This flag must be specified if any of the other arguments in this
group are specified.
--transactional-writes
Allow transactional writes with a Single Cluster Routing policy.
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
These variants are also available:
$ gcloud alpha bigtable app-profiles update
$ gcloud beta bigtable app-profiles update