- NAME
-
- gcloud recommender insight-type-config update - update an insight type configuration
- SYNOPSIS
-
-
gcloud recommender insight-type-config update
INSIGHT_TYPE
--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
- Update an insight type configuration based on a given entity (project, organization, billing account), location, and insight type.
- EXAMPLES
-
To update an insight type configuration, run:
gcloud recommender insight-type-config update ${INSIGHT_TYPE} --project=${PROJECT} --location=${LOCATION} --etag=\"123\" --config-file=config.yaml
- POSITIONAL ARGUMENTS
-
INSIGHT_TYPE
- Insight type to use for this invocation.
- REQUIRED FLAGS
-
--etag
=ETAG
- Etag of the insight type 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 insight type configuration.
--config-file
=CONFIG_FILE
- Generation configuration file for the insight type configuration.
--display-name
=DISPLAY_NAME
- Display name of the insight type 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 variant is also available:
gcloud beta recommender insight-type-config update
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 2024-02-06 UTC.