mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-09 02:55:19 +00:00
77 lines
2.5 KiB
Text
77 lines
2.5 KiB
Text
NAME
|
|
gcloud recommender insights mark-accepted - mark an insight's state as
|
|
ACCEPTED
|
|
|
|
SYNOPSIS
|
|
gcloud recommender insights mark-accepted INSIGHT --etag=etag
|
|
--insight-type=INSIGHT_TYPE --location=LOCATION
|
|
(--billing-account=BILLING_ACCOUNT | --folder=FOLDER_ID
|
|
| --organization=ORGANIZATION_ID | --project=PROJECT_ID)
|
|
[--state-metadata=KEY=VALUE,[KEY=VALUE,...]] [GCLOUD_WIDE_FLAG ...]
|
|
|
|
DESCRIPTION
|
|
Mark an insight's state as ACCEPTED. Can be applied to insights in ACTIVE
|
|
or ACCEPTED state. The following are currently supported: project,
|
|
billing_account, folder, and organization.
|
|
|
|
EXAMPLES
|
|
To mark an insight as ACCEPTED:
|
|
|
|
$ gcloud recommender insights mark-accepted abcd-1234 \
|
|
--project=project-id --location=global \
|
|
--insight-type=google.compute.firewall.Insight --etag=abc123
|
|
|
|
POSITIONAL ARGUMENTS
|
|
INSIGHT
|
|
Insight id which will be marked as accepted
|
|
|
|
REQUIRED FLAGS
|
|
--etag=etag
|
|
Etag of a insight
|
|
|
|
--insight-type=INSIGHT_TYPE
|
|
Insight Type of the insights
|
|
|
|
--location=LOCATION
|
|
Location
|
|
|
|
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.
|
|
|
|
OPTIONAL FLAGS
|
|
--state-metadata=KEY=VALUE,[KEY=VALUE,...]
|
|
State metadata for recommendation, in format of
|
|
--state-metadata=key1=value1,key2=value2
|
|
|
|
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 insights mark-accepted
|
|
|
|
$ gcloud beta recommender insights mark-accepted
|
|
|