1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-08 10:35:03 +00:00
gcloud-help/gcloud/beta/recommender/recommender-config/update
2023-01-19 00:56:33 +00:00

76 lines
2.5 KiB
Text

NAME
gcloud beta recommender recommender-config update - update a recommender
configuration
SYNOPSIS
gcloud beta recommender recommender-config update RECOMMENDER --etag=ETAG
--location=LOCATION
(--billing-account=BILLING_ACCOUNT | --organization=ORGANIZATION_ID
| --project=PROJECT_ID) [--annotations=KEY=VALUE,[KEY=VALUE,...]]
[--config-file=CONFIG_FILE] [--display-name=DISPLAY_NAME]
[--validate-only] [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(BETA) Update a recommender configuration based on a given entity (project,
organization, billing account), location, and recommender.
EXAMPLES
To update a recommender configuration, run:
$ gcloud beta recommender recommender-config update ${RECOMMENDER} \
--project=${PROJECT} --location=${LOCATION} --etag=\"123\" \
--config-file=config.yaml
POSITIONAL ARGUMENTS
RECOMMENDER
Recommender to use for this invocation.
REQUIRED FLAGS
--etag=ETAG
Etag of the recommender configuration.
--location=LOCATION
Location to use for this invocation.
Resource that is associated with cloud entity type.
Exactly one of these must be specified:
--billing-account=BILLING_ACCOUNT
The Google Cloud billing account ID to use for this invocation.
--organization=ORGANIZATION_ID
The Google Cloud organization ID to use for this invocation.
--project=PROJECT_ID
The Google Cloud project ID. Overrides the default core/project
property value for this command invocation.
OPTIONAL FLAGS
--annotations=KEY=VALUE,[KEY=VALUE,...]
Store small amounts of arbitrary data on the recommender configuration.
--config-file=CONFIG_FILE
Generation configuration file for the recommender configuration.
--display-name=DISPLAY_NAME
Display name of the recommender configuration.
--validate-only
If true, validate the request and preview the change, but do not
actually update it.
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 beta and might change without notice. This
variant is also available:
$ gcloud recommender recommender-config update