- NAME
-
- gcloud beta recommender recommendations mark-succeeded - mark a recommendation's state as SUCCEEDED. mark-succeeded can be applied to recommendations in ACTIVE, CLAIMED, SUCCEEDED, or FAILED state
- SYNOPSIS
-
-
gcloud beta recommender recommendations mark-succeeded( RECOMMENDATION:--location=LOCATION--recommender=RECOMMENDER)--etag=ETAG[ --state-metadata=KEY=VALUE][ GCLOUD_WIDE_FLAG …]
-
- DESCRIPTION
-
(BETA)Mark a recommendation's state as SUCCEEDED. mark-succeeded can be applied to recommendations in ACTIVE, CLAIMED, SUCCEEDED, or FAILED state. - POSITIONAL ARGUMENTS
-
-
Recommendation resource - The Cloud Recommendation to mark as succeeded. 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
[recommendation] 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.
RECOMMENDATION- ID of the recommendation or fully qualified identifier for the recommendation. This positional must be specified if any of the other arguments in this group are specified.
--location=LOCATION- The location ID.
--recommender=RECOMMENDER- The recommender ID.
-
Recommendation resource - The Cloud Recommendation to mark as succeeded. 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
[recommendation] 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.
- REQUIRED FLAGS
-
--etag=ETAG- The fingerprint of the recommendation.
- OPTIONAL FLAGS
-
--state-metadata=KEY=VALUE- A comma-separated list of key-value pairs to include in request. This fully replaces the current state_metadata for this recommendation.
- GCLOUD WIDE FLAGS
-
These flags are available to all commands: --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. - API REFERENCE
-
This command uses the
recommender/v1beta1API. The full documentation for this API can be found at: https://cloud.google.com/recommender/docs/ - EXAMPLES
-
To mark a recommendation as SUCCEEDED:
$ gcloud beta recommender recommendations mark-succeeded abcd-1234 \ --project=project-name --location=global \ --recommender=google.compute.instance.MachineTypeRecommender \ --etag=abc123 --state-metadata=key1=value1,key2=value2 - NOTES
-
This command is currently in BETA and may change without notice. These variants
are also available:
$ gcloud recommender recommendations mark-succeeded $ gcloud alpha recommender recommendations mark-succeeded
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 2020-02-04.


