1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-11 15:39:42 +00:00
gcloud-help/gcloud/recommender/recommendations/mark-dismissed
2023-12-06 10:10:36 +00:00

74 lines
2.4 KiB
Text

NAME
gcloud recommender recommendations mark-dismissed - mark recommendation's
state as DISMISSED
SYNOPSIS
gcloud recommender recommendations mark-dismissed RECOMMENDATION
--etag=ETAG --location=LOCATION --recommender=RECOMMENDER
(--billing-account=BILLING_ACCOUNT | --folder=FOLDER_ID
| --organization=ORGANIZATION_ID | --project=PROJECT_ID)
[GCLOUD_WIDE_FLAG ...]
DESCRIPTION
Mark recommendation's state as DISMISSED. Can be applied to recommendations
in ACTIVE state. The following parent resources are supported: project,
billing account, folder, and organization as parent resources for
recommendations.
EXAMPLES
To mark a recommendation as DISMISSED:
$ gcloud recommender recommendations mark-dismissed abcd-1234 \
--project=project-id --location=global \
--recommender=google.compute.instance.MachineTypeRecommender \
--etag=abc123
POSITIONAL ARGUMENTS
RECOMMENDATION
Recommendation ID which will be marked as dismissed
REQUIRED FLAGS
--etag=ETAG
Etag of a recommendation
--location=LOCATION
Location
--recommender=RECOMMENDER
Recommender of the recommendations
Resource that is associated with cloud entity type. Currently four
mutually exclusive flags are supported, --project, --billing-account,
--folder, --organization.
Exactly one of these must be specified:
--billing-account=BILLING_ACCOUNT
The Google Cloud Platform billing account ID to use for this
invocation.
--folder=FOLDER_ID
The Google Cloud Platform folder ID to use for this invocation.
--organization=ORGANIZATION_ID
The Google Cloud Platform organization ID to use for this invocation.
--project=PROJECT_ID
The Google Cloud Platform project ID. Overrides the default
core/project property value for this command invocation.
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 recommender recommendations mark-dismissed
$ gcloud beta recommender recommendations mark-dismissed