1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-11 23:49:35 +00:00
gcloud-help/gcloud/storage/insights/inventory-reports/delete
2023-05-04 10:43:54 +00:00

77 lines
2.6 KiB
Text

NAME
gcloud storage insights inventory-reports delete - delete an inventory
report config
SYNOPSIS
gcloud storage insights inventory-reports delete
(REPORT_CONFIG : --location=LOCATION) [--force] [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
Delete an inventory report config.
EXAMPLES
To delete an inventory report config with ID=1234, location=us-central1 and
project=foo:
$ gcloud storage insights inventory-reports delete 1234 \
--location=us-central1 --project=foo
To delete the same inventory report config with fully specified name:
$ gcloud storage insights inventory-reports delete \
/projects/foo/locations/us-central1/reportConfigs/1234
To delete the report config with all generated report details:
$ gcloud 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 variant is also available:
$ gcloud alpha storage insights inventory-reports delete