1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-14 00:46:53 +00:00
gcloud-help/gcloud/alpha/storage/insights/inventory-reports/delete
2023-05-04 10:43:54 +00:00

80 lines
2.9 KiB
Text

NAME
gcloud alpha storage insights inventory-reports delete - delete an
inventory report config
SYNOPSIS
gcloud alpha storage insights inventory-reports delete
(REPORT_CONFIG : --location=LOCATION) [--force] [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(ALPHA) Delete an inventory report config.
EXAMPLES
To delete an inventory report config with ID=1234, location=us-central1 and
project=foo:
$ gcloud alpha storage insights inventory-reports delete 1234 \
--location=us-central1 --project=foo
To delete the same inventory report config with fully specified name:
$ gcloud alpha storage insights inventory-reports delete \
/projects/foo/locations/us-central1/reportConfigs/1234
To delete the report config with all generated report details:
$ gcloud alpha storage insights inventory-reports delete \
/projects/foo/locations/us-central1/reportConfigs/1234 --force
POSITIONAL ARGUMENTS
Report config resource - The Report config to delete. 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 report_config 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.
REPORT_CONFIG
ID of the report-config or fully qualified identifier for the
report-config.
To set the report-config attribute:
▸ provide the argument report_config on the command line.
This positional argument must be specified if any of the other
arguments in this group are specified.
--location=LOCATION
Google Cloud location for the report-config.
To set the location attribute:
▸ provide the argument report_config on the command line with a
fully specified name;
▸ provide the argument --location on the command line.
FLAGS
--force
If set, all report details for this report config will be deleted.
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 alpha and might change without notice. If this
command fails with API permission errors despite specifying the correct
project, you might be trying to access an API with an invitation-only early
access allowlist. This variant is also available:
$ gcloud storage insights inventory-reports delete